/* ======ローディングここから====== */
#logo_loader {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 150;
  background-color: #ffe600;
}
#logo_loader #f_logo {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  width: 800px;
  height: 150px;
  text-align: center;
  color: #fff;
  font-size: 30px;
}
#logo_loader #f_logo img {
  width: 100%;
  height: auto;
}
#logo_loader #f_logo:before {
  content: "";
  display: block;
  width: 100%;
  height: 110%;
  background-color: #ffe600;
  position: absolute;
  top: 0;
  left: 100%;
  animation: loadLogo 2.5s;
}
@keyframes loadLogo {
  0% {
    left: 0;
  }
  50% {
    left: 0;
  }
  100% {
    left: 100%;
  }
}
#logo_loader #f_logo:before {
  animation: loadLogo 2.5s;
}

@media (max-width: 960px) {
  #logo_loader #f_logo {
    top: 100px;
    width: 300px;
  }
}
/*========= LoadingのためのCSS ===============*/

/* Loading背景画面設定　*/
#splash {
  /*fixedで全面に固定*/
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: 999;
  background: #ffe600;
  text-align: center;
  color: #fff;
}

/* Loading画像中央配置　*/
#splash_logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Loading アイコンの大きさ設定　*/
#splash_logo svg {
  width: 300px;
}

/*========= SVG操作手書き風にするためのCSS ===============*/

#mask .st0 {
  fill: none;
  stroke: #fff;
  stroke-width: 90; /*線の太さを指定する*/
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-miterlimit: 10;
  stroke-dasharray: 1500; /* 線の間隔を指定する */
  stroke-dashoffset: 1500; /* 線の位置を指定する */
}
/* ======ローディングここまで====== */

/* =====PC版横スクロールここから===== */
.area {
  overflow: hidden;
}
.beside_wrap {
  display: flex;
  /* flex-wrap: nowrap; */
}
.item {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 50px;
  font-weight: bold;
  color: #fff;
}
.section_beside img {
  display: block;
  height: 100vh;
}
.section_beside img.sp {
  display: none;
}
/* =====PC版横スクロールここまで===== */

/* =====SP版横スクロールここから===== */
@media (max-width: 960px) {
  /* .area {
    overflow: hidden;
  }
  .wrap {
    display: flex;
    flex-wrap: nowrap;
  }
  .item {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 50px;
    font-weight: bold;
    color: #fff;
  } */
  .section_beside img {
    display: none;
  }
  .section_beside img.sp {
    display: block;
  }
}
/* =====SP版横スクロールここまで===== */

/* ======galleryのグリッド表示ここから====== */
.gallery_wrap {
  /* width: 90%; */
  /* background-color: aqua; */
}
.demo01 {
  columns: 300px auto;
  /* 列間のgap */
  column-gap: var(--gap);
  /* padding: 0 70px; */
  /* max-width: 960px; */
  margin: 0 auto 20px;
}
.gallery-content {
  /* width: calc(100% / 3); */
  width: 300px;
  margin-bottom: 20px;
  margin-right: 20px;
}

.gallery-content img {
  width: 100%;
  border: solid 0.7px #333;
}

@media (max-width: 960px) {
  .gallery_block {
    padding: 40px;
  }
  .gallery-content {
    width: 48%;
    margin-bottom: 0px;
    margin-right: 0px;
  }
}

/* ======galleryのグリッド表示ここまで====== */

.nav-wrapper {
  background-image: url(../img/hero_hp.jpg);
  background-position: left top;
  background-repeat: no-repeat;
  background-size: cover;
  height: 95vh;
}
.hero {
  position: fixed;
  width: 90px;
  z-index: 1;
  transition: 0.5s; /* ======追記====== */
}

/* ======フッターまでスクロールするとナビゲーション非表示ここから====== */
.is-hidden {
  visibility: hidden;
  opacity: 0;
}
/* ======フッターまでスクロールするとナビゲーション非表示ここまで====== */

h2 {
  position: absolute;
  bottom: 250px;
  right: 40px;
}
.site-title_pc img {
  width: 700px;
}
h2 p {
  margin-left: 20px;
  font-size: 1.125rem;
  color: #ffe600;
  letter-spacing: 0.6rem;
  text-shadow: 2px 2px 3px #9f9f9f;
}
.site-title_sp {
  display: none;
}
@media (max-width: 960px) {
  .nav-wrapper {
    background-image: url(../img/hero_sp.jpg);
  }
  h2 {
    bottom: 80px;
    left: 10px;
  }
  h2 p {
    margin-left: 20px;
  }
  .site-title_pc {
    display: none;
  }
  .site-title_sp {
    display: block;
  }
  .site-title_sp img {
    width: 290px;
  }
  h2 p {
    font-size: 0.875rem;
  }
}

