/* =========================================================
   ROOFTALKS - Landing Page Styles
   ========================================================= */

/* ---------- Design Tokens ---------- */
:root {
  --color-darkred: #7a1f2b;       /* メインのダークレッド */
  --color-darkred-deep: #6b1722;  /* 濃いめ */
  --color-darkred-hover: #8f2a36;
  --color-brown: #9c7a5a;         /* ブラウン */
  --color-brown-light: #b89a7c;
  --color-beige: #f6f1ea;         /* ベージュ背景 */
  --color-ivory: #fbf8f4;
  --color-text: #3a3330;          /* 本文テキスト */
  --color-text-light: #6f6660;
  --color-text-muted: #948a82;
  --color-white: #ffffff;
  --color-line: #e6ddd2;

  --font-serif: "Shippori Mincho", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
  --font-sans: "Zen Kaku Gothic New", "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;

  --container: 1200px;
  --radius-pill: 999px;
  --shadow-card: 0 10px 40px rgba(60, 40, 30, 0.10);
  --shadow-soft: 0 4px 20px rgba(60, 40, 30, 0.06);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  line-height: 1.8;
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 1000;
  padding: 18px 0;
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-soft);
  padding: 12px 0;
  backdrop-filter: blur(6px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand__icon { width: 38px; height: auto; }
.brand__logo { width: 46px; height: auto; display: block; }
.brand__name {
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: 0.14em;
  font-size: 1.35rem;
  color: var(--color-darkred);
}

.nav {
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav__list {
  display: flex;
  gap: 30px;
}
.nav__list a {
  font-size: 0.95rem;
  color: var(--color-text);
  font-weight: 500;
  position: relative;
  transition: color 0.25s;
}
.nav__list a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--color-darkred);
  transition: width 0.25s;
}
.nav__list a:hover { color: var(--color-darkred); }
.nav__list a:hover::after { width: 100%; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-sans);
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.25s ease;
}
.btn--pill {
  background: var(--color-darkred);
  color: var(--color-white);
  padding: 12px 26px;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
}
.btn--pill:hover {
  background: var(--color-darkred-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(122, 31, 43, 0.3);
}

.btn--hero {
  padding: 18px 36px;
  font-size: 1.05rem;
  border-radius: var(--radius-pill);
  background: var(--color-darkred);
  color: var(--color-white);
}
.btn--hero:hover {
  background: var(--color-darkred-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(122, 31, 43, 0.32);
}
.btn--hero .btn__arrow { transition: transform 0.25s; }
.btn--hero:hover .btn__arrow { transform: translateX(6px); }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 26px; height: 2px;
  background: var(--color-darkred);
  transition: 0.3s;
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 90px;
  background:
    linear-gradient(90deg, rgba(251,248,244,0.96) 0%, rgba(251,248,244,0.78) 38%, rgba(251,248,244,0.12) 62%, rgba(251,248,244,0) 100%),
    url("../images/hero-bg.jpg") center right / cover no-repeat;
}

.hero__inner {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.hero__content { max-width: 620px; }

.hero__title {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--color-text);
  font-size: clamp(2.4rem, 5.2vw, 4rem);
  line-height: 1.32;
  letter-spacing: 0.02em;
}
.hero__title .accent { color: var(--color-darkred); }

.hero__tagline {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 28px 0 22px;
}
.hero__tagline-line {
  width: 56px; height: 1px;
  background: var(--color-darkred);
}
.hero__tagline-text {
  font-family: var(--font-serif);
  letter-spacing: 0.32em;
  color: var(--color-darkred);
  font-size: 1.05rem;
  text-transform: lowercase;
}

.hero__desc {
  font-size: 1rem;
  color: var(--color-text-light);
  margin-bottom: 38px;
  line-height: 2;
}

/* Hero bottom feature bar */
.hero-features {
  position: relative;
  margin-top: 56px;
  background: var(--color-white);
  border-radius: 14px;
  box-shadow: var(--shadow-card);
}
.hero-features__inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.hero-feature {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 28px 32px;
  position: relative;
}
.hero-feature + .hero-feature::before {
  content: "";
  position: absolute;
  left: 0; top: 22%;
  height: 56%;
  width: 1px;
  background: var(--color-line);
}
.hero-feature__icon {
  width: 40px; height: 40px;
  flex-shrink: 0;
  object-fit: contain;
}
.hero-feature__title {
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--color-text);
  margin-bottom: 2px;
}
.hero-feature__desc {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* place feature bar overlapping bottom of hero */
.hero__feature-wrap {
  position: absolute;
  left: 0; right: 0;
  bottom: 24px;
}

/* =========================================================
   SECTION COMMON
   ========================================================= */
.section { padding: 96px 0; }

.section-head { text-align: center; margin-bottom: 52px; }
.section-head__title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  color: #4a352a;
  letter-spacing: 0.08em;
}
.section-head__deco {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 18px 0 26px;
}
.section-head__deco::before,
.section-head__deco::after {
  content: "";
  width: 64px; height: 1px;
  background: var(--color-brown-light);
}
.section-head__deco-icon { width: 26px; height: 26px; object-fit: contain; }
.section-head__lead {
  font-size: 0.98rem;
  color: var(--color-text-light);
  line-height: 2;
}

/* =========================================================
   SERVICES
   ========================================================= */
.services {
  background:
    linear-gradient(rgba(246,241,234,0.85), rgba(246,241,234,0.85)),
    url("../images/texture-bg.jpg") center / cover;
  background-color: var(--color-beige);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--color-white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 50px rgba(60, 40, 30, 0.16);
}
.service-card__img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: var(--color-beige);
}
.service-card__body { padding: 28px 30px 32px; }

