@charset "UTF-8";
/* =========================================================
   AERONAUT（aeronaut.jp）
   AcroEASE（acroease.com）の style.css をもとに、色とトップページの構成を調整しています
   色やフォントを変えたいときは、下の :root の値を書き換えてください
   ========================================================= */
:root {
  --accent: #6f75a1;     /* ロゴのブルーグレー */
  --accent-dark: #565c88;
  --navy: #0a1622;       /* 写真にのせる濃紺 */
  --ink: #2b2f33;        /* 本文の濃いグレー */
  --gray: #8a8f94;       /* 薄い文字 */
  --line: #e3e5e7;
  --sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --script: "Mrs Saint Delafield", "Snell Roundhand", cursive;   /* 手書き風の英字 */
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  color: var(--ink);
  background: #fff;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul { margin: 0; padding: 0; }
ul { list-style: none; }

/* 矢印（→） */
.arrow {
  display: inline-block;
  position: relative;
  width: 18px; height: 1px;
  margin-left: 16px;
  background: currentColor;
  vertical-align: middle;
  transition: transform .3s;
}
.arrow::after {
  content: "";
  position: absolute; right: 0; top: -3px;
  width: 7px; height: 7px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
}
a:hover .arrow { transform: translateX(5px); }

/* ---------- ヘッダー ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center;
  height: 78px;
  padding: 0 36px;
  margin-bottom: -78px;          /* メインビジュアルをヘッダーの下に潜り込ませる */
  background: rgba(255,255,255,.80);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.6);
}
.header__logo { display: block; flex: none; }
.header__logo img { width: 250px; }
.header__logo span,
.footer__logo span {
  display: block;
  margin-top: 6px;
  font-size: 9px;
  letter-spacing: .32em;
  color: var(--gray);
  line-height: 1;
}
.gnav { margin-left: auto; }
.gnav ul { display: flex; gap: 30px; }
.gnav a {
  display: block;
  padding: 6px 2px;
  font-size: 11px;
  letter-spacing: .14em;
  color: #5d6268;
  border-bottom: 1px solid transparent;
  transition: color .2s, border-color .2s;
}
.gnav a:hover,
.gnav a.is-current { color: var(--accent); border-bottom-color: var(--accent); }
.header__mark {
  flex: none;
  margin-left: 32px;
  padding-left: 32px;
  border-left: 1px solid rgba(43,47,51,.18);
}
.header__mark img { width: 96px; }

/* SNS アイコン */
.sns { display: flex; align-items: center; gap: 18px; flex: none; margin-left: 44px; }
.sns a { display: block; color: #5d6268; transition: color .2s; }
.sns a:hover { color: var(--accent); }
.sns svg {
  display: block; width: 20px; height: 20px;
  fill: none; stroke: currentColor; stroke-width: 1.5;
  stroke-linecap: round; stroke-linejoin: round;
}
.header__toggle { display: none; }

/* ---------- メインビジュアル ---------- */
.hero {
  position: relative;
  min-height: 600px;
  height: 42vw;
  max-height: 820px;
  padding-top: 78px;             /* ヘッダーの高さぶん */
  display: flex; align-items: center;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(10,22,34,.72) 0%, rgba(10,22,34,.45) 38%, rgba(10,22,34,0) 62%),
    url(../images/hero.jpg) center top / cover no-repeat;
}
.hero__body { padding: 0 5.2vw; }
.hero__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(26px, 2.9vw, 50px);
  line-height: 1.45;
  letter-spacing: .08em;
  text-shadow: 0 2px 18px rgba(0,0,0,.35);
}
.hero__en {
  margin-top: 16px;
  font-size: clamp(12px, 1.25vw, 19px);
  letter-spacing: .34em;
  font-weight: 300;
}
.hero__en::after {
  content: "";
  display: block;
  width: 50px; height: 2px;
  margin: 22px 0 24px;
  background: #fff;
}
.hero__lead {
  font-size: clamp(13px, 1.05vw, 16px);
  letter-spacing: .22em;
  line-height: 2;
}
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 220px;
  margin-top: 28px;
  padding: 12px 28px;
  font-size: 13px;
  letter-spacing: .24em;
  color: #fff;
  background: var(--accent);
  border: 1px solid rgba(255,255,255,.55);
  transition: background .25s;
}
.btn:hover { background: var(--accent-dark); }
.hero .btn { background: rgba(10,22,34,.18); border-color: rgba(255,255,255,.85); }
.hero .btn:hover { background: rgba(255,255,255,.2); }

