@charset "utf-8";

/* ===========================================================

	Title: contents.css
	Created: 2024-6-10

=========================================================== */
/*

	loop
  tab
  summary
  img-list
  about
	timeline
	video
	error-404


=========================================================== */
/* ===========================================================

	loop

=========================================================== */
/*loop*/
.loop_wrap {
  display: flex;
  width: 100%;
  height: 296px;
  overflow: hidden;
  position: absolute;
  z-index: -1;
  opacity: 0.1;
}

.loop_wrap--top {
  top: 0;
}

.loop_wrap--bottom {
  bottom: 0;
}

.loop_wrap div {
  flex: 0 0 auto;
  white-space: nowrap;
  font-family: var(--font-family-en);
  font-size: 420px;
  line-height: 70%;
  overflow: hidden;
  color: var(--color--gold);
}

.loop_wrap div:nth-child(odd) {
  animation: loop 80s -40s linear infinite;
}

.loop_wrap div:nth-child(even) {
  animation: loop2 80s linear infinite;
}

.loop_wrap {
  width: 100vw;
  margin: 0 calc(50% - 50vw);

  img {
    height: 320px;
  }
}

.loop_wrap__img {
  opacity: 1;
  height: 100%;
  position: relative;

  div {
    img {
      margin: 64px 0;
    }
  }
}


@keyframes loop {
  0% {
    transform: translateX(100%);
  }

  to {
    transform: translateX(-100%);
  }
}

@keyframes loop2 {
  0% {
    transform: translateX(0);
  }

  to {
    transform: translateX(-200%);
  }
}

/* ===========================================================

	tab

=========================================================== */
.tab {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 0;

  ul {
    display: flex;
    justify-content: flex-start;
    gap: 1rem;
    flex-wrap: wrap;
  }

  li {
    width: calc(50vw - 2rem);
  }

  a:link,
  a:visited {
    display: flex;
    align-items: center;
    height: 56px;
    border-bottom-style: solid;
    border-bottom-width: 1px;
    border-color: var(--line-color);
    color: #000;
    font-size: var(--px--16);
    background-image: url(/assets/img/global/arrow_forward.svg);
    background-repeat: no-repeat;
    background-position: 0 50%;
    padding-left: 32px;
  }

  a:hover,
  a.current {
    color: var(--color--brown);
    border-color: var(--color--brown);
    text-decoration: none;
    background-image: url(/assets/img/global/arrow_down.svg);
  }

  a.current {}
}

@media (768px <=width) {
  .tab {
    ul {
      justify-content: center;
      flex-direction: row;
      gap: 64px;
    }

    li {
      width: auto;
      min-width: 256px;
    }
  }
}


/* ===========================================================

	summary

=========================================================== */
.summary {
  display: flex;
  justify-content: center;
  flex-direction: column;
  gap: 64px;
  position: relative;

  .text--read {
    margin-top: 0;
  }

  .summary__contents,
  .summary__img {
    flex: 1;
  }

  .summary__img {
    text-align: center;
  }

  .summary__img--main {
    width: 64vw;
  }

  .summary__img--sub {
    position: relative;
    transform: translate(0, -48px);
    width: 48vw;
    z-index: -1;
    margin: 0 0 0 auto;
  }

  &.summary--opposite {
    flex-direction: column;

    .summary__img--sub {}
  }
}

@media (768px <=width) {
  .summary {
    justify-content: space-between;
    flex-direction: row;
    gap: 64px;

    .summary__img--main {
      width: auto;
    }

    .summary__img--sub {
      transform: translate(-320px, -64px);
      width: 478px;
      margin: auto;
    }

    &.summary--opposite {
      flex-direction: row-reverse;

      .summary__img--sub {
        transform: translate(320px, -64px);
      }
    }
  }
}

/* ===========================================================

	img-list

=========================================================== */
.img-list {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  padding-top: 64px;

  figure {
    width: calc(50% - 16px);
  }

  figcaption {
    padding-top: 8px;
  }
}

@media (768px <=width) {
  .img-list {
    gap: 64px;

    figure {
      width: calc(50% - 32px);
    }
  }
}

/* ===========================================================

	about

=========================================================== */
.is-about main,
.contents .contents-style {
  padding-bottom: 0;
}

.about-main-img__warpper {
  width: calc(100vw);
  height: 80vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-bottom: 32px;
  position: relative;

  .about-main-img {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, 0);
    transition: all 0.5s;
    position: relative;
    clip-path: inset(0 0 0 0);
    width: calc(100vw - 64px);
    height: 80vw;
    transition: all 1.5s ease-in;
  }

  img {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.0, 1.0);
    transition: all 8.5s ease-out;
  }

  &.js-is-top {
    .about-main-img {
      position: fixed;
      transition: all 1.5s ease-in;
      width: 100vw;
      height: 80vw;
    }

    img {
      transform: scale(1.1, 1.1);
      transition: all 8.5s ease-out;
    }
  }
}

@media (768px <=width) {
  .about-main-img__warpper {
    height: 640px;
    margin-bottom: 128px;

    .about-main-img {
      width: calc(100vw - 160px);
      height: 640px;
    }

    &.js-is-top {
      .about-main-img {
        height: 640px;
      }
    }
  }
}

