/* =========================
   AmouRis LP  / amouris.css
   ========================= */

/* Tokens */
:root {
  --ink: #2b2b2b;
  --muted: #7a7774;
  --paper: #f7f3ef;
  --panel: #eef4ff;
  --brand-red: #C13436;
  --brand-green: #1eb36a;
  --beige: #f1ece4;
  --line: #e6e0d9;
  --shadow: 0 12px 28px rgba(20, 16, 12, .08);
  --radius: 16px;
  --container: 980px;
}

* {
  box-sizing: border-box
}

html,
body {
  margin: 0
}

body {
  max-width: 420px;
  margin: 0 auto;
  background: var(--paper);
}

.wrapper {
  background: #fff;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.9;
  letter-spacing: .02em;
}

@media (min-width: 768px) {
  .wrapper {
    transform: scale(1.8);
    transform-origin: top center;
  }
}

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

.container {
  width: min(100%, calc(var(--container) + 40px));
  margin-inline: auto;
  padding: 40px 16px 0;
}

.sp {
  display: none
}

/* -------------------------------------------------- トップバー -------------------------------------------------- */

.topbar {
  background: var(--brand-red);
  color: #fff;
  font-size: 12px;
  margin: 0 auto;
}

.topbar__in {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  font-weight: 700;
}

/* -------------------------------------------------- ハンバーガー -------------------------------------------------- */

.nav-toggle {
  position: fixed;
  opacity: 0;
  pointer-events: none;
}

.hamburger {
  position: fixed;
  right: 12px;
  top: 10px;
  z-index: 10010;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: #C13436;
  box-shadow: 0 8px 16px rgba(0, 0, 0, .15);
  cursor: pointer;
}

.hamburger span,
.hamburger::before,
.hamburger::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease;
}

.hamburger span {
  top: 18px;
}

.hamburger::before {
  top: 12px;
}

.hamburger::after {
  top: 24px;
}

/* 開いた時の「×」アニメ */
#nav-toggle:checked~.hamburger span {
  transform: scaleX(0);
}

#nav-toggle:checked~.hamburger::before {
  transform: translateY(6px) rotate(45deg);
}

#nav-toggle:checked~.hamburger::after {
  transform: translateY(-6px) rotate(-45deg);
}

/* ドロワー本体 */
.nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 10000;
  width: 280px;
  max-width: 86vw;
  height: 100dvh;
  padding: 72px 20px 24px;
  background: #fff;
  box-shadow: -8px 0 24px rgba(0, 0, 0, .15);
  transform: translateX(100%);
  transition: transform .45s cubic-bezier(.38, .52, .23, .99);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

.nav-drawer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-drawer li+li {
  border-top: 1px solid #eee;
}

.nav-drawer a {
  display: block;
  padding: 16px 6px;
  color: #333;
  text-decoration: none;
  font-weight: 600;
}

.nav-drawer a:hover {
  opacity: .75;
}

#nav-toggle:checked~.nav-drawer {
  transform: translateX(0);
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9990;
  background: rgba(0, 0, 0, .25);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}

#nav-toggle:checked~.nav-backdrop {
  opacity: 1;
  pointer-events: auto;
}

/* -------------------------------------------------- ヒーローエリア -------------------------------------------------- */

.hero__main {
  margin-bottom: 16px;
}

.hero__box {
  padding: 0 16px;
  text-align: center;
  position: relative;
  inline-size: min(720px, 100%);
  margin-inline: auto;
}

.hero__box>img {
  display: block;
  width: 100%;
  height: auto;
}

.cta-bg {
  display: block;
  width: 100%;
  height: auto;
}

.hero__box>.cta-btn {
  position: absolute;
  left: 0;
  bottom: 8%;
  display: block;
  right: 0;
  margin: auto;
  width: 80%;
}

.hero__box>.cta-btn img {
  width: auto;
  max-width: 100%;
  height: auto;
  display: block;
}

/* -------------------------------------------------- h2 -------------------------------------------------- */

.h2-img {
  display: block;
  width: 67%;
  margin: 0 auto 40px;
}

/* -------------------------------------------------- CTA（カード共通） -------------------------------------------------- */

.cta-text {
  position: relative;
  display: inline-block;
  font-size: 16px;
  font-weight: 500;
  color: #333;
  margin-bottom: 0;
}