.hero__catch {                  /* 右上の短いコピー */
  position: absolute;
  top: calc(78px + 9%); right: 4%;
  padding-left: 18px;
  border-left: 1px solid rgba(255,255,255,.7);
  text-shadow: 0 1px 12px rgba(10,22,34,.55);
}
.hero__catch p {
  font-family: var(--serif);
  font-size: clamp(14px, 1.35vw, 22px);
  letter-spacing: .2em;
  line-height: 1.9;
}
.hero__catch span {
  display: block;
  margin-top: 8px;
  font-size: clamp(8px, .7vw, 11px);
  letter-spacing: .3em;
  font-weight: 300;
}
.hero__script {                 /* 右下の手書き風の英字 */
  position: absolute;
  right: 3.5%; bottom: 9%;
  font-family: var(--script);
  font-size: clamp(34px, 4.4vw, 76px);
  line-height: .95;
  text-align: center;
  transform: rotate(-9deg);
  text-shadow: 0 2px 16px rgba(10,22,34,.5);
}

/* ---------- 事業内容カード ---------- */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: #fff;
  border-top: 2px solid #fff;
}
.service {
  position: relative;
  display: flex; flex-direction: column;
  min-height: 250px;
  padding: 30px 36px 24px;
  color: #fff;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  isolation: isolate;
}
.service::before {            /* 写真の上にのせる暗いグラデーション */
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(12,22,32,.82) 0%, rgba(12,22,32,.55) 55%, rgba(12,22,32,.15) 100%);
  transition: background-color .3s;
}
.service:hover::before { background-color: rgba(111,117,161,.30); }
.service__num { font-size: 17px; letter-spacing: .14em; font-weight: 300; line-height: 1.4; }
.service__title {
  margin-top: 8px;
  font-size: clamp(19px, 1.7vw, 26px);
  font-weight: 400;
  letter-spacing: .16em;
  line-height: 1.5;
}
.service__en { margin-top: 4px; font-size: 9px; letter-spacing: .2em; opacity: .9; }
.service__text { margin-top: 18px; font-size: 12px; letter-spacing: .14em; line-height: 1.9; }
.service__more { margin-top: auto; padding-top: 14px; font-size: 11px; letter-spacing: .14em; }

/* ---------- 4つの特長 ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 30px 3vw 22px;
}
.feature { display: flex; align-items: center; gap: 18px; }
.feature svg {
  flex: none;
  width: 58px; height: 44px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.feature h3 { font-size: 15px; font-weight: 400; letter-spacing: .14em; color: #555a5f; }
.feature p { margin-top: 4px; font-size: 11px; letter-spacing: 0; line-height: 1.8; color: #a3a7ab; }

/* ---------- 実績（写真の帯） ---------- */
.works {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
}
.works__item {
  position: relative;
  min-height: 145px;
  aspect-ratio: 16 / 9.2;
  background-size: cover;
  background-position: center;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.works__item::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(0deg, rgba(8,20,34,.55), rgba(8,20,34,0) 55%);
}
.works__cap {
  position: absolute; right: 16px; bottom: 12px;
  font-size: 10px; letter-spacing: .24em; font-weight: 300;
}
.works__item--label,
.works__item--message {
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 0 16px 30px;
  isolation: isolate;
}
.works__item--label::before,
.works__item--message::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(0deg, rgba(8,20,34,.6), rgba(8,20,34,.05));
}
.works__en { font-size: 12px; letter-spacing: .2em; line-height: 1.6; }
.works__jp { font-size: 13px; letter-spacing: .18em; }
.works__item--message p { font-size: 15px; letter-spacing: .2em; line-height: 1.75; }

/* ---------- フッター ---------- */
.footer {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 36px;
}
.footer__logo { display: flex; align-items: center; gap: 20px; }
.footer__logo img { width: 150px; }
.footer__brand { display: flex; align-items: center; gap: 26px; }
.footer__brand img { width: 92px; opacity: .85; }
.footer__logo span { margin-top: 0; }
.footer__copy {
  padding-left: 26px;
  border-left: 1px solid var(--line);
  font-size: 11px;
  letter-spacing: .24em;
  color: var(--gray);
}

/* =========================================================
   タブレット（1100px 以下）
   ========================================================= */
/* 特長の文章：画面が狭いときは改行位置を自動にする */
@media (max-width: 1450px) { .feature p br { display: none; } }