/* 画像未配置時のプレースホルダー（写真が入る枠を残す） */
.service-card__img.is-empty,
.support-card__img.is-empty {
  display: block;
  /* alt テキスト・broken icon を隠す */
  font-size: 0;
  color: transparent;
  background:
    /* 中央の写真アイコン（SVG）*/
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 24 24' fill='none' stroke='%23b89a7c' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Ccircle cx='8.5' cy='8.5' r='1.5'/%3E%3Cpath d='M21 15l-5-5L5 21'/%3E%3C/svg%3E") center / 48px no-repeat,
    /* 斜めストライプ背景 */
    repeating-linear-gradient(45deg, #f1e9df, #f1e9df 14px, #ece2d4 14px, #ece2d4 28px);
}

.service-card__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.service-card__icon {
  width: 50px; height: 50px;
  object-fit: contain;
  flex-shrink: 0;
}
.service-card__title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.4rem;
  color: #4a352a;
}
.service-card__desc {
  font-size: 0.92rem;
  color: var(--color-text-light);
  line-height: 1.9;
  margin-bottom: 22px;
}
.service-card__list { display: grid; gap: 12px; }
.service-card__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--color-text);
}
.service-card__list li::before {
  content: "✓";
  flex-shrink: 0;
  width: 20px; height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--color-brown);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
}
.service-card--invest .service-card__list li::before { background: var(--color-darkred); }

.services__footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 52px;
}
.services__footer::before,
.services__footer::after {
  content: "";
  width: 70px; height: 1px;
  background: var(--color-brown-light);
}
.services__footer-icon { width: 26px; height: 26px; object-fit: contain; }
.services__footer-text {
  font-size: 0.95rem;
  color: #5d4636;
  letter-spacing: 0.05em;
}

/* =========================================================
   WHY CHOOSE US（選ばれる理由）
   ========================================================= */
.why {
  position: relative;
  background:
    url("../images/texture-bg.jpg") top right / 46% auto no-repeat,
    linear-gradient(180deg, #faf4ee 0%, var(--color-beige) 100%);
  overflow: hidden;
}
.why::before { /* gold swirl top-left (decorative) */
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 280px; height: 180px;
  background:
    radial-gradient(ellipse at top left, rgba(196,160,90,0.18), transparent 70%);
  pointer-events: none;
}
.why .container { position: relative; z-index: 2; }

.why .section-head__title { color: #4a2226; }
.why__subtitle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 12px 0 18px;
  font-family: var(--font-serif);
  letter-spacing: 0.18em;
  color: var(--color-darkred);
  font-size: 1.1rem;
}
.why__subtitle::before,
.why__subtitle::after {
  content: "◆";
  font-size: 0.5rem;
  color: var(--color-darkred);
}
.why__deco-house {
  width: 34px; height: 34px;
  object-fit: contain;
  margin: 0 auto 4px;
}

.why__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.why-card {
  position: relative;
  background: var(--color-white);
  border-radius: 14px;
  padding: 44px 20px 28px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.why-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
}
.why-card__num {
  position: absolute;
  top: -16px; left: 50%;
  transform: translateX(-50%);
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--color-darkred);
  color: #fff;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.why-card__icon-wrap {
  width: 112px; height: 112px;
  margin: 6px auto 18px;
  border-radius: 50%;
  background: #fbeeee;
  display: flex;
  align-items: center;
  justify-content: center;
}
.why-card__icon { width: 76px; height: 76px; object-fit: contain; }
.why-card__title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.08rem;
  color: var(--color-darkred);
  line-height: 1.5;
  margin-bottom: 14px;
  min-height: 3.1em;
  display: flex;
  align-items: center;
  justify-content: center;
}
.why-card__desc {
  font-size: 0.82rem;
  color: var(--color-text-light);
  line-height: 1.85;
  text-align: left;
	 letter-spacing: -0.05em; 
}

.why__footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 50px;
}
.why__footer-icon { width: 38px; height: 38px; object-fit: contain; }
.why__footer-text {
  position: relative;
  padding-left: 18px;
  font-size: 0.98rem;
  color: #5d4636;
  letter-spacing: 0.04em;
}
.why__footer-text::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 1px; height: 22px;
  background: var(--color-brown-light);
}

/* =========================================================
   EXPERT（不動産のエキスパートが…）
   ========================================================= */
.expert {
  background: var(--color-white);
  padding: 0;
}
.expert__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}

/* Left visual column */
.expert__visual {
  position: relative;
  min-height: 560px;
  background:
    linear-gradient(0deg, rgba(60,40,30,0.05), rgba(60,40,30,0.05)),
    url("../images/expert-photo.jpg") center top / contain no-repeat;
  background-color: var(--color-beige);
  display: flex;
  align-items: flex-end;
  padding: 40px;
}
.expert__quote {
  background: rgba(255,255,255,0.86);
  border-radius: 14px;
  padding: 26px 28px 26px 56px;
  position: relative;
  max-width: 460px;
  backdrop-filter: blur(2px);
  box-shadow: var(--shadow-soft);
}
.expert__quote::before {
  content: "♡";
  position: absolute;
  left: 22px; top: 26px;
  color: #c4a05a;
  font-size: 1.4rem;
}
.expert__quote-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.18rem;
  color: #4a352a;
  line-height: 1.7;
  margin-bottom: 12px;
}
.expert__quote-text {
  font-size: 0.88rem;
  color: var(--color-text-light);
  line-height: 1.9;
}

