@charset "utf-8";

/* =========================================================
   縁リアルエステート株式会社 — コーポレートサイト
   設計方針：和モダン／明るい紙面／40〜80代に配慮した可読性
   - 本文18px以上・行間1.9
   - 薄いグレー文字を使わない（本文コントラスト比7:1以上）
   - 電話番号を常時表示
   ========================================================= */

:root {
  /* ブランドカラー（ロゴから抽出） */
  --green: #2d6a3d;
  --green-deep: #1f4e2c;
  --green-pale: #eef3ee;
  --ink: #2d2624;

  /* 文字・罫線 */
  --ink-sub: #55483f; /* 補助文字。白背景でコントラスト比 8.4:1 */
  --line: #ded7ca;
  --line-soft: #ebe6dc;

  /* 背景 */
  --paper: #ffffff;
  --washi: #f8f6f1; /* 生成り */
  --washi-deep: #f2eee5;

  /* アクセント */
  --gold: #a67c2e;
  --alert: #a8402f;

  --shadow-sm: 0 2px 10px rgba(45, 38, 36, 0.06);
  --shadow-md: 0 10px 34px rgba(45, 38, 36, 0.1);
  --shadow-lg: 0 22px 60px rgba(45, 38, 36, 0.16);

  --serif: "Noto Serif JP", "Hiragino Mincho ProN", serif;
  --sans: "Noto Sans JP", system-ui, -apple-system, sans-serif;

  --wrap: 1120px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 108px; /* 固定ヘッダー分 */
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.9;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1.2em; }
p:last-child { margin-bottom: 0; }

/* 日本語の改行を文節単位にする（「下がりま／す」のような読みにくい折返しを防ぐ）。
   ただし狭い画面では文節が1行に収まらず横にはみ出すため、PC・タブレット幅のみに適用する。
   スマホでは通常の日本語折返し（任意位置で改行）に任せる。 */
@media (min-width: 769px) {
  h1, h2, h3, p, li, summary, cite, .field-label, td, th {
    word-break: auto-phrase;
  }
}
/* balance は行数を揃えようとして見出しを不自然に割るため、pretty（行末の孤立防止）を使う */
h1, h2, h3 { text-wrap: pretty; }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.wrap {
  width: min(100% - 48px, var(--wrap));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 12px 20px;
  background: var(--ink);
  color: #fff;
}
.skip-link:focus { left: 0; }

/* =========================================================
   ボタン
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--sans);
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  border: 2px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--green);
  color: #fff;
  box-shadow: var(--shadow-md);
}
.btn-primary:hover { background: var(--green-deep); }

.btn-tel {
  flex-direction: column;
  gap: 2px;
  background: #fff;
  color: var(--green-deep);
  border-color: var(--green);
  box-shadow: var(--shadow-sm);
}
.btn-tel:hover { background: var(--green-pale); }
.btn-tel-sub { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.08em; }
.btn-tel-num {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.btn-sm { padding: 12px 20px; font-size: 0.95rem; }
.btn-lg { padding: 20px 40px; font-size: 1.2rem; }

/* 査定ボタンの2行組み（上：かんたん1分・無料／下：本文） */
.btn-stack { flex-direction: column; gap: 2px; }
.btn-cta-sub { font-size: 0.78rem; font-weight: 500; letter-spacing: 0.08em; }
.btn-primary .btn-cta-sub { color: #e8c87d; }
.btn-white .btn-cta-sub { color: #a67c2e; }
.btn-block { width: 100%; padding: 22px; font-size: 1.2rem; }

/* =========================================================
   ヘッダー
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
}

.header-inner {
  width: min(100% - 40px, 1440px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 12px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.brand-mark { width: 46px; height: auto; }
.brand-text { display: flex; align-items: baseline; gap: 5px; }
.brand-text strong {
  font-family: var(--serif);
  font-size: 1.32rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ink);
}
.brand-text small { font-size: 0.78rem; color: var(--ink-sub); }

.header-nav {
  display: flex;
  gap: 22px;
  margin-inline: auto;
  font-size: 0.96rem;
  font-weight: 500;
}
.header-cta { flex-shrink: 0; white-space: nowrap; }
.header-nav a {
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
}
.header-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}
.header-nav a:hover::after { transform: scaleX(1); }

.header-contact {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
}

.header-tel { display: flex; flex-direction: column; line-height: 1.35; }
.header-tel-label {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--ink-sub);
  letter-spacing: 0.08em;
}
.header-tel-num {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--green-deep);
  letter-spacing: 0.01em;
}
.header-tel-hours { font-size: 0.68rem; }

/* =========================================================
   ヒーロー
   ========================================================= */
.hero {
  position: relative;
  min-height: min(78vh, 660px);
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% center;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(255, 255, 255, 0.97) 0%,
    rgba(255, 255, 255, 0.94) 34%,
    rgba(255, 255, 255, 0.72) 52%,
    rgba(255, 255, 255, 0.18) 74%,
    rgba(255, 255, 255, 0.05) 100%
  );
}
.hero-inner {
  position: relative;
  width: min(100% - 48px, var(--wrap));
  margin-inline: auto;
  padding: 72px 0;
  max-width: 760px;
}

.hero-eyebrow {
  display: inline-block;
  margin-bottom: 20px;
  padding: 7px 18px;
  background: var(--green);
  color: #fff;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  border-radius: 3px;
}

.hero-title {
  margin: 0 0 22px;
  font-family: var(--serif);
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.01em;
}

.hero-lead {
  margin-bottom: 26px;
  font-size: 1.15rem;
  line-height: 1.95;
  color: var(--ink-sub);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  margin: 0 0 32px;
  padding: 0;
  list-style: none;
}
.hero-points li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px 9px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.96rem;
  font-weight: 500;
  box-shadow: var(--shadow-sm);
}
.hero-points li::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }

