/* =========================================================
   株式会社ル・リアン パーソネス — Corporate Site
   Le Lien Personnes
========================================================= */

:root {
  --blue:        #1156b8;   /* primary blue (見出し・アクセント) */
  --blue-deep:   #0b3f8c;
  --blue-light:  #4a86e8;
  --navy:        #16233f;   /* footer / hero text */
  --navy-2:      #1b2c4d;
  --ink:         #1c2536;   /* 本文濃色 */
  --text:        #3a4557;   /* 本文 */
  --text-muted:  #6b7686;
  --line:        #e2e8f2;
  --bg:          #ffffff;
  --bg-soft:     #f3f7fd;   /* 薄い青セクション背景 */
  --bg-card:     #ffffff;
  --shadow:      0 10px 30px rgba(17, 86, 184, 0.08);
  --shadow-card: 0 6px 20px rgba(20, 35, 63, 0.06);
  --maxw:        1200px;
  --radius:      14px;
  --sec-pad:     clamp(56px, 7vw, 84px);  /* セクション上下の統一余白 */
}

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

/* overflow-x: clip は横方向のはみ出しだけをクリップ（スクロールコンテナを作らないので sticky を壊さない） */
html { scroll-behavior: smooth; overflow-x: clip; }

body {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans",
               "Yu Gothic", "Meiryo", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "palt";
  overflow-x: clip;
}

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

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============ Section heading (英字ラベル + 和文見出し) ============ */
.sec-label {
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
  margin-bottom: 6px;
}
.sec-title {
  font-size: 30px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.16em;
}

/* =========================================================
   Header
========================================================= */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 14px rgba(20, 35, 63, 0.06);
}
/* 上部グラデーションライン（ネイビー → シアン） */
.header__accent {
  display: block;
  height: 3px;
  background: linear-gradient(90deg, #0a2a63 0%, #1156b8 45%, #4a9fe0 75%, #7fd6f0 100%);
}
.header__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: flex; align-items: center; }
.brand__text { display: flex; flex-direction: column; gap: 3px; }
.brand__text .brand__jp {
  font-size: 18px; font-weight: 700; color: var(--navy); letter-spacing: 0.03em; line-height: 1.2;
}
.brand__text .brand__en {
  font-size: 11px; color: var(--blue); letter-spacing: 0.22em; font-weight: 500; line-height: 1;
}

/* ナビ */
.gnav { display: flex; align-items: center; gap: 40px; }
.gnav ul { display: flex; gap: 40px; list-style: none; }
.gnav ul a {
  font-size: 15px; font-weight: 500; color: var(--ink);
  position: relative; padding: 8px 2px; transition: color .2s;
}
.gnav ul a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 2px; background: var(--blue); transition: width .25s;
}
.gnav ul a:hover,
.gnav ul a.is-active { color: var(--blue); font-weight: 700; }
.gnav ul a:hover::after,
.gnav ul a.is-active::after { width: 100%; }

/* お問い合わせボタン */
.gnav__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
  border: 1.5px solid var(--blue);
  border-radius: 9px;
  font-size: 15px;
  font-weight: 700;
  color: var(--blue);
  transition: background .22s, color .22s, box-shadow .22s;
}
.gnav__cta svg { transition: transform .22s; }
.gnav__cta:hover,
.gnav__cta--active {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 6px 16px rgba(17, 86, 184, 0.28);
}
.gnav__cta:hover svg { transform: translateX(3px); }

.nav-toggle { display: none; }

/* =========================================================
   Hero
========================================================= */
.hero {
  position: relative;
  overflow: hidden;
  background: #fff;
}
/* ステージ枠: 画像は画面幅いっぱい（フルブリード）。テキストは container 基準で整列 */
.hero__stage {
  position: relative;
}
/* ヒーロー背景画像（角丸カット・青バー・ピルは画像内に作り込み済み） */
.hero__bg {
  width: 100%;
  height: auto;
  display: block;
}
/* スマホ専用の縦長ヒーロー画像・OUR MISSION ラベル（PCでは非表示） */
.hero__bg-mobile { display: none; }
.hero__label { display: none; }
.hero__inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  z-index: 2;
}
.hero__inner .container { width: 100%; }
.hero__copy { max-width: 480px; }
.hero__title {
  font-size: 46px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--navy);
  letter-spacing: 0.02em;
}
.hero__title .accent { color: var(--blue); }
.hero__lead {
  margin-top: 28px;
  font-size: 16px;
  color: var(--text);
  line-height: 2.1;
}

