/* だがし長者 LP の見た目（ゲームと同じ「版画・和紙」の色） */
:root {
  --paper: #fbf1de;   /* 和紙 */
  --paper2: #f3e3c3;
  --card: #fffaf0;
  --ink: #3a2a1e;     /* 墨 */
  --sub: #6b5a4a;
  --red: #b33a3a;
  --red-d: #8e2b2b;
  --indigo: #2b4a6f;
  --gold: #d8a23a;
  --line: #3a2a1e;
  --radius: 16px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Hiragino Maru Gothic ProN", "Zen Maru Gothic", "Hiragino Sans", "Noto Sans JP", system-ui, sans-serif;
  line-height: 1.8;
  -webkit-text-size-adjust: 100%;
}
img { max-width: 100%; display: block; }
a { color: var(--indigo); }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }

/* 上の帯 */
.top { background: var(--red); color: #fff; border-bottom: 3px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 800; font-size: 18px; letter-spacing: .05em; }
.brand img { width: 34px; height: 34px; border-radius: 9px; border: 2px solid var(--line); }
.top nav a { color: #fff; text-decoration: none; font-size: 14px; margin-left: 16px; opacity: .92; }
.top nav a:hover { opacity: 1; text-decoration: underline; }
@media (max-width: 560px) { .top nav { display: none; } }
/* 言葉の切りかえ（2026-11-19 英語版）: スマホでも見えるよう、nav とは別に置く */
.top .lang { margin-left: 16px; padding: 4px 12px; border: 2px solid #fff; border-radius: 99px; color: #fff; text-decoration: none; font-size: 13px; font-weight: 700; white-space: nowrap; }
.top .lang:hover { background: rgba(255,255,255,.15); }
.top nav { margin-left: auto; }

/* いちばん上（ヒーロー） */
.hero { position: relative; overflow: hidden; border-bottom: 3px solid var(--line); background: linear-gradient(#c9e2f0, #f6ecd6 62%, #e3c995 62.2%); }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; align-items: center; padding-top: 48px; padding-bottom: 48px; }
.hero h1 { margin: 0; font-size: clamp(40px, 7vw, 72px); line-height: 1.1; letter-spacing: .06em; color: var(--red); text-shadow: 3px 3px 0 #fff, -1px -1px 0 #fff; }
.hero .catch { margin: 14px 0 6px; font-size: clamp(18px, 2.6vw, 24px); font-weight: 800; }
.hero .lead { margin: 0 0 22px; color: var(--sub); font-size: 15px; }
.hero .candy { width: 84px; margin-bottom: 10px; filter: drop-shadow(3px 4px 0 rgba(58, 42, 30, .25)); animation: bob 3s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-6px) rotate(-6deg); } }
.stores { display: flex; flex-wrap: wrap; gap: 10px; }
.store { display: inline-flex; flex-direction: column; justify-content: center; min-width: 180px; padding: 8px 18px; border: 3px solid var(--line); border-radius: 12px; background: var(--ink); color: #fff; text-decoration: none; line-height: 1.3; box-shadow: 3px 3px 0 rgba(58, 42, 30, .25); }
.store small { font-size: 11px; opacity: .8; }
.store b { font-size: 17px; }
.store.soon { cursor: default; }
.note-soon { margin: 10px 0 0; font-size: 13px; color: var(--sub); }
.phone { justify-self: center; width: min(300px, 80vw); border: 4px solid var(--line); border-radius: 34px; overflow: hidden; background: #000; box-shadow: 8px 10px 0 rgba(58, 42, 30, .18); }
.phone img { width: 100%; }
@media (max-width: 760px) {
  .hero .wrap { grid-template-columns: 1fr; text-align: center; padding-top: 32px; }
  .hero .candy { margin-left: auto; margin-right: auto; }
  .stores { justify-content: center; }
}

/* 見出し・区切り */
section { padding: 56px 0; }
section.alt { background: var(--paper2); border-top: 3px solid var(--line); border-bottom: 3px solid var(--line); }
h2 { margin: 0 0 8px; font-size: clamp(24px, 3.4vw, 32px); text-align: center; letter-spacing: .06em; }
h2 + .sub { margin: 0 0 32px; text-align: center; color: var(--sub); }

/* 特長 */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 860px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }
.feature { background: var(--card); border: 3px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: 4px 4px 0 rgba(58, 42, 30, .12); }
.feature img { width: 64px; height: 64px; object-fit: contain; margin-bottom: 6px; }
.feature h3 { margin: 0 0 6px; font-size: 18px; color: var(--red-d); }
.feature p { margin: 0; font-size: 15px; }

/* 数の単位 */
.units { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 0 auto; max-width: 760px; }
.units span { padding: 4px 12px; border: 2px solid var(--line); border-radius: 999px; background: var(--card); font-weight: 800; }
.units span.big { background: var(--gold); }
.units span.max { background: var(--red); color: #fff; }

/* 街のギャラリー */
.towns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 560px) { .towns { grid-template-columns: repeat(2, 1fr); } }
.town { margin: 0; background: var(--card); border: 3px solid var(--line); border-radius: 14px; overflow: hidden; }
.town img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 100%; }
.town figcaption { padding: 6px 8px; font-size: 13px; font-weight: 800; text-align: center; }
.town figcaption small { display: block; font-weight: 400; color: var(--sub); }

/* 2列（写真＋文） */
.split { display: grid; grid-template-columns: .8fr 1.2fr; gap: 32px; align-items: center; }
.split .phone { width: min(280px, 76vw); }
.split ol { margin: 0; padding-left: 1.3em; }
.split li { margin-bottom: 12px; }
.split li b { color: var(--red-d); }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } }

/* よくある質問 */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { background: var(--card); border: 3px solid var(--line); border-radius: 12px; padding: 12px 16px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 800; }
.faq p { margin: 8px 0 0; }

/* 作った人 */
.maker { display: flex; gap: 18px; align-items: center; max-width: 760px; margin: 0 auto; background: var(--card); border: 3px solid var(--line); border-radius: var(--radius); padding: 18px; }
.maker .face { flex: none; width: 72px; height: 72px; border-radius: 50%; border: 3px solid var(--line); background: #1e2440; display: grid; place-items: center; font-size: 34px; }
.maker p { margin: 0; }

/* 準備中の印（あとで本物に差し替えるところ） */
.todo { display: inline-block; padding: 0 8px; border: 2px dashed var(--red); border-radius: 6px; color: var(--red); font-size: .9em; }

/* 下の帯 */
footer { background: var(--ink); color: #f3e3c3; padding: 28px 0; font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 20px; justify-content: space-between; align-items: center; }
footer a { color: #f3e3c3; }
footer nav a { margin-right: 16px; }

/* 規約などの文章ページ */
.doc { max-width: 760px; margin: 0 auto; padding: 40px 16px 64px; }
.doc h1 { font-size: clamp(24px, 4vw, 32px); margin: 0 0 4px; }
.doc .date { color: var(--sub); margin: 0 0 28px; font-size: 14px; }
.doc h2 { text-align: left; font-size: 19px; margin: 30px 0 8px; padding-left: 10px; border-left: 6px solid var(--red); }
.doc ul { padding-left: 1.3em; }
.doc .box { background: var(--card); border: 3px solid var(--line); border-radius: 12px; padding: 14px 18px; }
