/* ============================================================
   原英介行政書士事務所 — Design Tokens & Base
   値は design handoff（README / .dc.html）をそのまま使用
   ============================================================ */

:root {
  /* Colors */
  --base-bg: #f6f8fb; /* オフホワイト */
  --card-white: #ffffff;
  --mist-light: #eef3f7; /* ミストブルー（淡）薄 */
  --mist-deep: #e8eef3; /* ミストブルー（淡）濃 */
  --footer-bg: #e4ebf1; /* ライトスレート */
  --navy-deep: #142a44; /* ディープネイビー */
  --navy-darkest: #0e1f33; /* body color */
  --text-gray: #3c4a5a; /* 段落本文 */
  --text-gray-soft: #4a5765; /* 特徴カード本文 */
  --caption-gray: #6f879d; /* キャプション・小注記 */
  --footer-sub: #5a6b7d;
  --nav-link: #28415c;
  --gold: #b99a5b; /* シャンパンゴールド（主アクセント） */
  --blue: #2d6ca2; /* アクセントブルー（差し色） */
  --tag-bg: #eaf1f8; /* 淡青 */
  --line-green: #06c755;
  --stripe-deep: #dde6ed;

  /* Layout */
  --maxw: 1240px;
  --section-py: clamp(70px, 9vw, 120px);
  --section-px: clamp(20px, 4vw, 40px);
  --header-h: 74px;

  /* Fonts */
  --serif: "Noto Serif JP", serif;
  --sans: "Noto Sans JP", sans-serif;
  --cormorant: "Cormorant Garamond", serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  color: var(--navy-darkest);
  background: var(--base-bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.85;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

::selection {
  background: var(--gold);
  color: #fff;
}

/* 固定ヘッダー分のアンカーオフセット */
section[id] {
  scroll-margin-top: calc(var(--header-h) + 12px);
}

/* ============================================================
   Animations
   ============================================================ */
@keyframes drawLine {
  from { stroke-dashoffset: 1400; }
  to { stroke-dashoffset: 0; }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes floatPin {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* スクロール出現（IntersectionObserver で .is-visible 付与） */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none;
  }
  .hero-anim {
    animation: none !important;
    opacity: 1 !important;
  }
}

/* ============================================================
   Layout helpers
   ============================================================ */
.section {
  padding: var(--section-py) var(--section-px);
}
.inner {
  max-width: var(--maxw);
  margin: 0 auto;
}

.eyebrow {
  font-family: var(--cormorant);
  font-size: 14px;
  letter-spacing: 0.34em;
  color: var(--gold);
  text-transform: uppercase;
}

/* ============================================================
   Header
   ============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: rgba(246, 248, 251, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(14, 31, 51, 0.1);
  box-shadow: 0 2px 16px rgba(14, 31, 51, 0.05);
}
.header__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--section-px);
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}
.logo__ja {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(16px, 2vw, 20px);
  color: var(--navy-deep);
  letter-spacing: 0.06em;
}
.logo__en {
  font-family: var(--cormorant);
  font-size: 11px;
  letter-spacing: 0.34em;
  color: var(--gold);
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: clamp(10px, 1.3vw, 20px);
}
.nav__link {
  font-size: 13.5px;
  color: var(--nav-link);
  letter-spacing: 0.03em;
  white-space: nowrap;
}
.btn-line--nav {
  white-space: nowrap;
}

.btn-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--line-green);
  color: #fff;
  font-weight: 500;
  border-radius: 8px;
  letter-spacing: 0.04em;
}
.btn-line--nav {
  font-size: 14px;
  padding: 11px 20px;
  box-shadow: 0 6px 18px rgba(6, 199, 85, 0.28);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.hamburger span {
  width: 26px;
  height: 2px;
  background: var(--navy-deep);
  display: block;
}

/* Mobile overlay menu */
.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 199;
  background: rgba(14, 31, 51, 0.985);
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  animation: fadeIn 0.3s ease;
}
.menu-overlay.is-open {
  display: flex;
}
.menu-overlay__close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  color: var(--base-bg);
  font-size: 30px;
  cursor: pointer;
  line-height: 1;
}
.menu-overlay__link {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--base-bg);
  padding: 14px;
}
.menu-overlay__cta {
  margin-top: 16px;
  background: var(--line-green);
  color: #fff;
  font-size: 17px;
  padding: 14px 32px;
  border-radius: 8px;
}