.hero-note {
  margin-top: 20px;
  font-size: 0.92rem;
  color: var(--ink-sub);
}

/* =========================================================
   理念の一言（帯）
   ========================================================= */
.creed {
  padding: 42px 24px;
  background: var(--green-deep);
  text-align: center;
}
.creed-text {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2.4vw, 1.7rem);
  font-weight: 500;
  line-height: 1.8;
  color: #fff;
  letter-spacing: 0.04em;
}
.creed-text span { color: #e8c87d; }

/* =========================================================
   セクション共通
   ========================================================= */
.section { padding: clamp(64px, 8vw, 108px) 0; }

.sec-head { max-width: 780px; margin-bottom: 52px; }

.kicker {
  margin: 0 0 12px;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--green);
}
.kicker::before {
  content: "";
  display: inline-block;
  width: 26px;
  height: 2px;
  margin-right: 12px;
  vertical-align: middle;
  background: var(--green);
}

.sec-head h2,
.section > .wrap > h2 {
  margin: 0 0 18px;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  font-weight: 700;
  line-height: 1.55;
}

.sec-lead {
  font-size: 1.05rem;
  color: var(--ink-sub);
  margin: 0;
}

/* =========================================================
   事業カード
   ========================================================= */
/* 4事業は2×2で見せる。1枚あたりを大きくし、読みやすさを優先 */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.svc-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 36px 30px 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  overflow: hidden;
}
.svc-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 4px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.svc-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--green);
}
.svc-card:hover::before { transform: scaleX(1); }

.svc-illust {
  display: block;
  width: calc(100% + 60px);
  max-width: none;
  height: auto;
  margin: -36px -30px 24px;
  border-bottom: 1px solid var(--line);
}

.svc-num {
  font-family: var(--serif);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--gold);
}

.svc-card h3 {
  margin: 6px 0 16px;
  font-family: var(--serif);
  font-size: 1.42rem;
  font-weight: 700;
  line-height: 1.5;
}

.svc-voice {
  margin: 0 0 16px;
  padding: 12px 16px;
  background: var(--washi);
  border-left: 3px solid var(--line);
  font-size: 0.95rem;
  color: var(--ink-sub);
  border-radius: 0 4px 4px 0;
}

.svc-desc {
  font-size: 0.98rem;
  line-height: 1.85;
  color: var(--ink-sub);
  margin-bottom: 22px;
}

.svc-more {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--green);
}
.svc-more::after {
  content: "　→";
  transition: margin 0.2s ease;
}
.svc-card:hover .svc-more::after { margin-left: 6px; }

.area-note {
  margin-top: 36px;
  padding: 20px 26px;
  background: var(--green-pale);
  border-radius: 6px;
  font-size: 1rem;
  text-align: center;
}
.area-note strong { color: var(--green-deep); }

