/* =========================================================
   まるごと便利パック サービスサイト 共通スタイルシート v3
   運営（仮）: 株式会社くらしメイト
   デザイントーン: 薄いローズピンク基調 + マルチカラー差し色
                   + 薄ピンクギンガムチェック + 丸ゴシック
   構成: 左パネル固定 + 中央カラムのみスクロール + 右パネル固定
        （デスクトップのみ。900px以下は通常の縦1カラム）
   ========================================================= */

:root{
  /* ---- カラーパレット：薄いローズピンク基調 + マルチカラー ---- */
  --color-green-deep:    #B15873;   /* メインカラー（枠線・見出し・濃いローズ） */
  --color-green:         #E38A9B;   /* サブカラー（ボタン等の薄いローズピンク） */
  --color-green-dark:    #96435C;   /* ホバー用濃ローズ */
  --color-green-pale:    #FDEDF1;   /* 淡ピンク（カード背景） */
  --color-check-bg:      #FFF7F4;   /* ギンガムチェック地色（薄ピンク） */

  --color-yellow:        #FFE07A;
  --color-yellow-deep:   #FFC93C;
  --color-sky:           #4FC3E8;
  --color-sky-pale:      #E4F6FC;
  --color-pink:          #FF8FB1;
  --color-pink-pale:     #FFE6EE;
  --color-purple:        #A177E0;
  --color-purple-pale:   #F1E9FB;
  --color-orange:        #F3C08C;
  --color-yellow-pale:   #FFF7DE;   /* 薄イエロー（スクロール背景クロスフェード用） */

  /* ---- スクロール連動の背景色（JSがIntersectionObserverで書き換える） ---- */
  --scroll-bg: var(--color-check-bg);

  /* 旧変数名の互換エイリアス（既存コンポーネントCSSとの整合用） */
  --color-bg:            #FFFDFB;
  --color-bg-warm:       #FDF6F3;
  --color-bg-soft-pink:  var(--color-pink-pale);
  --color-accent:        var(--color-green);
  --color-accent-dark:   var(--color-green-deep);
  --color-accent-light:  var(--color-green-pale);
  --color-apricot:       var(--color-orange);
  --color-mint:          var(--color-sky);
  --color-text:          #3B3532;
  --color-text-sub:      #6B5459;
  --color-text-faint:    #A98D93;
  --color-border:        #F6DCE3;
  --color-white:         #FFFFFF;

  /* ---- フォント：丸みのあるゴシック体 ---- */
  --font-serif: 'Zen Maru Gothic', 'Hiragino Maru Gothic ProN', sans-serif;
  --font-sans:  'Zen Maru Gothic', 'Hiragino Maru Gothic ProN', 'Noto Sans JP', sans-serif;

  /* ---- スペーシングスケール（8px基準） ---- */
  --sp-1: 8px;
  --sp-2: 16px;
  --sp-3: 24px;
  --sp-4: 32px;
  --sp-5: 40px;
  --sp-6: 48px;
  --sp-8: 64px;
  --sp-10: 80px;
  --sp-12: 96px;
  --sp-16: 128px;

  /* ---- その他 ----
     tetetoco.jp参照：枠線は使わず「角丸+ドロップシャドウ」だけで柔らかさを
     出すため、角丸スケールを全体的に拡大し、影を柔らかい多重シャドウに変更。 */
  --radius-s: 14px;
  --radius-m: 24px;
  --radius-l: 40px;
  --radius-pill: 999px;
  --shadow-soft: 0 4px 20px rgba(177, 88, 115, 0.12);
  --shadow-hover: 0 12px 30px rgba(177, 88, 115, 0.22);
  --shadow-panel: 0 22px 46px rgba(177, 88, 115, 0.20), 0 6px 16px rgba(177, 88, 115, 0.12);
  --container-w: 1120px;
  --transition: all .25s ease;

  /* ---- 3カラムレイアウト寸法 ----
     中央カラムはスマホ実機幅相当の440pxを基本としつつ、901px前後の
     やや狭いデスクトップ幅でも左右パネルとぶつからないよう自動で縮む。 */
  --center-w: clamp(260px, calc(100vw - 320px), 440px);
  --panel-min: 150px;
  --panel-max: 380px;
}

*, *::before, *::after{ box-sizing: border-box; }

html{ scroll-behavior: smooth; height: 100%; }

body{
  margin: 0;
  height: 100%;
  font-family: var(--font-sans);
  color: var(--color-text);
  line-height: 1.9;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  /* ---- 背景：薄ピンクの無地 + ソフトな水玉ブロブ装飾 ----
     チェック柄をやめ、大きくぼかした円形ブロブ(低彩度ピンク)を数個配置し、
     その上に細かい水玉テクスチャを重ねる。市松模様のチープさを解消する狙い。
     ブロブ本体は .bg-blobs 配下の独立div(position:fixed)に切り出し、
     JSでスクロール量に応じてtranslateYさせるパララックスを実装している
     （詳細は下記「スクロール連動：背景ブロブ」セクション）。
     bodyのbackground-imageには細かい水玉テクスチャ層のみを残す。
     background-colorはJSがセクションの切り替わりに応じて
     --scroll-bg を書き換えることでゆるやかにクロスフェードする。 */
  background-color: var(--scroll-bg, var(--color-check-bg));
  transition: background-color 1s ease;
}

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

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

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

h1,h2,h3,h4{
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.5;
  margin: 0;
  color: var(--color-green-deep);
}

p{ margin: 0; }

.container{
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 var(--sp-3);
}

section{ padding: var(--sp-10) 0; position: relative; }

/* =========================================================
   3カラム固定レイアウト（本サイト最大のギミック）
   - .site-shell の直下に 左パネル / 中央スクロール列 / 右パネル
   - 中央カラムだけが overflow-y:auto でスマホ画面のように独立スクロール
   - 左右パネルは position:fixed で画面に張り付いたまま動かない
   ========================================================= */
.site-shell{
  position: relative;
  width: 100%;
  height: 100vh;
}

.panel-left, .panel-right{
  position: fixed;
  top: 0;
  height: 100vh;
  width: clamp(var(--panel-min), calc((100vw - var(--center-w)) / 2), var(--panel-max));
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
  pointer-events: none; /* 装飾中心。内側のnav/linkだけ復活させる */
}
.panel-left{ left: 0; }
.panel-right{ right: 0; }
.panel-left > *, .panel-right > *{ pointer-events: auto; }

.panel-card{
  width: min(88%, 300px);
  max-height: 86vh;
  background: var(--color-white);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-panel);
  padding: var(--sp-3);
  overflow: hidden;
  position: relative;
}

/* 左パネル：スマホモックアップ */
.panel-left .panel-card{
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-2);
}
.panel-left .phone-illust{ width: 100%; height: auto; }

/* ---------- スマホ画面内アニメーション ----------
   参考動画にあった、コンテンツがふわっと呼吸するように動き続ける演出を、
   スマホモックアップの中身にも適用。常時ループするアンビエントな動き
   のみ（スクロール非連動）で、控えめな振れ幅にとどめてチープに見えない
   ようにする。 */