@media (max-width: 1100px) {
  .header { padding: 0 20px; height: 64px; margin-bottom: -64px; }
  .hero { padding-top: 64px; }
  .header__logo img { width: 190px; }
  .sns { margin-left: auto; }
  .header__toggle { margin-left: 10px !important; }
  .header__logo span { font-size: 7px; }
  .header__mark { display: none; }

  /* ハンバーガーメニュー */
  .header__toggle {
    display: block;
    position: relative;
    width: 44px; height: 44px;
    margin-left: auto;
    padding: 0; border: 0; background: none; cursor: pointer;
  }
  .header__toggle span {
    position: absolute; left: 10px;
    width: 24px; height: 1.5px;
    background: var(--ink);
    transition: transform .25s, opacity .25s;
  }
  .header__toggle span:nth-child(1) { top: 14px; }
  .header__toggle span:nth-child(2) { top: 21px; }
  .header__toggle span:nth-child(3) { top: 28px; }
  .header__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .header__toggle.is-open span:nth-child(2) { opacity: 0; }
  .header__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .gnav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    margin: 0;
    background: rgba(255,255,255,.98);
    border-bottom: 1px solid var(--line);
  }
  .gnav.is-open { display: block; }
  .gnav ul { display: block; }
  .gnav a { padding: 15px 24px; font-size: 13px; border-bottom: 1px solid var(--line); }
  .gnav a:hover, .gnav a.is-current { border-bottom-color: var(--line); }

  .service { min-height: 210px; padding: 24px 22px 20px; }
  .features { grid-template-columns: repeat(2, 1fr); padding: 36px 24px; gap: 28px 24px; }
  .works { grid-template-columns: repeat(6, 1fr); }      /* 上段3枚・下段2枚 */
  .works__item { grid-column: span 2; aspect-ratio: auto; min-height: 150px; }
  .works__item:nth-child(n+4) { grid-column: span 3; }
  .hero__script, .hero__catch { display: none; }   /* 狭い画面では写真を見せるため非表示 */
}

/* =========================================================
   スマホ（640px 以下）
   ========================================================= */
@media (max-width: 640px) {
  .hero {
    height: auto; max-height: none;
    min-height: 500px;
    align-items: flex-end;
    padding: 190px 0 40px;
    background:
      linear-gradient(0deg, rgba(10,22,34,.82) 0%, rgba(10,22,34,.5) 55%, rgba(10,22,34,0) 80%),
      url(../images/hero.jpg) 72% center / cover no-repeat;
  }
  .hero__body { padding: 0 20px; }
  .hero__title { font-size: 25px; letter-spacing: .06em; }
  .hero__lead { letter-spacing: .1em; }
  .hero__lead br { display: none; }
  .btn { margin-top: 22px; }
  .hero__catch { display: none; }   /* スマホでは写真を見せるため非表示 */

  .services { grid-template-columns: 1fr; }
  .service { min-height: 190px; padding: 22px 20px 18px; }
  .service__title { font-size: 18px; }

  .features { grid-template-columns: 1fr; padding: 32px 20px; gap: 24px; }
  .feature p br { display: none; }

  .works { grid-template-columns: repeat(2, 1fr); }
  .works__item, .works__item:nth-child(n+4) { grid-column: span 1; min-height: 0; aspect-ratio: 16 / 10; }
  .works__item:first-child { grid-column: span 2; aspect-ratio: 16 / 7; }
  .sns { gap: 14px; }
  .footer__brand { flex-direction: column; align-items: flex-start; gap: 12px; }
  .works__item--label, .works__item--message { padding-left: 16px; }
  .works__item--message p { font-size: 13px; letter-spacing: .12em; }

  .footer { flex-direction: column; align-items: flex-start; gap: 12px; padding: 22px 20px; }
  .footer__logo { flex-direction: column; align-items: flex-start; gap: 8px; }
  .footer__copy { padding-left: 0; border-left: 0; }
}


/* =========================================================
   下層ページ共通（about などで使用）
   ========================================================= */
/* ページタイトルの帯 */
.page-hero {
  display: flex; align-items: center;
  height: 240px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(10,22,34,.78) 0%, rgba(10,22,34,.5) 45%, rgba(10,22,34,.2) 100%),
    url(../images/hero.jpg) center 30% / cover no-repeat;
}
.page-hero__body { padding: 0 5.2vw; }
.page-hero__en { font-size: 13px; letter-spacing: .34em; font-weight: 300; }
.page-hero__en::after {
  content: ""; display: block;
  width: 50px; height: 2px; margin: 14px 0 12px;
  background: var(--accent);
}
.page-hero__title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(24px, 2.4vw, 36px);
  letter-spacing: .14em; line-height: 1.5;
}

