/* あっこワン！ 公式サイト 共通スタイル（黄色×ネイビーの絵本風） */
:root {
  --yellow: #FFC93C;
  --yellow-soft: #FFE8A3;
  --cream: #FFF8E7;
  --navy: #1F2A5A;
  --navy-soft: #3B4780;
  --white: #FFFFFF;
  --radius: 22px;
  --shadow: 0 6px 0 var(--navy);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--navy);
  font-family: "M PLUS Rounded 1c", "Hiragino Maru Gothic ProN", "Hiragino Sans", "Meiryo", sans-serif;
  line-height: 1.8;
  font-size: 16px;
}

a { color: var(--navy); }

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }

/* ヘッダー */
.site-header {
  background: var(--yellow);
  border-bottom: 4px solid var(--navy);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding-top: 10px; padding-bottom: 10px;
}
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 800; font-size: 20px; }
.brand img { width: 44px; height: 44px; }
.nav { display: flex; gap: 16px; font-weight: 700; font-size: 14px; }
.nav a { text-decoration: none; }
.nav a:hover { text-decoration: underline; }

/* ヒーロー */
.hero { background: var(--yellow); padding: 48px 0 64px; position: relative; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 32px; align-items: center; }
.hero h1 { font-size: clamp(28px, 5vw, 46px); line-height: 1.35; margin: 0 0 12px; font-weight: 800; }
.nb { display: inline-block; }
.hero .catch { display: inline-block; background: var(--navy); color: var(--yellow); padding: 4px 14px; border-radius: 999px; font-weight: 800; margin-bottom: 16px; }
.hero p.lead { font-size: 17px; margin: 0 0 24px; }
.hero-logo { width: min(320px, 80%); justify-self: center; filter: drop-shadow(0 8px 0 rgba(31,42,90,.15)); }

.btn {
  display: inline-block; text-decoration: none; font-weight: 800;
  background: var(--white); color: var(--navy);
  border: 3px solid var(--navy); border-radius: 999px;
  padding: 12px 26px; box-shadow: var(--shadow);
  transition: transform .1s, box-shadow .1s;
}
.btn:hover { transform: translateY(2px); box-shadow: 0 4px 0 var(--navy); }
.btn[aria-disabled="true"] { cursor: default; }
.btn-note { display: block; font-size: 13px; margin-top: 12px; }

/* 波の区切り */
.wave { display: block; width: 100%; height: 40px; margin-top: -1px; }

/* セクション */
section { padding: 56px 0; }
.section-title { text-align: center; font-size: clamp(22px, 4vw, 30px); margin: 0 0 8px; font-weight: 800; }
.section-sub { text-align: center; margin: 0 0 32px; color: var(--navy-soft); }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--white); border: 3px solid var(--navy); border-radius: var(--radius);
  padding: 24px 20px; box-shadow: var(--shadow);
}
.card .icon {
  width: 56px; height: 56px; border-radius: 50%; background: var(--yellow);
  border: 3px solid var(--navy); display: grid; place-items: center; margin-bottom: 12px;
}
.card .icon svg { width: 28px; height: 28px; }
.card h3 { margin: 0 0 6px; font-size: 19px; }
.card p { margin: 0; font-size: 15px; }

/* 約束（プライバシー方針） */
.promise { background: var(--navy); color: var(--cream); }
.promise .section-title, .promise .section-sub { color: var(--cream); }
.promise-box {
  max-width: 720px; margin: 0 auto; background: var(--navy-soft);
  border: 3px dashed var(--yellow); border-radius: var(--radius); padding: 24px;
}
.promise-box ul { margin: 0; padding-left: 1.2em; }
.promise-box li { margin: 6px 0; }
.promise a { color: var(--yellow); }

/* スクリーンショット枠 */
.shots { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }
.shot {
  width: 200px; aspect-ratio: 9 / 19; border: 4px solid var(--navy); border-radius: 28px;
  background: repeating-linear-gradient(45deg, var(--yellow-soft) 0 12px, var(--cream) 12px 24px);
  display: grid; place-items: center; text-align: center; font-weight: 700; font-size: 14px; padding: 12px;
}

/* 名前の由来 */
.origin { text-align: center; }
.origin .bubble {
  display: inline-block; background: var(--white); border: 3px solid var(--navy);
  border-radius: var(--radius); padding: 18px 26px; font-size: 18px; font-weight: 800; box-shadow: var(--shadow);
}

/* フッター */
.site-footer { background: var(--navy); color: var(--cream); padding: 32px 0; font-size: 14px; }
.site-footer a { color: var(--cream); }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 14px; }
.ad-note { font-size: 12px; opacity: .85; margin: 0 0 8px; }
.copyright { font-size: 12px; opacity: .85; margin: 0; }

/* 規約・ポリシー本文 */
.doc { max-width: 780px; margin: 0 auto; padding: 40px 16px 64px; }
.doc h1 { font-size: clamp(24px, 4vw, 32px); margin: 0 0 8px; }
.doc .meta { color: var(--navy-soft); font-size: 14px; margin-bottom: 28px; }
.doc h2 {
  font-size: 19px; margin: 36px 0 10px; padding: 6px 14px;
  background: var(--yellow); border: 3px solid var(--navy); border-radius: 14px;
}
.doc h3 { font-size: 16px; margin: 20px 0 6px; }
.doc table { width: 100%; border-collapse: collapse; font-size: 15px; background: var(--white); }
.doc th, .doc td { border: 2px solid var(--navy); padding: 8px 10px; text-align: left; vertical-align: top; }
.doc th { background: var(--yellow-soft); width: 32%; }
.table-scroll { overflow-x: auto; }
.todo { background: #FFE0E0; border: 2px dashed #C0392B; color: #8E1E12; padding: 0 6px; border-radius: 6px; font-weight: 700; }
.callout {
  background: var(--white); border: 3px solid var(--navy); border-radius: var(--radius);
  padding: 16px 20px; margin: 16px 0;
}

/* スマホ */
@media (max-width: 760px) {
  .hero { padding: 32px 0 48px; }
  .hero .wrap { grid-template-columns: 1fr; text-align: center; }
  .hero-logo { width: 200px; order: -1; }
  .features { grid-template-columns: 1fr; }
  .nav { gap: 12px; font-size: 13px; }
  .brand span { display: none; }
  .shot { width: 150px; }
  .doc th { width: 38%; }
}