.section_books,
.section_works,
.section_about,
.section_gallery {
  margin: 0 90px 50px 90px;
}
.section_title {
  margin-top: 160px;
  padding-top: 40px;
  font-size: 4.375rem;
  letter-spacing: 0.7rem;
  font-weight: 700;
}
.section_title::after {
  content: "";
  display: block;
  background-color: #999;
  width: 100%;
  height: 1px;
  margin: 30px 0 60px 0;
}

.books_title {
  display: inline-block;
  margin-bottom: 30px;
  letter-spacing: 0.28rem;
}
.books_title-main {
  /* background-color: aqua; */
  font-size: 1.875rem;
  margin-left: -15px;
}
.books_title-sub {
  margin-top: 10px;
  margin-left: -5px;
  text-align: center;
  color: #ccc;
}
.books_area {
  display: flex;
}
.books_container {
  width: 50%;
  /* background-color: aquamarine; */
  position: sticky;
  top: 55px;
  left: 0;
  height: fit-content;
}
.books_img-block {
  display: flex;
}
.books_img img {
  width: 500px;
  /* border: solid 0.7px #333; */
}

@media (max-width: 1220px) {
  .books_img img {
    width: 380px;
  }
}

.books_introduction {
  display: flex;
}
.books_introduction_first,
.books_introduction_last {
  padding: 20px 10px 20px 10px;
  width: 30px;
  /* display: inline-block; */
  writing-mode: vertical-rl;
  background-color: #fff;
  text-align: center;
  display: flex;
  align-items: center;
  border: solid 0.7px #333;
  font-size: 1rem;
  letter-spacing: 0.2rem;
  transform: rotate(3deg);
}
.books_introduction_first {
  height: 230px;
  margin: 50px 15px 0 20px;
}
.books_introduction_last {
  height: 160px;
}
.books_information-area {
  width: 50%;
  /* background-color: bisque; */
}
.books_information-block,
.publication_information-container,
.subscribe_information-title {
  font-size: 0.875rem;
  letter-spacing: 0.18rem;
}
.books_information-container {
  padding-top: 400px;
}
.books_information-block,
.publication_information-block,
.subscribe_information-block {
  display: flex;
}
.books_information-block {
  margin-bottom: 30px;
}
.publication_information-block {
  margin-bottom: 60px;
}
.books_information-title,
.publication_title,
.subscribe_information-title {
  width: 30%;
  font-weight: 700;
}
.publication_information-block ul li {
  margin-bottom: 8px;
}
.books_information-description {
  width: 70%;
  margin-bottom: 10px;
}
.books_information-description p {
  margin-top: -5px;
  margin-bottom: 10px;
  line-height: 1.3rem;
}
.publication_information-title {
  width: 20%;
}
.publication_information-container,
.subscribe_information-container {
  border-top: solid 0.7px #999;
  padding-top: 25px;
}

.view-more_block {
  display: flex;
  justify-content: flex-end;
  margin: 40px 0 20px;
}
.view-more_wrapper {
  display: flex;
}
.view-more {
  margin-right: 15px;
  letter-spacing: 0.2rem;
  font-weight: 700;
  position: relative;
  text-decoration: none; /*デフォルトで下線を非表示*/
  display: inline-block;
}

/** 下線を右から引く **/
.view-more:after {
  position: absolute;
  bottom: 24px;
  left: 0;
  content: "";
  width: 100%;
  height: 1px; /*下線の太さ*/
  background: #333; /*下線の色*/
  transition: transform 0.3s; /*アニメーション速度*/
  transform-origin: right top; /*アニメーションの起点*/
  transform: scale(0, 1); /*幅は0*/
}
.view-more_block:hover .view-more:after {
  transform-origin: left;
  transform: scale(1, 1); /*幅を1に*/
}

