@charset "utf-8";

/* 全体のスタイル */
body,
html {
  margin: 0;
  padding: 0;
  /* font-family: Arial, sans-serif; */
  font-family: "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", "メイリオ", sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background-color: #000;
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}

.fast_view picture,
.fast_view img {
  width: 100%;
  height: auto;
}

.wrapper {
  width: 100%;
  margin: 0 auto;
  background-color: #F1EEE8;
  color: #000;
  overflow-x: hidden;
}


header .fast_view {
  position: relative;
}


header .fast_view .fast_view_text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 25px;
  padding: 0 33px;
}

header .fast_view .fast_view_text h1 {
  width: 100%;
  max-width: clamp(280px, 50vw, 493px);
}

header .fast_view .fast_view_text p {
  width: 100%;
  max-width: clamp(240px, 45vw, 430px);
}

header .fast_view .fast_view_text p.fast_view_btn {
  width: 100%;
  max-width: clamp(200px, 40vw, 320px);
}


main .white_bg.set_1 {
  position: relative;
}


main .white_bg.set_1 .text_box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  padding: 0 33px;
}

main .white_bg.set_1 .text_box picture {
  width: clamp(200px, 30vw, 350px);
  aspect-ratio: 1 / 1;
}

main .white_bg.set_1 .text_box .text_box_text p.text_1 {
  width: 100%;
  max-width: 580px;
  margin-bottom: 30px;
}

main .white_bg.set_1 .text_box .text_box_text p.text_2 {
  width: 100%;
  max-width: 620px;
}


main .white_bg.set_2 {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #FBF5E3;
}

main .white_bg.set_2 .text_box {
  width: 600px;
  margin: 30px auto;
}

main .white_bg.set_3 {
  position: relative;
}


main .white_bg.set_3 .text_box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 25px;
  padding: 0 33px;
}

main .white_bg.set_3 .text_box p.set1 {
  width: 300px;
}

main .white_bg.set_3 .text_box p.set3 {
  width: 519px;
}

main .white_bg.set_3 .text_box p.set2,
main .white_bg.set_3 .text_box p.set4 {
  width: 208px;
}

main .white_bg.set_3 .text_box p.set5 {
  font-family: "YuMincho", "Yu Mincho", serif;
}

main .white_bg.set_4 {
  position: relative;
}


main .white_bg.set_4 .text_box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 25px;
  padding: 0 33px;
}

main .white_bg.set_4 .text_box section {
  display: flex;
  width: clamp(320px, 90%, 736px);
  /* 最小320px, 最大736pxまで可変 */
  height: auto;
  /* コンテンツに応じて自動 */
  padding: clamp(16px, 5vw, 32px) 0px;
  /* 上下のパディングを可変に */
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: clamp(16px, 3vw, 24px);
  /* gapも画面幅に応じて変化 */
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.80);
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.15);
}

main .white_bg.set_4 .text_box section h2 {
  color: #1F1F1F;
  font-feature-settings: 'palt' on;

  /* Body/Default */
  font-family: "YuMincho", "Yu Mincho", serif;
  font-size: clamp(16px, 2vw, 20px);
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  letter-spacing: 2px;
}

main .white_bg.set_4 .text_box section ul li {
  color: #1F1F1F;
  font-feature-settings: 'palt' on;

  /* Body/S */
  font-family: "YuMincho", "Yu Mincho", serif;
  font-size: clamp(14px, 1.5vw, 16px);
  /* 可変サイズ */
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  letter-spacing: 0.1em;
  /* pxからemに調整 */
}

main .white_bg.set_4 .text_box section p span {
  display: block;
  color: #1F1F1F;
  text-align: center;
  font-feature-settings: 'palt' on;

  /* Caption/Note */
  font-family: "YuMincho", "Yu Mincho", serif;
  font-size: clamp(12px, 1vw, 12px);
  /* 可変サイズ */
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  letter-spacing: 0.1em;
}

footer {
  display: flex;
  width: 100%;
  height: 146px;
  padding: 32px;
  padding-bottom: 250px;
  /* margin-bottom: 146px; */
  /* flex-direction: column; */
  justify-content: center;
  align-items: start;
  gap: 32px;
  background: linear-gradient(0deg, rgba(31, 31, 31, 0.92) 0%, rgba(31, 31, 31, 0.92) 100%), url(<path-to-image>) lightgray 50% / cover no-repeat;
}

footer small {
  width: 182px;
}

/* .white_bg.set_2 {
  position: relative;
  transition: transform 0.3s ease;
  z-index: 1;
}

.white_bg.set_2.sticky-fixed {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 99999;
  transform: translateY(0);
}

.white_bg.set_2.sticky-hidden {
  transform: translateY(100%);
} */


/* ダミーは高さだけ持つ */
.sticky-trigger {
  height: 1px;
}

