:root {
  --ink: #1e2f3b;
  --muted: #5f7482;
  --blue: #2f668c;
  --blue-2: #5f89a6;
  --blue-pale: #e9f3f8;
  --line: #d9e6ee;
  --paper: #fff;
  --cream: #fbf7ef;
  --shadow: 0 14px 34px rgba(33, 79, 111, 0.13);
  --radius: 8px;
  --container: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  font-family: "Noto Sans JP", system-ui, sans-serif;
  line-height: 1.85;
  background: #fff;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.sp-break { display: none; }
.desktop-break { display: none; }

.container {
  width: min(100% - 28px, var(--container));
  margin-inline: auto;
}

.section { padding: 66px 0; }

.section-title {
  margin: 0 0 28px;
  color: var(--blue);
  font-size: clamp(1.35rem, 5vw, 1.85rem);
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
  letter-spacing: 0.1em;
}

.section-title small {
  display: block;
  margin-top: 4px;
  color: #7f9caf;
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.24em;
}

.section-title--left { text-align: left; }

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: linear-gradient(90deg, #fff 0%, #eef7fb 100%);
}

.hero__image {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background: linear-gradient(180deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.72) 36%, rgba(255,255,255,.08) 76%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: 100vh;
  grid-template-rows: auto auto 1fr auto;
  gap: 14px;
  padding: 28px 0 22px;
}

.hero__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.brand {
  margin: 0;
  padding: 8px 12px;
  border: 1px solid #cbdce6;
  color: #315d7c;
  font-size: 0.56rem;
  font-weight: 700;
  line-height: 1.65;
  letter-spacing: 0.22em;
  background: rgba(255,255,255,.58);
}

.hero__copy {
  width: min(100%, 390px);
  margin-top: 8px;
}

.hero__question {
  margin: 0 0 28px;
  color: #203642;
  font-family: "Noto Serif JP", "Noto Sans JP", serif;
  font-size: clamp(.92rem, 3.6vw, 1.55rem);
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: .03em;
  white-space: nowrap;
}

.hero__sub {
  margin: 0 0 3px;
  color: var(--blue);
  font-family: "Noto Serif JP", "Noto Sans JP", serif;
  font-size: clamp(.95rem, 3.4vw, 1.35rem);
  font-weight: 500;
  line-height: 1.65;
  letter-spacing: .04em;
  white-space: nowrap;
}

.hero h1 {
  margin: 0;
  font-size: clamp(1.86rem, 8vw, 3.6rem);
  font-weight: 500;
  font-family: "Noto Serif JP", "Noto Sans JP", serif;
  line-height: 1.35;
  letter-spacing: .03em;
}

.hero__desc {
  margin: 14px 0 0;
  color: #2f4858;
  font-size: clamp(.76rem, 3vw, .95rem);
  font-weight: 600;
  line-height: 1.85;
}

.hero__product {
  display: none;
}

.hero-benefits {
  align-self: end;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-benefits li {
  display: grid;
  justify-items: center;
  gap: 5px;
  color: #203642;
  font-size: clamp(.62rem, 2.6vw, .83rem);
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}

.icon {
  display: inline-block;
  width: 42px;
  height: 42px;
  color: #5d8bab;
  background: currentColor;
  mask: var(--icon) center / contain no-repeat;
  -webkit-mask: var(--icon) center / contain no-repeat;
}

.icon-brain { --icon: url("assets/icon-brain.svg"); }
.icon-note { --icon: url("assets/icon-note.svg"); }
.icon-gift { --icon: url("assets/icon-gift.svg"); }
.icon-doubtful { --icon: url("assets/icon-doubtful.svg"); }
.icon-rain { --icon: url("assets/icon-rain.svg"); }
.icon-spiritual { --icon: url("assets/icon-spiritual.svg"); }
.icon-key { --icon: url("assets/icon-key.svg"); }
.icon-create { --icon: url("assets/icon-create.svg"); }
.icon-people { --icon: url("assets/icon-people.svg"); }
.icon-network { --icon: url("assets/icon-network.svg"); }
.icon-difference { --icon: url("assets/icon-difference.svg"); }

.hero__cta { display: grid; gap: 10px; }

.cta {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  min-height: 58px;
  padding: 10px 12px;
  border-radius: 7px;
  font-size: clamp(.9rem, 4.2vw, 1.32rem);
  font-weight: 500;
  line-height: 1.3;
  box-shadow: var(--shadow);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.cta:hover,
.cta:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(33, 79, 111, .22);
  filter: brightness(1.04);
}

.cta--blue {
  color: #fff;
  background: linear-gradient(180deg, #4e86ad 0%, #2d648a 100%);
}

.cta--white {
  color: #183343;
  background: rgba(255,255,255,.95);
}

.line-badge {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.cta__arrow {
  position: relative;
  display: inline-block;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-left: auto;
  font-size: 0;
  line-height: 1;
}

.cta__arrow::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 9px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  content: "";
  transform: translate(-62%, -50%) rotate(45deg);
}

.micro-list {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #294b61;
  font-size: .68rem;
  font-weight: 600;
}

.micro-list li::before {
  content: "✓";
  margin-right: 4px;
  color: var(--blue);
}

.worries {
  background: linear-gradient(180deg, #fff 0%, #fff 65%, var(--cream) 100%);
}

.line-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 0 0 26px;
  color: #354956;
  font-size: clamp(1.08rem, 4.4vw, 1.45rem);
  font-weight: 500;
  text-align: center;
  letter-spacing: .12em;
}

.line-title::before,
.line-title::after {
  width: min(16vw, 92px);
  height: 1px;
  content: "";
  background: #c9d9e2;
}

.worry-grid,
.learn-grid {
  display: grid;
  gap: 12px;
}

.worry-card,
.learn-card,
.sample-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.9);
  box-shadow: 0 8px 22px rgba(38, 89, 120, .06);
}

.worry-card {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 9px 10px;
}

.worry-card .icon {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
}

.worry-card p {
  flex: 1;
  margin: 0;
  font-size: clamp(.88rem, 3.9vw, 1rem);
  font-weight: 700;
  line-height: 1.5;
}

.worry-card p br {
  display: none;
}

.center-copy {
  margin: 28px auto 0;
  color: #364c5a;
  font-size: .9rem;
  font-weight: 500;
  text-align: center;
}

.learn {
  background: linear-gradient(180deg, #eef6fa 0%, #fff 34%);
}

.learn-grid {
  grid-template-columns: 1fr;
}

.learn-card {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  align-items: center;
  min-height: 92px;
  padding: 10px 16px;
  overflow: hidden;
}

.learn-card span {
  color: #6f95ae;
  font-size: 1.55rem;
  line-height: 1;
}

.learn-card p {
  margin: 0;
  font-size: .82rem;
  font-weight: 600;
  line-height: 1.65;
}

.learn-card i {
  position: absolute;
  right: 14px;
  bottom: 8px;
  width: 52px;
  height: 52px;
  opacity: .12;
}

.preview-section {
  padding-top: 10px;
  background: #fff;
}

.carousel {
  position: relative;
}

.carousel__viewport {
  display: grid;
  grid-auto-columns: 100%;
  grid-auto-flow: column;
  gap: 14px;
  align-items: stretch;
  overflow-x: auto;
  padding: 2px 2px 10px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.carousel__viewport::-webkit-scrollbar { display: none; }

.sample-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-width: 0;
  min-height: 236px;
  padding: 15px;
  scroll-snap-align: start;
}

.sample-card h3 {
  min-height: 3.2em;
  margin: 0 0 12px;
  color: #243b4a;
  font-size: .92rem;
  line-height: 1.6;
  padding-left: 1.7em;
  text-indent: -1.7em;
}

.sample-card p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  margin: 0;
  color: #435965;
  font-size: .84rem;
  font-weight: 500;
  line-height: 1.8;
}

.sample-card--locked {
  position: relative;
}

.sample-mask {
  position: relative;
  align-self: start;
  display: grid;
  align-content: center;
  gap: 9px;
  min-height: calc(.84rem * 1.8 * 3);
  margin-top: 2px;
  padding: 4px 0;
}

.sample-mask::after {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  min-height: 30px;
  padding: 3px 14px;
  place-items: center;
  border: 1px solid #cbdce6;
  border-radius: 999px;
  color: var(--blue);
  font-size: .72rem;
  font-weight: 700;
  content: "続きは資料で";
  background: rgba(255,255,255,.92);
  box-shadow: 0 8px 18px rgba(38, 89, 120, .12);
  transform: translate(-50%, -50%);
}

.sample-mask span {
  height: .86em;
  border-radius: 999px;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(95, 137, 166, .32) 0 5px,
      rgba(233, 243, 248, .92) 5px 10px
    );
  filter: blur(3px);
}

