@charset "UTF-8";
/* ============================================
   株式会社ソラメトリクス - style.css（30万円プラン版）
   CMSなし・演出なし。標準的な:hoverトランジションのみの
   ベーシックなレスポンシブデザイン。配色・フォントは
   100万円版(ドローン測量HP)の css/style.css :root を踏襲。
   ============================================ */

:root {
  --bg: #0a0e1a;
  --surface: #10182b;
  --surface-2: #0d1424;
  --card: rgba(255,255,255,.04);
  --border: rgba(255,255,255,.1);
  --border-strong: rgba(255,255,255,.18);
  --cyan: #22d3ee;
  --blue: #4f7cff;
  --violet: #8b5cf6;
  --grad: linear-gradient(135deg, var(--cyan), var(--blue), var(--violet));
  --grad-soft: linear-gradient(135deg, rgba(34,211,238,.16), rgba(79,124,255,.14), rgba(139,92,246,.16));
  --text: #e8edf7;
  --text-dim: #a9b7cf;
  --danger: #ff8a98;
  --font-en: "Space Grotesk", sans-serif;
  --font-ja: "Noto Sans JP", sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 7.6rem;
  --radius: 1.2rem;
  --radius-lg: 1.8rem;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 62.5%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  font-family: var(--font-ja);
  font-size: 1.5rem;
  line-height: 1.9;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  padding-top: var(--header-h);
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 55% at 50% 0%, rgba(0,0,0,.85), transparent 85%);
  pointer-events: none;
}
img { max-width: 100%; display: block; }
ul, li { list-style: none; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-en), var(--font-ja); font-weight: 700; letter-spacing: 0.01em; }

/* ---------- ヘッダー ---------- */
.header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: var(--header-h);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 3.2rem;
  background: rgba(10,14,26,.86);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  border-bottom: 1px solid var(--border);
}
.brand { display: flex; align-items: center; gap: 1rem; }
.brand .mark { width: 30px; height: 30px; flex: none; }
.brand__ttl {
  display: block;
  font-family: var(--font-en);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
}
.brand__sub {
  display: block;
  font-family: var(--font-ja);
  font-size: 0.95rem;
  color: var(--text-dim);
  letter-spacing: 0.02em;
  margin-top: 0.2em;
}

/* ---------- グローバルナビ ---------- */
.gnav { display: flex; align-items: center; gap: 2.6rem; }
.gnav__list {
  display: flex;
  align-items: center;
  gap: 2.6rem;
}
.gnav__list a {
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-dim);
  padding: 0.4rem 0.1rem;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.gnav__list a:hover,
.gnav__list a[aria-current="page"] {
  color: #fff;
  border-color: var(--cyan);
}
.header .btn-primary { margin-left: 0.6rem; }

/* ---------- ハンバーガーメニュー ---------- */
.menu-btn {
  display: none;
  width: 4.4rem; height: 4.4rem;
  border-radius: 1rem;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border-strong);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}
.menu-btn span {
  display: block;
  width: 20px; height: 1.5px;
  background: #fff;
  transition: transform 0.25s var(--ease-out), opacity 0.2s;
}
body.is-menu-open .menu-btn span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
body.is-menu-open .menu-btn span:nth-child(2) { opacity: 0; }
body.is-menu-open .menu-btn span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 900px) {
  .menu-btn { display: flex; }
  .gnav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    width: 100%;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    background: var(--surface-2);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 16px 30px rgba(0,0,0,0.35);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease;
    z-index: 90;
  }
  body.is-menu-open .gnav { opacity: 1; visibility: visible; }
  .gnav__list {
    flex-direction: column;
    align-items: flex-start;
    padding: 2.4rem 3.2rem 3.2rem;
    gap: 1.8rem;
  }
  .gnav__list a { font-size: 1.6rem; }
  .header .btn-primary { display: none; }
}

