html,
body {
  font-family: "Manrope", sans-serif;
  font-weight: 400;
  letter-spacing: 0.03em;
  color: #000;
  height: 100%;
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  scroll-snap-type: y mandatory;
  overflow-y: scroll;
}

.hero {
  height: 120vh;
  position: relative;
  background: url("./images/wave.jpg") center center / cover no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
  overflow: hidden;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 20px 40px;
  background: transparent;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.brand-name {
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 1px;
  flex: 1;
  text-align: left;
}

.site-title {
  flex: 2;
  text-align: center;
  font-size: 27px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
}

.main-nav {
  flex: 1;
  text-align: right;
}

.main-nav a {
  color: #fff;
  text-decoration: none;
  margin: 0 10px;
  font-weight: 400;
  font-size: 0.9rem;
  transition: opacity 0.3s;
}

.main-nav a:hover {
  opacity: 0.7;
}

.main-nav .dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #fff;
  border-radius: 50%;
  margin: 0 10px;
}

@media (max-width: 768px) {
  .site-title {
    font-size: 24px;
  }
}

.content {
  position: relative;
  position: absolute;
  top: 28%;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 0 20px;
  margin-bottom: 80px;
}
.intro-text {
  position: absolute;
  bottom: 0%;
  left: 60px;
  text-align: left;
  font-size: 1.4rem;
  line-height: 1.2;
  max-width: 320px;
  color: white;
  z-index: 2;
}
.scroll-btn {
  margin-top: 20px;
  padding: 10px 25px;
  border: 1px solid white;
  border-radius: 999px;
  background: transparent;
  color: white;
  cursor: pointer;
  transition: all 0.3s;
}

.scroll-btn:hover {
  background: white;
  color: black;
}

.bg-text {
  position: absolute;
  bottom: 25%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 16.5vw;
  color: rgba(255, 255, 255, 0.234);
  font-weight: 700;
  text-transform: uppercase;
  pointer-events: none;
  z-index: 1;
  white-space: nowrap;
}
.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.4) 0%,
    rgba(0, 0, 0, 0.6) 50%,
    rgba(0, 0, 0, 1) 100%
  );
}

/**/

.black-section {
  background: #000;
  color: #fff;
  padding-top: 2px;
  padding-left: 20px;
  padding-right: 20px;
  padding-bottom: 120px;
  text-align: center;
}

.black-section h2 {
  font-size: 85px;
  font-weight: 200;
  letter-spacing: 2px;
  color: #b3c3ca;
  margin-bottom: 20px;
  line-height: 80px;
}

.black-section p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
  color: #b3c3ca;
  font-weight: bold;
}

/**/

.feature-section {
  min-height: 160vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #000;
  color: #fff;
  padding: 175px 40px;
  gap: 80px;
}
.feature-section {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("./images/middle_flower_bg.png") center/cover no-repeat;
  color: #fff;
}

.feature-text {
  max-width: 40%;
  width: 100%;
  font-size: 1.4rem;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.feature-text.left {
  text-align: left;
  margin-left: 0;
  margin-right: auto;
}

.feature-text.right {
  text-align: left;
  margin-left: auto;
  margin-right: 0;
  margin-top: 820px;
}

.feature-title {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 0.7rem;
}

.feature-title .dot {
  width: 8px;
  height: 8px;
  background: #fff;
  border-radius: 50%;
  display: inline-block;
  margin-right: 10px;
}

/**/

.image-grid-section {
  display: flex;
  flex-wrap: wrap;
  background: #000;
}

.image-block {
  flex: 1 1 50%;
  overflow: hidden;
}

.image-block img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.details-section {
  background: #fff;
  color: #000;
  padding: 150px 20px;
  text-align: center;
}

.details-section h2 {
  font-size: 5rem;
  letter-spacing: 1px;
  line-height: 1;
  font-weight: 500;
  text-transform: uppercase;
}

/* ======= DETAILS GRID SECTION ======= */

.details-grid-section {
  background: #fff;
  padding: 80px 20px;
}

.details-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0px;
  max-width: 900px;
  margin:  auto;
  flex-wrap: nowrap;
}

.details-row.reverse {
  flex-direction: row-reverse;
}

.details-image {
  flex: 1 1 50%;
}

.details-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.details-text {
  flex: 1 1 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 500px;
  padding: 60px;
  box-sizing: border-box;
  background: #fff;
}

.details-texts {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1rem;
}

.details-text .dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #000;
  border-radius: 50%;
  margin-right: 10px;
}

.details-text h4 {
  margin: 0;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
}

.details-text p {
  width: 100%;
  font-size: 1rem;
  letter-spacing: 0.03em;
  line-height: 1.6;
  word-break: normal;
  word-wrap: break-word;
  white-space: normal;
  margin: 0;
}

/* ======= RESPONSIVE ======= */

@media (max-width: 768px) {
  .details-row {
    flex-direction: column;
    gap: 40px;
  }

  .details-text {
    padding: 30px 20px;
    max-width: 100%;
  }

  .details-text p {
    font-size: 1rem;
    max-width: 100%;
  }
}

/**/

.title-section {
  background: #fff;
  color: #000;
  text-align: center;
  padding: 150px 20px;
}

.title-section h2 {
  font-size: 5rem;
  letter-spacing: 1px;
  line-height: 1;
  font-weight: 500;
  text-transform: uppercase;
}

