/* =========================================================
共通
========================================================= */
.textJa {
  line-height: 2;
  letter-spacing: 0.02em;
  font-size: 16px;
}
.textEn {
  line-height: 1.87;
  letter-spacing: 0.02em;
  font-size: 16px;
}
.sectHeader {
  display: flex;
  align-items: baseline;
  gap: 20px;
}
.sectHeader .sectHeaderText {
  line-height: 1.25;
  letter-spacing: 0.02em;
  font-size: 48px;
}
.sectHeader .sectHeaderSubText {
  color: #cea173;
  line-height: 1.4;
  letter-spacing: 0.02em;
  font-size: 20px;
}
.dNone {
  display: none;
}
.dNoneSp {
  display: block;
}

@media only screen and (max-width: 768px) {
  .textJa {
    line-height: 2;
    letter-spacing: 0.02em;
    font-size: 14px;
  }
  .textEn {
    line-height: 1.72;
    letter-spacing: 0.02em;
    font-size: 14px;
  }
  .dNone {
    display: block;
  }
  .dNoneSp {
    display: none;
  }
}

/* =========================================================
セクション
========================================================= */
.kurodashoContainer {
  background-color: #000000;
  color: #ffffff;
  font-family: "Noto Serif JP", "Yu Mincho", "游明朝体", YuMincho, "游明朝",
    "ヒラギノ明朝 ProN W3", "HiraMinProN-W3", "HG明朝E", "ＭＳ Ｐ明朝",
    "MS PMincho", "MS 明朝", "Noto Serif JP", serif;
  font-weight: 400;
}

/* FV */
.fvSect {
  position: relative;
  width: 100%;
  height: 100vh;
  margin-top: -80px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.fvSect::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/kurodasho_v2/00_fv.jpg");
  background-size: 150%;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
  transform-origin: center;
  transition: transform 0s ease;
  transform: scale(1.2);
}
.fvSect .fvSectLogo {
  position: absolute;
  top: 38%;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: auto;
  z-index: 1;
}

@media only screen and (max-width: 768px) {
  .fvSect::before {
    transform: scale(1.3);
	background-size: cover;
  }
  .fvSect .fvSectLogo {
    top: 58%;
    left: 50%;
    width: 271px;
    transform: translate(-50%, -50%);
  }
}

/* メッセージ */
.messageSect {
  width: 100%;
  position: relative;
}
.messageSect .messageSectTextContainer {
  padding: 160px 100px;
}
.messageSect .messageSectText {
  max-width: 440px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
  text-align: center;
}
.memorySect .messageSectSpImageContainer {
  position: static;
}
.messageSect .messageSectImg__1 {
  position: absolute;
  top: 112px;
  left: 7%;
  width: 281px;
  aspect-ratio: 281/199;
  object-fit: cover;
  object-position: center top;
}
.messageSect .messageSectImg__2 {
  position: absolute;
  top: 244px;
  right: 12.2%;
  width: 229px;
  aspect-ratio: 229/162;
  object-fit: cover;
  object-position: center top;
}
.messageSect .messageSectImg__3 {
  position: absolute;
  top: 572px;
  left: 12.5%;
  width: 229px;
  aspect-ratio: 229/162;
  object-fit: cover;
  object-position: center top;
}
.messageSect .messageSectImg__4 {
  position: absolute;
  top: 662px;
  right: 6.8%;
  width: 281px;
  aspect-ratio: 281/199;
  object-fit: cover;
  object-position: center top;
}

@media only screen and (min-width: 960px) and (max-width: 1279px) {
  .messageSect .messageSectImg__1 {
    left: 3.4%;
    width: 225px;
  }
  .messageSect .messageSectImg__2 {
    right: 8.2%;
    width: 182px;
  }
  .messageSect .messageSectImg__3 {
    left: 8%;
    width: 182px;
  }
  .messageSect .messageSectImg__4 {
    right: 2.8%;
    width: 225px;
  }
}