/* ---------- 共通ボタン ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  min-width: 220px;
  padding: 1.5rem 3rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), background-color 0.25s, border-color 0.25s, color 0.25s;
}
.btn-primary { background: var(--grad); color: #08101f; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 26px -6px rgba(79,124,255,.55); }
.btn-ghost { background: rgba(255,255,255,.03); color: var(--text); border-color: var(--border-strong); }
.btn-ghost:hover { background: rgba(255,255,255,.08); border-color: var(--cyan); transform: translateY(-2px); }
.btn-arrow { transition: transform 0.25s var(--ease-out); }
.btn:hover .btn-arrow { transform: translateX(4px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 1.6rem; }

/* ---------- 電話番号（情報カード表示・ボタンではない） ---------- */
.tel-card {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
  padding: 1.6rem 2.6rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
}
.tel-card__label { font-size: 1.2rem; color: var(--text-dim); }
.tel-card__num { font-family: var(--font-en); font-size: 2.2rem; font-weight: 700; color: #fff; letter-spacing: 0.03em; }
.tel-card__note { font-size: 1.2rem; color: var(--text-dim); }

/* ---------- 共通見出し ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--font-en);
  font-size: 1.2rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1.2rem;
}
.eyebrow::before { content: ""; width: 18px; height: 1px; background: var(--grad); }
.sec-head { margin-bottom: 4.2rem; max-width: 720px; }
.sec-head__ja {
  font-size: clamp(2.4rem, 3.4vw, 3.4rem);
  color: #fff;
  line-height: 1.35;
  margin-bottom: 1.4rem;
}
.sec-head__ja .accent { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sec-head__desc { color: var(--text-dim); font-size: 1.4rem; }

/* ---------- レイアウト共通 ---------- */
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 clamp(2.4rem, 6vw, 6rem); }
.sec { padding: 8rem 0; }
.sec--tint { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* ---------- ヒーロー ---------- */
.hero {
  position: relative;
  min-height: 62vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: #fff;
}
.hero__photo { position: absolute; inset: 0; z-index: 0; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(6,9,17,.92) 0%, rgba(6,9,17,.58) 48%, rgba(6,9,17,.28) 100%);
}
.hero__inner {
  position: relative;
  z-index: 1;
  padding: 8rem clamp(2.4rem, 6vw, 6rem) 6rem;
  max-width: 920px;
}
.hero__kicker {
  display: block;
  font-family: var(--font-en);
  font-size: 1.2rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1.6rem;
}
.hero__copy {
  font-size: clamp(3rem, 5vw, 5rem);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: -0.01em;
}
.hero__copy em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lead { margin-top: 2rem; font-size: 1.5rem; max-width: 560px; color: rgba(232,237,247,.86); }
.hero__btns { display: flex; flex-wrap: wrap; gap: 1.6rem; margin-top: 3.2rem; }

/* ---------- 会社紹介（トップ） ---------- */
.intro { padding: 8rem 0; }
.intro__inner {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 clamp(2.4rem, 6vw, 6rem);
  text-align: center;
}
.intro__label { display: inline-block; }
.intro__lead {
  font-size: clamp(2rem, 2.8vw, 2.6rem);
  font-weight: 700;
  line-height: 1.8;
  letter-spacing: 0.01em;
  color: #fff;
  margin: 1.6rem 0 2.4rem;
}
.intro__lead strong { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: inherit; }
.intro__body { color: var(--text-dim); font-size: 1.4rem; margin-bottom: 2.8rem; }
.intro__more { display: inline-flex; }

