/* ============================================
   株式会社アクア 採用サイト
   カラー: 深藍(#0d2b45) × アクアブルー(#1e7f9e) × 白
   フォント: Noto Serif JP (見出し) / Noto Sans JP (本文)
   ============================================ */

:root {
  --navy: #0d2b45;
  --navy-2: #123a5c;
  --aqua: #1e7f9e;
  --aqua-light: #e8f3f7;
  --aqua-pale: #f4f9fb;
  --gold: #b8974f;
  --ink: #1f2a33;
  --gray: #5c6b76;
  --line: #d8e2e8;
  --white: #ffffff;
  --serif: "Noto Serif JP", "Yu Mincho", serif;
  --sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 72px; }

body {
  font-family: var(--sans);
  color: var(--ink);
  line-height: 1.9;
  background: var(--white);
  font-size: 16px;
  letter-spacing: 0.02em;
  /* 日本語の折り返しを文節単位にし、行末・行頭の禁則を厳格化(狭い画面での不自然な改行対策) */
  word-break: auto-phrase;
  line-break: strict;
}

/* 見出しは行の長さを均等化、本文は最終行の孤立を防ぐ */
.hero__title, .hero__lead, .page-hero__title, .section__title,
.cta-band__title, .philosophy-core__main, .message-quote p, .pull-quote p,
.job-card__name, .flow__title, .biz-card__title, .stat-tile__note,
.env-card h3, .rinen-card h3, .philo-card h3, .story-block h3,
.compare-col__title, .compare-col__sub, .word-card__quote, .link-card__title {
  text-wrap: balance;
}
p, li, dd, figcaption, summary, .job-table td, .company-table td,
.flow__text, .biz-card__text, .link-card__desc, .timeline__text {
  text-wrap: pretty;
}

img { max-width: 100%; display: block; }

a { color: var(--aqua); text-decoration: none; }

/* ---------- ヘッダー ---------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.header__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header__logo {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--navy);
  line-height: 1.3;
}
.header__logo small {
  display: block;
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 400;
  color: var(--gray);
  letter-spacing: 0.18em;
}
.header__nav { display: flex; gap: 26px; align-items: center; }
.header__nav a {
  font-size: 0.85rem;
  color: var(--ink);
  font-weight: 500;
}
.header__nav a:hover { color: var(--aqua); }
.header__nav .nav-entry {
  background: var(--navy);
  color: var(--white);
  padding: 10px 22px;
  border-radius: 2px;
  font-weight: 700;
}
.header__nav .nav-entry:hover { background: var(--aqua); color: var(--white); }

/* ---------- ヒーロー ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background:
    linear-gradient(rgba(13, 43, 69, 0.72), rgba(13, 43, 69, 0.55)),
    linear-gradient(160deg, #123a5c 0%, #1e7f9e 60%, #3fa3bf 100%);
  color: var(--white);
  padding: 120px 24px 80px;
}
.hero__inner { max-width: 1120px; margin: 0 auto; width: 100%; }
.hero__lead {
  font-size: 0.9rem;
  letter-spacing: 0.3em;
  color: #bfe0ec;
  margin-bottom: 20px;
}
.hero__title {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 4.6vw, 3.4rem);
  font-weight: 700;
  line-height: 1.55;
  margin-bottom: 28px;
}
.hero__sub {
  font-size: clamp(0.95rem, 1.6vw, 1.1rem);
  max-width: 640px;
  color: #e3f0f5;
  margin-bottom: 40px;
}
.hero__cta {
  display: inline-block;
  background: var(--white);
  color: var(--navy);
  font-weight: 700;
  padding: 16px 48px;
  border-radius: 2px;
  font-size: 1rem;
  transition: opacity 0.2s;
}
.hero__cta:hover { opacity: 0.85; color: var(--navy); }

/* ---------- セクション共通 ---------- */
.section { padding: 96px 24px; }
.section--pale { background: var(--aqua-pale); }
.section--navy { background: var(--navy); color: var(--white); }
.section__inner { max-width: 1120px; margin: 0 auto; }
.section__inner--narrow { max-width: 860px; margin: 0 auto; }

.hero__title, .section__title, .page-hero__title, .philosophy-core__main,
.cta-band__title, .pull-quote p, .word-card__quote, .message-quote p,
.link-card__title, .news-article__title {
  word-break: auto-phrase; /* 対応ブラウザでは文節単位で自然に折り返す */
  text-wrap: balance;
}
.nw { white-space: nowrap; } /* 見出し内の複合語を途中で改行させない */