.mock-avatar{
  transform-box: fill-box;
  transform-origin: 50% 50%;
  animation: mockBreathe 3.2s ease-in-out infinite;
}
@keyframes mockBreathe{
  0%, 100%{ transform: scale(1); }
  50%{ transform: scale(1.05); }
}

.mock-badge{
  transform-box: fill-box;
  transform-origin: 50% 50%;
  animation: mockFloat 2.6s ease-in-out infinite;
}
@keyframes mockFloat{
  0%, 100%{ transform: translateY(0); }
  50%{ transform: translateY(-2.5px); }
}

.mock-pulse-ring{
  fill: none;
  stroke: #22C55E;
  stroke-width: 2;
  transform-box: fill-box;
  transform-origin: 50% 50%;
  animation: mockPulseRing 2s ease-out infinite;
}
@keyframes mockPulseRing{
  0%{ transform: scale(1); opacity: .65; }
  100%{ transform: scale(2.6); opacity: 0; }
}

.mock-thumb{
  transform-box: fill-box;
  transform-origin: 50% 50%;
  animation: mockThumb 3.6s ease-in-out infinite;
}
@keyframes mockThumb{
  0%, 100%{ transform: scale(1); }
  50%{ transform: scale(1.035); }
}

.mock-cta-glow{
  fill: #FF8FB1;
  transform-box: fill-box;
  transform-origin: 50% 50%;
  animation: mockCtaGlow 2.2s ease-out infinite;
}
@keyframes mockCtaGlow{
  0%{ transform: scale(1); opacity: .45; }
  100%{ transform: scale(1.12); opacity: 0; }
}

.mock-tab-active{
  transform-box: fill-box;
  transform-origin: 50% 50%;
  animation: mockTabBounce 1.8s ease-in-out infinite;
}
@keyframes mockTabBounce{
  0%, 100%{ transform: translateY(0); }
  50%{ transform: translateY(-3px); }
}

/* 通知トースト：一定間隔で上からスライドイン→ホールド→スライドアウトを
   繰り返す。「アプリが今まさに動いている」ライブ感の演出。 */
.mock-toast{
  animation: mockToast 8s ease-in-out infinite;
}
@keyframes mockToast{
  0%, 4%{ transform: translateY(-100px); opacity: 0; }
  10%, 28%{ transform: translateY(0); opacity: 1; }
  36%, 100%{ transform: translateY(-100px); opacity: 0; }
}

/* 右パネル：ナビゲーション */
.panel-right .panel-card{
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.panel-brand{
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 15px;
  color: var(--color-green-deep);
}
.panel-brand .brand-mark{ width: 30px; height: 30px; color: var(--color-green-deep); flex-shrink: 0; }
.panel-nav-list{ display: flex; flex-direction: column; gap: 4px; }
.panel-nav-list a{
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: var(--radius-pill);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--color-text);
  transition: var(--transition);
}
.panel-nav-list a::before{
  content: '';
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--color-green);
  flex: none;
}
.panel-nav-list a:hover, .panel-nav-list a.is-current{
  background: var(--color-green-pale);
  color: var(--color-green-deep);
  font-weight: 700;
}
.panel-nav-list a.is-current::before{ background: var(--color-pink); }
.panel-cta{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-pink);
  color: #fff;
  padding: 12px;
  border-radius: var(--radius-pill);
  font-size: 13.5px;
  font-weight: 700;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
}
.panel-cta:hover{ background: var(--color-green-deep); transform: translateY(-2px); }
.panel-sns{ display: flex; gap: 8px; justify-content: center; }
.panel-sns a{
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--color-green-pale);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-soft);
}
.panel-sns .icon{ width: 15px; height: 15px; color: var(--color-green-deep); }
.panel-deco{ position: absolute; pointer-events: none; }

/* 中央カラム：ここだけがスクロールする */
.center-col{
  position: fixed;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: var(--center-w);
  max-width: 100vw;
  height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
  z-index: 30;
  background: var(--color-white);
  box-shadow: 0 20px 60px rgba(0,0,0,.16), 0 4px 24px rgba(177,88,115,.18);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--color-green) var(--color-green-pale);
}
.center-col::-webkit-scrollbar{ width: 8px; }
.center-col::-webkit-scrollbar-track{ background: var(--color-green-pale); }
.center-col::-webkit-scrollbar-thumb{ background: var(--color-green); border-radius: var(--radius-pill); }
.center-inner{ min-height: 100%; }

/* ---------- 見出し共通 ---------- */
.section-head{
  text-align: center;
  margin-bottom: var(--sp-6);
}
.section-eyebrow{
  display: inline-block;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--color-pink);
  background: var(--color-pink-pale);
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: var(--sp-2);
}
.section-title{
  font-size: clamp(20px, 5vw, 26px);
  margin-bottom: var(--sp-2);
}
.section-lead{
  color: var(--color-text-sub);
  font-size: 13.5px;
  max-width: 620px;
  margin: 0 auto;
}

/* ---------- ヘッダー（中央カラム内・モバイル表示中心） ---------- */
.site-header{
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--color-white);
  box-shadow: 0 6px 18px rgba(177,88,115,.10);
  padding: 14px var(--sp-3);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand{
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .01em;
  color: var(--color-green-deep);
  flex-shrink: 0;
}
.brand .brand-mark{ width: 30px; height: 30px; color: var(--color-green-deep); flex-shrink: 0; }
.brand .brand-sub{
  display: block;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 8.5px;
  letter-spacing: .1em;
  color: var(--color-text-faint);
  white-space: nowrap;
}

