/* イタバ公式サイト（日本語）共通 CSS。DESIGN.md のトークンどおり。2026-11-21。 */
:root {
  --bg: #FFF6E9; --surface: #FFFFFF; --ink: #3D2A33; --ink-sub: #6E5560;
  --link: #8F1F4A; --accent: #C8326A; --accent-soft: #FFE3EC;
  --dot1: #FFD3E0; --dot2: #FFE6B8; --line-deco: #EFD9E0; --line-part: #94566F;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-size: 17px; line-height: 1.75;
}
img { max-width: 100%; display: block; }
a { color: var(--link); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: #5E1230; }
a:focus-visible, summary:focus-visible, .badge:focus-visible, .table-wrap:focus-visible { outline: 2px solid #000; box-shadow: 0 0 0 4px #FFD43D; }
.nw { white-space: nowrap; }
.dots {
  background-color: var(--bg);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='48' height='48'><circle cx='12' cy='12' r='5' fill='%23FFD3E0'/><circle cx='36' cy='36' r='5' fill='%23FFE6B8'/></svg>");
}

/* ヘッダ */
.site-header { display: flex; flex-wrap: wrap; align-items: center; gap: 0 16px; padding: 12px 16px; max-width: 1120px; margin: 0 auto; }
.site-header .logo { display: inline-flex; align-items: center; min-height: 44px; }
.site-header .logo img { width: 240px; height: auto; }
@media (min-width: 768px) { .site-header .logo img { width: 320px; } }
.site-header nav { display: flex; flex-wrap: wrap; gap: 0 16px; margin-left: auto; font-size: 16px; }
.site-header nav a { display: inline-flex; align-items: center; min-height: 44px; }
.site-header nav a[aria-current="page"] { font-weight: 700; text-decoration: none; }

/* 見出し・本文 */
h1 { margin: 0 0 24px; font-size: 32px; line-height: 1.4; font-weight: 700; }
h2 { margin: 0 0 16px; font-size: 24px; line-height: 1.4; font-weight: 700; }
h3 { margin: 32px 0 8px; font-size: 20px; line-height: 1.5; font-weight: 700; }
p { margin: 0 0 16px; }
.lead { max-width: 34em; margin: 0 0 24px; }
.note { margin: 0 0 8px; font-size: 15px; color: var(--ink-sub); }
.container { max-width: 680px; margin: 0 auto; padding: 0 24px; }
.wide { max-width: 1040px; margin: 0 auto; padding: 0 24px; }
section.block { padding: 48px 0; }
section.block + section.block { border-top: 1px solid var(--line-deco); }
ul.plain, ol.steps { margin: 0 0 16px; padding-left: 1.4em; }
ul.plain li, ol.steps li { margin: 0 0 8px; }
.callout { margin: 0 0 24px; padding: 16px 20px; background: var(--accent-soft); border-radius: 12px; }
.callout p:last-child { margin-bottom: 0; }

/* ストアの公式バッジ（Apple・Google の画像をそのまま使う。形・色は変えない） */
.badges { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0 0 8px; }
.badge { display: inline-flex; align-items: center; min-height: 52px; }
.badge img { display: block; height: auto; }

/* ファーストビュー（案C） */
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 24px; max-width: 1120px; margin: 0 auto; padding: 16px 24px 48px; }
.hero .copy { background: var(--bg); padding: 24px; border-radius: 16px; max-width: 640px; }
.hero .visual { display: flex; justify-content: center; align-items: flex-end; min-height: 340px; }
.hero .visual .akane { position: relative; z-index: 2; flex: 0 0 auto; height: 340px; width: auto; margin-right: -28px; }
.hero .visual .phone { position: relative; z-index: 1; flex: 0 0 auto; width: 200px; }
.phone { aspect-ratio: 9 / 15; border: 8px solid #F4A6C0; border-radius: 36px; overflow: hidden; background: #fff; }
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.strip { background: var(--surface); border-top: 1px solid var(--line-deco); border-bottom: 1px solid var(--line-deco); }
.strip ul { list-style: none; margin: 0 auto; padding: 16px 24px; max-width: 1120px; display: grid; gap: 0 32px; grid-template-columns: 1fr; font-size: 16px; }
.strip li a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }

/* できること */
.feature-main { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: center; margin-bottom: 32px; }
.feature-main .phone { width: 220px; }
.feature-list { list-style: none; margin: 0; padding: 0; }
.feature-list li { padding: 16px 0; border-top: 1px solid var(--line-deco); }
.feature-list strong { display: block; margin-bottom: 4px; }

/* 表 */
.table-wrap { overflow-x: auto; margin: 0 0 32px; border: 1px solid var(--line-part); border-radius: 8px; background: var(--surface); }
table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: 16px; line-height: 1.5; }
caption { text-align: left; padding: 12px 16px; font-weight: 700; }
th, td { padding: 10px 12px; border-top: 1px solid var(--line-deco); text-align: right; font-variant-numeric: tabular-nums; }
thead th { border-top: 0; background: var(--accent-soft); }
th[scope="row"], thead th:first-child { text-align: left; }
tbody th { font-weight: 400; background: var(--surface); }