.section__label {
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  color: var(--aqua);
  font-weight: 700;
  margin-bottom: 10px;
}
.section--navy .section__label { color: #7fc4d9; }
.section__title {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.5;
  margin-bottom: 40px;
}
.section--navy .section__title { color: var(--white); }

/* ---------- 理念 ---------- */
.philosophy-core {
  text-align: center;
  padding: 20px 0 8px;
}
.philosophy-core__main {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3.6vw, 2.5rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 28px;
  line-height: 1.6;
}
.philosophy-core__text {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: left;
  color: var(--ink);
}
.rinen-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 16px;
}
.rinen-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--aqua);
  padding: 30px 26px;
  text-align: left;
}
.rinen-card h3 {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 12px;
}
.rinen-card p { font-size: 0.9rem; color: var(--gray); }

/* ---------- 代表メッセージ ---------- */
.message-quote {
  border-left: 3px solid var(--gold);
  padding: 6px 0 6px 28px;
  margin: 36px 0;
}
.message-quote p {
  font-family: var(--serif);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: var(--navy);
  line-height: 2.1;
}
.message-body p { margin-bottom: 1.4em; }
.message-sign {
  margin-top: 36px;
  text-align: right;
}
.message-sign .sign-title { font-size: 0.82rem; color: var(--gray); }
.message-sign .sign-name {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
}

/* ---------- ストーリー ---------- */
.story-block { margin-bottom: 44px; }
.story-block h3 {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.story-block p { margin-bottom: 1.2em; }
.story-words {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 40px 0 10px;
}
.story-word {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding: 26px 12px;
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

/* ---------- フィロソフィー ---------- */
.philo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.philo-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 28px 22px;
}
.philo-card .num {
  font-family: var(--serif);
  font-size: 0.8rem;
  color: #7fc4d9;
  letter-spacing: 0.15em;
}
.philo-card h3 {
  font-family: var(--serif);
  font-size: 1.35rem;
  margin: 6px 0 12px;
  color: var(--white);
}
.philo-card p { font-size: 0.84rem; color: #cfe3ec; line-height: 1.8; }

/* ---------- 社長の言葉 ---------- */
.words-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.word-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-left: 3px solid var(--gold);
  padding: 30px 28px;
}
.word-card__quote {
  font-family: var(--serif);
  font-size: 1.02rem;
  line-height: 2;
  color: var(--white);
  margin-bottom: 14px;
}
.word-card__note {
  font-size: 0.8rem;
  color: #9fc3d2;
}
.words-caption {
  margin-top: 36px;
  font-size: 0.92rem;
  color: #cfe3ec;
  max-width: 760px;
}
@media (max-width: 760px) {
  .words-grid { grid-template-columns: 1fr; }
}

/* ---------- 働く環境 ---------- */
.env-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.env-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 32px 30px;
}
.env-card h3 {
  font-family: var(--serif);
  font-size: 1.08rem;
  color: var(--navy);
  margin-bottom: 12px;
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.env-card h3::before {
  content: "";
  width: 10px; height: 10px;
  background: var(--aqua);
  flex-shrink: 0;
  transform: translateY(-1px);
}
.env-card p { font-size: 0.92rem; color: var(--ink); }

/* ---------- 募集職種 ---------- */
.jobs-list { display: grid; gap: 20px; }
.job-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 34px 36px;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 28px;
  align-items: start;
}
.job-card__name {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.6;
}
.job-card__name small {
  display: block;
  font-family: var(--sans);
  font-size: 0.75rem;
  color: var(--aqua);
  font-weight: 500;
  margin-top: 6px;
}
.job-card__desc { font-size: 0.92rem; }
.job-card__desc p { margin-bottom: 0.6em; }

/* ---------- 会社概要 ---------- */
.company-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.company-table th,
.company-table td {
  text-align: left;
  padding: 16px 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.company-table th {
  width: 180px;
  color: var(--navy);
  font-weight: 700;
  white-space: nowrap;
}

/* ---------- エントリー ---------- */
.entry {
  text-align: center;
}
.entry__text { max-width: 640px; margin: 0 auto 40px; }
.entry__btn {
  display: inline-block;
  background: var(--white);
  color: var(--navy);
  font-weight: 700;
  font-size: 1.05rem;
  padding: 18px 64px;
  border-radius: 2px;
  transition: opacity 0.2s;
}
.entry__btn:hover { opacity: 0.85; color: var(--navy); }
.entry__note { margin-top: 20px; font-size: 0.82rem; color: #9fc3d2; }

/* ---------- フッター ---------- */
.footer {
  background: #081c2e;
  color: #8fa8b8;
  padding: 36px 24px;
  text-align: center;
  font-size: 0.8rem;
}
.footer .footer__name {
  font-family: var(--serif);
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 6px;
}

/* ---------- ヘッダー(ロゴ画像) ---------- */
.header__logo-link { display: flex; align-items: center; gap: 12px; }
.header__logo-img { height: 44px; width: auto; }
.header__nav a.is-active { color: var(--aqua); font-weight: 700; }

/* ---------- 写真ヒーロー(TOP) ---------- */
.hero--photo {
  background: none;
  position: relative;
  overflow: hidden;
}
.hero--photo .hero__bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
}
.hero--photo .hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(13, 43, 69, 0.52) 0%, rgba(13, 43, 69, 0.28) 55%, rgba(13, 43, 69, 0.08) 100%);
}
.hero--photo .hero__title,
.hero--photo .hero__lead,
.hero--photo .hero__sub {
  text-shadow: 0 1px 14px rgba(9, 30, 48, 0.55);
}
.hero--photo .hero__inner { position: relative; z-index: 1; }

