/* =============================================================================
   アワノテ — site.css  統合レスポンシブスタイル
   ─────────────────────────────────────────────
   TABLE OF CONTENTS
   ─────────────────────────────────────────────
   00. ビュー切替（常時有効）
   01. PC デザイン（min-width: 900px）
       01-A  デザイントークン / リセット
       01-B  共通：ボタン / セクション / 画像スロット
       01-C  ヘッダー
       01-D  ヒーロー
       01-E  お悩みセクション
       01-F  サービスセクション
       01-G  結果セクション
       01-H  アバウトセクション
       01-I  想いセクション
       01-J  選ばれる理由セクション
       01-K  制作実績セクション
       01-L  料金セクション
       01-M  メンバーセクション
       01-N  FAQセクション
       01-O  CTAセクション
       01-P  フッター
       01-Q  フリードラッグ / ユーティリティ
       01-R  レスポンシブ調整（1050px ／ 900px ／ 480px）
   02. スマホ デザイン（max-width: 899px）
       02-A  デザイントークン / リセット
       02-B  アプリシェル（ヘッダー / ドロワー）
       02-C  ヒーロー
       02-D  ブリッジ
       02-E  共通セクション見出し
       02-F  お悩みセクション
       02-G  導入効果セクション
       02-H  アバウトセクション
       02-I  想いセクション
       02-J  サービスセクション
       02-K  選ばれる理由セクション
       02-L  制作実績セクション
       02-M  料金セクション
       02-N  代表紹介セクション
       02-O  FAQセクション
       02-P  CTAセクション
       02-Q  フッター
       02-R  ボタン類
       02-S  レスポンシブ微調整（旧拡張ブロック無効化済み）
   ─────────────────────────────────────────────
   フォント : Noto Sans JP / Zen Kaku Gothic New / Shippori Mincho B1
   ブランドカラー : --brand #1456c4 / --brand-2 #2f80ed / --brand-deep #0e3a8a
   ============================================================================= */

/* --- どちらのビューを表示するかの切替（常時有効） --- */
@media (min-width: 900px) { .view-mobile { display: none !important; } }
@media (max-width: 899px) { .view-pc { display: none !important; } }
.view-pc, .view-mobile { width: 100%; }

/* ===================== PC（≥900px）===================== */
@media (min-width: 900px) {
/* ===========================================================================
   アワノテ / ミセミル — Web Site Editor
   全ての見た目は CSS 変数で制御し、Tweaks パネルからライブで変更できます。
   画像はすべて <image-slot>（空の差し込み枠）です。
   =========================================================================== */

:root {
  /* --- color tokens (driven by Tweaks) --- */
  --brand:        #1456c4;
  --brand-2:      #2f80ed;
  --brand-deep:   #0e3a8a;
  --brand-soft:   #e9f1ff;
  --accent:       #ffb300;
  --accent-ink:   #5a3b00;
  --line:         #06c755;
  --line-deep:    #04a548;

  --ink:          #1b2738;
  --muted:        #5d6e85;
  --hair:         #e4ebf3;
  --bg:           #ffffff;
  --bg-alt:       #f1f6fd;
  --card:         #ffffff;

  /* --- typography --- */
  --font-body: "Noto Sans JP", system-ui, sans-serif;
  --font-head: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  --font-scale: 1;
  --heading-scale: 1;
  --head-weight: 800;

  /* --- shape & rhythm --- */
  --radius: 18px;
  --radius-lg: 28px;
  --section-gap: 96px;
  --shadow: 0 18px 44px -24px rgba(20, 52, 110, .35);
  --shadow-soft: 0 10px 30px -18px rgba(20, 52, 110, .28);
  --maxw: 1120px;

  --hero-align: left;
  --section-head-align: center;

  /* image-slot default look */
  --slot-bg: rgba(20, 52, 110, .045);
}

* { box-sizing: border-box; }

html { font-size: calc(100% * var(--font-scale)); scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3 { font-family: var(--font-head); font-weight: var(--head-weight); line-height: 1.3; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-decoration: none; }

.section { padding-block: var(--section-gap); }

/* shared section heading */
.section > h2 {
  text-align: var(--section-head-align);
  font-size: clamp(1.5rem, calc(1.5rem + .5vw), calc(2rem * var(--heading-scale)));
  letter-spacing: .01em;
  margin-bottom: 12px;
}
.section-line {
  width: 56px; height: 4px; border-radius: 999px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  margin: 0 auto 40px;
}

/* ── 01-B 共通：画像スロット ── */
image-slot { --_b: var(--slot-bg); }

/* ── 01-B ボタン ── */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--font-head); font-weight: 700;
  padding: 14px 30px; border-radius: 999px; font-size: 1rem;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  white-space: nowrap;
}
.button-line {
  background: var(--line); color: #fff;
  box-shadow: 0 12px 24px -12px var(--line);
}
.button-line::before { content: ""; width: 18px; height: 18px; background: #fff;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C6.5 2 2 5.7 2 10.2c0 4 3.6 7.4 8.5 8 .3.1.8.2.9.5.1.3.1.7 0 1l-.1.9c0 .3-.2 1 .9.6 1.1-.5 6-3.5 8.1-6C21.4 13.6 22 12 22 10.2 22 5.7 17.5 2 12 2Z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C6.5 2 2 5.7 2 10.2c0 4 3.6 7.4 8.5 8 .3.1.8.2.9.5.1.3.1.7 0 1l-.1.9c0 .3-.2 1 .9.6 1.1-.5 6-3.5 8.1-6C21.4 13.6 22 12 22 10.2 22 5.7 17.5 2 12 2Z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.button-line:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -12px var(--line); }
.button-outline {
  background: #fff; color: var(--brand); border: 2px solid var(--brand);
}
.button-outline:hover { transform: translateY(-2px); background: var(--brand-soft); }

/* ── 01-C ヘッダー ── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 24px;
  padding: 12px clamp(16px, 4vw, 40px);
  background: rgba(255,255,255,.9); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hair);
}
.site-header .logo { display: block; }
.logo-slot { width: 150px; height: 42px; --slot-frame-bg: transparent; }
/* The logo bitmap has a baked-in white background. On the white header,
   multiply blends that white away while leaving the logo's colors intact. */
.site-header .logo-slot::part(image) { mix-blend-mode: multiply; }
.global-nav { display: flex; gap: clamp(14px, 1.6vw, 28px); margin-left: auto; font-family: var(--font-head); font-weight: 500; }
.global-nav a { font-size: .94rem; padding: 6px 2px; position: relative; color: var(--ink); }
.global-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 2px; background: var(--brand); transition: right .25s ease; }
.global-nav a:hover::after { right: 0; }
.header-cta { padding: 11px 22px; font-size: .92rem; }

/* mobile-only navs hidden on desktop */
.mobile-quick-nav, .mobile-consult-bar { display: none; }

/* ── 01-D ヒーロー ── */
.hero {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 4vw, 56px);
  align-items: center;
  max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(16px, 4vw, 40px);
  padding-top: clamp(40px, 6vw, 80px);
  position: relative;
}
.hero-copy { text-align: var(--hero-align); }
.eyebrow {
  display: inline-block; font-family: var(--font-head); font-weight: 700;
  color: var(--brand); background: var(--brand-soft);
  padding: 6px 16px; border-radius: 999px; font-size: .85rem; margin-bottom: 18px;
}
.hero h1 {
  font-size: calc(2.9rem * var(--heading-scale));
  font-weight: var(--head-weight); line-height: 1.32; margin-bottom: 22px;
}
.heading-line { display: block; }
.heading-highlight em {
  font-style: normal; color: var(--accent); position: relative; padding: 0 .12em;
}
.heading-accent {
  background: linear-gradient(transparent 62%, color-mix(in srgb, var(--accent) 45%, transparent) 62%);
  display: inline; box-decoration-break: clone; -webkit-box-decoration-break: clone;
}
.hero-copy > p { color: var(--muted); font-size: 1.02rem; margin-bottom: 28px; max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: var(--hero-align); }

