/* 令和7年度 ドローンサービス 紹介ページ
   デザイントークンは PVスライドの _build/slides/base.css と同一（:root をそのまま持ってきている）。
   base.css 側は 1920x1080 固定レイアウト専用なので、Web はここでレスポンシブに組み直す。
   → 色・書体・角丸・影の作法が共通なので、PVとページが自動的に揃う。 */

:root {
  --ink:        #10231a;   /* 文字：深緑寄りの黒 */
  --green:      #1f6b45;   /* つじ農園の緑 */
  --green-deep: #0d3a26;
  --gold:       #c8963c;   /* 稲の色。アクセント */
  --sky:        #2b6ea8;   /* ドローン・ジャパン側のアクセント */
  --paper:      #f6f3ec;   /* 生成りの白 */
  --line:       rgba(16,35,26,.14);
  --font: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", sans-serif;

  --wrap: 1120px;
  --pad:  clamp(20px, 5vw, 48px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  line-height: 1.75;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }

/* grid/flex の子は既定 min-width:auto なので、中身（nowrapの表など）が
   viewport幅を押し広げてしまう。0 に落として親側で抑える。 */
.cards, .issues, .figs, .steps, .step, .shots, .deliv, .flow, .contacts, .metrics, .awards { min-width: 0; }
.cards > *, .issues > *, .figs > *, .step > *, .shots > *,
.deliv > *, .flow > *, .contacts > *, .metrics > *, .awards > * { min-width: 0; }
.table-scroll { max-width: 100%; }

/* ---------------- 見出し ---------------- */

.eyebrow {
  font-size: clamp(12px, 2.6vw, 15px);
  font-weight: 700; letter-spacing: .22em;
  color: var(--gold); margin-bottom: 14px;
}
.eyebrow.on-light { color: var(--green); }

h1 {
  font-size: clamp(32px, 8vw, 62px);
  font-weight: 800; line-height: 1.24; letter-spacing: .01em;
}
h2 {
  font-size: clamp(25px, 5.6vw, 42px);
  font-weight: 800; line-height: 1.32; letter-spacing: .01em;
}
h3 {
  font-size: clamp(18px, 4vw, 26px);
  font-weight: 700; line-height: 1.45;
}
.lead  { font-size: clamp(15px, 3.5vw, 19px); line-height: 1.9; }
.small { font-size: clamp(13px, 3vw, 15px); line-height: 1.8; opacity: .82; }

.rule { width: 92px; height: 6px; background: var(--gold); border-radius: 4px; margin: 22px 0 30px; }
.rule.center { margin-left: auto; margin-right: auto; }

/* ---------------- セクション ---------------- */

section { padding: clamp(56px, 11vw, 104px) 0; }
section.paper { background: var(--paper); }
section.white { background: #fff; }
section.deep  { background: var(--green-deep); color: #fff; }
section.deep .lead, section.deep .small { color: rgba(255,255,255,.9); }

.sec-head { max-width: 760px; margin-bottom: clamp(32px, 6vw, 52px); }

/* ---------------- ヒーロー ---------------- */

.hero {
  position: relative;
  background: var(--green-deep);
  color: #fff;
  padding: clamp(64px, 12vw, 108px) 0 clamp(48px, 9vw, 84px);
  overflow: hidden;
}
.hero .bg { position: absolute; inset: 0; }
.hero .bg img { width: 100%; height: 100%; object-fit: cover; }
/* base.css の .bg::after と同じ被せ方 */
.hero .bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(13,58,38,.94) 0%, rgba(13,58,38,.80) 46%, rgba(13,58,38,.55) 100%);
}
.hero .wrap { position: relative; }
.hero h1 { margin-bottom: 8px; }
.hero .sub {
  font-size: clamp(14px, 3.4vw, 19px); font-weight: 600;
  color: rgba(255,255,255,.9); letter-spacing: .04em;
}

.player {
  margin-top: clamp(28px, 6vw, 44px);
  border-radius: 18px; overflow: hidden;
  box-shadow: 0 30px 70px rgba(0,0,0,.45);
  background: #000;
}
.player .ratio { position: relative; padding-top: 56.25%; }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player-note {
  margin-top: 14px; font-size: clamp(12px, 2.8vw, 14px);
  color: rgba(255,255,255,.68); letter-spacing: .04em;
}

/* ---------------- カード ---------------- */

.cards { display: grid; gap: clamp(18px, 3.5vw, 28px); }
@media (min-width: 760px) { .cards.two { grid-template-columns: 1fr 1fr; } }

.card {
  background: #fff; border-radius: 20px;
  padding: clamp(26px, 5vw, 40px);
  border-top: 8px solid var(--green);
  box-shadow: 0 18px 44px rgba(0,0,0,.10);
}
.card.two { border-top-color: var(--gold); }
.card .no { font-size: 13px; font-weight: 800; color: var(--gold); letter-spacing: .18em; }
.card.two .no { color: var(--green); }
.card .name { font-size: clamp(21px, 5vw, 30px); font-weight: 800; margin: 10px 0 14px; }
.card .desc { font-size: clamp(14px, 3.2vw, 16px); line-height: 1.85; opacity: .84; }

/* 課題（3点） */
.issues { display: grid; gap: clamp(14px, 3vw, 22px); }
@media (min-width: 760px) { .issues { grid-template-columns: repeat(3, 1fr); } }
.issue {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 16px; padding: clamp(22px, 4.5vw, 32px);
}
.issue .t { font-size: clamp(17px, 4vw, 22px); font-weight: 800; margin-bottom: 10px; color: #fff; }
.issue .d { font-size: clamp(13px, 3vw, 15px); line-height: 1.85; color: rgba(255,255,255,.82); }

/* ---------------- 図版 ---------------- */

.fig {
  border-radius: 16px; overflow: hidden; position: relative;
  background: #fff; box-shadow: 0 18px 44px rgba(0,0,0,.16);
}
.fig img { width: 100%; }
.fig .cap {
  position: absolute; left: 0; bottom: 0;
  background: rgba(13,58,38,.92); color: #fff;
  font-size: clamp(11px, 2.6vw, 13px); font-weight: 700; letter-spacing: .06em;
  padding: 9px 16px; border-top-right-radius: 12px;
}
.figs { display: grid; gap: clamp(16px, 3.5vw, 26px); }
@media (min-width: 760px) { .figs.two { grid-template-columns: 1fr 1fr; } }
/* 7/16と8/12は元画像の縦横比が違う（8/12だけ低解像度）。比較で並べるときは同じ枠に揃える */
.figs.compare .fig img { aspect-ratio: 4 / 3; object-fit: cover; }

/* 工程（撮る→見る→測る→判断→効果） */
.steps { display: grid; gap: clamp(30px, 6vw, 56px); }
.step { display: grid; gap: clamp(16px, 3.5vw, 30px); align-items: center; }
@media (min-width: 860px) {
  .step { grid-template-columns: 1fr 1fr; }
  .step.flip .txt { order: 2; }
}
.step .n {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--green); color: #fff;
  font-size: 17px; font-weight: 800; margin-bottom: 14px;
}
.step h3 { margin-bottom: 10px; }
.step .txt p { font-size: clamp(14px, 3.2vw, 16px); line-height: 1.9; opacity: .86; }

/* ---------------- データ表 ---------------- */

.panel {
  background: #fff; border-radius: 20px;
  padding: clamp(22px, 4.5vw, 38px);
  box-shadow: 0 18px 44px rgba(0,0,0,.10);
}
.panel .ttl {
  font-size: clamp(12px, 2.8vw, 14px); font-weight: 700; letter-spacing: .1em;
  color: var(--green); margin-bottom: 18px;
}

.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.data { width: 100%; border-collapse: collapse; font-size: clamp(14px, 3.4vw, 18px); }
table.data th, table.data td { padding: 13px 10px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
table.data th { font-size: clamp(11px, 2.6vw, 13px); letter-spacing: .08em; opacity: .62; font-weight: 700; }
table.data td.num { text-align: right; font-weight: 800; font-variant-numeric: tabular-nums; }
table.data tr.base td { color: var(--green); border-bottom: 3px solid var(--green); font-weight: 800; }
.tag-low {
  display: inline-block; background: #b8402f; color: #fff;
  font-size: clamp(10px, 2.4vw, 12px); font-weight: 800; letter-spacing: .08em;
  padding: 4px 11px; border-radius: 999px;
}

/* 基準値の2枚組 */
.metrics { display: grid; gap: clamp(14px, 3vw, 22px); margin-top: 6px; }
@media (min-width: 620px) { .metrics { grid-template-columns: 1fr 1fr; } }
.metric {
  background: var(--paper); border-radius: 16px;
  padding: clamp(20px, 4vw, 28px);
  border-left: 6px solid var(--gold);
}
.metric.green { border-left-color: var(--green); }
.metric .k { font-size: clamp(12px, 2.8vw, 14px); font-weight: 700; letter-spacing: .06em; opacity: .7; }
.metric .v { font-size: clamp(38px, 9vw, 58px); font-weight: 800; line-height: 1.1; letter-spacing: -.02em; color: var(--gold); }
.metric.green .v { color: var(--green); }
.metric .u { font-size: clamp(12px, 2.8vw, 14px); opacity: .68; }

.note {
  margin-top: clamp(20px, 4vw, 30px);
  background: rgba(31,107,69,.07);
  border-left: 5px solid var(--green);
  border-radius: 0 12px 12px 0;
  padding: clamp(16px, 3.5vw, 24px);
  font-size: clamp(13px, 3vw, 15px); line-height: 1.9;
}
.note b { color: var(--green); }

/* ---------------- 納品物 ---------------- */

.deliv { display: grid; gap: clamp(14px, 3vw, 20px); }
@media (min-width: 760px) { .deliv { grid-template-columns: repeat(3, 1fr); } }
.deliv .item {
  background: #fff; border-radius: 16px;
  padding: clamp(22px, 4.5vw, 30px);
  border: 1px solid var(--line);
}
.deliv .item .t { font-size: clamp(16px, 3.6vw, 19px); font-weight: 800; margin-bottom: 10px; }
.deliv .item .t::before {
  content: ""; display: block; width: 34px; height: 5px;
  background: var(--gold); border-radius: 3px; margin-bottom: 12px;
}
.deliv .item .d { font-size: clamp(13px, 3vw, 15px); line-height: 1.85; opacity: .84; }

/* ---------------- ② 実写ギャラリー ---------------- */

.shots { display: grid; gap: clamp(14px, 3vw, 22px); }
@media (min-width: 620px) { .shots { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .shots { grid-template-columns: repeat(4, 1fr); } }
.shot { position: relative; border-radius: 16px; overflow: hidden; box-shadow: 0 18px 44px rgba(0,0,0,.28); background: var(--green-deep); }
.shot img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 4; }
.shot .cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to top, rgba(13,58,38,.94), rgba(13,58,38,0));
  color: #fff; font-size: clamp(12px, 2.8vw, 14px); font-weight: 700;
  padding: 34px 16px 14px;
}
.shot-credit {
  margin-top: 16px; font-size: clamp(11px, 2.6vw, 13px);
  letter-spacing: .06em; color: rgba(255,255,255,.62);
}