/* Responsive nav switch（項目が増えたため境界を広げ、収まる幅でのみ横並び表示） */
@media (max-width: 1159px) {
  .nav {
    display: none;
  }
  .hamburger {
    display: flex;
  }
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  /* フッターのスレート色(#E4EBF1)を末尾に薄く加え、フッターと質感を呼応させる */
  background: linear-gradient(
    160deg,
    #ffffff 0%,
    #f6f8fb 42%,
    #eef3f7 78%,
    #e4ebf1 100%
  );
  color: var(--navy-deep);
  padding: clamp(120px, 16vh, 170px) var(--section-px) clamp(70px, 9vw, 110px);
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.5;
  pointer-events: none;
}
.hero__grid {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr));
  gap: clamp(40px, 6vw, 72px);
  align-items: center;
}
.hero-anim {
  animation-fill-mode: both;
}
.hero__eyebrow {
  font-family: var(--cormorant);
  font-size: 15px;
  letter-spacing: 0.36em;
  color: var(--gold);
  text-transform: uppercase;
  animation: fadeUp 0.8s ease both;
}
.hero__h1 {
  font-family: var(--serif);
  font-weight: 600;
  /* 14文字の1行目が左カラム幅に収まるよう vw 係数と上限を調整（常に2行） */
  font-size: clamp(26px, 2.9vw, 40px);
  line-height: 1.55;
  letter-spacing: 0.02em;
  margin: 22px 0 0;
  text-wrap: pretty;
  animation: fadeUp 0.9s ease 0.12s both;
}
.hero__h1 .accent {
  color: var(--gold);
}
/* PC: 1行目／2行目をそれぞれ独立した行に（= 2行表示） */
.hero__h1-l1,
.hero__h1-l2 {
  display: block;
}

/* スマホ用：写真背景レイヤー（PCでは非表示） */
.hero__mobile-bg {
  display: none;
}
.hero__sub {
  font-size: clamp(15px, 1.7vw, 17px);
  color: var(--text-gray);
  max-width: 560px;
  margin: 26px 0 0;
  animation: fadeUp 0.9s ease 0.24s both;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
  animation: fadeUp 0.9s ease 0.42s both;
}
.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
  animation: fadeUp 0.9s ease 0.56s both;
}
.hero__visual {
  position: relative;
  animation: fadeUp 1s ease 0.3s both;
}

/* ===== スマホ（<=640px）：ヒーロー写真を背景化＋見出し調整 ===== */
@media (max-width: 640px) {
  /* 写真を全面背景に */
  .hero__mobile-bg {
    display: block;
    position: absolute;
    inset: 0;
    z-index: 0;
  }
  .hero__mobile-bg img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  /* 可読性確保のための明色スクリム（写真は薄く透ける） */
  .hero__mobile-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
      180deg,
      rgba(244, 247, 250, 0.9) 0%,
      rgba(244, 247, 250, 0.78) 50%,
      rgba(244, 247, 250, 0.62) 100%
    );
  }
  /* 背景グリッドと横の写真ブロックは隠す */
  .hero__bg {
    display: none;
  }
  .hero__visual {
    display: none;
  }
  /* テキストを前面へ */
  .hero__grid {
    position: relative;
    z-index: 1;
  }

  /* 見出し：1行目は縮小して1行に、2行目は「実務支援型」「行政書士事務所」を2行に */
  .hero__h1-l1 {
    font-size: clamp(16px, 5.2vw, 23px);
  }
  .hero__h1-l3 {
    display: block;
  }
}

.btn-line--hero {
  font-size: 16px;
  padding: 15px 28px;
  box-shadow: 0 10px 26px rgba(6, 199, 85, 0.32);
}
.btn-line--cta {
  font-size: 17px;
  padding: 16px 36px;
  box-shadow: 0 12px 30px rgba(6, 199, 85, 0.34);
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: transparent;
  color: var(--navy-deep);
  border-radius: 8px;
  border: 1px solid rgba(185, 154, 91, 0.7);
}
.btn-outline--hero {
  font-size: 16px;
  padding: 15px 28px;
}
.btn-outline--cta {
  font-size: 17px;
  padding: 16px 36px;
  gap: 10px;
}

