:root {
  --tone-cream: #fffae9;
  --tone-sand: #e6debe;
  --tone-white: #ffffff;
  --tone-ink: #111111;
  --tone-brown: #654321;
  --tone-line: #e9dcc2;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.inner {
  width: min(1100px, 90%);
  margin-inline: auto;
}

.pc {
  display: block;
}

.sp {
  display: none;
}

.bg-f {
  background: var(--tone-white);
}

.bg-1 {
  background: var(--tone-cream);
}

.bg-2 {
  background: var(--tone-sand);
}

.section {
  padding-top: 100px;
  padding-bottom: 50px;
}

.notice {
  list-style-type: "※ ";
  padding-left: 1.4em;
}

.notice li {
  line-height: 1.8;
}

/* ===============
   shared pill button
=============== */
.link-wrap {
  width: 290px;
  margin-inline: auto;
}

.cta-pill {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
  padding: 0 50px;
  border: 1px solid var(--tone-brown);
  border-radius: 999px;
  color: var(--tone-brown);
  font-weight: 500;
  transition: 0.25s ease;
}

.cta-pill:hover {
  background: var(--tone-brown);
  color: #fff;
}

.cta-pill__icon {
  position: absolute;
  top: 0;
  right: 20px;
  bottom: 0;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin: auto;
}

/* ===============
   hero
=============== */
.hero-visual {
  position: relative;
  overflow: hidden;
}

.hero-visual__frame {
  position: relative;
  min-height: 100svh;
  color: #fff;
  background: #111;
}

.hero-visual__slider {
  position: relative;
  z-index: 2;
  min-height: 100svh;
}

.hero-visual__track {
  position: relative;
  width: 100%;
  min-height: 100svh;
}

/* -----------------------------
  背景静止画
----------------------------- */
.hero-visual__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-visual__bg-item {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.08);
  transition:
    opacity 1.2s ease,
    visibility 1.2s ease,
    transform 6s ease;
  will-change: opacity, transform;
}

.hero-visual__bg-item.is-active {
  opacity: 1;
  visibility: visible;
}

.hero-visual__bg-item.is-active.is-animating {
  transform: scale(1);
}

/* -----------------------------
  オーバーレイ
----------------------------- */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.44) 0%, rgba(0, 0, 0, 0.28) 38%, rgba(0, 0, 0, 0.14) 100%),
    url(../img/top/mv_film.png);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  pointer-events: none;
}

/* -----------------------------
  テキストスライド
----------------------------- */
.hero-visual__copy {
  position: absolute;
  top: 55%;
  left: 8%;
  width: min(860px, 84vw);
  transform: translateY(-50%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.7s ease,
    transform 0.7s ease,
    visibility 0.7s ease;
}

.hero-visual__copy.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(-50%);
}

.hero-visual__eyebrow {
  margin: 0 0 16px;
  font-size: 13px;
  line-height: 1.4;
  letter-spacing: 0.18em;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
}

.hero-visual__title {
  margin: 0 0 20px;
  font-size: clamp(34px, 4.4vw, 64px);
  line-height: 1.22;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-align: left;
  text-shadow: 0 3px 16px rgba(0, 0, 0, 0.18);
}

.hero-visual__lead {
  max-width: 680px;
  margin: 0 0 22px;
  font-size: 15px;
  line-height: 2;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
}

/* -----------------------------
  強みチップ（白ベース版）
----------------------------- */
.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 32px;
}

.hero-feature {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 7px 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.88);
  color: #333;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
  box-shadow:
    0 6px 14px rgba(0, 0, 0, 0.06),
    0 2px 6px rgba(0, 0, 0, 0.04);
}

.hero-feature i,
.hero-feature svg {
  font-size: 12px;
  color: #333;
  opacity: 0.72;
  flex-shrink: 0;
}

.hero-feature--primary {
  background: #ffffff;
  border-color: rgba(255, 255, 255, 0.96);
  box-shadow:
    0 8px 18px rgba(0, 0, 0, 0.07),
    0 3px 8px rgba(0, 0, 0, 0.05);
}