/* =========================================================
   理念
   ========================================================= */
.philosophy { background: var(--washi); }

.phil-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 64px;
  align-items: center;
}

.phil-title {
  margin: 0 0 28px;
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4.6vw, 3.4rem);
  font-weight: 700;
  line-height: 1.45;
  color: var(--green-deep);
}

.phil-copy p { color: var(--ink-sub); }

/* 理念の4つの言葉。左上の余白を埋めつつ主張の核にする */
.phil-values {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}
.phil-values li {
  padding: 16px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 3px solid var(--green);
  border-radius: 6px;
  font-family: var(--serif);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--green-deep);
}

.vision {
  margin: 32px 0;
  padding: 26px 30px;
  background: #fff;
  border-left: 4px solid var(--gold);
  border-radius: 0 6px 6px 0;
  box-shadow: var(--shadow-sm);
}
.vision p {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 1.32rem;
  font-weight: 600;
  color: var(--ink);
}
.vision cite {
  font-size: 0.88rem;
  font-style: normal;
  color: var(--ink-sub);
}

.phil-close { margin-bottom: 0; }

/* 経営メンバー：代表と取締役を横並びに（縦積みだと左の文章と高さが釣り合わない） */
.phil-team {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.team-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.member { margin: 0; }
.member-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
}
.member figcaption {
  margin-top: 20px;
  text-align: center;
}

/* 二人の写真の下に置く共通メッセージ */
.member-message {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.18rem;
  font-weight: 600;
  line-height: 1.8;
  color: var(--green-deep);
  text-align: center;
}

.member-name {
  display: inline-block;
  margin: 0;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}


/* =========================================================
   正直な話
   ========================================================= */
.honest { background: var(--paper); }

.honest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.honest-card {
  padding: 34px 30px;
  background: var(--washi);
  border: 1px solid var(--line-soft);
  border-radius: 8px;
}
.honest-card h3 {
  position: relative;
  margin: 0 0 16px;
  padding-left: 34px;
  font-family: var(--serif);
  font-size: 1.24rem;
  font-weight: 700;
  line-height: 1.55;
  color: var(--alert);
}
.honest-card h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.32em;
  width: 22px;
  height: 22px;
  border: 2px solid var(--alert);
  border-radius: 50%;
  background:
    linear-gradient(var(--alert), var(--alert)) center/2px 9px no-repeat,
    linear-gradient(var(--alert), var(--alert)) center/9px 2px no-repeat;
  transform: rotate(45deg);
}
.honest-card p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.9;
  color: var(--ink-sub);
}

.honest-close {
  margin: 40px 0 0;
  padding: 28px;
  background: var(--green-pale);
  border-radius: 6px;
  font-size: 1.12rem;
  text-align: center;
}
.honest-close strong { color: var(--green-deep); }

/* =========================================================
   お客様の声・事例（差し込み待ち）
   ========================================================= */
.voices { background: var(--washi); }
.cases { background: var(--washi); }

.voice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 24px;
}

.voice-card {
  position: relative;
  margin: 0;
  padding: 52px 30px 32px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}
/* 引用符を和紙色の飾りとして置く */
.voice-card::before {
  content: "”";
  position: absolute;
  top: 6px;
  left: 24px;
  font-family: var(--serif);
  font-size: 4.2rem;
  font-weight: 700;
  line-height: 1;
  color: var(--washi-deep);
}
.voice-card blockquote { margin: 0; }

.voice-head {
  margin: 0 0 14px;
  font-family: var(--serif);
  font-size: 1.16rem;
  font-weight: 600;
  line-height: 1.7;
  color: var(--green-deep);
}
.voice-card p:last-child {
  margin: 0;
  font-size: 0.97rem;
  line-height: 1.9;
  color: var(--ink-sub);
}

.voice-note {
  margin: 28px 0 0;
  font-size: 0.9rem;
  color: var(--ink-sub);
  text-align: center;
}

/* =========================================================
   買取の流れ
   ========================================================= */
.flow-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}
.flow-list li {
  position: relative;
  display: flex;
  gap: 20px;
  padding: 34px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}