.hero-visual { position: relative; }
.hero-badges {
  list-style: none; margin: 0; padding: 0;
  position: absolute; top: 0; left: 0; z-index: 5;
  display: grid; grid-template-columns: max-content max-content; gap: 10px;
  justify-items: start;
}
.hero-badges li {
  font-family: var(--font-head); font-weight: 700; font-size: .85rem;
  color: var(--brand-deep); background: #fff; border: 1.5px solid var(--brand-soft);
  /* 上下4.5px + 枠線1.5px = eyebrow の上下6px と同じ外寸（同じ高さ） */
  padding: 4.5px 14px; text-align: center; border-radius: 999px; box-shadow: var(--shadow-soft);
}
/* bare positioning stage — no background, just the two image frames */
.hero-stage {
  position: relative; min-height: clamp(300px, 40vw, 460px);
}
/* Frame boxes keep their ORIGINAL size (layout unaffected); only the rendered
   image is enlarged via transform: scale (transforms don't reflow the layout). */
.hero-person-slot { position: relative; margin-left: auto; width: 64%; height: clamp(280px, 34vw, 400px); z-index: 3; display: block; --slot-frame-bg: transparent;
  transform: translate(var(--person-x, 150px), var(--person-y, 5px)) scale(var(--person-scale, 1.35)); transform-origin: right bottom; }
.hero-laptop-slot { position: absolute; left: 0; bottom: 0; width: 60%; height: clamp(150px, 18vw, 210px); z-index: 4; --slot-frame-bg: transparent;
  transform: translate(var(--laptop-x, -45px), var(--laptop-y, 5px)) scale(var(--laptop-scale, 1.4)); transform-origin: left bottom; }

/* ---------- worry section ---------- */
.worry-section { background: var(--bg-alt); }
.worry-layout {
  max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(16px,4vw,40px);
  display: grid; grid-template-columns: 1fr auto 1fr; gap: clamp(16px, 3vw, 40px); align-items: center;
}
.speech-list { display: flex; flex-direction: column; gap: 16px; }
.speech-card {
  background: #fff; border-radius: 16px; padding: 16px 20px; font-weight: 500;
  box-shadow: var(--shadow-soft); position: relative; font-size: .98rem;
}
.speech-list:first-child .speech-card::after,
.speech-list:last-child .speech-card::after {
  content: ""; position: absolute; top: 50%; width: 14px; height: 14px; background: #fff; transform: translateY(-50%) rotate(45deg);
}
.speech-list:first-child .speech-card::after { right: -6px; }
.speech-list:last-child .speech-card::after { left: -6px; }
.worry-center { position: relative; text-align: center; width: fit-content; margin-inline: auto; }
.worry-center image-slot { display: block; width: var(--worry-img-w, 475px); height: calc(var(--worry-img-w, 475px) * 0.74); --slot-frame-bg: var(--bg-alt); }
.worry-badge {
  position: absolute; top: -8px; right: -8px; background: var(--brand); color: #fff;
  font-family: var(--font-head); font-weight: 700; font-size: .82rem; line-height: 1.2;
  width: 64px; height: 64px; border-radius: 50%; display: grid; place-content: center;
  box-shadow: var(--shadow-soft); z-index: 2;
}

/* ── 01-G 結果・導入効果セクション ── */
.results-section { text-align: center; }
.results-lead { color: var(--muted); max-width: 40em; margin: 0 auto 44px; }
.result-cards {
  max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(16px,4vw,40px);
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; align-items: start;
}
.result-card {
  background: var(--card); border-radius: var(--radius); padding: 22px 16px; text-align: center;
  box-shadow: var(--shadow-soft); border: 1px solid var(--hair);
}
.result-card.is-lower { margin-top: 34px; }
.result-card h3 { font-size: 1rem; margin-bottom: 14px; }
.result-card h3 span {
  background: linear-gradient(transparent 60%, color-mix(in srgb, var(--brand-soft) 90%, transparent) 60%);
  color: var(--brand-deep);
}
.result-card image-slot {
  width: 100%; height: 120px; margin-bottom: 14px; display: block;
}
.result-card p { font-size: .86rem; color: var(--muted); }

