@charset "UTF-8";
/* ==========================================================================
   エムシーホームコミュニティ株式会社 コーポレートサイト
   style.css  ―  共通スタイルシート
   --------------------------------------------------------------------------
   目次
     01. デザイントークン（色・余白・タイポグラフィ）
     02. リセット & ベース
     03. レイアウト部品（container / section / grid）
     04. タイポグラフィ部品（見出し・リード文）
     05. ボタン・リンク
     06. ヘッダー / グローバルナビ
     07. フッター
     08. ヒーロー
     09. 汎用セクション部品（カード・特徴・数値・流れ・FAQ など）
     10. 下層ページ用（ページヘッダー・パンくず・テーブル・フォーム）
     11. アニメーション
     12. レスポンシブ
     13. 印刷
   ========================================================================== */

/* ==========================================================================
   01. デザイントークン
   ========================================================================== */
:root {
  /* --- ブランドカラー ---------------------------------------------------
     コーポレートロゴのティール（#69bac9）を基準に構成しています。
     ロゴそのものの色は --c-accent。文字やボタンには十分なコントラストを
     確保するため、同系統で暗い --c-primary を使います。
     配色を変更する場合はこの5行のみ書き換えてください。 */
  --c-primary:        #1c7d94;   /* メイン：ロゴを深めたティール（文字・ボタン用） */
  --c-primary-dark:   #145f72;   /* ホバー・濃色背景 */
  --c-primary-tint:   #e9f4f7;   /* 淡い背景 */
  --c-accent:         #69bac9;   /* アクセント：ロゴのティール（装飾・図形用） */
  --c-accent-tint:    #eaf5f8;

  /* --- 文字・背景・罫線 --- */
  --c-ink:            #16202a;   /* 見出し */
  --c-ink-2:          #4a5a6a;   /* 本文 */
  --c-ink-3:          #7d8b99;   /* 補足 */
  --c-bg:             #ffffff;
  --c-bg-2:           #f4f8fb;   /* セクション交互背景 */
  --c-bg-3:           #eaf1f7;
  --c-line:           #e2e9ef;
  --c-line-strong:    #cfdae4;

  /* --- タイポグラフィ --- */
  --font-base: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN",
               "Yu Gothic Medium", "Yu Gothic", Meiryo, sans-serif;
  --font-en:   "Barlow", "Helvetica Neue", Arial, var(--font-base);

  /* --- レイアウト --- */
  --container:   1180px;
  --container-n: 960px;    /* 読み物系の狭いコンテナ */
  --gutter:      24px;
  --header-h:    84px;

  /* --- 装飾 --- */
  --radius:    4px;
  --radius-lg: 8px;
  --shadow-sm: 0 1px 3px rgba(16, 42, 67, .06);
  --shadow:    0 4px 20px rgba(16, 42, 67, .08);
  --shadow-lg: 0 12px 40px rgba(16, 42, 67, .12);
  --ease:      cubic-bezier(.22, .61, .36, 1);
}

/* ==========================================================================
   02. リセット & ベース
   ========================================================================== */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-base);
  font-size: 16px;
  line-height: 1.95;
  color: var(--c-ink-2);
  background: var(--c-bg);
  font-feature-settings: "palt" 1;   /* 日本語の詰め組み */
  letter-spacing: .02em;
  overflow-wrap: break-word;
}

img,
svg,
video { max-width: 100%; height: auto; vertical-align: middle; }

h1, h2, h3, h4, h5 {
  margin: 0;
  color: var(--c-ink);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .01em;
}

p  { margin: 0 0 1.4em; }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0; padding: 0; }
li { list-style: none; }

a {
  color: var(--c-primary);
  text-decoration: none;
  transition: color .25s var(--ease), opacity .25s var(--ease);
}
a:hover { color: var(--c-primary-dark); }