/* Right content column */
.expert__content {
  background:
    url("../images/expert-deco.png") top right / 240px auto no-repeat,
    linear-gradient(135deg, #fdf9f4 0%, #f9f2ea 100%);
  border-top-left-radius: 60px;
  border-bottom-left-radius: 60px;
  padding: 72px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.expert__questions {
  font-size: 0.92rem;
  color: var(--color-text-light);
  line-height: 1.9;
  margin-bottom: 16px;
}
.expert__title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  color: #4a352a;
  line-height: 1.5;
  margin-bottom: 22px;
}
.expert__title .accent { color: var(--color-darkred); }
.expert__desc {
  font-size: 0.92rem;
  color: var(--color-text-light);
  line-height: 1.95;
  margin-bottom: 34px;
}

.expert__features { display: grid; gap: 16px; }
.expert-feature {
  display: flex;
  align-items: center;
  gap: 18px;
  background: rgba(255,255,255,0.7);
  border-radius: 50px 14px 14px 50px;
  padding: 16px 22px 16px 16px;
  box-shadow: 0 2px 12px rgba(60,40,30,0.05);
}
.expert-feature__icon {
  width: 54px; height: 54px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.expert-feature__title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.05rem;
  color: #4a352a;
  margin-bottom: 4px;
}
.expert-feature__title .accent { color: var(--color-darkred); }
.expert-feature__desc {
  font-size: 0.82rem;
  color: var(--color-text-light);
  line-height: 1.7;
}

/* =========================================================
   FLOW（ご利用の流れ / タブ切替）
   ========================================================= */
.flow {
  background:
    linear-gradient(rgba(251,248,244,0.92), rgba(251,248,244,0.96)),
    url("../images/texture-bg.jpg") center / cover;
  background-color: var(--color-ivory);
}
.flow .section-head__title { color: #4a352a; }
.flow__subtitle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 8px;
  font-family: var(--font-serif);
  letter-spacing: 0.2em;
  color: var(--color-brown);
  font-size: 1rem;
}
.flow__subtitle::before,
.flow__subtitle::after {
  content: "◆";
  font-size: 0.45rem;
  color: var(--color-brown);
}

/* Tabs */
.flow__tabs {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin: 36px 0 48px;
  flex-wrap: wrap;
}
.flow-tab {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.1em;
  padding: 13px 44px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--color-brown-light);
  background: var(--color-white);
  color: #6d5340;
  cursor: pointer;
  transition: all 0.25s ease;
}
.flow-tab:hover { border-color: var(--color-darkred); color: var(--color-darkred); }
.flow-tab.is-active {
  background: var(--color-darkred);
  border-color: var(--color-darkred);
  color: #fff;
  box-shadow: 0 8px 20px rgba(122,31,43,0.28);
}

/* Panels */
.flow__panel { display: none; }
.flow__panel.is-active { display: block; animation: fadeUp 0.45s ease; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
.flow__panel-subtitle {
  text-align: center;
  font-family: var(--font-serif);
  letter-spacing: 0.18em;
  color: var(--color-brown);
  margin-bottom: 30px;
  font-size: 0.95rem;
}

/* Steps grid */
.flow__steps {
  display: grid;
  gap: 16px;
  position: relative;
}
.flow__steps--6 { grid-template-columns: repeat(6, 1fr); }
.flow__steps--7 { grid-template-columns: repeat(7, 1fr); }

.flow-step {
  text-align: center;
  position: relative;
}
.flow-step__num {
  width: 52px; height: 52px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: var(--color-darkred);
  color: #fff;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}
.flow-step:nth-child(even) .flow-step__num { background: var(--color-brown); }
/* connecting dotted line between numbers */
.flow-step:not(:last-child) .flow-step__num::after {
  content: "";
  position: absolute;
  top: 50%; left: calc(100% + 8px);
  width: calc(100% + 6px);
  border-top: 2px dotted var(--color-brown-light);
  z-index: -1;
}
.flow-step__icon-wrap {
  width: 112px; height: 112px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: #fbeeee;
  display: flex;
  align-items: center;
  justify-content: center;
}
.flow-step__icon { width: 76px; height: 76px; object-fit: contain; }
.flow-step__title {
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--color-darkred);
  margin-bottom: 10px;
}
.flow-step__desc {
  font-size: 0.78rem;
  color: var(--color-text-light);
  line-height: 1.75;
	 letter-spacing: -0.05em; 
}

/* Bottom bar */
.flow__bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 50px;
  background: var(--color-white);
  border-radius: 14px;
  border: 1px solid var(--color-line);
  padding: 22px 30px;
  box-shadow: var(--shadow-soft);
}
.flow__bottom-left,
.flow__bottom-right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.flow__bottom-icon { width: 38px; height: 38px; object-fit: contain; }
.flow__bottom-strong {
  font-weight: 700;
  color: #4a352a;
  font-size: 0.96rem;
}
.flow__bottom-divider { width: 1px; height: 26px; background: var(--color-line); }
.flow__bottom-text { font-size: 0.88rem; color: var(--color-text-light); }

/* =========================================================
   VOICES（お客様の声）
   ========================================================= */