.cta-text span {
  color: #C13436;
  font-weight: 700;
}

.cta-text::before,
.cta-text::after {
  position: absolute;
  top: 0;
  font-size: 0.9em;
  color: #333;
}

.cta-text::before {
  content: "＼";
  left: -1.6em;
}

.cta-text::after {
  content: "／";
  right: -1.6em;
}

.cta-box>.cta-btn>img {
  max-width: 90%;
  margin: 0 auto;
}

/* -------------------------------------------------- About / Video -------------------------------------------------- */

.video {
  position: relative;
  width: 100%;
  aspect-ratio: 160/92;
  overflow: hidden;
  box-shadow: var(--shadow);
}

/* ここを追加／修正：iframe と video 両方に当てる */
.video iframe,
.video .video__player {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
  /* 画面いっぱいに見せたい：上下ちょい切れてもOKなら cover */
  /* 全体を見せたいなら ↑ を object-fit: contain; に変更 */
}

/* Panel */
.panel {
  background: #fff;
  padding: 18px;
  margin-top: 24px;
  margin: 0 -16px;
  text-align: center;
}

.panel--blue {
  background: var(--panel)
}

.panel__ttl {
  margin: 0 0 8px;
  font-size: 20px;
  padding: 12px 0 5px;
}

.panel__note {
  line-height: 1.5;
  text-align: center
}

.panel__note.panel__note1 {
  margin-bottom: 65px;
}

.panel__note.panel__note2 {
  margin: 42px 0;
}

/* Ochikomi */
.ochikomi {
  margin: 16px 0
}

.ochikomi img {
  display: block;
  width: 100%;
  height: auto
}

/* -------------------------------------------------- Reasons (3つの理由) -------------------------------------------------- */

.reasons {
  background-color: #FFF5F8;
  padding-bottom: 40px;
}

.reason-card-box {
  display: grid;
  gap: 16px;
  margin-bottom: 20px;
}

.reason-card {
  box-shadow: var(--shadow);
}

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

/* -------------------------------------------------- 成功ストーリー -------------------------------------------------- */

.seikou-story {
  background: #fff;
}

.seikou-story .sec-ttl {
  font-size: 20px;
  text-align: center;
  margin: 0;
}

.seikou-story .h2-line {
  max-width: 180px;
  width: 60%;
  margin: 6px auto 24px;
}

/* メインカード */

.story-main {
  background: #fff;
  border-radius: 10px;
  padding: 18px 16px 20px;
  margin-bottom: 20px;
}

.story-main-img {
  border-radius: 10px 10px 0 0;
  max-width: calc(100% + 32px);
  height: auto;
  display: block;
  margin: -18px -16px 16px -16px;
}

.story-main-lead {
  text-align: center;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.5;
  margin: 24px 0;
}

.story-main-text {
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

.story-main-who {
  font-size: 13px;
  color: var(--muted);
  margin: 10px 0 0;
}

.story-main-body {
  position: relative;
}

/* 閉じているとき */
.story-main-body.is-collapsed .story-main-text-wrap {
  max-height: 9em; /* ざっくり3〜4行 */
  overflow: hidden;
  transition: max-height .35s ease;
}

/* 下にグラデーションでフェードアウト */
.story-main-body.is-collapsed .story-main-text-wrap::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 46px;
  height: 3em;
  background: linear-gradient(to bottom,
      rgba(255, 255, 255, 0) 0%,
      #ffffff 100%);
  pointer-events: none;
}

/* テキスト全体を包むところ */
.story-main-text-wrap {
  position: relative;
  max-height: 9em;          /* JS 側の COLLAPSED と合わせる */
  overflow: hidden;
  transition: max-height 0.4s ease;
}

/* 下をふわっと消すグラデーション */
.story-main-text-wrap::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4em;
  background: linear-gradient(
    to bottom,
    rgba(255, 252, 247, 0),
    #ffffff
  );
  pointer-events: none;
  transition: opacity 0.3s ease;
}

/* 開いているときはグラデ消す */
.js-story-card.is-open .story-main-text-wrap::after {
  opacity: 0;
}