.flow-num {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  background: var(--green);
  color: #fff;
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 700;
}
.flow-list h3 {
  margin: 4px 0 10px;
  font-family: var(--serif);
  font-size: 1.28rem;
  font-weight: 700;
}
.flow-list p {
  margin: 0;
  font-size: 0.97rem;
  color: var(--ink-sub);
}

/* =========================================================
   お問い合わせ
   ========================================================= */
.contact { background: var(--green-deep); color: #fff; }
.contact .kicker { color: #e8c87d; }
.contact .kicker::before { background: #e8c87d; }
.contact h2 {
  margin: 0 0 20px;
  font-family: var(--serif);
  /* 「売れるかどうか」だけでも、／確かめてみませんか。の2行に収まる上限に抑える */
  font-size: clamp(1.6rem, 2.7vw, 2.05rem);
  font-weight: 700;
  line-height: 1.6;
}
.contact-copy > p { color: rgba(255, 255, 255, 0.9); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.contact-tel {
  display: flex;
  flex-direction: column;
  margin: 28px 0 20px;
  padding: 24px 30px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  transition: background-color 0.2s ease;
}
.contact-tel:hover { background: rgba(255, 255, 255, 0.16); }
.contact-tel-label {
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: #e8c87d;
}
.contact-tel-num {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.4vw, 2.7rem);
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
}
.contact-tel-hours { font-size: 0.82rem; }

.contact-mail {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
  padding: 18px 30px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  transition: background-color 0.2s ease;
}
.contact-mail:hover { background: rgba(255, 255, 255, 0.16); }
.contact-mail-label {
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: #e8c87d;
}
.contact-mail-addr {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  font-weight: 700;
  line-height: 1.4;
  color: #fff;
  word-break: break-all;
}

.contact-line {
  display: flex;
  flex-direction: column;
  margin-bottom: 26px;
  padding: 18px 30px;
  background: #06c755; /* LINEブランドカラー */
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  transition: background-color 0.2s ease;
}
.contact-line:hover { background: #05b34c; }
.contact-line-label {
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.92);
}
.contact-line-main {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  font-weight: 700;
  line-height: 1.4;
  color: #fff;
}
.contact-line-note {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.92);
}

.contact-line-row {
  display: flex;
  align-items: stretch;
  gap: 14px;
  margin-bottom: 26px;
}
.contact-line-row .contact-line { flex: 1; margin-bottom: 0; }
.contact-line-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px;
  background: #fff;
  border-radius: 8px;
}
.contact-line-qr img { display: block; width: 112px; height: 112px; }
.contact-line-qr span {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--green-deep);
}
/* スマホでは自分の画面のQRは読み取れないため非表示 */
@media (max-width: 640px) {
  .contact-line-qr { display: none; }
}

.trust-points {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.trust-points li {
  position: relative;
  padding-left: 30px;
  font-size: 0.98rem;
  color: rgba(255, 255, 255, 0.94);
}
.trust-points li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.52em;
  width: 13px;
  height: 7px;
  border-left: 2.5px solid #e8c87d;
  border-bottom: 2.5px solid #e8c87d;
  transform: rotate(-45deg);
}

/* フォーム */
.form {
  padding: 40px;
  background: #fff;
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  color: var(--ink);
}
.form-title {
  margin: 0 0 12px;
  padding-bottom: 18px;
  border-bottom: 2px solid var(--green);
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 700;
}
.form-lead {
  margin: 0 0 22px;
  font-size: 0.95rem;
  line-height: 1.8;
}
.form-lead strong { color: var(--green-deep); }