.sample-mask span:nth-child(2) { width: 92%; }
.sample-mask span:nth-child(3) { width: 78%; }
.sample-mask span:nth-child(4) { display: none; }

.sample-card a {
  display: block;
  align-self: end;
  margin-top: 10px;
  color: var(--blue);
  font-size: .78rem;
  font-weight: 700;
  text-align: right;
}

.carousel__button {
  position: absolute;
  top: 47%;
  z-index: 2;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #fff;
  font-size: 0;
  line-height: 1;
  background: #356f98;
  box-shadow: var(--shadow);
  cursor: pointer;
}

.carousel__button::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  content: "";
}

.carousel__button--prev::before {
  transform: translate(-35%, -50%) rotate(-135deg);
}

.carousel__button--next::before {
  transform: translate(-65%, -50%) rotate(45deg);
}

.carousel__button--prev { left: -6px; }
.carousel__button--next { right: -6px; }

.carousel__dots {
  display: flex;
  justify-content: center;
  gap: 9px;
  margin-top: 12px;
}

.carousel__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #c9d9e2;
  cursor: pointer;
}

.carousel__dot.is-active { background: var(--blue); }

.mid-cta {
  padding: 28px 0 44px;
  background: linear-gradient(180deg, #fff 0%, #f7fbfd 100%);
}

.mid-cta__inner {
  display: grid;
  gap: 14px;
  justify-items: center;
  padding: 20px 18px;
  border: 1px solid #dbe9f0;
  border-radius: var(--radius);
  text-align: center;
  background: rgba(255,255,255,.88);
  box-shadow: 0 12px 30px rgba(38, 89, 120, .08);
}

.mid-cta__copy p {
  margin: 0;
  color: #243b4a;
  font-size: clamp(1rem, 4.1vw, 1.28rem);
  font-weight: 700;
  line-height: 1.55;
}

.mid-cta__copy small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 600;
}