/* キーボード操作時のみフォーカスリングを表示 */
:focus-visible {
  outline: 3px solid var(--c-accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* スクリーンリーダー専用テキスト */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* キーボードでのスキップリンク */
.skip-link {
  position: absolute;
  top: -100px; left: 16px;
  z-index: 200;
  padding: 12px 20px;
  background: var(--c-primary);
  color: #fff;
  font-weight: 700;
  border-radius: 0 0 var(--radius) var(--radius);
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 0; color: #fff; }

/* ==========================================================================
   03. レイアウト部品
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: var(--container-n); }

.section { padding: 104px 0; }
.section--tight { padding: 72px 0; }
.section--alt   { background: var(--c-bg-2); }
.section--tint  { background: var(--c-primary-tint); }

.grid { display: grid; gap: 32px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ==========================================================================
   04. タイポグラフィ部品
   ========================================================================== */

/* セクション見出し（英字ラベル + 日本語見出し） */
.sec-head { margin-bottom: 56px; }
.sec-head--center { text-align: center; }

.sec-label {
  display: block;
  margin-bottom: 14px;
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--c-primary);
}
.sec-label::before {
  content: "";
  display: inline-block;
  width: 22px; height: 1px;
  margin-right: 12px;
  vertical-align: middle;
  background: var(--c-primary);
}
.sec-head--center .sec-label::before { display: none; }

.sec-title {
  font-size: clamp(26px, 3.4vw, 38px);
  line-height: 1.45;
  letter-spacing: .03em;
}
.sec-title .accent { color: var(--c-primary); }

.sec-lead {
  margin-top: 22px;
  max-width: 760px;
  font-size: 16px;
  color: var(--c-ink-2);
}
.sec-head--center .sec-lead { margin-inline: auto; }

.lead-lg {
  font-size: clamp(17px, 2vw, 20px);
  line-height: 2.05;
  color: var(--c-ink);
  font-weight: 500;
}

/* PCでのみ有効にする改行（スマートフォンでは無効化） */
.sp-br { display: inline; }

.txt-c { text-align: center; }
.mt-0  { margin-top: 0; }
.mt-40 { margin-top: 40px; }
.mt-56 { margin-top: 56px; }
.mb-24 { margin-bottom: 24px; }

/* ==========================================================================
   05. ボタン
   ========================================================================== */
.btn {
  --btn-bg: var(--c-primary);
  --btn-fg: #fff;
  --btn-bd: var(--c-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 58px;
  padding: 0 34px;
  border: 1px solid var(--btn-bd);
  border-radius: var(--radius);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .06em;
  line-height: 1.4;
  text-align: center;
  cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease),
              border-color .25s var(--ease), transform .25s var(--ease),
              box-shadow .25s var(--ease);
}
.btn:hover {
  color: var(--btn-fg);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.btn .ico { flex: none; transition: transform .25s var(--ease); }
.btn:hover .ico { transform: translateX(4px); }

.btn--primary:hover { --btn-bg: var(--c-primary-dark); --btn-bd: var(--c-primary-dark); }

.btn--accent { --btn-bg: var(--c-accent); --btn-fg: #0f4b59; --btn-bd: var(--c-accent); }
.btn--accent:hover { --btn-bg: #4fa9ba; --btn-bd: #4fa9ba; }

.btn--ghost { --btn-bg: transparent; --btn-fg: var(--c-primary); --btn-bd: var(--c-line-strong); }
.btn--ghost:hover { --btn-bg: var(--c-primary); --btn-fg: #fff; --btn-bd: var(--c-primary); }

.btn--white { --btn-bg: #fff; --btn-fg: var(--c-primary); --btn-bd: #fff; }
.btn--white:hover { --btn-fg: var(--c-primary-dark); }

/* LINE（ブランドカラー #06c755） */
.btn--line { --btn-bg: #06c755; --btn-fg: #fff; --btn-bd: #06c755; }
.btn--line:hover { --btn-bg: #05a948; --btn-bd: #05a948; }
.btn--line-outline { --btn-bg: #fff; --btn-fg: #04913d; --btn-bd: #06c755; }
.btn--line-outline:hover { --btn-bg: #06c755; --btn-fg: #fff; }

.btn--lg { min-height: 66px; padding: 0 44px; font-size: 16px; }
.btn--full { width: 100%; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.btn-row--center { justify-content: center; }

/* テキストリンク（矢印付き） */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .04em;
}
.link-arrow .ico { transition: transform .25s var(--ease); }
.link-arrow:hover .ico { transform: translateX(5px); }

/* ==========================================================================
   06. ヘッダー / グローバルナビ
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--c-line);
  transition: box-shadow .3s var(--ease);
}
.header.is-scrolled { box-shadow: var(--shadow-sm); }

.header__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: var(--header-h);
  max-width: 1400px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* --- ロゴ --- */
.logo {
  display: flex;
  align-items: center;
  flex: none;
  transition: opacity .25s var(--ease);
}
.logo:hover { opacity: .7; }
/* ヘッダーはシンボルマークのみ（ほぼ正方形）。横組みロゴより面積が小さいぶん高さを上げて存在感を揃える */
.logo__img {
  display: block;
  width: auto;
  height: 56px;
}

/* --- ナビゲーション --- */
.gnav { margin-left: auto; }
.gnav__list { display: flex; align-items: center; gap: 4px; }
.gnav__link {
  position: relative;
  display: block;
  padding: 10px 15px;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--c-ink);
  white-space: nowrap;
}
.gnav__link::after {
  content: "";
  position: absolute;
  left: 15px; right: 15px; bottom: 2px;
  height: 2px;
  background: var(--c-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.gnav__link:hover::after,
.gnav__item.is-current > .gnav__link::after { transform: scaleX(1); }
.gnav__item.is-current > .gnav__link { color: var(--c-primary); }

/* ドロップダウン */
.gnav__item--has-child { position: relative; }
/* font ショートハンドで inherit すると .gnav__link の font-weight / font-size まで
   打ち消されてリンクと太さがずれるため、font-family と color のみ継承させる */
.gnav__toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 0;
  background: none;
  font-family: inherit;
  color: inherit;
  cursor: pointer;
}
.gnav__toggle .caret { transition: transform .3s var(--ease); }

.subnav {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translate(-50%, 8px);
  min-width: 268px;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
.gnav__item--has-child:hover .subnav,
.gnav__item--has-child:focus-within .subnav {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.gnav__item--has-child:hover .caret { transform: rotate(180deg); }

.subnav__link {
  display: block;
  padding: 13px 16px;
  border-radius: var(--radius);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--c-ink);
  line-height: 1.5;
}
.subnav__link small {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  font-weight: 400;
  color: var(--c-ink-3);
}
.subnav__link:hover { background: var(--c-primary-tint); color: var(--c-primary); }

/* ドロワー内のCTA（モバイル幅でのみ表示） */
.gnav__drawer-cta { display: none; }

/* --- ヘッダー右側のCTA --- */
.header__cta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: none;
}
.header__tel { line-height: 1.3; text-align: right; }
.header__tel-num {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-en);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--c-ink);
}
.header__tel-num:hover { color: var(--c-primary); }
.header__tel-note { font-size: 11px; color: var(--c-ink-3); letter-spacing: .02em; }
.header__btn { min-height: 48px; padding: 0 22px; font-size: 14px; }

/* --- ハンバーガー --- */
.hamburger {
  display: none;
  position: relative;
  width: 48px; height: 48px;
  margin-left: auto;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  background: #fff;
  cursor: pointer;
}
.hamburger span {
  position: absolute;
  left: 13px;
  width: 20px; height: 2px;
  background: var(--c-ink);
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.hamburger span:nth-child(1) { top: 17px; }
.hamburger span:nth-child(2) { top: 23px; }
.hamburger span:nth-child(3) { top: 29px; }
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ==========================================================================
   07. フッター
   ========================================================================== */
/* ロゴの視認性と清潔感を優先し、フッターは白基調で構成しています。
   濃色フッターに戻す場合は background / color / 罫線の3色を差し替えてください。 */
.footer {
  padding: 76px 0 0;
  background: var(--c-bg-2);
  border-top: 1px solid var(--c-line);
  color: var(--c-ink-2);
  font-size: 14px;
}
.footer a { color: var(--c-ink-2); }
.footer a:hover { color: var(--c-primary); }

.footer__top {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 56px;
  padding-bottom: 52px;
  border-bottom: 1px solid var(--c-line);
}
.footer__logo { margin-bottom: 24px; }
/* フッターは正式社名入りの横組みロゴ。「株式会社」のぶん文字が小さくなるので高さを確保する */
.footer__logo-img { display: block; width: auto; height: 58px; }
.footer__addr { font-size: 13.5px; line-height: 2; font-style: normal; }

.footer__nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.footer__nav-ttl {
  margin-bottom: 16px;
  color: var(--c-ink);
  font-size: 14px;
  letter-spacing: .06em;
}
.footer__nav-list li + li { margin-top: 11px; }
.footer__nav-list a { font-size: 13.5px; }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 26px 0 34px;
  font-size: 12.5px;
}
.footer__meta { display: flex; flex-wrap: wrap; gap: 22px; }
.footer__copy { color: var(--c-ink-3); letter-spacing: .04em; }

/* ==========================================================================
   08. ヒーロー
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #f2f8fc 0%, #e3eff8 55%, #dceaf5 100%);
}
.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 48px;
  min-height: 620px;
  padding-block: 72px;
}
.hero__copy { max-width: 660px; }

.hero__label {
  display: inline-block;
  margin-bottom: 26px;
  padding: 7px 18px;
  background: #fff;
  border-radius: 100px;
  box-shadow: var(--shadow-sm);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--c-primary);
}
.hero__title {
  font-size: clamp(29px, 4.2vw, 50px);
  line-height: 1.45;
  letter-spacing: .01em;
}
.hero__title .accent {
  background: linear-gradient(transparent 76%, rgba(105, 186, 201, .45) 76%);
}
.hero__lead {
  margin-top: 28px;
  font-size: clamp(15px, 1.7vw, 17px);
  line-height: 2.1;
  color: var(--c-ink-2);
}
.hero__actions { margin-top: 40px; }

.hero__visual { position: relative; }
.hero__visual img {
  width: 100%;
  max-width: 560px;
  margin-inline: auto;
  display: block;
}

/* ヒーロー下の指標バー
   ※ 現在トップページでは使用していません。対応エリア数や実績値が固まった際に
      index.html のヒーロー内へ <div class="hero__bar"> … </div> を追加すれば利用できます。 */
.hero__bar {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, .92);
  border-top: 1px solid rgba(255, 255, 255, .8);
}
.hero__bar-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.hero__bar-item {
  padding: 26px 20px;
  text-align: center;
}
.hero__bar-item + .hero__bar-item { border-left: 1px solid var(--c-line); }
.hero__bar-num {
  display: block;
  font-family: var(--font-en);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--c-primary);
  letter-spacing: .02em;
}
.hero__bar-num .unit { font-size: 15px; margin-left: 3px; }
.hero__bar-label { display: block; margin-top: 5px; font-size: 12.5px; color: var(--c-ink-3); }

/* ==========================================================================
   09. 汎用セクション部品
   ========================================================================== */

/* --- 特徴カード（3つの安心） --- */
.feature {
  padding: 44px 34px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.feature:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.feature__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 68px; height: 68px;
  margin-bottom: 26px;
  background: var(--c-primary-tint);
  border-radius: 50%;
  color: var(--c-primary);
}
.feature__num {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  color: var(--c-primary);
}
.feature__title { margin-bottom: 14px; font-size: 20px; line-height: 1.55; }
.feature__text { font-size: 14.5px; line-height: 1.95; }

/* --- 事業カード --- */
.biz-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.biz-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.biz-card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--c-bg-3);
}
.biz-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.biz-card:hover .biz-card__media img { transform: scale(1.05); }
.biz-card__tag {
  position: absolute;
  top: 16px; left: 16px;
  padding: 6px 15px;
  background: var(--c-primary);
  border-radius: 3px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
}
.biz-card__tag--accent { background: var(--c-accent); color: #0f4b59; }
.biz-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 34px 32px 32px;
}
.biz-card__title { margin-bottom: 8px; font-size: 22px; line-height: 1.5; }
.biz-card__sub {
  margin-bottom: 18px;
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  color: var(--c-primary);
}
.biz-card__text { font-size: 14.5px; line-height: 1.95; }
.biz-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 26px;
}
.biz-card__tags li {
  padding: 5px 13px;
  background: var(--c-bg-2);
  border-radius: 100px;
  font-size: 12px;
  color: var(--c-ink-2);
}
.biz-card__foot { margin-top: auto; }

/* --- お困りごと診断（トップページ） --- */
.finder {
  padding: 44px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
/* 選択肢（キーワード）。押すと対応サービスが表示されます */
.finder__chips {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.finder__chip {
  position: relative;
  padding: 18px 40px 18px 22px;
  border: 1px solid var(--c-line-strong);
  border-radius: var(--radius);
  background: #fff;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: .02em;
  color: var(--c-ink);
  text-align: left;
  cursor: pointer;
  transition: background-color .25s var(--ease), border-color .25s var(--ease),
              color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
/* 右端の矢印 */
.finder__chip::after {
  content: "";
  position: absolute;
  top: 50%; right: 18px;
  width: 7px; height: 7px;
  margin-top: -4px;
  border-right: 2px solid var(--c-ink-3);
  border-bottom: 2px solid var(--c-ink-3);
  transform: rotate(-45deg);
  transition: border-color .25s var(--ease), transform .25s var(--ease);
}
.finder__chip:hover {
  border-color: var(--c-primary);
  background: var(--c-primary-tint);
  color: var(--c-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.finder__chip:hover::after { border-color: var(--c-primary); transform: rotate(-45deg) translate(2px, 2px); }

/* 選択中 */
.finder__chip.is-active {
  border-color: var(--c-primary);
  background: var(--c-primary);
  color: #fff;
  box-shadow: var(--shadow);
}
.finder__chip.is-active::after { border-color: #fff; }

.finder__result {
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid var(--c-line);
}
.finder-result__lead {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 16px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--c-primary);
}
.finder-result__lead::before {
  content: "";
  flex: none;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--c-primary);
  /* チェックマーク */
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath fill='%23000' d='M9 0a9 9 0 100 18A9 9 0 009 0zm-1 13L4 9l1.4-1.4L8 10.2l4.6-4.6L14 7l-6 6z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath fill='%23000' d='M9 0a9 9 0 100 18A9 9 0 009 0zm-1 13L4 9l1.4-1.4L8 10.2l4.6-4.6L14 7l-6 6z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.finder-result__cards { display: grid; gap: 14px; }
.finder-card {
  display: grid;
  gap: 6px;
  padding: 24px 26px;
  background: var(--c-bg-2);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  color: var(--c-ink-2);
  transition: background-color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.finder-card:hover {
  color: var(--c-ink-2);
  background: var(--c-primary-tint);
  border-color: var(--c-primary);
  transform: translateY(-2px);
}
.finder-card__name { font-size: 18px; font-weight: 700; color: var(--c-ink); line-height: 1.5; }
.finder-card__desc { font-size: 14px; line-height: 1.85; }
.finder-card__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--c-primary);
}
.finder-card__more .ico { transition: transform .25s var(--ease); }
.finder-card:hover .finder-card__more .ico { transform: translateX(4px); }
.finder-result__note {
  margin: 18px 0 0;
  font-size: 12.5px;
  line-height: 1.9;
  color: var(--c-ink-3);
}

.finder-none { text-align: center; }
.finder-none__ttl { margin-bottom: 10px; font-size: 16px; font-weight: 700; color: var(--c-ink); }
.finder-none__text { margin-bottom: 22px; font-size: 14px; }

/* --- サービスカード（トップページのサービス内容） --- */
.service-card {
  display: flex;
  flex-direction: column;
  padding: 38px 32px 32px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  color: var(--c-ink-2);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
a.service-card:hover {
  color: var(--c-ink-2);
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.service-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 64px; height: 64px;
  margin-bottom: 24px;
  background: var(--c-accent-tint);
  border-radius: 50%;
  color: var(--c-primary);
}
.service-card__title { margin-bottom: 12px; font-size: 19px; line-height: 1.55; }
.service-card__text { font-size: 14.5px; line-height: 1.9; }
.service-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 18px;
}
.service-card__tags li {
  padding: 4px 12px;
  background: var(--c-bg-2);
  border-radius: 100px;
  font-size: 11.5px;
  color: var(--c-ink-2);
}
.service-card__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 24px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--c-primary);
}
.service-card__more .ico { transition: transform .25s var(--ease); }
a.service-card:hover .service-card__more .ico { transform: translateX(5px); }

/* --- サービスメニュー --- */
.menu-card {
  display: block;
  padding: 30px 26px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  text-align: center;
  color: var(--c-ink);
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease);
}
.menu-card:hover {
  color: var(--c-ink);
  border-color: var(--c-primary);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}
.menu-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px; height: 60px;
  margin: 0 auto 18px;
  background: var(--c-accent-tint);
  border-radius: 50%;
  color: var(--c-primary);
}
.menu-card__title { font-size: 16px; margin-bottom: 8px; }
.menu-card__price {
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 600;
  color: var(--c-primary);
  letter-spacing: .03em;
}
.menu-card__price small { font-family: var(--font-base); font-weight: 400; color: var(--c-ink-3); }

/* --- 数値実績 --- */
.stat {
  padding: 36px 24px;
  text-align: center;
  background: #fff;
  border-radius: var(--radius);
}
.stat__label { font-size: 13.5px; color: var(--c-ink-3); }
.stat__num {
  display: block;
  margin: 6px 0 2px;
  font-family: var(--font-en);
  font-size: 46px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--c-primary);
  letter-spacing: .01em;
}
.stat__num .unit { font-size: 18px; margin-left: 4px; color: var(--c-ink-2); }
.stat__note { font-size: 12px; color: var(--c-ink-3); }

/* --- ご依頼の流れ --- */
.flow { counter-reset: flow; }
.flow__item {
  position: relative;
  padding: 32px 30px 32px 96px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
}
.flow__item + .flow__item { margin-top: 20px; }
.flow__item::before {
  counter-increment: flow;
  content: counter(flow, decimal-leading-zero);
  position: absolute;
  top: 30px; left: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  background: var(--c-primary);
  border-radius: 50%;
  color: #fff;
  font-family: var(--font-en);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .02em;
}
.flow__title { margin-bottom: 8px; font-size: 18px; }
.flow__text { font-size: 14.5px; }

/* --- お客様の声 --- */
.voice {
  position: relative;
  padding: 40px 34px 34px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.voice::before {
  content: "“";
  position: absolute;
  top: 6px; left: 26px;
  font-family: var(--font-en);
  font-size: 68px;
  line-height: 1;
  color: var(--c-primary-tint);
}
.voice__text { position: relative; font-size: 14.5px; line-height: 2; }
.voice__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--c-line);
  font-size: 13px;
  color: var(--c-ink-3);
}
.voice__avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  background: var(--c-accent-tint);
  border-radius: 50%;
  color: var(--c-primary);
  font-weight: 700;
  font-size: 15px;
  flex: none;
}

/* --- グループ / パートナー --- */
.group-card {
  display: flex;
  gap: 26px;
  padding: 32px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  transition: box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.group-card:hover { box-shadow: var(--shadow); border-color: transparent; }
.group-card__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 92px; height: 92px;
  flex: none;
  background: var(--c-bg-2);
  border-radius: var(--radius);
  color: var(--c-primary);
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: .06em;
}
.group-card__cat {
  display: inline-block;
  margin-bottom: 8px;
  padding: 4px 12px;
  background: var(--c-accent-tint);
  border-radius: 3px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .06em;
  color: #16667a;
}
.group-card__title { margin-bottom: 10px; font-size: 18px; }
.group-card__text { font-size: 14px; line-height: 1.9; }

/* --- お知らせリスト --- */
.news-list { border-top: 1px solid var(--c-line); }
.news-item { border-bottom: 1px solid var(--c-line); }
.news-item__link {
  display: grid;
  grid-template-columns: 130px 130px 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 26px 8px;
  color: var(--c-ink);
}
.news-item__link:hover { color: var(--c-primary); background: var(--c-bg-2); }
.news-item__date {
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 600;
  color: var(--c-ink-3);
  letter-spacing: .06em;
}
.news-item__cat {
  padding: 5px 0;
  border: 1px solid var(--c-line-strong);
  border-radius: 3px;
  text-align: center;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--c-ink-2);
  letter-spacing: .04em;
}
.news-item__cat--info { border-color: var(--c-primary); color: var(--c-primary); }
.news-item__cat--service { border-color: var(--c-accent); color: #16667a; }
.news-item__ttl { font-size: 15px; font-weight: 500; line-height: 1.7; }

/* --- FAQ --- */
.faq { border-top: 1px solid var(--c-line); }
.faq__item { border-bottom: 1px solid var(--c-line); }
.faq__q {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  width: 100%;
  padding: 26px 8px;
  border: 0;
  background: none;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.7;
  color: var(--c-ink);
  text-align: left;
  cursor: pointer;
}
.faq__q:hover { color: var(--c-primary); }
.faq__q .mark {
  flex: none;
  font-family: var(--font-en);
  font-size: 18px;
  color: var(--c-primary);
  line-height: 1.55;
}
.faq__q .plus {
  flex: none;
  margin-left: auto;
  width: 20px; height: 20px;
  position: relative;
  margin-top: 6px;
}
.faq__q .plus::before,
.faq__q .plus::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 16px; height: 2px;
  background: var(--c-primary);
  transform: translate(-50%, -50%);
  transition: transform .3s var(--ease);
}
.faq__q .plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__q[aria-expanded="true"] .plus::after { transform: translate(-50%, -50%) rotate(0); }