/* -----------------------------
  CTA
----------------------------- */
.hero-visual__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 4px;
}

.btn-fv {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  min-height: 54px;
  padding: 0 28px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  transition:
    background 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.btn-fv--primary {
  background: #ffffff;
  color: #222;
  border: 1px solid #ffffff;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.btn-fv--primary:hover {
  background: #fff;
  color: #111;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
}

.btn-fv--secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.btn-fv--secondary:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.65);
  transform: translateY(-2px);
}

/* -----------------------------
  矢印
----------------------------- */
.hero-visual__controls {
  position: absolute;
  right: 40px;
  bottom: 44px;
  display: flex;
  gap: 12px;
  z-index: 3;
}

.hero-visual__arrow {
  position: relative;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    transform 0.3s ease;
}

.hero-visual__arrow:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-1px);
}

.hero-visual__arrow::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 11px;
  height: 11px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform-origin: center;
}

.hero-visual__arrow--next::before {
  transform: translate(-62%, -50%) rotate(45deg);
}

.hero-visual__arrow--prev::before {
  transform: translate(-38%, -50%) rotate(-135deg);
}

/* -----------------------------
  ドット
----------------------------- */
.hero-visual__dots {
  position: absolute;
  left: 8%;
  bottom: 52px;
  display: flex;
  gap: 10px;
  z-index: 3;
}

.hero-visual__dot {
  width: 11px;
  height: 11px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.42);
  cursor: pointer;
  transition:
    background 0.3s ease,
    transform 0.3s ease;
}

.hero-visual__dot.is-active {
  background: rgba(255, 255, 255, 1);
  transform: scale(1.08);
}

/* -----------------------------
  高さ調整
----------------------------- */
.hero-visual__frame,
.hero-visual__slider,
.hero-visual__track {
  min-height: calc(100svh - 0px);
}

/* -----------------------------
  旧動画背景は使わない
----------------------------- */
.hero-visual__bg-video {
  display: none;
}

/* -----------------------------
  レスポンシブ
----------------------------- */
@media screen and (max-width: 767px) {
  .hero-visual__frame,
  .hero-visual__slider,
  .hero-visual__track {
    min-height: 100svh;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.24) 0%, rgba(0, 0, 0, 0.38) 52%, rgba(0, 0, 0, 0.54) 100%);
  }

  .hero-visual__bg-item {
    background-position: center center;
  }

  .hero-visual__copy {
    left: 6%;
    width: 88%;
    top: 53%;
    transform: translateY(-50%);
  }

  .hero-visual__copy.is-active {
    transform: translateY(-50%);
  }

  .hero-visual__eyebrow {
    margin: 0 0 10px;
    font-size: 10px;
    line-height: 1.5;
    letter-spacing: 0.14em;
  }

  .hero-visual__title {
    margin: 0 0 14px;
    font-size: 28px;
    line-height: 1.45;
    letter-spacing: 0.01em;
    text-align: left;
    text-shadow: 0 3px 14px rgba(0, 0, 0, 0.2);
  }

  .hero-visual__lead {
    margin: 0 0 16px;
    font-size: 12px;
    line-height: 1.85;
    letter-spacing: 0.01em;
    max-width: 100%;
  }

  .hero-features {
    gap: 8px;
    margin: 0 0 22px;
  }

  .hero-feature {
    min-height: 32px;
    padding: 6px 10px;
    font-size: 10px;
    line-height: 1.45;
    border-radius: 18px;
    white-space: normal;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.84);
  }

  .hero-feature i,
  .hero-feature svg {
    font-size: 9px;
  }

  .hero-feature--primary {
    background: #ffffff;
    border-color: rgba(255, 255, 255, 0.94);
  }

  .hero-visual__cta {
    gap: 10px;
    margin-top: 0;
  }

  .btn-fv {
    min-width: calc(50% - 5px);
    min-height: 44px;
    padding: 0 14px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.02em;
  }

  .hero-visual__controls {
    right: 14px;
    bottom: 18px;
    gap: 8px;
  }

  .hero-visual__arrow {
    width: 38px;
    height: 38px;
  }

  .hero-visual__dots {
    left: 6%;
    bottom: 30px;
    gap: 8px;
  }

  .hero-visual__dot {
    width: 8px;
    height: 8px;
  }

  .hero-visual__frame,
  .hero-visual__slider,
  .hero-visual__track {
    min-height: calc(100svh - 88px);
  }
}
/* ===============
   features
=============== */
.feature-stack {
  padding-top: 63px;
  counter-reset: feature;
}