.badge {
  font-size: 12.5px;
  color: var(--text-gray);
  border: 1px solid rgba(14, 31, 51, 0.18);
  border-radius: 100px;
  padding: 7px 15px;
  letter-spacing: 0.04em;
}

/* プレースホルダー（縞） */
.ph {
  position: relative;
  border-radius: 10px;
  border: 1px solid rgba(111, 135, 157, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  background: repeating-linear-gradient(
    135deg,
    #e8eef3,
    #e8eef3 13px,
    #dde6ed 13px,
    #dde6ed 26px
  );
}
.ph__label {
  font-family: monospace;
  font-size: 13px;
  color: var(--caption-gray);
  letter-spacing: 0.05em;
  text-align: center;
  padding: 0 16px;
}
.hero__visual .ph {
  aspect-ratio: 4 / 4.6;
  border: 1px solid rgba(185, 154, 91, 0.45);
  background: repeating-linear-gradient(
    135deg,
    #e8eef3,
    #e8eef3 14px,
    #dde6ed 14px,
    #dde6ed 28px
  );
}
.corner {
  position: absolute;
  width: 26px;
  height: 26px;
}
.corner--tl {
  top: 14px;
  left: 14px;
  border-top: 2px solid var(--gold);
  border-left: 2px solid var(--gold);
}
.corner--br {
  bottom: 14px;
  right: 14px;
  border-bottom: 2px solid var(--gold);
  border-right: 2px solid var(--gold);
}

/* 実写真フレーム（プレースホルダー差し替え） */
.photo {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
}
.photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo--hero {
  aspect-ratio: 4 / 4.6;
  border: 1px solid rgba(185, 154, 91, 0.45);
}
.photo--service {
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(111, 135, 157, 0.3);
}
.photo--message {
  aspect-ratio: 3 / 3.6;
  max-width: 420px;
  border: 1px solid rgba(111, 135, 157, 0.3);
}

/* ============================================================
   お悩み（Concerns）
   ============================================================ */
.concerns__head {
  text-align: center;
}
.concerns__title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(24px, 3.4vw, 38px);
  margin-top: 14px;
  letter-spacing: 0.02em;
}
.concerns__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 20px;
  margin-top: clamp(40px, 5vw, 60px);
}
.concern-card {
  background: var(--card-white);
  border: 1px solid rgba(185, 154, 91, 0.22);
  border-radius: 10px;
  padding: 34px 30px;
  box-shadow: 0 12px 30px rgba(14, 31, 51, 0.05);
  display: flex;
  align-items: center;
  gap: 20px;
}
.concern-card__icon {
  flex: none;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--tag-bg);
  display: flex;
  align-items: center;
  justify-content: center;
}
.concern-card__text {
  font-size: 16px;
  font-weight: 500;
  color: var(--navy-deep);
  letter-spacing: 0.02em;
}
.concerns__outro {
  text-align: center;
  font-family: var(--serif);
  font-size: clamp(17px, 2.2vw, 21px);
  color: var(--navy-deep);
  margin-top: clamp(40px, 5vw, 56px);
  letter-spacing: 0.03em;
}
.u-gold {
  color: var(--gold);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 3px;
}

/* ============================================================
   特徴（Feature）
   ============================================================ */
.feature {
  background: var(--mist-light);
  color: var(--navy-deep);
}
.feature__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(23px, 3.2vw, 36px);
  margin-top: 14px;
  line-height: 1.55;
  max-width: 780px;
  text-wrap: pretty;
}
.feature__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 22px;
  margin-top: clamp(44px, 5vw, 64px);
}
.feature-card {
  background: var(--card-white);
  border: 1px solid rgba(185, 154, 91, 0.25);
  border-top: 2px solid var(--gold);
  border-radius: 10px;
  padding: 36px 30px;
  box-shadow: 0 12px 30px rgba(14, 31, 51, 0.05);
}
.feature-card__num {
  font-family: var(--cormorant);
  font-size: 48px;
  color: var(--gold);
  line-height: 1;
}
.feature-card__title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 19px;
  margin: 16px 0 14px;
  letter-spacing: 0.02em;
  line-height: 1.5;
  color: var(--navy-deep);
}
.feature-card__body {
  font-size: 14px;
  color: var(--text-gray-soft);
  line-height: 1.85;
}

/* ============================================================
   業務内容（Service）
   ============================================================ */