/* ボタン */
.story-toggle {
  display: block;
  margin: 12px auto 0;
  border: none;
  background: none;
  color: var(--brand-red);
  font-size: 16px;
  cursor: pointer;
}

/* サブの声カード */

.voices {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 16px;
  margin-bottom: 20px;
}

.voice {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 12px;
  background: #fff;
  border-radius: 10px;
  padding: 16px 12px;
}

.voice img {
  width: calc(100% + 24px);
  height: calc(100% + 32px);
  border-radius: 10px 0 0 10px;
  object-fit: cover;
  margin: -16px -12px;
}

.voice-body p {
  margin: 0 0 4px;
  font-size: 14px;
  line-height: 1.5;
}

.voice-body .who {
  text-align: right;
  color: var(--muted);
  font-size: 12px;
  margin: 4px 0 0;
}

/* 強調テキスト（赤） */

.accent {
  color: var(--brand-red);
  font-weight: 700;
}

/* 下のCTA */

.story-cta {
  text-align: center;
  margin-top: 24px;
}

.story-cta .cta-text {
  margin-bottom: 12px;
}

/* -------------------------------------------------- 他己紹介 -------------------------------------------------- */

/* 他己紹介セクション全体：ピンク背景の上にそのまま載せる */
.founders {
  background: #FFF5F8;
}

/* 見出し画像 */
.founders .h2-img {
  width: 283px;
}

/* 各ブロック（ボックスではなくシンプルに縦配置） */
.intro {
  padding: 0 0 32px;
  background: transparent;
  border: none;
  box-shadow: none;
}

/* 「けーちん の紹介」 */
.intro-heading {
  margin: 0 0 10px;
  text-align: center;
  font-size: 20px;
  font-weight: 700;
}

.intro-name {
  color: var(--brand-red);
  font-size: 24px;
}

/* 写真 1枚をどんと中央に */
.intro-main-img {
  margin: 0 auto 14px;
}

/* テキスト全体をまとめるコンテナ */
.intro-body {
  position: relative;
  max-width: 360px;
  margin: 0 auto;
  font-size: 14px;
  line-height: 1.8;

  /* ▼ 閉じているときはここで「途中まで」だけ見せる */
  max-height: 6.5em;
  /* だいたい4行分くらい。お好みで調整可 */
  overflow: hidden;
  transition: max-height .35s ease;
}

/* 1段目のテキスト */
.intro-text {
  margin: 0 0 4px;
  font-size: 16px;
  line-height: 1.5;
}

/* 続きの段落もそのまま中に置いてOK */
.intro-more {
  margin: 4px 0 0;
  font-size: 16px;
  line-height: 1.5;
}

/* 下端のふわっと消えるグラデーション */
.intro-body::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3em;
  pointer-events: none;
  background: linear-gradient(to bottom,
      rgba(255, 245, 248, 0) 0%,
      #FFF5F8 100%);
  /* セクション背景(#FFF5F8)にフェード */
  opacity: 1;
  transition: opacity .25s ease;
}

/* 開いたとき：高さ制限解除＆グラデーション消す */
.intro.is-open .intro-body {
  max-height: 1000px;
  /* 十分大きな値にしておけばOK */
}

.intro.is-open .intro-body::after {
  opacity: 0;
}

/* 「続きを読む」ボタンは今のままでOK（参考） */
.intro-toggle {
  display: block;
  margin: 8px auto 0;
  border: none;
  background: none;
  color: var(--brand-red);
  font-size: 16px;
  cursor: pointer;
}

/* -------------------------------------------------- AmouRisが生まれた理由 -------------------------------------------------- */

/* AmouRisが生まれた理由 */
.born {
  padding: 0 0 40px;
  background: #FFF5F8;
}

.born .h2-img {
  width: 268px;
}

/* 白いカード部分 */
.born-card {
  background: #fff;
  border-radius: 10px;
  padding: 18px 16px 20px;
  box-shadow: var(--shadow);
  text-align: left;
}

/* 写真 */
.born-photo {
  margin: 0 0 16px;
}

.born-photo img {
  max-width: calc(100% + 32px);
  border-radius: 10px 10px 0 0;
  margin: -18px -16px 0;
}