/* scroll indicator */
.scroll-ind {
  margin-top: 64px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.scroll-ind__circle {
  width: 54px; height: 54px; border-radius: 50%;
  border: 1.5px solid var(--blue);
  display: grid; place-items: center;
  color: var(--blue);
  animation: bob 1.8s ease-in-out infinite;
}
.scroll-ind__label {
  font-size: 11px; letter-spacing: 0.2em; color: var(--navy); font-weight: 600;
}
@keyframes bob {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* =========================================================
   Philosophy
========================================================= */
.philosophy {
  position: relative;
  overflow: hidden;
  background: #fff;
}
.philosophy__stage {
  position: relative;
}
/* 企業理念 背景バナー（人物円形マスク・ドット・円弧は画像内に作り込み済み）
   横長画像そのままだと縦幅が窮屈なため、高さを持たせて object-fit でカバー（PC表示のみ） */
.philosophy__bg {
  width: 100%;
  height: clamp(480px, 40vw, 620px);
  object-fit: cover;
  object-position: 88% center;
  display: block;
}
/* スマホ専用の縦長バナー（PCでは非表示） */
.philosophy__bg-mobile { display: none; }
.philosophy__inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  z-index: 2;
}
.philosophy__inner .container { width: 100%; }
.philosophy__copy { max-width: 46%; }
.philosophy__catch {
  margin: 28px 0 26px;
  font-size: 27px;
  font-weight: 700;
  color: var(--blue);
  line-height: 1.7;
  letter-spacing: 0.04em;
}
.philosophy__catch .in { padding-left: 1.4em; display: inline-block; }
.philosophy__body p { font-size: 15px; color: var(--text); line-height: 2.15; }

/* =========================================================
   Company
========================================================= */
.company {
  padding: clamp(56px, 6.5vw, 88px) 0 var(--sec-pad);
  background: #fff url(../images/company-bg.png) no-repeat center center;
  background-size: cover;
}
.company__table {
  margin-top: 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 56px;
}
.company dl { display: block; }
.company__row {
  display: grid;
  grid-template-columns: 116px 1fr;
  gap: 16px;
  padding: 20px 4px;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.company__row dt {
  color: var(--blue);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.06em;
}
.company__row dd { color: var(--ink); font-size: 15px; line-height: 1.9; }
.company__row dd ul { list-style: none; }
.company__row dd li { position: relative; padding-left: 16px; }
.company__row dd li::before {
  content: ""; position: absolute; left: 0; top: 0.85em;
  width: 5px; height: 5px; border-radius: 50%; background: var(--blue);
}

/* =========================================================
   Service
========================================================= */
.service {
  padding: clamp(56px, 6.5vw, 88px) 0 var(--sec-pad);
  background: #eaf1fb url(../images/service-bg.png) no-repeat center center;
  background-size: cover;
}
.service__lead {
  margin-top: 20px;
  font-size: 15.5px;
  line-height: 2.05;
  color: var(--text);
}
.service__grid {
  margin-top: 42px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
/* フロスト（すりガラス）調カード */
.service-card {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 20px;
  padding: 36px 30px 32px;
  box-shadow: 0 12px 30px rgba(60, 105, 185, 0.10);
  transition: transform .28s ease, box-shadow .28s ease;
}
/* カード右下のドットテクスチャ */
.service-card::after {
  content: "";
  position: absolute;
  right: 18px; bottom: 16px;
  width: 78px; height: 46px;
  background-image: radial-gradient(#c3d6f2 1.4px, transparent 1.5px);
  background-size: 9px 9px;
  opacity: .65;
  pointer-events: none;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 48px rgba(60, 105, 185, 0.22);
  background: rgba(255, 255, 255, 0.72);
}
/* 大きな薄い番号 */
.service-card__no {
  position: absolute;
  top: 24px; right: 28px;
  font-size: 48px;
  font-weight: 700;
  font-style: normal;
  color: #d7e3f5;
  letter-spacing: 0.02em;
  line-height: 1;
  transition: color .3s ease, transform .3s ease;
}
.service-card:hover .service-card__no {
  color: var(--blue-light);
  transform: translateY(-2px);
}
/* 円形グロッシーなアイコンバッジ */
.service-card__icon {
  width: 64px; height: 64px;
  margin-bottom: 20px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 26%, #ffffff 0%, #eaf2fd 60%, #d9e6f8 100%);
  box-shadow: 0 8px 18px rgba(60, 110, 195, 0.18),
              inset 0 1px 3px rgba(255, 255, 255, 0.95),
              inset 0 -3px 6px rgba(150, 180, 225, 0.30);
  color: var(--blue);
  transition: transform .3s ease, box-shadow .3s ease, background .3s ease, color .3s ease;
}
.service-card__icon svg {
  width: 32px; height: 32px;
  transition: transform .3s ease;
}
/* ホバー: アイコンバッジが青く光り、少し拡大して弾む */
.service-card:hover .service-card__icon {
  background: linear-gradient(145deg, var(--blue-light), var(--blue));
  color: #fff;
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 12px 24px rgba(17, 86, 184, 0.34),
              inset 0 1px 3px rgba(255, 255, 255, 0.4);
}
.service-card:hover .service-card__icon svg { transform: scale(1.05); }
.service-card__name {
  font-size: 17.5px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.5;
  letter-spacing: 0.02em;
  margin-bottom: 13px;
}
.service-card__desc {
  font-size: 13.5px;
  line-height: 1.95;
  color: var(--text);
  position: relative;
  z-index: 1;
}

/* =========================================================
   Footer
========================================================= */
.footer {
  position: relative;
  background: #0a1e44 url(../images/footer-bg.png) no-repeat center bottom;
  background-size: cover;
  color: #cdd7ea;
  padding: 66px 0 30px;
}
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer__brand { max-width: 360px; }
.footer__brand-head { display: flex; align-items: center; }
.footer__brand-name { display: flex; flex-direction: column; gap: 5px; }
.footer__brand .brand__jp { color: #fff; font-size: 19px; font-weight: 700; line-height: 1.3; letter-spacing: 0.03em; }
.footer__brand .brand__en { color: #7ea6e8; font-size: 12px; letter-spacing: 0.22em; line-height: 1; }
.footer__addr { margin-top: 22px; font-size: 15px; line-height: 2.0; color: #c5d0e6; }

/* 右側: ナビ（上）＋ CTA（下）を右寄せ */
.footer__right { display: flex; flex-direction: column; gap: 34px; align-items: flex-end; }
.footer__nav { display: flex; align-items: center; gap: 0; list-style: none; }
.footer__nav li { display: flex; align-items: center; }
.footer__nav li:not(:last-child)::after {
  content: ""; width: 1px; height: 14px;
  background: rgba(150, 178, 220, 0.4);
  margin: 0 24px;
}
.footer__nav a { font-size: 15px; color: #dbe4f4; transition: color .2s; }
.footer__nav a:hover { color: #fff; }

/* お問い合わせ: 光る枠のピルボタン */
.footer__cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 44px;
  min-width: 300px;
  padding: 18px 40px;
  border: 1px solid rgba(120, 168, 240, 0.55);
  border-radius: 999px;
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  box-shadow: 0 0 22px rgba(60, 120, 230, 0.22), inset 0 0 18px rgba(60, 120, 230, 0.10);
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.footer__cta:hover {
  border-color: #7cb0ff;
  background: rgba(60, 120, 230, 0.14);
  box-shadow: 0 0 30px rgba(90, 150, 255, 0.4), inset 0 0 20px rgba(80, 140, 255, 0.14);
}
.footer__cta .arrow { display: inline-grid; place-items: center; transition: transform .25s; }
.footer__cta:hover .arrow { transform: translateX(4px); }

/* コピーライト: 中央にグローのある区切り線 */
.footer__copy {
  position: relative;
  margin-top: 46px;
  padding-top: 28px;
  border-top: 1px solid rgba(130, 165, 220, 0.16);
  text-align: center;
  font-size: 12.5px;
  color: #8fa0bf;
  letter-spacing: 0.05em;
}
.footer__copy::before {
  content: "";
  position: absolute;
  top: -1px; left: 50%;
  transform: translateX(-50%);
  width: 44%; height: 2px;
  background: radial-gradient(ellipse at center, rgba(110, 165, 255, 0.85), transparent 72%);
}

/* =========================================================
   Contact page
========================================================= */
.page-hero {
  background: #12295c url(../images/contact-hero-bg.png) no-repeat center center;
  background-size: cover;
  color: #fff;
  padding: 80px 0 72px;
  text-align: center;
}
.page-hero__label { color: #a9cbf7; letter-spacing: 0.24em; font-size: 13px; font-weight: 700; }
.page-hero__title { font-size: 38px; font-weight: 700; margin-top: 10px; letter-spacing: 0.16em; }
.page-hero__lead { margin-top: 16px; font-size: 15px; color: #d3e0f5; }

.contact { padding: 66px 0 84px; background: var(--bg-soft); }
.contact__wrap {
  max-width: 880px;
  margin: 0 auto;
}
.form-note {
  font-size: 15px; color: var(--text); line-height: 1.9; margin-bottom: 40px; text-align: center;
}

/* フォームカード */
.form-card {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 24px 60px rgba(20, 35, 63, 0.09);
  padding: 52px 56px 44px;
}

/* 横並び行（ラベル左・入力右） */
.form-row {
  display: grid;
  grid-template-columns: 190px 1fr;
  align-items: center;
  gap: 24px;
  margin-bottom: 26px;
}
.form-row--top { align-items: start; }
.form-row > label {
  display: flex; align-items: center; gap: 10px;
  font-size: 15px; font-weight: 700; color: var(--ink);
}
.form-row--top > label { padding-top: 14px; }
.form-row .req {
  display: inline-block; font-size: 11px; font-weight: 700;
  color: #fff; background: var(--blue); border-radius: 5px; padding: 3px 8px; letter-spacing: .04em;
}
.form-row input,
.form-row textarea,
.form-row select {
  width: 100%;
  padding: 15px 18px;
  font-size: 15px;
  font-family: inherit;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f5f7fb;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
  outline: none;
  border-color: var(--blue-light);
  box-shadow: 0 0 0 3px rgba(74, 134, 232, 0.15);
  background: #fff;
}
.form-row textarea { min-height: 150px; resize: vertical; }

.form-divider {
  height: 1px; background: var(--line);
  margin: 34px 0 24px;
}
.privacy {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: var(--text);
  justify-content: center;
}
.privacy input { width: 18px; height: 18px; margin: 0; flex: none; accent-color: var(--blue); }
.privacy a { color: var(--blue); text-decoration: underline; }

/* 送信ボタン（カード外・中央の大きなピル） */
.submit-wrap { text-align: center; margin-top: 44px; }
.btn-submit {
  appearance: none; border: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: 20px;
  padding: 20px 84px;
  font-size: 17px; font-weight: 700; font-family: inherit;
  color: #fff;
  background: linear-gradient(100deg, var(--blue-deep), var(--blue) 70%, #2f7de0);
  border-radius: 999px;
  box-shadow: 0 14px 30px rgba(17, 86, 184, 0.30);
  transition: transform .2s, box-shadow .2s, filter .2s;
}
.btn-submit svg { transition: transform .2s; }
.btn-submit:hover { transform: translateY(-2px); filter: brightness(1.06); box-shadow: 0 18px 38px rgba(17, 86, 184, 0.38); }
.btn-submit:hover svg { transform: translateX(4px); }
.btn-submit:disabled { opacity: .7; cursor: default; transform: none; }

.form-msg {
  display: none;
  max-width: 640px;
  margin: 26px auto 0;
  padding: 18px 20px;
  border-radius: 10px;
  background: #eaf3ff;
  border: 1px solid #bcd6fb;
  color: var(--blue-deep);
  font-size: 14.5px;
  text-align: center;
}
.form-msg.show { display: block; }
.form-msg.error {
  background: #fdecec;
  border-color: #f3b6b6;
  color: #b3261e;
}

/* =========================================================
   Responsive
========================================================= */

/* ---- タブレット（〜1024px）: 企業理念は縦積みに ---- */
@media (max-width: 1024px) {
  .hero__title { font-size: clamp(30px, 4.4vw, 46px); }
  /* 企業理念: 横並びが崩れる幅から「テキスト＋人物カード画像」の縦積みへ */
  .philosophy { padding: clamp(40px, 6vw, 64px) 0 0; }
  .philosophy__stage { display: flex; flex-direction: column-reverse; }
  .philosophy__bg { display: none; }
  /* 縦長合成画像の下部（人物カード）だけを一定比率で切り出す。
     aspect-ratio 固定＋object-position:bottom で、どの幅でも常に同じ「カード＋人物」を表示（幅依存の切れ防止） */
  .philosophy__bg-mobile {
    display: block; width: 100%;
    margin-top: clamp(28px, 5vw, 44px);
    aspect-ratio: 2 / 1;
    object-fit: cover; object-position: center bottom;
  }
  .philosophy__inner { position: static; margin: 0; padding: 0; }
  .philosophy__copy { max-width: none; }
  .philosophy .sec-label { position: relative; padding-bottom: 12px; }
  .philosophy .sec-label::after {
    content: ""; position: absolute; left: 0; bottom: 0;
    width: 56px; height: 2px; background: var(--blue);
  }
  .philosophy__catch { position: relative; padding-left: 22px; margin: 18px 0; }
  .philosophy__catch::before {
    content: ""; position: absolute; left: 0; top: 4px; bottom: 4px;
    width: 2px; background: var(--blue);
  }
}

/* ---- 〜900px: 早めにスマホ用へ（ハンバーガー＋縦長ヒーロー）。ヘッダーの折り返し防止 ---- */
@media (max-width: 900px) {
  /* ヘッダー: ハンバーガーメニュー（backdrop-filter が包含ブロックになるため height:100vh 指定） */
  .gnav { position: fixed; top: 0; right: 0; left: auto; height: 100vh; width: 82%; max-width: 320px;
    background: #fff; box-shadow: -8px 0 30px rgba(0,0,0,.12);
    transform: translateX(100%); transition: transform .3s; padding: 84px 28px 32px;
    z-index: 90; flex-direction: column; align-items: stretch; gap: 0; overflow-y: auto; }
  .gnav.open { transform: translateX(0); }
  .gnav ul { flex-direction: column; gap: 0; }
  .gnav ul a { display: block; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .gnav ul a::after { display: none; }
  .gnav__cta { margin-top: 24px; justify-content: center; padding: 14px 20px; font-size: 15px; }
  .nav-toggle { display: inline-flex; flex-direction: column; gap: 5px; width: 30px; height: 24px;
    background: none; border: none; cursor: pointer; z-index: 95; justify-content: center; }
  .nav-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* スマホ専用ヒーロー: 縦長画像＋テキストを上部にオーバーレイ */
  .hero__stage { display: block; }
  .hero__bg { display: none; }
  .hero__bg-mobile { display: block; width: 100%; height: auto; }
  .hero__inner { position: absolute; inset: 0; align-items: flex-start; padding: 0; }
  .hero__inner .container { padding-top: 26px; }
  .hero__copy { max-width: none; }
  .hero__label {
    display: inline-flex; align-items: center; gap: 14px;
    color: var(--blue); font-size: 13px; font-weight: 700; letter-spacing: 0.2em;
    margin-bottom: 18px;
  }
  .hero__label::after {
    content: ""; width: 64px; height: 2px;
    background: linear-gradient(90deg, var(--blue), rgba(17,86,184,0));
  }
  .hero__title { font-size: clamp(30px, 4.6vw, 42px); line-height: 1.4; }
  .hero__lead { font-size: 15.5px; margin-top: 22px; line-height: 1.95; }
  .scroll-ind { margin-top: 30px; }

  /* 企業理念の引用文字サイズ（レイアウトは〜1024pxで定義） */
  .philosophy__catch { font-size: clamp(19px, 5.2vw, 26px); }
}

/* ---- 小型タブレット（〜820px）: 会社概要・事業内容の段組 ---- */
@media (max-width: 820px) {
  .company__table { grid-template-columns: 1fr; gap: 0; }
  .company__row { padding: 16px 4px; }
  .service__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---- スマホ（〜640px）: 文字サイズ・段組の微調整（レイアウトは〜900pxで定義済み） ---- */
@media (max-width: 640px) {
  .header__inner { padding: 11px 18px; }
  .brand__text .brand__jp { font-size: 14px; }
  .brand__text .brand__en { font-size: 9.5px; letter-spacing: 0.16em; }

  .hero__title { font-size: clamp(30px, 8.6vw, 40px); }
  .hero__lead { font-size: 15px; margin-top: 20px; }

  .sec-title { font-size: 23px; }
  .philosophy__catch { font-size: 21px; }
  .philosophy__body p { font-size: 14px; }

  .service__lead { font-size: 14.5px; line-height: 2; }
  .service__grid { grid-template-columns: 1fr; gap: 14px; }
  .service-card { padding: 26px 22px 24px; }

  /* お問い合わせフォーム: ラベルを入力の上に縦積み */
  .page-hero__title { font-size: 30px; }
  .form-card { padding: 32px 22px 30px; border-radius: 16px; }
  .form-row { grid-template-columns: 1fr; gap: 10px; align-items: start; margin-bottom: 22px; }
  .form-row--top > label { padding-top: 0; }
  .btn-submit { width: 100%; justify-content: center; padding: 18px 24px; }

  .footer__inner { flex-direction: column; gap: 28px; }
  .footer__right { align-items: flex-start; }
}

/* ---- 極小（〜380px） ---- */
@media (max-width: 380px) {
  .service__grid { grid-template-columns: 1fr; }
  .hero__title { font-size: 24px; }
}