/* よくある質問 */
details { border-top: 1px solid var(--line-part); }
details:last-of-type { border-bottom: 1px solid var(--line-part); }
summary { display: flex; align-items: center; min-height: 52px; padding: 8px 0; cursor: pointer; font-weight: 700; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "＋"; margin-left: auto; padding-left: 16px; font-weight: 400; }
details[open] summary::after { content: "－"; }
details > div { padding: 0 0 16px; }

/* フッター */
.site-footer { border-top: 1px solid var(--line-deco); padding: 32px 24px 48px; font-size: 15px; color: var(--ink-sub); }
.site-footer .inner { max-width: 1040px; margin: 0 auto; }
.site-footer ul { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-wrap: wrap; gap: 0 24px; }
.site-footer li a { display: inline-flex; align-items: center; min-height: 44px; }
.proto { margin: 16px 0 0; font-size: 15px; color: var(--ink-sub); }

@media (min-width: 768px) {
  h1 { font-size: 40px; }
  h2 { font-size: 28px; }
  .site-header { padding: 16px 24px; }
  .site-header nav { gap: 0 24px; }
  .hero-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; padding: 32px 24px 72px; }
  .hero .copy { padding: 32px; }
  .hero .visual { min-height: 440px; }
  .hero .visual .akane { height: 420px; margin-right: -36px; }
  .hero .visual .phone { width: 220px; }
  .strip ul { grid-template-columns: repeat(4, auto); justify-content: space-between; }
  .feature-main { grid-template-columns: 260px 1fr; gap: 48px; }
  .feature-main .phone { width: 260px; }
  section.block { padding: 72px 0; }
}

@media (min-width: 1024px) {
  .hero .visual { min-height: 520px; }
  .hero .visual .akane { height: 500px; margin-right: -44px; }
  .hero .visual .phone { width: 270px; }
}