.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .35s var(--ease);
}
.faq__a[data-open="true"] { grid-template-rows: 1fr; }
.faq__a-inner { overflow: hidden; }
.faq__a-body {
  display: flex;
  gap: 16px;
  padding: 0 8px 28px;
  font-size: 14.5px;
}
.faq__a-body .mark {
  flex: none;
  font-family: var(--font-en);
  font-size: 18px;
  font-weight: 700;
  color: var(--c-primary);
  line-height: 1.6;
}

/* --- CTA帯 --- */
.cta {
  position: relative;
  overflow: hidden;
  padding: 88px 0;
  background: linear-gradient(120deg, var(--c-primary-dark) 0%, var(--c-primary) 60%, #2a9cb4 100%);
  color: #fff;
  text-align: center;
}
.cta::after {
  content: "";
  position: absolute;
  right: -120px; bottom: -160px;
  width: 480px; height: 480px;
  background: rgba(255, 255, 255, .06);
  border-radius: 50%;
}
.cta__inner { position: relative; z-index: 2; }
.cta__label {
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .22em;
  color: rgba(255, 255, 255, .75);
}
.cta__title {
  margin: 14px 0 18px;
  color: #fff;
  font-size: clamp(24px, 3.2vw, 34px);
  line-height: 1.5;
}
.cta__text { color: rgba(255, 255, 255, .86); font-size: 15px; }
.cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin-top: 38px;
}