.feature-panel {
  position: relative;
  overflow: hidden;
  margin-bottom: 64px;
}

.feature-panel:last-child {
  margin-bottom: 0;
}

.feature-panel__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 40px;
  width: 85%;
  padding: 7vw 7vw 7vw 0;
  background: linear-gradient(180deg, #f2ebe2 0%, #ece4d9 100%);
  border-top-right-radius: 10vw;
  border-bottom-right-radius: 10vw;
  overflow: hidden;
  box-shadow:
    0 8px 20px rgba(0, 0, 0, 0.04),
    0 2px 6px rgba(0, 0, 0, 0.03);
}

.feature-panel--right .feature-panel__inner {
  margin-left: auto;
  padding: 7vw 0 7vw 8vw;
  flex-direction: row-reverse;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border-top-left-radius: 10vw;
  border-bottom-left-radius: 10vw;
}

/* 背景番号 */
.feature-panel__inner::after {
  counter-increment: feature;
  content: counter(feature, decimal-leading-zero);
  position: absolute;
  bottom: 2.6vw;
  font-size: clamp(7.2rem, 8.6vw, 10rem);
  font-family: "Italiana", serif;
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: 0.05em;
  color: rgba(255, 248, 238, 0.34);
  pointer-events: none;
  z-index: 1;
}

.feature-panel--left .feature-panel__inner::after {
  right: 6.2vw;
}

.feature-panel--right .feature-panel__inner::after {
  left: 6.2vw;
}

/* 数字の下に添える細ライン */
.feature-panel__inner::before {
  content: "";
  position: absolute;
  bottom: 2.3vw;
  width: clamp(54px, 7vw, 88px);
  height: 1px;
  background: rgba(255, 255, 255, 0.42);
  pointer-events: none;
  z-index: 1;
}

.feature-panel--left .feature-panel__inner::before {
  right: 6.4vw;
}

.feature-panel--right .feature-panel__inner::before {
  left: 6.4vw;
}

.feature-panel__media {
  position: relative;
  z-index: 2;
  flex: 0 0 min(52%, 576px);
}

/* ごく薄い画像オーバーレイ */
.feature-panel__media::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 24px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.08) 0%,
    rgba(255, 255, 255, 0.04) 48%,
    rgba(141, 119, 96, 0.05) 100%
  );
  pointer-events: none;
  z-index: 1;
}

.feature-panel__media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 24px;
  object-fit: cover;
}

.feature-panel__body {
  position: relative;
  z-index: 2;
  width: 450px;
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.7s ease 0.16s,
    transform 0.7s cubic-bezier(.22, 1, .36, 1) 0.16s;
}

/* テキストを少し遅らせる */
.feature-panel.is-visible .feature-panel__body {
  opacity: 1;
  transform: translateY(0);
}

/* タイトル上の小さな英字ラベル */
.feature-panel__title {
  position: relative;
  padding-top: 24px;
  padding-bottom: 40px;
  color: #3A3A3A;
  font-size: 2.8rem;
  line-height: 1.7;
  font-weight: 700;
}

.feature-panel__title::before {
  content: "FEATURE";
  position: absolute;
  top: 0;
  left: 0;
  font-family: "Jost", sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  line-height: 1;
  color: #8d7760;
  opacity: 0.95;
}

.feature-panel__text {
  padding-bottom: 3vw;
}

