/* ===========================================
   CSS カスタムプロパティ
   =========================================== */
:root {
  --color-navy:      #1f4e5f;
  --color-navy-10:   rgba(31, 78, 95, 0.10);
  --color-gold:      #d98a5f;
  --color-gray-dark: #8A8A8A;
  --color-gray-mid:  #727171;
  --color-text:      #041023;
  --color-white:     #FFFFFF;
  --color-bg-light:  #eef5f4;

  --font-gothic: 'Zen Kaku Gothic New', sans-serif;
  --font-mincho: 'Zen Old Mincho', serif;
  --font-en:     'DM Serif Display', serif;

  --header-h:    90px;
  --header-h-sp: 60px;
  --ease:        0.3s ease;
}

/* ===========================================
   リセット & ベース
   =========================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: var(--font-gothic);
  color: var(--color-text);
  background: #fff;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ===========================================
   共通
   =========================================== */
.container {
  width: min(1160px, 90%);
  margin-inline: auto;
}

.fade-in-up {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: var(--delay, 0s);
}
/* JS読み込み後にアニメーション有効化 */
.js-ready .fade-in-up {
  opacity: 0;
  transform: translateY(28px);
}
.js-ready .fade-in-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.section-header { text-align: center; margin-bottom: 52px; }
.section-label {
  font-family: var(--font-en);
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  color: var(--color-gold);
  margin-bottom: 10px;
}
.section-title {
  font-family: var(--font-mincho);
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.5;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 52px;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  border-radius: 2px;
  transition: background var(--ease), color var(--ease), transform var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn--navy  { background: var(--color-navy); color: #fff; }
.btn--navy:hover { background: #17394a; }
.btn--gold  { background: var(--color-gold); color: #fff; }
.btn--gold:hover { background: #bf6f45; }
.btn--outline-white { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.6); }
.btn--outline-white:hover { background: #fff; color: var(--color-navy); }
.btn--works-more { background: #d98a5f; color: #fff; border: none; }
.btn--works-more:hover { background: #bf6f45; color: #fff; }

/* ===========================================
   HEADER
   =========================================== */
.site-header {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: var(--header-h);
  z-index: 1000;
  background: #fff;
  box-shadow: 0 2px 12px rgba(4,16,35,.08);
  transition: background var(--ease), box-shadow var(--ease);
}
.site-header.is-hero-visible {
  background: rgba(255,255,255,.10);
  box-shadow: none;
}
/* ヒーロー表示中：メニュー文字を白に */
.site-header.is-hero-visible .nav-link { color: #fff; }
.site-header.is-hero-visible .nav-item:hover .nav-link,
.site-header.is-hero-visible .nav-item:focus-within .nav-link { color: rgba(255,255,255,.75); }
.site-header.is-hero-visible .nav-link--contact { color: #fff; }
.site-header.is-hero-visible .header-logo__tagline { color: #fff; }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 100%; padding-inline: 40px;
}
.header-logo__link {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  text-decoration: none;
  gap: 6px;
}
.header-logo__tagline {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-navy);
  white-space: nowrap;
  line-height: 1;
}
.header-logo__img {
  /* タグライン幅の50% */
  width: 50%;
  max-height: 44px;
  height: auto;
  display: block;
  object-fit: contain;
}

/* PC ナビ */
.header-nav { display: flex; align-items: center; height: 100%; }
.nav-list { display: flex; align-items: center; height: 100%; }
.nav-item { position: relative; height: 100%; display: flex; align-items: center; }
.nav-link {
  display: flex; align-items: center; height: 100%;
  padding-inline: 16px;
  font-family: var(--font-mincho);
  font-size: 0.8125rem; font-weight: 500;
  color: var(--color-text);
  letter-spacing: 0.04em; white-space: nowrap;
  transition: color var(--ease);
}
.nav-link::after {
  content: '';
  position: absolute; bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 0; height: 2px;
  background: var(--color-gold);
  transition: width var(--ease);
}
.nav-item:hover .nav-link,
.nav-item:focus-within .nav-link { color: var(--color-navy); }
.nav-item:hover .nav-link::after,
.nav-item:focus-within .nav-link::after { width: 100%; }

.nav-item--contact { margin-left: 16px; }
.nav-link--contact {
  height: auto; padding: 10px 22px;
  background: var(--color-navy); color: #fff;
  border-radius: 2px;
  transition: background var(--ease);
}
.nav-link--contact::after { display: none; }
.nav-link--contact:hover { background: var(--color-gold); color: #fff; }

/* サブメニュー */
.submenu {
  position: absolute; top: var(--header-h); left: 0;
  width: 100%;          /* nav-itemの幅に合わせる */
  min-width: 0;
  background: rgba(217,138,95,.82);
  backdrop-filter: blur(4px);
  border-radius: 0 0 14px 14px;
  box-shadow: 0 8px 28px rgba(4,16,35,.18);
  border-top: none;
  opacity: 0; visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .25s, visibility .25s, transform .25s;
  z-index: 10;
  padding: 4px 0 8px;
}
.nav-item:hover .submenu,
.nav-item:focus-within .submenu { opacity: 1; visibility: visible; transform: translateY(0); }

/* サブメニューのリンク */
.submenu li a {
  display: block;
  padding: 7px 12px;
  font-family: var(--font-mincho);
  font-size: .8125rem;
  font-weight: 500;
  color: #fff;
  text-align: center;
  letter-spacing: .05em;
  white-space: nowrap;
  border-bottom: none;
  transition: background var(--ease);
}
.submenu li a:hover { background: rgba(255,255,255,.18); color: #fff; padding-left: 20px; }

/* ハンバーガー */
.hamburger { display: none; flex-direction: column; justify-content: center; align-items: center; gap: 5px; width: 40px; height: 40px; }
.hamburger-line { display: block; width: 24px; height: 2px; background: var(--color-navy); border-radius: 2px; transition: transform .3s, opacity .3s; }
.hamburger.is-open .hamburger-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open .hamburger-line:nth-child(2) { opacity: 0; }
.hamburger.is-open .hamburger-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ドロワー（SP） */
.drawer-nav {
  position: fixed; top: var(--header-h-sp); right: 0;
  width: 280px; height: calc(100dvh - var(--header-h-sp));
  background: #fff; box-shadow: -4px 0 20px rgba(4,16,35,.12);
  transform: translateX(100%); transition: transform .35s ease;
  overflow-y: auto; z-index: 999;
}
.drawer-nav.is-open { transform: translateX(0); }
.drawer-list { padding: 12px 0; }
.drawer-item { border-bottom: 1px solid rgba(4,16,35,.06); }
.drawer-item > a, .drawer-parent {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; padding: 16px 24px;
  font-size: .9375rem; font-weight: 500; color: var(--color-text); text-align: left;
}
.drawer-arrow { font-size: 1rem; color: var(--color-gold); transition: transform .3s; }
.drawer-parent[aria-expanded="true"] .drawer-arrow { transform: rotate(45deg); }
.drawer-submenu { display: none; background: var(--color-navy-10); }
.drawer-submenu.is-open { display: block; }
.drawer-submenu li a { display: block; padding: 11px 24px 11px 36px; font-size: .8125rem; border-bottom: 1px solid rgba(4,16,35,.04); }
.drawer-contact-btn {
  display: block; margin: 16px 24px; padding: 14px;
  text-align: center; background: var(--color-navy); color: #fff !important;
  border-radius: 2px; font-weight: 700;
}

/* 右固定 CTA ==================== */
.side-cta {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%) translateX(100%);
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform .5s cubic-bezier(.25,.46,.45,.94);
}
.side-cta.is-visible { transform: translateY(-50%) translateX(0); }

/* 外枠ボタン */
.side-cta__btn {
  display: block;
  width: 117px;           /* 130 × 0.9 */
  padding: 4px;           /* 5 × 0.9 */
  border-radius: 12px 0 0 12px;
  text-decoration: none;
  transition: opacity var(--ease);
}
.side-cta__btn:hover { opacity: .88; }
.side-cta__btn--navy { background: var(--color-navy); }
.side-cta__btn--gold  { background: var(--color-gold);  }

/* 白罫線の内枠 */
.side-cta__inner {
  border: 1px solid rgba(255,255,255,.85);
  border-radius: 9px 0 0 9px;
  padding: 10px 9px 10px 10px;  /* 12×0.9 / 10×0.9 / 12×0.9 / 12×0.9 */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;               /* 10 × 0.9 */
}

/* 「＼ 無料相談 ／」横書き */
.side-cta__label {
  font-size: .72rem;      /* 0.8 × 0.9 */
  letter-spacing: .1em;
  color: rgba(255,255,255,.9);
  text-align: center;
  white-space: nowrap;
  flex-shrink: 0;
}

/* 縦書き本体（<br>で3列） */
.side-cta__body {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  text-align: center;
  color: #fff;
  line-height: 1.6;
  display: block;
}

/* 列ごとのフォントサイズ */
.side-cta__c1 { font-size: .73rem;   font-weight: 600; letter-spacing: .05em; }  /* 0.8125 × 0.9 */
.side-cta__c2 { font-size: 1.125rem; font-weight: 700; letter-spacing: .04em; }  /* 1.25 × 0.9 */
.side-cta__c3 { font-size: .72rem;   font-weight: 400; letter-spacing: .08em; color: rgba(255,255,255,.85); }

/* 丸囲み：白背景・各ボタンのカラー文字 */
.side-cta__circle {
  display: inline-block;
  background: #fff;
  border-radius: 2em;
  padding: 2px 3px;
  line-height: 1.4;
}
.side-cta__btn--navy .side-cta__circle { color: var(--color-navy); }
.side-cta__btn--gold  .side-cta__circle { color: var(--color-gold);  }

/* ===========================================
   HERO
   =========================================== */
.hero {
  position: relative; width: 100%;
  height: 100svh; min-height: 600px; overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; }
.hero__bg picture { display: block; width: 100%; height: 100%; }
.hero__bg-img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero__overlay { position: absolute; inset: 0; background: rgba(31,78,95,.42); }

.hero__content {
  position: relative; z-index: 1; height: 100%;
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--header-h) + 48px) 80px 80px;
  max-width: 820px;
}

.hero__catch-text {
  font-family: var(--font-mincho);
  font-size: clamp(2.125rem, 4vw, 3.5rem);
  font-weight: 700; color: #fff;
  line-height: 1.7; letter-spacing: .05em;
}

.hero__highlight {
  display: inline;
  position: relative;
  padding: .06em .3em;
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity 1.1s ease, transform 1.1s ease;
  transition-delay: var(--hd, 0s);
  /* グラデーション文字 */
  background: linear-gradient(135deg, #123a47 0%, #3fb0a6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero__highlight::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(255,255,255,.82);
  z-index: -1;
}
.hero__highlight.is-animated { opacity: 1; transform: translateX(0); }
.hero__highlight--1 { --hd: .6s; }
.hero__highlight--2 { --hd: 1.4s; }
.hero__highlight--3 { --hd: 2.2s; }

/* 「に、」「という」「を。」：4px小さく */
.hero__plain {
  font-size: calc(1em - 4px);
  color: #fff;
  -webkit-text-fill-color: #fff;
}

.hero__sub { margin-top: 28px; --delay: 1.3s; }
.hero__sub-text {
  font-family: var(--font-mincho);
  font-size: 18px; font-weight: 700;
  color: rgba(255,255,255,.88); line-height: 1.9;
}
/* 「30」のみ40px */
.hero__sub-num {
  font-family: var(--font-mincho);
  font-size: 40px; font-weight: 700;
  line-height: 1;
}

/* ヒーロー内 CTAボタン（円形・右下） */
.hero__circles {
  position: absolute;
  bottom: 60px;
  right: 80px;
  display: flex;
  gap: 20px;
  z-index: 2;
}
.hero__circle {
  width: 170px; height: 170px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  padding: 20px 16px;
  gap: 10px;
  transition: opacity var(--ease), transform var(--ease);
}
.hero__circle:hover { opacity: .88; transform: scale(1.04); }
.hero__circle--navy { background: rgba(31,78,95,.82); }
.hero__circle--gold  { background: rgba(217,138,95,.82); }
.hero__circle-sub {
  font-size: 16px;
  color: rgba(255,255,255,.92);
  line-height: 1.7;
  letter-spacing: .04em;
}
.hero__circle-sub strong {
  font-family: var(--font-mincho);
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
}
.hero__circle-btn {
  font-family: var(--font-mincho);
  font-size: 1.125rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0;
  border-top: 1px solid rgba(255,255,255,.45);
  padding-top: 8px;
  width: 100%;
  text-align: center;
}
.hero__circle-arrow {
  width: 20px;
  height: auto;
  margin-top: 6px;
}

/* CONTACT CTA内で使う場合：hero内の絶対配置を解除 */
.hero__circles--cta {
  position: static;
  justify-content: center;
}

.hero__scroll {
  /* heroセクション外：ネガティブマージンで上に引き上げ、左右はmargin autoでセンター */
  width: fit-content;
  margin: -70px auto 0;     /* 上にずらしてhero下端へ、左右auto=センター */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 5;
}
.hero__scroll-text {
  font-family: var(--font-en); font-size: 1rem; letter-spacing: .22em;
  color: #fff; writing-mode: vertical-rl;
  margin-top: -30px;
}
.hero__scroll-line {
  display: block; width: 1px; height: 120px;
  background: linear-gradient(to bottom, var(--color-gold), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; }
  49%  { transform: scaleY(1); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ===========================================
   WORRIES
   =========================================== */
.worries {
  padding: 96px 0;
  background: #fff;
}

/* タイトルエリア：PROBLEM ウォーターマーク */
.worries__header {
  text-align: center;
  margin-bottom: 60px;
}
/* inline-flex で日本語タイトルの幅を基準に PROBLEM を同幅に揃える */
.worries__title-block {
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;   /* 上下センター */
}
.worries__watermark {
  font-family: 'DM Serif Display', serif;   /* GREETINGと同じ書体 */
  font-size: clamp(60px, 8vw, 100px);       /* GREETINGと同じサイズ */
  font-weight: 400;
  letter-spacing: .02em;
  color: var(--color-gold);   /* 色はそのまま */
  opacity: 0.25;
  line-height: 1;
  display: block;
}
.worries__title {
  font-family: var(--font-mincho);
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  font-weight: 700;
  color: var(--color-text);
  position: absolute;         /* PROBLEMに重ねて上下センター */
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  z-index: 1;
}

/* グリッド */
.worries__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: start;
}

/* カード（枠なし） */
.worries__item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* 吹き出し */
.worries__bubble {
  background: #eaf2f1;
  border-radius: 12px;
  padding: 20px 14px;
  width: 100%;
  position: relative;
  margin-bottom: 20px;
  font-size: 16px;
}
.worries__bubble::after {
  content: '';
  position: absolute;
  bottom: -14px;
  left: 50%;
  transform: translateX(-50%);
  border-style: solid;
  border-width: 14px 10px 0 10px;
  border-color: #eaf2f1 transparent transparent transparent;
}

/* 箇条書き */
.worries__list {
  list-style: none;
  text-align: left;
}
.worries__list li {
  font-size: 16px;
  line-height: 1.75;
  color: var(--color-text);
  padding-left: 1em;
  text-indent: -1em;
}
.worries__list li::before {
  content: '・';
  color: var(--color-text);
}

/* イラスト */
.worries__illust {
  width: 120px;
  height: 140px;
  flex-shrink: 0;
}
.worries__illust img {
  width: 100%; height: 100%; object-fit: contain;
}

/* 名前 */
.worries__name {
  font-family: var(--font-mincho);
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text);
  text-align: center;
  line-height: 1.6;
  margin-top: 10px;
}

/* ===========================================
   STRENGTHS
   =========================================== */
.strengths {
  padding: 96px 0;
  background:
    linear-gradient(rgba(255,255,255,.30), rgba(255,255,255,.30)),
    url('../images/nayami-bg.svg') center/cover no-repeat;
}
.strengths__header {
  text-align: center; margin-bottom: 52px;
}
/* 「そのお悩み」小テキスト */
.strengths__sub-lead {
  font-size: 1.2rem;
  font-weight: 600;
  color: rgba(4,16,35,.65);
  margin-bottom: 6px;
}
/* メインリード */
.strengths__lead {
  font-size: clamp(.9375rem, 1.4vw, 1.0625rem);
  color: rgba(4,16,35,.75);
  line-height: 1.7;
}
.strengths__lead-text {
  font-size: 1.2rem;
  font-weight: 600;
}
/* 「現場を熟知したプロフェッショナル」な私たち — Zen Old Mincho bold, 1.5倍 */
.strengths__lead-em {
  font-family: var(--font-mincho);
  font-size: 1.5em;
  font-weight: 700;
  color: #d98a5f;
}

/* グリッド */
.strengths__grid {
  display: flex; align-items: center;
  justify-content: center; gap: 10px;
}

/* 円 */
.strengths__circle {
  width: 300px; height: 300px;
  border-radius: 50%;
  background: var(--color-navy);
  border: 3px solid rgba(217,138,95,.45);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; padding: 30px 20px;
  position: relative;
  transition: transform var(--ease), box-shadow var(--ease);
}
/* 内側の白縁リング */
.strengths__circle::before {
  content: '';
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.55);
  pointer-events: none;
}
.strengths__circle:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 36px rgba(31,78,95,.28);
}

/* タイトル（白文字） */
.strengths__circle-title {
  font-family: var(--font-mincho);
  font-size: 1.2rem; font-weight: 700;
  color: #fff;
  margin-bottom: 0;
  position: relative; z-index: 1;
}

/* タイトル下の白ライン */
.strengths__circle-divider {
  width: 80%; height: 1px;
  background: rgba(255,255,255,.7);
  margin: 10px 0;
  flex-shrink: 0;
  position: relative; z-index: 1;
}

/* ボディテキスト */
.strengths__circle-body {
  font-size: 1.1rem; line-height: 1.85;
  color: rgba(255,255,255,.88);
  position: relative; z-index: 1;
}
.strengths__circle-body--kyushu {
  font-size: 1.1rem;
  white-space: nowrap;
}

/* 実績数：2列レイアウト */
.strengths__circle-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;  /* ラベル行・数値行 */
  gap: 4px 12px;
  align-items: end;               /* 数値行を下揃えに */
  position: relative; z-index: 1;
  width: 100%;
}
/* ラベル：1行目 — 上下センターで揃える */
.strengths__stat-label {
  font-size: 1rem;
  line-height: 1.5;
  color: rgba(255,255,255,.82);
  text-align: center;
  align-self: end;   /* ラベル行内で下揃え → 数値が同じ高さに */
}
/* 数値：2行目 — 同じグリッド行に並ぶので自動的に同じ高さ */
.strengths__stat-num {
  font-family: var(--font-en);
  font-size: .75rem;
  color: rgba(255,255,255,.9);
  white-space: nowrap;
  text-align: center;
  line-height: 0.8;
}
.strengths__stat-num span {
  font-size: 1.75rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  display: block;
}

.strengths__connector {
  font-size: 2rem; color: var(--color-navy);
  font-weight: 700; padding: 0 4px;
}

/* ===========================================
   WHAT WE CAN DO（サービス）
   =========================================== */
.services { background: #fff; }

/* 上部：テキスト ＋ ダイアグラム */
.services__top {
  padding: 96px 0 64px;
  position: relative;
}
/* 超大きなEN装飾テキスト（背景） */
/* WHAT WE CAN DO ウォーターマーク（左揃え・greeting と同構造） */
.services__watermark-block {
  position: relative;
  line-height: 1;
  pointer-events: none;
  text-align: left;
  margin-bottom: 16px;
}
.services__watermark-en {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(60px, 8vw, 100px);
  font-weight: 400;
  color: #1f4e5f;
  opacity: 0.15;
  line-height: 1;
  letter-spacing: .02em;
  display: block;
  white-space: nowrap;
}
.services__watermark-ja {
  font-family: var(--font-mincho);
  font-size: 15px;
  font-weight: 700;
  color: #041023;
  position: absolute;
  bottom: 16px;
  left: 2px;
  white-space: nowrap;
  letter-spacing: .12em;
  pointer-events: auto;
}
.services__top-inner {
  display: grid;
  grid-template-columns: 0.6fr 0.4fr;
  gap: 60px;
  align-items: center;
  position: relative; z-index: 1;
}
/* .services__en は services__watermark-ja に統合済み */
.services__title {
  font-family: var(--font-mincho);
  font-size: clamp(1.125rem, 1.8vw, 1.4375rem); font-weight: 700;
  line-height: 1.75; margin-bottom: 20px; color: var(--color-text);
}
.services__title span { color: #041023; }
.services__desc {
  font-size: 16px; line-height: 2;
  color: rgba(4,16,35,.65);
}

/* 円形ダイアグラム */
.services__diagram {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.services__diagram-inner {
  position: relative;
  width: 330px; height: 300px;
}

/* スクロール時に一回転 */
@keyframes diag-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.services__diagram-inner.spin-once {
  animation: diag-spin 1.4s cubic-bezier(.45,.05,.55,.95) forwards;
}

/* 3つの外側円：タッチしない配置 */
.services__diag-circle {
  position: absolute;
  width: 140px; height: 140px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255,255,255,.55), rgba(255,255,255,.18));
  border: 1px solid rgba(255,255,255,.6);
  box-shadow:
    inset 0 1px 1px rgba(255,255,255,.8),
    inset 0 -6px 12px rgba(31,78,95,.08),
    0 8px 20px rgba(31,78,95,.18);
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  font-family: var(--font-mincho);
  font-size: .8125rem; font-weight: 700;
  color: var(--color-navy); line-height: 1.5;
  z-index: 3;
}
/* 配置（重心=165,175に対して160pxの正三角形） */
.services__diag-circle--top {
  top: 12px; left: 50%;
  transform: translateX(-50%);
}
.services__diag-circle--bl  { top: 150px; left: 18px; }
.services__diag-circle--br  { top: 150px; right: 18px; }

/* 中央の大きいリング：3円に均等に被せる */
/* 円内テキストラッパー：縦2行 */
.diag__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
}
/* 円内テキスト：上段（小・#041023） */
.diag__sub {
  font-size: .8125rem;
  font-weight: 700;
  color: #041023;
}
/* 円内テキスト：下段（大・navy） */
.diag__main {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-navy);
}

.services__diag-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -46%);
  width: 140px; height: 140px;
  border-radius: 50%;
  background: rgba(31,78,95,.3);
  border: none;
  z-index: 2;
}

/* サービスカード3点 */
.services__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  padding-bottom: 16px;
}
.services__card {
  border: 1px solid rgba(4,16,35,.08);
  border-radius: 4px;
  overflow: visible;   /* 数字がカード上にはみ出せるよう */
  position: relative;
  margin-top: 30px;    /* 数字分の上スペース確保 */
  transition: transform var(--ease), box-shadow var(--ease);
}
.services__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(4,16,35,.11);
}
.services__card-img { overflow: hidden; height: 200px; position: relative; }
.services__card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
/* 画像左上にはみ出す番号 */
.services__card-img-num {
  position: absolute;
  top: -40px;
  left: -40px;
  font-family: 'DM Serif Display', serif;
  font-size: 100px;
  font-weight: 400;
  color: rgb(197,207,224);
  opacity: 0.7;
  line-height: 1;
  pointer-events: none;
  z-index: 2;
  user-select: none;
}
.services__card:hover .services__card-img img { transform: scale(1.06); }
.services__card-body { padding: 22px; }
.services__card-title {
  font-family: var(--font-mincho);
  font-size: 24px; font-weight: 700;
  color: #041023; margin-bottom: 12px;
}
.services__card-text { font-size: 16px; line-height: 1.9; color: rgba(4,16,35,.7); text-align: justify; text-align-last: left; }
.services__cta { text-align: center; padding: 44px 0 96px; }