/* ---------------- 受賞 ---------------- */

.awards { display: grid; gap: 14px; margin-top: 6px; }
@media (min-width: 760px) { .awards { grid-template-columns: 1fr 1fr; } }
.awards li {
  list-style: none; font-size: clamp(14px, 3.2vw, 17px); font-weight: 600;
  padding-left: 30px; position: relative; line-height: 1.65;
}
.awards li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: 13px; height: 13px; border-radius: 50%; background: var(--gold);
}

/* ---------------- 導入の流れ ---------------- */

.flow { display: grid; gap: clamp(14px, 3vw, 18px); counter-reset: f; }
@media (min-width: 860px) { .flow { grid-template-columns: repeat(4, 1fr); } }
.flow .f {
  position: relative; background: #fff; border-radius: 16px;
  padding: clamp(22px, 4.5vw, 30px);
  border-top: 6px solid var(--green);
  box-shadow: 0 14px 34px rgba(0,0,0,.08);
}
.flow .f .n {
  font-size: 12px; font-weight: 800; letter-spacing: .16em; color: var(--gold);
}
.flow .f .t { font-size: clamp(16px, 3.6vw, 19px); font-weight: 800; margin: 8px 0 8px; }
.flow .f .d { font-size: clamp(13px, 3vw, 14px); line-height: 1.8; opacity: .82; }