/* --- 対応エリア --- */
.area-box {
  padding: 40px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
}
.area-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.area-list li {
  padding: 8px 18px;
  background: var(--c-bg-2);
  border-radius: 100px;
  font-size: 13.5px;
  color: var(--c-ink-2);
}

/* ==========================================================================
   10. 下層ページ用
   ========================================================================== */

/* --- ページヘッダー --- */
.page-head {
  padding: 72px 0 64px;
  background: linear-gradient(150deg, #f2f8fc 0%, #e5eff7 100%);
  border-bottom: 1px solid var(--c-line);
}
.page-head__label {
  display: block;
  margin-bottom: 12px;
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--c-primary);
}
.page-head__title {
  font-size: clamp(27px, 4vw, 42px);
  line-height: 1.4;
}
.page-head__lead {
  margin-top: 22px;
  max-width: 780px;
  font-size: 15.5px;
  line-height: 2.05;
}

/* --- パンくず --- */
.breadcrumb { border-bottom: 1px solid var(--c-line); background: #fff; }
.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 14px 0;
  font-size: 12.5px;
  color: var(--c-ink-3);
}
.breadcrumb__list li { display: flex; align-items: center; gap: 10px; }
.breadcrumb__list li + li::before { content: "／"; color: var(--c-line-strong); }