/* ── 01-H アバウトセクション ── */
.about-panel { background: linear-gradient(180deg, #fff, var(--bg-alt)); }
.about-inner {
  max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(16px,4vw,40px);
  display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 64px); align-items: center;
}
.about-copy h2 { font-size: calc(2rem * var(--heading-scale)); margin-bottom: 20px; position: relative; display: inline-block; }
.about-copy h2::after { content: ""; position: absolute; left: 0; bottom: -8px; width: 48px; height: 4px; border-radius: 999px; background: var(--brand); }
.about-copy > p { color: var(--muted); margin-bottom: 18px; }
.about-message { font-family: var(--font-head); font-weight: 700; color: var(--brand); font-size: 1.25rem; }
.about-icons { display: flex; align-items: center; gap: 14px; margin-top: 26px; }
.about-icons > div { display: grid; place-items: center; gap: 8px; }
.about-icons image-slot { width: 66px; height: 66px; --slot-frame-bg: transparent; }
.about-icons span { font-family: var(--font-head); font-weight: 700; font-size: .82rem; }
.about-icons strong { color: var(--brand); font-size: 1.4rem; }
.about-photo { margin: 0; }
.about-photo image-slot {
  width: 100%; height: 420px; display: block;
}

/* ── 01-I 想いセクション ── */
.thought-section { text-align: center; position: relative; overflow: hidden; }
.thought-lead { color: var(--muted); margin-bottom: 40px; }
.thought-grid {
  max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(16px,4vw,40px);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; position: relative; z-index: 1;
}
.thought-card {
  background: var(--card); border-radius: var(--radius); padding: 32px 26px; text-align: left;
  box-shadow: var(--shadow-soft); border-top: 5px solid var(--brand);
}
.thought-card.vision { border-top-color: var(--brand-2); }
.thought-card.concept { border-top-color: var(--accent); }
.thought-card small { font-family: var(--font-head); font-weight: 800; letter-spacing: .14em; color: var(--brand); font-size: .8rem; }
.thought-card.concept small { color: var(--accent-ink); }
.thought-card h3 { font-size: 1.18rem; margin-top: 12px; line-height: 1.5; }

/* ── 01-F サービスセクション ── */
.service-section { background: var(--bg-alt); }
.service-section h2 {
  color: var(--brand-deep); text-align: left;
  max-width: 1080px; margin: 0 auto 40px; padding-inline: clamp(16px,4vw,40px);
  font-size: clamp(1.5rem, calc(1.5rem + .5vw), calc(2rem * var(--heading-scale)));
}
.service-grid {
  max-width: 1080px; margin-inline: auto; padding-inline: clamp(16px,4vw,40px);
  display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto;
  grid-auto-flow: column; column-gap: 56px; row-gap: 28px;
}
/* staggered diagonal: bottom-row cards (02 / 04) drop down + indent right */
.service-grid article:nth-child(even) { transform: translate(56px, 30px); }
.service-card {
  display: flex; align-items: stretch; gap: 22px;
  background: #fff; border-radius: 14px;
  box-shadow: 0 16px 34px -20px rgba(14,58,138,.45);
  padding: 20px 28px 20px 0;
}
.service-number {
  align-self: stretch; margin: -10px 0;
  min-width: 96px; display: grid; place-content: center;
  border-radius: 14px; color: #fff;
  font-family: var(--font-head); font-weight: 800; font-size: 2rem; line-height: 1;
  box-shadow: 0 10px 20px -10px rgba(20,86,196,.55);
}
/* graded blue tones so each badge reads clearly */
.service-card:nth-child(1) .service-number { background: var(--brand); }
.service-card:nth-child(2) .service-number { background: var(--brand-2); }
.service-card:nth-child(3) .service-number { background: var(--brand-deep); }
.service-card:nth-child(4) .service-number { background: #1f6fe0; }
.service-card > div { padding: 2px 0; }
.service-grid h3 { font-size: 1.16rem; color: var(--brand-deep); margin-bottom: 6px; }
.service-grid p { color: var(--muted); font-size: .92rem; }

/* ── 01-J 選ばれる理由セクション ── */
.reason-section h2 { max-width: 18em; margin-inline: auto; }
.reason-grid {
  max-width: var(--maxw); margin: 40px auto 0; padding-inline: clamp(16px,4vw,40px);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch;
  grid-template-areas: "a b c" "d b e";
}
.reason-card {
  background: var(--card); border-radius: var(--radius); padding: 26px 24px;
  box-shadow: var(--shadow-soft); border: 1px solid var(--hair);
  display: flex; gap: 18px; align-items: flex-start;
}
.reason-card image-slot { width: 56px; height: 56px; flex: none; }
/* Recolor the (grey, line-art) icon: hide the raster, then paint the frame in
   the chosen color and mask it to the icon shape (--icon-src is set per slot
   from JS). Only filled slots are recolored. */
.reason-card image-slot[data-filled]::part(image) { visibility: hidden; }
.reason-card image-slot[data-filled]::part(frame) {
  background-color: var(--reason-icon-line, var(--brand));
  -webkit-mask-image: var(--icon-src); mask-image: var(--icon-src);
  -webkit-mask-size: contain; mask-size: contain;
  -webkit-mask-position: center; mask-position: center;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
}
.reason-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.reason-card p { color: var(--muted); font-size: .9rem; }
.reason-card.featured {
  flex-direction: column; align-items: center; text-align: center; justify-content: center;
  background: linear-gradient(165deg, var(--brand), var(--brand-2)); color: #fff; border: none;
  position: relative;
  /* blue card, gold glowing shadow on the edge */
  box-shadow:
    0 0 0 1.5px rgba(247,206,92,.75),
    0 0 22px 1px rgba(242,193,66,.6),
    0 14px 38px -10px rgba(214,158,30,.55);
  animation: featuredGlow 3.2s ease-in-out infinite;
}
@keyframes featuredGlow {
  0%, 100% {
    box-shadow:
      0 0 0 1.5px rgba(247,206,92,.6),
      0 0 18px 1px rgba(242,193,66,.45),
      0 14px 38px -10px rgba(214,158,30,.45);
  }
  50% {
    box-shadow:
      0 0 0 1.5px rgba(250,214,110,.95),
      0 0 30px 4px rgba(247,201,80,.85),
      0 16px 46px -8px rgba(230,176,46,.7);
  }
}
@media (prefers-reduced-motion: reduce) {
  .reason-card.featured { animation: none; }
}
.reason-card.featured image-slot { width: 76px; height: 76px; position: relative; z-index: 1; }
.reason-card.featured image-slot[data-filled]::part(frame) { background-color: #ffffff; }
.reason-card.featured h3 { position: relative; z-index: 1; }
.reason-card.featured p { color: rgba(255,255,255,.85); position: relative; z-index: 1; }
.reason-card.featured strong {
  margin-top: 8px; font-family: var(--font-head); font-weight: 800; font-size: 1.15rem;
  background: #fff; color: var(--brand); padding: 8px 18px; border-radius: 999px;
  position: relative; z-index: 1;
}
.reason-card:nth-child(1){grid-area:a;} .reason-card.featured{grid-area:b;}
.reason-card:nth-child(3){grid-area:c;} .reason-card:nth-child(4){grid-area:d;} .reason-card:nth-child(5){grid-area:e;}

/* ── 01-K 制作実績セクション ── */
.works-section { background: var(--bg-alt); text-align: center; }
.works-grid {
  max-width: var(--maxw); margin: 0 auto; padding-inline: clamp(16px,4vw,40px);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.works-grid figure { margin: 0; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft); }
.works-grid image-slot { width: 100%; height: 200px; display: block; }
.works-grid figcaption { font-family: var(--font-head); font-weight: 700; padding: 14px; font-size: .95rem; }
.works-section .note, .price-section .note { margin-top: 30px; color: var(--muted); font-size: .9rem; }

/* ── 01-L 料金セクション ── */
.price-section { text-align: center; }
.price-grid {
  max-width: 980px; margin: 40px auto 0; padding-inline: clamp(16px,4vw,40px);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch;
}
.price-card {
  background: var(--card); border: 1px solid var(--hair); border-radius: var(--radius-lg);
  padding: 32px 26px; box-shadow: var(--shadow-soft); position: relative;
}
.price-card h3 { font-size: 1.2rem; margin-bottom: 14px; }
.price-card .price { font-family: var(--font-head); color: var(--brand); font-size: 1.1rem; margin-bottom: 14px; }
.price-card .price strong { font-size: 3rem; line-height: 1; }
.price-card > p:last-child { color: var(--muted); font-size: .92rem; }
.price-card.recommended { border: 2px solid var(--brand); transform: translateY(-8px); box-shadow: var(--shadow); }
.ribbon {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: var(--accent-ink); font-family: var(--font-head); font-weight: 800;
  padding: 6px 22px; border-radius: 999px; font-size: .85rem;
}
.process-heading { display: flex; align-items: center; gap: 18px; max-width: 760px; margin: 64px auto 32px; }
.process-heading span { flex: 1; height: 1px; background: var(--hair); }
.process-heading h3 { font-size: 1.3rem; }
.process-grid {
  max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(16px,4vw,40px);
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px;
}
.process-grid article { text-align: center; position: relative; }
.process-grid span {
  display: grid; place-content: center; width: 52px; height: 52px; margin: 0 auto 12px;
  background: var(--brand-soft); color: var(--brand); border-radius: 50%;
  font-family: var(--font-head); font-weight: 800; font-size: 1.3rem;
}
.process-grid h3 { font-size: .98rem; margin-bottom: 6px; }
.process-grid p { color: var(--muted); font-size: .82rem; }

/* ── 01-M メンバーセクション ── */
.members-section { background: var(--bg-alt); text-align: center; }
.member-grid {
  max-width: 900px; margin: 40px auto 0; padding-inline: clamp(16px,4vw,40px);
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
}
.member-card {
  background: #fff; border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-soft);
  display: grid; grid-template-columns: 130px 1fr; gap: 22px; align-items: center; text-align: left;
}
.member-photo { position: relative; }
.member-photo image-slot { width: 130px; height: 130px; display: block; }
.member-photo::after {
  content: attr(data-label); position: absolute; bottom: -6px; left: 50%; transform: translateX(-50%);
  background: var(--brand); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: .72rem;
  padding: 4px 12px; border-radius: 999px; white-space: nowrap; z-index: 2;
}
.member-role { color: var(--brand); font-family: var(--font-head); font-weight: 700; font-size: .82rem; margin-bottom: 4px; }
.member-body h3 { font-size: 1.3rem; margin-bottom: 10px; }
.member-body > p { color: var(--muted); font-size: .9rem; }
.member-skills { margin-top: 12px; font-size: .8rem; color: var(--brand-deep); font-weight: 700; }
.member-note { margin-top: 28px; color: var(--muted); font-size: .92rem; }

/* ── 01-N FAQセクション ── */
.faq-section h2 { text-align: center; font-size: calc(2rem * var(--heading-scale)); margin-bottom: 40px; }
.faq-grid {
  max-width: 820px; margin-inline: auto; padding-inline: clamp(16px,4vw,40px);
  display: grid; gap: 12px;
}
.faq-grid details {
  background: var(--card); border: 1px solid var(--hair); border-radius: 14px; overflow: hidden;
}
.faq-grid summary {
  cursor: pointer; list-style: none; padding: 18px 52px 18px 22px; position: relative;
  font-family: var(--font-head); font-weight: 700; font-size: 1rem;
}
.faq-grid summary::-webkit-details-marker { display: none; }
.faq-grid summary::after {
  content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  color: var(--brand); font-size: 1.4rem; font-weight: 400; transition: transform .2s;
}
.faq-grid details[open] summary::after { content: "\2212"; }
.faq-grid details p { padding: 0 22px 20px; color: var(--muted); font-size: .92rem; }

/* ── 01-O CTAセクション ── */
.cta-section {
  position: relative; overflow: hidden; text-align: center; color: #fff;
  background: linear-gradient(160deg, var(--brand), var(--brand-deep));
  display: grid; justify-items: center; gap: 26px;
}
.cta-section h2 { color: #fff; font-size: calc(1.9rem * var(--heading-scale)); max-width: 22em; }
.cta-section > div p { color: rgba(255,255,255,.85); margin-top: 12px; }
.cta-shop, .cta-people { position: absolute; bottom: 24px; width: clamp(120px, 16vw, 200px); height: clamp(120px, 16vw, 200px); }
.cta-shop { left: clamp(8px, 4vw, 60px); }
.cta-people { right: clamp(8px, 4vw, 60px); }
.cta-actions { position: relative; z-index: 1; }
.cta-section .button-line { background: #fff; color: var(--line-deep); }
.cta-section .button-line::before { background: var(--line); }

/* ── 01-P フッター ── */
.site-footer {
  background: #ffffff; color: var(--muted);
  border-top: 1px solid var(--hair);
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 36px;
  padding: 56px clamp(16px,4vw,40px);
}
.site-footer > div:first-child { max-width: 320px; }
.site-footer .logo-slot { width: 150px; height: 40px; margin-bottom: 16px; --slot-frame-bg: transparent; }
.site-footer h2 { font-size: 1rem; color: var(--ink); margin-bottom: 14px; }
.site-footer p { font-size: .88rem; line-height: 2; }
.site-footer .button { margin-top: 14px; }

/* ===========================================================================
   Free-drag positioning (toggled from Tweaks panel)
   =========================================================================== */
[data-movable] { transition: outline-color .15s ease, background .15s ease; }
body.move-mode [data-movable] {
  cursor: move; outline: 1.5px dashed color-mix(in srgb, var(--brand) 45%, transparent);
  outline-offset: 6px; border-radius: 8px; touch-action: none;
}
body.move-mode [data-movable]:hover {
  outline-color: var(--brand);
  background: color-mix(in srgb, var(--brand) 7%, transparent);
}
body.move-mode .hero-actions [href],
body.move-mode .cta-actions [href] { pointer-events: none; }
.move-hint {
  position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%);
  background: var(--brand-deep); color: #fff; font-family: var(--font-head); font-weight: 700;
  font-size: .82rem; padding: 9px 18px; border-radius: 999px; z-index: 80;
  box-shadow: var(--shadow); display: none;
}
body.move-mode .move-hint { display: block; }

/* ===========================================================================
   Responsive
   =========================================================================== */
@media (max-width: 900px) {
  :root { --section-gap: 64px; }
  .global-nav, .header-cta { display: none; }
  .mobile-quick-nav {
    display: flex; gap: 8px; overflow-x: auto; padding: 10px 16px;
    background: #fff; border-bottom: 1px solid var(--hair); position: sticky; top: 66px; z-index: 40;
  }
  .mobile-quick-nav a {
    flex: none; font-family: var(--font-head); font-weight: 700; font-size: .82rem;
    background: var(--brand-soft); color: var(--brand); padding: 7px 14px; border-radius: 999px; white-space: nowrap;
  }
  .hero { grid-template-columns: 1fr; padding-top: 32px; }
  .hero-badges { position: static; justify-content: flex-start; grid-template-columns: repeat(2, max-content); margin-bottom: 14px; }
  .worry-layout { grid-template-columns: 1fr; }
  .worry-center { margin: 6px auto; }
  .speech-list:first-child .speech-card::after,
  .speech-list:last-child .speech-card::after { display: none; }
  .result-cards { grid-template-columns: repeat(2, 1fr); }
  .result-card.is-lower { margin-top: 0; }
  .about-inner { grid-template-columns: 1fr; }
  .about-photo image-slot { height: 300px; }
  .thought-grid { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-flow: row; row-gap: 16px; }
  .service-grid article:nth-child(even) { transform: none; }
  .reason-grid { grid-template-columns: 1fr; grid-template-areas: "b" "a" "c" "d" "e"; }
  .works-grid { grid-template-columns: repeat(2, 1fr); }
  .price-grid { grid-template-columns: 1fr; }
  .price-card.recommended { transform: none; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .member-grid { grid-template-columns: 1fr; }
  .member-card { grid-template-columns: 110px 1fr; gap: 16px; padding: 20px; }
  .member-photo image-slot { width: 110px; height: 110px; }
  .site-footer { grid-template-columns: 1fr 1fr; }
  .cta-shop, .cta-people { position: relative; left: auto; right: auto; bottom: auto; }

  .mobile-consult-bar {
    display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96);
    backdrop-filter: blur(8px); border-top: 1px solid var(--hair);
  }
  .mobile-consult-bar .button { flex: 1; padding: 13px; font-size: .92rem; }
  body { padding-bottom: 72px; }
}
@media (max-width: 480px) {
  .result-cards { grid-template-columns: 1fr; }
  .works-grid { grid-template-columns: 1fr; }
  .site-footer { grid-template-columns: 1fr; }
}

/* --- mobile-specific fixes: neutralize desktop-tuned image transforms/sizes --- */
@media (max-width: 900px) {
  /* Direct-edit inline fixed widths/heights don't reflow on phones — override
     them (inline styles require !important) so nothing overflows horizontally. */
  main#top { height: auto !important; }
  .hero.section { width: auto !important; height: auto !important;
    padding-left: 16px !important; padding-right: 16px !important; }
  .hero-copy { height: auto !important; margin-bottom: 20px !important; }
  .worry-section, .service-section, .results-section,
  .reason-section, .about-panel, .cta-section, .price-section,
  .members-section, .works-section, .faq-section, .thought-section {
    height: auto !important;
  }
  .results-lead, #contact-title, .cta-section h2 { width: auto !important; }
  .result-card { width: auto !important; }
  .member-card { width: auto !important; height: auto !important; }
  .about-photo { width: auto !important; }
  .about-photo image-slot { width: 100% !important; height: 280px !important; }
  .about-icons image-slot {
    width: clamp(64px, 22vw, 100px) !important;
    height: clamp(64px, 22vw, 100px) !important;
  }

  .hero-visual { margin-top: 8px; }
  .hero-stage { min-height: clamp(300px, 86vw, 460px); }
  .hero-person-slot {
    width: 72% !important; height: clamp(300px, 78vw, 460px) !important;
    transform: none !important; margin-inline: auto !important;
  }
  .hero-laptop-slot {
    width: 66% !important; height: clamp(170px, 46vw, 270px) !important;
    transform: none !important;
  }
  /* about: neutralize the direct-edit left padding so content fits */
  .about-inner { padding-left: 16px !important; padding-right: 16px !important; }
  /* worry illustration: cap to viewport so it never overflows */
  .worry-center image-slot {
    width: min(78vw, 460px) !important;
    height: calc(min(78vw, 460px) * 0.74) !important;
  }
  /* catch-all: never allow a sliver of horizontal scroll on phones */
  html, body { overflow-x: hidden; }

  /* CTA: hide the (author-zeroed) decorative slots and tighten the big padding */
  .cta-section { padding: 52px 16px !important; }
  .cta-shop, .cta-people { display: none !important; }
}


}

/* ===================== スマホ（≤899px）===================== */
@media (max-width: 899px) {
/* ===========================================================================
   アワノテ — スマホ版サイト（TUNAGサービスサイトの「造り」を踏襲）
   ・追従ヘッダー＋ハンバーガードロワー（下部バーなし）
   ・大きなキャッチコピー＋スマホ画面モックのヒーロー（3バリエーション内蔵）
   ・スクリーンショット風のサービス紹介
   白基調 × アワノテ青。信頼感重視のきれいめ（控えめ角丸・シャープ）。
   =========================================================================== */

:root {
  --brand:      #1456c4;
  --brand-2:    #2f80ed;
  --brand-deep: #0e3a8a;
  --brand-soft: #e9f1ff;
  --brand-tint: #f1f6fd;
  --line:       #06c755;
  --line-deep:  #04a548;
  --accent:     #ffb12b;
  --accent-2:   #ff9012;

  --ink:    #1b2738;
  --ink-2:  #3a4763;
  --muted:  #5d6e85;
  --hair:   #e6ecf4;
  --bg:     #ffffff;
  --bg-alt: #f1f6fd;
  --card:   #ffffff;

  --font-body: "Noto Sans JP", system-ui, sans-serif;
  --font-head: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;

  --r-xs: 10px;
  --r-sm: 14px;
  --r:    16px;
  --r-lg: 20px;

  --shadow-soft: 0 6px 20px -14px rgba(20, 52, 110, .30);
  --shadow-card: 0 14px 36px -22px rgba(20, 52, 110, .40);
  --shadow-pop:  0 24px 56px -24px rgba(20, 52, 110, .50);

  --header-h: 58px;
  --app-w: 480px;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: #dde5f1;
  line-height: 1.78;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); margin: 0; line-height: 1.4; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }

.app {
  position: relative;
  max-width: var(--app-w);
  margin: 0 auto;
  min-height: 100vh;
  background: var(--bg);
  box-shadow: 0 0 60px -22px rgba(13, 32, 70, .5);
  overflow: hidden;
}

/* =============================================================== header */
.app-header {
  position: fixed; top: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: var(--app-w); height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 14px 0 16px;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--hair);
  z-index: 60;
}
.brand { display: flex; align-items: center; gap: 9px; font-family: var(--font-head); font-weight: 800; font-size: 1.12rem; color: var(--brand-deep); letter-spacing: .01em; }
.brand-img { height: 30px; width: auto; display: block; }
.drawer-top .brand-img { height: 32px; }
.brand-logo {
  width: 30px; height: 30px; border-radius: 9px; overflow: hidden;
  background: var(--brand);
  display: grid; place-items: center; color: #fff; font-weight: 900; font-size: .92rem;
  box-shadow: 0 5px 12px -5px rgba(20, 86, 196, .7);
}
.brand-logo image-slot { width: 30px; height: 30px; --slot-frame-bg: transparent; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.hd-cta {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--line); color: #fff; font-family: var(--font-head); font-weight: 800;
  font-size: .82rem; padding: 8px 14px; border-radius: 999px;
  box-shadow: 0 8px 18px -10px rgba(6, 199, 85, .8);
}
.hd-cta svg { width: 16px; height: 16px; }
.hamburger {
  width: 42px; height: 42px; border: none; background: transparent; cursor: pointer;
  border-radius: 12px; display: grid; place-items: center; color: var(--ink);
}
.hamburger:active { background: var(--brand-tint); }
.hamburger svg { width: 24px; height: 24px; }

/* =============================================================== drawer */
.scrim {
  position: fixed; inset: 0; background: rgba(13, 24, 48, .45);
  backdrop-filter: blur(2px); opacity: 0; visibility: hidden;
  transition: opacity .28s ease, visibility .28s ease; z-index: 70;
}
.scrim.open { opacity: 1; visibility: visible; }
.drawer {
  position: fixed; top: 0; right: 0; height: 100%;
  width: min(82%, 360px);
  background: #fff; z-index: 80;
  transform: translateX(105%);
  transition: transform .32s cubic-bezier(.4, 0, .2, 1);
  display: flex; flex-direction: column;
  box-shadow: -20px 0 50px -24px rgba(13, 24, 48, .6);
}
.drawer.open { transform: translateX(0); }
.drawer-top { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; border-bottom: 1px solid var(--hair); }
.drawer-top .brand { font-size: 1.18rem; }
.drawer-close { width: 40px; height: 40px; border: none; background: var(--brand-tint); border-radius: 11px; display: grid; place-items: center; color: var(--ink-2); cursor: pointer; }
.drawer-close svg { width: 22px; height: 22px; }
.drawer nav { flex: 1; overflow-y: auto; padding: 10px 14px; display: flex; flex-direction: column; gap: 2px; }
.drawer nav a { display: flex; align-items: center; gap: 13px; padding: 13px 12px; border-radius: 12px; font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: 1rem; }
.drawer nav a:active { background: var(--brand-tint); }
.drawer nav a .di { width: 24px; height: 24px; color: var(--brand); flex: none; display: grid; place-items: center; }
.drawer nav a .di svg { width: 22px; height: 22px; }
.drawer-cta { padding: 16px 18px calc(18px + env(safe-area-inset-bottom)); border-top: 1px solid var(--hair); }

/* =============================================================== scroll */
.scroll { padding-top: var(--header-h); }

/* =============================================================== buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-head); font-weight: 800; font-size: 1rem;
  padding: 15px 22px; border-radius: 999px; cursor: pointer; border: none;
  width: 100%; transition: transform .12s ease, box-shadow .2s ease;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn svg { width: 19px; height: 19px; flex: none; }
.btn-line { background: var(--line); color: #fff; box-shadow: 0 14px 26px -14px rgba(6, 199, 85, .8); }
.btn-brand { background: var(--brand); color: #fff; box-shadow: 0 14px 26px -14px rgba(20, 86, 196, .8); }
.btn-ghost { background: #fff; color: var(--brand); border: 1.6px solid var(--brand); }
.btn-light { background: #fff; color: var(--line-deep); box-shadow: 0 12px 26px -16px rgba(13, 32, 70, .6); }
.btn-outline-white { background: rgba(255,255,255,.12); color: #fff; border: 1.6px solid rgba(255,255,255,.6); }

/* =============================================================== hero */
.hero {
  position: relative; overflow: hidden;
  background: var(--brand-2);
  padding: 32px 22px 40px;
}
.hero-waves { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 300px; z-index: 0; pointer-events: none; }
.hero-inner { position: relative; z-index: 2; }
.hero-title {
  margin: 0 0 22px; display: flex; flex-direction: column; align-items: flex-start; gap: 11px;
}
.hero-title .ht-lead { font-weight: 900; font-size: 1.62rem; line-height: 1.3; color: #fff; letter-spacing: .06em; }
.hero-title .ht-box {
  display: inline-block; background: #fff; color: var(--brand);
  font-weight: 900; font-size: 1.96rem; line-height: 1.24; letter-spacing: .06em;
  padding: 5px 16px; border-radius: 7px; box-shadow: 0 12px 26px -16px rgba(0, 0, 0, .45);
}
.hero-title .spark {
  color: var(--accent-2); font-style: normal;
  text-shadow: 0 1px 0 rgba(0, 0, 0, .04);
}
.hero-lead { color: rgba(255, 255, 255, .94); font-size: .95rem; line-height: 1.95; margin: 0 0 22px; }
.hero-badges { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-wrap: wrap; gap: 7px; }
.hero-badges li {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--font-head); font-weight: 700; font-size: .72rem; color: #fff;
  background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .3); border-radius: 999px;
  padding: 6px 11px; white-space: nowrap;
}
.hero-badges svg { width: 13px; height: 13px; color: var(--accent); flex: none; }
.hero-actions { display: flex; flex-direction: column; gap: 11px; }

/* =============================================================== bridge (解決) */
.bridge { padding: 40px 20px 8px; text-align: center; background: #fff; }
.bridge-head { font-weight: 900; font-size: 1.66rem; line-height: 1.5; color: var(--ink); display: flex; flex-direction: column; align-items: center; gap: 6px; }
.bridge-row { display: block; text-align: center; }
.bridge-head .bridge-row:first-child { display: inline-flex; align-items: center; justify-content: center; }
.bridge-logo { width: 34px; height: 34px; object-fit: contain; margin-right: 7px; vertical-align: middle; }
.bridge-head .bn { font-weight: 900; }
.bridge-head .em { color: var(--brand); }
.bridge-row.solve { position: relative; display: inline-block; color: var(--brand); font-size: 1.9rem; margin-top: 2px; padding-bottom: 12px; }
.bridge-row.solve .swish { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: 86%; height: 20px; }
.bridge-device { position: relative; margin-top: 20px; display: flex; justify-content: center; align-items: flex-end; min-height: 340px; }
.bridge-device::before {
  content: ""; position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%);
  width: 270px; height: 270px; border-radius: 50%;
  background: var(--brand-soft); z-index: 0;
}
.bridge-device::after {
  content: ""; position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%);
  width: 300px; height: 300px; border-radius: 50%;
  border: 1.5px dashed color-mix(in srgb, var(--brand) 25%, transparent); z-index: 0;
}
.bridge-device img {
  position: relative; z-index: 1;
  width: 82%; max-width: 330px; margin: 0 auto; display: block;
  filter: drop-shadow(0 26px 30px rgba(20, 52, 110, .3));
}