.field { display: block; margin-bottom: 20px; }
.field-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 0.98rem;
  font-weight: 700;
}
.field-label em {
  padding: 2px 8px;
  background: var(--alert);
  color: #fff;
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 700;
  border-radius: 3px;
}
.field-label small {
  padding: 2px 8px;
  background: var(--washi-deep);
  color: var(--ink-sub);
  font-size: 0.72rem;
  border-radius: 3px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 15px 16px;
  background: var(--washi);
  border: 1.5px solid var(--line);
  border-radius: 6px;
  font-family: var(--sans);
  font-size: 1.05rem; /* 16px以上：iOSの自動ズーム防止 */
  color: var(--ink);
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.field textarea { resize: vertical; line-height: 1.8; }
.field input::placeholder,
.field textarea::placeholder { color: #9a8f86; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  background: #fff;
  border-color: var(--green);
  outline: none;
  box-shadow: 0 0 0 3px rgba(45, 106, 61, 0.14);
}

.form-privacy {
  margin: 16px 0 0;
  font-size: 0.85rem;
  color: var(--ink-sub);
  text-align: center;
}
.form-privacy a { color: var(--green); text-decoration: underline; }

.form-note { margin-top: 12px; font-size: 0.8rem; }

.form-status { margin: 14px 0 0; font-size: 0.92rem; line-height: 1.7; }
.form-status.is-error {
  padding: 14px 16px;
  background: #fdecea;
  border: 1px solid #e6b3ac;
  border-radius: 6px;
  color: #8f2f22;
}

/* 送信完了表示 */
.form-done { text-align: center; padding: 30px 10px; }
.form-done-check {
  width: 64px;
  height: 64px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: var(--green);
  position: relative;
}
.form-done-check::after {
  content: "";
  position: absolute;
  left: 23px;
  top: 16px;
  width: 15px;
  height: 28px;
  border-right: 4px solid #fff;
  border-bottom: 4px solid #fff;
  transform: rotate(45deg);
}
.form-done h3 {
  margin: 0 0 14px;
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--green-deep);
}
.form-done p { color: var(--ink-sub); }
.form-done-sub { margin-top: 16px; font-size: 0.92rem; }
.form-done-sub a { color: var(--green); font-weight: 700; text-decoration: underline; }

/* =========================================================
   会社概要
   ========================================================= */
.company-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
}
.company-table th,
.company-table td {
  padding: 20px 24px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line-soft);
  line-height: 1.8;
}
.company-table th {
  width: 240px;
  background: var(--washi);
  font-weight: 700;
  white-space: nowrap;
}
.company-table td a { color: var(--green); text-decoration: underline; }

/* 免許番号は信頼の要。数字をはっきり見せる */
.license-no {
  display: block;
  font-family: var(--serif);
  font-size: 1.16rem;
  font-weight: 700;
  color: var(--green-deep);
  letter-spacing: 0.02em;
}
.license-term {
  display: block;
  margin-top: 2px;
  font-size: 0.88rem;
  color: var(--ink-sub);
}
.company-table tr:first-child th,
.company-table tr:first-child td { border-top: 2px solid var(--green); }

/* =========================================================
   FAQ
   ========================================================= */
.faq { background: var(--washi); }

.faq-list { display: grid; gap: 14px; }

.faq-list details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
.faq-list summary {
  position: relative;
  padding: 24px 68px 24px 60px;
  font-family: var(--serif);
  font-size: 1.14rem;
  font-weight: 600;
  line-height: 1.65;
  cursor: pointer;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before {
  content: "Q";
  position: absolute;
  left: 24px;
  top: 24px;
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--green);
}
.faq-list summary::after {
  content: "";
  position: absolute;
  right: 28px;
  top: 34px;
  width: 12px;
  height: 12px;
  border-right: 2.5px solid var(--green);
  border-bottom: 2.5px solid var(--green);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}
.faq-list details[open] summary::after {
  transform: rotate(-135deg);
  top: 40px;
}
.faq-list summary:hover { background: var(--washi); }

.faq-body {
  padding: 0 28px 26px 60px;
  border-top: 1px solid var(--line-soft);
  padding-top: 22px;
  margin-top: -1px;
}
.faq-body p {
  font-size: 1rem;
  color: var(--ink-sub);
}
.faq-body strong { color: var(--ink); }

/* =========================================================
   最終CTA
   ========================================================= */
.last-cta {
  padding: clamp(64px, 8vw, 96px) 0;
  background: var(--washi-deep);
  text-align: center;
}
.last-cta-lead {
  margin: 0 0 8px;
  /* スマホでも1行に収まるよう画面幅連動で縮む */
  font-size: clamp(0.85rem, 4.1vw, 1.08rem);
  white-space: nowrap;
  color: var(--ink-sub);
}
.last-cta-title {
  margin: 0 0 36px;
  font-family: var(--serif);
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  font-weight: 700;
  line-height: 1.5;
}
.last-cta .hero-actions { justify-content: center; }

/* =========================================================
   フッター
   ========================================================= */