.view-more_circle {
  content: "";
  display: block;
  width: 45px;
  height: 45px;
  background-color: #ffe600;
  border: 0px solid #666;
  border-radius: 100px;
  position: relative;
  top: -11px;
  /* right: 19px; */
  position: relative;
}
.view-more_arrow {
  content: "";
  position: absolute;
  top: calc(50% - 4px);
  right: 20px;
  width: 9px;
  height: 9px;
  border: 2px solid #333;
  border-left: 0;
  border-bottom: 0;
  transform: rotate(45deg);
  transition-property: transform;
  transition-duration: 250ms;
  transition-timing-function: ease-out;
  transition-delay: 0ms;
  transition: all 0.3s;
}

/*hoverした際の移動*/
.view-more_block:hover .view-more_arrow {
  right: 30%;
  /* transform: translate(5px, 0px); */
}
/* .view-more_block:hover::after .view-more_arrow {
  right: -5%;
  transform: translate(0px, 0px);
} */
/* .view-more_block:hover .view-more_arrow {
  transform: skew(0deg) translateX(15%);
} */

.subscribe_button-areablock {
  display: flex;
}
.subscribe_button-block {
  margin-right: 20px;
}
.subscribe_button {
  width: 160px;
  padding: 12px 15px;
  background-color: #ffe600;
  margin-bottom: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1rem;
  text-align: center;
  position: relative;
  transition: 0.3s;
}
.subscribe_button::before {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: #333;
  transform-origin: 100% 50%;
  transform: scaleX(0);
  transition: transform ease 0.3s;
}
.subscribe_button:hover {
  color: #fff;
}
.subscribe_button:hover::before {
  transform: scaleX(1);
  transform-origin: 0% 50%;
}
.subscribe_button p {
  position: relative;
}
.subscribe_button a {
  text-align: center;
}
.subscribe_caption {
  font-size: 0.625rem;
  letter-spacing: 0.1rem;
}
.section_line-books {
  content: "";
  display: block;
  background-color: #999;
  width: 100%;
  height: 0.7px;
  margin: 120px 0 60px 0;
}

@media (max-width: 960px) {
  .gallery_block {
    width: auto;
  }
}

@media (max-width: 960px) {
  .hero {
    z-index: 1;
  }
  .section_books,
  .section_works,
  .section_about,
  .section_gallery {
    margin: 0 40px;
  }
  .section_title {
    font-size: 1.875rem;
    margin-top: 90px;
  }
  .section_title::after {
    margin: 20px 0 30px 0;
  }
  .books_title {
    margin-bottom: 20px;
  }
  .books_title-main {
    font-size: 1rem;
    margin-left: -10px;
  }
  .books_title-sub {
    font-size: 0.625rem;
  }
  .books_area {
    display: block;
  }
  .books_container {
    width: 100%;
    position: static;
  }
  .books_information-title,
  .publication_title,
  .subscribe_information-title {
    width: 25%;
    font-size: 0.75rem;
  }
  .books_information-area {
    width: 100%;
  }
  .books_information-container {
    padding-top: 40px;
  }
  .books_information-description p {
    font-size: 0.75rem;
    line-height: 1.4rem;
  }
  .books_img img {
    width: 100%;
  }
  .books_introduction_first,
  .books_introduction_last {
    padding: 10px 5px 10px 5px;
    width: 20px;
    font-size: 0.475rem;
  }
  .books_introduction_first {
    height: 230px;
    margin: 50px 15px 0 20px;
  }
  .books_introduction_last {
    height: 160px;
  }
  .publication_information-title,
  .publication_information-content {
    font-size: 0.75rem;
  }
  .publication_information-title {
    width: auto;
    margin-right: 10px;
  }
  .subscribe_button-block {
    margin-right: 10px;
  }
  .subscribe_button {
    font-size: 0.625rem;
    max-width: 100px;
    margin-bottom: 10px;
    padding: 12px 0px;
    /* justify-content: space-between; */
  }
  .section_line-books {
    margin: 80px 0 30px 0;
  }
}
.section_works {
  margin-bottom: 200px;
}
.works_area-block {
  display: flex;
}
.works_title {
  width: 50%;
  font-size: 1.5rem;
  letter-spacing: 0.2rem;
}
.works_information-container {
  width: 50%;
  font-size: 0.875rem;
  letter-spacing: 0.2rem;
}
.works_information-block {
  display: flex;
}
.works_information-date {
  width: 30%;
  margin-bottom: 10px;
}
.works_information-content {
  width: 70%;
  margin-bottom: 8px;
  line-height: 1.4rem;
}