.mid-cta .cta {
  width: min(100%, 520px);
}

.author {
  background: linear-gradient(90deg, #f8fbfc 0%, #fff 45%, #fbf4e9 100%);
}

.author__layout {
  display: grid;
  gap: 24px;
  align-items: center;
}

.author__photo {
  overflow: hidden;
  border-radius: 7px;
  box-shadow: var(--shadow);
}

.author__photo img { width: 100%; }

.author__lead {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: clamp(1rem, 4.2vw, 1.25rem);
  font-weight: 500;
  line-height: 1.7;
}

.author__body p:not(.author__lead) {
  margin: 0 0 16px;
  color: #3d4f5a;
  font-size: .84rem;
}

.text-button {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 5px 18px;
  border: 1px solid #cbdce6;
  border-radius: 4px;
  color: #42677f;
  font-size: .78rem;
  font-weight: 700;
  background: #fff;
}

.final-cta {
  position: relative;
  overflow: hidden;
  padding: 30px 0 26px;
  color: #fff;
  background: #477da0;
}

.final-cta::before,
.final-cta::after {
  position: absolute;
  top: 34px;
  width: 160px;
  height: 100px;
  content: "";
  opacity: .24;
  background: url("assets/leaf-light.svg") center / contain no-repeat;
}

.final-cta::before { left: -52px; }
.final-cta::after { right: -52px; transform: scaleX(-1); }

.final-cta__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  justify-items: center;
  text-align: center;
}

.final-cta__copy p {
  margin: 0;
  font-size: clamp(1.05rem, 4.6vw, 1.65rem);
  font-weight: 500;
  letter-spacing: .04em;
}

.final-cta__copy small {
  display: block;
  margin-top: 2px;
  font-size: .75rem;
  opacity: .9;
}

.final-cta__book {
  width: 110px;
  filter: drop-shadow(0 12px 18px rgba(21, 58, 82, .22));
}

.site-footer {
  padding: 26px 0 28px;
  color: #5f7482;
  background: #f6fafc;
  border-top: 1px solid var(--line);
}

.site-footer__inner {
  display: grid;
  gap: 14px;
  justify-items: center;
  text-align: center;
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  font-size: .78rem;
  line-height: 1.5;
}

.site-footer__nav a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.site-footer__copyright {
  margin: 0;
  font-size: .72rem;
  line-height: 1.5;
}

.fade-in {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 560ms ease, transform 560ms ease;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 360px) {
  .container { width: min(100% - 20px, var(--container)); }
  .cta { gap: 8px; padding-inline: 10px; font-size: .84rem; }
  .line-badge { width: 30px; height: 30px; }
  .hero__question { font-size: .84rem; letter-spacing: 0; }
  .hero__sub { font-size: .88rem; letter-spacing: 0; }
  .hero h1 { font-size: 1.72rem; }
}