.site-footer {
  padding: 60px 0 0;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.94rem;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
  padding-bottom: 44px;
}
.footer-brand { display: flex; gap: 18px; align-items: flex-start; }
.footer-mark {
  width: 58px;
  flex-shrink: 0;
  background: #fff;
  padding: 7px;
  border-radius: 6px;
}
.footer-name {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.04em;
}
.footer-addr { margin: 0 0 10px; line-height: 1.85; }
/* 電話番号の途中で折り返させない。狭い画面では少し縮めて1行に */
.footer-tel-line { white-space: nowrap; font-size: min(1em, 3.6vw); }
.footer-license { margin: 0; font-size: 0.86rem; }

.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 10px 40px;
  align-content: start;
}
.footer-nav a { transition: color 0.15s ease; }
.footer-nav a:hover { color: #e8c87d; }

.copyright {
  margin: 0;
  padding: 22px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
}

/* =========================================================
   モバイル固定CTA
   ========================================================= */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  display: none;
  gap: 10px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.97);
  border-top: 1px solid var(--line);
  box-shadow: 0 -6px 24px rgba(45, 38, 36, 0.14);
}
.sticky-cta a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 14px 4px;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
}
.sticky-sub {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #d9f7e4;
}
.sticky-tel {
  background: #fff;
  color: var(--green-deep);
  border: 2px solid var(--green);
}
.sticky-line { background: #06c755; color: #fff; }
.sticky-form { background: var(--green); color: #fff; }

/* =========================================================
   PC追従CTA（スクロールで右下に出現）
   ========================================================= */
.float-cta {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 55;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 26px 16px 22px;
  background: var(--green);
  color: #fff;
  border-radius: 999px;
  box-shadow: 0 14px 34px rgba(31, 78, 44, 0.4);
  font-weight: 700;
  /* 初期は隠す。JSで .is-visible が付くと出現 */
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease, background-color 0.15s ease;
}
.float-cta.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.float-cta:hover { background: var(--green-deep); }
.float-cta-icon {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  position: relative;
}
/* 鉛筆＝入力のアイコン（CSSのみ） */
.float-cta-icon::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 9px;
  width: 4px;
  height: 15px;
  background: #fff;
  border-radius: 1px;
  transform: rotate(45deg);
  box-shadow: 0 0 0 1px var(--green);
}
.float-cta-icon::after {
  content: "";
  position: absolute;
  left: 9px;
  bottom: 8px;
  width: 16px;
  height: 2px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 1px;
}
.float-cta-text { display: flex; flex-direction: column; line-height: 1.3; font-size: 1.05rem; }
.float-cta-text small { font-size: 0.72rem; font-weight: 500; color: #e8c87d; letter-spacing: 0.06em; }

/* スマホでは下部固定バーがあるので追従ボタンは出さない */
@media (max-width: 768px) {
  .float-cta { display: none; }
}

/* =========================================================
   中間CTA帯
   ========================================================= */
.cta-band {
  padding: clamp(48px, 6vw, 76px) 0;
  background: linear-gradient(135deg, var(--green-deep), var(--green));
}
.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px 48px;
  flex-wrap: wrap;
}
.cta-band-copy { color: #fff; }
.cta-band-lead {
  margin: 0 0 8px;
  font-size: 1rem;
  color: #e8c87d;
  font-weight: 500;
}
.cta-band-title {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  font-weight: 700;
  line-height: 1.5;
}
.cta-band-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  flex-shrink: 0;
}
.btn-white {
  background: #fff;
  color: var(--green-deep);
  box-shadow: var(--shadow-md);
}
.btn-white:hover { background: var(--washi); }
.btn-ghost {
  flex-direction: column;
  gap: 2px;
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); }
.btn-ghost .btn-tel-sub { color: #e8c87d; }

/* =========================================================
   差し込み待ちプレースホルダー（公開前に必ず削除する）
   ========================================================= */
.todo-box,
.todo-panel {
  background: repeating-linear-gradient(
    45deg,
    #fdf8ec,
    #fdf8ec 12px,
    #f8f0dd 12px,
    #f8f0dd 24px
  );
  border: 2px dashed var(--gold);
  border-radius: 8px;
  color: var(--ink-sub);
}
.todo-panel { padding: 34px 30px; }

.todo-label {
  margin: 0 0 10px;
  font-weight: 700;
  font-size: 1.02rem;
  color: #7a5a1c;
}
.todo-label::before { content: "▲ 差し込み待ち：　"; font-weight: 700; }

.todo-desc { margin: 0; font-size: 0.92rem; line-height: 1.8; }
.todo-desc strong { color: #7a5a1c; }

.todo-list {
  margin: 14px 0 0;
  padding-left: 22px;
  font-size: 0.9rem;
}
.todo-list li { margin-bottom: 4px; }

.todo-inline {
  display: inline-block;
  color: #8a6414;
  background: #fdf6e6;
  border: 1px dashed var(--gold);
  border-radius: 4px;
  padding: 1px 8px;
  font-size: 0.8rem;
  line-height: 1.7;
}
.contact .todo-inline,
.footer-license.todo-inline {
  color: #f0d79a;
  background: rgba(232, 200, 125, 0.12);
  border-color: rgba(232, 200, 125, 0.5);
}

/* =========================================================
   レスポンシブ
   ========================================================= */
@media (max-width: 1180px) {
  .header-nav { gap: 18px; font-size: 0.92rem; }
  .header-tel-num { font-size: 1.4rem; }
}

@media (max-width: 1024px) {
  .header-nav { display: none; }
  .phil-grid { grid-template-columns: 1fr; gap: 44px; }
  .phil-team { max-width: 520px; margin-inline: auto; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  html { scroll-padding-top: 84px; }
  body { font-size: 17px; }

  .wrap { width: min(100% - 32px, var(--wrap)); }
  .header-inner { width: min(100% - 32px, 1360px); gap: 12px; }

  .header-contact .btn-sm { display: none; }
  .header-tel-hours { display: none; }
  .header-tel-num { font-size: 1.25rem; }
  .brand-mark { width: 38px; }
  .brand-text strong { font-size: 1.08rem; }
  .brand-text small { display: none; }

  .svc-grid { grid-template-columns: 1fr; }

  .hero { min-height: auto; }
  .hero-img { object-position: 76% center; }
  .hero-scrim {
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.96) 0%,
      rgba(255, 255, 255, 0.92) 62%,
      rgba(255, 255, 255, 0.66) 100%
    );
  }
  .hero-inner { padding: 44px 0 52px; }
  .hero-actions .btn { width: 100%; }
  .btn-lg { padding: 18px 24px; }

  .sec-head { margin-bottom: 36px; }

  .svc-card { padding: 30px 24px 26px; }
  .svc-illust { width: calc(100% + 48px); margin: -30px -24px 20px; }
  .form { padding: 28px 22px; }

  .company-table,
  .company-table tbody,
  .company-table tr,
  .company-table th,
  .company-table td { display: block; width: 100%; }
  .company-table th {
    border-bottom: none;
    padding: 14px 18px 6px;
    white-space: normal;
  }
  .company-table td { padding: 0 18px 16px; }
  .company-table tr { border-bottom: 1px solid var(--line-soft); }
  .company-table tr:first-child th { border-top: 2px solid var(--green); }
  .company-table tr:first-child td { border-top: none; }

  .faq-list summary { padding: 20px 52px 20px 50px; font-size: 1.05rem; }
  .faq-list summary::before { left: 18px; top: 20px; }
  .faq-list summary::after { right: 20px; top: 29px; }
  .faq-list details[open] summary::after { top: 35px; }
  .faq-body { padding: 20px 22px 24px 50px; }

  .footer-inner { flex-direction: column; gap: 32px; }
  .footer-nav { grid-template-columns: repeat(2, 1fr); }

  .sticky-cta { display: flex; }
  .site-footer { padding-bottom: 84px; }
}

/* =========================================================
   買取事例カード
   ========================================================= */
.case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.case-card {
  display: flex;
  flex-direction: column;
  padding: 32px 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}

.case-tag {
  align-self: flex-start;
  margin: 0 0 14px;
  padding: 4px 16px;
  background: var(--green-pale);
  color: var(--green-deep);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  border-radius: 999px;
}

.case-title {
  margin: 0 0 18px;
  font-family: var(--serif);
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1.65;
}

.case-meta {
  display: grid;
  gap: 8px;
  margin: 0 0 18px;
  padding: 18px 20px;
  background: var(--washi);
  border-radius: 6px;
  font-size: 0.92rem;
}
.case-meta > div { display: flex; gap: 14px; }
.case-meta dt {
  flex-shrink: 0;
  width: 6.5em;
  font-weight: 700;
  color: var(--green-deep);
}
.case-meta dd { margin: 0; color: var(--ink-sub); }

.case-body {
  margin: 0;
  font-size: 0.97rem;
  line-height: 1.9;
  color: var(--ink-sub);
}

.case-note {
  margin: 28px 0 0;
  font-size: 0.9rem;
  color: var(--ink-sub);
  text-align: center;
}

/* =========================================================
   下層ページ（事業ページ・プライバシーポリシー）
   ========================================================= */
.breadcrumb {
  background: #fff;
  border-bottom: 1px solid var(--line-soft);
  font-size: 0.86rem;
}
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  margin: 0;
  padding: 12px 0;
  list-style: none;
}
.breadcrumb li { color: var(--ink-sub); }
.breadcrumb li + li::before {
  content: "›";
  margin-right: 8px;
  color: var(--ink-sub);
}
.breadcrumb a { color: var(--green); text-decoration: underline; }