.service__head {
  text-align: center;
}
.service__title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(24px, 3.4vw, 38px);
  margin-top: 14px;
  letter-spacing: 0.04em;
}
.service__list {
  display: flex;
  flex-direction: column;
  gap: clamp(36px, 5vw, 64px);
  margin-top: clamp(44px, 5vw, 64px);
}
.service-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
  gap: clamp(28px, 4vw, 52px);
  align-items: center;
}
.service-row__head {
  display: flex;
  align-items: baseline;
  gap: 14px;
}
.service-row__num {
  font-family: var(--cormorant);
  font-size: 30px;
  color: var(--gold);
  font-weight: 600;
}
.service-row__en {
  font-family: var(--cormorant);
  font-size: 13px;
  letter-spacing: 0.26em;
  color: var(--blue);
  text-transform: uppercase;
}
.service-row__title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(21px, 2.6vw, 28px);
  margin: 12px 0 18px;
  letter-spacing: 0.02em;
}
.service-row__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.tag {
  font-size: 12.5px;
  color: var(--blue);
  background: var(--tag-bg);
  border-radius: 100px;
  padding: 6px 14px;
  letter-spacing: 0.03em;
}
.service-row__body {
  font-size: 15px;
  color: var(--text-gray);
  line-height: 1.95;
}
.service-row__img {
  aspect-ratio: 4 / 3;
}

/* ============================================================
   料金表（Price）
   ============================================================ */
.price {
  color: var(--navy-deep);
}
.price .inner {
  max-width: 1080px;
}
.price__head {
  text-align: center;
}
.price__title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(23px, 3.2vw, 36px);
  margin-top: 14px;
  letter-spacing: 0.03em;
}
.price__sub {
  font-size: 15px;
  color: var(--text-gray);
  margin: 18px auto 0;
  max-width: 620px;
}
.price__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: clamp(40px, 5vw, 56px);
}
.price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
  background: var(--card-white);
  border: 1px solid rgba(185, 154, 91, 0.2);
  border-left: 3px solid var(--gold);
  border-radius: 8px;
  padding: 24px 28px;
  box-shadow: 0 8px 22px rgba(14, 31, 51, 0.04);
}
.price-row__main {
  flex: 1 1 260px;
}
.price-row__name {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.price-row__target {
  font-size: 12.5px;
  color: var(--caption-gray);
  margin-top: 4px;
}
.price-row__price {
  text-align: right;
  white-space: nowrap;
}
.price-row__amount {
  font-family: var(--sans);
  font-size: clamp(20px, 2.7vw, 27px);
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--gold);
}
.price-row__tax {
  font-size: 12px;
  color: var(--caption-gray);
  margin-left: 6px;
}
.price__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
  justify-content: center;
}
.chip {
  font-size: 12px;
  color: var(--text-gray);
  border: 1px solid rgba(14, 31, 51, 0.15);
  border-radius: 100px;
  padding: 6px 14px;
}
.price__note {
  font-size: 13px;
  color: var(--caption-gray);
  line-height: 1.9;
  margin-top: 26px;
  text-align: center;
}

/* ============================================================
   代表挨拶（Message）
   ============================================================ */
.message .inner {
  max-width: 1180px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: clamp(36px, 5vw, 64px);
  align-items: center;
}
.message__photo {
  aspect-ratio: 3 / 3.6;
  max-width: 420px;
}
.message__title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(24px, 3.2vw, 36px);
  margin: 14px 0 26px;
  letter-spacing: 0.03em;
}
.message__p {
  font-size: 15.5px;
  color: var(--text-gray);
  line-height: 2.05;
}
.message__p + .message__p {
  margin-top: 18px;
}
.message__p .accent {
  color: var(--navy-deep);
  font-weight: 500;
  border-bottom: 1px solid var(--gold);
}
.message__sign {
  margin-top: 30px;
  display: flex;
  align-items: baseline;
  gap: 14px;
}
.message__sign-role {
  font-size: 13px;
  color: var(--caption-gray);
  letter-spacing: 0.1em;
}
.message__sign-name {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--navy-deep);
}

/* ============================================================
   LINE（CTA）
   ============================================================ */