/* ---------- 下層ページヒーロー ---------- */
.page-hero {
  position: relative;
  margin-top: 72px;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  overflow: hidden;
}
.page-hero__bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
}
.page-hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13, 43, 69, 0.12) 0%, rgba(9, 30, 48, 0.62) 100%);
}
.page-hero__inner {
  position: relative; z-index: 1;
  max-width: 1120px; margin: 0 auto; width: 100%;
  padding: 110px 24px 42px;
}
.page-hero__label { font-size: 0.8rem; letter-spacing: 0.3em; color: #bfe0ec; margin-bottom: 8px; }
.page-hero__title { font-family: var(--serif); font-size: clamp(1.6rem, 3.4vw, 2.4rem); font-weight: 700; line-height: 1.5; }

/* ---------- パンくず ---------- */
.breadcrumb { background: var(--aqua-pale); border-bottom: 1px solid var(--line); }
.breadcrumb ol {
  max-width: 1120px; margin: 0 auto; padding: 10px 24px;
  list-style: none; display: flex; gap: 8px; font-size: 0.78rem; color: var(--gray);
}
.breadcrumb li + li::before { content: "›"; margin-right: 8px; color: var(--gray); }

/* ---------- 写真グリッド ---------- */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.photo-grid figure {
  margin: 0; overflow: hidden; border-radius: 2px;
  aspect-ratio: 3 / 2; position: relative;
}
.photo-grid img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.5s ease;
}
.photo-grid figure:hover img { transform: scale(1.04); }
.photo-grid figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 18px 14px 10px;
  background: linear-gradient(180deg, transparent, rgba(9, 30, 48, 0.72));
  color: var(--white); font-size: 0.78rem;
}
.photo-grid--2 { grid-template-columns: repeat(2, 1fr); }

/* ---------- スプリット(写真+文章) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.split__img img { width: 100%; border-radius: 2px; display: block; }
.split--rev .split__img { order: 2; }

/* ---------- 数字で見るアクア(スタットタイル) ---------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.stat-tile {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--aqua);
  padding: 26px 20px 22px;
  text-align: center;
}
.stat-tile__label { font-size: 0.8rem; color: var(--gray); margin-bottom: 8px; }
.stat-tile__value {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 4.2vw, 2rem);
  font-weight: 700; color: var(--navy); line-height: 1.2;
  white-space: nowrap;
}
.stat-tile__value small { font-size: 0.95rem; font-weight: 700; margin-left: 2px; }
.stat-tile__note { font-size: 0.72rem; color: var(--gray); margin-top: 8px; }

/* ---------- 導線カード(TOP) ---------- */
.link-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.link-card {
  display: block; background: var(--white);
  border: 1px solid var(--line); border-radius: 2px; overflow: hidden;
  color: var(--ink); transition: box-shadow 0.25s;
}
.link-card:hover { box-shadow: 0 8px 28px rgba(13, 43, 69, 0.14); color: var(--ink); }
.link-card__img { aspect-ratio: 16 / 9; overflow: hidden; }
.link-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.link-card:hover .link-card__img img { transform: scale(1.05); }
.link-card__body { padding: 20px 22px 24px; }
.link-card__title {
  font-family: var(--serif); font-size: 1.08rem; font-weight: 700; color: var(--navy);
  display: flex; justify-content: space-between; align-items: center;
}
.link-card__title::after { content: "→"; color: var(--aqua); font-family: var(--sans); }
.link-card__desc { font-size: 0.85rem; color: var(--gray); margin-top: 8px; }

