/* Base */
:root {
  --paper: #fffdfa;
  --ivory: #f7f3eb;
  --greige: #e5ddd0;
  --ink: #273027;
  --muted: #687166;
  --green: #4f6f3c;
  --green-dark: #243a26;
  --green-soft: #dfe8d6;
  --brown: #8a7057;
  --line: rgba(70, 92, 58, 0.16);
  --shadow: 0 18px 42px rgba(43, 55, 40, 0.13);
  --radius: 18px;
  --serif: "Yu Mincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", "Times New Roman", serif;
  --sans: "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper) url("images/background/bg-ptn.jpg") repeat;
  font-family: var(--sans);
  line-height: 1.85;
  letter-spacing: 0;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

main {
  overflow: hidden;
  background:
    url("images/background/bg-deco01.png") no-repeat right 12% top 880px / 180px auto,
    url("images/background/bg-deco03.png") no-repeat left -42px top 2320px / 150px auto,
    transparent;
}

/* Buttons */
.button,
.fixed-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 16px 28px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  line-height: 1.35;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.button:hover,
.fixed-cta:hover {
  transform: translateY(-2px);
}

.button--dark,
.hero .button--dark {
  color: #fff;
  background: #111712;
  box-shadow: 0 16px 32px rgba(10, 14, 11, 0.22);
}

.button--green {
  color: #fff;
  background: var(--green);
  box-shadow: 0 16px 32px rgba(55, 91, 44, 0.22);
}

/* 1. First view */
.hero {
  position: relative;
  min-height: clamp(560px, 76vw, 860px);
  padding: 0;
  color: #fff;
  isolation: isolate;
  background: #dfe9e7;
}

.hero__slides,
.hero__image,
.hero__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__slides {
  z-index: -2;
  overflow: hidden;
}

.hero__image {
  object-fit: cover;
  object-position: center center;
  opacity: 0;
  transform: scale(1);
  transition: opacity 1.8s ease, transform 6s ease;
}

.hero__image.is-active {
  opacity: 1;
  transform: scale(1.035);
}

.hero__image--two {
  object-position: 58% center;
}

.hero__image--three {
  object-position: center bottom;
}

.hero__shade {
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.02) 45%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.34), rgba(0, 0, 0, 0.02) 82%);
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(100%, 780px);
  padding: clamp(28px, 7vw, 64px) clamp(22px, 6vw, 80px) 0;
  color: #fff;
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.24);
}

.hero__logo {
  width: min(38vw, 190px);
  height: auto;
}

.hero__line {
  width: min(520px, calc(100% + 80px));
  height: 1px;
  margin: 32px 0 20px;
  background: rgba(255, 255, 255, 0.82);
}

.hero__eyebrow,
.section__kicker {
  margin: 0 0 12px;
  color: var(--brown);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.hero__eyebrow {
  color: rgba(255, 255, 255, 0.82);
}

.hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2rem, 7.9vw, 3.9rem);
  font-weight: 500;
  line-height: 1.38;
}

.hero h1 span {
  display: block;
}

.hero__lead {
  width: min(78vw, 315px);
  margin: 16px 0 0;
  font-family: var(--serif);
  font-size: clamp(0.78rem, 3.15vw, 0.96rem);
  line-height: 1.95;
}

.hero-benefit-banner {
  margin: 0;
  padding: 0;
  background: #fffdfa;
}

.hero-benefit-banner img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0;
  box-shadow: none;
}

.benefit-image img {
  width: 100%;
  height: auto;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

/* Shared sections */
.section {
  padding: 76px 20px;
}

.section__inner {
  width: min(100%, 1080px);
  margin: 0 auto;
}

.section h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.85rem, 8vw, 3rem);
  font-weight: 500;
  line-height: 1.48;
}

.section__lead,
.concept p {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 2.05;
}

.regret,
.reasons,
.faq {
  background: rgba(255, 253, 250, 0.76);
}

.concept,
.recommend,
.voices,
.access {
  background: rgba(247, 243, 235, 0.72);
}

/* Check cards */
.check-grid {
  display: grid;
  gap: 14px;
  margin-top: 30px;
}

.check-grid article {
  position: relative;
  min-height: 78px;
  padding: 18px 18px 18px 52px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 10px 24px rgba(43, 55, 40, 0.06);
  font-weight: 700;
  line-height: 1.65;
}

.check-grid article::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 20px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: inset 0 0 0 5px var(--green-soft);
}

/* 3. Concept */
.concept__grid {
  display: grid;
  gap: 34px;
}

.concept__message {
  color: var(--green-dark) !important;
  font-family: var(--serif);
  font-size: clamp(1.45rem, 6.4vw, 2.2rem);
  line-height: 1.55 !important;
}

.photo-card {
  margin: 0;
  overflow: hidden;
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.photo-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.concept__grid .photo-card img {
  aspect-ratio: 4 / 3;
}

/* 4. Reasons */
.reason-list {
  display: grid;
  gap: 16px;
  margin-top: 34px;
}

.reason-card {
  position: relative;
  padding: 24px 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 30px rgba(43, 55, 40, 0.07);
}

.reason-card span {
  color: var(--green);
  font-family: var(--serif);
  font-size: 1.9rem;
  line-height: 1;
}

.reason-card h3,
.work-card h3,
.flow-list h3,
.access__info h3 {
  margin: 12px 0 0;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.55;
}

.reason-card p,
.work-card p,
.flow-list p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.9;
}

.reasons .button {
  display: flex;
  width: min(78%, 400px);
  max-width: 100%;
  margin-top: 32px;
  margin-right: auto;
  margin-left: auto;
}