/* パンくず */
.breadcrumb {
  padding: 12px 5.2vw;
  font-size: 10px; letter-spacing: .16em; color: var(--gray);
  border-bottom: 1px solid var(--line);
}
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { margin: 0 8px; }

/* セクションの基本 */
.section { padding: 84px 5.2vw; }
.section--gray { background: #f5f6f7; }
.section__inner { max-width: 1080px; margin: 0 auto; }
.section__en { font-size: 11px; letter-spacing: .3em; color: var(--accent); }
.section__title {
  margin-top: 6px;
  font-family: var(--serif); font-weight: 400;
  font-size: 24px; letter-spacing: .14em; line-height: 1.6;
}
.section p { font-size: 14px; letter-spacing: .08em; line-height: 2.1; }
.textlink { color: var(--accent); border-bottom: 1px solid currentColor; }
.textlink:hover { opacity: .7; }

/* 想い */
.message {
  display: grid; grid-template-columns: 1fr 1fr; gap: 5vw;
  align-items: center;
  max-width: 1300px; margin: 0 auto;
}
.message__title {
  margin: 10px 0 30px;
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(22px, 2.2vw, 32px);
  letter-spacing: .1em; line-height: 1.7;
}
.message__text p + p { margin-top: 1.3em; }
.message__catch { width: 200px; margin: 36px 0 0 auto; opacity: .85; }
.message__photo {
  align-self: stretch; min-height: 420px;
  background-size: cover; background-position: center;
}

/* 代表プロフィール・事業概要（左に見出し、右に内容） */
.profile { display: grid; grid-template-columns: 240px 1fr; gap: 40px; }
.profile__role { font-size: 12px !important; letter-spacing: .2em !important; color: var(--gray); }
.profile__name {
  margin-bottom: 20px;
  font-family: var(--serif);
  font-size: 26px !important; letter-spacing: .2em !important; line-height: 1.6 !important;
}
.profile__sub {
  margin: 36px 0 12px; padding-bottom: 10px;
  font-size: 13px; font-weight: 500; letter-spacing: .2em;
  border-bottom: 1px solid #d5d8db;
}
.profile__list { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 30px; }
.profile__list li {
  position: relative; padding-left: 16px;
  font-size: 14px; letter-spacing: .08em; line-height: 2.1;
}
.profile__list li::before {
  content: ""; position: absolute; left: 0; top: 1.05em;
  width: 7px; height: 1px; background: var(--accent);
}

.overview { margin: 0; border-top: 1px solid var(--line); }
.overview > div {
  display: grid; grid-template-columns: 160px 1fr;
  padding: 18px 4px;
  border-bottom: 1px solid var(--line);
  font-size: 14px; letter-spacing: .08em; line-height: 2;
}
.overview dt { color: var(--gray); }
.overview dd { margin: 0; }

/* 問い合わせへの誘導 */
.cta {
  padding: 70px 20px;
  text-align: center; color: #fff;
  background:
    linear-gradient(rgba(10,22,34,.78), rgba(10,22,34,.78)),
    url(../images/works-3.jpg) center / cover no-repeat;
}
.cta__en { font-size: 11px; letter-spacing: .34em; font-weight: 300; }
.cta__title {
  margin-top: 6px;
  font-family: var(--serif); font-weight: 400;
  font-size: 24px; letter-spacing: .16em;
}
.cta__text { margin-top: 14px; font-size: 13px; letter-spacing: .12em; }

@media (max-width: 900px) {
  .page-hero { height: 180px; }
  .page-hero__body, .breadcrumb { padding-left: 20px; padding-right: 20px; }
  .section { padding: 56px 20px; }
  .message { grid-template-columns: 1fr; gap: 36px; }
  .message__photo { min-height: 240px; }
  .message__title br { display: none; }
  .profile { grid-template-columns: 1fr; gap: 24px; }
  .profile__list { grid-template-columns: 1fr; }
  .overview > div { grid-template-columns: 96px 1fr; }
}

/* =========================================================
   service / works / technology / contact で使う部品
   ========================================================= */
/* ページ冒頭のリード文（中央寄せ） */
.lead { text-align: center; }
.lead__title {
  margin: 10px 0 24px;
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(22px, 2.2vw, 32px);
  letter-spacing: .12em; line-height: 1.7;
}

/* 事業の紹介ブロック（写真と文章を左右に並べる） */
.svc-wrap { border-top: 1px solid var(--line); }
.svc {
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: 460px;
  scroll-margin-top: 78px;        /* 固定ヘッダーの分だけ下げて表示 */
}
.svc__photo { background-size: cover; background-position: center; min-height: 260px; }
.svc__body { padding: 64px 6vw; align-self: center; }
.svc--rev .svc__photo { order: 2; }
.svc:nth-child(even) { background: #f5f6f7; }
.svc__num { font-size: 22px; font-weight: 300; letter-spacing: .14em; color: var(--accent); line-height: 1.4; }
.svc__title {
  margin-top: 6px;
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(22px, 2vw, 28px); letter-spacing: .14em; line-height: 1.6;
}
.svc__en { font-size: 10px; letter-spacing: .22em; color: var(--gray); }
.svc__lead { margin-top: 22px; font-size: 14px; letter-spacing: .08em; line-height: 2.1; }
.profile__list--one { grid-template-columns: 1fr; }

/* 04 AERONAUT への誘導帯 */
.brand {
  position: relative; isolation: isolate;
  padding: 80px 5.2vw; color: #fff; text-align: center;
  background-size: cover; background-position: center 30%;
}
.brand::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(10,22,34,.72); }
.brand .svc__num, .brand .svc__en { color: #fff; }
.brand__text { margin-top: 20px; font-size: 14px; letter-spacing: .1em; line-height: 2; }
.btn--line { background: transparent; border-color: #fff; }
.btn--line:hover { background: rgba(255,255,255,.16); }
.btn--dark { border-color: var(--accent); }

/* カード（経験分野・技術紹介） */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.card { padding: 30px 28px 32px; background: #fff; border-top: 2px solid var(--accent); }
.card__num { font-size: 18px !important; font-weight: 300; letter-spacing: .14em !important; color: var(--accent); line-height: 1.4 !important; }
.card h3 { margin: 6px 0 10px; font-size: 16px; font-weight: 500; letter-spacing: .1em; line-height: 1.7; }
.card p { font-size: 13px; line-height: 1.9; }
.note { margin-top: 30px; }

/* 表（実績一覧） */
.table-wrap { margin-top: 30px; overflow-x: auto; }
.table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 14px; letter-spacing: .06em; }
.table th, .table td { padding: 16px 14px; text-align: left; border-bottom: 1px solid var(--line); }
.table th { font-weight: 400; font-size: 12px; letter-spacing: .16em; color: var(--gray); border-bottom-color: #c9cdd1; white-space: nowrap; }
.table__empty { padding: 44px 14px !important; text-align: center !important; color: var(--gray); }

/* 問い合わせフォーム */
.form { max-width: 720px; margin: 0 auto; padding: 48px 44px; background: #fff; }
.form__trap { position: absolute; left: -9999px; }
.form__row { margin-bottom: 26px; }
.form__row label { display: block; margin-bottom: 8px; font-size: 13px; letter-spacing: .12em; }
.req { margin-left: 10px; padding: 1px 7px; font-size: 10px; letter-spacing: .1em; color: #fff; background: var(--accent); }
.form input[type=text], .form input[type=email], .form input[type=tel], .form select, .form textarea {
  width: 100%; padding: 12px 14px;
  font: inherit; font-size: 16px; color: var(--ink);
  background: #fff; border: 1px solid #c9cdd1; border-radius: 0;
}
.form textarea { resize: vertical; line-height: 1.8; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.form__privacy { font-size: 12px !important; line-height: 1.9 !important; color: #6b7075; }
.form__agree { display: flex; align-items: center; gap: 10px; margin-top: 16px; font-size: 14px; letter-spacing: .08em; cursor: pointer; }
.form__agree input { width: 18px; height: 18px; accent-color: var(--accent); }
.form__submit { margin-top: 8px; text-align: center; }
button.btn { font-family: inherit; cursor: pointer; }

@media (max-width: 900px) {
  .lead p br, .lead__title br { display: none; }
  .svc { grid-template-columns: 1fr; min-height: 0; scroll-margin-top: 64px; }
  .svc--rev .svc__photo { order: 0; }
  .svc__body { padding: 40px 20px 52px; }
  .brand { padding: 56px 20px; }
  .cards, .cards--2 { grid-template-columns: 1fr; }
  .form { padding: 32px 20px; }
}

.brand + .cta { border-top: 2px solid #fff; }

.profile__sub--first { margin-top: 0; }


/* お知らせの帯（メニューのすぐ下に重ねて表示） */
.notice {
  position: absolute; top: 78px; left: 0; right: 0; z-index: 50;   /* 78px＝ヘッダーの高さ */
  padding: 9px 16px;
  text-align: center;
  font-size: 13px;
  letter-spacing: .24em;
  line-height: 1.6;
  color: #fff;
  background: var(--accent);
}
@media (max-width: 1100px) { .notice { top: 64px; } }               /* タブレット以下はヘッダーが64px */
@media (max-width: 640px)  { .notice { padding: 7px 12px; font-size: 11px; letter-spacing: .16em; } }

/* =========================================================
   AERONAUT 下層ページ用の追加
   ========================================================= */
/* ページタイトルの帯：ヘッダーが重なるぶん高さを足し、写真はページごとに変えられるようにする
   （写真を変えるときは、下の .page-hero--○○ の行のファイル名を書き換えてください） */
.page-hero {
  height: 330px;
  padding-top: 78px;
  background:
    linear-gradient(90deg, rgba(10,22,34,.78) 0%, rgba(10,22,34,.5) 45%, rgba(10,22,34,.2) 100%),
    var(--ph, url(../images/hero.jpg)) center var(--ph-y, 40%) / cover no-repeat;
}
.page-hero__en::after { background: #fff; }
.page-hero--about   { --ph: url(../images/works-2.jpg); --ph-y: 40%; }
.page-hero--service { --ph: url(../images/service-1.jpg); --ph-y: 55%; }
.page-hero--works   { --ph: url(../images/works-1.jpg); --ph-y: 60%; }
.page-hero--price   { --ph: url(../images/works-5.jpg); --ph-y: 45%; }
.page-hero--contact { --ph: url(../images/works-3.jpg); --ph-y: 50%; }

/* 写真ギャラリー（works） */
.gallery { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; margin-top: 36px; }
.gallery__item {
  position: relative; grid-column: span 2;
  aspect-ratio: 16 / 9;
  background-size: cover; background-position: center;
  color: #fff; overflow: hidden; isolation: isolate;
}
.gallery__item:nth-child(-n+2) { grid-column: span 3; }        /* 上段2枚は大きく */
.gallery__item::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(0deg, rgba(8,20,34,.6), rgba(8,20,34,0) 50%);
}
.gallery__cap { position: absolute; left: 20px; bottom: 14px; line-height: 1.6; }
.gallery__cap b { display: block; font-size: 11px; font-weight: 300; letter-spacing: .26em; }
.gallery__cap span { font-size: 13px; letter-spacing: .12em; }

/* ご依頼の流れ */
.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin: 36px 0 0; padding: 0; list-style: none; counter-reset: flow; }
.flow li {
  position: relative; padding: 26px 20px 28px;
  background: #fff; border-top: 2px solid var(--accent);
}
.flow li::before {
  counter-increment: flow; content: "STEP " counter(flow);
  display: block; font-size: 11px; letter-spacing: .24em; color: var(--accent);
}
.flow h3 { margin: 6px 0 8px; font-size: 15px; font-weight: 500; letter-spacing: .1em; }
.flow p { font-size: 12px !important; letter-spacing: .04em !important; line-height: 1.9 !important; }

/* 料金表 */
.table--price td:last-child { white-space: nowrap; text-align: right; }
.table--price td small { display: block; font-size: 12px; color: var(--gray); letter-spacing: .04em; }
.notes { margin-top: 26px; }
.notes li {
  position: relative; padding-left: 1.4em;
  font-size: 13px; letter-spacing: .06em; line-height: 2; color: #5d6268;
}
.notes li::before { content: "※"; position: absolute; left: 0; }

/* フッターのメニュー */
.footer__nav { display: flex; flex-wrap: wrap; gap: 6px 26px; padding: 22px 36px 0; border-top: 1px solid var(--line); }
.footer__nav a { font-size: 10px; letter-spacing: .2em; color: var(--gray); }
.footer__nav a:hover { color: var(--accent); }

@media (max-width: 1100px) {
  .page-hero { padding-top: 64px; }
  .flow { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .page-hero { height: 230px; }
  .gallery { grid-template-columns: 1fr; }
  .gallery__item, .gallery__item:nth-child(-n+2) { grid-column: auto; }
}
@media (max-width: 640px) {
  .flow { grid-template-columns: 1fr; }
  .table--price { min-width: 0; }
  .table--price th, .table--price td { padding: 14px 8px; }
  .table--price td:first-child { white-space: nowrap; }
  .footer__nav { padding: 20px 20px 0; }
}