@media only screen and (max-width: 959px) {
  .messageSect .messageSectTextContainer {
    padding: 40px 32px 80px;
  }
  .messageSect .messageSectText {
    gap: 24px;
    max-width: 326px;
  }
  .messageSect .messageSectImageContainer {
    position: relative;
    height: calc((45vw * (199 / 281)) + (19vw * (162 / 229)));
    margin-bottom: 120px;
  }
  .messageSect .messageSectImg__1 {
    display: none;
  }
  .messageSect .messageSectImg__2 {
    display: none;
  }
  .messageSect .messageSectImg__3 {
    top: initial;
    bottom: 0;
    left: 8%;
    width: 38%;
  }
  .messageSect .messageSectImg__4 {
    top: 0;
    right: -6.8%;
    width: 45%;
  }
}
@media only screen and (max-width: 768px) {
  .messageSect .messageSectImageContainer {
    margin-bottom: 0px;
  }
}

/* 記憶 */
.memorySect {
  display: flex;
  gap: 80px;
}
.memorySect .memorySectImg {
  width: calc(100% - 704px);
  object-fit: cover;
  object-position: center top;
}
.memorySect .memorySectContents {
  flex-grow: 1;
  min-width: 624px;
  padding: 40px 0;
}
.memorySect .memorySectContentsText {
  margin-top: 80px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 440px;
}

@media only screen and (min-width: 960px) and (max-width: 1279px) {
  .memorySect .memorySectImg {
    width: calc(100% - 600px);
  }
  .memorySect .memorySectContents {
    flex-grow: 0;
    min-width: 520px;
  }
}

@media only screen and (min-width: 769px) and (max-width: 959px) {
  .memorySect {
    gap: 40px;
  }
  .memorySect .memorySectImg {
    width: calc(100% - 520px);
  }
  .memorySect .memorySectContents {
    flex-grow: 0;
    min-width: 480px;
  }
}

@media only screen and (max-width: 768px) {
  .memorySect {
    flex-direction: column-reverse;
    padding-top: 120px;
  }
  .memorySect .memorySectImg {
    width: 100%;
    min-height: 456px;
  }
  .memorySect .memorySectContents {
    max-width: 326px;
    min-width: initial;
    margin: 0 auto;
  }
  .memorySect .memorySectContentsText {
    margin-top: 60px;
    gap: 24px;
    max-width: initial;
  }
}

/* 門柳 */
.monryuSect {
  width: 100%;
}
.monryuSect .monryuSectContentsWrapper__1 {
  padding: 160px 80px;
}
.monryuSect .monryuSectContents {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 80px;
}
.monryuSect .monryuSectContentsText {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.imgSect1 {
  position: relative;
  width: 100%;
  height: 650px;
  aspect-ratio: 960 / 719;
  background-image: url("../images/kurodasho_v2/03_bk.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.monryuSectContentsWrapper__2 {
  padding: 120px 80px 160px;
}

@media only screen and (max-width: 768px) {
  .monryuSect .monryuSectContentsWrapper__1 {
    padding: 120px 0 60px;
  }
  .monryuSect .monryuSectContents {
    max-width: 326px;
    gap: 60px;
  }
  .monryuSect .monryuSectContentsText {
    gap: 24px;
  }
  .imgSect1 {
    height: 300px;
  }
  .monryuSectContentsWrapper__2 {
    padding: 60px 0px;
  }
}

/* スライダー */
#pc-image-slider {
  display: block;
}
#sp-image-slider {
  display: none;
}
.splide__arrow {
  width: 66px;
  height: 66px;
  border: 1px solid #ffffff;
  border-radius: 50%;
  background-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.splide__arrow svg {
  display: none;
}
.splide__arrow--prev {
  left: calc(6% + 16px) !important;
}
.splide__arrow--next {
  right: calc(6% + 16px) !important;
}
.splide__arrow::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 16px;
  height: 16px;
  border-right: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  box-sizing: border-box;
}
.splide__arrow--prev::after {
  transform: translate(-50%, -50%) rotate(135deg);
  left: 55%;
}
.splide__arrow--next::after {
  transform: translate(-50%, -50%) rotate(-45deg);
  left: 45%;
}

@media only screen and (max-width: 959px) {
  #pc-image-slider {
    display: none;
  }
  #sp-image-slider {
    display: block;
  }
}

@media only screen and (max-width: 768px) {
  .splide__arrow {
    width: 38px;
    height: 38px;
  }
  .splide__arrow--prev {
    left: calc(6% - 16px) !important;
  }
  .splide__arrow--next {
    right: calc(6% - 16px) !important;
  }
  .splide__arrow::after {
    width: 12px;
    height: 12px;
  }
}