/* =============================================================== sections */
.sec { padding: 46px 18px; }
.sec.alt { background: var(--bg-alt); }
.sec-head { margin-bottom: 22px; }
.sec-eyebrow { display: block; font-family: var(--font-head); font-weight: 800; font-size: .76rem; letter-spacing: .16em; color: var(--brand); margin-bottom: 8px; }
.sec-title { font-weight: 900; font-size: 1.5rem; line-height: 1.46; color: var(--ink); }
.sec-title .em { color: var(--brand); }
.sec-sub { margin-top: 12px; color: var(--muted); font-size: .92rem; line-height: 1.85; }

/* worry */
.worry-head { display: flex; align-items: center; gap: 10px; }
.worry-head > div { flex: 1; min-width: 0; }
.worry-man { width: 150px; flex: none; align-self: flex-end; }
.worry-list { display: flex; flex-direction: column; gap: 9px; }
.worry-item { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--hair); border-radius: var(--r-sm); padding: 13px 15px; box-shadow: var(--shadow-soft); }
.worry-item .q { width: 28px; height: 28px; flex: none; border-radius: 9px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; font-family: var(--font-head); font-weight: 900; font-size: .82rem; }
.worry-item p { font-weight: 600; font-size: .93rem; color: var(--ink-2); line-height: 1.55; }