.feature-panel__text p {
  padding-bottom: 16px;
  font-weight: 500;
}

.feature-panel__media--sp {
  display: none;
}

/* =========================
   feature-panel slide in
========================= */
#reasons {
  overflow-x: clip;
}

@supports not (overflow: clip) {
  #reasons {
    overflow-x: hidden;
  }
}

.feature-panel {
  opacity: 0;
  transition:
    opacity 0.9s ease,
    transform 0.9s cubic-bezier(.22, 1, .36, 1);
  will-change: opacity, transform;
}

.feature-panel--left {
  transform: translate3d(-60px, 0, 0);
}

.feature-panel--right {
  transform: translate3d(60px, 0, 0);
}

.feature-panel.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* 少しだけ段差をつけたい場合 */
.feature-panel--01,
.feature-panel--02 {
  transition-delay: 0s;
}

.feature-panel--03,
.feature-panel--04 {
  transition-delay: 0.08s;
}

.feature-panel--05,
.feature-panel--06,
.feature-panel--07,
.feature-panel--08,
.feature-panel--09 {
  transition-delay: 0.12s;
}

/* スマホでは移動量を小さくする */
@media screen and (max-width: 767px) {
  .feature-panel--left {
    transform: translate3d(-24px, 0, 0);
  }

  .feature-panel--right {
    transform: translate3d(24px, 0, 0);
  }

  .feature-panel.is-visible {
    transform: translate3d(0, 0, 0);
  }

  .feature-panel__inner::after {
    bottom: 14px;
    font-size: clamp(5.8rem, 19vw, 8.2rem);
    letter-spacing: 0.04em;
    color: rgba(255, 248, 238, 0.30);
  }

  .feature-panel--left .feature-panel__inner::after {
    right: 16px;
  }

  .feature-panel--right .feature-panel__inner::after {
    left: 16px;
  }

  .feature-panel__inner::before {
    bottom: 14px;
    width: 58px;
    background: rgba(255, 255, 255, 0.36);
  }

  .feature-panel--left .feature-panel__inner::before {
    right: 16px;
  }

  .feature-panel--right .feature-panel__inner::before {
    left: 16px;
  }

  .feature-panel__media::after {
    border-radius: 24px;
  }

  .feature-panel__body {
    transition:
      opacity 0.65s ease 0.14s,
      transform 0.65s cubic-bezier(.22, 1, .36, 1) 0.14s;
  }

  .feature-panel__title {
    padding-top: 20px;
    padding-bottom: 28px;
  }

  .feature-panel__title::before {
    font-size: 1rem;
    letter-spacing: 0.16em;
  }

  .feature-panel--right .feature-panel__title::before {
  left: auto;
  right: 0;
}
}

/* 動きを減らしたい環境向け */
@media (prefers-reduced-motion: reduce) {
  .feature-panel,
  .feature-panel--left,
  .feature-panel--right {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .feature-panel__body {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
/* ===============
   included
=============== */
.included-block__title {
  padding-bottom: 64px;
  text-align: center;
  color: var(--tone-brown);
  font-weight: 700;
}

.included-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)); /* ←ここ重要 */
  gap: 16px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

/* カード */
.included-grid__item {
  aspect-ratio: 5 / 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
  padding: 20px 16px;
  border-radius: 15px;
  background: #fffaea;
  color: var(--tone-brown);
  text-align: center;
  font-weight: 700;
  box-sizing: border-box;
  min-height: 140px;
}

/* テキスト */
.included-grid__item div {
  width: 100%;
  text-align: center;
  line-height: 1.7;
  font-size: 0.9rem;
}

/* アイコン */
.included-grid__item img {
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  object-fit: contain;
}

/* 補足テキスト */
.included-block__note {
  padding-top: 28px;
  text-align: center;
  font-weight: 500;
  line-height: 1.9;
}

@media screen and (max-width: 1024px) {
  .included-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
  }

  .included-grid__item {
    padding: 18px 14px;
  }

  .included-grid__item img {
    width: 50px;
    height: 50px;
  }

  .included-grid__item div {
    font-size: 0.85rem;
  }
}

