/* 阿蘇ドローン手形BIZ */
:root {
  --ink: #273544;        
  --ink-dark: #1c2733;
  --muted: #707070;
  --line: #e3e8ec;
  --bg: #ffffff;
  --tint: #eef1f4;       /* 薄いグレーの背景 */
  --accent: #4f8a5b;     /* 草原のグリーン（差し色のみ） */
  --radius: 12px;
  --max: 1080px;
}

* { 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; }
.container { width: min(var(--max), 100% - 32px); margin-inline: auto; }
.sp { display: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 28px;
  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-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: 700; font-size: 17px; color: var(--ink); text-decoration: none; white-space: nowrap; }
.logo span, .footer-logo span { color: inherit; font: inherit; margin: 0; }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { font-family: "Open Sans", sans-serif; font-size: 13px; letter-spacing: .1em; text-decoration: none; }
.nav a:hover { color: var(--accent); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: min(90vh, 780px); display: grid; align-items: end; color: #fff; overflow: hidden; }
.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,.15) 0%, rgba(20,28,38,.35) 45%, rgba(20,28,38,.8) 100%); }
.hero-inner { position: relative; z-index: 1; width: min(var(--max), 100% - 32px); margin-inline: auto; padding: 0 0 72px; }
.hero h1 { font-size: clamp(22px, 3vw, 32px); font-weight: 700; }
.hero-lead { margin: 6px 0 28px; opacity: .9; }
.hero-scroll { position: absolute; right: 24px; bottom: 28px; z-index: 1; font-family: "Open Sans", sans-serif; font-size: 11px; letter-spacing: .2em; writing-mode: vertical-rl; }
.hero-scroll::after { content: ""; display: block; width: 1px; height: 56px; background: rgba(255,255,255,.7); margin: 10px auto 0; }