/* ===========================================
   実績（TOP用）
   =========================================== */
.works-top {
  padding: 96px 0;
  background: linear-gradient(to bottom, var(--color-gray-dark), var(--color-gray-mid));
  color: #fff;
}
.works-top__header { text-align: center; margin-bottom: 44px; }

/* タイトルブロック：Our achievements + 実績紹介 */
.works-top__title-block {
  position: relative;
  text-align: center;
  margin-bottom: 32px;
}
.works-top__en {
  font-family: 'DM Serif Display', serif;
  font-size: 100px;
  font-weight: 400;
  color: #fff;
  line-height: 1;
  letter-spacing: .02em;
  opacity: 0.05;
}
.works-top__ja {
  font-family: var(--font-mincho);
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  position: absolute;
  /* Our achievementsのベースラインに合わせる */
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  letter-spacing: .12em;
}

.works-top__lead {
  font-family: var(--font-mincho);
  font-size: 20px; font-weight: 700; margin-bottom: 8px;
}
.works-top__lead-num {
  font-size: 1.8em;
}
.works-top__sub { font-size: 16px; color: rgba(255,255,255,.85); margin-bottom: 40px; }

/* 円枠2つ */
.works-top__circles {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 8px;
}
.works-top__circle {
  width: 300px; height: 300px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.55);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 20px 16px;
}
.works-top__circle-title {
  font-family: var(--font-mincho);
  font-size: 24px; font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,.45);
  width: 100%;
  text-align: center;
}
.works-top__circle-body {
  font-size: 16px;
  color: rgba(255,255,255,.88);
  line-height: 1.85;
}