@media screen and (max-width: 767px) {
  .included-block__title {
    padding-bottom: 32px;
  }

  .included-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)); /* ←ここ */
    gap: 12px;
  }

  .included-grid__item {
    aspect-ratio: auto;
    min-height: 140px;
    padding: 18px 12px;
    gap: 10px;
    border-radius: 12px;
  }

  .included-grid__item img {
    width: 100px;
    height: 100px;
  }

  .included-grid__item div {
    font-size: 0.82rem;
    line-height: 1.55;
  }

  .included-block__note {
    padding-top: 20px;
    font-size: 0.9rem;
  }
}
/* ===============
   topics
=============== */
.topics-block {
  padding-bottom: 40px;
}

.topics-list {
  margin-top: 78px;
}

.topics-list__item {
  margin-bottom: 16px;
  padding: 32px 38px;
  border-radius: 20px;
  background: #fffaea;
}

.topics-list__item:last-child {
  margin-bottom: 0;
}

.topics-list__item a {
  display: flex;
  align-items: center;
}

.topics-list__label {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 126px;
  height: 36px;
  border-radius: 22px;
  background: var(--tone-sand);
  color: var(--tone-brown);
  text-align: center;
}

.topics-list__content {
  padding-left: 56px;
}

.topics-list__date {
  display: block;
  padding-bottom: 8px;
}

.topics-list__title {
  font-weight: 500;
  text-decoration: underline;
}

/* ===============
   responsive
=============== */
@media screen and (max-width: 820px) {
  .pc {
    display: none !important;
  }

  .sp {
    display: block;
  }

  .hero-visual__frame picture img {
    aspect-ratio: 3 / 4.2;
  }

  .hero-visual__copy {
    left: 5%;
    right: 5%;
    max-width: none;
  }

  .hero-visual__eyebrow {
    font-size: 0.8rem;
  }

  .hero-visual__title {
    /* font-size: 2.5rem; */
    text-align: left;
  }

  .hero-visual__lead {
    font-size: 0.8rem;
  }

  .feature-stack {
    padding-top: 36px;
  }

  .feature-panel {
    margin-bottom: 40px;
  }

  .feature-panel__inner {
    display: block;
    width: 95%;
    padding: 10vw 5vw 12vw;
    border-top-right-radius: 26vw;
  }

  .feature-panel--right .feature-panel__inner {
    border-top-left-radius: 26vw;
    padding: 10vw 5vw 12vw;
    border-top-right-radius: 0;
  }

  .feature-panel--right .feature-panel__title {
    /* padding-left: 10vw; */
    text-align: right;
  }

  .feature-panel__media.pc {
    display: none !important;
  }

  .feature-panel__body {
    width: auto;
  }

  .feature-panel__media--sp {
    display: block;
    padding: 28px 0 20px;
  }

  .feature-panel__title {
    padding-bottom: 0;
    font-size: 1.5rem;
  }

  .feature-panel__text {
    padding-bottom: 0;
  }

  .feature-panel__inner::after {
    bottom: 16px;
    font-size: 6.6rem;
  }

  .included-block__title {
    padding-bottom: 36px;
    font-size: 1.8rem;
  }

  .included-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin: 0 auto;
  }

  .included-grid__item {
    aspect-ratio: 1 / 1;
    width: 100%;
    min-height: 88px;
    font-size: 1.2rem;
  }

  .topics-list {
    margin-top: 40px;
  }

  .topics-list__item {
    padding: 20px 18px;
    border-radius: 14px;
  }

  .topics-list__item a {
    display: block;
  }

  .topics-list__content {
    padding-top: 12px;
    padding-left: 20px;
  }

  .topics-list__label {
    width: 100px;
  }

  .cta-pill {
    min-height: 52px;
    /* font-size: 1.3rem; */
  }
}

.section-subtext{
  margin: 0 auto;
  padding: 1.46vw 2.66vw 1.46vw;
  width: 100%;
  max-width: 1200px;
}