/* --- 定義テーブル（会社概要など） --- */
.table-def { width: 100%; border-collapse: collapse; font-size: 15px; }
.table-def th,
.table-def td {
  padding: 24px 20px;
  border-bottom: 1px solid var(--c-line);
  text-align: left;
  vertical-align: top;
  line-height: 1.9;
}
.table-def th {
  width: 220px;
  font-weight: 700;
  color: var(--c-ink);
  background: var(--c-bg-2);
}
.table-def tr:first-child th,
.table-def tr:first-child td { border-top: 1px solid var(--c-line); }

/* --- 沿革 --- */
.history { position: relative; padding-left: 26px; }
.history::before {
  content: "";
  position: absolute;
  top: 10px; bottom: 10px; left: 5px;
  width: 2px;
  background: var(--c-line);
}
.history__item { position: relative; padding-bottom: 34px; }
.history__item::before {
  content: "";
  position: absolute;
  top: 9px; left: -26px;
  width: 12px; height: 12px;
  background: #fff;
  border: 3px solid var(--c-primary);
  border-radius: 50%;
}
.history__date {
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 700;
  color: var(--c-primary);
  letter-spacing: .04em;
}
.history__text { margin-top: 4px; font-size: 14.5px; }

/* --- 料金表 --- */
.table-price { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.table-price th,
.table-price td {
  padding: 18px 20px;
  border: 1px solid var(--c-line);
  text-align: left;
  line-height: 1.8;
}
.table-price thead th {
  background: var(--c-primary);
  color: #fff;
  font-size: 14px;
  letter-spacing: .04em;
}
.table-price tbody th { background: var(--c-bg-2); font-weight: 700; color: var(--c-ink); }
.table-price td.price {
  white-space: nowrap;
  font-family: var(--font-en);
  font-weight: 700;
  color: var(--c-primary);
}
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* --- チェックリスト --- */
.check-list li {
  position: relative;
  padding-left: 34px;
  font-size: 15px;
  line-height: 1.9;
}
.check-list li + li { margin-top: 14px; }
.check-list li::before {
  content: "";
  position: absolute;
  top: .55em; left: 0;
  width: 20px; height: 20px;
  background: var(--c-primary);
  border-radius: 50%;
}
.check-list li::after {
  content: "";
  position: absolute;
  top: .82em; left: 6px;
  width: 8px; height: 4px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}

/* --- 注記ボックス --- */
.note-box {
  padding: 22px 26px;
  background: var(--c-bg-2);
  border-left: 4px solid var(--c-primary);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 13.5px;
  line-height: 1.9;
}

/* --- フォーム --- */
.form { display: grid; gap: 28px; }
.form__row { display: grid; gap: 10px; }
.form__label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--c-ink);
}
.form__req,
.form__any {
  padding: 3px 10px;
  border-radius: 3px;
  font-size: 11px;
  letter-spacing: .04em;
}
.form__req { background: #d8443c; color: #fff; }
.form__any { background: var(--c-bg-3); color: var(--c-ink-2); }

.form__control,
.form textarea,
.form select {
  width: 100%;
  padding: 15px 18px;
  border: 1px solid var(--c-line-strong);
  border-radius: var(--radius);
  background: #fff;
  font-family: inherit;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--c-ink);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.form__control:focus,
.form textarea:focus,
.form select:focus {
  outline: 0;
  border-color: var(--c-primary);
  box-shadow: 0 0 0 3px rgba(11, 95, 165, .14);
}
.form textarea { min-height: 190px; resize: vertical; }
.form__help { font-size: 12.5px; color: var(--c-ink-3); }

.form__checks { display: grid; gap: 12px; }
.form__check {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 14.5px;
  cursor: pointer;
}
.form__check input { margin-top: .45em; width: 18px; height: 18px; accent-color: var(--c-primary); flex: none; }

.form__submit { text-align: center; padding-top: 8px; }

/* --- 採用求人カード --- */
.job {
  padding: 34px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
}
.job__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  padding-bottom: 20px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--c-line);
}
.job__title { font-size: 20px; }
.job__badge {
  padding: 5px 14px;
  background: var(--c-primary-tint);
  border-radius: 3px;
  font-size: 12px;
  font-weight: 700;
  color: var(--c-primary);
}
.job__dl { display: grid; grid-template-columns: 130px 1fr; gap: 14px 20px; font-size: 14.5px; }
.job__dl dt { font-weight: 700; color: var(--c-ink); }
.job__dl dd { margin: 0; }