/* benefit / results */
.bn-list { display: flex; flex-direction: column; gap: 11px; }
.bn-item { display: flex; gap: 13px; align-items: flex-start; padding: 16px; background: #fff; border: 1px solid var(--hair); border-radius: var(--r); box-shadow: var(--shadow-soft); }
.bn-item .ic { width: 56px; height: 56px; flex: none; border-radius: 13px; overflow: hidden; background: var(--brand-soft); }
.bn-item .ic image-slot { width: 56px; height: 56px; display: block; --slot-frame-bg: var(--brand-soft); }
.bn-item h3 { font-size: 1.04rem; font-weight: 800; color: var(--ink); margin: 2px 0 5px; }
.bn-item p { color: var(--muted); font-size: .88rem; line-height: 1.7; }

/* about */
.about-card { padding: 0; }
.about-card > p { color: var(--ink-2); font-size: .94rem; line-height: 1.95; }
.about-msg { font-family: var(--font-head); font-weight: 800; color: var(--brand) !important; font-size: 1.2rem !important; margin: 16px 0 0 !important; }
.about-chips { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 20px; }
.about-chip { flex: 1; text-align: center; }
.about-chip .ci { width: 64px; aspect-ratio: 1 / 1; margin: 0 auto 8px; overflow: visible; background: transparent; }
.about-chip .ci image-slot { width: 100%; height: 100%; display: block; --slot-frame-bg: transparent; }
.about-chip span { font-weight: 800; font-size: .9rem; font-family: var(--font-head); color: var(--ink); }
.about-x { font-family: var(--font-head); font-weight: 900; color: var(--brand-2); font-size: 1.1rem; }

/* thought */
.thought-list { display: flex; flex-direction: column; gap: 11px; }
.thought-card { background: #fff; border: 1px solid var(--hair); border-left: 5px solid var(--brand); border-radius: var(--r); padding: 18px 20px; box-shadow: var(--shadow-soft); }
.thought-card:nth-child(2) { border-left-color: var(--brand-2); }
.thought-card:nth-child(3) { border-left-color: var(--brand-deep); }
.thought-card small { font-family: var(--font-head); font-weight: 800; letter-spacing: .14em; color: var(--brand); font-size: .74rem; }
.thought-card h3 { font-size: 1.12rem; font-weight: 800; margin-top: 8px; line-height: 1.55; color: var(--ink); }

/* service — シンプルな項目フレーム */
.svc-list { display: flex; flex-direction: column; gap: 9px; }
.svc-row { display: flex; align-items: center; gap: 14px; padding: 15px; background: #fff; border: 1px solid var(--hair); border-radius: var(--r); box-shadow: var(--shadow-soft); }
.svc-row > div { flex: 1; min-width: 0; }
.svc-no { flex: none; width: 44px; height: 44px; border-radius: 13px; background: var(--brand); color: #fff; font-family: var(--font-head); font-weight: 900; font-size: 1.06rem; display: grid; place-items: center; }
.svc-row h3 { font-size: 1.06rem; font-weight: 800; color: var(--ink); margin-bottom: 3px; }
.svc-row p { color: var(--muted); font-size: .86rem; line-height: 1.6; }
.svc-row .chev { margin-left: auto; color: var(--brand); flex: none; }
.svc-row .chev svg { width: 18px; height: 18px; }

/* reason */
.reason-featured { border-radius: var(--r-lg); padding: 22px 20px; background: var(--brand); color: #fff; position: relative; border: 1.5px solid #f4cf6a; box-shadow: 0 0 0 1px rgba(212,167,58,.4), 0 0 24px -2px rgba(212,167,58,.7), 0 0 48px -6px rgba(212,167,58,.45), var(--shadow-card); margin-bottom: 11px; }
.reason-featured .r-ic { width: 50px; height: 50px; border-radius: 13px; overflow: hidden; background: transparent; display: grid; place-items: center; }
.reason-featured .r-ic img { width: 100%; height: 100%; object-fit: contain; display: block; }
.reason-featured .r-ic image-slot { width: 50px; height: 50px; display: block; --slot-frame-bg: #fff; --slot-ink: var(--brand); --slot-ring: var(--brand); }
.reason-featured h3 { font-weight: 900; font-size: 1.3rem; margin: 13px 0 7px; }
.reason-featured p { color: rgba(255,255,255,.92); font-size: .9rem; line-height: 1.75; }
.reason-featured .price-tag { display: inline-block; margin-top: 14px; background: #fff; color: var(--brand); font-family: var(--font-head); font-weight: 800; font-size: .9rem; padding: 8px 16px; border-radius: 999px; }
.reason-featured .ribbon { position: absolute; top: 18px; right: 18px; background: #fff; color: var(--brand); font-family: var(--font-head); font-weight: 800; font-size: .68rem; letter-spacing: .08em; padding: 4px 11px; border-radius: 999px; }
.reason-list { display: flex; flex-direction: column; gap: 9px; }
.reason-row { display: flex; gap: 13px; align-items: flex-start; padding: 15px; background: #fff; border: 1px solid var(--hair); border-radius: var(--r); box-shadow: var(--shadow-soft); }
.reason-row .r-ic { width: 50px; height: 50px; flex: none; border-radius: 12px; overflow: hidden; background: #fff; }
.reason-row .r-ic image-slot { width: 50px; height: 50px; display: block; --slot-frame-bg: #fff; --slot-ink: var(--brand); --slot-ring: var(--brand); }
.reason-row h3 { font-size: 1rem; font-weight: 800; margin: 1px 0 4px; line-height: 1.45; color: var(--ink); }
.reason-row p { color: var(--muted); font-size: .87rem; line-height: 1.65; }

/* works — 横スクロール（Web版の縦横比） */
.rail-wrap { position: relative; }
.rail-next {
  position: absolute; top: 50%; right: 8px; transform: translateY(-50%);
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--hair);
  background: rgba(255, 255, 255, .94); backdrop-filter: blur(4px);
  display: grid; place-items: center; color: var(--brand); cursor: pointer;
  box-shadow: var(--shadow-card); z-index: 3;
  transition: opacity .25s ease, transform .15s ease;
}
.rail-next svg { width: 22px; height: 22px; }
.rail-next:active { transform: translateY(-50%) scale(.92); }
.rail-next[hidden] { opacity: 0; pointer-events: none; }
.works-rail { display: flex; gap: 13px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding: 4px 18px 14px; margin: 0 -18px; scrollbar-width: none; }
.works-rail::-webkit-scrollbar { display: none; }
.work-card { flex: 0 0 78%; scroll-snap-align: center; border-radius: var(--r); overflow: hidden; border: 1px solid var(--hair); background: #fff; box-shadow: var(--shadow-card); }
.work-card image-slot { width: 100%; aspect-ratio: 16 / 10; display: block; --slot-frame-bg: var(--brand-soft); }
.work-card figcaption { padding: 12px 14px; font-family: var(--font-head); font-weight: 700; font-size: .9rem; color: var(--ink-2); }
.works-note, .member-note { margin-top: 16px; color: var(--muted); font-size: .86rem; line-height: 1.7; }

/* price */
.price-list { display: flex; flex-direction: column; gap: 12px; }
.price-card { position: relative; padding: 20px; text-align: center; background: #fff; border: 1px solid var(--hair); border-radius: var(--r-lg); box-shadow: var(--shadow-soft); }
.price-card h3 { font-weight: 800; font-size: 1.08rem; color: var(--ink); }
.price-card .price { margin: 6px 0 10px; font-family: var(--font-head); color: var(--brand); font-weight: 700; font-size: 1rem; }
.price-card .price strong { font-size: 2.4rem; line-height: 1; }
.price-card .desc { color: var(--muted); font-size: .87rem !important; line-height: 1.7; }
.price-card.recommended { background: var(--brand); color: #fff; border-color: #f4cf6a; box-shadow: 0 0 0 1px rgba(212,167,58,.4), 0 0 24px -2px rgba(212,167,58,.7), 0 0 48px -6px rgba(212,167,58,.45), var(--shadow-pop); }
.price-card.recommended h3 { color: #fff; }
.price-card.recommended .price { color: #cfe0ff; }
.price-card.recommended .desc { color: rgba(255,255,255,.9) !important; }
.price-card .ribbon { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); background: var(--brand); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: .74rem; padding: 5px 16px; border-radius: 999px; box-shadow: 0 8px 16px -8px rgba(20, 86, 196, .7); }
.price-card.recommended .ribbon { background: #fff; color: var(--brand); }

.process { margin-top: 26px; background: #fff; padding: 20px; }
.process-title { font-family: var(--font-head); font-weight: 800; font-size: 1.04rem; color: var(--ink); text-align: center; margin-bottom: 16px; }
.process-note { margin: 18px 0 0; color: var(--muted); font-size: .86rem; line-height: 1.7; text-align: center; }
.step-list { display: flex; flex-direction: column; }
.step { display: flex; gap: 14px; padding-bottom: 16px; position: relative; }
.step:last-child { padding-bottom: 0; }
.step .sn { flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); font-family: var(--font-head); font-weight: 800; display: grid; place-items: center; font-size: .95rem; z-index: 1; }
.step::before { content: ""; position: absolute; left: 15px; top: 32px; bottom: 0; width: 2px; background: var(--hair); }
.step:last-child::before { display: none; }
.step h4 { font-weight: 800; font-size: .98rem; margin: 4px 0 2px; }
.step p { color: var(--muted); font-size: .85rem; line-height: 1.6; }

/* members */
.member-list { display: flex; flex-direction: column; gap: 12px; }
.member-row { display: flex; gap: 14px; align-items: center; padding: 16px; background: #fff; border: 1px solid var(--hair); border-radius: var(--r-lg); box-shadow: var(--shadow-soft); }
.member-photo { flex: none; width: 72px; height: 72px; border-radius: 50%; overflow: hidden; box-shadow: var(--shadow-soft); }
.member-photo image-slot { width: 72px; height: 72px; display: block; --slot-frame-bg: var(--brand-soft); }
.member-row .role { font-size: .72rem; font-weight: 800; color: var(--brand); }
.member-row h3 { font-weight: 800; font-size: 1.12rem; margin: 3px 0 4px; }
.member-row .bio { color: var(--muted); font-size: .82rem; line-height: 1.6; }
.member-row .skills { margin-top: 7px; font-size: .74rem; font-weight: 700; color: var(--brand-2); }

/* faq */
.faq-list { display: flex; flex-direction: column; gap: 8px; }
details.faq { background: #fff; border: 1px solid var(--hair); border-radius: var(--r-sm); overflow: hidden; box-shadow: var(--shadow-soft); }
details.faq summary { list-style: none; cursor: pointer; padding: 15px 16px; display: flex; align-items: center; gap: 11px; font-family: var(--font-head); font-weight: 700; font-size: .92rem; color: var(--ink); }
details.faq summary::-webkit-details-marker { display: none; }
details.faq .qm { flex: none; width: 24px; height: 24px; border-radius: 8px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; font-family: var(--font-head); font-weight: 900; font-size: .8rem; }
details.faq .pl { margin-left: auto; color: var(--brand); transition: transform .25s ease; flex: none; }
details.faq[open] .pl { transform: rotate(45deg); }
details.faq .ans { padding: 0 16px 16px 51px; color: var(--muted); font-size: .87rem; line-height: 1.75; }

/* cta */
.cta { margin: 8px 16px 22px; border-radius: var(--r-lg); padding: 32px 22px; text-align: center; color: #fff; background: var(--brand); box-shadow: var(--shadow-card); position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; top: -50px; right: -40px; width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.16), transparent 70%); }
.cta h2 { position: relative; font-weight: 900; font-size: 1.4rem; line-height: 1.5; margin-bottom: 12px; }
.cta p { position: relative; color: rgba(255,255,255,.9); font-size: .9rem; line-height: 1.8; margin-bottom: 20px; }
.cta .btn { position: relative; }

/* footer */
.app-footer { padding: 30px 20px 30px; background: #0f1d36; color: #9fb0cc; }
.app-footer .f-brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 800; font-size: 1.08rem; color: #fff; }
.app-footer .f-brand .f-logo { width: 36px; height: 36px; object-fit: contain; display: block; }
.app-footer .f-lead { margin: 13px 0 18px; font-size: .82rem; line-height: 1.85; }
.app-footer .f-block { padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, .1); }
.app-footer .f-block h4 { font-size: .82rem; font-weight: 800; color: #fff; margin-bottom: 6px; letter-spacing: .03em; }
.app-footer .f-block p { font-size: .82rem; line-height: 1.85; }
.app-footer .f-copy { margin-top: 16px; font-size: .72rem; color: #6f82a3; text-align: center; }

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto; }
  .btn, .drawer, .scrim { transition: none; }
}

/* default: desktop nav hidden (mobile-first) */
.desktop-nav { display: none; }

/* ===========================================================================
   ※旧・スマホ単体時のタブレット拡張（≥860px）はPCデザインに統合したため無効化。
      スマホデザインは 0〜899px で一貫してスマホ枠（480px中央）を維持する。
   =========================================================================== */
@media (min-width: 99999px) {
  body { background: #fff; line-height: 1.8; }

  .app {
    --header-h: 74px;
    --content: 1120px;
    max-width: none; width: 100%;
    box-shadow: none; overflow: visible;
  }

  /* full-bleed背景＋中央寄せコンテンツのための左右パディング */
  .hero, .bridge, .sec, .app-footer {
    padding-left: max(48px, calc((100% - var(--content)) / 2));
    padding-right: max(48px, calc((100% - var(--content)) / 2));
  }

  /* ---- header：横並びナビ ---- */
  .app-header {
    max-width: none; width: 100%;
    padding-left: max(48px, calc((100% - var(--content)) / 2));
    padding-right: max(48px, calc((100% - var(--content)) / 2));
    height: var(--header-h);
  }
  .brand-img { height: 38px; }
  .hamburger { display: none; }
  .desktop-nav {
    display: flex; align-items: center; gap: 26px; margin: 0 auto 0 44px;
  }
  .desktop-nav a {
    font-family: var(--font-head); font-weight: 700; font-size: .95rem; color: var(--ink-2);
    position: relative; padding: 6px 0; transition: color .15s ease;
  }
  .desktop-nav a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
    background: var(--brand); transform: scaleX(0); transform-origin: center; transition: transform .2s ease;
  }
  .desktop-nav a:hover { color: var(--brand); }
  .desktop-nav a:hover::after { transform: scaleX(1); }
  .hd-cta { font-size: .92rem; padding: 11px 20px; }
  .hd-cta svg { width: 18px; height: 18px; }

  /* ---- hero ---- */
  .hero { padding-top: 84px; padding-bottom: 92px; }
  .hero-inner { max-width: 820px; margin: 0 auto; text-align: center; }
  .hero-title { align-items: center; gap: 14px; margin-bottom: 26px; }
  .hero-title .ht-lead { font-size: 2.3rem; }
  .hero-title .ht-box { font-size: 2.9rem; padding: 6px 22px; }
  .hero-lead { font-size: 1.08rem; max-width: 680px; margin: 0 auto 26px; }
  .hero-badges { justify-content: center; gap: 10px; margin-bottom: 30px; }
  .hero-badges li { font-size: .9rem; padding: 9px 16px; }
  .hero-badges svg { width: 16px; height: 16px; }
  .hero-actions { flex-direction: row; justify-content: center; gap: 14px; }
  .hero-actions .btn { width: auto; padding-left: 34px; padding-right: 34px; font-size: 1.05rem; }

  /* ---- bridge ---- */
  .bridge { padding-top: 88px; padding-bottom: 24px; }
  .bridge-head { font-size: 2.4rem; }
  .bridge-row.solve { font-size: 2.7rem; }
  .bridge-logo { width: 46px; height: 46px; }
  .bridge-device { min-height: 460px; margin-top: 28px; }
  .bridge-device::before { width: 380px; height: 380px; }
  .bridge-device::after { width: 420px; height: 420px; }
  .bridge-device img { width: 70%; max-width: 640px; }

  /* ---- 共通セクション見出し ---- */
  .sec { padding-top: 84px; padding-bottom: 84px; }
  .sec-head { text-align: center; max-width: 760px; margin-left: auto; margin-right: auto; margin-bottom: 44px; }
  .sec-title { font-size: 2.1rem; }
  .sec-sub { font-size: 1rem; }

  /* worry：見出し横にイラスト、項目は3カラム */
  .worry-head { max-width: 920px; margin: 0 auto 40px; justify-content: center; gap: 24px; }
  .worry-head > div { flex: none; text-align: left; }
  .worry-man { width: 190px; }
  .worry-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }

  /* benefit：2カラム */
  .bn-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }

  /* about：中央寄せ・チップは大きく */
  .about-card { max-width: 820px; margin: 0 auto; text-align: center; }
  .about-card > p { font-size: 1.02rem; }
  .about-chips { gap: 24px; margin-top: 28px; }
  .about-chip { flex: none; }
  .about-chip .ci { width: 110px; }
  .about-chip span { font-size: 1.05rem; }
  .about-x { font-size: 1.6rem; }

  /* thought：3カラム */
  .thought-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
  .thought-card { padding: 24px 24px; }
  .thought-card h3 { font-size: 1.2rem; }

  /* service：2カラム */
  .svc-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .svc-row { padding: 18px 20px; }
  .svc-row h3 { font-size: 1.12rem; }

  /* reason：特集をフル幅、項目は2カラム */
  .reason-featured { display: flex; flex-direction: column; align-items: flex-start; padding: 30px 32px; }
  .reason-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .reason-row { padding: 18px 20px; }

  /* works：横スクロール→4カラムグリッド */
  .rail-next { display: none; }
  .works-rail {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
    overflow: visible; margin: 0; padding: 4px 0 8px; scroll-snap-type: none;
  }
  .work-card { flex: none; }
  .works-note, .member-note { text-align: center; font-size: .95rem; }

  /* price：3カラム横並び＋フロー横並び */
  .price-list { flex-direction: row; align-items: stretch; gap: 18px; }
  .price-card { flex: 1; padding: 30px 24px; }
  .price-card.recommended { transform: translateY(-8px); }
  .process { margin-left: calc(-1 * max(48px, (100% - var(--content)) / 2)); margin-right: calc(-1 * max(48px, (100% - var(--content)) / 2)); padding: 44px max(48px, calc((100% - var(--content)) / 2)); margin-top: 56px; }
  .process-title { font-size: 1.3rem; margin-bottom: 28px; }
  .step-list { flex-direction: row; gap: 8px; }
  .step { flex: 1; flex-direction: column; text-align: center; align-items: center; gap: 8px; padding-bottom: 0; }
  .step::before { left: 50%; right: auto; top: 16px; bottom: auto; width: calc(100% - 32px); height: 2px; transform: translateX(0); }
  .step .sn { width: 36px; height: 36px; }

  /* members：2カラム */
  .member-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .member-row { padding: 22px; }
  .member-photo, .member-photo image-slot { width: 88px; height: 88px; }

  /* faq：2カラム */
  .faq-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; align-items: start; }

  /* cta：中央のワイドカード */
  .cta { max-width: 1000px; margin: 16px auto 40px; padding: 56px 48px; }
  .cta h2 { font-size: 2rem; }
  .cta p { font-size: 1.05rem; }
  .cta .btn { width: auto; min-width: 320px; margin: 0 auto; }

  /* footer：多カラム */
  .app-footer {
    padding-top: 48px; padding-bottom: 40px;
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 8px 44px; align-items: start;
  }
  .app-footer .f-brand { grid-column: 1; grid-row: 1; }
  .app-footer .f-lead { grid-column: 1; grid-row: 2; margin: 12px 0 0; max-width: 380px; }
  .app-footer .f-block { border-top: none; padding: 0; }
  .app-footer .f-block:nth-child(3) { grid-column: 2; grid-row: 1 / span 2; }
  .app-footer .f-block:nth-child(4) { grid-column: 3; grid-row: 1 / span 2; }
  .app-footer .f-block:nth-child(5) { grid-column: 4; grid-row: 1 / span 2; }
  .app-footer .f-copy { grid-column: 1 / -1; grid-row: 3; text-align: left; border-top: 1px solid rgba(255,255,255,.1); padding-top: 18px; margin-top: 22px; }
}

/* 広い画面拡張も無効化（PCデザインが担当） */
@media (min-width: 99999px) {
  .hero-title .ht-box { font-size: 3.2rem; }
  .sec-title { font-size: 2.3rem; }
}

}