.about-body {
  background-color: rgba(219, 197, 164, 0.1);
  background-color: rgba(0, 0, 0, 0.64);
  backdrop-filter: blur(16px);
  width: 100vw;
  margin: 0 calc(50% - 50vw);
  padding: 32px;

  .about-body__inner {
    max-width: 1088px;
    margin: 0 auto;
    color: #fff;
    padding: 16px;

    .text--read {
      color: var(--color--gold);
      text-align: center;
    }
  }
}

@media (768px <=width) {
  .about-body {
    padding: 80px;

    .about-body__inner {
      padding: 80px;
    }
  }
}

/* ===========================================================

	company

=========================================================== */
.is-company {
  .contents-style {
    background-color: #F9F9F9;
    padding: 32px;
  }
}

@media (768px <=width) {
  .is-company {
    .contents-style {
      padding: 128px;
    }
  }
}


/* ===========================================================

	message

=========================================================== */
.message {
  display: flex;
  flex-direction: column;
  align-items: flex-end;

  p {
    line-height: 200%;
    width: 100%;
    font-family: var(--font-family-serif);
    font-size: var(--px--18);
    letter-spacing: 0.075em;

    &:first-child {
      margin-top: 0;
    }
  }

  .sign {
    margin-top: var(--px--24);
    max-width: 224px;

    @media (768px <=width) {
      margin-top: var(--px--64);
      max-width: 256px;
    }
  }
}

/* ===========================================================

	timeline

=========================================================== */
.timeline {
  overflow: hidden;
}

.timeline dl {
  padding: 1rem 0;
  position: relative;
  display: flex;
  flex-wrap: wrap;
}

.timeline dl:before {
  content: "";
  width: 0;
  padding-top: 100%;
  border-left: 1px solid #D1D1D1;
  position: absolute;
  top: 0;
  left: 80px;
}

.timeline dt::after {
  content: "";
  display: block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color--brown);
  margin: 0 10px 0 0;
  position: absolute;
  top: 6px;
  left: 75px;
}

.timeline dl:first-of-type:before {
  top: 2em;
}

.timeline dt,
.timeline dd {
  position: relative;
}

.timeline dt {
  width: 80px;
}

.timeline dd {
  flex: 1;
  padding-left: 2rem;
}

.timeline dt em {}

@media (768px <=width) {
  .tab {
    ul {
      justify-content: center;
      flex-direction: row;
      gap: 64px;
    }

    li {
      width: auto;
      min-width: 256px;
    }
  }
}

/* ===========================================================

	video

=========================================================== */
.youtube--16-9 {
  position: relative;
  padding-bottom: 56.25%;
  /*アスペクト比 16:9の場合の縦幅*/
  height: 0;
  overflow: hidden;
  display: block;
}

.youtube--16-9 iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* ===========================================================

   fadein

=========================================================== */
.js-fadein {
  opacity: 0;
  transform: scale(1.08, 1.08);
  transition: all 1.2s ease-in-out;
}

.js-scrollin {
  opacity: 1;
  transform: scale(1, 1);
}

.js-fadein__image {}

.js-fadin__image-wrap {
  position: relative;
  opacity: 0;
  -webkit-transition: all 1.2s ease-in-out;
  transition: all 1.2s ease-in-out;
}

.js-scrollin__image .js-fadin__image-wrap {
  opacity: 1;
}

.js-fadin__image-wrap::before {
  position: absolute;
  top: 0;
  left: 0;
  content: "";
  display: inline-block;
  width: 100%;
  height: calc(100% + 1px);
  background-color: rgba(255, 255, 255, 1);
  -webkit-transform: scale(1, 1) translate(0, 0);
  transform: scale(1, 1) translate(0, 0);
  -webkit-transition: all 1.2s ease-in-out;
  transition: all 1.2s ease-in-out;
}

.js-scrollin__image .js-fadin__image-wrap::before {
  left: 50%;
  -webkit-transform: scale(0, 1) translate(50%, 0);
  transform: scale(0, 1) translate(50%, 0);
}

.delay--1 .js-fadin__image-wrap::before {
  -webkit-transition: all 1.2s ease-in-out 1s;
  transition: all 1.2s ease-in-out 0.5s;
}

.delay--2 .js-fadin__image-wrap::before {
  -webkit-transition: all 1.2s ease-in-out 2s;
  transition: all 1.2s ease-in-out 1s;
}