/* --- お知らせのカテゴリ絞り込み --- */
.news-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 34px;
}
.news-filter__btn {
  padding: 10px 24px;
  border: 1px solid var(--c-line-strong);
  border-radius: 100px;
  background: #fff;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: .03em;
  color: var(--c-ink-2);
  cursor: pointer;
  transition: background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}
.news-filter__btn:hover { border-color: var(--c-primary); color: var(--c-primary); }
.news-filter__btn.is-active {
  background: var(--c-primary);
  border-color: var(--c-primary);
  color: #fff;
}

/* --- ページネーション --- */
.pager {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
}
.pager__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 46px;
  height: 46px;
  padding: 0 16px;
  border: 1px solid var(--c-line-strong);
  border-radius: var(--radius);
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 600;
  color: var(--c-ink-2);
  transition: background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}
.pager__item:hover { border-color: var(--c-primary); color: var(--c-primary); }
.pager__item.is-current {
  background: var(--c-primary);
  border-color: var(--c-primary);
  color: #fff;
}

/* --- 本文（プライバシーポリシー等） --- */
.prose h2 {
  margin: 56px 0 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--c-primary);
  font-size: 21px;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 32px 0 12px; font-size: 17px; }
.prose p { font-size: 15px; }
.prose ul { margin: 0 0 1.4em; }
.prose ul li {
  position: relative;
  padding-left: 20px;
  font-size: 15px;
}
.prose ul li::before {
  content: "";
  position: absolute;
  top: .82em; left: 2px;
  width: 6px; height: 6px;
  background: var(--c-accent);
  border-radius: 50%;
}
.prose ol { margin: 0 0 1.4em; padding-left: 1.4em; }
.prose ol li { list-style: decimal; font-size: 15px; }