/* テキスト全体（ここで“途中まで＋グラ”を表現） */
.born-body {
  position: relative;
  max-width: 360px;
  margin: 0 auto;
  font-size: 14px;
  line-height: 1.8;

  max-height: 7.2em;
  /* だいたい4行ぶん。好みで調整してOK */
  overflow: hidden;
  transition: max-height .35s ease;
}

.born-text {
  margin: 0 0 4px;
}

.born-more {
  margin: 4px 0 0;
}

/* 下端のふわっと消えるグラデーション */
.born-body::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3em;
  pointer-events: none;
  background: linear-gradient(to bottom,
      rgba(255, 255, 255, 0) 0%,
      #ffffff 100%);
  opacity: 1;
  transition: opacity .25s ease;
}

/* 開いたとき：高さ制限解除＋グラ非表示 */
.born-card.is-open .born-body {
  max-height: 1000px;
}

.born-card.is-open .born-body::after {
  opacity: 0;
}

/* 続きを読むボタン（他己紹介と揃える） */
.born-toggle {
  display: block;
  margin: 10px auto 0;
  border: none;
  background: none;
  color: var(--brand-red);
  font-size: 14px;
  cursor: pointer;
}

/* プラン・料金 */
.plan {
	margin-bottom: 40px;
}
.price-card-box {
	margin-bottom: 40px;	
}
.price-card {
	margin-bottom: 16px;	
}
.plan-card {
	margin-bottom: 16px;		
}

/* FAQ */
.faq {
	background: #FFF5F8;
}

.faq .container {
  padding-top: 32px;
  padding-bottom: 48px;
}

/* 1カード全体 */
.faq__item {
  background: #FFFFFF;
  border-radius: 8px;
  padding: 14px 16px;
  margin: 16px 0;
}

/* 質問行（Q ＋ 質問文 ＋ + ） */
.faq__item summary {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 18px;
  font-weight: 700;
  font-size: 16px;
  list-style: none;
}

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

.faq__item .q {
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--brand-red);
  color: #fff;
  font-size: 16px;
  line-height: 1;
  letter-spacing: 0;
}

.faq__item summary::after {
  content: "＋";
  margin-left: auto;
  font-size: 22px;
  line-height: 1;
  color: #555;
  font-weight: normal;
}

.faq__item[data-open="true"] summary::after {
  content: "－";
}

/* ▼▼▼ 高さアニメ専用の BOX（痩せる＆滑らかの決定版） ▼▼▼ */
.ans {
  overflow: hidden;
  height: 0;
  opacity: 0;
  transition: height .35s ease, opacity .25s ease;
}

/* ▼▼▼ パディングとA丸は中身側へ移動（太り防止） ▼▼▼ */
.ans__inner {
  margin-top: 10px;
  padding-top: 10px;
  padding-left: 50px;
  padding-bottom: 10px;
  border-top: 1px solid #f0e3d8;

  font-size: 14px;
  line-height: 1.6;
  color: #4d4a48;

  position: relative;
}

/* A 丸（位置もデザインも維持） */
.ans__inner::before {
  content: "A";
  position: absolute;
  left: 0;
  top: 10px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--brand-red);
  display: grid;
  place-items: center;
  color: var(--brand-red);
  background: #fff;
  font-size: 16px;
  font-weight: bold;
  line-height: 1;
}

.ans__inner li::marker {
	font-weight: 700;
	color: var(--brand-red);
}

.ans__inner > span {
	font-weight: 700;
	color: var(--brand-red);
}

.ans__inner li > span {
	font-weight: 700;
	color: var(--brand-red);
}


/* -------------------------
   CTA（ページ最下部）
   ------------------------- */
.cta {
  padding: 32px 0 40px;
  /* 上下の余白だけここで管理 */
}

/* 下 CTA 専用のレイアウト：.cta の直下だけに効く */
.cta>.cta-box {
  position: relative;
  padding: 0 16px;
  text-align: center;
  inline-size: min(720px, 100%);
  margin-inline: auto;
  /* 中央寄せ */
}

/* 背景カード画像（ver2） */
.cta>.cta-box>.cta-bg {
  display: block;
  width: 100%;
  height: auto;
}

/* ボタンをカード下部中央に重ねる */
.cta>.cta-box>.cta-btn {
  position: absolute;
  left: 0;
  bottom: 8%;
  display: block;
  right: 0;
  margin: auto;
  width: 70%;
}