.voices {
  position: relative;
  background:
    linear-gradient(rgba(252,248,242,0.9), rgba(250,244,236,0.95));
  background-color: #fcf8f2;
  overflow: hidden;
}
.voices__deco-icon {
  width: 36px; height: 36px;
  object-fit: contain;
  margin: 0 auto 10px;
}
.voices .section-head__title { color: #4a352a; }

.voices__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.voice-card {
  background: var(--color-white);
  border-radius: 16px;
  padding: 50px 30px 30px;
  position: relative;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease;
}
.voice-card:hover { transform: translateY(-6px); }
.voice-card__badge {
  position: absolute;
  top: -18px; left: 50%;
  transform: translateX(-50%);
  background: var(--color-darkred);
  color: #fff;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.16em;
  padding: 8px 30px;
  border-radius: 6px;
  border: 1.5px solid #c4a05a;
  white-space: nowrap;
}
.voice-card__text {
  font-size: 0.92rem;
  color: var(--color-text);
  line-height: 2;
  text-align:justify !important;
	  text-align-last:left !important;
  margin-bottom: 26px;
}
.voice-card__divider {
  height: 1px;
  background: var(--color-line);
  margin-bottom: 18px;
}
.voice-card__client {
  display: flex;
  align-items: center;
  gap: 16px;
}
.voice-card__avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  flex-shrink: 0;
}
.voice-card__avatar--brown { background: #a78c6e; }
.voice-card__avatar--green { background: #8fa183; }
.voice-card__avatar--blue { background: #7d8aa0; }
.voice-card__name {
  font-weight: 700;
  font-size: 0.95rem;
  color: #4a352a;
  margin-bottom: 2px;
}
.voice-card__name span {
  font-weight: 400;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-left: 6px;
}
.voice-card__meta {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  margin-bottom: 6px;
}
.voice-card__rating {
  display: flex;
  align-items: center;
  gap: 6px;
}
.voice-card__stars { color: #d8a93a; letter-spacing: 2px; font-size: 0.95rem; }
.voice-card__score { font-weight: 700; color: #c79a3a; font-size: 0.85rem; }

.voices__note {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 50px;
  min-height: 60px;
  padding: 0 20px;
}
.voices__note-text {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  text-align: center;
}

/* =========================================================
   CORPORATE（法人のお客様へ）
   ========================================================= */
.corporate {
  position: relative;
  min-height: 540px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.97) 0%, rgba(255,255,255,0.9) 30%, rgba(255,255,255,0.4) 55%, rgba(255,255,255,0) 75%),
    url("../images/corporate-bg.jpg") center right / cover no-repeat;
  background-color: var(--color-beige);
}
.corporate__content { max-width: 560px; }
.corporate__label {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 26px;
  font-family: var(--font-serif);
  letter-spacing: 0.14em;
  color: #5a4a40;
  font-size: 1rem;
}
.corporate__label::after {
  content: "";
  width: 48px; height: 1px;
  background: #5a4a40;
  order: 1;
}
.corporate__label-en { order: 0; }
.corporate__label-ja { order: 2; font-size: 0.9rem; letter-spacing: 0.06em; }

.corporate__title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(2rem, 4.4vw, 3.1rem);
  color: var(--color-darkred);
  line-height: 1.4;
  margin-bottom: 24px;
}
.corporate__desc {
  font-size: 0.95rem;
  color: var(--color-text-light);
  line-height: 1.95;
  margin-bottom: 34px;
}
.btn--corporate {
  background: var(--color-darkred-deep);
  color: #fff;
  padding: 20px 44px;
  border-radius: 10px;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
}
.btn--corporate:hover {
  background: var(--color-darkred-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(107,23,34,0.35);
}
.btn--corporate .btn__arrow { transition: transform 0.25s; }
.btn--corporate:hover .btn__arrow { transform: translateX(5px); }

/* =========================================================
   FEATURES（柔軟な対応で…）
   ========================================================= */
.features {
  background: linear-gradient(180deg, #fbf6f0 0%, #f7efe6 100%);
}
.features__label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-family: var(--font-serif);
  letter-spacing: 0.28em;
  color: var(--color-brown);
  font-size: 0.95rem;
  margin-bottom: 14px;
}
.features__label::before,
.features__label::after {
  content: "";
  width: 50px; height: 1px;
  background: var(--color-brown-light);
}
.features__title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  color: #4a352a;
  text-align: center;
  margin-bottom: 48px;
}
.features__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}
/* top row: 3 cards span 2 cols each */
.feature-card { grid-column: span 2; }
/* bottom row: 2 cards centered -> offset by 1 */
.feature-card--b1 { grid-column: 2 / span 2; }
.feature-card--b2 { grid-column: 4 / span 2; }

.feature-card {
  background: var(--color-white);
  border-radius: 16px;
  padding: 28px 26px 30px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
}
.feature-card__img {
  width: 100%;
  max-width: 230px;
  height: 130px;
  object-fit: contain;
  margin: 0 auto 18px;
}
.feature-card__title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.1rem;
  color: #4a352a;
  line-height: 1.5;
  margin-bottom: 14px;
}
.feature-card__desc {
  font-size: 0.85rem;
  color: var(--color-text-light);
  line-height: 1.85;
}

/* =========================================================
   SUPPORT MENU（社宅業務サポートメニュー）
   ========================================================= */
.support {
  background: linear-gradient(180deg, #faf6f0 0%, #f6efe6 100%);
}
.support .section-head__title { color: #4a352a; }

.support__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.support-card {
  background: var(--color-white);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.support-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
}
.support-card__img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  background: var(--color-beige);
}
.support-card__body { padding: 22px 24px 26px; }
.support-card__title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.2rem;
  color: #4a352a;
  margin-bottom: 12px;
}
.support-card__desc {
  font-size: 0.86rem;
  color: var(--color-text-light);
  line-height: 1.85;
}

/* =========================================================
   MULTILINGUAL（多言語対応）
   ========================================================= */