.page-hero {
  padding: clamp(56px, 7vw, 92px) 0;
  background: linear-gradient(180deg, var(--washi), #fff);
  border-bottom: 1px solid var(--line-soft);
}
.page-hero h1 {
  margin: 0 0 20px;
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.9vw, 2.9rem);
  font-weight: 700;
  line-height: 1.5;
}
.page-hero-lead {
  max-width: 820px;
  margin-bottom: 32px;
  font-size: 1.12rem;
  line-height: 1.95;
  color: var(--ink-sub);
}
.page-hero .hero-points { margin-bottom: 28px; }

/* 悩み共感チェックリスト */
.worry-list {
  display: grid;
  gap: 14px;
  max-width: 840px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.worry-list li {
  position: relative;
  padding: 18px 24px 18px 60px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 1.02rem;
  font-weight: 500;
  box-shadow: var(--shadow-sm);
}
.worry-list li::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 50%;
  width: 22px;
  height: 22px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: var(--green);
}
.worry-list li::after {
  content: "";
  position: absolute;
  left: 28px;
  top: 50%;
  width: 9px;
  height: 5px;
  transform: translateY(-60%) rotate(-45deg);
  border-left: 2.5px solid #fff;
  border-bottom: 2.5px solid #fff;
}
.worry-close {
  max-width: 840px;
  margin: 30px 0 0;
  padding: 20px 26px;
  background: var(--green-pale);
  border-radius: 6px;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--green-deep);
}