.line {
  position: relative;
  background: linear-gradient(160deg, #eef3f7, #e8eef3);
  color: var(--navy-deep);
  overflow: hidden;
}
.line__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.3;
  pointer-events: none;
}
.line__inner {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.line__title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(25px, 3.6vw, 40px);
  margin: 14px 0 20px;
  letter-spacing: 0.03em;
}
.line__sub {
  font-size: 15.5px;
  color: var(--text-gray);
  line-height: 1.95;
  max-width: 620px;
  margin: 0 auto;
}
.line__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  justify-content: center;
  margin: 30px 0;
}
.line__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

/* お問い合わせ：LINE と 電話の区切り */
.line__or {
  margin: 18px 0;
  font-size: 13px;
  color: var(--caption-gray);
  letter-spacing: 0.1em;
}

/* お問い合わせ：電話番号のシンプル表示 */
.line__phone {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  padding: 26px clamp(28px, 5vw, 52px);
  background: var(--card-white);
  border: 1px solid rgba(185, 154, 91, 0.35);
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(14, 31, 51, 0.06);
}
.line__phone-label {
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--caption-gray);
}
.line__phone-num {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(28px, 5vw, 40px);
  letter-spacing: 0.04em;
  color: var(--navy-deep);
  line-height: 1.1;
}
.line__phone-icon {
  color: var(--gold);
  flex: none;
}
.line__phone-note {
  font-size: 12.5px;
  color: var(--caption-gray);
  letter-spacing: 0.02em;
}

/* ============================================================
   事務所概要（About）
   ============================================================ */
.about .inner {
  max-width: 1180px;
}
.about__title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(24px, 3.2vw, 36px);
  margin-top: 14px;
  letter-spacing: 0.04em;
}
.about__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: clamp(30px, 4vw, 52px);
  margin-top: clamp(40px, 5vw, 56px);
  align-items: start;
}
.about-row {
  display: flex;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(185, 154, 91, 0.25);
}
.about-row__k {
  flex: none;
  width: 96px;
  font-size: 13.5px;
  color: var(--caption-gray);
  font-weight: 500;
  letter-spacing: 0.06em;
  padding-top: 1px;
}
.about-row__v {
  font-size: 14.5px;
  color: var(--navy-deep);
  line-height: 1.85;
}
/* Google Map 埋め込み */
.about__map {
  position: relative;
  aspect-ratio: 4 / 3.4;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(111, 135, 157, 0.3);
  box-shadow: 0 12px 30px rgba(14, 31, 51, 0.06);
  background: var(--mist-deep);
}
.about__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.15);
}
.about__map-link {
  position: absolute;
  left: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--navy-deep);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(185, 154, 91, 0.5);
  border-radius: 100px;
  padding: 8px 16px;
  box-shadow: 0 6px 16px rgba(14, 31, 51, 0.12);
  transition: background 0.3s ease, color 0.3s ease;
}
.about__map-link:hover {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
}
.pin {
  animation: floatPin 3s ease-in-out infinite;
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background: var(--footer-bg);
  color: var(--text-gray);
  padding: clamp(54px, 7vw, 80px) var(--section-px) 40px;
  border-top: 1px solid rgba(14, 31, 51, 0.08);
}
.footer__grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 36px 48px;
}
.footer__name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 20px;
  color: var(--navy-deep);
  letter-spacing: 0.06em;
}
.footer__en {
  font-family: var(--cormorant);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--gold);
  text-transform: uppercase;
  margin-top: 6px;
}
.footer__addr {
  font-size: 13px;
  line-height: 1.9;
  margin-top: 18px;
  color: var(--footer-sub);
}
.footer__tel {
  font-size: 13px;
  margin-top: 14px;
  color: var(--footer-sub);
}
.footer__tel a {
  color: var(--blue);
  font-weight: 500;
}
.footer__col-head {
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer__links {
  display: flex;
  flex-direction: column;
  gap: 11px;
  font-size: 13.5px;
}
.footer__links a {
  color: var(--text-gray);
}
.footer__copy {
  max-width: var(--maxw);
  margin: 48px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(14, 31, 51, 0.1);
  font-size: 12px;
  color: var(--caption-gray);
}

/* ============================================================
   モバイル下部固定CTA（< 860px のみ）
   ============================================================ */
.bottom-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 180;
  background: var(--navy-darkest);
  border-top: 1px solid rgba(185, 154, 91, 0.3);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.25);
}
.bottom-bar a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 15px;
  padding: 16px 0;
}
.bottom-bar__line {
  background: var(--line-green);
  color: #fff;
  font-weight: 500;
}
.bottom-bar__tel {
  color: var(--base-bg);
}
@media (max-width: 859px) {
  .bottom-bar {
    display: flex;
  }
  /* 下部バーに隠れないよう余白 */
  body {
    padding-bottom: 56px;
  }
}