#flow article .explain,
#flow .article-content .explain {
  background: #fffdf7;
}









.case-tabs-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  max-width: 520px;
  margin: 0 auto 28px;
  padding: 6px;
  background: #f3f0ec;
  border: 1px solid #e4ddd6;
  border-radius: 16px;
}

.case-tabs-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: #7a7067;
  min-height: 46px;
  padding: 0 14px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.03em;
  line-height: 1.4;
  text-align: center;
  cursor: pointer;
  transition: background-color .25s ease, color .25s ease, box-shadow .25s ease;
}

.case-tabs-btn:hover {
  color: #5f554d;
}

.case-tabs-btn.is-active {
  background: #fff;
  color: #4e4339;
  box-shadow: 0 4px 12px rgba(60, 40, 20, 0.08);
}

@media screen and (max-width: 767px) {
  .case-tabs-nav {
    max-width: 100%;
    margin-bottom: 22px;
  }

  .case-tabs-btn {
    min-height: 42px;
    padding: 0 10px;
    font-size: 12px;
    letter-spacing: 0.01em;
  }
}

.case-tabs-footer {
  text-align: center;
  margin-top: 28px;
}

.case-tabs-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  padding: 14px 24px;
  border: 1px solid #d3b19a;
  background: #fff;
  color: #8f6f58;
  text-decoration: none;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}

.case-tabs-more:hover {
  background: #d3b19a;
  color: #fff;
}



/* ===============
   調整
=============== */
#top-qa .box {
    margin-bottom: 30px;
}








/* ------------------------------------------------------------------------------------
 CTA section
------------------------------------------------------------------------------------ */

@media all {

  .ani_over{
    -webkit-transition: all 0.35s ease;
    -moz-transition: all 0.35s ease;
    -o-transition: all 0.35s ease;
    transition: all 0.35s ease;
  }

  .font_min{
    font-family: 'Noto Serif JP', serif;
  }

  .effect-active{
    visibility: visible;
  }

  .effect-target{
    opacity: 0;
  }

  .effect-top{
    opacity: 0;
  }

  .effect-active{
    animation: effect-fadeIn 300ms ease-out both;
  }

  .effect-active .effect-slide{
    animation: effect-slideIn 640ms ease-in-out both;
  }

  @media screen and (max-width: 960px){
    .effect-active .effect-slide{
      animation: effect-slideIn 640ms ease-out both;
    }
  }
}

