/* 阿蘇ドローン手形（個人向け） */
:root {
  --ink: #273544;
  --ink-dark: #1c2733;
  --muted: #6b7681;
  --line: #e3e8ec;
  --bg: #ffffff;
  --tint: #f1f4f2;
  --accent: #4f8a5b;
  --accent-dark: #3d6f48;
  --warn: #b4532a;
  --radius: 12px;
  --max: 1040px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  font-family: "Noto Sans JP", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.9;
  font-size: 16px;
  letter-spacing: .03em;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--ink); }
h1, h2, h3 { line-height: 1.5; margin: 0; }
p { margin: 0 0 1em; }
.container { width: min(var(--max), 100% - 32px); margin-inline: auto; }
.narrow { max-width: 760px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 16px 28px; border-radius: 999px;
  font-family: "Open Sans", "Noto Sans JP", sans-serif; font-weight: 600;
  text-decoration: none; letter-spacing: .04em;
  transition: background .15s, transform .15s;
}
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(4px); }
.btn-primary { background: #fff; color: var(--ink); box-shadow: 0 8px 24px rgba(0,0,0,.18); }
.btn-primary:hover { background: #f1f4f6; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-dark); }
.btn-sm { padding: 8px 20px; font-size: 13px; background: var(--ink); color: #fff; }
.btn-sm:hover { background: var(--ink-dark); }
.btn-lg { padding: 20px 40px; font-size: 17px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.95); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { width: min(var(--max), 100% - 32px); margin-inline: auto; display: flex; align-items: center; gap: 24px; height: 64px; }
.logo { font-weight: 900; font-size: 17px; color: var(--ink); text-decoration: none; white-space: nowrap; letter-spacing: .08em; }
.nav { display: flex; gap: 24px; margin-left: auto; }
.nav a { font-size: 13px; letter-spacing: .08em; text-decoration: none; white-space: nowrap; }
.nav a:hover { color: var(--accent); }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: min(86vh, 720px); display: grid; align-items: end; color: #fff; overflow: hidden;
  background: linear-gradient(160deg, #5f8f6a 0%, #3e6b52 45%, #273544 100%);
}
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,28,38,.1) 0%, rgba(20,28,38,.3) 45%, rgba(20,28,38,.78) 100%); }
.hero-inner { position: relative; z-index: 1; width: min(var(--max), 100% - 32px); margin-inline: auto; padding: 0 0 64px; }
.hero-tag { margin: 0 0 14px; font-size: 13px; font-weight: 700; letter-spacing: .12em; }
.hero h1 { font-size: clamp(28px, 4.6vw, 50px); font-weight: 900; letter-spacing: .06em; text-shadow: 0 2px 18px rgba(0,0,0,.25); }
.hero-lead { max-width: 620px; margin: 10px 0 26px; opacity: .95; }
.hero-note { margin: 14px 0 0; font-size: 13px; opacity: .9; }