/* ============================================================
   NEWS / お知らせ（ヒーロー直下）
   ============================================================ */
.news {
  background: var(--base-bg);
}
.news .inner {
  max-width: 960px;
}
.news__head {
  text-align: center;
}
.news__title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(24px, 3.2vw, 36px);
  margin-top: 14px;
  letter-spacing: 0.04em;
}
.news__list {
  margin-top: clamp(32px, 4vw, 48px);
  border-top: 1px solid rgba(185, 154, 91, 0.25);
}
.news__item {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 24px;
  padding: 20px 6px;
  border-bottom: 1px solid rgba(185, 154, 91, 0.25);
  transition: background 0.2s ease;
}
a.news__item:hover {
  background: rgba(185, 154, 91, 0.05);
}
.news__date {
  flex: none;
  font-family: var(--cormorant);
  font-size: 15px;
  letter-spacing: 0.08em;
  color: var(--gold);
  min-width: 108px;
}
.news__cat {
  flex: none;
  font-size: 11.5px;
  color: var(--blue);
  background: var(--tag-bg);
  border-radius: 100px;
  padding: 3px 12px;
  letter-spacing: 0.04em;
}
.news__text {
  flex: 1 1 auto;
  font-size: 15px;
  color: var(--navy-deep);
  line-height: 1.7;
  letter-spacing: 0.02em;
}
.news__empty {
  padding: 28px 6px;
  text-align: center;
  color: var(--caption-gray);
  font-size: 14.5px;
  border-bottom: 1px solid rgba(185, 154, 91, 0.25);
}
.news__more {
  margin-top: 28px;
  text-align: center;
}
.news__more a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--navy-deep);
  border: 1px solid rgba(185, 154, 91, 0.7);
  border-radius: 8px;
  padding: 12px 26px;
  letter-spacing: 0.06em;
}

/* NEWS 単体・一覧ページ本文 */
.post-main {
  padding: calc(var(--header-h) + clamp(40px, 6vw, 70px)) var(--section-px)
    clamp(60px, 8vw, 100px);
}
.post-main .inner {
  max-width: 800px;
}
.post-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.5;
  color: var(--navy-deep);
  margin: 10px 0 0;
}
.post-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}
.post-body {
  font-size: 16px;
  line-height: 2;
  color: var(--text-gray);
}
.post-body h2 {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--navy-deep);
  margin: 40px 0 16px;
}
.post-body h3 {
  font-family: var(--serif);
  font-size: 19px;
  color: var(--navy-deep);
  margin: 32px 0 14px;
}
.post-body p {
  margin: 0 0 20px;
}
.post-body img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}
.post-body a {
  color: var(--blue);
  text-decoration: underline;
}
.back-link {
  margin-top: 48px;
  text-align: center;
}
.back-link a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--navy-deep);
  border: 1px solid rgba(185, 154, 91, 0.7);
  border-radius: 8px;
  padding: 12px 28px;
}

/* ============================================================
   関連サービス：国際人材ブリッジ バナー（外部リンク）
   ============================================================ */