/* ---------- サービスダイジェスト（トップ・カードグリッド） ---------- */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.svc-card {
  background: var(--surface);
  padding: 3.2rem 2.8rem;
  transition: background-color 0.2s;
}
.svc-card:hover { background: var(--card); }
.svc-card__icon {
  width: 4.8rem; height: 4.8rem;
  border-radius: 1rem;
  background: var(--grad-soft);
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
}
.svc-card__icon svg { width: 2.4rem; height: 2.4rem; stroke: var(--cyan); }
.svc-card__ttl { font-size: 1.7rem; color: #fff; margin-bottom: 1rem; }
.svc-card__desc { font-size: 1.3rem; color: var(--text-dim); }

/* ---------- 数字で見る実績 ---------- */
.stats {
  position: relative;
  background: var(--surface-2);
  padding: 7rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 3rem;
}
.stats__item { text-align: center; border-left: 1px solid var(--border); }
.stats__item:first-child { border-left: none; }
.stats__num {
  font-family: var(--font-en);
  font-size: clamp(3.6rem, 5.4vw, 5.2rem);
  font-weight: 700;
  line-height: 1.1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stats__num small { font-size: 0.36em; margin-left: 0.2em; font-family: var(--font-ja); font-weight: 700; color: var(--text); -webkit-text-fill-color: var(--text); }
.stats__label { margin-top: 0.8rem; font-size: 1.3rem; color: var(--text-dim); letter-spacing: 0.04em; }

/* ---------- 実績・作業ダイジェスト（トップ・カードグリッド） ---------- */
.work-digest-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.4rem;
}
.work-digest-item { aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--border); }
.work-digest-item img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 720px) {
  .work-digest-grid { grid-template-columns: 1fr; }
}

/* ---------- 実績カードグリッド（works.html） ---------- */
.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 3rem 2.6rem;
}
.work-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  overflow: hidden;
}
.work-card__img { aspect-ratio: 4 / 3; overflow: hidden; }
.work-card__img img { width: 100%; height: 100%; object-fit: cover; }
.work-card__body { padding: 2.2rem 2.4rem 2.6rem; }
.work-card__tag {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  padding: 0.3em 1em;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  color: var(--cyan);
  margin-bottom: 1.2rem;
}
.work-card__ttl { font-size: 1.6rem; color: #fff; margin-bottom: 0.8rem; }
.work-card__meta { font-size: 1.2rem; color: var(--text-dim); margin-bottom: 1rem; }
.work-card__result { font-size: 1.3rem; color: var(--cyan); font-weight: 700; }

/* ---------- 会社概要（表） ---------- */
.company-table {
  max-width: 860px;
  margin: 0 auto;
}
.company-table > div {
  display: flex;
  padding: 2.2rem 1rem;
  border-bottom: 1px solid var(--border);
  gap: 2rem;
}
.company-table > div:first-child { border-top: 1px solid var(--border); }
.company-table dt {
  width: 11em;
  flex-shrink: 0;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-dim);
}
.company-table dd { flex: 1; color: var(--text); }