/* ===========================================================

	error-404

=========================================================== */
.error-404 {
  text-align: center;
  padding-top: 124px;
  padding-bottom: 124px;
  min-height: 40vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contents-style.error-404 h2 {
  align-items: center;
  margin-bottom: 16px;
  font-size: 2rem;
  line-height: 1.2;
}

.error-404 h2 em {
  display: block;
  font-family: "Montserrat", sans-serif;
  font-size: 4.8rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.01em;
  position: relative;
  z-index: 2;
  color: rgba(25, 62, 161, 1);
  margin-bottom: 8px;
}

/* ===========================================================

	gallery

=========================================================== */
/* slider */
[class*=swiper]:focus {
  outline: none;
}

.slide-media,
.thumb-media {
  position: relative;
  overflow: hidden;
}

.slide-media img,
.thumb-media img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

.slide-media img {
  position: absolute;
  top: 0;
  left: 0;
}

/* 前へ / 次へボタン */
.swiper-button-prev,
.swiper-button-next {
  display: grid;
  place-content: center;
  width: 4.8rem;
  height: 4.8rem;
  cursor: pointer;
  -webkit-transition: var(--transition);
  transition: var(--transition);
}

@media only screen and (min-width: 1025px) {

  .swiper-button-prev::before,
  .swiper-button-next::before {
    -webkit-transition: var(--transition);
    transition: var(--transition);
  }

  .swiper-button-prev:hover::before,
  .swiper-button-next:hover::before {
    -webkit-transform: scale(1.2);
    transform: scale(1.2);
  }
}

.swiper-button-prev::before,
.swiper-button-next::before {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  content: "";
  border-radius: 50%;
  background-color: #111;
  -webkit-box-shadow: var(--box-shadow);
  box-shadow: var(--box-shadow);
}

.swiper-button-prev::after,
.swiper-button-next::after {
  width: 1.2rem;
  height: 1.2rem;
  content: "";
  border: solid var(--color--gold);
  border-width: 3px 3px 0 0;
}

.swiper-button-prev::after {
  margin-left: 0.4rem;
  -webkit-transform: rotate(-135deg);
  transform: rotate(-135deg);
}

.swiper-button-next::after {
  margin-right: 0.4rem;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

.swiper-button-disabled {
  pointer-events: none;
  opacity: 0;
}

.gallery {
  /* コンテナ */
  overflow: hidden;
  /* フェードモード時 共通調整 */
  /* コントローラー */
  /* 前へ / 次へボタン */
  /* スライド */
  /* サムネイル */
  padding: 32px 0;
}

.gallery .swiper,
.gallery .thumb-wrapper {
  max-width: 816px;
  margin: auto;
}

.gallery .swiper {
  overflow: visible;
}

.gallery .swiper-fade .swiper-slide {
  -webkit-transition-property: opacity, -webkit-transform !important;
  transition-property: opacity, -webkit-transform !important;
  transition-property: opacity, transform !important;
  transition-property: opacity, transform, -webkit-transform !important;
  pointer-events: none;
}

.gallery .swiper-fade .swiper-slide-active {
  pointer-events: auto;
}

.gallery .swiper-controller {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding-top: 62.5%;
}

.gallery .swiper-button-prev,
.gallery .swiper-button-next {
  position: absolute;
  z-index: 1;
  top: 0;
  bottom: 0;
  margin: auto;
}

@media only screen and (max-width: 1024px) {

  .gallery .swiper-button-prev::before,
  .gallery .swiper-button-next::before {
    background-color: rgba(0, 0, 0, 0.5);
    -webkit-box-shadow: var(--box-shadow-dark);
    box-shadow: var(--box-shadow-dark);
  }
}

@media only screen and (max-width: 1024px) {

  .gallery .swiper-button-prev::after,
  .gallery .swiper-button-next::after {}
}

.gallery .swiper-button-prev {
  right: calc(100% + 3.2rem);
}

@media only screen and (max-width: 1024px) {
  .gallery .swiper-button-prev {
    right: calc(100% - 3.2rem);
  }
}

.gallery .swiper-button-next {
  left: calc(100% + 3.2rem);
}

@media only screen and (max-width: 1024px) {
  .gallery .swiper-button-next {
    left: calc(100% - 3.2rem);
  }
}

.gallery .slide {
  display: block;
  overflow: hidden;
}

.gallery .slide-media {
  display: block;
  padding-top: 62.5%;
  border-radius: 4px;
}

.gallery .slide-media img {
  -o-object-fit: contain;
  object-fit: contain;
}

.gallery .slide-title {
  line-height: 1.6;
  padding: 16px 0;
  text-align: center;
  font-weight: 400;

}

@media (width >=768px) {
  .gallery .slide-title {
    padding: 32px 0;

  }
}

.gallery .thumb-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;

  @media (width >=768px) {
    flex-wrap: nowrap;
  }
}

@media only screen and (max-width: 599px) {
  .gallery .thumb-wrapper {}
}

.gallery .thumb-media {
  /*padding-top: 100%;*/
  cursor: pointer;
  -webkit-transition: var(--transition);
  transition: var(--transition);
  border-radius: 4px;
  max-width: 20%;
}

@media (width >=768px) {
  .gallery .thumb-media {
    max-width: auto;
  }
}

@media only screen and (min-width: 1025px) {
  .gallery .thumb-media:hover {
    -webkit-transform: scale(0.9);
    transform: scale(0.9);
  }

  .gallery .thumb-media:hover img {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
  }
}

.gallery .thumb-media img {
  -webkit-transition: var(--transition);
  transition: var(--transition);
}

.gallery .thumb-media-active {
  -webkit-transform: scale(0.9);
  transform: scale(0.9);
  opacity: 0.3;
}

.gallery .thumb-media-active img {
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}