/* ---------- section / heading ---------- */
.section { padding: 96px 0; }
.section-tint { background: var(--tint); }
.sec-label { margin: 0 0 28px; display: flex; flex-direction: column; gap: 4px; }
.sec-jp { font-weight: 700; font-size: 14px; }
.sec-en { font-family: "Oswald", sans-serif; font-weight: 500; font-size: clamp(44px, 6.5vw, 72px); line-height: 1; letter-spacing: .04em; }
.sec-label-light { color: #fff; }

/* ---------- card ---------- */
.card { background: #fff; border-radius: var(--radius); padding: clamp(24px, 5vw, 56px); box-shadow: 0 2px 12px rgba(39,53,68,.06); }
.section:not(.section-tint) .card { border: 1px solid var(--line); box-shadow: none; }
.card h2 { font-size: clamp(21px, 2.6vw, 28px); font-weight: 700; margin-bottom: 20px; }

/* ---------- concept ---------- */
.points { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.points li { padding: 28px 24px 4px 0; }
.points li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.points strong { display: block; font-family: "Oswald", sans-serif; font-weight: 500; font-size: 44px; line-height: 1.1; }
.points small { font-family: "Noto Sans JP", sans-serif; font-size: 16px; margin-left: 4px; }
.points span { display: block; font-size: 14px; color: var(--muted); margin-top: 8px; }

/* ---------- field ---------- */
.tag-new { font-style: normal; font-family: "Oswald", sans-serif; font-size: 12px; letter-spacing: .12em; background: var(--accent); color: #fff; padding: 2px 8px; border-radius: 4px; vertical-align: 3px; margin-left: 6px; }

.movies { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 32px; }
.movie-frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; }
.movie-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.movie p { margin: 8px 0 0; font-size: 14px; color: var(--muted); }
.intro-movie { padding: 40px 0 0; }
.intro-movie .movie-frame { max-width: 960px; margin-inline: auto; }
.movie-360 { max-width: 960px; margin: 32px auto; }
.movie-360 p { text-align: center; }
.movie-link { display: block; aspect-ratio: 640 / 336; }
.movie-link img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.movie-link:hover img { transform: scale(1.03); }
.movie-link .play { position: absolute; top: 50%; left: 50%; width: 68px; height: 48px; margin: -24px 0 0 -34px; background: rgba(0,0,0,.75); border-radius: 12px; transition: background .2s; }
.movie-link .play::after { content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-35%, -50%); border-style: solid; border-width: 10px 0 10px 18px; border-color: transparent transparent transparent #fff; }
.movie-link:hover .play { background: #f00; }

/* ---------- usecase ---------- */
.usecases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.usecase { padding: 0; overflow: hidden; }
.usecase img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.usecase h3 { font-size: 18px; padding: 22px 24px 6px; }
.usecase p { margin: 0; padding: 0 24px 26px; color: var(--text-sub); font-size: 15px; }

/* ---------- guide ---------- */
.flow { list-style: none; padding: 0; margin: 0 0 56px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.flow li { border-top: 3px solid var(--ink); padding-top: 16px; }
.flow-step { font-family: "Oswald", sans-serif; font-size: 22px; color: var(--ink); }
.flow h3 { font-size: 17px; margin: 2px 0 6px; }
.flow p { margin: 0; font-size: 14px; color: var(--text-sub); }
.faq-title { padding-top: 8px; }
.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; }
.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: var(--text-sub); }

/* ---------- access ---------- */
.access { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.access p { margin-top: 0; }
.access > img { border-radius: 8px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.access-list { margin: 16px 0 20px; }
.access-list div { display: flex; justify-content: space-between; border-bottom: 1px solid var(--line); padding: 10px 0; }
.access-list dd { margin: 0; font-weight: 700; }
.text-link { font-weight: 700; }
.small { font-size: 14px; color: var(--muted); margin-top: 16px; }

/* ---------- contact ---------- */
.final-cta { position: relative; color: #fff; padding: 110px 0; overflow: hidden; }
.final-cta-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.final-cta::after { content: ""; position: absolute; inset: 0; background: rgba(20, 28, 38, .74); }
.final-cta-inner { position: relative; z-index: 1; }
.final-cta h2 { font-size: clamp(24px, 3.2vw, 34px); font-weight: 700; margin-bottom: 14px; }
.final-cta p { margin: 0 0 32px; opacity: .92; }
.final-cta-mail { font-size: 14px; margin-top: 24px !important; }
.final-cta-mail a { color: #fff; }

/* ---------- footer ---------- */
.site-footer { background: #141c26; color: rgba(255,255,255,.75); padding: 48px 0 96px; font-size: 14px; }
.site-footer a { color: #fff; }
.footer-logo { font-weight: 700; font-size: 19px; color: #fff; }
.copy { opacity: .6; font-size: 12px; margin-top: 24px; }

.sticky-cta { display: none; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .nav { display: none; }
  .header-inner .btn-sm { margin-left: auto; }
  .usecases { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr 1fr; row-gap: 28px; }
}
@media (max-width: 680px) {
  .pc { display: none; }
  .sp { display: inline; }
  .section { padding: 72px 0; }
  .points { grid-template-columns: 1fr; }
  .points li, .points li + li { padding: 20px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .movies, .access, .flow { grid-template-columns: 1fr; }
  .access { gap: 28px; }
  .hero { min-height: 620px; }
  .hero-inner { padding-bottom: 96px; }
  .hero .btn { width: 100%; }
  .logo { font-size: 15px; }
  .sticky-cta {
    display: block; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60;
    background: var(--ink); color: #fff; text-align: center; font-weight: 700;
    padding: 14px; border-radius: 999px; text-decoration: none; box-shadow: 0 8px 24px rgba(0,0,0,.25);
  }
}

/* ---------- 長期利用・大企業向けの強調 ---------- */
.track { border-left: 3px solid var(--accent); padding-left: 14px; font-weight: 700; color: var(--ink) !important; }
.usecase-main h3::before { content: "MAIN"; display: inline-block; font-family: "Oswald", sans-serif; font-size: 11px; letter-spacing: .12em; background: var(--ink); color: #fff; padding: 1px 8px; border-radius: 4px; margin-right: 8px; vertical-align: 3px; }
.longterm { list-style: none; padding: 0; margin: 0 0 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.longterm li { background: var(--tint); border-radius: 8px; padding: 20px 22px; }
.longterm h3 { font-size: 16px; margin-bottom: 4px; }
.longterm p { margin: 0; font-size: 14px; color: var(--text-sub); }
@media (max-width: 680px) { .longterm { grid-template-columns: 1fr; } }

/* ---------- hero ---------- */
.hero-tag { display: inline-block; margin: 0 0 18px; font-size: 13px; font-weight: 700; letter-spacing: .1em; padding: 4px 14px; border: 1px solid rgba(255,255,255,.7); border-radius: 999px; }
.hero h1 { font-size: clamp(30px, 4.6vw, 54px); font-weight: 700; letter-spacing: .04em; text-shadow: 0 2px 18px rgba(0,0,0,.25); }
.hero-lead { max-width: 640px; }

/* ---------- about ---------- */
.about { display: grid; grid-template-columns: 1fr; max-width: 860px; }
.about h2 { font-size: clamp(22px, 2.8vw, 30px); margin-bottom: 20px; }
.about p { color: var(--text-sub); margin: 0 0 14px; }

/* ---------- areas ---------- */
.area-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.area-grid li { background: #fff; border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.area-grid img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.area-body { padding: 22px 26px 28px; }
.area-name { margin: 0 0 4px; font-size: 13px; font-weight: 700; color: var(--accent); letter-spacing: .06em; }
.area-name span { font-family: "Oswald", sans-serif; font-size: 15px; margin-right: 10px; color: var(--muted); }
.area-grid h3 { font-size: 19px; margin-bottom: 8px; }
.area-grid p:not(.area-name) { margin: 0; font-size: 15px; color: var(--text-sub); }
.nav a { font-family: "Noto Sans JP", sans-serif; letter-spacing: .04em; }
@media (max-width: 680px) { .area-grid { grid-template-columns: 1fr; } }
@media (max-width: 680px) { .hero h1 { font-size: 28px; } .hero .btn { padding: 16px 22px; } }

/* ---------- 牧野の案内 ---------- */
.bokuya { background: #fff; border-radius: var(--radius); padding: 24px 28px; margin: -24px 0 32px; }
.bokuya h3 { font-size: 17px; margin-bottom: 10px; }
.bokuya dl { margin: 0 0 12px; }
.bokuya dl div { display: flex; gap: 16px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.bokuya dt { flex: 0 0 9em; font-weight: 700; }
.bokuya dd { margin: 0; }
.bokuya ul { margin: 0; padding-left: 1.2em; font-size: 14px; color: var(--text-sub); }
.bokuya li { list-style: "※ "; }
@media (max-width: 680px) { .bokuya dl div { flex-direction: column; gap: 0; } .bokuya dt { flex: none; } }
.bokuya .size { display: block; font-family: "Oswald", "Noto Sans JP", sans-serif; font-size: 18px; letter-spacing: .03em; color: var(--ink); }
.bokuya .size small { font-family: "Noto Sans JP", sans-serif; font-size: 13px; color: var(--muted); margin-left: 4px; }
.points small.pre { margin: 0 4px 0 0; }

/* ---------- プラン ---------- */
.sub-title { font-size: clamp(19px, 2.2vw, 24px); margin: 8px 0 6px; }
.sub-lead { color: var(--text-sub); margin: 0 0 24px; }
.plan-size { font-family: "Oswald", "Noto Sans JP", sans-serif; font-size: 26px; line-height: 1.2; margin: 2px 0 10px !important; color: var(--ink) !important; }
.area-note { font-size: 13px; color: var(--muted); margin: 16px 0 56px; }
.area-grid.facilities { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .area-grid.facilities { grid-template-columns: 1fr 1fr; } }
@media (max-width: 680px) { .area-grid.facilities { grid-template-columns: 1fr; } }
.area-grid p.plan-size { font-size: 26px; }
.tm { font-size: 11px; opacity: .6; margin: 24px 0 0; }
.tm + .copy { margin-top: 4px; }

/* ============================================================
   ドローン手形シリーズの雰囲気（太いゴシック・広い字間・グレーの帯・黒ボタン）
   ============================================================ */
h1, h2, h3, .logo, .footer-logo { letter-spacing: .08em; }
.hero h1 { font-weight: 900; letter-spacing: .1em; }
.section h2, .about h2, .final-cta h2 { font-weight: 900; letter-spacing: .1em; }
.dfp { display: block; font-family: "Oswald", sans-serif; font-weight: 600; font-size: 11px; letter-spacing: .25em; line-height: 1.2; margin-bottom: 2px; }
.hero-tag { border-radius: 0; border: 0; padding: 0; font-size: 14px; letter-spacing: .12em; }
.hero-tag .dfp { font-size: 12px; opacity: .85; }
.sub-title { background: #e6e6e6; text-align: center; padding: 10px 16px; font-weight: 900; letter-spacing: .12em; font-size: 18px !important; margin: 8px 0 18px !important; }
.sub-lead { text-align: center; }
.btn-sm, .sticky-cta { background: #111 !important; }
.btn-sm:hover { background: #333 !important; }
.btn-primary { letter-spacing: .1em; }

/* footer: シリーズ */
.series { border-top: 1px solid rgba(255,255,255,.15); border-bottom: 1px solid rgba(255,255,255,.15); padding: 20px 0; margin: 24px 0; }
.series-title { color: #fff; font-weight: 700; letter-spacing: .12em; margin: 0 0 10px; }
.series ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 28px; }
.series li { display: flex; gap: 8px; align-items: baseline; }
.series li span:not(.current) { font-size: 11px; opacity: .6; }
.series .current { color: #fff; font-weight: 700; }

/* ---------- 写真ギャラリー（カード内で横にスワイプ） ---------- */
.gallery { position: relative; }
.gallery-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-track img { flex: 0 0 100%; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; scroll-snap-align: start; }
.g-count { position: absolute; right: 10px; bottom: 10px; background: rgba(0,0,0,.55); color: #fff; font-family: "Open Sans", sans-serif; font-size: 12px; letter-spacing: .08em; padding: 2px 10px; border-radius: 999px; }
.g-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(255,255,255,.9); color: #111; font-size: 22px; line-height: 1; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.2); }
.g-prev { left: 10px; } .g-next { right: 10px; }
.g-btn:disabled { opacity: 0; pointer-events: none; }

/* ---------- プラン名を大きく ---------- */
.area-grid .area-name { font-size: 22px; font-weight: 900; color: var(--ink); letter-spacing: .06em; line-height: 1.4; margin: 0 0 6px; }
.area-grid .area-name span { font-size: 22px; color: var(--accent); margin-right: 10px; }
.area-grid .area-name small { font-size: 15px; font-weight: 700; color: var(--muted); letter-spacing: .02em; }
.area-grid h3 { font-size: 16px; color: var(--text-sub); margin-bottom: 4px; }
@media (max-width: 680px) { .area-grid .area-name, .area-grid .area-name span { font-size: 20px; } }
.area-grid .area-name small { display: inline-block; white-space: nowrap; }

/* ---------- ご利用にあたって（注意の囲み） ---------- */
.caution { background: #fff; border-left: 5px solid var(--accent); border-radius: 0 var(--radius) var(--radius) 0; padding: 22px 26px; margin: 0 0 56px; }
.caution h3 { font-size: 17px; margin: 0 0 8px; letter-spacing: .04em; }
.caution p { margin: 0 0 10px; color: var(--text-sub); font-size: 15px; }
.caution ul { margin: 0; padding-left: 1.2em; }
.caution li { color: var(--text-sub); font-size: 15px; margin-bottom: 8px; }
.caution li strong { color: var(--ink); }
.area-note { margin: 16px 0 24px; }

/* ---------- 見出し：ドローン手形ポータルに合わせ、黒・太い下線・中央そろえ（グリーンは番号などの小さな差し色だけ） ---------- */
:root { --accent-dark: #2f6b3d; --head: #111; }
.sec-label { align-items: center; text-align: center; }
.sec-label:not(.sec-label-light) .sec-jp { color: var(--head); }
.sec-en { display: inline-block; padding-bottom: 8px; border-bottom: 4px solid currentColor; font-family: "Anton", "Oswald", sans-serif; font-weight: 400; letter-spacing: .06em; font-size: clamp(40px, 6vw, 64px); }
.sec-label:not(.sec-label-light) .sec-en { color: var(--head); }
.section h2 { color: var(--head); }
.caution h3 { color: var(--head); }
.final-cta-inner { text-align: center; }

/* ---------- 3つの魅力（冒頭の動画の下） ---------- */
.merits { padding: 56px 0 80px; }
.merits .sec-label { margin-bottom: 16px; }
.merits-lead { margin: 0 0 28px; max-width: 860px; color: var(--text-sub); text-wrap: pretty; }
.merit-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.merit { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.merit img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.merit-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.merit-no { margin: 0 0 2px; font-family: "Oswald", sans-serif; font-size: 15px; letter-spacing: .14em; color: var(--accent); line-height: 1.3; }
.merit h3 { font-size: 21px; font-weight: 900; letter-spacing: .05em; color: var(--head, #111); margin: 0 0 10px; text-wrap: balance; }
.merit-text { margin: 0; font-size: 15px; color: var(--text-sub); }
.merit-note { margin: 8px 0 0; font-size: 12px; line-height: 1.7; color: var(--muted); }
.merit-link { margin-top: auto; padding-top: 14px; font-size: 14px; font-weight: 700; color: var(--head, #111); text-decoration: none; }
.merit-link:hover { text-decoration: underline; }
@media (max-width: 820px) {
  .merit-grid { grid-template-columns: 1fr; }
  .merit img { aspect-ratio: 16 / 9; }
}

/* ---------- 運営について（アクセスの下に小さく） ---------- */
.operator { margin: 28px 0 0; max-width: 860px; font-size: 13px; line-height: 1.9; color: var(--muted); }
.operator strong { color: var(--ink); }
.operator, .points span { text-wrap: balance; }

/* ---------- 「ご利用にあたって」はご利用案内のカード内に置く（白地に溶けないよう薄いグレー地） ---------- */
.card .caution { background: var(--tint); }


/* ============================================================
   動き：読み込み表示・冒頭の登場・画像のフェードイン・スクロール登場
   （シンプルに。「視差効果を減らす」設定のときは動かさない／JSが使えないときは普通に表示）
   ============================================================ */

/* 読み込み表示（JSが有効なときだけ出す。冒頭の写真が読み込めたらフェードで消える） */
.loader { display: none; }
.js .loader { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; background: #111; color: #fff; transition: opacity .7s ease, visibility .7s; }
.js.no-loader .loader { display: none; }
.is-loaded .loader { opacity: 0; visibility: hidden; }
.js:not(.is-loaded):not(.no-loader) body { overflow: hidden; }
.loader-inner { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; padding: 0 24px; }
.loader-mark { font-family: "Anton", "Oswald", sans-serif; font-size: 13px; letter-spacing: .3em; opacity: .7; }
.loader-name { font-weight: 900; font-size: clamp(20px, 4vw, 28px); letter-spacing: .14em; }
.loader-bar { width: 160px; height: 2px; margin-top: 14px; background: rgba(255,255,255,.2); overflow: hidden; }
.loader-bar i { display: block; width: 100%; height: 100%; background: #fff; transform-origin: left; animation: loader-bar 1.6s ease-out both; }
@keyframes loader-bar { from { transform: scaleX(0); } to { transform: scaleX(.9); } }

/* 冒頭：写真がゆっくりズームし、文字が順に浮かぶ */
.js .hero-bg { transform: scale(1.08); transition: transform 3s cubic-bezier(.2,.6,.2,1); }
.js.is-loaded .hero-bg { transform: scale(1); }
.js:not(.is-loaded) .hero-inner > * { opacity: 0; }
.is-loaded .hero-inner > * { animation: rise .9s ease both; }
.is-loaded .hero-inner > :nth-child(1) { animation-delay: .1s; }
.is-loaded .hero-inner > :nth-child(2) { animation-delay: .25s; }
.is-loaded .hero-inner > :nth-child(3) { animation-delay: .4s; }
.is-loaded .hero-inner > :nth-child(4) { animation-delay: .55s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* 画像：読み込み中は薄いグレーの光る枠、読み込めたらフェードイン */
.js img.fade:not(.is-ready) { background: linear-gradient(90deg, #e6eaee 25%, #f3f5f7 40%, #e6eaee 60%); background-size: 300% 100%; animation: shimmer 1.4s linear infinite; }
.js img.fade.is-ready { animation: img-in .7s ease both; }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: 0 0; } }
@keyframes img-in { from { opacity: 0; } to { opacity: 1; } }

/* 動画の枠：読み込み中は小さな回転マーク（動画が出たら隠れる） */
.movie-frame:not(.movie-link)::before { content: ""; position: absolute; left: 50%; top: 50%; width: 34px; height: 34px; margin: -17px 0 0 -17px; border: 3px solid rgba(255,255,255,.25); border-top-color: #fff; border-radius: 50%; animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* スクロール登場：見出し・3つの魅力のカード・プランのカード・活用例（index.html の対象リストと同じ並び） */
.js :is(.sec-label, .merit, .area-grid > li, .usecase) { opacity: 0; transform: translateY(20px); transition: opacity .8s ease, transform .8s ease; transition-delay: var(--d, 0s); }
.js :is(.sec-label, .merit, .area-grid > li, .usecase).in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js .loader { display: none; }
  .js:not(.is-loaded) body { overflow: auto !important; }
  .js .hero-bg { transform: none; transition: none; }
  .js:not(.is-loaded) .hero-inner > * { opacity: 1; }
  .is-loaded .hero-inner > * { animation: none; }
  .js img.fade:not(.is-ready) { animation: none; }
  .js img.fade.is-ready { animation: none; }
  .movie-frame:not(.movie-link)::before { animation: none; }
  .js :is(.sec-label, .merit, .area-grid > li, .usecase) { opacity: 1; transform: none; transition: none; }
}

/* ---------- 拠点・設備：写真は最初から2枚並べて見せる（めくらせない）---------- */
.area-grid.facilities { grid-template-columns: 1fr; gap: 20px; }
.area-grid.facilities > li { flex-direction: row; align-items: stretch; }
.photo-pair { flex: 1.6; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; align-content: start; }
.photo-pair img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.photo-pair img:nth-child(3) { grid-column: 1 / -1; aspect-ratio: 16 / 7; }
.area-grid.facilities .area-body { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 24px 32px; }
@media (max-width: 680px) {
  .area-grid.facilities > li { flex-direction: column; }
  .area-grid.facilities .area-body { padding: 20px 22px 24px; }
}

/* ---------- 写真ギャラリー：他にも写真があること・押すと切り替わることを分かりやすく ---------- */
.gallery-track { gap: 6px; padding-right: 0; }
.gallery-track img { flex: 0 0 84%; width: 84%; min-width: 0; }                 /* 次の写真が右端に少しのぞく */
.gallery-track img:last-child { flex-basis: 100%; width: 100%; }  /* 最後の1枚は全幅で終わる */
.g-btn { width: 52px; height: 52px; font-size: 28px; background: #111; color: #fff; border: 2px solid #fff; box-shadow: 0 4px 14px rgba(0,0,0,.35); transition: transform .15s, background .15s; }
.g-btn:hover { background: #333; transform: translateY(-50%) scale(1.06); }
.g-prev { left: 12px; } .g-next { right: 12px; }
.g-count { font-size: 14px; font-weight: 600; padding: 4px 14px; background: rgba(0,0,0,.7); right: 12px; bottom: 12px; }
@media (max-width: 680px) { .g-btn { width: 46px; height: 46px; font-size: 24px; } }


/* ======================================================================
   やさしいテイスト：阿蘇ドローン手形（個人向け）の案A「やわらかい草原」を取り込む（2026-10-30 Yuki指示）
   ・背景はクリーム色、差し色は緑。カード・ボタン・写真は丸く、影はやわらかく
   ・上にある「ドローン手形シリーズの雰囲気（太いゴシック・黒ボタン・グレーの帯）」を、ここで上書きしている
   ・元に戻すときは、このブロックを消す（このブロックより上は、そのまま残してある）
   ====================================================================== */
:root {
  --ink: #3f4d46; --ink-dark: #33403a; --muted: #667469; --text-sub: #55635a;
  --line: #e8e2d3; --bg: #fbf7ee; --tint: #eef2e3;
  --accent: #5f9663; --accent-dark: #3f7447; --accent-band: #4f8a56;
  --sky: #dcedf1; --sky-ink: #2f6477; --sun: #f2b074;
  --head: #3f4d46; --radius: 24px; --shadow: 0 6px 22px rgba(80,100,80,.12);
}
body { font-family: "Zen Maru Gothic", "Noto Sans JP", system-ui, sans-serif; background: var(--bg); }
.btn, .merit-no, .flow-step, .faq summary::before, .area-name span, .plan-size, .bokuya .size, .points strong, .tag-new { font-family: "Zen Maru Gothic", sans-serif; }

/* ボタン：主ボタンは暖かいオレンジ、小さいボタン・固定ボタンは緑 */
.btn-primary { background: var(--sun); color: var(--ink); font-weight: 900; box-shadow: 0 8px 22px rgba(120,80,30,.28); }
.btn-primary:hover { background: #f5bf8c; }
.btn-sm, .sticky-cta { background: var(--accent-band) !important; color: #fff; font-weight: 700; }
.btn-sm:hover { background: var(--accent-dark) !important; }

/* ヘッダー・ヒーロー */
.site-header { background: rgba(251,247,238,.95); }
.hero { border-radius: 0 0 40px 40px; }
.hero::after { background: linear-gradient(180deg, rgba(40,60,50,.05) 0%, rgba(40,60,50,.25) 45%, rgba(40,60,50,.7) 100%); }

/* 見出し：「ちいさな札」＋やわらかい文字。太い下線はやめ、短い緑の線に */
.sec-label:not(.sec-label-light) .sec-jp { background: var(--sky); color: var(--sky-ink); padding: 2px 16px; border-radius: 999px; font-size: 15px; letter-spacing: .08em; }
.sec-en { font-family: "Zen Maru Gothic", sans-serif; font-weight: 900; font-size: clamp(30px, 4.6vw, 46px); letter-spacing: .08em; padding-bottom: 0; border-bottom: 0; }
.sec-en::after { content: ""; display: block; width: 56px; height: 6px; margin: 12px auto 0; border-radius: 999px; background: var(--accent); }
.sec-label-light .sec-en::after { background: #fff; }
.section h2, .about h2, .final-cta h2 { font-weight: 900; letter-spacing: .05em; }
.sub-title { background: var(--tint); color: var(--accent-dark); border-radius: 999px; }

/* カード・写真：枠線をやめ、丸く、やわらかい影に */
.card, .section:not(.section-tint) .card { border: 0; box-shadow: var(--shadow); }
.merit, .area-grid li, .usecase, .bokuya, .longterm li { border: 0; box-shadow: var(--shadow); }
.longterm li { background: #fff; border-radius: 20px; }
.movie-frame, .access > img { border-radius: 24px; box-shadow: var(--shadow); }
.flow li { border-top-color: var(--accent); }
.usecase-main h3::before { background: var(--accent-band); }

/* 注意の囲み：左に緑の帯（個人向けの注意枠と同じ） */
.caution { border-left: 0; border-radius: 20px; box-shadow: var(--shadow); position: relative; }
.caution::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 6px; border-radius: 0 6px 6px 0; background: var(--accent); }
.card .caution { box-shadow: none; }

/* 写真ギャラリーの矢印・枚数：黒から緑・やわらかい色に */
.g-btn { background: var(--accent-band); border-color: #fff; }
.g-btn:hover { background: var(--accent-dark); }
.g-count { background: rgba(63,77,70,.8); }

/* 最後の申込み・フッター */
.final-cta::after { background: rgba(35,58,44,.72); }
.site-footer { background: var(--ink-dark); }

/* 波の区切り（色のついたセクションの境目） */
.section, .final-cta { position: relative; }
.section-tint::before, .section-tint + .section::before, .section-tint + .final-cta::before {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 28px; background-repeat: repeat-x; background-size: 400px 28px; pointer-events: none; z-index: 2;
}
.section-tint::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 28'%3E%3Cpath d='M0 0H400V14C366 24 333 24 300 14C266 4 233 4 200 14C166 24 133 24 100 14C66 4 33 4 0 14Z' fill='%23fbf7ee'/%3E%3C/svg%3E");
}
.section-tint + .section::before, .section-tint + .final-cta::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 28'%3E%3Cpath d='M0 0H400V14C366 24 333 24 300 14C266 4 233 4 200 14C166 24 133 24 100 14C66 4 33 4 0 14Z' fill='%23eef2e3'/%3E%3C/svg%3E");
}

/* 読み込み表示・画像の光る枠：黒・グレーから、クリーム色・緑に */
.js .loader { background: var(--bg); color: var(--ink); }
.loader-mark { font-family: "Zen Maru Gothic", sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .3em; color: var(--accent-dark); opacity: 1; }
.loader-name { font-family: "Zen Maru Gothic", sans-serif; }
.loader-bar { height: 4px; background: #e6dfca; border-radius: 999px; }
.loader-bar i { background: var(--accent); border-radius: 999px; }
.js img.fade:not(.is-ready) { background: linear-gradient(90deg, #efe8d6 25%, #f8f3e5 40%, #efe8d6 60%); background-size: 300% 100%; }


/* ======================================================================
   BIZ（法人・団体向け）であることを目立たせる（2026-10-30 Yuki指示。同日、塗りつぶしのバッジをやめ、1つの名前に変更）
   ・サービス名は「阿蘇ドローン手形BIZ」として、ひとまとまりの文字で見せる。BIZだけの塗りつぶしの背景は使わない
   ・BIZは、太く・色を変えて目立たせる（個人向けの緑と区別するため、濃い青。写真の上では、明るい水色）
   ====================================================================== */
:root { --biz: #274b63; --biz-light: #c6e8f6; }
.biz-word { font-weight: 900; color: var(--biz); }

/* ヘッダー：「阿蘇ドローン手形BIZ」を1つの名前として。「法人・団体向け」を添える */
.logo { display: flex; align-items: baseline; gap: 0; font-weight: 900; }
.logo span { background: none; color: var(--biz); font: inherit; letter-spacing: inherit; padding: 0; border-radius: 0; margin: 0; }
.logo small { margin-left: 12px; font-size: 11px; font-weight: 700; letter-spacing: .06em; color: var(--muted); }
@media (max-width: 680px) { .logo small { display: none; } }

/* 冒頭：「阿蘇ドローン手形BIZ」を大きく、その下に「法人・団体専用」の札 */
.hero-tag { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin-bottom: 20px; }
.hero-brand { font-size: clamp(26px, 3.8vw, 40px); font-weight: 900; letter-spacing: .08em; line-height: 1.3; text-shadow: 0 2px 14px rgba(0,0,0,.4); }
.hero-brand .biz-word { color: var(--biz-light); }
.hero-for { display: inline-block; background: rgba(255,255,255,.93); color: var(--biz); font-size: 14px; font-weight: 700; letter-spacing: .06em; padding: 4px 16px; border-radius: 999px; }

/* 読み込み表示・フッター */
.footer-logo span { background: none; color: var(--biz-light); font: inherit; letter-spacing: inherit; padding: 0; border-radius: 0; margin: 0; }

/* ======================================================================
   動画：サムネイルを先に見せ、押したときに、はじめて YouTube を読み込む（2026-10-30）
   ・初回に、YouTubeの、ぼけた仮の画像が見えるのを避ける。ページも軽くなる
   ====================================================================== */
.yt-facade:not(.is-playing)::before { display: none; }
.yt-start { position: absolute; inset: 0; display: block; background: #000; cursor: pointer; }
.yt-start img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.yt-start:hover img { transform: scale(1.02); }
.yt-play { position: absolute; top: 50%; left: 50%; width: 68px; height: 48px; margin: -24px 0 0 -34px; background: rgba(0,0,0,.75); border-radius: 12px; transition: background .2s; }
.yt-play::after { content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-35%, -50%); border-style: solid; border-width: 10px 0 10px 18px; border-color: transparent transparent transparent #fff; }
.yt-start:hover .yt-play, .yt-start:focus-visible .yt-play { background: #f00; }
.yt-start:focus-visible { outline: 3px solid #fff; outline-offset: -6px; }

/* ======================================================================
   日本語の折り返し：文節（意味のまとまり）ごとにする（2026-10-30 Yuki指示）
   ・phrase-break.js が、折り返してよい位置に <wbr> を足す。足した位置以外では、折り返さない
   ・Chrome系は、ブラウザ自身の文節判定（auto-phrase）を使う。Safari・Firefoxは、<wbr> と keep-all で同じ見た目にする
   ・JavaScriptが使えないときは、ブラウザの標準の折り返しになる
   ====================================================================== */
body { line-break: strict; }
@supports (word-break: auto-phrase) { body { word-break: auto-phrase; } }
@supports not (word-break: auto-phrase) { body { word-break: keep-all; overflow-wrap: break-word; } }
p, li, dd, td, summary, figcaption { text-wrap: pretty; }
h2, h3 { text-wrap: balance; }