.white_bg.set_2 {
  transition: transform 0.3s ease;
  z-index: 1;
}

.white_bg.set_2.sticky-fixed {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 99999;
  transform: translateY(0%);
  opacity: 1; /* ← ここが半透明の設定 */
  background-color: rgba(255, 255, 255, 0.5);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.white_bg.set_2.sticky-fixed p.text_box {
  opacity: 1;
}

.white_bg.set_2.sticky-hidden {
  transform: translateY(0%);
}

.fast_view_btn a img {
  display: block;
  transition: all 0.3s ease;
}

.fast_view_btn a:hover img,
.fast_view_btn a:active img {
  opacity: 0.7;
  transform: scale(1.02);
}


.white_bg.set_2.sticky-fixed p.text_box a img {
  display: block;
  transition: all 0.3s ease;
}

.white_bg.set_2.sticky-fixed p.text_box a:hover img,
.white_bg.set_2.sticky-fixed p.text_box a:active img {
  opacity: 0.9;
  transform: scale(1.05);
}



@media (max-width: 1410px) {


  main .white_bg.set_2 .text_box {
    width: clamp(300px, 40vw, 600px);
    margin: 15px auto;

  }

  main .white_bg.set_3 .text_box {
    gap: 15px;
  }

  main .white_bg.set_3 .text_box p.set1 {
    width: clamp(200px, 20vw, 300px);
  }

  main .white_bg.set_3 .text_box p.set3 {
    width: clamp(280px, 30vw, 519px);
  }

  main .white_bg.set_3 .text_box p.set2,
  main .white_bg.set_3 .text_box p.set4 {
    width: clamp(150px, 15vw, 208px);
  }

  main .white_bg.set_4 .text_box {
    flex-direction: row;
  }

  main .white_bg.set_4 .text_box section {
    width: 50%;
    padding: 10px;
    gap: clamp(16px, 3vw, 24px);
    height: 220px;
    justify-content: flex-start;
  }

  main .white_bg.set_4 .text_box section h2 {
    font-size: clamp(16px, 2vw, 18px);
    margin-top: 30px;
  }

  main .white_bg.set_4 .text_box section ul li {
    font-size: clamp(13px, 1.3vw, 14px);
    letter-spacing: 0.1em;
  }

}

@media (max-width: 800px) {
  header .fast_view .fast_view_text h1 {
    max-width: clamp(280px, 80vw, 600px);
  }

  header .fast_view .fast_view_text p {
    max-width: clamp(240px, 100vw, 800px);
  }

  header .fast_view .fast_view_text p.fast_view_btn {
    max-width: clamp(200px, 88vw, 700px);
  }

  main .white_bg.set_1 .text_box {
    flex-direction: column;
    margin-top: 36px;
    gap: 32px;
  }

  main .white_bg.set_1 .text_box .text_box_text {
    width: 90%;
  }

  main .white_bg.set_1 .text_box .text_box_text p.text_1 {
    margin-bottom: 0;
  }

  main .white_bg.set_1 .text_box .text_box_text p.text_2 {
    margin-bottom: clamp(24px, 30vw, 69px);
  }

  main .white_bg.set_1 .text_box picture {
    width: clamp(200px, 90vw, 800px);
    aspect-ratio: auto;
  }

  main .white_bg.set_2 .text_box {
    width: 80%;
    margin: 26px auto;
  }

  main .white_bg.set_3 .text_box {
    padding: 0;
    gap: 0;
  }

  main .white_bg.set_3 .text_box p.set1 {
    width: 60%;
    margin-bottom: clamp(24px, 5vw, 50px);
  }

  main .white_bg.set_3 .text_box p.set3 {
    width: 85%;
    margin-bottom: 25px;
  }

  main .white_bg.set_3 .text_box p.set2,
  main .white_bg.set_3 .text_box p.set4 {
    width: 60%;
    margin-bottom: 25px;
  }

  main .white_bg.set_3 .text_box p.set5 {
    font-size: 1.6rem;
    font-family: "YuMincho", "Yu Mincho", serif;
  }

  main .white_bg.set_4 .text_box {
    flex-direction: column;
    padding: 0;
  }

  main .white_bg.set_4 .text_box section {
    width: 90%;
    gap: clamp(10px, 3vw, 24px);
    height: 250px;
    justify-content: flex-start;
    padding: 0 20px;
  }
  main .white_bg.set_4 .text_box section ul li {
    font-size: 1.4rem;
    text-align: justify;
    letter-spacing: 1.7px;
  }
  main .white_bg.set_4 .text_box section h2 {
    margin-top: 20px;
  }
  main .white_bg.set_4 .text_box section p span {
    text-align: left;
  }
  main .white_bg.set_4 .text_box  ul {
    gap: 10px;
    display: flex;
    flex-direction: column;
  }
}