/* ---------- 図解: 理念体系(レイヤー) ---------- */
.diagram-note { font-size: 0.78rem; color: var(--gray); margin-top: 14px; text-align: center; }
.pyramid { max-width: 720px; margin: 0 auto; }
.pyramid__tier {
  color: var(--white); text-align: center;
  margin: 0 auto 6px; padding: 16px 12px; border-radius: 2px;
}
.pyramid__tier .t { font-family: var(--serif); font-weight: 700; font-size: 1.02rem; }
.pyramid__tier .d { font-size: 0.78rem; opacity: 0.85; margin-top: 2px; }
.pyramid__tier--1 { width: 52%; background: var(--navy); }
.pyramid__tier--2 { width: 66%; background: #164a72; }
.pyramid__tier--3 { width: 80%; background: var(--aqua); }
.pyramid__tier--4 { width: 92%; background: #4b9cb8; }
.pyramid__tier--5 { width: 100%; background: #7ab7cd; }

/* ---------- 図解: タイムライン ---------- */
.timeline { position: relative; max-width: 780px; margin: 0 auto; padding-left: 30px; }
.timeline::before {
  content: ""; position: absolute; left: 9px; top: 6px; bottom: 6px;
  width: 2px; background: var(--aqua);
}
.timeline__item { position: relative; padding: 0 0 34px 24px; }
.timeline__item::before {
  content: ""; position: absolute; left: -27px; top: 5px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--white); border: 3px solid var(--aqua);
}
.timeline__year { font-family: var(--serif); font-weight: 700; color: var(--aqua); font-size: 1.05rem; }
.timeline__title { font-weight: 700; color: var(--navy); margin: 2px 0 4px; }
.timeline__text { font-size: 0.88rem; color: var(--ink); }

/* ---------- 図解: ステップフロー(横) ---------- */
.flow { display: grid; grid-template-columns: repeat(var(--flow-n, 4), 1fr); gap: 30px; counter-reset: flow; }
.flow__step {
  position: relative; background: var(--white);
  border: 1px solid var(--line); border-top: 3px solid var(--aqua);
  padding: 44px 18px 20px; text-align: center; counter-increment: flow;
}
.flow__step::before {
  content: "0" counter(flow);
  position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
  font-family: var(--serif); font-weight: 700; color: var(--aqua); font-size: 1rem;
  letter-spacing: 0.1em;
}
.flow__step:not(:last-child)::after {
  content: "▶"; position: absolute; right: -22px; top: 50%; transform: translateY(-50%);
  color: var(--aqua); font-size: 0.8rem;
}
.flow__title { font-family: var(--serif); font-weight: 700; color: var(--navy); font-size: 0.98rem; margin-bottom: 6px; }
.flow__text { font-size: 0.8rem; color: var(--gray); }

/* ---------- 図解: キャリア階段 ---------- */
.career { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; align-items: end; }
.career__step { text-align: center; }
.career__box {
  color: var(--white); border-radius: 2px 2px 0 0;
  display: flex; flex-direction: column; justify-content: center; padding: 12px 8px;
}
.career__step:nth-child(1) .career__box { height: 90px;  background: #7ab7cd; }
.career__step:nth-child(2) .career__box { height: 130px; background: #4b9cb8; }
.career__step:nth-child(3) .career__box { height: 170px; background: var(--aqua); }
.career__step:nth-child(4) .career__box { height: 210px; background: var(--navy); }
.career__box .t { font-family: var(--serif); font-weight: 700; font-size: 0.98rem; }
.career__box .d { font-size: 0.72rem; opacity: 0.9; margin-top: 4px; }
.career__base { border-top: 3px solid var(--navy); padding-top: 8px; font-size: 0.78rem; color: var(--gray); }

/* ---------- 事業カード ---------- */
.biz-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.biz-grid--5 { grid-template-columns: repeat(5, 1fr); }
.biz-card {
  background: var(--white); border: 1px solid var(--line);
  padding: 26px 20px; text-align: center;
}
.biz-card__num { font-family: var(--serif); color: var(--aqua); font-size: 0.8rem; letter-spacing: 0.15em; }
.biz-card__title { font-family: var(--serif); font-weight: 700; color: var(--navy); font-size: 1.05rem; margin: 6px 0 10px; }
.biz-card__text { font-size: 0.82rem; color: var(--gray); text-align: left; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; }
.faq details {
  background: var(--white); border: 1px solid var(--line);
  border-radius: 2px; margin-bottom: 12px; padding: 0 22px;
}
.faq summary {
  cursor: pointer; list-style: none;
  padding: 18px 0; font-weight: 700; color: var(--navy);
  display: flex; gap: 12px; align-items: baseline;
}
.faq summary::before { content: "Q."; font-family: var(--serif); color: var(--aqua); font-weight: 700; }
.faq details p { padding: 0 0 18px 30px; font-size: 0.92rem; }

/* ---------- 求人バナー画像 ---------- */
.job-card__banner { margin: 0 0 18px; border-radius: 2px; overflow: hidden; }
.job-card__banner img { width: 100%; display: block; }
.job-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; margin-top: 14px; }
.job-table th, .job-table td { text-align: left; padding: 10px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.job-table th { width: 120px; color: var(--navy); white-space: nowrap; font-weight: 700; }

/* ---------- CTAバンド(全ページ共通) ---------- */
.cta-band {
  position: relative; overflow: hidden;
  color: var(--white); text-align: center;
}
.cta-band--plain { background: linear-gradient(120deg, var(--navy) 0%, #164a72 100%); }
.cta-band__bg { position: absolute; inset: 0; background-size: cover; background-position: center 30%; }
.cta-band__bg::after { content: ""; position: absolute; inset: 0; background: rgba(9, 30, 48, 0.8); }
.cta-band__inner { position: relative; z-index: 1; padding: 84px 24px; max-width: 860px; margin: 0 auto; }
.cta-band__title { font-family: var(--serif); font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 700; margin-bottom: 16px; }
.cta-band__text { color: #d9e8ef; font-size: 0.95rem; margin-bottom: 32px; }

/* ---------- 対比図解(2カラム) ---------- */
.compare-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
  max-width: 1000px; margin: 0 auto;
}
.compare-col {
  background: var(--white); border: 1px solid var(--line);
  padding: 28px 26px;
}
.compare-col--bad { border-top: 3px solid #b05a5a; }
.compare-col--good { border-top: 3px solid var(--aqua); }
.compare-col__title {
  font-family: var(--serif); font-weight: 700; font-size: 1.05rem;
  margin-bottom: 6px;
}
.compare-col--bad .compare-col__title { color: #9a4a4a; }
.compare-col--good .compare-col__title { color: var(--aqua); }
.compare-col__sub { font-size: 0.78rem; color: var(--gray); margin-bottom: 14px; }
.compare-col ol { margin: 0; padding-left: 1.4em; font-size: 0.9rem; }
.compare-col ol li { margin-bottom: 6px; }
.compare-col p { font-size: 0.9rem; }

/* ---------- インサイドアウト同心円 ---------- */
.inside-out { max-width: 640px; margin: 0 auto; }
.io-ring {
  border: 2px solid var(--aqua); border-radius: 14px;
  padding: 14px; text-align: center;
}
.io-ring > .io-label {
  font-family: var(--serif); font-weight: 700; color: var(--navy);
  font-size: 0.92rem; padding: 4px 0 10px;
}
.io-ring--1 { background: #eef7fa; }
.io-ring--2 { background: #e2f0f6; }
.io-ring--3 { background: #d3e8f0; }
.io-ring--4 {
  background: var(--navy); border-color: var(--navy); color: var(--white);
  padding: 18px 12px;
}
.io-ring--4 .io-label { color: var(--white); padding: 0; }
.io-ring--4 .io-sub { font-size: 0.75rem; color: #bfe0ec; margin-top: 4px; }

/* ---------- 5倍の付加価値バー ---------- */
.value5 { max-width: 900px; margin: 0 auto; }
.value5__bar { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
.value5__seg {
  color: var(--white); text-align: center;
  padding: 22px 6px; font-size: 0.82rem; font-weight: 700; border-radius: 2px;
}
.value5__seg small { display: block; font-weight: 400; font-size: 0.7rem; opacity: 0.9; margin-top: 4px; }
.value5__seg:nth-child(1) { background: var(--navy); }
.value5__seg:nth-child(2) { background: #164a72; }
.value5__seg:nth-child(3) { background: var(--aqua); }
.value5__seg:nth-child(4) { background: #4b9cb8; }
.value5__seg:nth-child(5) { background: #7ab7cd; }

/* ---------- サイクル連鎖 ---------- */
.cycle-chain { list-style: none; margin: 0; padding: 0; }
.cycle-chain li {
  position: relative; background: var(--aqua-pale);
  border: 1px solid var(--line); border-radius: 2px;
  padding: 10px 14px; margin-bottom: 26px; font-size: 0.88rem;
}
.cycle-chain li:not(:last-child)::after {
  content: "▼"; position: absolute; left: 50%; bottom: -21px;
  transform: translateX(-50%); font-size: 0.7rem; color: var(--gray);
}
.cycle-chain li:last-child { margin-bottom: 0; }
.compare-col--bad .cycle-chain li { background: #f8efef; }
.cycle-chain__loop {
  text-align: center; font-size: 0.78rem; color: var(--gray); margin-top: 12px;
}

/* ---------- 2つのピラミッド ---------- */
.pyr2 {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px;
  align-items: center; max-width: 1000px; margin: 0 auto;
}
.pyr2__side h3 {
  font-family: var(--serif); text-align: center; color: var(--navy);
  font-size: 1rem; margin-bottom: 14px;
}
.pyr2 .pyramid__tier { padding: 9px 8px; }
.pyr2 .pyramid__tier .t { font-size: 0.85rem; }
.pyr2__center {
  text-align: center; font-family: var(--serif); font-weight: 700;
  color: var(--white); background: var(--gold);
  border-radius: 50%; width: 132px; height: 132px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-size: 0.9rem; line-height: 1.5; padding: 10px;
}
@media (max-width: 900px) {
  .compare-grid { grid-template-columns: 1fr; }
  .pyr2 { grid-template-columns: 1fr; }
  .pyr2__center { margin: 0 auto; }
  .value5__bar { grid-template-columns: 1fr; }
}

/* ---------- お知らせ ---------- */
.news-list { max-width: 900px; margin: 0 auto; }
.news-list__item {
  display: grid;
  grid-template-columns: 110px 90px 1fr;
  gap: 18px; align-items: baseline;
  padding: 18px 6px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.news-list__item:hover { background: var(--aqua-pale); color: var(--ink); }
.news-list__date { font-size: 0.85rem; color: var(--gray); font-family: var(--sans); }
.news-list__tag {
  font-size: 0.7rem; text-align: center;
  background: var(--aqua-light); color: var(--aqua);
  border-radius: 2px; padding: 3px 8px; font-weight: 700;
}
.news-list__title { font-size: 0.95rem; font-weight: 500; }
.news-article { max-width: 860px; margin: 0 auto; }
.news-article__meta { display: flex; gap: 14px; align-items: center; margin-bottom: 12px; }
.news-article__title {
  font-family: var(--serif); font-size: clamp(1.3rem, 2.6vw, 1.7rem);
  font-weight: 700; color: var(--navy); line-height: 1.6;
  padding-bottom: 16px; border-bottom: 2px solid var(--aqua); margin-bottom: 24px;
}
.news-article__body p { margin-bottom: 1.3em; }
.news-article .photo-grid { margin: 28px 0; }
.news-article + .news-article { margin-top: 72px; }
@media (max-width: 640px) {
  .news-list__item { grid-template-columns: 92px 1fr; }
  .news-list__title { grid-column: 1 / -1; }
}

/* ---------- 語録引用(単発) ---------- */
.pull-quote {
  max-width: 780px; margin: 0 auto; text-align: center;
}
.pull-quote p {
  font-family: var(--serif); font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  color: var(--navy); line-height: 2;
}
.section--navy .pull-quote p { color: var(--white); }
.pull-quote cite { display: block; margin-top: 16px; font-style: normal; font-size: 0.8rem; color: var(--gray); }

/* ---------- レスポンシブ ---------- */
@media (max-width: 900px) {
  .philo-grid { grid-template-columns: repeat(2, 1fr); }
  .rinen-grid { grid-template-columns: 1fr; }
  .header__nav a:not(.nav-entry) { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .link-cards { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 24px; }
  .split--rev .split__img { order: 0; }
  .flow { grid-template-columns: 1fr; gap: 18px; }
  .flow__step:not(:last-child)::after { content: "▼"; right: auto; left: 50%; top: auto; bottom: -18px; transform: translateX(-50%); }
  .career { grid-template-columns: repeat(2, 1fr); align-items: end; }
  .biz-grid { grid-template-columns: repeat(2, 1fr); }
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .section { padding: 64px 20px; }
  .env-grid { grid-template-columns: 1fr; }
  .philo-grid { grid-template-columns: 1fr; }
  .story-words { grid-template-columns: 1fr; }
  .job-card { grid-template-columns: 1fr; gap: 12px; }
  /* 表は項目名を上・内容を下の縦積みにする(横並びだと内容欄が狭く、文の途中で改行されるため) */
  .job-table th, .job-table td,
  .company-table th, .company-table td { display: block; width: auto; }
  .job-table th, .company-table th { border-bottom: 0; padding: 12px 0 0; }
  .job-table td, .company-table td { padding: 2px 0 12px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .photo-grid { grid-template-columns: 1fr; }
  .biz-grid { grid-template-columns: 1fr; }
  .header__logo-img { height: 36px; }
  /* スマホでは見出し内の強制改行を解除し、自然な折り返しに任せる */
  /* ヒーローのキャッチと企業理念は意図した位置(「不動産を通じて、」の後)で改行させたいので br を残す */
  .section__title br, .message-quote br,
  .pull-quote br, .cta-band__title br { display: none; }
  .hero__title, .section__title { line-height: 1.6; }
  /* 狭い端末(320〜360px)でも「未来を明るく豊かに。」が1行に収まるサイズに */
  .hero__title { font-size: clamp(1.6rem, 7.7vw, 1.9rem); }
}

/* ---------- 採用Q&A(動画) ---------- */
.qa-lead {
  text-align: center; max-width: 760px; margin: 0 auto 30px;
  color: var(--gray); font-size: 0.95rem; line-height: 1.9;
}
.qa-video {
  max-width: 880px; margin: 0 auto; background: #000;
  border-radius: 2px; overflow: hidden;
  box-shadow: 0 10px 34px rgba(13, 43, 69, 0.16);
}
.qa-video video { width: 100%; aspect-ratio: 16 / 9; display: block; }
@media (max-width: 640px) {
  .qa-lead { text-align: left; font-size: 0.9rem; }
}

/* ---------- 採用Q&A 章ジャンプ ---------- */
.qa-chapters {
  list-style: none; padding: 0;
  max-width: 880px; margin: 22px auto 0;
  border-top: 1px solid rgba(13, 43, 69, 0.12);
}
.qa-chapters li { border-bottom: 1px solid rgba(13, 43, 69, 0.12); }
.qa-chapter {
  display: grid; grid-template-columns: 42px 1fr auto; align-items: center; gap: 12px;
  width: 100%; padding: 15px 6px; background: none; border: 0; cursor: pointer;
  font-family: inherit; font-size: 0.95rem; color: var(--ink); text-align: left;
  transition: background 0.2s;
}
.qa-chapter:hover { background: rgba(255, 255, 255, 0.7); }
.qa-chapter__no {
  font-family: var(--serif); font-weight: 700; color: var(--aqua); font-size: 0.9rem;
}
.qa-chapter__time { color: var(--gray); font-size: 0.82rem; font-variant-numeric: tabular-nums; }
.qa-note { text-align: center; color: var(--gray); font-size: 0.8rem; margin-top: 14px; }
@media (max-width: 640px) {
  .qa-chapter { grid-template-columns: 34px 1fr auto; gap: 8px; font-size: 0.88rem; padding: 13px 4px; }
  .qa-chapter__time { font-size: 0.76rem; }
}

/* =========================================================
   コーポレートサイト版の追加(2026-09-14)
   既存クラスは変えず、ナビ項目増加・スタッフ・口コミ・お問い合わせフォーム分だけ足す
   ========================================================= */
.header__nav { gap: 18px; }
.header__nav a { font-size: 0.82rem; }
.header__nav .nav-ext::after { content: "↗"; font-size: 0.7em; margin-left: 2px; color: var(--gray); }
@media (max-width: 1080px) {
  .header__nav { gap: 14px; }
  .header__nav a { font-size: 0.78rem; }
}

/* フッターのサイトナビ(スマホではヘッダーのナビが隠れるため、ここを主導線にする) */
.footer__nav {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px;
  max-width: 900px; margin: 0 auto 18px; padding: 0 16px;
}
.footer__nav a { color: #d9e8ef; font-size: 0.82rem; }
.footer__nav a:hover { color: #7fc4d9; }

/* スマホ用 ページ内ナビ(ヘッダー直下の横スクロール) */
.sp-nav { display: none; }
@media (max-width: 900px) {
  .sp-nav {
    display: flex; gap: 6px; overflow-x: auto; padding: 8px 16px;
    background: var(--white); border-bottom: 1px solid var(--line);
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
    position: sticky; top: 72px; z-index: 40;
  }
  .sp-nav::-webkit-scrollbar { display: none; }
  .sp-nav a {
    flex: 0 0 auto; font-size: 0.78rem; color: var(--ink); padding: 6px 12px;
    border: 1px solid var(--line); border-radius: 999px; white-space: nowrap;
  }
  .sp-nav a.is-active { background: var(--navy); color: var(--white); border-color: var(--navy); }
}

/* 事業内容ページ */
.biz-detail { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: start; padding: 40px 0; border-top: 1px solid var(--line); }
.biz-detail:first-of-type { border-top: 0; padding-top: 0; }
.biz-detail__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 2px; }
.biz-detail__num { font-family: var(--serif); color: var(--aqua); font-size: 0.8rem; letter-spacing: 0.15em; }
.biz-detail__title { font-family: var(--serif); font-weight: 700; color: var(--navy); font-size: 1.4rem; margin: 6px 0 14px; }
.biz-detail ul { margin: 14px 0 0; padding-left: 1.2em; color: var(--gray); font-size: 0.9rem; }
.biz-detail li + li { margin-top: 4px; }
@media (max-width: 760px) { .biz-detail { grid-template-columns: 1fr; gap: 18px; } }

/* スタッフ紹介 */
.staff-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.staff-card { background: var(--white); border: 1px solid var(--line); border-radius: 2px; overflow: hidden; display: flex; flex-direction: column; }
.staff-card__img { aspect-ratio: 4 / 5; background: var(--aqua-pale); overflow: hidden; }
.staff-card__img img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.staff-card__img--none { display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 3rem; color: var(--navy); opacity: 0.35; }
.staff-card__body { padding: 18px 20px 22px; display: grid; gap: 6px; }
.staff-card__role { font-size: 0.75rem; color: var(--aqua); letter-spacing: 0.08em; }
.staff-card__name { font-family: var(--serif); font-weight: 700; color: var(--navy); font-size: 1.15rem; line-height: 1.4; }
.staff-card__name small { display: block; font-family: var(--sans); font-weight: 400; font-size: 0.72rem; color: var(--gray); letter-spacing: 0.06em; }
.staff-card__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.staff-card__tags span { font-size: 0.7rem; color: var(--navy); background: var(--aqua-pale); padding: 2px 8px; border-radius: 2px; }
.staff-card__comment { font-size: 0.86rem; color: var(--gray); margin-top: 6px; line-height: 1.85; }
@media (max-width: 900px) { .staff-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .staff-grid { grid-template-columns: 1fr; } }

/* お客様の声(Google口コミ) */
.review-summary { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 28px; margin: 0 auto 32px; }
.review-summary__score { font-family: var(--serif); font-size: 3rem; font-weight: 700; color: var(--navy); line-height: 1; font-variant-numeric: tabular-nums; }
.review-summary__stars { color: #e0a52b; font-size: 1.3rem; letter-spacing: 2px; }
.review-summary__meta { font-size: 0.85rem; color: var(--gray); }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review-card { background: var(--white); border: 1px solid var(--line); border-radius: 2px; padding: 22px 22px 20px; display: grid; gap: 10px; align-content: start; }
.review-card__stars { color: #e0a52b; letter-spacing: 1px; }
.review-card__text { font-size: 0.9rem; line-height: 1.9; }
.review-card__meta { font-size: 0.75rem; color: var(--gray); }
@media (max-width: 900px) { .review-grid { grid-template-columns: 1fr; } }

/* お問い合わせフォーム */
.contact-form { max-width: 760px; margin: 0 auto; display: grid; gap: 20px; }
.contact-form__row { display: grid; gap: 6px; }
.contact-form label, .contact-form__legend { font-weight: 700; color: var(--navy); font-size: 0.92rem; }
.contact-form .req { font-size: 0.7rem; color: var(--white); background: #b5473a; padding: 1px 6px; border-radius: 2px; margin-left: 8px; vertical-align: 2px; }
.contact-form .opt { font-size: 0.7rem; color: var(--gray); border: 1px solid var(--line); padding: 0 6px; border-radius: 2px; margin-left: 8px; vertical-align: 2px; }
.contact-form input[type="text"], .contact-form input[type="email"], .contact-form input[type="tel"],
.contact-form select, .contact-form textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--white);
  border: 1px solid #c7d3da; border-radius: 2px; padding: 12px 14px;
}
.contact-form textarea { min-height: 170px; resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: 2px solid var(--aqua); outline-offset: 1px; border-color: var(--aqua); }
.contact-form__choices { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.contact-form__choices label { font-weight: 400; color: var(--ink); display: inline-flex; align-items: center; gap: 6px; }
.contact-form__consent { font-size: 0.88rem; }
.contact-form__consent label { font-weight: 400; color: var(--ink); }
.contact-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form__submit {
  justify-self: center; font: inherit; font-weight: 700; font-size: 1rem; cursor: pointer;
  background: var(--navy); color: var(--white); border: 0; border-radius: 2px; padding: 16px 56px;
}
.contact-form__submit:hover { background: var(--aqua); }
.contact-form__submit[disabled] { opacity: 0.6; cursor: wait; }
.contact-form__status { text-align: center; font-size: 0.92rem; min-height: 1.6em; }
.contact-form__status.is-ok { color: #2f6b45; font-weight: 700; }
.contact-form__status.is-err { color: #b5473a; font-weight: 700; }
.contact-tel { text-align: center; margin: 0 auto 36px; }
.contact-tel__num { font-family: var(--serif); font-size: 1.8rem; font-weight: 700; color: var(--navy); font-variant-numeric: tabular-nums; }
.contact-tel__note { font-size: 0.82rem; color: var(--gray); }

/* プライバシーポリシー */
.policy { max-width: 860px; margin: 0 auto; }
.policy h2 { font-family: var(--serif); color: var(--navy); font-size: 1.1rem; margin: 34px 0 10px; }
.policy p, .policy li { font-size: 0.92rem; }
.policy ol, .policy ul { padding-left: 1.3em; }

/* スマホ幅の調整(2026-09-14 390px検品) */
.header__nav .nav-entry { white-space: nowrap; }
.lead-center { max-width: 760px; margin: 0 auto 36px; text-align: center; }
@media (max-width: 640px) {
  .header__nav .nav-entry { padding: 9px 14px; font-size: 0.78rem; }
  .header__logo small { display: none; }
  .lead-center { text-align: left; }
}

/* 事業カード3枚(介護・福祉事業は公表まで伏せる 2026-09-14) */
.biz-grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .biz-grid--3 { grid-template-columns: 1fr; } }