@media all {

  /* ----------------------------------------
   CTAセクション
  ---------------------------------------- */
  .cta-section{
    background: #FBF8F0;
    padding: 72px 0 84px;
  }

  .cta-section--final{
    background: #F7F3EA;
    padding: 82px 0 94px;
  }

  .cta-box{
    text-align: center;
  }

  /* ----------------------------------------
   リード文
  ---------------------------------------- */
  .cta-box__lead{
    max-width: 860px;
    margin: 0 auto 18px;
    color: #3f352d;
    font-size: 18px;
    line-height: 2;
    letter-spacing: .08em;
    font-weight: 500;
  }

  /* ----------------------------------------
   ボタン並び
  ---------------------------------------- */
  .cta-box__buttons{
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 20px;
    flex-wrap: wrap;
  }

  /* ----------------------------------------
   ボタン共通
  ---------------------------------------- */
  .cta-btn{
    width: 430px;
    min-height: 88px;
    padding: 0 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-radius: 0;
    box-sizing: border-box;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.8;
    letter-spacing: .06em;
    border: 1px solid transparent;
  }

  .cta-btn__label{
    display: block;
    text-align: center;
  }

  /* 矢印を右端固定 */
  .cta-btn__arrow{
    position: absolute;
    right: 20px;
    font-size: 18px;
    line-height: 1;
    transform: translateX(0);
    transition: transform 0.35s ease;
  }

  .cta-btn:hover .cta-btn__arrow{
    transform: translateX(4px);
  }

  /* ----------------------------------------
   主CTA
  ---------------------------------------- */
  .cta-btn--primary{
    background: #d66f66;
    border-color: #d66f66;
    color: #fff !important;
    box-shadow: 0 6px 14px rgba(217, 75, 61, 0.25);
  }

  .cta-btn--primary:hover{
    background: #c96058;
    border-color: #c96058;
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.08);
  }

  /* ----------------------------------------
   サブCTA（弱くする）
  ---------------------------------------- */
  .cta-btn--secondary{
    background: #fff;
    border-color: #ece5db;
    color: #a49586 !important;
  }

  .cta-btn--secondary:hover{
    background: #fcfaf7;
    border-color: #e0d6c9;
    color: #b56b63 !important;
    transform: translateY(-2px);
  }

  /* ====================================================================================
   SP
  ==================================================================================== */
  @media screen and (max-width: 960px){

    .cta-section{
      padding: calc(100vw / (768 / 60)) 0 calc(100vw / (768 / 80));
    }

    .cta-section--final{
      padding: calc(100vw / (768 / 70)) 0 calc(100vw / (768 / 90));
    }

    .cta-box__lead{
      width: calc(100vw / (768 / 680));
      margin: 0 auto calc(100vw / (768 / 24));
      font-size: calc(100vw / (768 / 28));
      line-height: 2;
      letter-spacing: .06em;
    }

    .cta-box__buttons{
      width: calc(100vw / (768 / 680));
      margin: 0 auto;
      flex-direction: column;
      gap: 12px;
    }

    .cta-btn {
      width: 100%;
      padding: clamp(14px, calc(100vw / (768 / 30)), 22px)
               clamp(16px, calc(100vw / (768 / 28)), 24px);
      font-size: clamp(14px, calc(100vw / (768 / 24)), 16px);
    }

    .cta-btn__arrow{
      right: calc(100vw / (768 / 24));
      font-size: calc(100vw / (768 / 28));
    }
  }
}

.cta-section{
  margin: 60px 0;
}

.cta-section--after-price{
  margin: 50px 0;
}

.cta-section--final{
  margin: 80px 0 0;
}





/* ------------------------------------------------------------------------------------
 PHILOSOPHY
------------------------------------------------------------------------------------ */

.top-philosophy {
  position: relative;
  padding-top: 92px;
  padding-bottom: 96px;
  background: #f4f0ea;
  overflow: hidden;
}

.top-philosophy__inner {
  position: relative;
}

.top-philosophy__logo {
  position: absolute;
  right: 4%;
  bottom: 167px;
  width: min(30vw, 380px);
  opacity: 0.05;
  pointer-events: none;
  z-index: 0;
}

.top-philosophy__logo img {
  display: block;
  width: 100%;
  height: auto;
}

.top-philosophy__subtext {
  max-width: 760px;
  margin: 16px auto 0;
}



.top-philosophy__cta {
  margin-top: 40px;
}

.top-philosophy__cta .cta-box__lead {
  margin-bottom: 20px;
}

/* CTAボタン：PCは横並び */
.top-philosophy__cta .cta-box__buttons {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 14px;
  flex-wrap: nowrap;
}

.top-philosophy__cta .cta-btn {
  min-width: 260px;
}

@media screen and (max-width: 767px) {
  .top-philosophy {
    padding-top: 60px;
    padding-bottom: 64px;
  }

  .top-philosophy__logo {
    right: -8%;
    bottom: 24px;
    width: 56vw;
    opacity: 0.07;
  }

  .top-philosophy__subtext {
    margin-top: 14px;
  }


  .top-philosophy__cta {
    margin-top: 28px;
  }

  /* CTAボタン：スマホは縦並び */
  .top-philosophy__cta .cta-box__buttons {
    flex-direction: column;
    gap: 10px;
  }

  .top-philosophy__cta .cta-btn {
    width: 100%;
    min-width: 0;
  }
}

/* ------------------------------------------------------------------------------------
 PHILOSOPHY heading
------------------------------------------------------------------------------------ */