/* ==========================================================================
   11. アニメーション
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .12s; }
.reveal[data-delay="2"] { transition-delay: .24s; }
.reveal[data-delay="3"] { transition-delay: .36s; }

/* ==========================================================================
   LINE 相談導線
   ========================================================================== */

/* --- LINE公式ロゴ（LINEヤフー提供の素材をそのまま使用。加工しないこと）
       ロゴ内に「LINE」の文字が入っているため、小さくしすぎると潰れます。
       最小でも 20px 程度を確保してください。 --- */
.ico-line {
  flex: none;
  width: 26px;
  height: 26px;
}
.btn--lg .ico-line   { width: 30px; height: 30px; }
.header__line .ico-line { width: 23px; height: 23px; }
.line-float .ico-line   { width: 24px; height: 24px; }
/* 矢印アイコン用のスライド演出はロゴには適用しない */
.btn:hover .ico-line,
a:hover .ico-line { transform: none; }

/* --- ヘッダー内のLINEボタン --- */
.header__line { min-height: 48px; padding: 0 22px; font-size: 14px; }

/* --- お問い合わせページのLINE案内ボックス --- */
.line-box {
  display: grid;
  grid-template-columns: 1fr 250px;
  gap: 48px;
  align-items: center;
  padding: 48px;
  background: #fff;
  border: 2px solid #06c755;
  border-radius: var(--radius-lg);
}
.line-box__label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 16px;
  padding: 6px 16px 6px 12px;
  background: #06c755;
  border-radius: 100px;
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .06em;
}
.line-box__label .ico-line { width: 21px; height: 21px; }
.line-box__title {
  margin-bottom: 18px;
  font-size: clamp(21px, 2.6vw, 27px);
  line-height: 1.55;
}
.line-box__text { font-size: 14.5px; margin-bottom: 28px; }
.line-box__note {
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--c-ink-3);
  text-align: center;
}
.line-box__qr { text-align: center; }
.line-box__qr img {
  width: 100%;
  max-width: 210px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
}
.line-box__qr p { margin-top: 12px; font-size: 12.5px; color: var(--c-ink-3); }

/* --- その他の連絡先 --- */
.contact-info {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
/* 連絡先が1件のときは中央に寄せる */
.contact-info--single {
  grid-template-columns: 1fr;
  max-width: 460px;
  margin-inline: auto;
  text-align: center;
}
.contact-info--single .contact-info__val { justify-content: center; }
.contact-info__item {
  padding: 28px 30px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
}
.contact-info__ttl {
  margin-bottom: 10px;
  font-size: 14px;
  color: var(--c-ink-3);
  font-weight: 500;
}
.contact-info__val {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-en);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: .03em;
  color: var(--c-ink);
  line-height: 1.4;
}
a.contact-info__val:hover { color: var(--c-primary); }
.contact-info__note { margin-top: 8px; font-size: 12.5px; color: var(--c-ink-3); }