/* 発酵 */
.fermentationSect {
  display: flex;
  gap: 40px;
  padding-top: 160px;
}
.fermentationSect .fermentationSectImg {
  width: 50%;
  max-height: 912px;
  object-fit: cover;
  object-position: center;
}
.fermentationSect .fermentationSectContents {
  flex-grow: 1;
  max-width: calc(100% - 520px);
  width: 100%;
}
.fermentationSect .fermentationSectContentsTextContainer {
  max-width: 480px;
  padding: 0px 40px;
}
.fermentationSect .fermentationSectContentsText {
  margin-top: 80px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.fermentationSect .fermentationSectSubImg {
  margin-top: 120px;
  width: 320px;
  height: 328px;
  object-fit: cover;
  object-position: center;
}

@media only screen and (min-width: 1700px) {
  .fermentationSect .fermentationSectImg {
    width: 100%;
    max-height: 912px;
  }
  .fermentationSect .fermentationSectContentsTextContainer {
    margin: 0 auto;
  }
}

@media only screen and (min-width: 769px) and (max-width: 959px) {
  .fermentationSect {
    gap: 20px;
  }
  .fermentationSect .fermentationSectImg {
    width: calc(100% - 500px);
    max-height: 912px;
  }
  .fermentationSect .fermentationSectContents {
    flex-grow: 1;
    min-width: 480px;
  }
  .fermentationSect .fermentationSectContentsTextContainer {
    max-width: 480px;
    padding: 0px 20px;
  }
}

@media only screen and (max-width: 768px) {
  .fermentationSect {
    flex-direction: column-reverse;
    gap: 60px;
    padding-top: 120px;
    position: relative;
  }
  .fermentationSect .fermentationSectImg {
    width: 100%;
    aspect-ratio: 295/376;
    margin-bottom: 0;
  }
  .fermentationSect .fermentationSectContents {
    max-width: initial;
  }
  .fermentationSect .fermentationSectContentsTextContainer {
    max-width: 326px;
    padding: 0px;
    margin: 0 auto;
  }
  .fermentationSect .fermentationSectContentsText {
    margin-top: 60px;
    gap: 24px;
  }
  .fermentationSect .fermentationSectSubImg {
	display: none;
    /*position: absolute;
    bottom: 0;
    left: 50%;
    width: 40%;
    height: auto;
    aspect-ratio: 160/164;
    margin-top: 0;*/
  }
}

/* 熟成 */
.agingSect {
  display: flex;
  gap: 40px;
  padding-top: 160px;
}
.agingSect .agingSectImg {
  width: 50%;
  max-height: 912px;
  object-fit: cover;
  object-position: center;
}
.agingSect .agingSectContents {
  flex-grow: 1;
  min-width: 50%;
  display: flex;
  flex-direction: column;
  align-items: end;
}
.agingSect .agingSectContentsTextContainer {
  max-width: 440px;
  padding-right: 40px;
}
.agingSect .agingSectContentsText {
  margin-top: 80px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.agingSect .agingSectSubImg {
  margin-top: 120px;
  width: 320px;
  height: 328px;
  object-fit: cover;
  object-position: center;
}

@media only screen and (min-width: 1700px) {
  .agingSect .agingSectImg {
    width: 100%;
    max-height: 912px;
  }
  .agingSect .agingSectContentsTextContainer {
    margin: 0 auto;
  }
}

@media only screen and (min-width: 769px) and (max-width: 959px) {
  .fermentationSect {
    gap: 20px;
  }
  .agingSect .agingSectImg {
    width: calc(100% - 520px);
    max-height: 912px;
  }
  .agingSect .agingSectContents {
    flex-grow: 1;
    min-width: 500px;
  }
  .agingSect .agingSectContentsTextContainer {
    max-width: 500px;
    padding: 0px 20px 0px 40px;
  }
}

@media only screen and (max-width: 768px) {
  .agingSect {
    flex-direction: column;
    gap: 60px;
    padding-top: 120px;
    position: relative;
  }
  .agingSect .agingSectImg {
    width: 100%;
    aspect-ratio: 295/376;
    margin-bottom: 0;
    /*margin-left: auto;*/
  }
  .agingSect .agingSectContentsTextContainer {
    max-width: 326px;
    margin: 0 auto;
    padding-right: 0px;
  }
  .agingSect .agingSectContentsText {
    margin-top: 60px;
    gap: 24px;
  }
  .agingSect .agingSectSubImg {
	display: none;
    /*position: absolute;
    bottom: 0;
    right: 50%;
    width: 40%;
    height: auto;
    aspect-ratio: 160/164;
    margin-top: 0;*/
  }
}

/* ラスト */
.lastSect {
  width: 100%;
}
.lastSect .lastSectContentsWrapper {
  padding: 160px 80px;
}
.lastSect .lastSectContents__1 {
  max-width: 440px;
  margin: 0 auto;
}
.lastSect .lastSectContentsText__1 {
  display: flex;
  flex-direction: column;
  gap: 40px;
  text-align: center;
}
.imgSect2 {
  position: relative;
  width: 100%;
  height: 538px;
  aspect-ratio: 3 / 2;
  background-image: url("../images/kurodasho_v2/07_bk.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.lastSect .lastSectContents__2 {
  max-width: 1100px;
  margin: 0 auto;
}
.lastSect .lastSectContentsText__2 {
  display: flex;
  gap: 80px;
  text-align: left;
}
.lastSect .lastSectContentsTextItem {
  width: 480px;
}
.lastSect .lastSectImgWrapper {
  padding: 0 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lastSect .lastSectImg {
  max-width: 960px;
  object-fit: cover;
  object-position: center;
}

@media only screen and (max-width: 768px) {
  .lastSect .lastSectContentsWrapper {
    padding: 120px 0px;
  }
  .lastSect .lastSectContents__1 {
    max-width: 326px;
    margin: 0 auto;
  }
  .lastSect .lastSectContentsText__1 {
    gap: 24px;
  }
  .imgSect2 {
    position: relative;
    width: 100%;
    height: 300px;
  }
  .lastSect .lastSectContents__2 {
    max-width: 326px;
    margin: 0 auto;
  }
  .lastSect .lastSectContentsText__2 {
    flex-direction: column;
    gap: 24px;
    text-align: left;
  }
  .lastSect .lastSectContentsTextItem {
    width: 326px;
  }
  .lastSect .lastSectImgWrapper {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
  }
  .lastSect .lastSectImg {
    max-width: 100%;
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
  }
}

/* 動画 */
.movieSect {
  padding: 120px 100px 160px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 0 auto;
  max-width: 1300px;
}
.movieSect .movieSectImgContainer {
  position: relative;
  cursor: pointer;
}
.movieSect .movieSectImg {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
}
.movieSect .playIcon {
  position: absolute;
  width: 48px;
  height: 48px;
  border-radius: 100%;
  background-color: #000000;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
}
.movieSect .playIcon .playIconTriangle {
  background: #ffffff;
  height: 18px;
  width: 14px;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  position: absolute;
  top: 50%;
  left: calc(50% + 2px);
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
}

@media only screen and (max-width: 768px) {
  .movieSect {
    padding: 120px 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 0 auto;
    justify-content: center;
    align-items: center;
  }
  .movieSect .movieSectImgContainer {
    position: relative;
  }
  .movieSect .movieSectImg {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center;
  }
  .movieSect .playIcon {
    position: absolute;
    width: 48px;
    height: 48px;
    border-radius: 100%;
    background-color: #000000;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
  }
  .movieSect .playIcon .playIconTriangle {
    background: #ffffff;
    height: 18px;
    width: 14px;
    clip-path: polygon(0 0, 100% 50%, 0 100%);
    position: absolute;
    top: 50%;
    left: calc(50% + 2px);
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
  }
}

/* 動画再生モーダル */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal-content {
  width: 60%;
  position: relative;
}

.close-button {
  color: #ffffff;
  position: absolute;
  top: -40px;
  right: -30px;
  font-size: 30px;
  cursor: pointer;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 のアスペクト比 → 高さ / 幅 = 9 / 16 = 0.5625 */
  height: 0;
  overflow: hidden;
  width: 100%;
}

.video-container iframe {
  position: absolute;
  top: -10;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media only screen and (min-width: 769px) and (max-width: 959px) {
  .modal-content {
    width: 80%;
  }
}

@media only screen and (max-width: 768px) {
  .modal-content {
    width: 100%;
  }
  .close-button {
    right: 8px;
    top: -45px;
  }
}

/* ルビの位置 */
@media only screen and (max-width: 768px) {
  rt {
	translate: 0 .5em;
  }
  @-moz-document url-prefix() {
	rt {
		position: relative;
		top: .5em;
	}
  }
}