/* ---------- sections ---------- */
.section { padding: 88px 0; }
.section-tint { background: var(--tint); }
.sec-label { display: flex; align-items: baseline; gap: 12px; margin: 0 0 10px; }
.sec-jp { font-weight: 700; font-size: 14px; letter-spacing: .12em; color: var(--accent-dark); }
.sec-en { font-family: "Oswald", sans-serif; font-size: 12px; letter-spacing: .2em; color: var(--muted); }
.section h2 { font-size: clamp(22px, 2.8vw, 30px); font-weight: 900; letter-spacing: .08em; margin-bottom: 20px; }
.lead { max-width: 720px; color: #4a5663; }

/* 写真（未差し替えの枠） */
.ph {
  display: grid; place-items: center; text-align: center; padding: 16px;
  min-height: 200px; border: 2px dashed #b9c4be; border-radius: var(--radius);
  background: repeating-linear-gradient(135deg, #eef3f0, #eef3f0 12px, #e6ede9 12px, #e6ede9 24px);
  color: #6c7a73; font-size: 13px;
}
.photo { border-radius: var(--radius); overflow: hidden; }
.photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- cards ---------- */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.section-tint .card { border-color: transparent; box-shadow: 0 2px 12px rgba(39,53,68,.06); }
.card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.card .num { font-family: "Oswald", sans-serif; font-size: 13px; letter-spacing: .2em; color: var(--accent-dark); display: block; margin-bottom: 6px; }
.card p:last-child { margin-bottom: 0; }
.area .ph { margin-bottom: 18px; min-height: 220px; }
.area .photo { margin-bottom: 18px; aspect-ratio: 3 / 2; }
.area .badge { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .1em; background: var(--ink); color: #fff; padding: 2px 12px; border-radius: 999px; margin-bottom: 10px; }
.area dl { margin: 14px 0 0; display: grid; grid-template-columns: 6.5em 1fr; gap: 6px 12px; font-size: 14px; }
.area dt { color: var(--muted); }
.area dd { margin: 0; }

/* ---------- table ---------- */
.table-wrap { overflow-x: auto; }
table.spec { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; font-size: 15px; }
table.spec th, table.spec td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
table.spec thead th { background: var(--ink); color: #fff; font-weight: 700; font-size: 14px; }
table.spec tbody th { width: 9em; background: #f7f9f8; font-weight: 700; white-space: nowrap; }
.note { font-size: 14px; color: var(--muted); }
.list-plain { margin: 14px 0 0; padding-left: 1.2em; }
.list-plain li { margin-bottom: 6px; }

/* ---------- flow ---------- */
.steps { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; counter-reset: step; }
.steps li { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px 20px 76px; counter-increment: step; }
.section-tint .steps li { border-color: transparent; box-shadow: 0 2px 12px rgba(39,53,68,.06); }
.steps li::before { content: counter(step); position: absolute; left: 22px; top: 18px; width: 38px; height: 38px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-family: "Oswald", sans-serif; font-size: 18px; }
.steps b { display: block; margin-bottom: 2px; }
.steps span { color: #4a5663; font-size: 15px; }
.callout { margin-top: 24px; padding: 18px 22px; border-left: 4px solid var(--accent); background: #fff; border-radius: 0 var(--radius) var(--radius) 0; }
.callout.warn { border-left-color: var(--warn); }
.callout p:last-child { margin-bottom: 0; }

/* ---------- price ---------- */
.price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin: 6px 0 8px; }
.price strong { font-family: "Oswald", "Noto Sans JP", sans-serif; font-size: clamp(40px, 6vw, 56px); font-weight: 500; letter-spacing: .02em; }
.price span { color: #4a5663; }

/* ---------- faq ---------- */
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 34px; position: relative; font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; position: absolute; left: 0; top: 15px; font-family: "Oswald", sans-serif; font-size: 20px; color: var(--accent-dark); }
.faq summary::after { content: "+"; position: absolute; right: 8px; top: 12px; font-size: 24px; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 20px 34px; color: #4a5663; }

/* ---------- final cta ---------- */
.final-cta { position: relative; color: #fff; text-align: center; padding: 96px 0; background: linear-gradient(160deg, #3e6b52 0%, #273544 100%); overflow: hidden; }
.final-cta .sec-jp { color: #cfe3d4; }
.final-cta .sec-en { color: #b8c6bd; }
.final-cta .sec-label { justify-content: center; }
.final-cta h2 { margin-bottom: 14px; }
.final-cta p { max-width: 640px; margin-inline: auto; }
.final-cta .btn { margin-top: 12px; }
.final-cta-sub { margin-top: 22px; font-size: 14px; }
.final-cta-sub a { color: #fff; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink-dark); color: #c9d2da; padding: 56px 0 40px; font-size: 14px; }
.site-footer a { color: #fff; }
.footer-logo { font-weight: 900; font-size: 19px; color: #fff; letter-spacing: .08em; }
.series { margin: 24px 0; padding: 18px 20px; border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius); }
.series-title { margin: 0 0 8px; font-weight: 700; color: #fff; }
.series-title .dfp { display: block; font-family: "Oswald", sans-serif; font-size: 11px; letter-spacing: .2em; opacity: .7; }
.series ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.series li span { margin-left: 8px; font-size: 12px; opacity: .75; }
.series .current { color: #fff; font-weight: 700; margin-left: 0; font-size: inherit; opacity: 1; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; margin: 0 0 18px; }
.tm, .copy { font-size: 12px; opacity: .75; margin-bottom: 6px; }

/* ---------- 規約・特商法などの本文ページ ---------- */
.plain { padding: 56px 0 96px; }
.plain h1 { font-size: clamp(24px, 3vw, 32px); font-weight: 900; margin-bottom: 8px; letter-spacing: .06em; }
.plain h2 { font-size: 18px; margin: 36px 0 8px; padding-left: 12px; border-left: 4px solid var(--accent); }
.plain ol, .plain ul { padding-left: 1.4em; }
.plain li { margin-bottom: 4px; }
.plain .meta { color: var(--muted); font-size: 14px; margin-bottom: 28px; }
.back { display: inline-block; margin-bottom: 20px; font-size: 14px; }
.plain table.spec tbody th { width: 11em; }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .nav { display: none; }
  .header-inner { justify-content: space-between; }
  .section { padding: 64px 0; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .area dl { grid-template-columns: 5.5em 1fr; }
  table.spec tbody th { white-space: normal; width: 7.5em; }
  .steps li { padding: 18px 18px 18px 68px; }
  .btn-lg { padding: 18px 28px; font-size: 16px; }
}

/* 現地条件の表：スマホでは縦に並べる */
@media (max-width: 640px) {
  table.spec.stack, table.spec.stack tbody, table.spec.stack tr, table.spec.stack th, table.spec.stack td { display: block; width: 100%; }
  table.spec.stack thead { display: none; }
  table.spec.stack tr { border-bottom: 8px solid var(--tint); }
  table.spec.stack tbody th { width: 100%; border-bottom: 0; padding: 12px 16px 4px; background: #f7f9f8; }
  table.spec.stack td { border-bottom: 0; padding: 6px 16px 12px; }
  table.spec.stack td::before { content: attr(data-label); display: block; font-size: 12px; font-weight: 700; color: var(--accent-dark); letter-spacing: .08em; }
  table.spec.stack td[data-label]:not(:last-child) { padding-bottom: 6px; }
}

/* ---------- 写真・動画 ---------- */
.movie { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; margin-top: 20px; }
.movie iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.area-photos { display: grid; gap: 8px; margin-bottom: 18px; }
.area-photos a { display: block; overflow: hidden; border-radius: 10px; background: #dfe7e2; }
.area-photos img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.area-photos a:hover img, .gallery-grid a:hover img { transform: scale(1.04); }
.area-photos .main { aspect-ratio: 3 / 2; }
.area-photos .sub { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.area-photos .sub a { aspect-ratio: 3 / 2; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 28px; }
.gallery-grid a { display: block; aspect-ratio: 3 / 2; overflow: hidden; border-radius: 10px; background: #dfe7e2; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
@media (max-width: 860px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; } }

/* 写真の拡大表示 */
#lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; color: #fff; }
#lightbox::backdrop { background: rgba(10, 16, 22, .9); }
#lightbox[open] { display: grid; place-items: center; }
#lightbox img { max-width: min(94vw, 1400px); max-height: 82vh; width: auto; height: auto; border-radius: 6px; }
#lightbox button { position: absolute; background: rgba(255,255,255,.14); color: #fff; border: 0; cursor: pointer; font-size: 28px; line-height: 1; width: 48px; height: 48px; border-radius: 50%; }
#lightbox button:hover { background: rgba(255,255,255,.28); }
#lightbox .lb-close { top: 16px; right: 16px; }
#lightbox .lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
#lightbox .lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
#lightbox .lb-cap { position: absolute; bottom: 14px; left: 0; right: 0; margin: 0; text-align: center; font-size: 13px; opacity: .85; padding: 0 64px; }