.partner {
  padding-top: clamp(6px, 2vw, 24px);
}
.bridge-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(20px, 4vw, 44px);
  flex-wrap: wrap;
  padding: clamp(28px, 4vw, 40px) clamp(26px, 4vw, 48px);
  background: linear-gradient(135deg, #17304c 0%, #0e1f33 100%);
  border: 1px solid rgba(185, 154, 91, 0.5);
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(14, 31, 51, 0.18);
  color: #f6f8fb;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}
.bridge-banner:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 52px rgba(14, 31, 51, 0.28);
}
.bridge-banner__main {
  flex: 1 1 420px;
}
.bridge-banner__eyebrow {
  display: block;
  font-family: var(--cormorant);
  font-size: 13px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.bridge-banner__logo {
  display: inline-flex;
  background: #fff;
  padding: 12px 18px;
  border-radius: 10px;
  margin-bottom: 14px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}
.bridge-banner__logo img {
  display: block;
  height: 40px;
  width: auto;
  max-width: 100%;
}
.bridge-banner__name {
  display: block;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.06em;
  color: #f6f8fb;
  line-height: 1.4;
}
.bridge-banner__en {
  font-family: var(--cormorant);
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(246, 248, 251, 0.6);
}
.bridge-banner__catch {
  display: block;
  margin-top: 12px;
  font-family: var(--serif);
  font-size: clamp(15px, 1.7vw, 18px);
  letter-spacing: 0.03em;
  color: var(--gold);
}
.bridge-banner__desc {
  display: block;
  margin-top: 10px;
  font-size: 13.5px;
  line-height: 1.85;
  color: rgba(246, 248, 251, 0.82);
  max-width: 640px;
}
.bridge-banner__cta {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border: 1px solid var(--gold);
  border-radius: 8px;
  color: #f6f8fb;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition: background 0.4s ease, color 0.4s ease;
}
.bridge-banner:hover .bridge-banner__cta {
  background: var(--gold);
  color: #0e1f33;
}
.bridge-banner__arrow {
  transition: transform 0.4s ease;
}
.bridge-banner:hover .bridge-banner__arrow {
  transform: translateX(4px);
}

/* ナビ外部リンク（↗アイコン） */
.nav__link--ext .nav__ext,
.menu-overlay__link--ext .nav__ext {
  display: inline-block;
  margin-left: 4px;
  font-size: 0.8em;
  color: var(--gold);
  vertical-align: baseline;
}

/* ============================================================
   お問い合わせフォーム（page-contact.php）
   ============================================================ */
.contact-main {
  background: var(--base-bg);
}
.contact-section {
  padding-top: calc(var(--header-h) + clamp(48px, 8vw, 96px));
  padding-bottom: clamp(70px, 9vw, 120px);
}
.inner--narrow {
  max-width: 760px;
}
.contact-head {
  text-align: center;
  margin-bottom: clamp(36px, 5vw, 56px);
}
.contact-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: 0.04em;
  color: var(--navy-deep);
  margin: 12px 0 0;
}
.contact-lead {
  font-size: 14.5px;
  line-height: 1.9;
  color: var(--text-gray);
  margin: 20px auto 0;
  max-width: 620px;
}
.contact-lead a {
  color: var(--blue);
  font-weight: 500;
}

/* 通知（成功・エラー） */
.form-notice {
  border-radius: 10px;
  padding: 20px 24px;
  font-size: 14.5px;
  line-height: 1.85;
  margin-bottom: 28px;
}
.form-notice--ok {
  background: #eef7f0;
  border: 1px solid rgba(6, 160, 85, 0.35);
  color: #12613a;
}
.form-notice--err {
  background: #fdeeee;
  border: 1px solid rgba(190, 60, 60, 0.35);
  color: #9a2b2b;
}

/* フォーム */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 3vw, 26px);
}
.field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.field__label {
  font-size: 14px;
  font-weight: 500;
  color: var(--navy-deep);
  letter-spacing: 0.03em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.field__req {
  font-size: 11px;
  font-weight: 500;
  color: #fff;
  background: var(--gold);
  border-radius: 4px;
  padding: 2px 8px;
  letter-spacing: 0.04em;
}
.field__opt {
  font-size: 12.5px;
  color: var(--caption-gray);
  font-weight: 400;
}
.field__input {
  width: 100%;
  font-family: inherit;
  font-size: 16px;
  color: var(--navy-darkest);
  background: #fff;
  border: 1px solid rgba(14, 31, 51, 0.16);
  border-radius: 10px;
  padding: 15px 18px;
  line-height: 1.6;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.field__input::placeholder {
  color: #9fb0c0;
}
.field__input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(185, 154, 91, 0.16);
}
.field__textarea {
  resize: vertical;
  min-height: 180px;
}

/* ハニーポット（画面外に隠す） */
.hara-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-actions {
  margin-top: 6px;
}
.contact-submit {
  appearance: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #f6f8fb;
  background: var(--navy-darkest);
  border-radius: 100px;
  padding: 17px 56px;
  box-shadow: 0 12px 28px rgba(14, 31, 51, 0.22);
  transition: transform 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
}
.contact-submit:hover {
  transform: translateY(-2px);
  background: var(--navy-deep);
  box-shadow: 0 16px 34px rgba(14, 31, 51, 0.28);
}
.contact-submit:active {
  transform: translateY(0);
}