/* SP：実績数＋対応エリアを1つの円にまとめた版 */
.works-top__circle--merged {
  width: 320px;
  height: 320px;
  padding: 28px 24px;
}
.works-top__circle--merged .works-top__circle-title {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}
.works-top__circle--merged .works-top__circle-body {
  line-height: 1.5;
}
.works-top__circle-divider {
  width: 100%;
  height: 1px;
  background: rgba(255,255,255,.45);
  margin: 10px 0;
}
.works-top__circle--merged .works-top__circle-body-num {
  font-size: 20px;
  font-weight: 700;
}

/* 自動スクロールスライダー */
.works-top__slider-wrap {
  overflow: hidden;
  width: 100%;
  margin-bottom: 44px;
}
.works-top__slider {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: works-scroll 32s linear infinite;
}
.works-top__slider:hover { animation-play-state: paused; }

@keyframes works-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.works-top__item {
  width: 280px;
  flex-shrink: 0;
}
.works-top__item {
  background: #fff; border-radius: 4px; overflow: hidden;
  color: var(--color-text);
  transition: transform var(--ease), box-shadow var(--ease);
  flex-shrink: 0;
}
.works-top__item:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(4,16,35,.22);
}
.works-top__item[data-hidden="true"] { display: none; }
.works-top__item-img { position: relative; overflow: hidden; height: 220px; padding: 10px 10px 0; box-sizing: border-box; background: #fff; }
.works-top__item-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.works-top__item:hover .works-top__item-img img { transform: scale(1.07); }
.works-top__item-cat {
  position: absolute; top: 10px; left: 10px;
  background: var(--color-gold); color: #fff;
  font-size: .6875rem; padding: 3px 10px; border-radius: 2px;
}
.works-top__item-body { padding: 16px; }
.works-top__item-date { font-size: .75rem; color: rgba(4,16,35,.5); margin-bottom: 6px; }
.works-top__item-title {
  font-family: var(--font-mincho);
  font-size: .9375rem; font-weight: 700; line-height: 1.5; margin-bottom: 8px;
}
.works-top__item-text { font-size: .75rem; color: rgba(4,16,35,.65); line-height: 1.7; }
.works-top__cta { text-align: center; }

/* ===========================================
   GREETING
   =========================================== */
.greeting { padding: 200px 0 96px; background: #fff; }
/* 上部200px：GREETINGウォーターマーク（約100px）+ 20px gap + 余裕分 */
.greeting__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 72px;
  row-gap: 0px;
  align-items: start;
}

/* 画像ラッパー：画像TOPをタイトルTOPに揃える */
.greeting__img-wrap {
  position: relative;
  padding-top: 0;
}
.greeting__img {
  display: block;
  width: 100%;
  border-radius: 4px;
  object-fit: cover;
}

/* GREETINGウォーターマーク：画像の20px上に浮かせる */
.greeting__watermark-block {
  position: absolute;
  bottom: calc(100% + 20px);   /* 画像TOPから20px上 */
  left: 0;
  line-height: 1;
  pointer-events: none;
  text-align: left;
}
.greeting__watermark-en {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(60px, 8vw, 100px);
  font-weight: 400;
  color: #1f4e5f;
  opacity: 0.15;
  line-height: 1;
  letter-spacing: .02em;
  display: block;
}
.greeting__watermark-ja {
  font-family: var(--font-mincho);
  font-size: 15px;
  font-weight: 700;
  color: #041023;
  position: absolute;
  bottom: 16px;        /* GREETINGのベースライン付近 */
  left: 2px;
  white-space: nowrap;
  letter-spacing: .12em;
}

.greeting__title {
  font-family: var(--font-mincho);
  font-size: clamp(1.25rem, 2vw, 1.625rem); font-weight: 700;
  line-height: 1.75; margin-bottom: 28px;
}
.greeting__text p {
  font-size: .875rem; line-height: 1.7;
  color: rgba(4,16,35,.75); margin-bottom: 10px;
}

/* 実績・経歴ボックス */
.greeting__career {
  border: 1px solid rgba(31,78,95,.2);
  border-radius: 8px;
  padding: 20px 22px;
  margin: 24px 0 32px;
  background: rgba(31,78,95,.03);
  border-left: 4px solid var(--color-navy);
}
.greeting__career-title {
  font-family: var(--font-mincho);
  font-size: .9375rem; font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 12px;
}
.greeting__career-body {
  font-size: .8125rem; line-height: 1.7;
  color: rgba(4,16,35,.75);
}
.greeting__cta {
  grid-column: 1 / -1;   /* 2列グリッドの両列にまたがる */
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

/* ===========================================
   NEWS（TOP用）
   =========================================== */
.news-top { padding: 96px 0; background: #fff; }

/* NEWS ウォーターマーク（greeting と同仕様） */
.news-top__title-block {
  position: relative;
  text-align: left;
  margin-bottom: 40px;
  line-height: 1;
  pointer-events: none;
}
.news-top__watermark-en {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(60px, 8vw, 100px);
  font-weight: 400;
  color: #1f4e5f;
  opacity: 0.15;
  line-height: 1;
  letter-spacing: .02em;
  display: block;
}
.news-top__watermark-ja {
  font-family: var(--font-mincho);
  font-size: 15px;
  font-weight: 700;
  color: #041023;
  position: absolute;
  bottom: 16px;
  left: 2px;
  white-space: nowrap;
  letter-spacing: .12em;
  pointer-events: auto;
}

.news-top__list { margin-bottom: 40px; }
.news-top__item { border-bottom: 1px solid rgba(4,16,35,.08); }
.news-top__item:first-child { border-top: 1px solid rgba(4,16,35,.08); }
a.news-top__link, span.news-top__link {
  display: flex; align-items: center; gap: 20px;
  padding: 6px 8px 6px 0;
  transition: background var(--ease), padding-left var(--ease);
  text-decoration: none;
}
a.news-top__link:hover { background: rgba(31,78,95,.03); padding-left: 12px; }
.news-top__date { font-size: .875rem; color: rgba(4,16,35,.5); white-space: nowrap; min-width: 88px; }
.news-top__cat {
  font-size: .6875rem;
  background: #d98a5f;
  color: #fff;
  padding: 3px 12px;
  border-radius: 50px;   /* 角の半径50 */
  white-space: nowrap;
}
.news-top__title { flex: 1; font-size: .9375rem; line-height: 1.6; }
.news-top__arrow { font-size: 1.25rem; color: var(--color-gold); flex-shrink: 0; }
.news-top__cta { text-align: center; }

/* ===========================================
   CONTACT CTA
   =========================================== */
.contact-cta {
  position: relative;
  padding: 96px 0;
  text-align: center;
  /* いちばん下：夕方の住宅街の写真 */
  background-image: url('../images/cta-bg.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
/* 写真の上：紺色の背景（グラデーション＋暗いオーバーレイ）。不透明度80%で、写真がうっすら透ける */
.contact-cta::before {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(rgba(0,0,0,.35), rgba(0,0,0,.35)),
    url('../images/contact-bg.svg') center center / cover no-repeat;
  opacity: .8;
  z-index: 0;
}

.contact-cta__content { position: relative; z-index: 1; }

.contact-cta__en {
  font-family: var(--font-en);
  font-size: clamp(3.5rem, 8vw, 7rem);
  color: rgba(255,255,255,.06); letter-spacing: .1em;
  line-height: 1; margin-bottom: -12px;
}
.contact-cta__title {
  font-family: var(--font-mincho);
  font-size: 24px; font-weight: 700;
  color: #fff; line-height: 1.8; margin-bottom: 16px;
  white-space: nowrap;   /* PC版は一行 */
}
.contact-cta__desc {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: 16px; font-weight: 400;
  color: #fff; line-height: 1.9;
  margin-bottom: 52px;
}

/* 円形ボタン2つ */
.contact-cta__btns { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; }
.contact-cta__btn {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  width: 220px; height: 220px;
  border-radius: 50%;
  text-decoration: none;
  gap: 4px;
  transition: transform var(--ease), opacity var(--ease);
}
.contact-cta__btn:hover { transform: scale(1.05); opacity: .9; }
.contact-cta__btn--navy { background: rgba(31,78,95,.5); }
.contact-cta__btn--gold  { background: rgba(217,138,95,.5); }

.contact-cta__btn-top {
  font-size: .6875rem; color: rgba(255,255,255,.85);
  letter-spacing: .08em;
}
.contact-cta__btn-label {
  font-family: var(--font-mincho);
  font-size: 1.25rem; font-weight: 700;
  color: #fff;
}
.contact-cta__btn-sub {
  font-size: .75rem; color: rgba(255,255,255,.85);
  letter-spacing: .04em;
}
.contact-cta__btn-chevron {
  width: 20px; height: auto;
  margin-top: 6px;
  display: block;
}

/* ===========================================
   SERVICE PAGE
   =========================================== */

/* --- Hero --- */
.sv-hero { padding-top: var(--header-h); }

/* 白背景タイトルエリア */
.sv-hero__title-area {
  background: #fff;
  padding: 32px 0 16px;
}
.sv-hero__en {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 400;
  color: rgba(31,78,95,.25);
  line-height: 1;
  letter-spacing: .05em;
  display: block;
}
.sv-hero__ja {
  font-family: var(--font-mincho);
  font-size: 15px; font-weight: 700;
  color: #041023;
  letter-spacing: .12em;
  margin-top: 4px;
  display: block;
}

/* フル幅画像 */
.sv-hero__image { width: 100%; line-height: 0; }
.sv-hero__image picture { display: block; width: 100%; }
.sv-hero__image img { width: 100%; height: auto; display: block; }

/* --- Lead --- */
.sv-lead {
  padding: 96px 0;
  background: #fff;
  position: relative;
  overflow: hidden;
}

/* ひし形背景装飾 */
.sv-lead__diamonds { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.sv-lead__diamond {
  position: absolute;
  display: block;
  background: rgba(31,78,95,.06);
  transform: rotate(45deg);
}
.sv-lead__diamond--1 { width: 220px; height: 220px; top: -60px; left: -60px; }
.sv-lead__diamond--2 { width: 180px; height: 180px; bottom: 20px; left: 80px; }
.sv-lead__diamond--3 { width: 140px; height: 140px; top: 40%; right: 38%; }

/* 3列レイアウト：左画像2枚 ／ 中央テキスト ／ 右画像1枚 */
.sv-lead__inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative; z-index: 1;
}
.sv-lead__imgs-left {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.sv-lead__imgs-right {
  display: flex;
  align-items: stretch;
}
.sv-lead__img {
  width: 100%;
  border-radius: 4px;
  overflow: hidden;
  display: block;
  object-fit: cover;
}
.sv-lead__imgs-left .sv-lead__img { height: 220px; }
.sv-lead__img--tall { height: 100%; min-height: 456px; }

/* 右：テキスト */
.sv-lead__body { font-family: var(--font-mincho); font-weight: 700; }
.sv-lead__title {
  font-family: var(--font-mincho);
  font-size: clamp(1.25rem, 2vw, 1.5rem); font-weight: 700;
  line-height: 1.75; margin-bottom: 36px; color: var(--color-text);
  white-space: nowrap;
  text-align: center;
}
.sv-lead__list { margin-bottom: 32px; list-style: none; }
.sv-lead__list li {
  font-family: var(--font-mincho); font-weight: 700;
  font-size: .9375rem; line-height: 1.5;
  padding: 7px 0;
  color: rgba(4,16,35,.8);
  text-align: center;
}
.sv-lead__catch {
  font-family: var(--font-mincho);
  font-size: 1rem; font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 16px;
  text-align: center;
}
.sv-lead__desc {
  font-family: var(--font-mincho); font-weight: 700;
  font-size: .9375rem; line-height: 1.9;
  color: rgba(4,16,35,.75);
  text-align: center;
}
@media (min-width: 769px) {
  .sv-lead__body { font-size: 20px; color: var(--color-text); }
  .sv-lead__title { font-size: 20px; color: var(--color-text); }
  .sv-lead__list li { font-size: 20px; color: var(--color-text); }
  .sv-lead__catch { font-size: 20px; color: var(--color-text); }
  .sv-lead__desc { font-size: 20px; color: var(--color-text); }

  /* PC版：スライド表示は8件のまま（9件目・10件目は非表示） */
  #works-slider > .works-top__item:not([aria-hidden]):nth-child(n+9) { display: none; }
}

/* --- Solutions --- */
.sv-solutions { padding: 96px 0; background: var(--color-bg-light); }

.sv-solutions__header { text-align: center; margin-bottom: 60px; }
.sv-solutions__title {
  font-family: var(--font-mincho);
  font-size: clamp(1.25rem, 2vw, 1.625rem); font-weight: 700;
  color: var(--color-text); line-height: 1.7; margin-bottom: 20px;
}
.sv-solutions__num3 {
  font-family: 'Zen Old Mincho', serif;
  font-size: 2em; font-style: normal;
  color: var(--color-gold); font-weight: 700;
}
.sv-solutions__sub { font-size: .875rem; color: rgba(4,16,35,.65); line-height: 2; }

/* ソリューション01：左テキスト＋右画像 */
.sv-sol01 {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 56px; align-items: center;
  margin-bottom: 56px;
}
.sv-sol01__title {
  font-family: var(--font-mincho);
  font-size: clamp(1.125rem, 1.8vw, 1.375rem); font-weight: 700;
  color: var(--color-text); margin-bottom: 20px; line-height: 1.6;
}
.sv-sol01__desc { font-size: .875rem; line-height: 2; color: rgba(4,16,35,.72); }
.sv-sol01__img { border-radius: 4px; overflow: hidden; }
.sv-sol01__img img { width: 100%; height: 280px; object-fit: cover; display: block; }

/* ソリューションカード：スクロール型（3枚） */
.sv-sol-scroll-wrap {
  position: relative;
}
.sv-sol-cards-scroll {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 24px;
}
.sv-sol-cards-scroll::-webkit-scrollbar { display: none; }

/* カスタムスクロールバー */
.sv-sol-scroll-track {
  position: relative;
  width: 100%;
  height: 4px;
  background: rgba(31,78,95,.12);
  border-radius: 2px;
  margin-top: 16px;
  cursor: pointer;
}
.sv-sol-scroll-thumb {
  position: absolute;
  top: 0; left: 0;
  width: 33.33%;
  height: 100%;
  background: var(--color-navy);
  border-radius: 2px;
  transition: left .15s;
  cursor: grab;
}
.sv-sol-scroll-thumb:active { cursor: grabbing; }

.sv-sol-card {
  flex: 0 0 calc(100% - 0px);
  scroll-snap-align: center;
  background: #fff; border: 1px solid rgba(31,78,95,.12);
  border-radius: 8px; padding: 32px; overflow: hidden;
}
.sv-sol-card__head {
  display: flex; align-items: flex-start; gap: 20px;
  margin-bottom: 32px; padding-bottom: 24px;
  border-bottom: 1px solid rgba(4,16,35,.08);
}
@media (min-width: 769px) {
  .sv-sol-card__head { align-items: center !important; }
}
.sv-sol-card__badge {
  flex-shrink: 0; width: 136px; height: 136px;
  border-radius: 50%; background: rgba(31,78,95,.08);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mincho); font-size: .875rem; font-weight: 700;
  color: var(--color-navy); text-align: center; line-height: 1.4;
  white-space: nowrap;
}
.sv-sol-card__title {
  font-family: var(--font-mincho);
  font-size: 1.0625rem; font-weight: 700;
  color: var(--color-navy); margin-bottom: 8px; line-height: 1.5;
}
.sv-sol-card__sub { font-size: .8125rem; color: rgba(4,16,35,.65); line-height: 1.7; }

.sv-sol-card__features {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 0; border-top: 1px solid rgba(4,16,35,.06);
}
/* 2項目のみ：左右センター配置 */
.sv-sol-card__features--2col {
  grid-template-columns: repeat(2, minmax(0, 340px));
  justify-content: center;
  gap: 0;
}
.sv-sol-card__feature {
  padding: 20px 12px; text-align: center;
  border-right: 1px solid rgba(4,16,35,.06);
}
.sv-sol-card__feature:last-child { border-right: none; }
.sv-sol-card__feat-title {
  font-size: .75rem; font-weight: 700;
  color: var(--color-gold); margin-bottom: 12px; line-height: 1.4;
}
.sv-sol-card__feat-icon {
  font-size: 2rem; margin-bottom: 12px; color: var(--color-gold);
  display: flex; justify-content: center; align-items: center;
}
.sv-sol-card__feat-icon img {
  width: 48px; height: 48px; object-fit: contain; display: block;
}
.sv-sol-card__feat-desc { font-size: .6875rem; line-height: 1.8; color: rgba(4,16,35,.7); }
@media (min-width: 769px) {
  .sv-sol-card__title { color: #041023; font-size: 24px; }
  .sv-sol-card__sub { font-size: 20px; }
  .sv-sol-card__feat-title,
  .sv-sol-card__feat-desc { font-size: 16px; }
}

/* --- Service --- */
.sv-service { padding: 96px 0; background: #fff; }
.sv-service__inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: start;
}

/* 左：ヘッダー＋サービスリスト */
.sv-service__header {
  position: relative; text-align: left;
  margin-bottom: 40px; line-height: 1;
}
.sv-service__watermark-en {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(60px, 8vw, 100px); font-weight: 400;
  color: #1f4e5f; opacity: .15; line-height: 1;
  letter-spacing: .02em; display: block;
}
.sv-service__watermark-ja {
  font-family: var(--font-mincho);
  font-size: 15px; font-weight: 700; color: #041023;
  position: absolute; bottom: 16px; left: 2px;
  white-space: nowrap; letter-spacing: .12em;
}

.sv-service__list { display: flex; flex-direction: column; }
.sv-service__item {
  padding: 28px 0;
  border-bottom: 1px solid rgba(4,16,35,.08);
}
.sv-service__item:first-child { border-top: 1px solid rgba(4,16,35,.08); }

.sv-service__item-head {
  display: flex; align-items: center; gap: 20px;
  margin-bottom: 16px;
}
/* 円バッジ */
.sv-service__badge {
  flex-shrink: 0; width: 72px; height: 72px;
  border-radius: 50%; border: 1.5px solid rgba(31,78,95,.3);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 0;
}
.sv-service__badge-label {
  font-family: var(--font-en);
  font-size: .5625rem; letter-spacing: .1em;
  color: var(--color-navy); opacity: .6;
  position: relative; top: 6px;
}
.sv-service__badge-num {
  font-family: var(--font-en);
  font-size: 1.25rem; font-weight: 700;
  color: var(--color-navy); letter-spacing: .05em;
}
.sv-service__item-title {
  font-family: var(--font-mincho);
  font-size: 1.0625rem; font-weight: 700;
  color: var(--color-text); line-height: 1.5;
}
.sv-service__item-sub {
  font-size: .75rem; font-weight: 400;
  color: rgba(4,16,35,.5); margin-left: 6px;
}
.sv-service__item-list { padding-left: 8px; }
.sv-service__item-list li {
  font-size: .8125rem; line-height: 1.85;
  padding: 4px 0 4px 18px; position: relative;
  color: rgba(4,16,35,.75);
}
.sv-service__item-list li::before {
  content: ''; position: absolute; left: 0; top: .7em;
  width: 8px; height: 8px;
  background: var(--color-navy); border-radius: 50%;
}
@media (min-width: 769px) {
  .sv-service__item-title { font-size: 20px; }
  .sv-service__item-sub { font-size: 16px; }
  .sv-service__item-list li { font-size: 16px; }
  .sv-service__item-list li::before { content: ''; top: 1em; }
}

/* 右：画像コラージュ */
.sv-service__collage {
  position: relative; height: 680px;
}
@media (min-width: 1025px) {
  .sv-service__collage { margin-top: 130px; }
}
.sv-service__col-img {
  position: absolute; border-radius: 4px;
  object-fit: cover; box-shadow: 0 8px 24px rgba(4,16,35,.12);
}
.sv-service__col-img--1 {
  top: 0; right: 0;
  width: 78%; height: 45%;
}
.sv-service__col-img--2 {
  top: 38%; left: 0;
  width: 68%; height: 35%;
  z-index: 2;
}
.sv-service__col-img--3 {
  bottom: 0; right: 0;
  width: 62%; height: 38%;
}

/* --- Merit --- */
.sv-merit-wrap { padding: 96px 0; background: #fff; }

/* 角丸グレーカード */
.sv-merit {
  background: var(--color-gray-mid);
  border-radius: 12px;
  padding: 60px 48px;
}

/* タイトル：中央配置 */
.sv-merit__header {
  position: relative; text-align: center;
  margin-bottom: 52px; line-height: 1;
}
.sv-merit__watermark-en {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(3rem, 7vw, 6rem); font-weight: 400;
  color: #fff; opacity: .12; line-height: 1;
  letter-spacing: .06em; display: block;
}
.sv-merit__watermark-ja {
  font-family: var(--font-mincho);
  font-size: 13px; font-weight: 700; color: rgba(255,255,255,.7);
  position: absolute; bottom: 12px; left: 50%;
  transform: translateX(-50%);
  white-space: nowrap; letter-spacing: .16em;
}

/* 3円グリッド */
.sv-merit__grid {
  display: flex; justify-content: center;
  gap: 32px; flex-wrap: wrap;
}

/* 白塗り円 */
.sv-merit__circle {
  width: 220px; height: 220px; border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 20px rgba(4,16,35,.15);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; padding: 28px;
  gap: 0;
}
.sv-merit__circle-title {
  font-family: var(--font-mincho);
  font-size: .9rem; font-weight: 700;
  color: var(--color-gold);
  margin-bottom: 10px;
}
.sv-merit__circle-line {
  width: 32px; height: 1px;
  background: var(--color-gold);
  margin: 0 auto 12px;
}
.sv-merit__circle-body {
  font-size: .6875rem; line-height: 1.85;
  color: rgba(4,16,35,.75);
}

/* --- Flow --- */
.sv-flow {
  padding: 96px 0;
  background: url('../images/flawback.svg') center/cover no-repeat;
}
.sv-flow__header {
  position: relative; text-align: left;
  margin-bottom: 48px; line-height: 1;
}
.sv-flow__watermark-en {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(60px, 8vw, 100px); font-weight: 400;
  color: #1f4e5f; opacity: .15; line-height: 1;
  letter-spacing: .02em; display: block;
}
.sv-flow__watermark-ja {
  font-family: var(--font-mincho);
  font-size: 13px; font-weight: 700; color: #041023;
  position: absolute; bottom: 14px; left: 2px;
  white-space: nowrap; letter-spacing: .14em;
}

/* 縦並びリスト */
.sv-flow__list { display: flex; flex-direction: column; }

/* 各行：左（番号+タイトル）＋中央（アイコン）＋右（説明） */
.sv-flow__item {
  display: grid;
  grid-template-columns: 280px 230px 1fr;
  gap: 0;
  align-items: center;
  padding: 36px 0;
  border-bottom: 1px solid rgba(31,78,95,.1);
}
.sv-flow__item:first-child { border-top: 1px solid rgba(31,78,95,.1); }

/* 左：バッジ＋タイトル */
.sv-flow__left {
  display: flex; align-items: center; gap: 20px;
}
.sv-flow__badge {
  flex-shrink: 0; width: 64px; height: 64px;
  border-radius: 50%; border: 1.5px solid rgba(31,78,95,.3);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-en); font-size: 24px; font-weight: 700;
  color: var(--color-navy); letter-spacing: .05em;
}
.sv-flow__title {
  font-family: var(--font-mincho);
  font-size: 1rem; font-weight: 700;
  color: var(--color-text); line-height: 1.5;
  white-space: nowrap;
}
.sv-flow__sub {
  font-size: .75rem; color: rgba(4,16,35,.5);
  margin-top: 4px;
}

/* 中央：アイコン（左=150px空ける、右=20px空ける） */
.sv-flow__icon {
  text-align: center;
  padding-left: 150px;
  padding-right: 20px;
  box-sizing: border-box;
}
.sv-flow__icon img { width: 56px; height: auto; }

/* 右：説明文 */
.sv-flow__desc {
  font-size: .8125rem; line-height: 2;
  color: rgba(4,16,35,.75);
}
@media (min-width: 769px) {
  .sv-merit__circle-title { font-size: 20px; }
  .sv-merit__circle-body { font-size: 16px; }
  .sv-flow__title { font-size: 20px; }
  .sv-flow__sub { font-size: 16px; }
  .sv-flow__desc { font-size: 16px; }
}

/* ===========================================
   ABOUT PAGE
   =========================================== */

/* --- MESSAGE（代表メッセージ） --- */
.ab-message { padding: 96px 0; background: #fff; position: relative; overflow: hidden; }
.ab-message > .container { position: relative; z-index: 1; }

/* 背景ひし形：service/と同じ配置だが、サイズに変化をつける */
.ab-message .sv-lead__diamond--1 { width: 280px; height: 280px; }
.ab-message .sv-lead__diamond--2 { width: 130px; height: 130px; }
.ab-message .sv-lead__diamond--3 { width: 90px;  height: 90px; }

.ab-message__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas:
    "text photo"
    "text profile";
  column-gap: 60px;
  row-gap: 40px;
  margin-top: 40px;
  align-items: start;
}

.ab-message__col-text    { grid-area: text; }
.ab-message__col-photo   { grid-area: photo; }
.ab-message__col-profile { grid-area: profile; }

.ab-message__title {
  font-family: var(--font-mincho);
  font-size: clamp(1.25rem, 2vw, 1.625rem); font-weight: 700;
  line-height: 1.75; margin-bottom: 28px;
}
.ab-message__text p {
  font-size: .875rem; line-height: 1.9;
  color: rgba(4,16,35,.75); margin-bottom: 16px;
}
.ab-message__text p:last-child { margin-bottom: 0; }

/* 写真：背景に水色の装飾矩形 */
.ab-message__photo {
  position: relative;
}
.ab-message__photo::before {
  content: '';
  position: absolute;
  right: -50px; bottom: -50px;
  width: 70%; height: 70%;
  background: var(--color-bg-light);
  border-radius: 4px;
  z-index: 0;
}
.ab-message__photo img {
  position: relative; z-index: 1;
  width: 100%; height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 4px;
}

/* SP用写真（タイトル直下に表示）：PCでは非表示 */
.ab-message__photo--sp { display: none; }

/* 名前 */
.ab-message__name {
  font-size: .875rem; font-weight: 700;
  margin-bottom: 16px;
}
.ab-message__name strong {
  font-family: var(--font-mincho);
  font-size: 1.125rem; font-weight: 700;
  margin-left: 0;
}

/* プロフィールボックス */
.ab-message__profile {
  display: flex; gap: 20px;
  border: 1px solid rgba(31,78,95,.2);
  border-radius: 8px;
  padding: 20px 22px;
  background: rgba(31,78,95,.03);
}
.ab-message__profile-title {
  flex-shrink: 0;
  font-family: var(--font-en);
  font-size: .8125rem; font-weight: 700;
  color: var(--color-navy);
  line-height: 1.7;
  letter-spacing: .08em;
  white-space: nowrap;
  padding-right: 18px;
  border-right: 1px solid rgba(31,78,95,.2);
}
.ab-message__profile-body {
  font-size: .8125rem; line-height: 1.7;
  color: rgba(4,16,35,.75);
}

/* --- COMPANY PROFILE（会社概要） --- */
.ab-company { padding: 96px 0; background: #fff; }

.ab-company__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas: "media data";
  column-gap: 60px;
  margin-top: 40px;
  align-items: start;
}

.ab-company__data  { grid-area: data; }
.ab-company__media { grid-area: media; }

/* 会社情報テーブル */
.ab-company__table { width: 100%; border-collapse: collapse; }
.ab-company__table th,
.ab-company__table td {
  padding: 18px 0;
  text-align: left;
  font-size: .8125rem; line-height: 1.8;
  border-bottom: 1px solid rgba(31,78,95,.12);
  vertical-align: top;
}
.ab-company__table th {
  width: 130px;
  font-family: var(--font-mincho);
  font-weight: 700;
  color: var(--color-navy);
  white-space: nowrap;
  padding-right: 16px;
}
.ab-company__table td { color: rgba(4,16,35,.8); }
.ab-company__table tbody tr:first-child th,
.ab-company__table tbody tr:first-child td { border-top: 1px solid rgba(31,78,95,.12); }

/* Google Map プレースホルダー（グリッド外で左右中央配置） */
.ab-company__map {
  width: 700px;
  max-width: 100%;
  margin: 60px auto 0;
  height: 400px;
  display: flex; align-items: center; justify-content: center;
  background: #ccc;
  color: #fff; font-size: .875rem;
  border-radius: 4px;
  overflow: hidden;
}
@media (min-width: 769px) {
  .ab-company__map { height: 500px; }
}

/* 写真コラージュ */
.ab-company__media { display: flex; flex-direction: column; gap: 24px; }

/* 画像の背景に装飾矩形（右下にずらして配置） */
.ab-company__img-wrap { position: relative; }
.ab-company__img-wrap--main::before {
  content: '';
  position: absolute;
  right: 0; bottom: -50px;
  width: 70%; height: 70%;
  background: #e2ebea;
  border-radius: 4px;
  z-index: 0;
}
.ab-company__img-wrap picture { display: block; }

/* SP用：house.jpg（ウォーターマーク直下）とMap（building写真の上）：PCでは非表示 */
.ab-company__img-wrap--main-sp,
.ab-company__map--sp { display: none; }
.ab-company__img {
  position: relative; z-index: 1;
  width: 100%; object-fit: cover;
  border-radius: 4px; display: block;
}
.ab-company__img--main { width: 90%; aspect-ratio: 4 / 3; }

/* 建物写真 ＋ 花写真：背景の矩形を共有して斜めに重ねて配置 */
.ab-company__sub-imgs {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 80px;
}
.ab-company__sub-box {
  position: absolute;
  top: 50px; left: 60px; right: 60px; bottom: -50px;
  background: #e2ebea;
  border-radius: 4px;
  z-index: 0;
}
.ab-company__img-wrap--building,
.ab-company__img-wrap--flower { position: relative; z-index: 1; }
.ab-company__img-wrap--building { margin-top: 90px; }
.ab-company__img--building,
.ab-company__img--flower { aspect-ratio: 1 / 1; }

/* PC版：建物写真をさらに下へ、house02を右起点で左へ伸びる長方形に */
@media (min-width: 769px) {
  .hero__circle { width: 220px; height: 220px; }

  .ab-company__sub-imgs { margin-top: 120px; }

  .ab-company__img-wrap--main::before { bottom: -70px; }

  /* margin-topは元のまま（背景の四角の位置に影響させない）、
     見た目だけ下にずらすため top で位置調整 */
  .ab-company__img-wrap--building {
    top: 210px;
    z-index: 4;
    width: 320px;
    height: 280px;
  }
  .ab-company__img--building { aspect-ratio: 320 / 280; }
  .ab-company__img-wrap--flower {
    position: absolute;
    top: 0;
    right: 0;
    width: 90%;
    z-index: 3;
  }
  .ab-company__img--flower { aspect-ratio: 495 / 350; width: 495px; height: 350px; }

  /* Google Map：テーブル直下に配置（PC専用） */
  .ab-company__inner { align-items: stretch; }
  .ab-company__data {
    display: flex;
    flex-direction: column;
    height: 100%;
    gap: 30px;
  }
  .ab-company__map--pc {
    width: 100%;
    height: 300px;
    margin: auto 0 0;
  }

  /* TOPページ 強みセクション PC調整 */
  .strengths__circle-body--kyushu { white-space: normal; line-height: 1.7; }
  .strengths__stat-label { align-self: center; }
}

/* ===========================================
   WORKS PAGE（私たちの実績）
   =========================================== */
.works-archive { padding: 96px 0; background: #fff; overflow-anchor: none; }
.works-archive__inner {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 48px;
  align-items: start;
}

/* フィルター */
.works-filter { position: sticky; top: 120px; }
.works-filter__badge {
  width: 180px; height: 180px;
  margin: 0 auto 32px;
  padding: 16px;
  border-radius: 50%;
  background: var(--color-navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--font-mincho);
  font-size: .9375rem;
  line-height: 1.7;
  letter-spacing: .04em;
}
.works-filter__list {
  list-style: none;
  border-top: 1px solid rgba(4,16,35,.1);
}
.works-filter__list li { border-bottom: 1px solid rgba(4,16,35,.1); }
.works-filter__list label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 4px;
  cursor: pointer;
  font-size: .875rem;
}
.works-filter__list input[type="radio"] {
  appearance: none;
  width: 16px; height: 16px;
  border: 2px solid var(--color-navy);
  border-radius: 50%;
  background: #fff;
  position: relative;
  accent-color: var(--color-navy);
}
.works-filter__list input[type="radio"]:checked::after {
  content: '';
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  background: var(--color-navy);
}
.works-filter__item--all input[type="radio"] {
  accent-color: #818790;
  border-color: #818790;
}
.works-filter__item--all input[type="radio"]:checked::after { background: #818790; }
.works-filter__item--kokurakita input[type="radio"] {
  accent-color: #1f4e5f;
  border-color: #1f4e5f;
}
.works-filter__item--kokurakita input[type="radio"]:checked::after { background: #1f4e5f; }
.works-filter__item--kokuraminami input[type="radio"] {
  accent-color: #d98a5f;
  border-color: #d98a5f;
}
.works-filter__item--kokuraminami input[type="radio"]:checked::after { background: #d98a5f; }

/* 一覧グリッド */
.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 24px;
}
.works-card__img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.works-card__img img { width: 100%; height: 100%; object-fit: cover; }
.works-card__noimg {
  width: 100%; height: 100%;
  background:
    repeating-conic-gradient(#e7efee 0% 25%, #f5f9f8 0% 50%) 50% / 32px 32px;
}
.works-card__cat {
  position: absolute;
  top: 10px; left: 10px;
  background: var(--color-gold);
  color: #fff;
  font-size: .6875rem;
  padding: 3px 10px;
  border-radius: 2px;
}
.works-card__cat--kokurakita { background: #1f4e5f; }
.works-card__cat--kokuraminami { background: #d98a5f; }
.works-card__body { padding: 16px 4px 0; }
.works-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0 12px;
  font-size: .75rem;
  color: rgba(4,16,35,.5);
  margin-bottom: 6px;
}
.works-card__meta span:not(:last-child) { position: relative; padding-right: 12px; }
.works-card__meta span:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  width: 1px; height: 10px;
  background: rgba(4,16,35,.2);
}
.works-card__title {
  font-family: var(--font-mincho);
  font-size: .9375rem;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 8px;
}
.works-card__text { font-size: .75rem; color: rgba(4,16,35,.65); line-height: 1.7; }

/* PC：ページ送り */
.works-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 56px;
}
.works-pagination__btn {
  width: 40px; height: 40px;
  border: none;
  background: transparent;
  font-family: var(--font-en);
  font-size: .875rem;
  color: var(--color-navy);
  border-radius: 50%;
  cursor: pointer;
  transition: all var(--ease);
}
.works-pagination__btn:hover { background: rgba(4,16,35,.05); }
.works-pagination__btn.is-active {
  background: var(--color-navy);
  color: #fff;
}

.works-pagination__arrow {
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(4,16,35,.15);
  border-radius: 50%;
  background: #fff;
  font-size: 1rem;
  color: var(--color-navy);
  cursor: pointer;
  transition: all var(--ease);
}
.works-pagination__arrow:hover { border-color: var(--color-navy); }
.works-pagination__arrow:disabled { opacity: .3; cursor: default; }
.works-pagination__arrow:disabled:hover { border-color: rgba(4,16,35,.15); }
.works-pagination__ellipsis {
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(4,16,35,.4);
  font-size: .875rem;
}

/* SP：もっと見る */
.works-loadmore { display: none; text-align: center; margin-top: 40px; }
.works-loadmore__btn {
  display: inline-block;
  padding: 14px 56px;
  border: 1px solid var(--color-navy);
  border-radius: 999px;
  background: var(--color-navy);
  color: #fff;
  font-family: var(--font-mincho);
  font-size: .875rem;
  letter-spacing: .1em;
  cursor: pointer;
  transition: all var(--ease);
}
.works-loadmore__btn:hover { background: #fff; color: var(--color-navy); }

/* ===========================================
   NEWS（お知らせ一覧・詳細）
   =========================================== */
.news-archive { padding: 96px 0; background: #fff; overflow-anchor: none; }

/* フィルター */
.news-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}
.news-filter__btn {
  padding: 10px 28px;
  border: 1px solid var(--color-navy);
  border-radius: 999px;
  background: #fff;
  color: var(--color-navy);
  font-family: var(--font-en);
  font-size: .8125rem;
  letter-spacing: .05em;
  cursor: pointer;
  transition: all var(--ease);
}
.news-filter__btn:hover,
.news-filter__btn.is-active {
  background: var(--color-navy);
  color: #fff;
}
.news-filter__btn--all {
  border-color: #818790;
  color: #818790;
}
.news-filter__btn--all:hover,
.news-filter__btn--all.is-active {
  background: #818790;
  color: #fff;
}
.news-filter__btn--accent {
  border-color: var(--color-gold);
  color: var(--color-gold);
}
.news-filter__btn--accent:hover,
.news-filter__btn--accent.is-active {
  background: var(--color-gold);
  color: #fff;
}

/* 一覧 */
.news-list { border-top: 1px solid rgba(4,16,35,.1); }

.news-row {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 28px 8px;
  border-bottom: 1px solid rgba(4,16,35,.1);
  text-decoration: none;
  color: inherit;
  transition: opacity var(--ease);
}
.news-row:hover { opacity: .65; }

.news-row__meta {
  flex: 0 0 auto;
  width: 200px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.news-row__date {
  font-family: var(--font-en);
  font-size: .8125rem;
  color: rgba(4,16,35,.5);
}
.news-row__cat {
  flex: 0 0 auto;
  padding: 6px 18px;
  border-radius: 999px;
  background: var(--color-navy);
  color: #fff;
  font-size: .75rem;
  white-space: nowrap;
}
.news-row__cat--accent { background: var(--color-gold); }
.news-row__body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.news-row__title {
  font-size: .9375rem;
  font-weight: 500;
  color: var(--color-navy);
}
.news-row__excerpt {
  font-size: .8125rem;
  color: rgba(4,16,35,.55);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.news-row__arrow {
  flex: 0 0 auto;
  font-size: 1.125rem;
  color: var(--color-navy);
}

/* ページ送り */
.news-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 56px;
}

/* お知らせ詳細 */
.news-single { padding: 80px 0 120px; background: #fff; }
.news-single__inner { max-width: 800px; margin: 0 auto; }
.news-single__meta {
  margin-bottom: 16px;
}
.news-single__cat {
  display: inline-block;
  padding: 6px 18px;
  border-radius: 999px;
  background: var(--color-navy);
  color: #fff;
  font-size: .75rem;
}
.news-single__cat--accent { background: var(--color-gold); }
.news-single__title {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 700;
  line-height: 1.6;
  color: var(--color-navy);
  margin-bottom: 40px;
}
.news-single__body {
  font-size: .9375rem;
  line-height: 2;
  color: rgba(4,16,35,.8);
}
.news-single__body p { margin-bottom: 1.5em; }
.news-single__body img { max-width: 100%; height: auto; }
.news-single__buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 64px;
}

/* ===========================================
   FOOTER
   =========================================== */
.site-footer { background: var(--color-gray-mid); color: #fff; padding: 40px 0 24px; }
.footer-inner { display: flex; flex-direction: column; gap: 28px; }

/* 上段：ロゴ（左） ＋ 住所・電話（中央左端揃え） */
.footer-top {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 40px;
}
.footer-logo__img {
  height: 48px; width: auto;
}
/* 住所・電話はメニューの左端に合わせて配置 */
.footer-info {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-left: var(--footer-nav-offset, 0px);
}
.footer-address { font-size: .8125rem; color: rgba(255,255,255,.75); }
.footer-tel { font-size: 1.125rem; font-weight: 700; color: #fff; letter-spacing: .05em; }

/* 仕切り線 */
.footer-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,.2);
  margin: 0;
  width: 100%;
}

/* ナビゲーション：左右中央配置 */
.footer-nav { width: 100%; }
.footer-nav__list {
  display: flex;
  gap: 0 48px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-nav__item > a {
  font-family: var(--font-mincho);
  font-size: .8125rem;
  color: rgba(255,255,255,.9);
  font-weight: 600;
  display: block;
  margin-bottom: 10px;
  transition: color var(--ease);
}
.footer-nav__item > a:hover { color: var(--color-gold); }
.footer-nav__sub { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.footer-nav__sub a {
  font-size: .75rem;
  color: rgba(255,255,255,.6);
  transition: color var(--ease);
}
.footer-nav__sub a:hover { color: rgba(255,255,255,.9); }

/* コピーライト行 */
.footer-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.footer-privacy { font-size: .75rem; color: rgba(255,255,255,.55); transition: color var(--ease); }
.footer-privacy:hover { color: rgba(255,255,255,.9); }
.footer-copy { font-size: .75rem; color: rgba(255,255,255,.45); }

/* SP固定CTAバー（全ページ・画面下部固定） */
.sp-fixed-cta { display: none; }

/* ===========================================
   レスポンシブ
   =========================================== */
@media (max-width: 1024px) {
  .header-nav { display: none; }
  .hamburger { display: flex; }
  .site-header { height: var(--header-h-sp); }
  .sv-hero { padding-top: var(--header-h-sp); }
  .hero__content { padding: calc(var(--header-h-sp) + 32px) 28px 64px; max-width: 100%; }
  .hero__scroll { left: 28px; }
  .side-cta { display: none; }
  .submenu { top: var(--header-h-sp); }

  .worries__grid              { grid-template-columns: repeat(2, 1fr); }
  .services__top-inner        { grid-template-columns: 1fr; gap: 40px; }
  .services__cards            { grid-template-columns: repeat(2, 1fr); }
  .works-top__slider          { grid-template-columns: repeat(2, 1fr); }
  .greeting__inner            { grid-template-columns: 1fr; gap: 40px; }
  .strengths__circle          { width: 200px; height: 200px; }
  .services__diagram-inner    { width: 260px; height: 260px; }
  .services__diag-circle      { width: 130px; height: 130px; }

  .ab-message__inner {
    grid-template-columns: 1fr;
    grid-template-areas:
      "text"
      "photo"
      "profile";
    row-gap: 32px;
  }
  .ab-message__col-profile { align-self: start; }

  .ab-company__inner {
    grid-template-columns: 1fr;
    grid-template-areas:
      "data"
      "media";
    row-gap: 40px;
  }

  .works-archive__inner { grid-template-columns: 200px 1fr; gap: 32px; }
  .works-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  /* ヒーロー：画像をアスペクト比で表示し、CTAは画像下に横並びバーとして表示 */
  .hero { height: auto; min-height: 0; }
  .hero__bg { position: relative; inset: auto; aspect-ratio: 3 / 4; }
  .hero__bg-img { object-position: center calc(100% + 20px); }
  .hero__content { display: block; position: absolute; inset: 0; height: 100%; padding: calc(var(--header-h-sp) + 32px) 24px 32px; }
  /* ヘッダー：ロゴがはみ出すのでヘッダー高さとロゴ幅を調整 */
  :root { --header-h-sp: 80px; }
  .header-inner { padding-inline: 30px; align-items: flex-start; }
  .header-logo__img { width: 40%; }
  .hamburger { align-self: center; }

  /* SPでは画面下部固定のCTAバー（.sp-fixed-cta）に置き換えるため非表示 */
  .hero__circles { display: none; }

  /* SP固定CTAバー：画面下部に固定、角丸は上側のみ */
  body { padding-bottom: 44px; }
  .sp-fixed-cta {
    display: flex;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 950;
    background: #727171;
  }
  .sp-fixed-cta__btn {
    flex: 1 1 0;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    text-align: center; text-decoration: none;
    border-radius: 10px 10px 0 0;
    padding: 6px 8px;
  }
  .sp-fixed-cta__btn--navy { background: rgba(31,78,95,1); }
  .sp-fixed-cta__btn--gold { background: rgba(217,138,95,1); }
  .sp-fixed-cta__label { font-size: .8125rem; font-weight: 700; color: #fff; line-height: 1.4; }

  .hero__catch-text     { font-size: clamp(1.625rem, 7vw, 2.375rem); }
  .hero__catch          { transform: scale(1.2); transform-origin: left top; margin-bottom: 30px; margin-top: 20px; }
  .hero__scroll         { left: 0; }
  /* watermark-ja：watermark-enに重ならないよう下げる */
  .services__watermark-ja   { bottom: 4px; z-index: 2; }
  .greeting__watermark-block { overflow-x: hidden; overflow-y: visible; height: 68px; }
  .greeting__watermark-ja   { bottom: 4px; z-index: 2; }
  .news-top__title-block    { overflow-y: visible; height: 68px; }
  .news-top__watermark-ja   { bottom: 4px; z-index: 2; }
  .sv-service__header       { overflow-x: hidden; overflow-y: visible; height: 68px; }
  .sv-service__watermark-ja { bottom: 4px; z-index: 2; }
  .sv-flow__header          { overflow-x: hidden; overflow-y: visible; height: 68px; }
  .sv-merit__watermark-ja   { bottom: 0px; z-index: 2; }
  .sv-flow__watermark-ja    { bottom: 4px; z-index: 2; }

  .worries__grid        { grid-template-columns: 1fr; row-gap: 32px; }
  .worries              { padding: 30px 0; }
  .worries__item {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 12px;
  }
  .worries__bubble { flex: 0 0 auto; width: 100%; margin-bottom: 0; box-sizing: border-box; }
  .worries__illust { width: 180px; height: 200px; margin-top: -100px; z-index: 2; }
  .worries__item:nth-child(1) .worries__illust { width: 162px; height: 180px; margin-right: -30px; }
  .worries__item:nth-child(1) .worries__name { margin-left: 80px; }

  /* 奇数番目：右寄せ（吹き出しは右に50pxマージン、イラストと名前を入れ替え） */
  .worries__item:nth-child(odd) { justify-content: flex-end; }
  .worries__item:nth-child(odd) .worries__bubble { width: calc(100% - 50px); margin-right: 50px; }
  .worries__item:nth-child(odd) .worries__bubble::after { left: 20%; }
  .worries__item:nth-child(odd) .worries__illust { order: 2; margin-left: -20px; }
  .worries__item:nth-child(odd) .worries__name { order: 1; margin-right: -20px; }

  /* 偶数番目：左寄せ（吹き出しは左に50pxマージン、イラストとの重なりを避けるため左パディング追加） */
  .worries__item:nth-child(even) { justify-content: flex-start; }
  .worries__item:nth-child(even) .worries__bubble { width: calc(100% - 50px); margin-left: 50px; padding-left: 80px; }
  .worries__item:nth-child(even) .worries__bubble::after { left: 80%; }
  .worries__item:nth-child(even) .worries__illust { margin-right: -20px; }
  .worries__item:nth-child(even) .worries__name { margin-left: -20px; }
  .worries__item:nth-child(2) .worries__illust { margin-right: 0; }
  .worries__item:nth-child(2) .worries__name { margin-left: 0; }
  .worries__item:nth-child(3) .worries__illust { margin-left: 0; }
  .worries__item:nth-child(3) .worries__name { margin-right: 0; }
  .worries__name   { text-align: left; margin-top: -100px; white-space: nowrap; }
  .worries__header      { overflow: hidden; margin-bottom: 32px; }
  .worries__watermark   { font-size: 18vw; letter-spacing: 0; }
  .services__cards      { grid-template-columns: 1fr; width: calc(min(1160px, 90%) - 20px); gap: 20px; }
  .services__card-img-num { left: -24px; }
  .works-top__title-block { overflow: visible; margin-bottom: 24px; }
  .works-top__en       { font-size: 12vw; white-space: nowrap; }
  .works-top__en-line  { display: block; }
  .works-top__ja       { position: static; transform: none; left: auto; bottom: auto; display: block; margin-top: 4px; }
  .works-top__circles  { flex-direction: column; align-items: center; gap: 24px; }
  .works-top__slider-wrap { overflow: hidden; margin-bottom: 24px; }
  .works-top__item     { width: 360px; }
  .works-top__item-img { height: 250px; }
  /* グリッド全体を1枚の角丸カードに */
  .strengths__grid {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--color-navy);
    border: 2px solid rgba(217,138,95,.45);
    border-radius: 16px;
    padding: 24px 20px;
    position: relative;
  }
  .strengths__grid::before {
    content: '';
    position: absolute;
    inset: 6px;
    border: 1px solid rgba(255,255,255,.5);
    border-radius: 10px;
    pointer-events: none;
  }
  .strengths__connector { display: none; }
  .strengths__sub-lead,
  .strengths__lead-text { font-size: 1.2rem; }

  /* 各カテゴリをカード内の段に */
  .strengths__circle {
    width: auto; height: auto;
    background: none;
    border: none;
    border-radius: 0;
    align-items: flex-start;
    text-align: left;
    padding: 18px 6px;
    position: relative;
  }
  .strengths__circle::before { display: none; }
  .strengths__circle:not(:last-child) {
    border-bottom: 1px solid rgba(255,255,255,.35);
  }
  .strengths__circle-title { font-size: 1.0625rem; }
  .strengths__circle-divider { display: none; }
  .strengths__circle-body { text-align: left; font-size: 1.1rem; white-space: normal; line-height: 1.5; }
  .strengths__circle-body--kyushu { white-space: normal; font-size: 1.1rem; line-height: 1.5; }
  .strengths__circle-body--kyushu::before { content: '・'; }

  /* 実績数：ラベル＋数値を1行ずつに連結（1カラム） */
  .strengths__circle-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: baseline;
    column-gap: 6px;
  }
  .strengths__circle-stats::after { content: ''; flex-basis: 100%; order: 3; }
  .strengths__stat-label {
    text-align: left;
    font-size: 1.1rem;
    white-space: nowrap;
  }
  .strengths__stat-num { font-size: 1.1rem; white-space: nowrap; }
  .strengths__stat-num span { font-size: 1.75rem; font-weight: 700; display: inline; }
  .strengths__stat-label::before { content: '・'; }
  .strengths__stat-label:nth-of-type(1) { order: 1; }
  .strengths__stat-num:nth-of-type(3)   { order: 2; }
  .strengths__stat-label:nth-of-type(2) { order: 4; }
  .strengths__stat-num:nth-of-type(4)   { order: 5; }
  .strengths__stat-num:nth-of-type(3) span { margin-right: 4px; }
  .strengths__stat-num:nth-of-type(4) span { margin-left: 4px; margin-right: 4px; }
  .services__top { overflow: hidden; }
  .services__watermark-block { overflow-x: hidden; overflow-y: visible; max-width: 100%; height: 68px; }
  .services__watermark-en { font-size: clamp(32px, 11vw, 48px); }
  .services__watermark-en--wwcd { font-size: 10.6vw !important; }
  .services__watermark-en--cp { font-size: 10.5vw !important; }
  /* OUR ACHIEVEMENTS：2行表示のため専用に高さ・配置を調整 */
  .services__watermark-block--oa { height: auto; padding-bottom: 8px; }
  .services__watermark-en--oa { white-space: normal; }
  .services__watermark-ja--oa { position: static; margin-top: 4px; bottom: auto; left: auto; }
  .services__top-inner { grid-template-columns: 1fr; gap: 32px; }
  .services__diagram { order: 2; }
  .services__diagram-inner { width: 280px; height: 255px; }
  .services__diag-circle { width: 120px; height: 120px; }
  .services__diag-circle--bl { left: 6px; }
  .services__diag-circle--br { right: 6px; }
  a.news-top__link      { flex-wrap: wrap; gap: 8px; }
  .news-top__date       { min-width: 68px; }
  .news-top .container  { margin-bottom: 10px; }
  .news-top__title-block { overflow-x: hidden; }
  .news-top__watermark-en { font-size: clamp(32px, 11vw, 48px); }
  .sv-service__watermark-en { font-size: clamp(32px, 11vw, 48px); }
  .sv-flow__watermark-en { font-size: clamp(32px, 11vw, 48px); }
  .contact-cta__btns    { flex-direction: column; align-items: center; margin-bottom: 16px; }
  .contact-cta__title   { white-space: normal; }
  .contact-cta__desc    { font-size: 20px; line-height: 1.6; margin-bottom: 40px; }
  .works-top__tabs      { flex-direction: column; display: flex; border: 1px solid rgba(255,255,255,.35); }
  .works-top__tab       { border-right: none; border-bottom: 1px solid rgba(255,255,255,.35); }
  .works-top__tab:last-child { border-bottom: none; }

  .strengths, .services__top,
  .works-top, .greeting, .news-top, .contact-cta { padding: 30px 0; }
  .greeting { padding-top: 118px; }
  .greeting__inner { gap: 20px; }
  .greeting__cta { padding-top: 0; margin-top: 0; }
  .greeting__career { padding-bottom: 22px; }
  .greeting__watermark-en { font-size: clamp(32px, 11vw, 48px); }
  .services__cta { padding: 20px 0 40px; }
  .works-top__cta { padding: 16px 0; }

  .ab-message { padding-top: 40px; padding-bottom: 20px; }
  .ab-company { padding: 40px 0; }

  /* ひし形--2：下が見切れているため少し上にずらす */
  .sv-lead__diamond--2 { bottom: 30px; }

  /* メッセージ：要素間の縦間隔を詰め、本文を最前面に */
  .ab-message__inner { row-gap: 10px; }
  .ab-message__text,
  .ab-message__title { position: relative; z-index: 2; }

  /* 会社概要：要素間の縦間隔を詰める */
  .ab-company__inner { row-gap: 10px; }

  /* 写真コラージュ：縦に並べて表示、装飾矩形は非表示 */
  .ab-company__sub-imgs {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 24px;
  }
  .ab-company__sub-box { display: none; }
  .ab-company__img-wrap--building { margin-top: 0; }
  .ab-company__img--building,
  .ab-company__img--flower { aspect-ratio: 4 / 3; }

  /* house.jpgをウォーターマーク直下に表示し、元の位置のものは非表示 */
  .ab-company__img-wrap--main-sp { display: block; margin-top: 24px; }
  .ab-company__inner .ab-company__img-wrap--main { display: none; }

  /* Mapをbuilding写真の上に表示し、元の位置のものは非表示 */
  .ab-company__map--sp {
    display: flex;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    margin: 0 0 16px;
  }
  .ab-company__inner ~ .ab-company__map { display: none; }
  .ab-company__map--pc { display: none; }

  /* タイトル直下にSP用写真を表示し、PC用の写真カラムは非表示にする */
  .ab-message__photo--sp { display: block; margin: 0 0 20px; }
  .ab-message__col-photo { display: none; }

  /* 代表者名：横並び＋右揃え */
  .ab-message__name {
    display: flex;
    justify-content: flex-end;
    align-items: baseline;
    gap: 8px;
  }
  .ab-message__name br { display: none; }

  .works-archive { padding-top: 30px; padding-bottom: 44px; }
  .works-archive__inner { grid-template-columns: 1fr; gap: 32px; }

  /* フィルター：バッジを左、リストを右に3行で配置 */
  .works-filter {
    position: static;
    display: flex;
    align-items: center;
    gap: 20px;
  }
  .works-filter__badge {
    flex-shrink: 0;
    width: 140px; height: 140px;
    margin: 0;
    font-size: .8125rem;
  }
  .works-filter__list {
    flex: 1;
    display: flex;
    flex-direction: column;
    border-top: none;
    gap: 4px;
  }
  .works-filter__list li { border-bottom: none; flex: 0 0 auto; }
  .works-filter__list label { padding: 8px 4px; }
  .works-grid { grid-template-columns: 1fr; gap: 24px; }
  .works-card:not(.is-sp-visible) { display: none; }
  .works-pagination { display: none; }
  .works-loadmore { display: block; margin-top: 30px; }

  .news-archive { padding-top: 30px; padding-bottom: 44px; }
  .news-pagination { margin-top: 40px; }
  .news-filter { gap: 8px; margin-bottom: 24px; }
  .news-filter__btn { padding: 8px 20px; font-size: .75rem; }
  .news-row { align-items: flex-start; gap: 16px; padding: 24px 4px; }
  .news-row__meta { flex-direction: column-reverse; align-items: flex-start; gap: 8px; width: auto; }
  .news-row__arrow { display: none; }
  .news-row__excerpt {
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .news-single { padding-top: 30px; padding-bottom: 44px; }
  .news-single__title { margin-bottom: 26px; }
  .news-single__buttons { margin-top: 40px; gap: 12px; }
  .news-single__buttons .btn { padding: 14px 24px; font-size: .8125rem; flex: 1 1 0; }

  .site-footer { padding: 26px 0; }
  .footer-inner { gap: 16px; }
  .footer-top { grid-template-columns: 1fr; gap: 12px; }
  .footer-info { flex-direction: column; align-items: flex-start; gap: 0; padding-left: 0; }
  .footer-nav__list { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 24px; justify-content: stretch; text-align: left; }
  .footer-nav__item > a { margin-bottom: 2px; }
  .footer-nav__sub { gap: 1px; }
  .footer-bottom { flex-direction: column; align-items: center; gap: 0; text-align: center; }
}

/* ===========================================
   表示切り替えユーティリティ
   =========================================== */
@media (max-width: 768px) {
  .u-pc { display: none !important; }
}
@media (min-width: 769px) {
  .u-sp { display: none !important; }
}

/* ===========================================
   CONTACT PAGE
   =========================================== */
.contact-form-section {
  padding: 96px 0 120px;
  background: var(--color-bg-light);
}

.contact-form__lead {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 48px;
  line-height: 1.9;
}

.contact-form__lead .u-pc-nowrap {
  white-space: nowrap;
}

.contact-form__lead .u-sp {
  display: block;
  text-align: justify;
  text-align-last: left;
}

.contact-form {
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  padding: 56px;
  border-radius: 4px;
}

/* --- フィールド --- */
.contact-form .wpcf7-form > p,
.contact-form .wpcf7-form > label {
  display: block;
  font-weight: 700;
  font-size: .9375rem;
  margin-bottom: 28px;
}

.contact-form .wpcf7-form .wpcf7-form-control-wrap {
  display: block;
  margin-top: 10px;
}

.contact-form .wpcf7-form input[type="text"],
.contact-form .wpcf7-form input[type="tel"],
.contact-form .wpcf7-form input[type="email"],
.contact-form .wpcf7-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #D6D6D6;
  border-radius: 4px;
  font-family: inherit;
  font-size: .9375rem;
  font-weight: 400;
  color: var(--color-text);
  background: #fff;
  transition: border-color var(--ease);
}

.contact-form .wpcf7-form input[type="text"]:focus,
.contact-form .wpcf7-form input[type="tel"]:focus,
.contact-form .wpcf7-form input[type="email"]:focus,
.contact-form .wpcf7-form textarea:focus {
  outline: none;
  border-color: var(--color-navy);
}

.contact-form .wpcf7-form textarea {
  min-height: 160px;
  resize: vertical;
}

/* 必須・任意バッジ */
.required-badge,
.optional-badge {
  display: inline-block;
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .05em;
  padding: 3px 10px;
  border-radius: 2px;
  margin-left: 10px;
  vertical-align: middle;
  color: #fff;
}
.required-badge { background: #D9534F; }
.optional-badge { background: var(--color-gray-dark); }

/* 必須バッジ（アウトライン版：プライバシーポリシー見出し用） */
.required-badge--outline {
  display: inline-block;
  background: #fff;
  color: #D9534F;
  border: 1px solid #D9534F;
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .05em;
  padding: 2px 14px;
  border-radius: 999px;
  margin-left: 10px;
  vertical-align: middle;
}

/* プライバシーポリシー見出し */
.privacy-box__label {
  display: flex;
  align-items: center;
  font-weight: 700;
  font-size: .9375rem;
  color: var(--color-navy);
  margin-bottom: 10px;
}
@media (max-width: 768px) {
  .privacy-box__label { scroll-margin-top: calc(var(--header-h-sp) + 20px); }
}
@media (min-width: 769px) {
  .privacy-box__label { scroll-margin-top: calc(var(--header-h) + 60px); }
}

/* ===========================================
   PRIVACY POLICY SECTION（contact/ページ）
   =========================================== */
.privacy-section {
  padding: 80px 0;
  background: #fff;
}
.privacy-section__header {
  text-align: center;
  margin-bottom: 48px;
}
.privacy-section__title {
  font-family: var(--font-mincho);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: #4A8A4A;
  margin-bottom: 8px;
  line-height: 1.3;
}
.privacy-section__subtitle {
  font-size: .9375rem;
  color: #4A8A4A;
  letter-spacing: .12em;
}
.privacy-section__block {
  margin-bottom: 48px;
}
.privacy-section__heading {
  font-size: 1rem;
  font-weight: 700;
  color: #4A8A4A;
  text-align: center;
  border-top: 1px solid #4A8A4A;
  border-bottom: 1px solid #4A8A4A;
  padding: 12px 0;
  margin-bottom: 24px;
}
.privacy-section__body {
  font-size: .9375rem;
  line-height: 1.9;
  color: var(--color-text);
  margin-bottom: 20px;
}
.privacy-section__list {
  list-style: none;
  padding: 0;
  counter-reset: privacy;
}
.privacy-section__list li {
  font-size: .9375rem;
  line-height: 1.9;
  color: var(--color-text);
  padding-left: 1.8em;
  text-indent: -1.8em;
  margin-bottom: 12px;
}
.privacy-section__list li::before {
  counter-increment: privacy;
  content: counter(privacy) '.';
  margin-right: .4em;
}
.privacy-section__bullets {
  list-style: none;
  padding: 0;
}
.privacy-section__bullets li {
  font-size: .9375rem;
  line-height: 1.9;
  color: var(--color-text);
  padding-left: 1em;
  text-indent: -1em;
}
.privacy-section__bullets li::before {
  content: '・';
}

/* プライバシーポリシー本文ボックス */
.privacy-box {
  height: 160px;
  overflow-y: auto;
  border: 1px solid #D6D6D6;
  border-radius: 4px;
  padding: 20px;
  margin-bottom: 10px;
  font-size: .8125rem;
  line-height: 24px;
  color: var(--color-gray-mid);
  background: #FAFAFA;
}
.privacy-box p { margin: 0; }
.privacy-box p:nth-of-type(2) { margin-top: 2em; }
.privacy-box p:nth-of-type(3) { margin-top: 1em; }
.privacy-box p:nth-of-type(4) { margin-top: 2em; }

/* 同意チェックボックス */
.contact-form .wpcf7-acceptance .wpcf7-list-item {
  margin: 0;
}
.contact-form .wpcf7-acceptance label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  font-size: .9375rem;
  cursor: pointer;
}
.contact-form .wpcf7-acceptance input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--color-navy);
  cursor: pointer;
}

/* 送信前の注意文 */
.contact-form .wpcf7-form > p.form-confirm-note {
  text-align: center;
  font-size: .8125rem;
  font-weight: 400;
  color: #727171;
  margin: 32px 0 0;
  line-height: 1.9;
}

.contact-form .wpcf7-form > p.form-confirm-note--sub {
  text-align: center;
  font-size: .8125rem;
  font-weight: 400;
  color: #727171;
  margin: 0;
  line-height: 1.9;
}

/* 送信ボタン */
.contact-form .wpcf7-form input[type="submit"] {
  display: block;
  margin: 40px auto 0;
  padding: 16px 64px;
  background: #d98a5f;
  color: #fff;
  font-size: .9375rem;
  font-weight: 700;
  letter-spacing: .1em;
  border: none;
  border-radius: 2px;
  transition: background var(--ease), transform var(--ease);
}
.contact-form .wpcf7-form input[type="submit"]:hover {
  background: #bf6f45;
  transform: translateY(-2px);
}

/* プライバシーポリシー未同意時 */
.contact-form .wpcf7-form input[type="submit"].is-disabled {
  background: var(--color-gray-dark);
  cursor: not-allowed;
}
.contact-form .wpcf7-form input[type="submit"].is-disabled:hover {
  background: var(--color-gray-dark);
  transform: none;
}

/* バリデーション・送信結果メッセージ */
.contact-form .wpcf7-not-valid-tip {
  display: block;
  color: #D9534F;
  font-size: .8125rem;
  font-weight: 400;
  margin-top: 6px;
}
.contact-form .wpcf7-spinner {
  display: block;
  margin: 16px auto 0;
}
.contact-form .wpcf7-response-output {
  margin: 24px 0 0;
  padding: 16px 20px;
  border-radius: 4px;
  text-align: center;
  font-size: .875rem;
  font-weight: 700;
}
.contact-form form.sent .wpcf7-response-output {
  border: 1px solid var(--color-navy);
  color: var(--color-navy);
}
.contact-form form.invalid .wpcf7-response-output,
.contact-form form.unaccepted .wpcf7-response-output,
.contact-form form.payment-required .wpcf7-response-output {
  border: 1px solid #D9534F;
  color: #D9534F;
}

/* ===========================================
   CONTACT THANKS PAGE
   =========================================== */
.contact-thanks {
  padding: 120px 0;
}
.contact-thanks__inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.contact-thanks__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--color-navy);
  color: #fff;
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 24px;
}
.contact-thanks__title {
  font-family: var(--font-mincho);
  font-size: clamp(1.375rem, 2.5vw, 1.875rem);
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 24px;
}
.contact-thanks__text {
  line-height: 2;
  margin-bottom: 40px;
}
.contact-thanks__text .u-pc-nowrap {
  white-space: nowrap;
}
.contact-thanks__text .u-sp {
  display: block;
  text-align: justify !important;
  text-align-last: left !important;
}
.contact-thanks__buttons {
  display: flex;
  justify-content: center;
}

@media (max-width: 768px) {
  .contact-form-section { padding-top: 30px; padding-bottom: 44px; }
  .contact-form__lead { margin-bottom: 30px; }
  .contact-form { padding: 32px 20px 20px; }
  .contact-form .wpcf7-form > p,
  .contact-form .wpcf7-form > label { margin-bottom: 20px; }
  .contact-form .wpcf7-form input[type="submit"] { width: 100%; padding: 16px; margin-top: 20px; }
  .contact-form .wpcf7-form > p.form-confirm-note { margin-top: 20px; }
  .contact-form .wpcf7-form > p:last-of-type { margin-bottom: 0; }
  .contact-form .wpcf7-spinner { margin-top: 0; }

  .contact-thanks { padding: 64px 0; }
  .contact-thanks__buttons .btn { width: 100%; }
}

/* ===========================================
   SERVICE PAGE（私たちにできること）SP版
   =========================================== */
@media (max-width: 768px) {

  /* --- Lead --- */
  .sv-lead { padding: 40px 0; }
  .sv-lead__imgs-left { gap: 12px; }
  .sv-lead__imgs-left .sv-lead__img { height: 160px; }
  .sv-lead__img--tall { height: 200px; min-height: 200px; margin-top: 12px; }
  .sv-lead__list li { font-size: 1.1rem; padding: 10px 0; }
  .sv-lead__catch { font-size: 1.2rem; }
  .sv-lead__desc { font-size: 1.1rem; line-height: 1.8; }

  /* --- Solutions --- */
  .sv-solutions { padding: 40px 0; }
  .sv-solutions__header { margin-bottom: 32px; }
  .sv-solutions__title { font-size: 1.25rem; line-height: 1.6; }
  .sv-solutions__sub { font-size: .8125rem; line-height: 1.8; text-align: left; text-align-last: left; }

  .sv-sol01 {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 32px;
  }
  .sv-sol01__title { font-size: 1.0625rem; }
  .sv-sol01__img img { height: 200px; }

  /* カードスクロール → 縦積みに変更 */
  .sv-sol-scroll-track { display: none; }
  .sv-sol-cards-scroll {
    flex-direction: column;
    overflow: visible;
    gap: 16px;
    padding-bottom: 0;
  }
  .sv-sol-card {
    flex: 1 1 auto;
    padding: 24px 16px;
    scroll-snap-align: none;
  }
  .sv-sol-card__head {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 20px;
  }
  .sv-sol-card__badge { width: 100px; height: 100px; font-size: 1.2rem; }
  .sv-sol-card__title { font-size: 1rem; }
  .sv-sol-card__sub {
    text-align: justify;
    text-align-last: left;
  }
  .sv-sol-card__features,
  .sv-sol-card__features--2col {
    grid-template-columns: 1fr;
  }
  .sv-sol-card__feature {
    border-right: none;
    border-bottom: 1px solid rgba(4,16,35,.06);
    padding: 16px 8px;
  }
  .sv-sol-card__feature:last-child { border-bottom: none; }
  .sv-sol-card__feat-title { font-size: 1rem; }
  .sv-sol-card__feat-icon img { width: 60px; height: 60px; }
  .sv-sol-card__feat-desc { font-size: .86rem; }

  /* --- Service --- */
  .sv-service { padding: 40px 0 0; }
  .sv-service__inner { grid-template-columns: 1fr; gap: 32px; }
  .sv-service__header { margin-bottom: 24px; }
  .sv-service__item { padding: 20px 0; }
  .sv-service__item-head { gap: 12px; }
  .sv-service__badge { width: 56px; height: 56px; }
  .sv-service__badge-num { font-size: 1rem; }
  .sv-service__item-title { font-size: .9375rem; }
  .sv-service__item-list li { font-size: .8rem; }

  /* 画像コラージュは非表示にし、各項目内の画像に切り替え */
  .sv-service__collage { display: none; }
  .sv-service__item-img {
    display: block;
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
    margin: 12px 0 16px;
  }

  /* --- Merit --- */
  .sv-merit-wrap { padding: 40px 0; }
  .sv-merit { padding: 32px 16px; }
  .sv-merit__header { margin-bottom: 32px; }
  .sv-merit__grid { flex-direction: column; align-items: center; gap: 20px; }
  .sv-merit__circle { width: 200px; height: 200px; }
  .sv-merit__circle-title { font-size: 1rem; }
  .sv-merit__circle-line { flex-shrink: 0; height: 2px; margin-bottom: 10px; }
  .sv-merit__circle-body { font-size: .8rem; }

  /* --- Flow --- */
  .sv-flow { padding: 20px 0 40px; }
  .sv-flow__header { margin-bottom: 24px; }
  .sv-flow__item {
    position: relative;
    grid-template-columns: 56px 36px 1fr;
    grid-template-rows: auto auto;
    column-gap: 12px;
    row-gap: 8px;
    align-items: start;
    padding: 0 0 24px;
  }
  /* 横線は非表示にし、バッジ同士をつなぐ縦線に変更 */
  .sv-flow__item { border-top: none !important; border-bottom: none !important; }
  .sv-flow__item::before {
    content: '';
    position: absolute;
    left: 23px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: rgba(31,78,95,.2);
    z-index: 0;
  }
  /* 最初の項目は丸数字01の中心から開始 */
  .sv-flow__item:first-child::before {
    top: 24px;
  }
  /* 最後の項目は丸数字04の中心まで */
  .sv-flow__item:last-child::before {
    bottom: auto;
    height: 24px;
  }
  .sv-flow__left { display: contents; }
  .sv-flow__badge {
    grid-column: 1; grid-row: 1;
    width: 48px; height: 48px;
    align-self: center;
    position: relative;
    z-index: 1;
    background: #fff;
  }
  .sv-flow__title-wrap { grid-column: 3; grid-row: 1; align-self: center; }
  .sv-flow__title { white-space: normal; font-size: 1.1rem; line-height: 1.4; }
  .sv-flow__sub { font-size: .75rem; margin-top: 2px; }
  .sv-flow__icon {
    grid-column: 2; grid-row: 1;
    text-align: left; padding: 0;
    align-self: center;
  }
  .sv-flow__icon img { width: 32px; }
  .sv-flow__right { grid-column: 2 / 4; grid-row: 2; }
  .sv-flow__desc { font-size: .9rem; line-height: 1.7; text-align: justify; text-align-last: left; }
}

/* ===========================================
   SP共通：0.8〜0.85rem テキスト本文を0.86rem / line-height:1.7 に統一
   =========================================== */
@media (max-width: 768px) {
  .greeting__career-body,
  .sv-sol-card__sub,
  .sv-service__item-list li,
  .ab-message__profile-title,
  .ab-message__profile-body,
  .ab-company__table th,
  .ab-company__table td,
  .news-row__excerpt,
  .sv-solutions__sub,
  .contact-form .wpcf7-form > p.form-confirm-note,
  .contact-form .wpcf7-form > p.form-confirm-note--sub,
  .contact-form .wpcf7-not-valid-tip {
    font-size: 0.86rem;
    line-height: 1.7;
  }
}

/* サンプル表記・地図プレースホルダー */
.sample-note { margin:0; font-size:12px; color:rgba(255,255,255,.8); text-align:center; line-height:1.8; }
.map-sample { display:flex; align-items:center; justify-content:center; min-height:300px; background:#e2ebea; color:#5f6b6a; font-size:14px; text-align:center; padding:20px; }

/* ヒーロー表示中は、ロゴを白にする（暗い背景で読めるように） */
/* ヒーロー表示中（PC）は、文字が白いロゴに切り替える */
.header-logo__img--hero { display: none; }
@media (min-width: 769px) {
  .site-header.is-hero-visible .header-logo__img { display: none; }
  .site-header.is-hero-visible .header-logo__img--hero { display: block; }
}
/* スマホでは、ヘッダーが白い帯の上に載るため、ロゴとタグラインは濃い色のまま */
@media (max-width: 768px) {
  .site-header.is-hero-visible .header-logo__tagline { color: var(--color-navy); }
}


/* HERO-SUB-ALIGN：説明文を、右側の丸いボタンの下端にそろえる（広い画面のみ） */
@media (min-width: 1100px) {
  .hero__sub { position: absolute; left: 80px; bottom: 60px; margin-top: 0; }
  .hero__catch { margin-bottom: 143px; } /* 説明文を外した分、キャッチコピーの位置が動かないよう、同じ高さを確保 */
}