/* --- 画面に追従するLINEボタン --- */
.line-float {
  position: fixed;
  right: 24px; bottom: 88px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 100px;
  background: #06c755;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
  box-shadow: 0 6px 20px rgba(6, 199, 85, .32);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s, background-color .25s;
}
.line-float.is-visible { opacity: 1; visibility: visible; transform: none; }
.line-float:hover { background: #05a948; color: #fff; }

/* ページトップへ戻る */
.to-top {
  position: fixed;
  right: 24px; bottom: 24px;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  border: 0;
  border-radius: 50%;
  background: var(--c-primary);
  color: #fff;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  box-shadow: var(--shadow);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s, background-color .3s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--c-primary-dark); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   12. レスポンシブ
   ========================================================================== */

/* --- タブレット横 --- */
@media (max-width: 1180px) {
  .gnav__link { padding: 10px 11px; font-size: 14px; }
  .header__tel { display: none; }
}

/* --- タブレット縦以下：ドロワーメニューへ --- */
@media (max-width: 1000px) {
  .finder__chips { grid-template-columns: repeat(2, 1fr); }

  :root { --header-h: 70px; }

  /* backdrop-filter は containing block を生成し、子孫の position:fixed の
     基準をヘッダーに変えてしまう。ドロワーを画面全体に広げるため無効化する。 */
  .header {
    background: #fff;
    backdrop-filter: none;
  }

  .logo__img { height: 46px; }
  .hamburger { display: block; }
  .header__cta { display: none; }

  .gnav {
    position: fixed;
    inset: var(--header-h) 0 0;
    z-index: 99;
    margin: 0;
    padding: 20px var(--gutter) 60px;
    background: #fff;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  }
  .gnav.is-open { opacity: 1; visibility: visible; transform: none; }

  .gnav__list { display: block; }
  .gnav__item { border-bottom: 1px solid var(--c-line); }
  .gnav__link {
    padding: 20px 4px;
    font-size: 16px;
  }
  .gnav__link::after { display: none; }
  .gnav__toggle { width: 100%; justify-content: space-between; }

  .subnav {
    position: static;
    transform: none;
    min-width: 0;
    padding: 0 0 14px 14px;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    display: none;
  }
  .gnav__item--has-child.is-open .subnav { display: block; }
  .gnav__item--has-child.is-open .caret { transform: rotate(180deg); }
  .subnav__link { padding: 14px 12px; background: var(--c-bg-2); }
  .subnav__link + .subnav__link { margin-top: 8px; }

  .gnav__drawer-cta {
    display: grid;
    gap: 12px;
    margin-top: 30px;
  }
  .gnav__drawer-tel {
    display: block;
    padding: 18px;
    border: 1px solid var(--c-line);
    border-radius: var(--radius);
    text-align: center;
  }
  .gnav__drawer-tel .num {
    font-family: var(--font-en);
    font-size: 24px;
    font-weight: 700;
    color: var(--c-ink);
  }
  .gnav__drawer-tel .note { display: block; font-size: 12px; color: var(--c-ink-3); }

  body.is-nav-open { overflow: hidden; }

  /* レイアウト */
  .hero__inner {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-block: 56px;
    gap: 40px;
  }
  .hero__copy { max-width: none; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr; gap: 40px; }
  .footer__nav { grid-template-columns: repeat(2, 1fr); }
}

/* --- スマートフォン --- */
@media (max-width: 767px) {
  body { font-size: 15px; line-height: 1.9; }

  .sp-br { display: none; }

  .logo__img { height: 40px; }
  .footer__logo-img { height: 48px; }

  .section { padding: 64px 0; }
  .section--tight { padding: 48px 0; }
  .sec-head { margin-bottom: 36px; }

  .grid { gap: 20px; }
  .grid--2,
  .grid--3 { grid-template-columns: 1fr; }
  .hero__bar-list { grid-template-columns: repeat(2, 1fr); }
  .hero__bar-item { padding: 20px 12px; }
  .hero__bar-item:nth-child(2n) { border-left: 1px solid var(--c-line); }
  .hero__bar-item:nth-child(n + 3) { border-top: 1px solid var(--c-line); }
  .hero__bar-item:nth-child(3) { border-left: 0; }
  .hero__bar-num { font-size: 25px; }

  .btn { width: 100%; }
  .btn-row { flex-direction: column; }

  .feature { padding: 32px 24px; }
  .biz-card__body { padding: 26px 22px 24px; }

  .flow__item { padding: 26px 22px 26px 22px; }
  .flow__item::before { position: static; margin-bottom: 14px; }

  .group-card { flex-direction: column; gap: 18px; padding: 26px 22px; }
  .group-card__logo { width: 74px; height: 74px; font-size: 17px; }

  .news-item__link {
    grid-template-columns: auto 1fr;
    gap: 8px 14px;
    padding: 20px 4px;
  }
  .news-item__ttl { grid-column: 1 / -1; }
  .news-item__link > .ico { display: none; }

  .table-def th,
  .table-def td { display: block; width: 100%; }
  .table-def th { border-bottom: 0; padding: 14px 18px; }
  .table-def td { padding: 16px 18px 22px; }
  .table-def tr:first-child td { border-top: 0; }

  .job__dl { grid-template-columns: 1fr; gap: 4px; }
  .job__dl dd { margin-bottom: 14px; }

  .area-box { padding: 26px 22px; }
  .line-box { grid-template-columns: 1fr; gap: 32px; padding: 32px 24px; }
  .contact-info { grid-template-columns: 1fr; }

  .finder { padding: 22px 18px; }
  .finder__chips { grid-template-columns: 1fr; gap: 10px; }
  .finder__chip { padding: 15px 36px 15px 18px; font-size: 14px; }
  .finder-card { padding: 20px 18px; }
  .cta { padding: 64px 0; }
  .cta__actions { flex-direction: column; }

  .page-head { padding: 48px 0 44px; }
  .prose h2 { margin: 40px 0 16px; font-size: 19px; }

  .to-top { right: 14px; bottom: 14px; width: 46px; height: 46px; }
  .line-float { right: 14px; bottom: 72px; padding: 12px 18px; font-size: 13px; }
  .cta__line { width: 100%; padding: 16px 20px; }
  .footer { padding-top: 56px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* ==========================================================================
   13. 印刷
   ========================================================================== */
@media print {
  .header, .footer, .cta, .to-top, .hamburger { display: none !important; }
  body { color: #000; }
  .reveal { opacity: 1; transform: none; }
}