@media (max-width: 767px) {
  .sp-break { display: block; }

  .final-cta__copy p {
    white-space: nowrap;
    letter-spacing: 0;
    font-size: min(1.05rem, calc((100vw - 28px) / 23));
  }
}

@media (max-width: 1023px) {
  .hero {
    min-height: auto;
    background: #fff;
  }

  .hero__image {
    display: none;
  }

  .hero::after {
    display: none;
  }

  .hero__inner {
    min-height: auto;
    grid-template-rows: auto auto auto auto auto;
  }

  .hero__inner .hero__copy {
    width: 100%;
  }

  .hero-benefits,
  .hero__cta {
    justify-self: center;
    width: min(100%, 560px);
  }

  .hero__product {
    display: block;
    width: 100vw;
    margin: 2px calc(50% - 50vw) 0;
  }

  .hero__product img {
    width: 100%;
    height: auto;
  }

}

@media (max-width: 360px) {
  .final-cta__copy p {
    font-size: min(1.05rem, calc((100vw - 20px) / 23));
  }
}

@media (min-width: 768px) {
  .container { width: min(100% - 56px, var(--container)); }
  .section { padding: 78px 0; }

  .hero::after {
    background: linear-gradient(90deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.78) 42%, rgba(255,255,255,.05) 74%);
  }

  .hero__inner {
    grid-template-rows: auto auto auto auto;
    align-content: center;
    gap: 26px;
    padding: 40px 0;
  }

  .brand { font-size: .64rem; }
  .hero__copy { margin-top: 0; }
  .hero-benefits { width: min(100%, 560px); gap: 18px; }
  .hero-benefits li { font-size: .86rem; }
  .hero__cta { width: min(100%, 560px); }
  .cta { min-height: 64px; padding-inline: 18px; }
  .micro-list { justify-content: space-between; font-size: .72rem; }

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

  .worry-card {
    display: grid;
    justify-items: center;
    min-height: 136px;
    padding: 18px 14px;
    text-align: center;
  }

  .worry-card .icon { width: 54px; height: 54px; }
  .worry-card p { font-size: .88rem; }
  .worry-card p br { display: block; }

  .learn-card {
    display: block;
    min-height: 174px;
    padding: 20px;
  }

  .learn-card span {
    display: block;
    margin-bottom: 14px;
    font-size: 2.35rem;
  }

  .learn-card p { font-size: .96rem; }

  .preview-section { padding-top: 0; }

  .carousel__viewport {
    grid-auto-columns: calc((100% - 16px) / 2);
    gap: 16px;
    padding-inline: 14px;
  }

  .carousel__button--prev { left: -18px; }
  .carousel__button--next { right: -18px; }

  .mid-cta {
    padding: 36px 0 56px;
  }

  .final-cta__inner {
    grid-template-columns: 1fr;
    align-items: center;
    text-align: center;
  }

  .final-cta .cta {
    width: min(100%, 520px);
    justify-self: center;
  }

  .final-cta__copy { text-align: center; }
  .final-cta__book { width: 140px; }
}

@media (min-width: 1024px) {
  .container { width: min(100% - 80px, var(--container)); }

  .desktop-break { display: block; }

  .hero__copy { width: 62%; }
  .hero h1 { font-size: clamp(4rem, 5vw, 5.1rem); }
  .hero-benefits { width: 42%; }
  .hero__cta { width: 43%; }

  .worry-grid,
  .learn-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .carousel__viewport {
    grid-auto-columns: calc((100% - 32px) / 3);
  }

  .sample-card h3 br {
    display: none;
  }

  .carousel__button--prev { left: -34px; }
  .carousel__button--next { right: -34px; }

  .author__layout {
    grid-template-columns: minmax(280px, .82fr) minmax(380px, 1fr);
    gap: 56px;
  }

  .final-cta__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 24px;
  }

  .final-cta .cta {
    justify-self: center;
  }

  .final-cta__copy { text-align: center; }
  .final-cta__book {
    grid-column: 2;
    grid-row: 1 / 3;
    justify-self: start;
  }

  .mid-cta__inner {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
    align-items: center;
    justify-items: stretch;
    padding: 24px 28px;
    text-align: left;
  }
}

@media (min-width: 1024px) and (max-width: 1365px) and (orientation: portrait) {
  .hero-benefits,
  .hero__cta {
    width: min(100%, 560px);
  }

  .mid-cta__inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
  .fade-in { opacity: 1; transform: none; }
}