.top-philosophy__heading {
  position: relative;
  z-index: 2;
}

/* 既存の data-eng 装飾をそのまま活かす */
.top-philosophy__heading[data-eng]::after {
  opacity: 0.23;
  display: block;
  text-align: center;
  content: attr(data-eng);
  margin-left: calc(0px - 2.66vw);
  margin-right: calc(0px - 2.66vw);
  width: calc(100% + 5.33vw);
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  right: 0;
  font-size: 6rem;
  font-family: 'Jost';
  font-weight: 300;
  line-height: 1;
  background: linear-gradient(to right, #91836D 25%, #BCDEF3 75%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  white-space: nowrap;
  overflow: hidden;
  will-change: opacity, letter-spacing;
  pointer-events: none;
}

/* スマホだけ英字を短縮 */
@media screen and (max-width: 767px) {
  .top-philosophy__heading[data-eng-sp]::after {
    content: attr(data-eng-sp);
  }
}


section h2[data-eng]::after {
  content: attr(data-eng);
}

@media screen and (max-width: 767px) {
  h2[data-eng-sp]::after {
    content: attr(data-eng-sp)!important;
  }
}


/* =========================================
   スクロール誘導（最終完成版）
========================================= */

.hero-scroll-guide {
  position: absolute;
  left: 50%;
  bottom: 36px;
  transform: translateX(-50%);
  z-index: 4;
  pointer-events: none;

  /* フェードイン */
  opacity: 0;
  animation: scrollFadeIn 1.2s ease 1.2s forwards;
}

.hero-scroll-guide__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
  pointer-events: auto;
}

/* 縦SCROLL */
.hero-scroll-guide__text {
  font-size: 10px;
  letter-spacing: 0.18em;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  opacity: 0.6;
  font-family: 'Jost', sans-serif;
}

/* 縦ライン */
.hero-scroll-guide__line {
  width: 1px;
  height: 44px;
  background: rgba(255,255,255,0.35);
  position: relative;
  overflow: hidden;
}

/* ラインアニメーション */
.hero-scroll-guide__line::after {
  content: "";
  position: absolute;
  top: -40%;
  left: 0;
  width: 100%;
  height: 40%;
  background: rgba(255,255,255,0.9);
  animation: scrollLine 2.4s ease-in-out infinite;
}

/* 矢印 */
.hero-scroll-guide__arrow {
  width: 10px;
  height: 10px;
  border-right: 1px solid rgba(255,255,255,0.85);
  border-bottom: 1px solid rgba(255,255,255,0.85);
  transform: rotate(45deg);
}

/* フェードイン */
@keyframes scrollFadeIn {
  to {
    opacity: 1;
  }
}

/* ライン流れ */
@keyframes scrollLine {
  0% {
    top: -45%;
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  100% {
    top: 110%;
    opacity: 0;
  }
}

/* SP調整 */
@media screen and (max-width: 767px) {
  .hero-scroll-guide {
    bottom: 52px;
  }

  .hero-scroll-guide__text {
    font-size: 9px;
  }

  .hero-scroll-guide__line {
    height: 32px;
  }

  .hero-scroll-guide__arrow {
    width: 9px;
    height: 9px;
  }
}













.topics-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.topics-list__item {
  list-style: none;
}

/* 重要項目もベースは通常カードと近い色味にする */
.topics-list__item--important {
  background: #fffaea;
}

/* 「重要」ラベルだけゴールド系で差別化 */
.topics-list__label--important {
  background: linear-gradient(180deg, #c9ab5b 0%, #b8923f 100%);
  color: #fff;
}

/* タイトルだけ少し強める */
.topics-list__item--important .topics-list__title {
  /* font-weight: 700; */
}

/* 黒丸対策 */
.topics-list,
.topics-list__item {
  list-style: none;
}

/* 既存CSSで足りない場合のみ */
.topics-list__item > a {
  display: flex;
  align-items: center;
  width: 100%;
  text-decoration: none;
}

.topics-list__content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