/* ---------- 汎用2カラムブロック ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 5rem;
  align-items: center;
}
.split__img { aspect-ratio: 4 / 3; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); }
.split__img img { width: 100%; height: 100%; object-fit: cover; }
.split--rev .split__img { order: 2; }
.split__card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 3.6rem;
}
.split__card p { color: var(--text-dim); margin-bottom: 1.6em; }
.split__card p:last-child { margin-bottom: 0; }
.split__sign { color: #fff !important; font-weight: 700; margin-top: 2rem !important; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: 3.2rem; }
  .split--rev .split__img { order: 0; }
}

/* ---------- 沿革タイムライン ---------- */
.history { max-width: 780px; margin: 0 auto; }
.history li {
  position: relative;
  display: flex;
  gap: 3rem;
  padding: 0 0 3.2rem 2.6rem;
  border-left: 2px solid var(--border);
}
.history li::before {
  content: "";
  position: absolute;
  left: -0.7rem;
  top: 0.5em;
  width: 1.3rem; height: 1.3rem;
  border-radius: 50%;
  background: var(--grad);
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 1px var(--border-strong);
}
.history__year { font-family: var(--font-en); font-size: 1.9rem; font-weight: 700; flex-shrink: 0; width: 6em; color: #fff; }
.history__txt { color: var(--text-dim); }
@media (max-width: 640px) {
  .history li { gap: 1rem; flex-direction: column; padding-bottom: 2.6rem; }
  .history__year { width: auto; }
}

/* ---------- 情報カード（アクセス・お問い合わせ等） ---------- */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2.4rem;
}
.info-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.8rem 2.6rem;
  background: var(--card);
}
.info-card__ttl { font-size: 1.6rem; color: #fff; margin-bottom: 1.2rem; }
.info-card p { font-size: 1.35rem; color: var(--text-dim); }
.info-card p + p { margin-top: 0.8em; }

/* ---------- サービス詳細（services.html） ---------- */
.svc-detail {
  padding: 5.4rem 0;
  border-bottom: 1px solid var(--border);
}
.svc-detail:last-of-type { border-bottom: none; }
.svc-detail__inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4.4rem;
  align-items: center;
}
.svc-detail:nth-child(even) .svc-detail__img { order: 2; }
.svc-detail__img { aspect-ratio: 4 / 3; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); }
.svc-detail__img img { width: 100%; height: 100%; object-fit: cover; }
.svc-detail__num {
  font-family: var(--font-en);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: 0.1em;
  margin-bottom: 1.2rem;
  display: block;
}
.svc-detail__ttl { font-size: clamp(2.1rem, 2.8vw, 2.7rem); color: #fff; margin-bottom: 1.6rem; }
.svc-detail__desc { color: var(--text-dim); margin-bottom: 2.2rem; }
.svc-detail__list { display: flex; flex-direction: column; gap: 0.9rem; margin-bottom: 2.2rem; }
.svc-detail__list li { display: flex; gap: 1rem; font-size: 1.35rem; color: var(--text); }
.svc-detail__list li::before { content: "―"; color: var(--cyan); flex-shrink: 0; }
.svc-detail__price {
  display: inline-flex;
  align-items: baseline;
  gap: 0.8rem;
  font-size: 1.3rem;
  color: var(--text-dim);
  border-top: 1px dashed var(--border);
  padding-top: 1.6rem;
}
.svc-detail__price strong { font-family: var(--font-en); font-size: 1.5rem; color: #fff; }
@media (max-width: 860px) {
  .svc-detail__inner { grid-template-columns: 1fr; gap: 2.8rem; }
  .svc-detail:nth-child(even) .svc-detail__img { order: 0; }
}

/* ---------- お問い合わせフォーム ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 5.6rem;
  align-items: start;
}
.contact-layout .info-grid { grid-template-columns: 1fr; gap: 2.4rem; }
@media (max-width: 860px) {
  .contact-layout { grid-template-columns: 1fr; gap: 3.6rem; }
}
.form-box { max-width: 640px; }
.f-row { margin-bottom: 2.8rem; }
.f-row label {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  font-size: 1.4rem;
}
.req {
  font-size: 1.1rem;
  font-weight: 700;
  padding: 0.2em 0.9em;
  border-radius: 999px;
  background: var(--grad);
  color: #08101f;
}
.req--opt { background: rgba(255,255,255,.08); color: var(--text-dim); }
.req--note { background: none; color: var(--text-dim); font-weight: 400; padding: 0; font-size: 1.2rem; }
.f-row input[type="text"],
.f-row input[type="email"],
.f-row input[type="tel"],
.f-row select,
.f-row textarea {
  width: 100%;
  font: inherit;
  color: var(--text);
  padding: 1.4rem 1.6rem;
  border: 1px solid var(--border-strong);
  border-radius: 0.9rem;
  background: rgba(255,255,255,.03);
  transition: border-color 0.2s, background-color 0.2s;
}
.f-row select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--text-dim) 50%), linear-gradient(135deg, var(--text-dim) 50%, transparent 50%);
  background-position: calc(100% - 22px) center, calc(100% - 16px) center;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}
.f-row input:focus, .f-row select:focus, .f-row textarea:focus {
  outline: none;
  border-color: var(--cyan);
  background: rgba(255,255,255,.06);
}
.f-row textarea { min-height: 180px; resize: vertical; }
.f-row--hint { font-size: 1.25rem; color: var(--text-dim); margin-top: -1.6rem; margin-bottom: 2.8rem; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-submit { margin-top: 3.6rem; }
.form-submit .btn { width: 100%; min-height: 5.6rem; }
.form-submit .btn:disabled { opacity: 0.6; cursor: default; pointer-events: none; }
.form-note { font-size: 1.25rem; color: var(--text-dim); margin-top: 1.6rem; }
.form-error { font-size: 1.3rem; color: var(--danger); font-weight: 700; margin-top: 1.6rem; display: none; }

/* ---------- 送信完了メッセージ ---------- */
.form-done {
  text-align: center;
  padding: 3rem 2.4rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--card);
}
.form-done__icon {
  width: 7rem; height: 7rem;
  margin: 0 auto 2.4rem;
  border-radius: 50%;
  background: var(--grad);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.8rem;
  font-weight: 700;
  color: #08101f;
}
.form-done__ttl { font-size: clamp(1.9rem, 2.6vw, 2.4rem); color: #fff; margin-bottom: 1.6rem; }
.form-done__txt { color: var(--text-dim); line-height: 1.9; font-size: 1.4rem; }

/* ---------- 下層ページヒーロー ---------- */
.page-head {
  padding: 12.4rem clamp(2.4rem, 6vw, 6rem) 6rem;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
  text-align: left;
}
.page-head__inner { max-width: 1180px; margin: 0 auto; }
.breadcrumb {
  display: flex;
  gap: 0.8em;
  font-size: 1.2rem;
  color: var(--text-dim);
  margin-bottom: 2.4rem;
}
.breadcrumb a { text-decoration: underline; text-underline-offset: 3px; }
.breadcrumb a:hover { color: var(--cyan); }
.page-head h1 { font-size: clamp(2.8rem, 4vw, 4rem); color: #fff; margin-bottom: 1.6rem; }
.page-head p { max-width: 640px; color: var(--text-dim); font-size: 1.4rem; }

/* ---------- 下層CTA ---------- */
.page-cta {
  text-align: center;
  padding: 8rem clamp(2.4rem, 6vw, 6rem);
  background: radial-gradient(ellipse 60% 100% at 50% 0%, rgba(79,124,255,.14), transparent 70%);
  border-top: 1px solid var(--border);
}
.page-cta__ttl { font-size: clamp(2.2rem, 3.2vw, 3rem); color: #fff; margin-bottom: 3rem; }
.page-cta__desc { color: var(--text-dim); margin-bottom: 3.2rem; max-width: 560px; margin-inline: auto; }

/* ---------- フッター ---------- */
.footer { background: var(--surface-2); border-top: 1px solid var(--border); padding: 7rem 0 3.6rem; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 5rem;
}
.footer__brand .brand { margin-bottom: 1.4rem; }
.footer__brand p { color: var(--text-dim); font-size: 1.3rem; max-width: 320px; }
.footer__col h4 {
  font-family: var(--font-en);
  font-size: 1.2rem;
  color: var(--cyan);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.6rem;
}
.footer__col ul { display: flex; flex-direction: column; gap: 1rem; }
.footer__col a { font-size: 1.35rem; color: var(--text); opacity: 0.85; transition: color 0.2s, opacity 0.2s; }
.footer__col a:hover { color: var(--cyan); opacity: 1; }
.footer__col p { font-size: 1.3rem; color: var(--text-dim); line-height: 1.9; }
.footer__col p + p { margin-top: 1rem; }
.footer__bottom {
  border-top: 1px solid var(--border);
  padding-top: 2.4rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.2rem;
  font-size: 1.2rem;
  color: var(--text-dim);
}
@media (max-width: 860px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer__grid { grid-template-columns: 1fr; gap: 3.2rem; }
}

/* ---------- admin.html ---------- */
.admin-header {
  position: static;
  height: auto;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  padding: 2rem 3.2rem;
}
.admin-badge {
  padding: 0.4rem 1.6rem;
  border-radius: 999px;
  background: var(--grad-soft);
  color: var(--cyan);
  font-size: 1.2rem;
  font-weight: 700;
  border: 1px solid var(--border-strong);
}
.admin-main { max-width: 960px; margin: 0 auto; padding: 5.6rem 2.4rem 12rem; }
.admin-notice {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem 2.2rem;
  font-size: 1.3rem;
  color: var(--text-dim);
  margin-bottom: 3.6rem;
  line-height: 1.9;
}
.admin-ttl { font-size: clamp(2.2rem, 3vw, 2.8rem); color: #fff; margin-bottom: 2.8rem; }
.admin-key-box { max-width: 420px; margin: 8rem auto; text-align: center; }
.admin-key-box p { color: var(--text-dim); margin-bottom: 1.6rem; font-size: 1.35rem; }
.admin-key-row { display: flex; gap: 1rem; }
.admin-key-row input {
  flex: 1; font: inherit; color: var(--text); padding: 1.3rem 1.5rem;
  border: 1px solid var(--border-strong); border-radius: 0.9rem; background: rgba(255,255,255,.03);
}
.admin-key-row input:focus { outline: none; border-color: var(--cyan); background: rgba(255,255,255,.06); }
.admin-key-row button, .admin-toolbar button {
  font: inherit; font-weight: 700; letter-spacing: 0.03em;
  border: none; border-radius: 0.9rem; background: var(--grad);
  color: #08101f; padding: 1.3rem 2.2rem; cursor: pointer;
  transition: opacity 0.2s;
}
.admin-key-row button:hover, .admin-toolbar button:hover { opacity: 0.85; }
.admin-toolbar__actions button.is-secondary { background: rgba(255,255,255,.06); color: var(--text); }
.admin-error { color: var(--danger); font-weight: 700; margin-top: 1.4rem; font-size: 1.3rem; }
.admin-toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 2.4rem; gap: 1.4rem; flex-wrap: wrap; }
.admin-toolbar__count { color: var(--text-dim); font-size: 1.3rem; }
.admin-toolbar__actions { display: flex; gap: 1rem; }
.admin-empty { text-align: center; color: var(--text-dim); padding: 8rem 2.4rem; font-size: 1.35rem; }
.inq-list { display: flex; flex-direction: column; gap: 1.6rem; }
.inq-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 2.2rem 2.4rem; }
.inq-top { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem; margin-bottom: 1.4rem; }
.kind-badge { display: inline-block; padding: 0.3rem 1.4rem; border-radius: 999px; font-size: 1.15rem; font-weight: 700; border: 1px solid var(--border-strong); }
.kind-badge.mitsumori { color: var(--blue); }
.kind-badge.other { color: var(--text-dim); }
.inq-date { font-family: var(--font-en); font-size: 1.25rem; color: var(--text-dim); }
.inq-name { font-size: 1.5rem; font-weight: 700; color: #fff; }
.inq-contact { display: flex; flex-wrap: wrap; gap: 1.6rem; font-size: 1.3rem; color: var(--text-dim); margin: 0.8rem 0 1.6rem; }
.inq-contact a { color: var(--cyan); text-decoration: underline; }
.inq-data { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem 2rem; border-top: 1px dashed var(--border); padding-top: 1.4rem; }
.inq-data dt { font-size: 1.1rem; color: var(--text-dim); margin-bottom: 0.3rem; }
.inq-data dd { font-size: 1.35rem; color: var(--text); white-space: pre-wrap; line-height: 1.8; margin: 0; }
.inq-data .full { grid-column: 1 / -1; }
[hidden] { display: none !important; }

@media (max-width: 640px) {
  :root { --header-h: 6.8rem; }
  .header { padding: 0 2rem; }
  .brand__ttl { font-size: 1.3rem; }
  .brand__sub { font-size: 0.8rem; }
  .hero__copy { font-size: clamp(2.6rem, 9vw, 3.4rem); }
  .page-head { padding: 10.4rem 2rem 5rem; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ============================================
   大画面対応（1800px以上・WQHD/4K想定）
   30万円クラス標準: html scale-up(A)+コンテナ90vw(B)
   ※html{font-size:62.5%}(10px基準)のため学習塾HPの基準値(16px基準)を
   そのまま流用せず、倍率(1.125〜1.25倍)を10px基準に比例縮小した値を使用
   ============================================ */
@media (min-width: 1800px) {
  html { font-size: clamp(11.25px, .4875vw, 12.5px); }
  .wrap { max-width: 90vw; }
  .page-head__inner { max-width: 90vw; }
  .sec { padding-block: 11rem; }
  .page-head { padding-block: 15rem 7.5rem; }
  .hero { min-height: 68vh; }
  .work-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
}