.multi {
  background: linear-gradient(180deg, #fdf8f1 0%, #f8f0e6 100%);
  padding: 0 0 80px;
  overflow: hidden;
}
.multi__top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 0;
}
.multi__copy {
  position: relative;
  padding: 70px 50px 70px 0;
  z-index: 2;
}
.multi__label {
  display: inline-block;
  background: linear-gradient(90deg, #c4a05a, #b08d4a);
  color: #fff;
  font-size: 0.88rem;
  padding: 8px 20px;
  border-radius: 4px;
  margin-bottom: 24px;
}
.multi__title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  color: var(--color-darkred);
  line-height: 1.45;
  margin-bottom: 18px;
}
.multi__subtitle {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  font-family: var(--font-serif);
  letter-spacing: 0.16em;
  color: var(--color-brown);
  font-size: 1.05rem;
}
.multi__subtitle::before {
  content: "";
  width: 50px; height: 1px;
  background: var(--color-brown-light);
}
.multi__subtitle-icon { width: 28px; height: 28px; object-fit: contain; }
.multi__desc {
  font-size: 0.92rem;
  color: var(--color-text-light);
  line-height: 1.9;
}
.multi__photo {
  min-height: 420px;
  height: 100%;
  background: url("../images/multilingual-photo.jpg") center / cover no-repeat;
  border-bottom-left-radius: 40px;
}

/* support card */
.multi__card {
  background: var(--color-white);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  margin-top: -40px;
  position: relative;
  z-index: 3;
  padding: 0 0 36px;
}
.multi__ribbon {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: var(--color-darkred);
  color: #fff;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  padding: 16px 24px;
  border-radius: 16px 16px 0 0;
  position: relative;
}
.multi__ribbon::before,
.multi__ribbon::after {
  content: "‹‹";
  color: #c4a05a;
  font-size: 1rem;
}
.multi__ribbon::after { content: "››"; }
.multi__ribbon strong { font-size: 1.55rem; color: #f0d49a; margin-right: 2px; }

.multi__steps {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  padding: 36px 16px 0;
}
.multi-step {
  text-align: center;
  padding: 0 14px;
  position: relative;
}
.multi-step + .multi-step::before {
  content: "";
  position: absolute;
  left: 0; top: 10%;
  height: 80%; width: 1px;
  background: var(--color-line);
}
.multi-step__num {
  width: 30px; height: 30px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--color-darkred);
  color: #fff;
  font-family: var(--font-serif);
  font-size: 0.82rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.multi-step__icon { width: 48px; height: 48px; object-fit: contain; margin: 0 auto 14px; }
.multi-step__title {
  font-weight: 700;
  font-size: 0.92rem;
  color: #4a352a;
  line-height: 1.6;
}

/* =========================================================
   CONTACT（問い合わせ案内：個人向け / 法人向け）
   ========================================================= */
.contact-cta {
  position: relative;
  background:
    linear-gradient(135deg, var(--color-darkred) 0%, var(--color-darkred-deep) 100%);
  color: #fff;
  overflow: hidden;
}
.contact-cta::before { /* subtle pattern glow */
  content: "";
  position: absolute;
  top: -120px; right: -120px;
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(255,255,255,0.07), transparent 70%);
  pointer-events: none;
}
.contact-cta .container { position: relative; z-index: 2; }

.contact-cta__head { text-align: center; margin-bottom: 44px; }
.contact-cta__label {
  display: inline-block;
  font-family: var(--font-serif);
  letter-spacing: 0.2em;
  font-size: 0.9rem;
  color: #f0d49a;
  margin-bottom: 14px;
}
.contact-cta__title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.45;
  letter-spacing: 0.04em;
}
.contact-cta__lead {
  margin-top: 18px;
  font-size: 0.98rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.95;
}