/* 5. Works */
.works {
  padding-right: 0;
  padding-left: 0;
  background: var(--paper) url("images/background/bg-ptn.jpg") repeat;
}

.works .section__inner {
  padding: 0 20px;
}

.works-scroll {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  padding: 0 20px 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.work-card {
  flex: 0 0 min(82vw, 330px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow);
  scroll-snap-align: start;
}

.work-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.work-card h3,
.work-card p {
  padding-right: 20px;
  padding-left: 20px;
}

.work-card p {
  padding-bottom: 22px;
}

/* 7. Flow */
.flow-list {
  display: grid;
  gap: 14px;
  margin-top: 30px;
}

.flow-list article {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  padding: 20px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 10px 24px rgba(43, 55, 40, 0.06);
}

.flow-list span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: #fff;
  background: var(--green);
  font-family: var(--serif);
  font-size: 1.2rem;
}

.flow-list h3 {
  margin-top: 0;
}

.note {
  margin: 28px 0 0;
  padding: 18px 20px;
  border-left: 4px solid var(--green);
  border-radius: 0 14px 14px 0;
  color: var(--green-dark);
  background: rgba(223, 232, 214, 0.72);
  font-weight: 700;
  line-height: 1.8;
}

/* 8. FAQ */
.faq-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 10px 24px rgba(43, 55, 40, 0.05);
}

.faq-list summary {
  position: relative;
  padding: 20px 48px 20px 20px;
  cursor: pointer;
  font-weight: 800;
  line-height: 1.65;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 20px;
  color: var(--green);
  font-size: 1.5rem;
  transform: translateY(-50%);
}

.faq-list details[open] summary::after {
  content: "-";
}

.faq-list p {
  margin: 0;
  padding: 0 20px 22px;
  color: var(--muted);
  line-height: 1.95;
}

.faq {
  padding-bottom: 60px;
}

/* 9. Voices */
.voices {
  padding-right: 0;
  padding-left: 0;
}

.voices .section__inner {
  padding: 0 20px;
}

.voice-scroll {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  padding: 0 20px 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.voice-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 0 0 min(82vw, 330px);
  min-height: 210px;
  padding: 28px 24px 26px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
  scroll-snap-align: start;
}

.voice-card p {
  margin: 0;
  color: var(--green-dark);
  font-family: var(--serif);
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.9;
}

.voice-card span {
  align-self: flex-end;
  margin-top: 22px;
  color: var(--brown);
  font-family: var(--serif);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1;
}

/* 10. Benefit */
.benefit {
  padding-top: 32px;
  padding-bottom: 32px;
  background: rgba(247, 243, 235, 0.72);
}

.benefit-image {
  margin: 0 auto;
}

/* 10. Access */
.access {
  padding-bottom: 136px;
}

.access__grid {
  display: grid;
  gap: 22px;
  margin-top: 30px;
}

.access__info,
.map-placeholder {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
}

.access__info {
  padding: 26px 22px;
}

.access__info h3 {
  margin-top: 0;
}

.access__info p {
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.9;
}

.access__info .button {
  width: 100%;
  margin-top: 26px;
}

.map-placeholder {
  min-height: 280px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.86);
}

.map-placeholder iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 280px;
  pointer-events: auto;
}

/* Mobile fixed CTA */
.fixed-cta {
  position: fixed;
  z-index: 20;
  right: 18px;
  bottom: 16px;
  left: 18px;
  min-height: 66px;
  color: #fff;
  border: 1px solid rgba(93, 68, 47, 0.35);
  border-radius: var(--radius);
  background: #4a3325;
  box-shadow: 0 14px 32px rgba(74, 51, 37, 0.28);
  backdrop-filter: blur(10px);
}

/* Motion */
.reveal-ready {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal-ready.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal-ready {
    opacity: 1;
    transform: none;
  }

  .hero__image {
    animation: none;
  }

  .hero__image--one {
    opacity: 1;
  }
}

/* Tablet and desktop */
@media (min-width: 760px) {
  main {
    background:
      url("images/background/bg-deco01.png") no-repeat right 7% top 940px / 240px auto,
      url("images/background/bg-deco02.png") no-repeat left 6% top 2460px / 210px auto,
      transparent;
  }

  .hero {
    min-height: 820px;
  }

  .hero__content {
    padding: 48px 7vw 0;
  }

  .hero__logo {
    width: min(22vw, 260px);
  }

  .hero__line {
    width: min(620px, calc(100% + 80px));
    margin-top: 44px;
    margin-bottom: 28px;
  }

  .hero__lead {
    width: min(48vw, 520px);
    font-size: 1.05rem;
  }

  .section {
    padding: 108px 36px;
  }

  .section__lead {
    width: min(100%, 760px);
  }

  .check-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .check-grid--wide {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .concept__grid {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.86fr);
    align-items: center;
    gap: 64px;
  }

  .photo-card img {
    aspect-ratio: 5 / 6;
  }

  .concept__grid .photo-card img {
    aspect-ratio: 4 / 3;
  }

  .reason-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .works .section__inner,
  .works-scroll {
    padding-right: 36px;
    padding-left: max(36px, calc((100vw - 1080px) / 2));
  }

  .work-card {
    flex-basis: 360px;
  }

  .flow-list {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
  }

  .flow-list article {
    grid-template-columns: 1fr;
  }

  .access__grid {
    grid-template-columns: minmax(300px, 0.82fr) 1fr;
    align-items: stretch;
  }

  .map-placeholder {
    min-height: 420px;
  }

  .fixed-cta {
    display: none;
  }
}

@media (min-width: 1040px) {
  .reason-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-benefit-banner {
    padding: 0;
  }
}