.nav-toggle{
  width: 40px; height: 40px;
  flex-shrink: 0;
  border: none;
  border-radius: var(--radius-pill);
  background: var(--color-green-pale);
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  color: var(--color-green-deep);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ヘッダー右側：常時表示の「初月無料で申し込む」CTA＋ハンバーガー。
   PC・スマホどちらで開いても、一番最初の画面（ファーストビュー）で
   このCTAが必ず見えるようにするための常設ボタン。 */
.header-actions{
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 1;
  min-width: 0;
}
.header-cta-inline{
  padding: 8px 12px;
  font-size: 11.5px;
  flex-shrink: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.header-cta-inline .cta-label-short{ display: none; }
/* 幅が狭い端末では、ブランド名テキストを畳んでロゴのみにし、
   「初月無料で申し込む」CTAの文言をフルで確保する（CTA優先）。 */
@media (max-width: 420px){
  .site-header .brand > span{ display: none; }
  .site-header .brand{ gap: 0; }
}
@media (max-width: 400px){
  .header-cta-inline{ font-size: 10.5px; padding: 7px 10px; }
}
@media (max-width: 300px){
  .header-cta-inline .cta-label-full{ display: none; }
  .header-cta-inline .cta-label-short{ display: inline; }
}

/* モバイル用ナビドロワー（デスクトップでは非表示。ナビ本体は右パネルにある） */
.mobile-drawer{
  position: fixed;
  inset: 0 0 0 0;
  z-index: 100;
  background: var(--color-white);
  transform: translateX(100%);
  transition: transform .3s ease;
  padding: var(--sp-4) var(--sp-3);
  overflow-y: auto;
  display: none;
}
.mobile-drawer.is-open{ transform: translateX(0); }
.mobile-drawer-head{ display: flex; justify-content: flex-end; margin-bottom: var(--sp-3); }
.mobile-drawer-close{
  width: 36px; height: 36px; border-radius: 50%;
  border: none; background: var(--color-green-pale); box-shadow: var(--shadow-soft);
  color: var(--color-green-deep); display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.mobile-drawer .gnav-list{ display: flex; flex-direction: column; gap: var(--sp-1); font-size: 16px; }
.mobile-drawer .gnav-list a{
  display: block; padding: 12px 14px; border-radius: var(--radius-m);
  background: var(--color-check-bg); font-weight: 700; color: var(--color-text);
}
.mobile-drawer .gnav-list a.is-current{ background: var(--color-green-pale); color: var(--color-green-deep); }
.mobile-drawer .btn-header-cta{ display: inline-flex; margin-top: var(--sp-3); }

.btn-header-cta{
  background: var(--color-pink);
  color: #fff;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
  white-space: nowrap;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
}
.btn-header-cta:hover{ background: var(--color-green-deep); box-shadow: var(--shadow-hover); transform: translateY(-1px); }

/* ---------- ボタン共通 ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: .02em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
}
.btn-primary{
  background: var(--color-pink);
  color: #fff;
  box-shadow: var(--shadow-soft);
}
.btn-primary:hover{ background: var(--color-green-deep); box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.btn-outline{
  background: var(--color-white);
  border-color: var(--color-green-deep);
  color: var(--color-green-deep);
}
.btn-outline:hover{ background: var(--color-green-pale); transform: translateY(-2px); }
.btn-ghost{
  background: var(--color-white);
  border-color: var(--color-border);
  color: var(--color-text);
}
.btn-ghost:hover{ border-color: var(--color-green); color: var(--color-green-deep); }
.btn-block{ width: 100%; }
.btn-sm{ padding: 10px 20px; font-size: 12.5px; }

/* ---------- ヒーロー ---------- */
.hero{
  position: relative;
  padding: var(--sp-6) 0 calc(var(--sp-8) + 22px);
  background: var(--color-sky-pale);
  overflow: hidden;
}
.hero .container{ padding: 0 var(--sp-3); }
.hero-copy .section-eyebrow{ margin-bottom: var(--sp-2); }
.hero-title{
  font-size: clamp(22px, 6vw, 28px);
  line-height: 1.55;
  margin-bottom: var(--sp-3);
}
.hero-title em{
  font-style: normal;
  color: var(--color-pink);
  position: relative;
}
.hero-desc{
  color: var(--color-text-sub);
  font-size: 14px;
  margin-bottom: var(--sp-4);
}
.hero-actions{ display: flex; gap: var(--sp-2); flex-wrap: wrap; }
.hero-media{
  position: relative;
  border-radius: var(--radius-l);
  overflow: hidden;
  box-shadow: var(--shadow-hover);
  margin-top: var(--sp-5);
}
.hero-media img{ width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.hero-badge{
  position: absolute;
  left: 14px; bottom: -18px;
  background: #fff;
  border-radius: var(--radius-m);
  padding: var(--sp-2);
  box-shadow: var(--shadow-hover);
  display: flex; align-items: center; gap: 10px;
  font-size: 12px;
  max-width: calc(100% - 28px);
}

/* ---------- 写真グリッド：角丸サムネイルを並べたアルバム風表示（tetetoco.jp参照） ---------- */
.hero-photo-grid{
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  grid-template-rows: repeat(2, 1fr);
  gap: 10px;
  height: 300px;
  margin-top: var(--sp-5);
}
.hero-photo-grid img{
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-soft);
  display: block;
}
.hero-photo-grid img:first-child{ grid-row: 1 / 3; border-radius: var(--radius-l); box-shadow: var(--shadow-hover); }

/* ---------- ヒーロー・ファーストビュー演出（アプリのモックアップ＋常時アニメーションする
   6コンテンツのフローティングアイコン＋キラキラ＋初月無料バースト）。
   ゲームアプリのLPのような「動きの密度」でインパクトを出すための構成。 ---------- */
.hero-stage{
  position: relative;
  width: 100%;
  max-width: 300px;
  margin: var(--sp-6) auto 0;
  aspect-ratio: 3 / 4;
}
.hero-stage-glow{
  position: absolute;
  inset: 4% 0;
  background: radial-gradient(circle, rgba(255,143,177,.42), rgba(255,143,177,0) 68%);
  animation: heroGlowPulse 3.6s ease-in-out infinite;
  z-index: 0;
  pointer-events: none;
}
@keyframes heroGlowPulse{
  0%, 100%{ transform: scale(1); opacity: .75; }
  50%{ transform: scale(1.1); opacity: 1; }
}
.hero-phone-wrap{
  position: relative;
  z-index: 2;
  width: 66%;
  margin: 0 auto;
  filter: drop-shadow(0 22px 34px rgba(177,88,115,.30));
  animation: heroPhoneSway 5s ease-in-out infinite;
}
.hero-phone-wrap .phone-illust{ width: 100%; height: auto; display: block; }
@keyframes heroPhoneSway{
  0%, 100%{ transform: translateY(0) rotate(-1.4deg); }
  50%{ transform: translateY(-10px) rotate(1.4deg); }
}
.hero-freetrial-burst{
  position: absolute;
  top: -2%;
  right: 4%;
  z-index: 4;
  width: 78px; height: 78px;
  border-radius: 50%;
  background: linear-gradient(135deg,#FFE07A,#FFC93C);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  box-shadow: 0 10px 24px rgba(255,201,60,.5);
  transform: rotate(10deg);
  animation: heroBurstPop 2.4s ease-in-out infinite;
}
.hero-freetrial-burst strong{ font-size: 12.5px; font-weight: 800; color: #6B4B00; line-height: 1.25; font-family: var(--font-serif); }
.hero-freetrial-burst span{ font-size: 8px; font-weight: 700; color: #7A5A16; }
@keyframes heroBurstPop{
  0%, 100%{ transform: rotate(10deg) scale(1); }
  50%{ transform: rotate(10deg) scale(1.09); }
}
.hero-orbit-icon{ position: absolute; width: 0; height: 0; z-index: 3; }
.hero-orbit-icon-inner{
  width: 44px; height: 44px;
  margin-left: -22px; margin-top: -22px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  box-shadow: var(--shadow-soft);
  animation: heroFloat 3.4s ease-in-out infinite;
}
.hero-orbit-icon-inner .icon{ width: 21px; height: 21px; }
.hero-float-a{ animation-duration: 3.1s; animation-delay: 0s; }
.hero-float-b{ animation-duration: 3.6s; animation-delay: .3s; }
.hero-float-c{ animation-duration: 3.3s; animation-delay: .6s; }
.hero-float-d{ animation-duration: 3.8s; animation-delay: .15s; }
.hero-float-e{ animation-duration: 3.5s; animation-delay: .45s; }
.hero-float-f{ animation-duration: 3.2s; animation-delay: .75s; }
@keyframes heroFloat{
  0%, 100%{ transform: translateY(0) rotate(0deg); }
  50%{ transform: translateY(-11px) rotate(-7deg); }
}
.hero-sparkle{
  position: absolute;
  width: 15px; height: 15px;
  z-index: 3;
  color: #fff;
  animation: heroTwinkle 1.8s ease-in-out infinite;
}
.hero-sparkle.is-b{ color: #FFC93C; animation-delay: .6s; }
.hero-sparkle.is-c{ animation-delay: 1.1s; }
@keyframes heroTwinkle{
  0%, 100%{ transform: scale(.6); opacity: .35; }
  50%{ transform: scale(1.15); opacity: 1; }
}
.btn-pulse{ animation: heroCtaPulse 2.2s ease-in-out infinite; }
@keyframes heroCtaPulse{
  0%, 100%{ box-shadow: 0 0 0 0 rgba(255,143,177,.55), var(--shadow-soft); }
  50%{ box-shadow: 0 0 0 9px rgba(255,143,177,0), var(--shadow-soft); }
}
@media (max-width: 480px){
  .hero-stage{ max-width: 260px; }
  .hero-orbit-icon-inner{ width: 38px; height: 38px; margin-left: -19px; margin-top: -19px; }
  .hero-orbit-icon-inner .icon{ width: 18px; height: 18px; }
  .hero-freetrial-burst{ width: 66px; height: 66px; }
  .hero-freetrial-burst strong{ font-size: 11px; }
}

.concept-photo-grid{ position: relative; margin-bottom: var(--sp-4); }
.concept-photo-grid .cpg-main{
  width: 100%; aspect-ratio: 1/1; object-fit: cover;
  border-radius: var(--radius-l); box-shadow: var(--shadow-soft); display: block;
}
.concept-photo-grid .cpg-sub{
  position: absolute; right: -12px; bottom: -16px;
  width: 44%; aspect-ratio: 1/1; object-fit: cover;
  border-radius: var(--radius-m); box-shadow: var(--shadow-hover);
  border: 5px solid #fff;
}

.voice-photo-strip{ display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: var(--sp-4); }
.voice-photo-strip img, .voice-photo-strip svg.avatar-illust{
  width: 54px; height: 54px; border-radius: 50%;
  object-fit: cover; box-shadow: var(--shadow-soft); border: 3px solid #fff; display: block;
}

.article-photo-grid{ display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: var(--sp-4); }
.article-photo-grid img{
  width: 100%; height: 100%; object-fit: cover;
  border-radius: var(--radius-l); box-shadow: var(--shadow-soft); display: block;
}
.article-photo-grid .apg-main{ grid-column: 1 / 3; aspect-ratio: 16/9; }
.article-photo-grid .apg-sm{ aspect-ratio: 4/3; }

/* ---------- 雲形(スカラップ)ブロック：枠線の代わりに面の色+余白+大きな角丸で
   セクションを区切る、tetetoco.jp風の「もこもこ」した有機的な縁取り ---------- */
.cloud-panel{
  position: relative;
  background: var(--cloud-bg, var(--color-green-pale));
  border-radius: var(--radius-l);
  padding: var(--sp-5) var(--sp-3);
  overflow: hidden;
}
.scallop-edge{
  position: absolute;
  left: 0; right: 0;
  height: 22px;
  background-image: radial-gradient(circle at 11px 22px, transparent 11px, var(--cloud-c, #fff) 12px);
  background-size: 22px 22px;
  background-repeat: repeat-x;
  pointer-events: none;
}
.scallop-edge--top{ top: 0; }
.scallop-edge--bottom{ bottom: 0; transform: scaleY(-1); }
.hero-badge .badge-icon{ width: 28px; height: 28px; color: var(--color-pink); flex: none; }
.deco-blob{
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
  opacity: .6;
  z-index: 0;
}
.deco-img{ position: absolute; z-index: 1; }

/* =========================================================
   スクロール連動：背景ブロブ(パララックス)
   - .site-shell の外側、bodyの直下に置く独立レイヤー。position:fixedで
     ビューポート基準に配置し、実際に位置がずれて見えるのは
     .panel-left/.panel-right の左右の余白部分（中央カラムは不透明な
     白背景で覆っているため）。
   - 各ブロブに data-speed(移動係数) を持たせ、JS側で
     .center-col のスクロール量 × speed ぶんだけ translateY するだけの
     シンプルな実装。速度差で奥行き感を出す。
   - prefers-reduced-motion: reduce では transform を更新しない
     （下部の @media (prefers-reduced-motion: reduce) 参照）。
   ========================================================= */
.bg-blobs{
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.bg-blob{
  position: absolute;
  border-radius: 50%;
  transform: translate(-50%, -50%) translateY(var(--blob-y, 0px));
  will-change: transform;
}
/* 水玉テクスチャは廃止。円ははっきりした縁(ぼかしフィルタなし、
   グラデーションの色止まりも縁の直前まで伸ばす)で、色も差し色でバラけさせて
   はっきり主張させる。数・配色・配置はあえて不規則（グリッド/対称にならない
   よう位置とサイズをバラバラに散らす）にして単調さを避ける。 */
.bg-blob[data-blob="1"]{
  left: 12%; top: 18%;
  width: min(34vh, 300px); height: min(34vh, 300px);
  background: radial-gradient(circle, rgba(255,143,177,.70) 0%, rgba(255,143,177,.65) 88%, rgba(255,143,177,0) 100%);
}
.bg-blob[data-blob="2"]{
  left: 88%; top: 12%;
  width: min(30vh, 260px); height: min(30vh, 260px);
  background: radial-gradient(circle, rgba(255,224,122,.68) 0%, rgba(255,224,122,.63) 88%, rgba(255,224,122,0) 100%);
}
.bg-blob[data-blob="3"]{
  left: 80%; top: 68%;
  width: min(32vh, 280px); height: min(32vh, 280px);
  background: radial-gradient(circle, rgba(79,195,232,.64) 0%, rgba(79,195,232,.59) 88%, rgba(79,195,232,0) 100%);
}
.bg-blob[data-blob="4"]{
  left: 18%; top: 78%;
  width: min(24vh, 200px); height: min(24vh, 200px);
  background: radial-gradient(circle, rgba(161,119,224,.64) 0%, rgba(161,119,224,.59) 88%, rgba(161,119,224,0) 100%);
}
.bg-blob[data-blob="5"]{
  left: 50%; top: 45%;
  width: min(46vh, 420px); height: min(46vh, 420px);
  background: radial-gradient(circle, rgba(227,138,155,.50) 0%, rgba(227,138,155,.45) 88%, rgba(227,138,155,0) 100%);
}
.bg-blob[data-blob="6"]{
  left: 5%; top: 54%;
  width: min(18vh, 160px); height: min(18vh, 160px);
  background: radial-gradient(circle, rgba(255,166,94,.70) 0%, rgba(255,166,94,.65) 88%, rgba(255,166,94,0) 100%);
}
.bg-blob[data-blob="7"]{
  left: 96%; top: 44%;
  width: min(40vh, 360px); height: min(40vh, 360px);
  background: radial-gradient(circle, rgba(72,209,175,.55) 0%, rgba(72,209,175,.50) 88%, rgba(72,209,175,0) 100%);
}
.bg-blob[data-blob="8"]{
  left: 38%; top: 6%;
  width: min(14vh, 130px); height: min(14vh, 130px);
  background: radial-gradient(circle, rgba(255,111,139,.72) 0%, rgba(255,111,139,.67) 88%, rgba(255,111,139,0) 100%);
}
.bg-blob[data-blob="9"]{
  left: 68%; top: 94%;
  width: min(26vh, 230px); height: min(26vh, 230px);
  background: radial-gradient(circle, rgba(137,150,255,.58) 0%, rgba(137,150,255,.53) 88%, rgba(137,150,255,0) 100%);
}
.bg-blob[data-blob="10"]{
  left: 27%; top: 62%;
  width: min(20vh, 175px); height: min(20vh, 175px);
  background: radial-gradient(circle, rgba(214,88,122,.62) 0%, rgba(214,88,122,.57) 88%, rgba(214,88,122,0) 100%);
}
/* さらに追加：スクロールのどの位置でも背景から円が絶えないよう、位相(top位置)を
   細かく分散させて密度を底上げ。ループ幅は各円のサイズに応じて自動計算されるため
   (JS側)、円の総数を増やすほど「常にどこかに数個は画面内にいる」確度が上がる。 */
.bg-blob[data-blob="11"]{
  left: 44%; top: 30%;
  width: min(17vh, 150px); height: min(17vh, 150px);
  background: radial-gradient(circle, rgba(255,201,60,.66) 0%, rgba(255,201,60,.61) 88%, rgba(255,201,60,0) 100%);
}
.bg-blob[data-blob="12"]{
  left: 8%; top: 86%;
  width: min(24vh, 210px); height: min(24vh, 210px);
  background: radial-gradient(circle, rgba(255,180,198,.62) 0%, rgba(255,180,198,.57) 88%, rgba(255,180,198,0) 100%);
}
.bg-blob[data-blob="13"]{
  left: 60%; top: 8%;
  width: min(15vh, 135px); height: min(15vh, 135px);
  background: radial-gradient(circle, rgba(100,214,255,.68) 0%, rgba(100,214,255,.63) 88%, rgba(100,214,255,0) 100%);
}
.bg-blob[data-blob="14"]{
  left: 92%; top: 72%;
  width: min(22vh, 195px); height: min(22vh, 195px);
  background: radial-gradient(circle, rgba(176,132,255,.60) 0%, rgba(176,132,255,.55) 88%, rgba(176,132,255,0) 100%);
}
.bg-blob[data-blob="15"]{
  left: 15%; top: 48%;
  width: min(13vh, 115px); height: min(13vh, 115px);
  background: radial-gradient(circle, rgba(255,150,120,.68) 0%, rgba(255,150,120,.63) 88%, rgba(255,150,120,0) 100%);
}
.bg-blob[data-blob="16"]{
  left: 75%; top: 22%;
  width: min(19vh, 165px); height: min(19vh, 165px);
  background: radial-gradient(circle, rgba(60,190,140,.60) 0%, rgba(60,190,140,.55) 88%, rgba(60,190,140,0) 100%);
}

/* ---------- パンくず的ページヒーロー（下層ページ用） ---------- */
.page-hero{
  padding: var(--sp-6) 0 var(--sp-5);
  background: var(--color-green-pale);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero .section-eyebrow{ margin-bottom: var(--sp-2); }
.page-hero h1{ font-size: clamp(21px, 5.4vw, 27px); margin-bottom: var(--sp-2); }
.page-hero p{ color: var(--color-text-sub); font-size: 13.5px; }
.breadcrumb{
  font-size: 11.5px;
  color: var(--color-text-faint);
  margin-top: var(--sp-2);
}
.breadcrumb a{ color: var(--color-green-deep); }
.breadcrumb a:hover{ color: var(--color-pink); }

/* ---------- お知らせ ---------- */
.news-strip{ background: var(--color-white); }
.news-list{ display: flex; flex-direction: column; }
.news-item{
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  padding: var(--sp-2) 0;
  border-bottom: 2px dashed var(--color-border);
  transition: var(--transition);
}
.news-item:hover{ padding-left: var(--sp-1); }
.news-item time{
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 12px;
  color: var(--color-text-faint);
  width: 84px;
  flex: none;
}
.news-tag{
  flex: none;
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 11px;
  border-radius: var(--radius-pill);
  background: var(--color-yellow);
  color: var(--color-green-deep);
}
.news-item .news-title{ font-size: 13px; flex: 1; }
.news-foot{ text-align: center; margin-top: var(--sp-4); }

/* ---------- ブランド紹介 ---------- */
.brand-intro{ background: var(--color-check-bg); }
.brand-intro-media{ border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--shadow-soft); margin-bottom: var(--sp-4); }
.brand-intro-media img{ aspect-ratio: 1/1; object-fit: cover; }
.brand-intro-body .section-title{ text-align: left; }
.brand-intro-body p{ color: var(--color-text-sub); margin-bottom: var(--sp-2); font-size: 13.5px; }
.concept-points{ display: grid; gap: var(--sp-2); margin-top: var(--sp-4); }
.concept-point{ display: flex; gap: 12px; align-items: flex-start; background: var(--color-white); border-radius: var(--radius-m); padding: var(--sp-2); box-shadow: var(--shadow-soft); }
.concept-point .icon{ width: 26px; height: 26px; color: var(--color-pink); flex: none; }
.concept-point h4{ font-size: 14px; margin-bottom: 4px; color: var(--color-green-deep); }
.concept-point p{ font-size: 12.5px; color: var(--color-text-sub); }

/* ---------- カード（ラインナップ） ----------
   中央カラムは常時スマホ相当の幅（~440px、640px以下フォールバック時も同程度）のため、
   グリッドは横幅の広いデスクトップ多カラムを前提にせず、常に1〜2カラムを基本とする。 */
.grid{ display: grid; gap: var(--sp-3); }
.grid-3{ grid-template-columns: 1fr; }
.grid-4{ grid-template-columns: repeat(2, 1fr); }
.grid-2{ grid-template-columns: repeat(2, 1fr); }

.card{
  background: var(--color-white);
  border-radius: var(--radius-m);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.card:hover{ transform: translateY(-6px) rotate(-.5deg); box-shadow: var(--shadow-hover); }
.card-media{ aspect-ratio: 4/3; overflow: hidden; background: var(--color-green-pale); position: relative; }
.card-media img{ width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.card:hover .card-media img{ transform: scale(1.06); }
.card-body{ padding: var(--sp-3); flex: 1; display: flex; flex-direction: column; }
.card-badge{
  align-self: flex-start;
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: var(--radius-pill);
  background: var(--color-yellow);
  color: var(--color-green-deep);
  margin-bottom: 10px;
}
.card-title{ font-size: 16px; margin-bottom: 8px; color: var(--color-green-deep); }
.card-desc{ font-size: 12.5px; color: var(--color-text-sub); flex: 1; margin-bottom: var(--sp-2); }
.card-price{ font-size: 12px; color: var(--color-text-faint); margin-bottom: var(--sp-2); }
.card-price strong{ font-size: 18px; color: var(--color-pink); font-family: var(--font-serif); }
.card-link{ font-size: 12.5px; color: var(--color-green-deep); font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.card-link .icon{ width: 14px; height: 14px; }

/* ---------- コンテンツアイコンタイル ----------
   実在サービスは写真のない汎用サポート/保険/クーポン系のため、ランダムな
   ストック写真ではなく、内容を象徴するシンプルなラインアイコンを
   グラデーションタイルの上に置く形で表現する。 */
.content-tile{ display: flex; align-items: center; justify-content: center; }
.content-icon{ width: 46%; max-width: 128px; height: auto; color: #fff; opacity: .96; filter: drop-shadow(0 4px 10px rgba(0,0,0,.12)); }
.content-icon path, .content-icon circle, .content-icon rect{
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
/* 塗りつぶしで見せたい要素（ハート・ティア点等）だけ個別に fill:currentColor; stroke:none; を指定 */
.content-icon [fill="currentColor"]{ fill: currentColor; stroke: none; }
.content-icon [fill="none"]{ fill: none; }
.card-vendor{ font-size: 11.5px; color: var(--color-text-faint); margin-bottom: var(--sp-2); line-height: 1.6; }

/* ---------- ユースケース ---------- */
.usecase-list{ display: grid; gap: var(--sp-4); }
.usecase-item{
  background: var(--color-white);
  border-radius: var(--radius-l);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.usecase-media{}
.usecase-media img{ aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.usecase-body{ padding: var(--sp-3); }
.usecase-scene{ font-size: 11px; font-weight: 700; letter-spacing: .06em; color: var(--color-pink); margin-bottom: var(--sp-1); }
.usecase-body h3{ font-size: 17px; margin-bottom: var(--sp-2); color: var(--color-green-deep); }
.usecase-body p{ color: var(--color-text-sub); font-size: 13px; margin-bottom: var(--sp-2); }
.usecase-tags{ display: flex; gap: 6px; flex-wrap: wrap; }
.usecase-tags span{
  font-size: 10.5px; font-weight: 700; padding: 4px 12px; border-radius: var(--radius-pill);
  background: var(--color-sky-pale); border: 1px solid var(--color-sky); color: var(--color-green-deep);
}

/* ---------- ユーザーボイス ---------- */
.voice-section{ background: var(--color-check-bg); }
.voice-card{
  background: var(--color-white);
  border-radius: var(--radius-m);
  padding: var(--sp-3);
  box-shadow: var(--shadow-soft);
  height: 100%;
}
.voice-top{ display: flex; align-items: center; gap: 12px; margin-bottom: var(--sp-2); }
.voice-photo{ width: 50px; height: 50px; border-radius: 50%; overflow: hidden; flex: none; border: 3px solid var(--color-yellow); }
.voice-photo img, .voice-photo svg.avatar-illust{ width: 100%; height: 100%; object-fit: cover; display: block; }
.voice-name{ font-size: 13px; font-weight: 700; color: var(--color-green-deep); }
.voice-meta{ font-size: 11px; color: var(--color-text-faint); }
.voice-stars{ color: var(--color-yellow-deep); font-size: 13px; margin-bottom: 8px; }
.voice-text{ font-size: 12.5px; color: var(--color-text-sub); }

/* ---------- コラム ---------- */
.column-card{ display: flex; flex-direction: column; }
.column-card .card-media{ aspect-ratio: 16/10; }
.column-cat{ font-size: 10.5px; font-weight: 700; color: var(--color-pink); letter-spacing: .04em; margin-bottom: 6px; }

/* ---------- メディア掲載 ---------- */
.media-strip{ background: var(--color-white); }
.media-logos{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-2);
  align-items: center;
}
.media-logo{
  border: 2px dashed var(--color-green);
  border-radius: var(--radius-s);
  padding: var(--sp-2);
  text-align: center;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 12px;
  color: var(--color-text-faint);
  background: var(--color-check-bg);
}

/* ---------- CTA ---------- */
.cta-section{
  background: linear-gradient(135deg, var(--color-green) 0%, var(--color-green-deep) 100%);
  color: #fff;
  text-align: center;
  border-radius: var(--radius-l);
  margin: 0 var(--sp-3) var(--sp-6);
  padding: calc(var(--sp-6) + 14px) var(--sp-3) calc(var(--sp-6) + 14px);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-hover);
}
.cta-section h2{ color: #fff; font-size: clamp(19px, 5.4vw, 24px); margin-bottom: var(--sp-2); }
.cta-section p{ color: rgba(255,255,255,.9); margin-bottom: var(--sp-4); font-size: 13.5px; }
.cta-actions{ display: flex; gap: var(--sp-2); justify-content: center; flex-wrap: wrap; }
.cta-section .btn-primary{ background: var(--color-yellow); color: var(--color-green-deep); }
.cta-section .btn-primary:hover{ background: #fff; }
.cta-section .btn-outline{ border-color: rgba(255,255,255,.7); color: #fff; background: transparent; }
.cta-section .btn-outline:hover{ background: rgba(255,255,255,.15); }

/* ---------- フッター ---------- */
.site-footer{ background: var(--color-green-deep); color: #fff; padding-top: var(--sp-6); }
.footer-top{
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  padding: 0 var(--sp-3) var(--sp-5);
}
.footer-brand .brand{ margin-bottom: var(--sp-2); color: #fff; }
.footer-brand .brand .brand-mark{ color: #fff; }
.footer-brand .brand .brand-sub{ color: rgba(255,255,255,.6); }
.footer-brand p{ font-size: 12.5px; color: rgba(255,255,255,.8); }
.footer-col h5{ font-family: var(--font-sans); font-weight: 700; font-size: 12.5px; letter-spacing: .04em; color: var(--color-yellow); margin-bottom: var(--sp-2); }
.footer-col ul{ display: flex; flex-direction: column; gap: 9px; }
.footer-col a{ font-size: 13px; color: rgba(255,255,255,.85); }
.footer-col a:hover{ color: var(--color-yellow); }
.footer-sns{ display: flex; gap: 10px; margin-top: var(--sp-2); }
.footer-sns a{ width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,.14); display: flex; align-items: center; justify-content: center; }
.footer-sns .icon{ width: 15px; height: 15px; color: #fff; }
.footer-bottom{
  border-top: 2px solid rgba(255,255,255,.2);
  padding: var(--sp-3);
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 11px;
  color: rgba(255,255,255,.65);
}
.footer-bottom nav{ display: flex; gap: var(--sp-2); }

/* ---------- パンフ的：料金表 ---------- */
.price-table{ display: grid; grid-template-columns: 1fr; gap: var(--sp-4); align-items: stretch; }
.price-card{
  background: var(--color-white);
  border-radius: var(--radius-l);
  padding: var(--sp-3);
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
  position: relative;
}
.price-card:hover{ transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.price-card.is-recommend{ background: var(--color-pink-pale); box-shadow: 0 0 0 3px rgba(255,143,177,.35), var(--shadow-hover); }
.price-card .recommend-badge{
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--color-pink); color: #fff; font-size: 11px; font-weight: 700; padding: 5px 16px; border-radius: var(--radius-pill);
}
.price-card .freetrial-badge{
  position: absolute; top: 18px; right: -9px;
  background: var(--color-yellow-deep); color: #6B4B00; font-size: 11.5px; font-weight: 700;
  padding: 6px 14px 6px 16px; border-radius: var(--radius-pill) 0 0 var(--radius-pill);
  box-shadow: var(--shadow-soft);
}
.price-name{ font-size: 12px; color: var(--color-text-faint); margin-bottom: 6px; }
.price-plan{ font-size: 18px; margin-bottom: var(--sp-2); color: var(--color-green-deep); }
.price-value{ font-family: var(--font-serif); font-weight: 700; font-size: 30px; color: var(--color-pink); margin-bottom: 4px; }
.price-value span{ font-size: 12px; color: var(--color-text-sub); font-family: var(--font-sans); font-weight: 500; }
.price-desc{ font-size: 12px; color: var(--color-text-sub); margin-bottom: var(--sp-3); }
.price-features{ display: flex; flex-direction: column; gap: 9px; margin-bottom: var(--sp-4); flex: 1; }
.price-features li{ font-size: 12.5px; display: flex; gap: 8px; align-items: flex-start; }
.price-features .icon{ width: 16px; height: 16px; color: var(--color-green); flex: none; margin-top: 2px; }

/* ---------- FAQ ---------- */
.faq-list{ display: flex; flex-direction: column; gap: var(--sp-2); }
.faq-item{
  background: var(--color-white);
  border-radius: var(--radius-m);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.faq-q{
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-3);
  cursor: pointer;
  font-size: 13.5px;
  font-weight: 700;
}
.faq-q .q-mark{ color: var(--color-pink); font-family: var(--font-serif); margin-right: 10px; }
.faq-q .plus{ width: 20px; height: 20px; flex: none; color: var(--color-green); transition: var(--transition); }
.faq-item.is-open .plus{ transform: rotate(45deg); }
.faq-a{
  max-height: 0; overflow: hidden; transition: max-height .3s ease;
  font-size: 12.5px; color: var(--color-text-sub); padding: 0 var(--sp-3);
}
.faq-item.is-open .faq-a{ padding-bottom: var(--sp-3); }

/* ---------- テーブル(規約/会社概要) ---------- */
.info-table{ width: 100%; border-collapse: collapse; }
.info-table th, .info-table td{ text-align: left; padding: var(--sp-2); border-bottom: 2px dashed var(--color-border); font-size: 13px; vertical-align: top; }
.info-table th{ width: 130px; color: var(--color-green-deep); font-weight: 700; }

/* お問い合わせ表：スマホ幅ではラベルの単語途中折返しを防ぐため、th/tdを縦積みに切替 */
@media (max-width: 560px){
  .contact-table, .contact-table tbody, .contact-table tr{ display: block; width: 100%; }
  .contact-table th, .contact-table td{ display: block; width: auto; border-bottom: none; padding: 2px var(--sp-2); }
  .contact-table tr{ padding: var(--sp-2) 0; border-bottom: 2px dashed var(--color-border); }
  .contact-table tr:last-child{ border-bottom: none; }
  .contact-table td{ padding-bottom: var(--sp-1); }
}

/* ---------- 記事本文 ---------- */
.article{ max-width: 100%; margin: 0 auto; }
.article-head{ text-align: center; margin-bottom: var(--sp-4); }
.article-cat{ font-size: 11px; font-weight: 700; color: var(--color-pink); letter-spacing: .06em; margin-bottom: 8px; }
.article-title{ font-size: clamp(19px, 5.6vw, 24px); margin-bottom: var(--sp-2); color: var(--color-green-deep); }
.article-meta{ font-size: 12px; color: var(--color-text-faint); }
.article-hero{ border-radius: var(--radius-l); overflow: hidden; margin-bottom: var(--sp-4); box-shadow: var(--shadow-soft); }
.article-body h2{ font-size: 18px; margin: var(--sp-4) 0 var(--sp-2); color: var(--color-green-deep); }
.article-body h3{ font-size: 15px; margin: var(--sp-3) 0 var(--sp-1); color: var(--color-green-deep); }
.article-body p{ color: var(--color-text-sub); font-size: 13.5px; margin-bottom: var(--sp-2); }
.article-body img{ border-radius: var(--radius-m); margin: var(--sp-3) 0; box-shadow: var(--shadow-soft); }
.article-quote{
  border-left: 5px solid var(--color-pink);
  padding: var(--sp-2) var(--sp-3);
  background: var(--color-pink-pale);
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 15px;
  border-radius: 0 var(--radius-s) var(--radius-s) 0;
  margin: var(--sp-3) 0;
  color: var(--color-green-deep);
}
.article-video{ aspect-ratio: 16/9; border-radius: var(--radius-m); overflow: hidden; margin: var(--sp-4) 0; box-shadow: var(--shadow-soft); }
.article-video iframe{ width: 100%; height: 100%; border: 0; }

/* ---------- フォーム(申込/お問い合わせ) ---------- */
.form-card{ background: var(--color-white); border-radius: var(--radius-l); padding: var(--sp-3); box-shadow: var(--shadow-soft); }
.form-row{ margin-bottom: var(--sp-3); }
.form-row label{ display: block; font-size: 12.5px; font-weight: 700; margin-bottom: 6px; color: var(--color-green-deep); }
.form-row input, .form-row select, .form-row textarea{
  width: 100%; padding: 12px 14px; border-radius: var(--radius-s); border: 2px solid var(--color-border);
  font-family: var(--font-sans); font-size: 14px; background: var(--color-check-bg);
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus{ outline: none; border-color: var(--color-green); }
.form-required{ color: var(--color-pink); font-size: 11px; margin-left: 6px; }

/* ---------- パンくず/サイドナビ(サポート) ---------- */
.support-grid{ display: grid; grid-template-columns: 1fr; gap: var(--sp-4); }
.support-side{ background: var(--color-white); border-radius: var(--radius-m); padding: var(--sp-3); height: fit-content; box-shadow: var(--shadow-soft); }
.support-side h5{ font-size: 11.5px; font-weight: 700; color: var(--color-text-faint); margin-bottom: var(--sp-2); }
.support-side ul{ display: flex; flex-direction: column; gap: 10px; }
.support-side a{ font-size: 13px; }
.support-side a:hover{ color: var(--color-pink); }

/* ---------- スクロールフェードイン ---------- */
.fade-in{ opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.fade-in.is-visible{ opacity: 1; transform: translateY(0); }

/* ---------- アイコン共通 ---------- */
.icon{ width: 24px; height: 24px; }
.icon svg, svg.icon, svg.brand-mark, svg.badge-icon{
  width: 100%; height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- 装飾モチーフ（ハート・キラキラ） ---------- */
.deco-heart, .deco-star{
  position: absolute;
  width: 30px; height: 30px;
  z-index: 1;
  pointer-events: none;
}
.deco-star{ width: 24px; height: 24px; animation: sparkle 2.6s ease-in-out infinite; }
@keyframes sparkle{
  0%, 100%{ opacity: .55; transform: scale(.85) rotate(0deg); }
  50%{ opacity: 1; transform: scale(1.05) rotate(12deg); }
}

/* ---------- 背景装飾（謎キャラクター＋ハート・キラキラ） ----------
   自作マスコット4種（mascot-round「まるっと」/ mascot-tri「べんりん」/
   mascot-drop「しずくん」/ mascot-ear「ぴょんた」）は、いなくなると
   サイトから表情が消えるとのフィードバックにより復活。ハート・キラキラの
   装飾と合わせて、各セクションの隅にさりげなく配置する。 */
.hero::before{
  content: '';
  position: absolute;
  width: 64px; height: 72px;
  right: 22px; bottom: -8px;
  background: url('../img/mascot-round.svg') no-repeat center / contain;
  z-index: 1;
}
.hero::after{
  content: '';
  position: absolute;
  width: 26px; height: 24px;
  left: 20px; top: 18px;
  background: url('../img/deco-star.svg') no-repeat center / contain;
  z-index: 1;
}
.brand-intro{ position: relative; overflow: hidden; }
.brand-intro::after{
  content: '';
  position: absolute;
  width: 56px; height: 64px;
  right: -8px; top: 18px;
  background: url('../img/mascot-tri.svg') no-repeat center / contain;
  opacity: .92;
}
.page-hero::before{
  content: '';
  position: absolute;
  width: 50px; height: 56px;
  right: 18px; top: -14px;
  background: url('../img/mascot-drop.svg') no-repeat center / contain;
}
.page-hero::after{
  content: '';
  position: absolute;
  width: 22px; height: 20px;
  left: 14px; bottom: 10px;
  background: url('../img/deco-heart.svg') no-repeat center / contain;
}
.voice-section{ position: relative; overflow: hidden; }
.voice-section::after{
  content: '';
  position: absolute;
  width: 58px; height: 66px;
  left: -8px; bottom: 4px;
  background: url('../img/mascot-ear.svg') no-repeat center / contain;
}
.cta-section::before{
  content: '';
  position: absolute;
  width: 54px; height: 60px;
  left: 16px; bottom: -10px;
  background: url('../img/mascot-round.svg') no-repeat center / contain;
  filter: brightness(0) invert(1) opacity(.5);
}
.cta-section::after{
  content: '';
  position: absolute;
  width: 22px; height: 20px;
  right: 18px; top: 16px;
  background: url('../img/deco-star.svg') no-repeat center / contain;
  filter: brightness(0) invert(1) opacity(.5);
}
.site-footer{ position: relative; overflow: hidden; }
.site-footer::after{
  content: '';
  position: absolute;
  width: 50px; height: 58px;
  right: 20px; top: 10px;
  background: url('../img/mascot-ear.svg') no-repeat center / contain;
  opacity: .85;
}

/* =========================================================
   デスクトップ（3カラム固定ギミックが成立する幅）
   ※ 仕様指定は「640px以下でモバイル1カラムに切替」だが、641〜900px程度の
     ノートPC等中間幅では左右パネルが90px未満まで潰れてナビが読めなくなるため、
     フォールバック開始を900pxまで前倒しする判断とした（詳細は成果物報告参照）。
   ========================================================= */
@media (min-width: 901px){
  body{ overflow: hidden; } /* bodyそのものはスクロールさせない */
  .mobile-drawer{ display: none !important; }
}

/* =========================================================
   レスポンシブ（900px以下：3カラムギミックを解除し通常の縦1カラムへ）
   ========================================================= */
@media (max-width: 900px){
  body{ overflow-y: auto; background-attachment: scroll; }

  .site-shell{ height: auto; }
  .panel-left, .panel-right{ display: none; } /* 左右固定パネルは非表示 */

  .center-col{
    position: static;
    left: auto; top: auto; transform: none;
    width: 100%;
    height: auto;
    overflow: visible;
    box-shadow: none;
  }
  .center-inner{ min-height: auto; }

  .site-header{ position: sticky; }
  .nav-toggle{ display: flex; }
  .mobile-drawer{ display: block; }

  .grid-3, .grid-2{ grid-template-columns: 1fr; }
  .grid-4{ grid-template-columns: repeat(2, 1fr); }
  .media-logos{ grid-template-columns: repeat(2, 1fr); }
  section{ padding: var(--sp-6) 0; }
}

/* 注記：中央カラムはデスクトップの3パネル固定モードでも常に約440px幅の
   スマホ相当サイズで固定される設計のため、ブラウザのビューポート幅を基準にした
   「広い画面用の多カラム化」は行わない（support-grid・footer-topは常に縦積み）。 */

/* =========================================================
   アクセシビリティ：動きを減らす設定への対応
   - 背景ブロブのパララックス移動を止める（JS側もrAFループを起動しない）
   - 背景色クロスフェードのtransitionを切り、色の切り替えは瞬時に反映
     （彩度・機能自体は維持しつつ、アニメーションだけを止める静的表示に
     フォールバックする）
   ========================================================= */
@media (prefers-reduced-motion: reduce){
  body{ transition: none; }
  .bg-blob{ transform: translate(-50%, -50%); transition: none; }
  .fade-in{ transition: none; }
  .mock-avatar,
  .mock-badge,
  .mock-pulse-ring,
  .mock-thumb,
  .mock-cta-glow,
  .mock-tab-active,
  .mock-toast{ animation: none; }
  .mock-pulse-ring{ opacity: 0; }
  .mock-cta-glow{ opacity: 0; }
  .mock-toast{ opacity: 0; }
  .hero-stage-glow,
  .hero-phone-wrap,
  .hero-freetrial-burst,
  .hero-orbit-icon-inner,
  .hero-sparkle,
  .btn-pulse{ animation: none; }
  .hero-sparkle{ opacity: .6; }
}