/* ---------------- 問い合わせ ---------------- */

.contacts { display: grid; gap: clamp(16px, 3.5vw, 24px); margin-top: 8px; }
@media (min-width: 700px) { .contacts { grid-template-columns: 1fr 1fr; } }
.contact-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 18px; padding: clamp(24px, 5vw, 36px);
}
.contact-card .org { font-size: clamp(17px, 4vw, 22px); font-weight: 800; margin-bottom: 6px; color: #fff; }
.contact-card .role { font-size: clamp(12px, 2.8vw, 14px); color: rgba(255,255,255,.72); margin-bottom: 16px; }
.contact-card a.mail {
  display: inline-block; text-decoration: none;
  background: var(--gold); color: #10231a;
  font-size: clamp(14px, 3.2vw, 17px); font-weight: 800; letter-spacing: .02em;
  padding: 13px 24px; border-radius: 999px;
  word-break: break-all;
}
.contact-card a.mail:hover { background: #d8a54c; }

/* ---------------- フッタ ---------------- */

footer {
  background: #0a2c1d; color: rgba(255,255,255,.6);
  padding: 34px 0; font-size: clamp(11px, 2.6vw, 13px); letter-spacing: .06em;
}
footer .brand { color: #fff; font-weight: 700; letter-spacing: .1em; margin-bottom: 8px; }