@media (max-width: 960px) {
  .section_works {
    margin-bottom: 120px;
  }
  .works_area-block {
    display: block;
  }
  .works_title {
    font-size: 1rem;
    margin-bottom: 20px;
  }
  .works_information-date {
    width: 30%;
    margin-bottom: 10px;
  }
  .works_information-container {
    width: 100%;
    letter-spacing: 0.18rem;
    line-height: 1.4rem;
  }
  .works_information-date {
    font-size: 0.75rem;
  }
  .works_information-content {
    font-size: 0.75rem;
  }
}

.section_line {
  content: "";
  display: block;
  background-color: #999;
  width: 100%;
  height: 0.7px;
  margin: 70px 0 50px 0;
}
@media (max-width: 960px) {
  .section_line {
    margin: 50px 0 30px 0;
  }
}

.about_title-main {
  font-size: 1.875rem;
}
.about_title-sub {
  font-size: 0.625rem;
  margin-top: 10px;
  text-align: center;
  color: #666;
}
.about_information-container {
  display: flex;
}
.about_information-img {
  display: flex;
  justify-content: flex-end;
  width: 45%;
  margin-right: 70px;
}
.about_information-img img {
  width: 250px;
  height: 250px;
  border: solid 0.7px #333;
}
.about_information-content {
  width: 50%;
}
.about_information-description {
  font-size: 0.875rem;
  letter-spacing: 0.18rem;
  line-height: 1.55rem;
}
.about_information-description p {
  margin-bottom: 15px;
  text-align: justify;
}
.sns_icon a img {
  width: 30px;
}
.view-more_block-gallery {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 20px;
  margin-top: 50px;
}

@media (max-width: 960px) {
  .about_title-main {
    font-size: 1rem;
  }
  .about_title-sub {
    font-size: 0.5rem;
  }
  .about_information-container {
    display: block;
  }
  .about_information-img {
    display: block;
    margin-bottom: 20px;
  }
  .about_information-img img {
    width: 200px;
    height: 200px;
  }
  .about_information-content {
    width: 100%;
  }
  .about_information-description {
    font-size: 0.75rem;
    letter-spacing: 0.18rem;
    line-height: 1.4rem;
    margin-bottom: 20px;
  }
}

.section_next {
  display: flex;
  margin: 0 90px;
}
.back-button,
.next-button {
  overflow: hidden;
  position: relative;
  width: 49%;
}
.back-button {
  margin-right: 2%;
}
.back-button_bg {
  background-image: url(../img/next_strange.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 200px;
  transition: transform 0.6s ease;
  width: 100%;
}
.next-button_bg {
  background-image: url(../img/next_strange.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 200px;
  transition: transform 0.6s ease;
  width: 100%;
}
.back-button:hover .back-button_bg {
  transform: scale(1.03);
}
.next-button:hover .next-button_bg {
  transform: scale(1.03);
}
.back-title,
.next-title {
  align-items: center; /* テキストの中央揃え */
  bottom: 0;
  color: #fff; /* テキストの色 */
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.2rem;
  display: flex; /* テキストの中央揃え */
  justify-content: center; /* テキストの中央揃え */
  left: 0;
  margin: auto;
  position: absolute;
  right: 0;
  top: 0;
  width: 80%; /* テキストを横幅いっぱいにならないようにする */
  z-index: 1;
  /* z-index: 2; */
}
.back-title_year,
.next-title_year {
  align-items: center; /* テキストの中央揃え */
  bottom: 0;
  color: #fff; /* テキストの色 */
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2rem;
  display: flex; /* テキストの中央揃え */
  justify-content: center; /* テキストの中央揃え */
  left: 0;
  margin: auto;
  position: absolute;
  right: 0;
  top: 60px;
  width: 80%; /* テキストを横幅いっぱいにならないようにする */
  z-index: 1;
  /* z-index: 2; */
}
/* マスク */
.back-button::before,
.next-button::before {
  background: rgba(0, 0, 0, 0.3); /* マスクの色(黒の50%) */
  bottom: 0;
  content: "";
  height: auto;
  left: 0;
  opacity: 1; /* 最初は透明（非表示） */
  position: absolute;
  right: 0;
  top: 0;
  transition: opacity 1.2s ease; /* ゆっくりopacityのみへ変化させる */
  width: 100%;
  z-index: 1;
}
.back-button:hover::before,
.next-button:hover::before {
  opacity: 0;
  color: #333; /* テキストの色 */
}
@media (max-width: 960px) {
  .section_next {
    padding: 40px 0 0 0;
    margin: 0 40px;
  }
  .back-title,
  .next-title {
    width: auto;
  }
}