/**/

/* INDEXセクション */
.choco-index-section {
  background: #b3c3ca;
  color: #000;
  padding: 220px 20px;
  text-align: center;
}

.choco-index-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.choco-index-title {
  margin-bottom: 60px;
}

.choco-index-number {
  display: block;
  font-size: 0.8rem;
  font-weight: 400;
  margin-bottom: 10px;
}

.choco-index-title h2 {
  font-size: 7rem;
  font-weight: bold;
  letter-spacing: 1px;
  line-height: 1;
  text-transform: uppercase;
  margin: 0;
}

.choco-index-content {
  display: flex;
  justify-content: space-between;
  gap: 100px;
  flex-wrap: wrap;
  text-align: left;
}

.choco-index-text {
  flex: 1 1 50%;
  font-size: 1.2rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.2;
  display: flex;
  gap: 10px;
  padding-right: 50px;
  padding-left: 40px;
}

.choco-index-text .dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #000;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 6px;
}

.choco-index-list {
  flex: 1 1 30%;
}

.choco-index-list h4 {
  font-size: 0.6rem;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 20px;
}

.choco-index-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.choco-index-list li {
  margin-bottom: 10px;
}

.choco-index-list a {
  text-decoration: none;
  color: #000;
  font-size: 1.2rem;
  font-weight: 500;
  display: inline-block;
  transition: all 0.3s ease;
}

.choco-index-list a:hover {
  color: #5c3a21;
}

@media (max-width: 768px) {
  .choco-index-title h2 {
    font-size: 3.5rem;
  }
  .choco-index-content {
    flex-direction: column;
  }
}



.choco-detail-section {
  scroll-snap-align: start;
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: #fff;
}

.choco-detail-container {
  display: flex;
  height: 100%;
}

.choco-image-fixed {
  position: sticky;
  top: 0;
  flex: 0 0 50%;
  height: 100vh;
  overflow: hidden;
}

.choco-image-fixed img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.choco-scroll-content {
  flex: 1;
  height: 100%;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
}

.choco-text {
  margin-bottom: 48px;
}

.choco-text h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #5c3a21;
}

.choco-text p {
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
  margin-bottom: 100px;
}

.choco-color-variations img {
  width: 60%;
  margin-bottom: 30px;
  border-radius: 6px;
  display: block;
  margin: 0 auto 100px;
}

.choco-flavor-block {
  scroll-snap-align: start;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  padding: 50px;
  box-sizing: border-box;
}

.choco-flavor-block h3 {
  font-size: 1.2rem;
  color: #5c3a21;
  margin-bottom: 20px;
}

.choco-flavor-block img {
  width: 60%;
  display: block;
  margin: 0 auto 20px;
  border-radius: 8px;
}

.choco-flavor-block p {
  font-size: 0.8rem;
  line-height: 1.6;
  color: #333;
  max-width: 500px;
  margin: 0 auto;
}


/**/

/* フッター全体 */
.site-footer {
  background-color: #000;
  color: #fff;
  text-align: center;
  padding: 80px 20px 40px;
  font-family: "Manrope", sans-serif;
}

/* メインメッセージ */
.site-footer h2 {
  font-size: 2.5rem;
  line-height: 1.3;
  letter-spacing: 1px;
  font-weight: 400;
  margin-bottom: 30px;
}

/* カタログリンク */
.site-footer .catalogue-link {
  display: inline-block;
  color: #fff;
  font-size: 0.9rem;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid #fff;
  transition: all 0.3s;
}

.site-footer .catalogue-link:hover {
  color: #f7b42b;
  border-color: #f7b42b;
}

/* 下部エリア */
.footer-bottom {
  margin-top: 60px;
  font-size: 0.8rem;
  color: #999;
}

.footer-bottom p {
  margin: 5px 0;
}

.footer-bottom .agency-credit {
  color: #fff;
  font-weight: 600;
  margin-top: 10px;
}

/* ソーシャルアイコン */
.footer-social {
  margin-top: 20px;
}

.footer-social a {
  color: #fff;
  margin: 0 10px;
  font-size: 1rem;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-social a:hover {
  color: #f7b42b;
}



#webgl-canvas canvas {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  display: block;
  
}

/* --- fade-in animation --- */
.observe-fadein {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.observe-fadein.fade-in {
  opacity: 1;
  transform: translateY(0);
}


.image-reveal {
  opacity: 0;
  transform: translateY(40px) scale(1.05);
  transition: opacity 1.2s ease, transform 1.2s ease;
  will-change: opacity, transform;
}

.image-reveal.revealed {
  opacity: 1;
  transform: translateY(0px) scale(1);
}




.image-reveal {
  opacity: 0;
  transform: translateY(80px) scale(1.1); /* より下から、大きめに登場 */
  transition: opacity 1.2s ease-out, transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.image-reveal.revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
}




/* 左から登場 */
.image-reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}
.image-reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

/* 右から登場 */
.image-reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}
.image-reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}


.parallax-container {
  overflow: hidden;
  position: relative;
}

.parallax-image {
  opacity: 0;
  transform: translateY(80px) scale(1.2);
  transition: opacity 1.4s ease, transform 1.4s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform, opacity;
}

.parallax-image.revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
}