/* ===== 11/21 装飾の追加（キャラ・缶バッジ・画面写真） ===== */
/* 画面写真の枠（実画面そのまま・縦長） */
.shot { margin: 0; width: 220px; border: 8px solid #F4A6C0; border-radius: 32px; overflow: hidden; background: #fff; }
.shot img { width: 100%; height: auto; }
.shot-cap { margin: 8px 0 0; font-size: 15px; color: var(--ink-sub); text-align: center; }
figure.fig { margin: 0; }
/* できること：項目ごとに画面写真を左右交互に */
.feat { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: center; padding: 32px 0; border-top: 1px solid var(--line-deco); }
.feat .shot, .feat figure.fig { justify-self: center; }
.feat h3 { margin: 0 0 8px; font-size: 20px; line-height: 1.5; }
.feat p { margin: 0 0 12px; }
.feat p:last-child { margin-bottom: 0; }
.feat.noimg { grid-template-columns: 1fr; }
/* 缶バッジの飾り（丸い絵を重ねて並べる） */
.garland { display: flex; justify-content: center; max-width: 1120px; margin: 0 auto; padding: 0 24px 24px; }
.garland img { width: 52px; height: 52px; border-radius: 50%; border: 3px solid #fff; background: #fff; margin-left: -10px; }
.garland img:first-child { margin-left: 0; }
/* 座っているアクスタ（アカネ・アオイ）の飾り */
.sitter { display: none; }
.strip { position: relative; }
/* 脇に添えるちびキャラ */
.side-chibi { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: center; }
.side-chibi .chibi { justify-self: center; width: 160px; margin: 0; }
.side-chibi .chibi img { width: 100%; height: auto; border-radius: 16px; border: 2px solid var(--line-deco); background: #fff; }
/* 最後の呼びかけ：アクスタ2体を座らせる */
.cta-block { position: relative; }
.cta-block .sitters { display: flex; justify-content: flex-start; align-items: flex-end; gap: 12px; margin-top: 16px; }
.cta-block .sitters img { height: 140px; width: auto; }
/* 説明ページの図（横長の切り抜き・横に並べる） */
.figs { display: grid; grid-template-columns: 1fr; gap: 16px; margin: 0 0 24px; }
.figs.three { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.figs.three .shot { width: 100%; border-width: 4px; border-radius: 16px; }
.figs.three .shot-cap { font-size: 15px; }
.crop { margin: 0; border: 1px solid var(--line-part); border-radius: 12px; overflow: hidden; background: #fff; }
.crop img { width: 100%; height: auto; }
.crop figcaption, figure.fig figcaption { padding: 8px 12px; font-size: 15px; color: var(--ink-sub); }
.lead-chibi { display: grid; grid-template-columns: 1fr; gap: 16px; align-items: center; margin: 0 0 24px; }
.lead-chibi .chibi { width: 140px; margin: 0; }
.lead-chibi .chibi img { width: 100%; height: auto; border-radius: 16px; border: 2px solid var(--line-deco); background: #fff; }
.lead-chibi p { margin: 0; }

@media (min-width: 768px) {
  .shot { width: 240px; }
  .feat { grid-template-columns: 1fr 260px; gap: 48px; padding: 48px 0; }
  .feat.rev { grid-template-columns: 260px 1fr; }
  .feat.rev .shot, .feat.rev figure.fig { order: -1; }
  .feat.noimg { grid-template-columns: 1fr; }
  .garland img { width: 72px; height: 72px; margin-left: -14px; }
  .garland { justify-content: flex-start; }
  .side-chibi { grid-template-columns: 1fr 180px; gap: 32px; }
  .side-chibi .chibi { width: 180px; }
  .side-chibi.rev { grid-template-columns: 180px 1fr; }
  .side-chibi.rev .chibi { order: -1; }
  .cta-block .sitters img { height: 200px; }
  .figs { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  .lead-chibi { grid-template-columns: 1fr 160px; gap: 32px; }
  .lead-chibi .chibi { width: 160px; }
}
.figs.three .crop { border-width: 1px; border-radius: 8px; }
.figs.three .crop figcaption { padding: 6px 4px; font-size: 15px; text-align: center; line-height: 1.4; }

/* 検証（11/21）の指摘への対応 */
.hero h1 { text-wrap: balance; }
@media (max-width: 359px) { .garland img:nth-child(n+6) { display: none; } }
@media (min-width: 360px) { .hero h1 .nw1 { white-space: nowrap; } }
@media (min-width: 768px) and (max-width: 1023px) { .hero h1 { font-size: 36px; } }

/* 11/21 座るアクスタはアオイとアカネを同じ大きさで横に並べる（ファーストビューの右・1024px 以上）。ストリップ上のアカネは廃止 */
@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: 0.9fr 1.1fr; }
  .hero .visual .akane { height: 400px; margin-right: -36px; }
  .hero .visual .phone { width: 225px; }
  .hero .visual .sitter { display: block; position: relative; z-index: 2; flex: 0 0 auto; height: 220px; width: auto; margin-left: -26px; }
  .hero .visual .sitter-b { height: 265px; }
}
@media (min-width: 1280px) {
  .hero .visual .akane { height: 440px; margin-right: -40px; }
  .hero .visual .phone { width: 245px; }
  .hero .visual .sitter { height: 242px; margin-left: -28px; }
  .hero .visual .sitter-b { height: 290px; }
}
/* できること：題名を見出しにして、後ろに線を引く */
h3.ttl { display: flex; align-items: center; gap: 16px; margin: 0 0 12px; font-size: 24px; line-height: 1.4; }
h3.ttl::after { content: ""; flex: 1 1 auto; min-width: 24px; border-top: 2px solid #F4A6C0; }
.feat { padding: 32px 0; }
@media (min-width: 768px) { .feat { padding: 32px 0; gap: 40px; } h3.ttl { font-size: 26px; } }

/* 下の節も、上（できること）と同じ幅（.wide＝1040px）にそろえる。文章の行は長くなりすぎないよう 46em まで */
.block .wide p, .block .wide ul.plain { max-width: 46em; }
.block .wide .feat p { max-width: none; }
.block .wide details > div { max-width: 46em; }
.side-chibi { grid-template-columns: 1fr; }
@media (min-width: 768px) {
  .side-chibi { grid-template-columns: minmax(0, 46em) 180px; justify-content: start; }
  .side-chibi.rev { grid-template-columns: 180px minmax(0, 46em); }
}

/* できること：画面全体ではなく必要な所だけ切り抜いた図 */
.fig-col { display: grid; gap: 12px; justify-self: stretch; margin: 0; }
.fig-col .crop { margin: 0; }
.fig-col .crop figcaption { padding: 6px 12px; font-size: 15px; }
.fig-col.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 768px) {
  .feat.cr { grid-template-columns: 1fr 380px; align-items: start; }
  .feat.cr.rev { grid-template-columns: 380px 1fr; }
  .feat.cr.rev .fig-col { order: -1; }
  .feat.cr.big { grid-template-columns: 1fr 440px; }
  .feat.cr.big.rev { grid-template-columns: 440px 1fr; }
}

/* スマホ幅：題名は折り返さず、下に線を引く */
@media (max-width: 767px) {
  h3.ttl { display: block; padding-bottom: 8px; border-bottom: 2px solid #F4A6C0; }
  h3.ttl::after { display: none; }
}

/* 本文の下に画像を横並び（スマホは縦） */
.feat.below { grid-template-columns: 1fr; align-items: start; }
.feat.below .fig-row { display: grid; grid-template-columns: 1fr; gap: 16px; }
.feat.below .fig-row .crop { margin: 0; }
.feat.below .fig-row figcaption { padding: 6px 12px; font-size: 15px; color: var(--ink-sub); }
@media (min-width: 768px) { .feat.below { grid-template-columns: 1fr; } .feat.below .fig-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; } }
/* kazu・help：上（できること）と同じ幅 */
.page-wide { max-width: 1040px; margin: 0 auto; padding: 24px 24px 48px; }
.figs.pair { grid-template-columns: 1fr; }
.figs.pair .shot { width: 260px; }
@media (min-width: 768px) { .figs.pair { grid-template-columns: repeat(2, 260px); gap: 32px; justify-content: start; } }
.feat.sub { border-top: 0; padding-top: 0; }
h3.ttl { text-wrap: balance; }
/* 表情シートの横長バナー（見出しの下） */
.banner { margin: 0 0 24px; }
.banner img { display: block; width: 100%; max-width: 760px; height: auto; border-radius: 12px; border: 2px solid var(--line-deco); background: #fff; }
.banner.cta-img { margin: 16px 0 0; }
.banner.cta-img img { max-width: 720px; }
/* カバン画像3枚（横並び・スマホは縦） */
.feat.below .fig-row.three { grid-template-columns: 1fr; }
@media (min-width: 768px) { .feat.below .fig-row.three { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
.feat.below.sub h3.ttl { margin-bottom: 16px; }