/* 用語のやさしい注釈 */
.note-box {
  max-width: 840px;
  margin-top: 40px;
  padding: 26px 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: 0 8px 8px 0;
  box-shadow: var(--shadow-sm);
}
.note-box h3 {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
}
.note-box p {
  font-size: 0.97rem;
  line-height: 1.9;
  color: var(--ink-sub);
}

/* 買取できる物件例（丸いラベルの一覧） */
.example-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.example-list li {
  padding: 13px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.98rem;
  font-weight: 500;
  box-shadow: var(--shadow-sm);
}
.example-note {
  margin: 26px 0 0;
  font-size: 0.92rem;
  color: var(--ink-sub);
}

/* 背景の切り替え用 */
.bg-washi { background: var(--washi); }
.bg-paper { background: var(--paper); }

/* プライバシーポリシー本文 */
.prose { max-width: 840px; }
.prose h2 {
  margin: 48px 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--green-pale);
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 700;
}
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--ink-sub); font-size: 1rem; }
.prose ul, .prose ol { padding-left: 26px; }
.prose li { margin-bottom: 6px; }
.prose-date { margin-top: 48px; font-size: 0.92rem; text-align: right; }

@media (max-width: 768px) {
  .case-meta > div { flex-direction: column; gap: 0; }
  .worry-list li { padding: 16px 18px 16px 54px; }
  .worry-list li::before { left: 18px; }
  .worry-list li::after { left: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

/* スマホ幅：中間CTAのボタンが flex-shrink:0 のせいで縮まず横はみ出しするため、縦積みにする */
@media (max-width: 768px) {
  .cta-band-actions { flex-shrink: 1; width: 100%; }
  .cta-band-actions .btn { flex: 1 1 100%; }
}