.contact-cta__methods {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
  max-width: 860px;
  margin: 0 auto;
}
.contact-method {
  background: #fff;
  color: var(--color-text);
  border-radius: 18px;
  padding: 40px 34px 36px;
  text-align: center;
  box-shadow: 0 16px 44px rgba(0,0,0,0.18);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.contact-method:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 56px rgba(0,0,0,0.24);
}
.contact-method__icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  color: #fff;
  margin-bottom: 18px;
}
.contact-method__icon--line { background: #06c755; }
.contact-method__icon--tel { background: var(--color-darkred); }
.contact-method__icon--form { background: var(--color-brown); }
.contact-method__title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.3rem;
  color: #4a352a;
  margin-bottom: 10px;
}
.contact-method__desc {
  font-size: 0.88rem;
  color: var(--color-text-light);
  line-height: 1.8;
  margin-bottom: 22px;
}
.contact-method__value {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.7rem;
  color: var(--color-darkred);
  letter-spacing: 0.04em;
  margin-bottom: 4px;
  line-height: 1.2;
}
.contact-method__note {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  margin-bottom: 22px;
}
.contact-method__btn {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 36px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.98rem;
  color: #fff;
  transition: all 0.25s ease;
}
.contact-method__btn--line { background: #06c755; }
.contact-method__btn--line:hover { background: #05a948; transform: translateY(-2px); }
.contact-method__btn--tel { background: var(--color-darkred); }
.contact-method__btn--tel:hover { background: var(--color-darkred-hover); transform: translateY(-2px); }
.contact-method__btn--form { background: var(--color-brown); }
.contact-method__btn--form:hover { background: #876448; transform: translateY(-2px); }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: #2b1c1c;
  color: #d9cfc8;
  padding: 60px 0 30px;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-brand { max-width: 320px; }
.footer-brand__logo {
  width: 70px; height: auto;
  background: #fff;
  border-radius: 12px;
  padding: 10px;
  margin-bottom: 18px;
}
.footer-brand__name {
  font-family: var(--font-serif);
  font-weight: 700;
  letter-spacing: 0.16em;
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 12px;
}
.footer-brand__desc {
  font-size: 0.85rem;
  line-height: 1.85;
  color: rgba(255,255,255,0.7);
}
.footer-nav {
  display: flex;
  gap: 60px;
  flex-wrap: wrap;
}
.footer-nav__col h4 {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  color: #f0d49a;
  margin-bottom: 18px;
  font-weight: 700;
}
.footer-nav__col ul { display: grid; gap: 12px; }
.footer-nav__col a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.78);
  transition: color 0.2s;
}
.footer-nav__col a:hover { color: #fff; }
.footer-bottom {
  text-align: center;
  padding-top: 26px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.04em;
}

/* =========================================================
   ICON BLEND（アイコン透過 → 乗算で背景になじませる）
   ========================================================= */
.brand__icon,
.brand__logo,
.hero-feature__icon,
.section-head__deco-icon,
.service-card__icon,
.services__footer-icon,
.why-card__icon,
.why__deco-house,
.why__footer-icon,
.expert-feature__icon,
.flow-step__icon,
.flow__bottom-icon,
.voices__deco-icon,
.feature-card__img,
.multi__subtitle-icon,
.multi-step__icon {
  mix-blend-mode: multiply;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 992px) {
  .hero {
    background:
      linear-gradient(180deg, rgba(251,248,244,0.92) 0%, rgba(251,248,244,0.55) 55%, rgba(251,248,244,0.30) 100%),
      url("../images/hero-bg.jpg") center center / cover no-repeat;
  }
  .hero__feature-wrap { position: static; margin-top: 40px; }
  .hero { min-height: auto; padding-bottom: 40px; }
}

@media (max-width: 860px) {
  .nav { 
    position: fixed;
    top: 0; right: -100%;
    width: 78%; max-width: 320px;
    height: 100vh;
    background: var(--color-white);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 32px 32px;
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    transition: right 0.35s ease;
    gap: 26px;
  }
  .nav.open { right: 0; }
  .nav__list {
    flex-direction: column;
    gap: 22px;
    width: 100%;
  }
  .nav-toggle { display: flex; z-index: 1100; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

@media (max-width: 1100px) {
  .why__grid { grid-template-columns: repeat(3, 1fr); gap: 24px 18px; }
}

@media (max-width: 992px) {
  .services__grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .voices__grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .why { background-size: 70% auto, auto; }
  .expert__inner { grid-template-columns: 1fr; }
  .corporate {
    background:
      linear-gradient(180deg, rgba(255,255,255,0.94) 0%, rgba(255,255,255,0.72) 60%, rgba(255,255,255,0.45) 100%),
      url("../images/corporate-bg.jpg") center / cover no-repeat;
    padding: 60px 0;
  }
  .expert__visual { min-height: 420px; }
  .expert__content {
    border-radius: 0;
    padding: 56px 32px;
    background-size: 180px auto, auto;
  }
}

@media (max-width: 1024px) {
  .flow__steps--6,
  .flow__steps--7 { grid-template-columns: repeat(4, 1fr); gap: 30px 16px; }
  /* hide horizontal connectors on wrapped grids */
  .flow-step .flow-step__num::after { display: none; }
}

@media (max-width: 900px) {
  .features__grid { grid-template-columns: repeat(2, 1fr); max-width: 620px; }
  .feature-card,
  .feature-card--b1,
  .feature-card--b2 { grid-column: auto; }
  .support__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 700px) {
  .why__grid { grid-template-columns: repeat(2, 1fr); }
  .why-card__title { min-height: auto; }
  .flow__steps--6,
  .flow__steps--7 { grid-template-columns: repeat(2, 1fr); }
  .features__grid { grid-template-columns: 1fr; max-width: 380px; }
  .support__grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .flow-tab { padding: 11px 30px; font-size: 0.98rem; }
  .flow__bottom { flex-direction: column; gap: 14px; text-align: center; }
  .flow__bottom-divider { display: none; }
}

@media (max-width: 480px) {
  .why__grid { grid-template-columns: 1fr; max-width: 340px; margin: 0 auto; }
  .why__footer { flex-direction: column; gap: 10px; text-align: center; }
  .why__footer-text { padding-left: 0; }
  .why__footer-text::before { display: none; }
}

@media (max-width: 768px) {
  .section { padding: 70px 0; }
  .hero-features__inner { grid-template-columns: 1fr; }
  .services__footer::before,
  .services__footer::after { width: 30px; }
  .hero-feature + .hero-feature::before {
    top: 0; left: 8%;
    width: 84%; height: 1px;
  }
  .hero__tagline-line { width: 36px; }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .hero__inner { padding: 0 18px; }
  .brand__name { font-size: 1.1rem; }
  .btn--hero { width: 100%; justify-content: center; }
}

/* ---- Contact CTA responsive ---- */
@media (max-width: 760px) {
  .contact-cta__methods { grid-template-columns: 1fr; max-width: 420px; }
}

/* ---- Footer responsive ---- */
@media (max-width: 860px) {
  .footer-top { flex-direction: column; gap: 32px; }
  .footer-nav { gap: 40px; }
}
@media (max-width: 520px) {
  .footer-nav { flex-direction: column; gap: 28px; }
}

/* ---- Multilingual responsive ---- */
@media (max-width: 1024px) {
  .multi__steps { grid-template-columns: repeat(3, 1fr); gap: 30px 0; }
  /* vertical divider only between items in same row (not 1st of row) */
  .multi-step:nth-child(3n+1)::before { display: none; }
}

@media (max-width: 992px) {
  .multi__top { grid-template-columns: 1fr; }
  .multi__copy { padding: 60px 0 36px; }
  .multi__photo {
    min-height: 320px;
    border-bottom-left-radius: 0;
    border-radius: 20px;
  }
}

@media (max-width: 640px) {
  .multi__steps { grid-template-columns: repeat(2, 1fr); gap: 28px 0; padding: 30px 8px 0; }
  .multi-step:nth-child(3n+1)::before { display: block; }
  .multi-step:nth-child(2n+1)::before { display: none; }
  .multi__ribbon { font-size: 1rem; flex-wrap: wrap; text-align: center; }
  .multi__ribbon strong { font-size: 1.3rem; }
}

@media (max-width: 400px) {
  .multi__steps { grid-template-columns: 1fr; }
  .multi-step::before { display: none !important; }
}

/* =========================================================
   MOBILE OPTIMIZATION（スマホ全体最適化）
   ========================================================= */
@media (max-width: 600px) {
  /* --- 共通：余白・見出し --- */
  .section { padding: 56px 0; }
  .container { padding: 0 20px; }
  .section-head { margin-bottom: 36px; }
  .section-head__deco { margin: 14px 0 20px; }
  .section-head__lead { font-size: 0.9rem; }

  /* --- ヘッダー --- */
  .site-header { padding: 14px 0; }
  .site-header.scrolled { padding: 10px 0; }
  .brand__logo { width: 40px; }

  /* --- ヒーロー --- */
  .hero { min-height: auto; padding-top: 96px; padding-bottom: 40px; }
  .hero__content { max-width: 100%; }
  .hero__title { font-size: clamp(2rem, 9vw, 2.6rem); line-height: 1.3; }
  .hero__tagline { margin: 20px 0 18px; gap: 12px; }
  .hero__tagline-text { font-size: 0.92rem; letter-spacing: 0.24em; }
  .hero__desc { font-size: 0.92rem; margin-bottom: 28px; }
  .hero-feature { padding: 20px 22px; gap: 14px; }
  .hero-feature__icon { width: 34px; height: 34px; }
  .hero-feature__title { font-size: 0.96rem; }
  .hero-feature__desc { font-size: 0.8rem; }

  /* --- サービスカード --- */
  .service-card__body { padding: 24px 22px 26px; }
  .service-card__title { font-size: 1.25rem; }
  .service-card__img { height: 180px; }

  /* --- 選ばれる理由 --- */
  .why-card { padding: 40px 22px 26px; }
  .why-card__icon-wrap { width: 100px; height: 100px; }
  .why-card__icon { width: 66px; height: 66px; }
  .why__subtitle { font-size: 1rem; }

  /* --- エキスパート --- */
  .expert__visual {
    min-height: 0;
    padding: 0;
    flex-direction: column;
    align-items: stretch;
    background: transparent;
  }
  /* 写真は固定高さのブロックとして表示し、引用カードはその下へ */
  .expert__visual::before {
    content: "";
    display: block;
    width: 100%;
    height: 260px;
    background:
      linear-gradient(0deg, rgba(60,40,30,0.05), rgba(60,40,30,0.05)),
      url("../images/expert-photo.jpg") center / contain no-repeat;
    background-color: var(--color-beige);
  }
  .expert__quote {
    padding: 24px 22px 24px 46px;
    max-width: 100%;
    margin: 16px 18px 0;
    background: #fff;
  }
  .expert__quote-title { font-size: 1.05rem; }
  .expert__content { padding: 48px 22px; background-size: 130px auto, auto; }
  .expert__title { font-size: 1.5rem; }
  .expert-feature { padding: 14px 16px 14px 14px; gap: 14px; }
  .expert-feature__icon { width: 46px; height: 46px; }
  .expert-feature__title { font-size: 0.98rem; }

  /* --- ご利用の流れ --- */
  .flow__tabs { gap: 10px; margin: 28px 0 36px; }
  .flow-tab { padding: 10px 26px; font-size: 0.95rem; }
  .flow__steps--6,
  .flow__steps--7 { gap: 26px 14px; }
  .flow-step__icon-wrap { width: 96px; height: 96px; }
  .flow-step__icon { width: 64px; height: 64px; }
  .flow-step__num { width: 44px; height: 44px; font-size: 1.1rem; margin-bottom: 16px; }
  .flow-step__title { font-size: 0.92rem; }
  .flow__bottom { padding: 20px 22px; }

  /* --- お客様の声 --- */
  .voice-card { padding: 44px 24px 26px; }
  .voice-card__text { font-size: 0.88rem; }
  .voice-card__badge { font-size: 0.92rem; padding: 7px 24px; }
  .voices__note-text { font-size: 0.76rem; }

  /* --- 法人バナー --- */
  .corporate { padding: 50px 0; min-height: auto; }
  .corporate__title { font-size: clamp(1.7rem, 7vw, 2.2rem); }
  .corporate__desc { font-size: 0.9rem; }
  .btn--corporate { padding: 16px 32px; font-size: 0.98rem; width: 100%; justify-content: center; }

  /* --- 特長カード --- */
  .features__title { font-size: 1.5rem; margin-bottom: 36px; }
  .feature-card { padding: 24px 22px 26px; }

  /* --- サポートメニュー --- */
  .support-card__body { padding: 20px 22px 24px; }
  .support-card__title { font-size: 1.1rem; }

  /* --- 多言語対応 --- */
  .multi { padding-bottom: 56px; }
  .multi__copy { padding: 48px 0 30px; }
  .multi__title { font-size: clamp(1.6rem, 7vw, 2.1rem); }
  .multi__photo { min-height: 240px; }
  .multi__card { margin-top: -30px; }
  .multi-step__icon { width: 44px; height: 44px; }

  /* --- 問い合わせCTA --- */
  .contact-cta__head { margin-bottom: 32px; }
  .contact-cta__title { font-size: clamp(1.6rem, 7vw, 2.1rem); }
  .contact-cta__lead { font-size: 0.9rem; }
  .contact-method { padding: 32px 24px 30px; }
  .contact-method__icon { width: 56px; height: 56px; font-size: 1.5rem; }
  .contact-method__title { font-size: 1.2rem; }
  .contact-method__value { font-size: 1.5rem; }
  .contact-method__btn { width: 100%; justify-content: center; padding: 14px 24px; }

  /* --- フッター --- */
  .site-footer { padding: 48px 0 26px; }
  .footer-brand__desc { font-size: 0.84rem; }
  .footer-nav__col h4 { margin-bottom: 14px; }
}

/* 極小端末（〜380px）の微調整 */
@media (max-width: 380px) {
  .container { padding: 0 16px; }
  .hero__title { font-size: 1.85rem; }
  .flow-tab { padding: 9px 20px; font-size: 0.9rem; }
  .voice-card__client { gap: 12px; }
  .voice-card__avatar { width: 48px; height: 48px; }
  .contact-method__value { font-size: 1.35rem; }
}

/* スマホでの横スクロール防止の保険 */
@media (max-width: 600px) {
  html, body { max-width: 100%; overflow-x: hidden; }
  img { height: auto; }
}

/* =========================================================
   本文テキストの均等割付（justify）＋ レイアウト微調整
   ── タイトル・サブタイトル（見出し／英字ラベル等）は対象外。
   ── 手動改行 <br> は無効化し、自然な折り返しで両端を揃える。
   ── 最終行の文字数調整は js/main.js 側で letter-spacing により補正。
   ========================================================= */

/* --- 左揃えの本文ブロック：両端揃え --- */
.hero__desc,
.service-card__desc,
.why-card__desc,
.expert__quote-text,
.expert__questions,
.expert__desc,
.expert-feature__desc,
.flow-step__desc,
.corporate__desc,
.feature-card__desc,
.support-card__desc,
.multi__desc,
.footer-brand__desc,
.entry-content p {
  text-align: justify;
  text-align-last: left;
  line-break: strict;            /* 日本語の禁則処理を厳格に */
  overflow-wrap: break-word;
}

/* --- 中央寄せの本文ブロック：本文は両端揃え／最終行のみ中央 --- */
.section-head__lead,
.voice-card__text,
.voices__note-text,
.contact-cta__lead,
.contact-method__desc,
.contact-form-panel__placeholder {
  text-align: justify;
  text-align-last: center;
  line-break: strict;
  overflow-wrap: break-word;
}

/* --- 手動改行(<br>)を無効化して、均等割付を有効にする ---
   （見出し・住所・署名など、意図的な改行が必要な箇所の br は対象外） */
.hero__desc br,
.service-card__desc br,
.why-card__desc br,
.expert__quote-text br,
.expert__questions br,
.expert__desc br,
.expert-feature__desc br,
.flow-step__desc br,
.corporate__desc br,
.feature-card__desc br,
.support-card__desc br,
.multi__desc br,
.footer-brand__desc br,
.section-head__lead br,
.voice-card__text br,
.voices__note-text br,
.contact-cta__lead br,
.contact-method__desc br,
.contact-form-panel__placeholder br {
  display: none;
}

/* --- 個別に改行を残したい場合の例外 ---
   本文中で改行させたい <br> にだけ class="br-keep" を付けると、
   その箇所だけ改行が有効になります。
   例）……サポートします。<br class="br-keep">安心してご相談ください。
   ※ br-keep で改行した「直前の行」は、その行で終わるため両端揃え（justify）は
     効かず、左寄せ（中央寄せブロックでは中央）になります。これは justify の仕様です。 */
.hero__desc br.br-keep,
.service-card__desc br.br-keep,
.why-card__desc br.br-keep,
.expert__quote-text br.br-keep,
.expert__questions br.br-keep,
.expert__desc br.br-keep,
.expert-feature__desc br.br-keep,
.flow-step__desc br.br-keep,
.corporate__desc br.br-keep,
.feature-card__desc br.br-keep,
.support-card__desc br.br-keep,
.multi__desc br.br-keep,
.footer-brand__desc br.br-keep,
.section-head__lead br.br-keep,
.voice-card__text br.br-keep,
.voices__note-text br.br-keep,
.contact-cta__lead br.br-keep,
.contact-method__desc br.br-keep,
.contact-form-panel__placeholder br.br-keep {
  display: inline;
}

/* --- justify に伴うレイアウト微調整 --- */
/* お客様の声：中央ピラミッド型 → 均等割付ブロックに合わせ、読みやすい行間へ */
.voice-card__text {
  line-height: 1.95;
}
/* エキスパート引用：カード幅いっぱいで両端が揃うように */
.expert__quote-text {
  line-height: 1.95;
}
/* 選ばれる理由・ご利用の流れの説明文：詰めすぎを緩和（均等割付で自然に揃える） */
.why-card__desc,
.flow-step__desc {
  letter-spacing: normal;
}
/* JS で letter-spacing を補正する要素は、行間を安定させておく */
.hero__desc,
.corporate__desc,
.multi__desc,
.contact-cta__lead,
.contact-method__desc {
  line-height: 1.95;
}

.grecaptcha-badge { visibility: hidden; }