/* ボタン画像のサイズ（途中の .cta-box>.cta-btn>img を上書き） */
.cta>.cta-box>.cta-btn>img {
  display: block;
  width: 100%;
  max-width: 130%;
  /* 枠より少し大きめに見せたいとき。100〜135%で調整可 */
  height: auto;
}

/* -------------------------
   Footer
------------------------- */
.footer {
  background: #E9DED7;
  /* ベージュはそのままイメージ寄せ */
  padding: 20px 0 36px;
  /* 下の余白を少し締める */
  text-align: center;
}

.footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ロゴ：少し大きく、下との距離も短く */
.footer .logo-img {
  width: 320px;
  /* 180 → 210 くらいに拡大 */
  height: auto;
  margin-bottom: 20px;
  /* 32 → 20：SNSとの距離を詰める */
}

/* SNS アイコン：ちょい小さめ＋間隔も少しだけ狭く */
.sns {
  display: flex;
  gap: 24px;
  /* 32 → 24 */
  justify-content: center;
  margin-bottom: 16px;
  /* 下のリンクとの距離も詰める */
}

.sns img {
  width: 56px;
  /* 68 → 56 くらいに縮小 */
  height: auto;
}

/* 下のリンク（プライバシー・規約・特商法） */
.footer-links {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-bottom: 10px;
  font-size: 10px;
  /* ちょい小さめでロゴより控えめに */
  color: #4d4a48;
}

.footer-links a {
  color: #4d4a48;
  text-decoration: none;
}

/* コピーライト */
.copy {
  color: #4d4a48;
  font-size: 12px;
  margin-top: 2px;
}

/* --------------------------------------------------
   Utility & common components 追加分
   -------------------------------------------------- */

.about .video {
  margin-bottom: 60px;
}

.about .panel {
  margin-top: 24px;
}

/* セクション見出し（テキスト） */
.sec-ttl {
  margin: 0;
  font-size: 20px;
  text-align: center;
  font-weight: 700;
}

.h2-line {
  display: block;
  max-width: 180px;
  width: 60%;
  margin: 6px auto 24px;
}

/* 成功ストーリー背景 */
.seikou-story {
  background: linear-gradient(to bottom,
      #ffffff 0%,
      #ffffff 15%,
      /* ここまでは白 */
      #FCF0F0 55%,
      /* ここらへんからしっかりピンク */
      #FCF0F0 100%);
  padding-bottom: 60px;
}

/* ロードマップ */
.loadmap {
  padding-bottom: 60px;
}
.loadmap h3 {
  margin: 0 0 12px;
  text-align: center;
  font-size: 20px;
}

.loadmap__note {
  line-height: 1.5;
  text-align: center;
}

.loadmap__note span {
  color: var(--brand-red);
  font-weight: 700;
}

.loadmap .h2-img {
  margin-top: 24px;
}

.remarks {
  font-size: 13px;
  margin: 16px 0 24px;
  line-height: 1.6;
}

.remarks span {
  color: var(--brand-red);
  font-weight: 700;
}

/* ボタン共通 */
.center {
  text-align: center;
}

.mt-16 {
  margin-top: 16px;
}

.btn {
  display: inline-block;
  padding: 10px 32px;
  border-radius: 999px;
  text-align: center;
  text-decoration: none;
  font-weight: 700;
  line-height: 1.5;
}

.btn small {
  display: block;
  font-size: 12px;
}

.btn--primary {
  background: var(--brand-green);
  color: #fff;
  box-shadow: var(--shadow);
}

.btn--primary:hover {
  opacity: .9;
}

/* CTA ブロック */
.cta {
  padding: 40px 0;
}

.cta .container {
  background: var(--beige);
  border-radius: 16px;
  box-shadow: var(--shadow);
  text-align: center;
  padding: 24px 16px 32px;
}

.cta h2 {
  margin: 0 0 16px;
  font-size: 20px;
}

/* フッターロゴ */
.logo-img {
  display: block;
  width: 160px;
  margin: 0 auto 8px;
}

/* -------------------------
   Responsive
   ------------------------- */
@media (max-width: 720px) {
  .sp {
    display: inline
  }

  .reason>img {
    height: 120px
  }
}