/* ============================================================
   Ein Tale LLC — 共通スタイルシート
   ロゴの配色（深緑 × セージグリーン）をベースにしています。
   色を変えたい場合は、下の :root の変数だけ変更すれば
   サイト全体に反映されます。
   ============================================================ */

:root {
  --ink:        #2e3d1c;   /* 深緑（ロゴの線の色） */
  --green:      #45592b;   /* やや明るい緑（見出し・ボタン） */
  --sage:       #a9b287;   /* セージグリーン（ロゴの背景色） */
  --sage-soft:  #cdd2b6;   /* 淡いセージ（帯・罫線） */
  --paper:      #f7f5ec;   /* 生成り（ページ背景） */
  --white:      #ffffff;
  --gold:       #b39355;   /* 金（看板の差し色） */

  /* 数字だけ EB Garamond（読みやすい等高数字）を先に当て、
     文字は従来どおり明朝体・Cormorant を使う */
  --font-serif-jp: "EB Garamond", "Shippori Mincho", "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  --font-serif-en: "EB Garamond", "Cormorant Garamond", "Times New Roman", serif;
}

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

/* 数字を読みやすい等高数字に統一する */
body,
.en,
input, select, textarea, button {
  font-variant-numeric: lining-nums tabular-nums;
  -moz-font-feature-settings: "lnum" 1, "tnum" 1;
  -webkit-font-feature-settings: "lnum" 1, "tnum" 1;
  font-feature-settings: "lnum" 1, "tnum" 1;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-serif-jp);
  color: var(--ink);
  background-color: var(--paper);
  /* 極薄の地紋（小さなダイヤ模様） */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28'%3E%3Crect x='13' y='13' width='2.4' height='2.4' transform='rotate(45 14.2 14.2)' fill='%232e3d1c' fill-opacity='0.045'/%3E%3C/svg%3E");
  line-height: 1.9;
  letter-spacing: 0.04em;
  font-size: 16px;
}

.english-page {
  font-family: var(--font-serif-en);
  font-size: 17px;
  line-height: 1.75;
  letter-spacing: 0.025em;
}

.english-page .jp-title,
.english-page h1,
.english-page h3 {
  letter-spacing: 0.06em;
}

p,
li,
td {
  text-wrap: pretty;
  word-break: auto-phrase;
}

h1,
h2,
h3,
.section-title {
  text-wrap: balance;
  word-break: auto-phrase;
}

.copy-lines > span {
  display: block;
  max-width: 100%;
  text-wrap: balance;
  word-break: auto-phrase;
}

.copy-lines > span + span {
  margin-top: 0.08em;
}

.mobile-break {
  display: inline;
}

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

a { color: var(--green); text-decoration: none; transition: opacity .25s; }
a:hover { opacity: .7; }

.en {
  font-family: var(--font-serif-en);
  letter-spacing: 0.12em;
}

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 245, 236, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--sage-soft);
}

.header-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 14px 24px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
}

.brand img { height: 44px; width: auto; }

.brand .brand-name {
  font-family: var(--font-serif-en);
  font-size: 1.5rem;
  letter-spacing: 0.14em;
}

.brand .brand-sub {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  color: var(--green);
  display: block;
  line-height: 1.2;
}

.global-nav ul {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.global-nav a {
  font-size: 0.92rem;
  color: var(--ink);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
}

.global-nav a:hover,
.global-nav a.current {
  border-bottom-color: var(--sage);
  opacity: 1;
}

.language-menu {
  position: relative;
  flex: 0 0 auto;
  margin-left: 28px;
  font-family: var(--font-serif-en);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: var(--green);
}

.language-menu summary {
  min-width: 64px;
  padding: 7px 10px;
  border: 1px solid var(--sage-soft);
  border-radius: 2px;
  background: rgba(247, 245, 236, 0.82);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  cursor: pointer;
  list-style: none;
}

.language-menu summary::-webkit-details-marker {
  display: none;
}

.language-menu summary::after {
  content: "⌄";
  font-size: 0.9em;
  line-height: 1;
  transition: transform 0.2s ease;
}

.language-menu[open] summary::after {
  transform: rotate(180deg);
}

.language-options {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 110;
  min-width: 100%;
  padding: 4px;
  border: 1px solid var(--sage-soft);
  border-radius: 2px;
  background: var(--paper);
  box-shadow: 0 8px 24px rgba(46, 61, 28, 0.12);
  display: grid;
}

.language-options a,
.language-options .current {
  padding: 6px 10px;
  text-align: center;
  color: var(--green);
}

.language-options a:hover {
  background: rgba(169, 178, 135, 0.14);
  opacity: 1;
}

.language-options .current {
  background: rgba(169, 178, 135, 0.22);
}

/* ---------- ヒーロー（トップページ） ---------- */
.hero {
  background-color: var(--sage);
  /* ロゴの葉のような、流れる線の装飾 */
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 420 420'%3E%3Cg fill='none' stroke='%232e3d1c' stroke-opacity='0.10' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M10 410 C150 330 120 210 250 120 C300 85 350 70 405 64'/%3E%3Cpath d='M-10 370 C120 300 100 200 220 130'/%3E%3Cpath d='M45 418 C180 350 160 240 285 158'/%3E%3C/g%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 420 420'%3E%3Cg fill='none' stroke='%232e3d1c' stroke-opacity='0.08' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M410 10 C270 90 300 210 170 300 C120 335 70 350 15 356'/%3E%3Cpath d='M430 50 C300 120 320 220 200 290'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat, no-repeat;
  background-position: left -70px bottom -50px, right -90px top -70px;
  background-size: 420px 420px, 420px 420px;
  color: var(--ink);
  overflow: hidden;
}

.hero-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: clamp(48px, 5vw, 72px) 32px 34px;
}

/* カルデラの山並みシルエット（ヒーロー下端） */
.hero-hills {
  display: block;
  width: 100%;
  height: 96px;
}

/* 物語の扉と結びを思わせる、一枚の生成りのページ */
.hero-plate {
  position: relative;
  background-color: #faf8ee;
  background-image:
    linear-gradient(90deg, rgba(83, 79, 53, 0.055), transparent 5%, transparent 95%, rgba(83, 79, 53, 0.045)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(238, 233, 214, 0.18)),
    repeating-linear-gradient(0deg, rgba(71, 67, 45, 0.014) 0, rgba(71, 67, 45, 0.014) 1px, transparent 1px, transparent 5px);
  border: 1px solid rgba(77, 91, 50, 0.58);
  padding: clamp(34px, 3.2vw, 46px) clamp(42px, 6vw, 80px) clamp(28px, 2.8vw, 38px);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: clamp(18px, 2.2vw, 24px);
  box-shadow:
    0 2px 0 #e5dfcb,
    0 5px 0 rgba(245, 241, 227, 0.94),
    0 24px 52px rgba(46, 61, 28, 0.14);
}

.hero-plate::before {
  content: "";
  position: absolute;
  inset: 13px;
  border: 1px solid rgba(158, 166, 122, 0.48);
  box-shadow:
    inset 18px 0 28px rgba(91, 88, 59, 0.025),
    inset -12px 0 24px rgba(91, 88, 59, 0.02);
  pointer-events: none;
}

.hero-heading,
.hero-story,
.hero-page-mark {
  position: relative;
  z-index: 1;
}

.hero-masthead {
  width: 100%;
  margin: 0 auto clamp(30px, 3.8vw, 46px);
  text-align: center;
}

.hero-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 44em;
  margin: 0 auto;
  text-align: center;
}

.hero-kicker {
  display: block;
  margin-bottom: 18px;
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-align: center;
}

.hero-kicker-brand {
  margin-right: 0.9em;
}

.hero-title-row {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: clamp(24px, 3vw, 42px);
}

.hero-masthead .hero-poem {
  font-size: clamp(2.8rem, 4.8vw, 4.55rem);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.065em;
}

.hero-masthead .hero-poem span {
  display: block;
  white-space: nowrap;
}

.english-page .hero-masthead .hero-poem {
  font-size: clamp(2.25rem, 4vw, 3.8rem);
}

.hero-emblem {
  flex: 0 0 auto;
  align-self: center;
  width: clamp(92px, 8vw, 126px);
  opacity: 0.82;
  transform: translateY(0.04em);
}

.hero-story {
  width: 100%;
  max-width: 42em;
  margin: 0 auto;
  text-align: center;
}

.hero-intro {
  width: 100%;
  max-width: 38em;
  margin: 0 auto;
  text-align: center;
}

.hero-intro p,
.hero-story p {
  max-width: 38em;
  margin-right: auto;
  margin-left: auto;
  font-size: clamp(1.18rem, 1.55vw, 1.38rem);
  line-height: 1.8;
  letter-spacing: 0.07em;
}

.hero-intro p + p,
.hero-story p + p {
  margin-top: 10px;
}

.hero-intro .hero-lead,
.hero-story .hero-lead {
  color: var(--ink);
  font-size: clamp(1.35rem, 1.9vw, 1.62rem);
  font-weight: 500;
  line-height: 1.82;
  margin-bottom: 18px;
}

.hero-line {
  display: block;
}

.hero-story .hero-closing {
  margin-top: 16px;
  color: var(--green);
  font-weight: 500;
  letter-spacing: 0.1em;
}

.hero-page-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 4px;
  color: rgba(46, 61, 28, 0.62);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.32em;
}

.hero-page-mark::before,
.hero-page-mark::after {
  content: "";
  width: clamp(28px, 4vw, 52px);
  height: 1px;
  background: rgba(158, 166, 122, 0.62);
}

/* ---------- セクション共通 ---------- */
.section {
  max-width: 1080px;
  margin: 0 auto;
  padding: 88px 24px;
}

.section-heading {
  text-align: center;
  margin-bottom: 56px;
}

.section-heading .en-title {
  font-family: var(--font-serif-en);
  font-size: 2rem;
  letter-spacing: 0.18em;
  color: var(--green);
  display: block;
}

.section-heading .jp-title {
  font-size: 0.95rem;
  letter-spacing: 0.3em;
  display: block;
  margin-top: 6px;
}

/* 見出し下の飾り罫（茎と葉、中央に金のダイヤ） */
.section-heading::after {
  content: "";
  display: block;
  width: 220px;
  height: 20px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 20'%3E%3Cpath d='M10 10 C50 3 82 16 103 10' fill='none' stroke='%232e3d1c' stroke-opacity='0.5' stroke-width='1.3' stroke-linecap='round'/%3E%3Cpath d='M210 10 C170 3 138 16 117 10' fill='none' stroke='%232e3d1c' stroke-opacity='0.5' stroke-width='1.3' stroke-linecap='round'/%3E%3Cpath d='M56 9 q5 -7 13 -8 q-4 7 -13 8' fill='%232e3d1c' fill-opacity='0.45'/%3E%3Cpath d='M164 9 q-5 -7 -13 -8 q4 7 13 8' fill='%232e3d1c' fill-opacity='0.45'/%3E%3Crect x='106.5' y='6.5' width='7' height='7' transform='rotate(45 110 10)' fill='%23b39355'/%3E%3C/svg%3E") center / contain no-repeat;
  margin: 16px auto 0;
}

.lead {
  text-align: center;
  max-width: 42em;
  margin: 0 auto 48px;
}

.access-copy .access-route {
  white-space: nowrap;
  text-wrap: nowrap;
  font-size: clamp(0.88rem, 2.8vw, 1rem);
  letter-spacing: 0.04em;
}

.access-copy .access-route-columns {
  display: grid;
  grid-template-columns: 5em 1em 6em 1em 5em;
  justify-content: center;
  align-items: baseline;
  column-gap: 0.3em;
  width: 100%;
  text-align: left;
}

.access-route-columns > span:nth-child(even) {
  text-align: center;
}

.region-section {
  padding-bottom: clamp(48px, 5vw, 64px);
}

.region-section .business-card {
  padding-top: 32px;
  padding-bottom: 34px;
}

.region-closing {
  max-width: 36em;
  margin: clamp(28px, 3.5vw, 40px) auto 0;
  font-size: clamp(1.02rem, 1.35vw, 1.14rem);
  line-height: 1.92;
}

.philosophy-copy {
  max-width: 36em;
}

.philosophy-copy > span:first-child {
  font-size: 1.14em;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.philosophy-copy > span:nth-child(2),
.philosophy-copy > span:nth-child(5),
.philosophy-copy > span:nth-child(7),
.philosophy-copy > span:nth-child(11) {
  margin-top: 1.45em;
}

/* ---------- 事業カード ---------- */
.business-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

/* ホームでは不動産の二つの入口と地域デザインを明確に分ける */
.home-business-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.2vw, 32px);
}

.home-business-section {
  max-width: 1540px;
}

.home-business-section .business-grid.home-business-grid {
  max-width: none;
}

.home-business-grid .business-card {
  display: flex;
  flex-direction: column;
  padding: 36px clamp(24px, 2.1vw, 34px) 40px;
}

.home-business-grid .business-card h3 {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2em;
  margin-bottom: 0;
}

.home-business-grid .business-card > .copy-lines {
  min-height: 0;
  margin-top: 24px;
}

.home-business-grid .business-card ul {
  margin-bottom: 0;
}

.home-business-grid .card-link {
  width: 100%;
  margin-top: 24px;
}

@media (max-width: 1100px) {
  .home-business-grid {
    grid-template-columns: minmax(0, 1fr);
    max-width: 720px;
    margin-right: auto;
    margin-left: auto;
  }

  .home-business-grid .business-card h3,
  .home-business-grid .business-card > .copy-lines {
    min-height: 0;
  }
}

.business-card {
  background: var(--white);
  border: 1px solid var(--sage-soft);
  padding: 40px 36px 44px;
  text-align: center;
}

/* カード上部の小さな葉のスプリグ */
.business-card::before {
  content: "";
  display: block;
  width: 44px;
  height: 18px;
  margin: 0 auto 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 18'%3E%3Cpath d='M2 16 C14 14 28 9 42 3' fill='none' stroke='%2345592b' stroke-width='1.2' stroke-linecap='round'/%3E%3Cpath d='M13 13.5 q1.5 -8 9.5 -10.5 q-1.5 8 -9.5 10.5' fill='%2345592b' fill-opacity='0.85'/%3E%3Cpath d='M24 9.5 q7.5 -4.5 14 -3 q-5.5 6 -14 3' fill='%2345592b' fill-opacity='0.5'/%3E%3C/svg%3E") left center / contain no-repeat;
}

.business-card .card-en {
  font-family: var(--font-serif-en);
  color: var(--sage);
  font-size: 0.95rem;
  letter-spacing: 0.2em;
}

.business-card h3 {
  font-size: 1.35rem;
  margin: 8px 0 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--sage-soft);
}

.business-card p {
  max-width: 31em;
  margin-right: auto;
  margin-left: auto;
  font-size: 0.95rem;
}

.business-card ul {
  display: inline-block;
  margin-top: 16px;
  padding-left: 1.2em;
  font-size: 0.92rem;
  text-align: left;
}

/* ---------- 帯（フルワイドの色面） ---------- */
/* 等高線模様：土地・地形のモチーフをごく薄く敷く */
.band {
  background-color: var(--sage-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='200'%3E%3Cg fill='none' stroke='%232e3d1c' stroke-opacity='0.055' stroke-width='1'%3E%3Cpath d='M20 100 C40 60 120 50 170 70 C220 90 230 130 190 150 C140 175 60 165 35 135 C20 118 12 112 20 100 Z'/%3E%3Cpath d='M50 100 C65 75 125 68 160 82 C195 96 200 122 172 137 C135 156 78 148 58 126 C48 114 44 108 50 100 Z'/%3E%3Cpath d='M85 101 C95 88 128 84 148 92 C168 100 170 115 152 124 C130 134 100 129 90 116 Z'/%3E%3C/g%3E%3C/svg%3E");
}

/* 会社情報：一冊の本から開いた紙面を思わせる背景 */
.profile-band {
  background-color: #d9dcc8;
  background-image: none;
  padding: clamp(28px, 4vw, 52px) clamp(14px, 3vw, 36px);
}

.band.profile-band .section {
  position: relative;
  max-width: 980px;
  padding: 76px clamp(40px, 7vw, 92px);
  background:
    linear-gradient(90deg, rgba(143, 126, 83, 0.1), transparent 5%, transparent 95%, rgba(143, 126, 83, 0.08)),
    #fbf8ee;
  border: 1px solid rgba(69, 89, 43, 0.22);
  box-shadow:
    0 18px 44px rgba(46, 61, 28, 0.13),
    inset 0 0 0 1px rgba(255, 255, 255, 0.72);
}

.profile-band .section::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(69, 89, 43, 0.14);
  pointer-events: none;
}

.profile-band .section::after {
  content: "";
  position: absolute;
  top: 14px;
  bottom: 14px;
  left: 14px;
  width: 22px;
  background: linear-gradient(90deg, rgba(143, 126, 83, 0.13), transparent);
  pointer-events: none;
}

/* ---------- 挿絵・紋章 ---------- */
/* カルデラ風景の線画（横長） */
.illust-caldera {
  display: block;
  width: 100%;
  max-width: 760px;
  height: auto;
  margin: 8px auto 40px;
  color: var(--green);
}

/* セクションの紋章（円形の線画アイコン） */
.medallion {
  display: block;
  width: 88px;
  height: 88px;
  margin: 0 auto 24px;
  color: var(--green);
}

.medallion-community {
  width: 108px;
  height: 108px;
  filter: drop-shadow(0 10px 18px rgba(46, 61, 28, 0.08));
}

/* Googleマップ */
.map-wrap {
  max-width: 760px;
  margin: 32px auto 0;
  border: 1px solid var(--sage);
  padding: 6px;
  background: var(--white);
}

.map-wrap iframe {
  display: block;
  width: 100%;
  height: 380px;
  border: 0;
}

.band .section { padding: 72px 24px; }

/* ---------- お知らせ ---------- */
.news-list {
  max-width: 720px;
  margin: 0 auto;
  list-style: none;
}

.news-list li {
  display: flex;
  gap: 24px;
  padding: 18px 8px;
  border-bottom: 1px solid var(--sage-soft);
  font-size: 0.95rem;
}

.news-list time {
  color: var(--green);
  font-family: var(--font-serif-en);
  letter-spacing: 0.08em;
  white-space: nowrap;
}

/* お知らせ詳細（クリックで開閉） */
.news-list li.news-item {
  display: block;
  padding: 0;
}

.news-item .news-head {
  display: flex;
  gap: 24px;
  align-items: baseline;
  padding: 18px 8px;
}

.news-item.openable .news-head {
  cursor: pointer;
}

.news-item.openable .news-head:hover .news-title {
  opacity: 0.7;
}

.news-arrow {
  margin-left: auto;
  color: var(--sage);
  font-size: 0.8rem;
  transition: transform 0.25s;
}

.news-item.open .news-arrow {
  transform: rotate(180deg);
}

.news-body {
  display: none;
  padding: 4px 8px 24px calc(8px + 0.5em);
  font-size: 0.92rem;
  color: #45503a;
  border-left: 2px solid var(--sage-soft);
  margin: 0 8px 16px 8px;
}

.news-item.open .news-body {
  display: block;
}

/* ---------- 表（会社概要） ---------- */
.info-table {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.info-table th,
.info-table td {
  padding: 18px 12px;
  border-bottom: 1px solid var(--sage-soft);
  text-align: left;
  vertical-align: top;
}

.info-table th {
  width: 9em;
  color: var(--green);
  font-weight: 600;
  white-space: nowrap;
}

/* 表の中のリンク（メール等）は他の行と同じ見た目に */
.info-table a {
  color: inherit;
  font-family: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
}

.info-table .related-company-link {
  display: inline-block;
  padding-bottom: 0.08em;
  border-bottom: 1px solid var(--sage);
  text-decoration: none;
}

.related-company-note {
  display: block;
  margin-top: 0.55em;
  color: #768060;
  font-size: 0.82rem;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0.06em;
}

/* ---------- ボタン ---------- */
.btn {
  display: inline-block;
  background: var(--green);
  color: var(--paper);
  padding: 14px 48px;
  font-size: 0.95rem;
  letter-spacing: 0.15em;
  border: 1px solid var(--green);
  transition: background .25s, color .25s;
}

.btn:hover {
  background: transparent;
  color: var(--green);
  opacity: 1;
}

.license-number {
  margin-top: 32px;
  font-size: 0.9rem;
}

.license-number span {
  display: block;
}

.center { text-align: center; }

.philosophy-signature {
  font-size: 0.95rem;
  line-height: 2;
}

.philosophy-signature span {
  display: block;
}

/* ---------- ページタイトル（下層ページ） ---------- */
.page-title {
  background-color: var(--sage);
  /* アイリスの透かし */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 160'%3E%3Cg fill='none' stroke='%232e3d1c' stroke-opacity='0.16' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M50 156 C50 116 48 92 50 72'/%3E%3Cpath d='M50 72 C43 52 45 32 50 24 C55 32 57 52 50 72'/%3E%3Cpath d='M50 72 C38 67 27 74 22 90 C35 89 45 82 50 72'/%3E%3Cpath d='M50 72 C62 67 73 74 78 90 C65 89 55 82 50 72'/%3E%3Cpath d='M50 156 C36 132 30 112 35 92'/%3E%3Cpath d='M50 156 C63 136 69 118 65 100'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8% center;
  background-size: auto 120px;
  background-image: none;
  padding: 64px 24px;
  text-align: center;
  margin: 0;
  font-weight: inherit;
}

.page-title .en-title {
  font-family: var(--font-serif-en);
  font-size: 2.2rem;
  letter-spacing: 0.18em;
  display: block;
}

.page-title .jp-title {
  font-size: 0.9rem;
  letter-spacing: 0.3em;
  display: block;
  margin-top: 4px;
}

/* ---------- お問い合わせ ---------- */
/* 看板と同じ、二重罫線の額装 */
.contact-box {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--sage);
  padding: 52px 44px;
  text-align: center;
}

.contact-box::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid var(--sage-soft);
  pointer-events: none;
}

.contact-box .contact-mail {
  font-family: var(--font-serif-en);
  font-size: 1.3rem;
  letter-spacing: 0.08em;
  display: block;
  margin: 18px 0;
}

.contact-box .contact-phone {
  font-family: inherit;
  font-size: 1.12rem;
  font-weight: 400;
  font-variant-numeric: normal;
  letter-spacing: 0.14em;
}

/* ---------- フッター ---------- */
.site-footer {
  background-color: var(--ink);
  color: var(--sage-soft);
  margin-top: 40px;
}

.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 48px 24px 32px;
  text-align: center;
}

.footer-logo {
  display: block;
  height: 84px;
  width: auto;
  margin: 0 auto 14px;
  opacity: 0.92;
}

.footer-inner .brand-name {
  font-family: var(--font-serif-en);
  font-size: 1.4rem;
  letter-spacing: 0.16em;
  color: var(--paper);
}

.footer-nav {
  margin: 20px 0;
}

.footer-nav a {
  color: var(--sage-soft);
  font-size: 0.85rem;
  margin: 0 14px;
}

.copyright {
  font-size: 0.75rem;
  font-family: var(--font-serif-en);
  letter-spacing: 0.1em;
  margin-top: 12px;
}

/* ---------- スマホ対応 ---------- */
@media (max-width: 800px) {
  .hero-inner {
    padding: 48px 20px 26px;
  }

  .hero-hills { height: 56px; }

  .hero-plate {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 36px 34px 34px;
    text-align: left;
  }

  .hero-masthead {
    margin-bottom: 30px;
  }

  .hero-heading {
    padding-right: 0;
  }

  .hero-masthead .hero-poem {
    font-size: clamp(1.9rem, 6.6vw, 2.65rem);
  }

  .hero-emblem {
    width: 64px;
  }

  .hero-story {
    padding: 0;
  }

  .hero-story p {
    max-width: none;
  }

  .hero-intro p,
  .hero-story p {
    font-size: clamp(1.05rem, 2.4vw, 1.18rem);
  }

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

  .header-inner {
    flex-direction: column;
    padding: 12px 16px 8px;
  }

  .global-nav ul {
    gap: 18px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .language-menu {
    position: absolute;
    top: 11px;
    right: 16px;
    margin-left: 0;
  }

  .section { padding: 64px 20px; }

  .info-table th { width: 7em; }
}

@media (max-width: 520px) {
  .business-consult-btn {
    padding-inline: 40px;
    line-height: 1.9;
  }

  .business-consult-btn .btn-line {
    display: block;
  }

  .hero-inner {
    padding: 34px 14px 18px;
  }

  .hero-plate {
    gap: 28px;
    padding: 32px 24px 30px;
  }

  .hero-plate::before {
    inset: 8px;
  }

  .hero-heading {
    padding-right: 0;
  }

  .hero-kicker {
    margin-bottom: 16px;
    font-size: 0.68rem;
  }

  .hero-kicker-brand,
  .hero-kicker-origin {
    display: block;
  }

  .hero-kicker-brand {
    margin: 0 0 4px;
  }

  .hero-masthead {
    margin-bottom: 24px;
  }

  .hero-masthead .hero-poem {
    font-size: clamp(1.45rem, 7vw, 1.6rem);
    line-height: 1.5;
  }

  .hero-title-row {
    gap: 14px;
  }

  .hero-emblem {
    width: 54px;
  }

  .english-page .hero-masthead .hero-poem {
    font-size: clamp(1.25rem, 6.2vw, 1.55rem);
  }

  .hero-story {
    padding-top: 0;
  }

  .hero-intro p,
  .hero-story p {
    font-size: 1rem;
  }

  .hero-intro .hero-lead,
  .hero-story .hero-lead {
    font-size: 1.08rem;
  }

  .mobile-break {
    display: block;
    margin-top: 0.08em;
  }

  .hero-page-mark {
    gap: 10px;
    font-size: 0.56rem;
  }

  .footer-inner {
    padding-right: 18px;
    padding-left: 18px;
  }

  .footer-nav {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px 4px;
    width: min(100%, 360px);
    margin: 24px auto;
  }

  .footer-nav a {
    margin: 0;
    padding: 3px 1px;
    white-space: nowrap;
  }

  .footer-nav a:nth-child(-n + 3) {
    grid-column: span 2;
  }

  .footer-nav a:nth-child(n + 4) {
    grid-column: span 3;
  }

  .business-card {
    padding-right: 24px;
    padding-left: 24px;
  }

  .profile-band {
    padding: 16px 10px;
  }

  .band.profile-band .section {
    padding: 58px 28px;
  }

  .profile-band .section::before {
    inset: 8px;
  }

  .profile-band .section::after {
    top: 8px;
    bottom: 8px;
    left: 8px;
    width: 14px;
  }

  .info-table,
  .info-table tbody,
  .info-table tr,
  .info-table th,
  .info-table td {
    display: block;
    width: 100%;
  }

  .info-table tr {
    padding: 16px 0 18px;
    border-bottom: 1px solid var(--sage-soft);
  }

  .info-table th,
  .info-table td {
    padding: 0;
    border-bottom: 0;
    white-space: normal;
  }

  .info-table th {
    margin-bottom: 6px;
    font-size: 0.82rem;
    letter-spacing: 0.1em;
  }

  .info-table td {
    line-height: 1.85;
    overflow-wrap: anywhere;
  }

  .business-card h3 {
    font-size: 1.18rem;
  }
}

/* ---------- Page-turn navigation ---------- */
.page-turn-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  overflow: hidden;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: visibility 0s linear .19s, opacity .02s linear;
}

.page-turn-sheet {
  position: absolute;
  inset: -2px;
  will-change: clip-path, transform;
  background-color: var(--paper);
  clip-path: ellipse(0 0 at 100% 100%);
  transform: rotate(-1.5deg) scale(1.025);
  transform-origin: right bottom;
}

.page-turn-overlay.is-turning {
  visibility: visible;
  opacity: 1;
  transition-delay: 0s;
}

.page-turn-overlay.is-turning .page-turn-sheet {
  animation: page-turn-cover .2s cubic-bezier(.4, 0, .2, 1) both;
}

body.page-turn-lock {
  overflow: hidden;
}

@keyframes page-turn-cover {
  0% {
    clip-path: ellipse(0 0 at 100% 100%);
    transform: rotate(-1.5deg) scale(1.025);
  }
  58% {
    clip-path: ellipse(88% 76% at 100% 100%);
    transform: rotate(-.45deg) scale(1.012);
  }
  100% {
    clip-path: ellipse(150% 150% at 100% 100%);
    transform: rotate(0) scale(1);
  }
}

@media (max-width: 600px) {
  @keyframes page-turn-cover {
    0% {
      clip-path: ellipse(0 0 at 100% 100%);
      transform: rotate(-1.5deg) scale(1.025);
    }
    58% {
      clip-path: ellipse(104% 78% at 100% 100%);
      transform: rotate(-.45deg) scale(1.012);
    }
    100% {
      clip-path: ellipse(175% 150% at 100% 100%);
      transform: rotate(0) scale(1);
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-turn-overlay {
    display: none;
  }

}

/* ============================================================
   お問い合わせフォーム
   ============================================================ */
.contact-form {
  max-width: 640px;
  margin: 32px auto 0;
  text-align: left;
}

.form-row {
  display: block;
  margin-bottom: 26px;
}

.form-label {
  display: block;
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
  color: var(--ink);
}

.form-label .req {
  display: inline-block;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--paper);
  background: var(--green);
  padding: 2px 8px;
  margin-left: 10px;
  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-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--sage-soft);
  border-radius: 0;
  padding: 13px 15px;
  line-height: 1.7;
  transition: border-color .25s, box-shadow .25s;
  -webkit-appearance: none;
  appearance: none;
}

.contact-form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 L6 6.5 L11 1.5' fill='none' stroke='%2345592b' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 12px 8px;
  padding-right: 40px;
}

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

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(169, 178, 135, .28);
}

.form-note {
  font-size: 0.84rem;
  line-height: 1.9;
  color: var(--green);
  text-align: center;
  margin-top: 30px;
}

.form-note a {
  text-decoration: underline;
  text-decoration-color: var(--sage);
  text-underline-offset: 4px;
}

.contact-form button.btn {
  font-family: inherit;
  cursor: pointer;
  min-width: 240px;
}

/* ハニーポット（スパム対策・非表示） */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-errors {
  max-width: 640px;
  margin: 0 auto 8px;
  background: var(--white);
  border: 1px solid #c2a08d;
  border-left: 3px solid #a9714f;
  padding: 18px 22px;
  text-align: left;
  font-size: 0.92rem;
}

.form-errors p {
  margin: 4px 0;
  color: #7d4a2c;
}

/* ============================================================
   プライバシーポリシー
   ============================================================ */
.policy {
  max-width: 720px;
  margin: 48px auto 0;
  text-align: left;
}

.policy h2 {
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--green);
  margin: 42px 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--sage-soft);
}

.policy h2:first-child {
  margin-top: 0;
}

.policy p {
  font-size: 0.95rem;
  line-height: 2;
}

.policy ul {
  margin: 14px 0 0;
  padding-left: 1.3em;
  font-size: 0.95rem;
  line-height: 2;
}

.policy ul li {
  margin-bottom: 4px;
}

.policy-contact {
  background: var(--white);
  border: 1px solid var(--sage-soft);
  padding: 24px 28px;
  margin-top: 16px;
}

.policy-contact p {
  margin: 3px 0;
  font-size: 0.92rem;
  line-height: 1.9;
}

.policy-contact a {
  text-decoration: underline;
  text-decoration-color: var(--sage);
  text-underline-offset: 4px;
}

.policy-date {
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--sage-soft);
  font-size: 0.85rem;
  color: var(--green);
  text-align: right;
}

@media (max-width: 800px) {
  .policy h2 { font-size: 0.98rem; margin-top: 34px; }
  .policy p, .policy ul { font-size: 0.92rem; line-height: 1.95; }
  .policy-contact { padding: 20px; }
  .contact-form button.btn { width: 100%; min-width: 0; }
}

/* フッターのリンクは語中で折り返さない */
.footer-nav a {
  display: inline-block;
  white-space: nowrap;
}


/* ============================================================
   代表者プロフィールへのリンクとページ
   ============================================================ */
.profile-link {
  display: inline-block;
  margin-left: 12px;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: var(--green);
  border: 1px solid var(--sage-soft);
  border-radius: 2px;
  padding: 1px 8px;
  vertical-align: 2px;
  white-space: nowrap;
  transition: background .25s, border-color .25s;
}

.profile-link::after {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  margin-left: 6px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  opacity: .65;
}

.profile-link:hover {
  background: var(--white);
  border-color: var(--sage);
  opacity: 1;
}

.info-table a.profile-link {
  text-decoration: none;
}


.career-table {
  width: 100%;
  max-width: 660px;
  margin: 44px auto 0;
  border-collapse: collapse;
  font-size: 0.95rem;
  text-align: left;
}

.career-table th,
.career-table td {
  padding: 16px 12px;
  border-bottom: 1px solid var(--sage);
  vertical-align: top;
}

.career-table th {
  width: 15em;
  white-space: nowrap;
  color: var(--green);
  font-weight: 600;
  font-family: var(--font-serif-en);
  letter-spacing: 0.04em;
}

@media (max-width: 800px) {
  .profile-link {
    font-size: 0.66rem;
    margin-left: 10px;
    padding: 1px 7px;
  }
  .career-table th,
  .career-table td { display: block; width: auto; }
  .career-table th { border-bottom: 0; padding-bottom: 2px; }
  .career-table td { padding-top: 0; }
}

/* 経歴の補足文 */
.career-note {
  max-width: 660px;
  margin: 32px auto 0;
  font-size: 0.9rem;
  line-height: 2;
  color: var(--green);
  text-align: center;
}

@media (max-width: 800px) {
  .career-note { font-size: 0.86rem; text-align: left; }
}

/* 経歴表：文の途中で不自然に折り返さないようにする */
.career-table td {
  line-break: strict;
  overflow-wrap: normal;
  word-break: normal;
}

.nowrap {
  display: inline-block;
}

/* ============================================================
   不動産ページ・移住ガイド
   ============================================================ */
.prose {
  max-width: 680px;
  margin: 40px auto 0;
  text-align: left;
}

.prose p {
  font-size: 0.97rem;
  line-height: 2.1;
  margin-bottom: 1.4em;
}

.prose p:last-child { margin-bottom: 0; }

.prose.center { text-align: center; }

/* 手順（売却の流れ・移住の段取り） */
.flow-title {
  max-width: 680px;
  margin: 56px auto 8px;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--green);
  text-align: center;
}

.flow-list {
  max-width: 680px;
  margin: 32px auto 0;
  padding: 0;
  list-style: none;
  text-align: left;
}

.flow-list li {
  display: flex;
  gap: 22px;
  padding: 0 0 34px;
  position: relative;
}

.flow-list li:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 19px;
  top: 44px;
  bottom: 8px;
  width: 1px;
  background: var(--sage-soft);
}

.flow-step {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border: 1px solid var(--sage);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif-en);
  font-size: 0.95rem;
  color: var(--green);
  background: var(--paper);
  position: relative;
  z-index: 1;
}

.flow-list h4 {
  font-size: 1rem;
  font-weight: 600;
  margin: 7px 0 8px;
  letter-spacing: 0.04em;
}

.flow-list p {
  font-size: 0.93rem;
  line-height: 1.95;
  margin: 0;
}

/* よくあるご質問 */
.faq-list {
  max-width: 680px;
  margin: 40px auto 0;
  padding: 0;
  list-style: none;
  text-align: left;
}

.faq-list li {
  padding: 26px 0;
  border-bottom: 1px solid var(--sage-soft);
}

.faq-list li:first-child { border-top: 1px solid var(--sage-soft); }

.faq-list h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 12px;
  padding-left: 1.5em;
  text-indent: -1.5em;
}

.faq-list h3::before {
  content: "Q";
  font-family: var(--font-serif-en);
  margin-right: 0.7em;
  opacity: 0.6;
}

.faq-list p {
  font-size: 0.93rem;
  line-height: 2;
  margin: 0;
  padding-left: 1.5em;
}

/* 補足の一行 */
.note-line {
  margin-top: 32px;
  font-size: 0.86rem;
  color: var(--green);
}

.license-line {
  margin-top: 40px;
  font-size: 0.84rem;
  line-height: 1.9;
  color: var(--green);
}

@media (max-width: 800px) {
  .prose { margin-top: 32px; }
  .prose p { font-size: 0.93rem; line-height: 2; }
  .flow-list li { gap: 16px; padding-bottom: 28px; }
  .flow-step { width: 32px; height: 32px; font-size: 0.86rem; }
  .flow-list li:not(:last-child)::before { left: 16px; top: 38px; }
  .faq-list h3 { font-size: 0.95rem; }
  .faq-list p { font-size: 0.9rem; }
}

/* 節の中の小見出し */
.sub-heading {
  max-width: 680px;
  margin: 56px auto 0;
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--green);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--sage-soft);
  text-align: left;
}

.sub-heading + .prose,
.sub-heading + .check-list {
  margin-top: 24px;
}

.sub-heading + .info-table,
.sub-heading + .table-wrap {
  margin-top: 32px;
}

.section-heading + .sub-heading { margin-top: 8px; }

/* 確認事項のリスト */
.check-list {
  max-width: 680px;
  margin: 32px auto 0;
  padding: 28px 32px;
  list-style: none;
  background: var(--white);
  border: 1px solid var(--sage-soft);
  text-align: left;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 14px;
  font-size: 0.95rem;
  line-height: 1.9;
}

.check-list li:last-child { margin-bottom: 0; }

.check-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.62em;
  width: 11px;
  height: 6px;
  border-left: 1.5px solid var(--sage);
  border-bottom: 1.5px solid var(--sage);
  transform: rotate(-45deg);
}

.check-list + .prose { margin-top: 32px; }

/* 表の中で金額などを目立たせる */
.info-table strong {
  font-weight: 600;
  color: var(--green);
}

@media (max-width: 800px) {
  .sub-heading { margin-top: 44px; font-size: 0.98rem; }
  .check-list { padding: 22px 20px; }
  .check-list li { font-size: 0.91rem; padding-left: 26px; }
}

/* ============================================================
   料金表（罫線あり・視認性重視）
   ============================================================ */
.table-wrap {
  max-width: 760px;
  margin: 36px auto 0;
  overflow-x: auto;
}

.fee-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border: 1px solid var(--sage);
  font-size: 0.94rem;
  text-align: left;
}

.fee-table thead th {
  background: #fbfaf4;
  color: var(--green);
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  padding: 14px 18px;
  border-bottom: 1px solid var(--sage);
  white-space: nowrap;
}

.fee-table tbody th {
  font-weight: 600;
  color: var(--green);
  white-space: nowrap;
  background: #fbfaf4;
}

.fee-table th,
.fee-table td {
  padding: 20px 18px;
  border-right: 1px solid var(--sage-soft);
  border-bottom: 1px solid var(--sage-soft);
  vertical-align: middle;
  line-height: 1.85;
}

.fee-table th:last-child,
.fee-table td:last-child { border-right: 0; }

.fee-table tbody tr:last-child th,
.fee-table tbody tr:last-child td { border-bottom: 0; }

.fee-table strong {
  font-weight: 600;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.7;
  display: inline-block;
}

@media (max-width: 800px) {
  .table-wrap {
    margin-top: 28px;
    -webkit-overflow-scrolling: touch;
  }
  .fee-table { font-size: 0.88rem; min-width: 560px; }
  .fee-table th,
  .fee-table td { padding: 15px 14px; }
  .fee-table thead th { font-size: 0.82rem; padding: 12px 14px; }
  .fee-table strong { font-size: 0.94rem; }
}

/* 料金表の列幅 */
.fee-table { table-layout: fixed; min-width: 0; width: 100%; }
.fee-table col.c-price { width: 9.5em; }
.fee-table col.c-fee   { width: 17.5em; }

/* 画面が狭いときは、横スクロールではなくカード状に積む */
@media (max-width: 760px) {
  .table-wrap { overflow-x: visible; }
  .fee-table { min-width: 0; table-layout: auto; border: 0; background: none; }
  .fee-table colgroup,
  .fee-table thead { display: none; }
  .fee-table tbody,
  .fee-table tr,
  .fee-table th,
  .fee-table td { display: block; width: auto; }

  .fee-table tbody tr {
    background: var(--white);
    border: 1px solid var(--sage);
    margin-bottom: 18px;
    padding: 4px 0;
  }
  .fee-table tbody tr:last-child { margin-bottom: 0; }

  .fee-table tbody th {
    background: none;
    border: 0;
    border-bottom: 1px solid var(--sage-soft);
    padding: 16px 24px 14px;
    font-size: 0.98rem;
  }

  .fee-table tbody td {
    border: 0;
    padding: 16px 24px 4px;
  }

  .fee-table tbody td::before {
    content: attr(data-label);
    display: block;
    font-size: 0.76rem;
    letter-spacing: 0.1em;
    color: var(--green);
    opacity: 0.75;
    margin-bottom: 6px;
  }

  .fee-table tbody tr td:last-child { padding-bottom: 16px; }
  .fee-table strong { font-size: 1rem; }
}

/* ============================================================
   日本語の折り返し：句読点や記号で不自然に切れないようにする
   ============================================================ */
body,
.prose p,
.lead,
.info-table td,
.info-table th,
.fee-table td,
.fee-table th,
.business-card p,
.business-card li,
.flow-list p,
.faq-list p,
.check-list li,
.news-body,
.career-table td,
.policy p,
.policy li {
  line-break: strict;
  word-break: normal;
  overflow-wrap: break-word;
  text-wrap: pretty;
}

/* 句読点のぶら下がりを許し、行末を揃える */
.prose p,
.faq-list p,
.flow-list p,
.business-card p {
  hanging-punctuation: allow-end;
}


/* 日本語本文は均等割付にして、行末の凹凸と端数行を目立たなくする */
.prose p,
.flow-list p,
.faq-list p,
.business-card p,
.policy p,
.news-body {
  text-align: justify;
  text-justify: inter-ideograph;
  text-spacing-trim: trim-start;
}


@media (max-width: 800px) {
  .prose p,
  .flow-list p,
  .faq-list p,
  .business-card p { text-align: left; }
}

/* 改行位置を明示した段落は均等割付を外す */
.prose p.balance {
  text-align: left;
}

@media (max-width: 800px) {
  .prose p.balance br { display: none; }
}

/* 本文と表の間に余白を確保する */
.prose + .info-table,
.prose + .table-wrap,
.copy-lines + .info-table,
.lead + .info-table {
  margin-top: 48px;
}

.info-table + .note-line,
.table-wrap + .note-line {
  margin-top: 28px;
}

.note-line + .sub-heading {
  margin-top: 60px;
}

@media (max-width: 800px) {
  .prose + .info-table,
  .prose + .table-wrap,
  .copy-lines + .info-table,
  .lead + .info-table {
    margin-top: 34px;
  }
}

/* nowrapを含む段落は均等割付を外す（字間が異常に開くのを防ぐ） */
.prose p:has(.nowrap),
.flow-list p:has(.nowrap),
.faq-list p:has(.nowrap),
.business-card p:has(.nowrap) {
  text-align: left;
}

/* ============================================================
   本文・表・リストの幅を揃える（左端をそろえて読みやすくする）
   ============================================================ */
.section .info-table,
.section .table-wrap,
.section .career-table,
.section .prose,
.section .check-list,
.section .flow-list,
.section .faq-list,
.section .sub-heading,
.section .flow-title {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

/* 表の中身も本文と同じ左位置から始める */
.info-table th:first-child,
.info-table td:last-child {
  padding-left: 0;
}

.info-table th {
  padding-left: 0;
}

/* 表の前後の余白を広げて、文章との区切りを明確にする */
.prose + .info-table,
.prose + .table-wrap,
.copy-lines + .info-table,
.lead + .info-table,
.sub-heading + .info-table,
.sub-heading + .table-wrap {
  margin-top: 44px;
}

.info-table + .prose,
.table-wrap + .prose,
.info-table + .note-line,
.table-wrap + .note-line,
.info-table + .sub-heading,
.table-wrap + .sub-heading {
  margin-top: 44px;
}

/* 表の内側にも十分な行間を持たせる */
.info-table th,
.info-table td {
  padding-top: 20px;
  padding-bottom: 20px;
  line-height: 1.95;
}

@media (max-width: 800px) {
  .prose + .info-table,
  .prose + .table-wrap,
  .sub-heading + .info-table,
  .sub-heading + .table-wrap,
  .info-table + .prose,
  .table-wrap + .prose,
  .info-table + .note-line,
  .table-wrap + .note-line { margin-top: 32px; }
}

/* ============================================================
   本文の揃え：既定は左揃え。中央にするのは intro 指定の段落だけ
   ============================================================ */
.prose,
.prose p,
.prose p:has(.nowrap),
.flow-list p,
.flow-list p:has(.nowrap),
.faq-list p,
.faq-list p:has(.nowrap),
.business-card p,
.business-card p:has(.nowrap),
.check-list li,
.policy p,
.policy li {
  text-align: left;
}

/* 冒頭の導入文だけ中央に寄せる */
.prose.intro,
.prose.intro p {
  text-align: center;
}

@media (max-width: 800px) {
  .prose.intro,
  .prose.intro p { text-align: left; }
}

/* 助詞が行頭に来にくくする（日本語の禁則をより厳格に） */
.prose p,
.business-card p,
.business-card li,
.faq-list p,
.flow-list p,
.check-list li,
.info-table td,
.fee-table td,
.career-table td,
.policy p,
.policy li,
.news-body {
  line-break: strict;
  word-break: keep-all;
  overflow-wrap: break-word;
}

/* 狭い画面でも枠内に収める（はみ出し防止） */
.table-wrap {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.fee-table {
  max-width: 100%;
  box-sizing: border-box;
}

@media (max-width: 760px) {
  .fee-table,
  .fee-table tbody,
  .fee-table tbody tr,
  .fee-table tbody th,
  .fee-table tbody td {
    max-width: 100%;
    box-sizing: border-box;
  }

  .fee-table tbody th,
  .fee-table tbody td {
    padding-left: 20px;
    padding-right: 20px;
  }

  /* 長い金額は必要に応じて折り返す */
  .fee-table strong.nowrap {
    white-space: normal;
  }
}

/* 狭い画面ではテーブルレイアウトを解除し、幅の指定を無効化する */
@media (max-width: 760px) {
  .fee-table {
    table-layout: auto !important;
    width: 100% !important;
    min-width: 0 !important;
  }
  .fee-table col.c-price,
  .fee-table col.c-fee {
    width: auto !important;
  }
}

/* カード表示時の幅を枠に固定する（中身で広がらないようにする） */
@media (max-width: 760px) {
  .table-wrap { display: block; }

  .fee-table,
  .fee-table tbody {
    display: block;
    width: 100% !important;
  }

  .fee-table tbody tr {
    display: block;
    width: 100%;
    box-sizing: border-box;
  }

  .fee-table tbody th,
  .fee-table tbody td {
    display: block;
    width: 100%;
    box-sizing: border-box;
    overflow-wrap: break-word;
    word-break: normal;
  }
}

/* 狭い画面では nowrap の強制を解除しつつ、文節のまとまりは保つ。
   inline-block にすることで「文節ごと次の行へ送る」動きになり、
   語の途中（例：常／に）で折り返さない。画面より長い場合だけ内部で折り返すので
   横にはみ出すこともない。 */
@media (max-width: 800px) {
  .nowrap {
    white-space: normal;
  }

  .prose p .nowrap,
  .business-card p .nowrap,
  .flow-list p .nowrap,
  .faq-list p .nowrap,
  .check-list li .nowrap,
  .policy p .nowrap,
  .note-line .nowrap,
  .license-line .nowrap,
  .section > p .nowrap,
  .news-body .nowrap {
    display: inline-block;
  }

  /* 表のセルは幅が狭いので、従来どおり自然に流す */
  .info-table .nowrap,
  .fee-table .nowrap,
  .career-table .nowrap {
    display: inline;
  }
}

/* 手順リストの内側を縮められるようにする（flex 子要素のはみ出し防止） */
.flow-list li > div {
  min-width: 0;
  flex: 1 1 auto;
}

.flow-list h4,
.flow-list p {
  min-width: 0;
  overflow-wrap: break-word;
}

/* グリッド内のカードがはみ出さないようにする */
.business-grid {
  min-width: 0;
}

.business-grid > * {
  min-width: 0;
  box-sizing: border-box;
}

.business-card {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.business-card h3,
.business-card p,
.business-card ul,
.business-card li {
  min-width: 0;
  overflow-wrap: break-word;
}

@media (max-width: 800px) {
  .business-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ============================================================
   関連ページへの控えめな導線
   ============================================================ */
.card-link {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--sage-soft);
  text-align: center;
}

.card-link a,
.page-link a {
  display: inline-block;
  font-size: 0.84rem;
  letter-spacing: 0.06em;
  color: var(--green);
  text-decoration: none;
  transition: opacity .25s;
}

.card-link a::after,
.page-link a::after {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  margin-left: 8px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  opacity: .6;
}

.card-link a:hover,
.page-link a:hover { opacity: .65; }

.page-link {
  margin-top: 44px;
  display: flex;
  gap: 36px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-link + .license-number {
  margin-top: 32px;
}

@media (max-width: 800px) {
  .card-link { margin-top: 22px; padding-top: 16px; }
  .page-link { gap: 14px; flex-direction: column; }
}

/* ============================================================
   カード内は中央揃えに戻す（左揃え規則の上書きを打ち消す）
   ============================================================ */
.business-card,
.business-card .copy-lines,
.business-card .copy-lines span,
.business-card .card-link,
.business-card .card-en,
.business-card h3 {
  text-align: center;
}

/* 箇条書きは中央のブロックとして置き、文字は左から読ませる */
.business-card ul {
  display: table;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

@media (max-width: 800px) {
  .business-card ul { display: block; }
}

/* ============================================================
   料金表：枠を広げ、先頭列の文字が罫線に触れないようにする
   ============================================================ */
.table-wrap {
  max-width: 860px;
}

.fee-table th,
.fee-table td {
  padding: 22px 22px;
}

.fee-table tbody th {
  padding-left: 24px;
  padding-right: 24px;
  white-space: nowrap;
}

.fee-table thead th {
  padding-top: 16px;
  padding-bottom: 16px;
}

/* 表と前後の文章の間隔を広げる */
.prose + .table-wrap,
.sub-heading + .table-wrap {
  margin-top: 56px;
}

.table-wrap + .note-line,
.table-wrap + .prose {
  margin-top: 40px;
}

@media (max-width: 860px) {
  .table-wrap { max-width: 100%; }
}

@media (max-width: 800px) {
  .prose + .table-wrap,
  .sub-heading + .table-wrap { margin-top: 36px; }
  .table-wrap + .note-line,
  .table-wrap + .prose { margin-top: 30px; }
}

/* ============================================================
   フッターのリンクを2段にまとめる（項目が増えたため）
   ============================================================ */
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 28px;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

.footer-nav a {
  margin: 0;
}

@media (max-width: 800px) {
  .footer-nav {
    gap: 10px 20px;
    max-width: 340px;
  }
}

/* 料金表だけ幅の統一から外し、ゆとりを持たせる */
.section .table-wrap {
  max-width: 860px;
}

@media (max-width: 900px) {
  .section .table-wrap { max-width: 100%; }
}

/* 金額セルは折り返さない（列幅で調整する） */
.fee-table td strong {
  white-space: nowrap;
}

@media (max-width: 760px) {
  .fee-table td strong { white-space: normal; }
}

/* ============================================================
   カードのグリッド幅を本文に合わせる（860px：料金表と同じゆとり）
   ============================================================ */
.section .business-grid {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 900px) {
  .section .business-grid { max-width: 100%; }
}

/* 本文とカードの間隔を広げる */
.prose + .business-grid,
.copy-lines + .business-grid,
.lead + .business-grid,
.sub-heading + .business-grid,
.illust-caldera + .business-grid,
.medallion + .business-grid {
  margin-top: 56px;
}

.business-grid + .prose,
.business-grid + .note-line,
.business-grid + .sub-heading,
.business-grid + .lead {
  margin-top: 56px;
}

@media (max-width: 800px) {
  .prose + .business-grid,
  .copy-lines + .business-grid,
  .lead + .business-grid,
  .sub-heading + .business-grid,
  .illust-caldera + .business-grid,
  .medallion + .business-grid,
  .business-grid + .prose,
  .business-grid + .note-line,
  .business-grid + .sub-heading,
  .business-grid + .lead {
    margin-top: 36px;
  }
}

/* ============================================================
   スマホの折り返しを自然にする
   1行が短いため、文字を少し詰めて1行あたりの文字数を増やす
   ============================================================ */
@media (max-width: 800px) {
  .prose p,
  .flow-list p,
  .faq-list p,
  .business-card p,
  .business-card li,
  .check-list li,
  .info-table td,
  .fee-table td,
  .note-line,
  .policy p,
  .policy li,
  .career-table td {
    letter-spacing: 0.01em;
    line-break: strict;
    word-break: normal;
    overflow-wrap: break-word;
    text-align: left;
  }

  /* 本文の行間を少し詰めて読みやすく */
  .prose p,
  .flow-list p,
  .faq-list p,
  .business-card p {
    line-height: 1.95;
  }

  /* セクションの左右余白を少し詰めて、1行の文字数を稼ぐ */
  .section {
    padding-left: 20px;
    padding-right: 20px;
  }

  .business-card {
    padding-left: 22px;
    padding-right: 22px;
  }
}

/* スマホでは均等割付にして、行末を揃え端数行を目立たなくする */
@media (max-width: 800px) {
  .prose p,
  .flow-list p,
  .faq-list p,
  .business-card p,
  .check-list li,
  .policy p,
  .news-body {
    text-align: justify;
    text-justify: inter-ideograph;
    letter-spacing: 0.02em;
  }

  /* 見出し・注記・短文は均等割付にしない */
  .note-line,
  .lead,
  .copy-lines,
  .prose.intro p {
    text-align: center;
  }
}

/* 極端に狭い画面（〜380px）では文字を少し小さくして1行の文字数を確保 */
@media (max-width: 380px) {
  .prose p,
  .flow-list p,
  .faq-list p,
  .business-card p,
  .business-card li,
  .check-list li,
  .info-table td,
  .info-table th,
  .fee-table td,
  .fee-table th,
  .note-line,
  .policy p,
  .policy li {
    font-size: 0.88rem;
    line-height: 1.9;
  }

  .section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .business-card {
    padding-left: 18px;
    padding-right: 18px;
  }
}

/* 最終行が短くなりすぎるのを防ぐ（対応ブラウザでは自動で行を均す） */
.prose p,
.flow-list p,
.faq-list p,
.business-card p,
.check-list li,
.policy p,
.news-body {
  text-wrap: pretty;
}

@media (max-width: 800px) {
  .prose p,
  .flow-list p,
  .faq-list p,
  .business-card p,
  .check-list li {
    text-wrap: pretty;
    hanging-punctuation: allow-end;
  }
}

/* カード内の本文幅を確保し、句点だけが行に残らないようにする */
.business-card {
  padding-left: 28px;
  padding-right: 28px;
}

.business-card p {
  text-align: left;
  hanging-punctuation: allow-end;
}

@media (max-width: 800px) {
  .business-card {
    padding-left: 22px;
    padding-right: 22px;
  }
}

/* カード内の本文も均等割付にして、行末の凹凸と端数行を目立たなくする */
.business-card p {
  text-align: justify;
  text-justify: inter-ideograph;
}

@media (max-width: 800px) {
  .business-card p {
    text-align: justify;
    text-justify: inter-ideograph;
  }
}

/* ============================================================
   不動産相談ページ（地域を越えた相談窓口）
   ============================================================ */
.mobile-only { display: none; }

.consult-hero {
  max-width: 920px;
  padding-top: clamp(76px, 9vw, 112px);
  padding-bottom: clamp(76px, 9vw, 112px);
  text-align: center;
}

.consult-eyebrow {
  margin-bottom: 18px;
  color: var(--green);
  font-size: 0.9rem;
  letter-spacing: 0.2em;
}

.consult-hero h2,
.consult-cta h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 500;
  line-height: 1.65;
  letter-spacing: 0.12em;
}

.consult-lead {
  margin-top: 34px;
  margin-bottom: 0;
  font-size: clamp(1rem, 1.8vw, 1.18rem);
  line-height: 2.1;
}

.consult-choice {
  max-width: 680px;
  margin: 52px auto 0;
  padding: 30px 36px;
  border-top: 1px solid var(--sage-soft);
  border-bottom: 1px solid var(--sage-soft);
  font-size: clamp(1.02rem, 1.8vw, 1.2rem);
  line-height: 2.2;
  letter-spacing: 0.08em;
}

.consult-intro { max-width: 720px; }

.consult-principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  max-width: 940px;
  margin: 52px auto 0;
}

.consult-principles article {
  min-width: 0;
  padding: 34px 28px 38px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(69, 89, 43, 0.2);
  text-align: left;
}

.consult-number {
  color: var(--gold);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
}

.consult-principles h3 {
  margin: 12px 0 18px;
  font-size: 1.08rem;
  font-weight: 500;
  letter-spacing: 0.06em;
}

.consult-principles p {
  font-size: 0.91rem;
  line-height: 2;
}

.consult-paths { max-width: 920px !important; }

.consult-paths .business-card {
  padding-top: 46px;
  padding-bottom: 46px;
}

.consult-paths .business-card h3 {
  font-size: clamp(1.12rem, 2vw, 1.35rem);
}

.consult-paths .business-card p { text-align: left; }

/* 移住ガイド：四季の本文は均等割付を使わず、自然な文章幅で読む。 */
.season-grid .business-card p {
  text-align: left;
  text-align-last: auto;
  text-justify: auto;
  letter-spacing: 0.055em;
  line-height: 2.05;
}

.season-grid .season-copy span {
  display: block;
  white-space: nowrap;
}

/* Editorial copy wraps only at natural clause boundaries. */
.clause-lines {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 0;
}

.clause-lines > span {
  flex: 0 0 auto;
  max-width: 100%;
  white-space: nowrap;
}

.prose.intro .clause-lines,
.note-line.clause-lines {
  justify-content: center;
}

.business-card .clause-lines,
.flow-list .clause-lines,
.consult-principles .clause-lines {
  justify-content: flex-start;
}

.consult-flow .flow-step { font-size: 0.78rem; }

.consult-origin .lead {
  font-size: clamp(1.08rem, 2vw, 1.32rem);
  line-height: 2.15;
}

.consult-area-band { background-color: #e5e6d8; }

.consult-cta {
  padding-top: clamp(82px, 9vw, 116px);
  padding-bottom: clamp(82px, 9vw, 116px);
}

.consult-cta h2 {
  margin-bottom: 42px;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.consult-cta .license-line { margin-top: 42px; }

@media (max-width: 800px) {
  .mobile-only { display: block; }

  .consult-hero h2,
  .consult-cta h2 {
    letter-spacing: 0.08em;
  }

  .consult-choice {
    margin-top: 38px;
    padding: 24px 16px;
    font-size: 0.98rem;
    line-height: 2.15;
  }

  .consult-principles {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 38px;
  }

  .consult-principles article { padding: 28px 24px 30px; }

  .consult-paths .business-card {
    padding-top: 38px;
    padding-bottom: 40px;
  }

  .consulting-page .prose.intro,
  .consulting-page .prose.intro p {
    text-align: center;
  }
}

/* ---------- ヘッダー：事業内容プルダウン ---------- */
.global-nav .nav-dropdown {
  position: relative;
  list-style: none;
}

.nav-menu {
  position: relative;
}

.nav-menu summary {
  display: inline-block;
  position: relative;
  padding: 6px 16px 6px 2px;
  border-bottom: 2px solid transparent;
  color: var(--ink);
  font-size: 0.92rem;
  line-height: 1.5;
  cursor: pointer;
  list-style: none;
  white-space: nowrap;
}

.nav-menu summary::-webkit-details-marker {
  display: none;
}

.nav-menu summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 3px;
  width: 5px;
  height: 5px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s ease;
}

.nav-menu[open] summary::after {
  transform: translateY(-20%) rotate(225deg);
}

.nav-menu summary:hover,
.nav-menu summary.current,
.nav-menu[open] summary {
  border-bottom-color: var(--sage);
}

.nav-options {
  position: absolute;
  z-index: 120;
  top: calc(100% + 10px);
  left: 50%;
  width: max-content;
  min-width: 210px;
  padding: 9px;
  transform: translateX(-50%);
  background: rgba(247, 245, 236, 0.98);
  border: 1px solid var(--sage-soft);
  box-shadow: 0 14px 32px rgba(46, 61, 28, 0.12);
}

.nav-options::before {
  content: "";
  position: absolute;
  top: -6px;
  left: calc(50% - 6px);
  width: 11px;
  height: 11px;
  transform: rotate(45deg);
  background: var(--paper);
  border-top: 1px solid var(--sage-soft);
  border-left: 1px solid var(--sage-soft);
}

.global-nav .nav-options a {
  display: block;
  margin: 0;
  padding: 10px 14px;
  border: 0;
  border-bottom: 1px solid rgba(169, 178, 135, 0.42);
  font-size: 0.84rem;
  line-height: 1.6;
  letter-spacing: 0.05em;
  text-align: left;
  white-space: nowrap;
}

.global-nav .nav-options a:last-child {
  border-bottom: 0;
}

.global-nav .nav-options a:hover {
  background: rgba(205, 210, 182, 0.32);
  border-bottom-color: rgba(169, 178, 135, 0.42);
}

/* ---------- 不動産相談ページ：意味のまとまりで改行 ---------- */
.consulting-page p,
.consulting-page h2,
.consulting-page h3,
.consulting-page h4 {
  line-break: strict;
  word-break: auto-phrase;
  overflow-wrap: break-word;
}

.consulting-page h2,
.consulting-page h3,
.consulting-page h4 {
  text-wrap: balance;
}

.consult-phrase {
  display: inline-block;
  white-space: nowrap;
}

.consult-cta h2 span {
  display: block;
}

@media (max-width: 800px) {
  .global-nav {
    width: 100%;
  }

  .global-nav ul {
    width: 100%;
    gap: clamp(8px, 2.4vw, 14px);
    padding: 0 4px;
  }

  .global-nav a,
  .nav-menu summary {
    font-size: clamp(0.78rem, 2.6vw, 0.88rem);
  }

  .nav-menu summary {
    padding-right: 15px;
  }

  .nav-options {
    top: calc(100% + 7px);
    min-width: 196px;
  }

  .global-nav .nav-options a {
    padding: 9px 12px;
    font-size: 0.8rem;
  }

  .consulting-page .page-title .en-title {
    font-size: clamp(1.55rem, 7vw, 2rem);
    letter-spacing: 0.13em;
  }

  .consult-choice p {
    text-align: center;
    text-wrap: balance;
  }
}

/* ============================================================
   スマホ全ページ：意味のまとまりを保った折り返し
   ============================================================ */
.keep-phrase,
.representative-entry {
  white-space: nowrap;
}

.license-line-part {
  display: inline;
}

@media (max-width: 800px) {
  p,
  li,
  td,
  th,
  label,
  h1,
  h2,
  h3,
  h4 {
    line-break: strict;
    word-break: auto-phrase;
    overflow-wrap: break-word;
  }

  /* 均等割付による不自然な字間を避け、本文は自然な左揃えにする */
  .prose p,
  .flow-list p,
  .faq-list p,
  .business-card p,
  .business-card li,
  .check-list li,
  .policy p,
  .policy li,
  .news-body {
    text-align: left;
    text-justify: auto;
  }

  /* 短い導入文と意図して組んだ詩的な行は中央揃えを維持 */
  .lead,
  .copy-lines,
  .note-line,
  .prose.intro p,
  .business-card .copy-lines,
  .business-card .card-link {
    text-align: center;
  }

  h1,
  h2,
  h3,
  h4,
  .btn,
  .card-link a,
  .page-link a,
  .license-line,
  .license-number,
  .check-list li,
  .policy li,
  .career-table td {
    text-wrap: balance;
  }

  /* 日付・見出し・開閉矢印を3列に固定し、矢印だけの折り返しを防ぐ */
  .news-item .news-head {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: baseline;
    gap: 8px 12px;
  }

  .news-title {
    min-width: 0;
  }

  .news-arrow {
    margin-left: 0;
    white-space: nowrap;
  }

  .representative-entry {
    display: inline-flex;
    align-items: baseline;
  }

  .license-line-part {
    display: block;
  }
}

/* 画面幅が特に狭い端末では、意味のまとまりを保ちつつ二次折り返しを許可 */
@media (max-width: 360px) {
  .clause-lines > span {
    flex: 0 1 auto;
    white-space: normal;
  }

  .access-copy .access-route {
    font-size: 0.8rem;
    letter-spacing: 0;
  }

  .access-copy .access-route-columns {
    grid-template-columns: max-content 0.55em max-content 0.55em max-content;
    column-gap: 0.1em;
  }
}

/* ============================================================
   ナビの項目を同じ高さに揃える（リンクとドロップダウンの見出し）
   ============================================================ */
.global-nav > ul > li {
  display: flex;
  align-items: center;
}

.global-nav > ul > li > a,
.nav-menu > summary {
  display: inline-block;
  font-size: 0.92rem;
  line-height: 1.5;
  padding-top: 6px;
  padding-bottom: 6px;
  border-bottom: 2px solid transparent;
  box-sizing: border-box;
}

.global-nav > ul > li > a {
  padding-left: 2px;
  padding-right: 2px;
}

.nav-menu > summary {
  padding-left: 2px;
  padding-right: 16px;
}

/* 矢印の位置を文字の中心に合わせる */
.nav-menu summary::after {
  top: 50%;
  right: 2px;
  transform: translateY(-70%) rotate(45deg);
}

.nav-menu[open] summary::after {
  transform: translateY(-25%) rotate(225deg);
}

/* ============================================================
   お問い合わせページの本文もスマホで揃える
   （.prose を持たないページのため、個別に指定する）
   ============================================================ */
@media (max-width: 800px) {
  .lead,
  .lead span,
  .contact-box,
  .contact-box p {
    font-size: 0.92rem;
    line-height: 1.95;
  }

  .form-note {
    font-size: 0.82rem;
  }
}

@media (max-width: 380px) {
  .lead,
  .lead span,
  .contact-box,
  .contact-box p {
    font-size: 0.88rem;
  }
}

/* ============================================================
   スマホでは本文を中央揃えにして、事業内容ページと統一する
   ============================================================ */
@media (max-width: 800px) {
  .prose,
  .prose p,
  .prose.intro,
  .prose.intro p,
  .lead,
  .lead span {
    text-align: center;
  }

  /* 箇条書き・手順・FAQ・表は左揃えのまま（読みやすさ優先） */
  .flow-list p,
  .faq-list p,
  .check-list li,
  .business-card p,
  .business-card li,
  .info-table td,
  .info-table th,
  .fee-table td,
  .fee-table th,
  .policy p,
  .policy li,
  .career-table td,
  .news-body {
    text-align: left;
  }
}

/* ============================================================
   文節指定（.nowrap）のある段落だけ左寄せになってしまう問題を解消する。
   同じセクション内で揃え方が混ざらないようにする。
   ============================================================ */
@media (max-width: 800px) {
  .prose p:has(.nowrap) {
    text-align: center;
  }

  .flow-list p:has(.nowrap),
  .faq-list p:has(.nowrap),
  .business-card p:has(.nowrap) {
    text-align: left;
  }
}

/* ============================================================
   文節指定のない本文（規約など）も、単語の途中で折り返さないようにする。
   対応していないブラウザでは従来どおりの折り返しになる。
   ============================================================ */
.prose p,
.flow-list p,
.faq-list p,
.check-list li,
.business-card p,
.business-card li,
.policy p,
.policy li,
.news-body,
.note-line,
.season-copy,
.info-table td,
.fee-table td,
.career-table td,
.section > p {
  word-break: auto-phrase;
}


/* ============================================================
   トップページ：最初の画面で「何の会社か」と連絡手段を示す
   ============================================================ */
.hero-action {
  max-width: 40em;
  margin: clamp(34px, 4.2vw, 56px) auto 0;
  text-align: center;
}

.hero-tagline {
  margin: 0 0 12px;
  font-size: clamp(1.05rem, 1.7vw, 1.32rem);
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.12em;
  color: var(--ink);
}

.hero-points {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 20px;
  margin: 0 0 20px;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  color: var(--green);
}

.hero-points span::before {
  content: "◆";
  margin-right: 0.5em;
  font-size: 0.55em;
  color: var(--gold);
  vertical-align: 0.15em;
}

.hero-cta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 16px;
  margin-bottom: 16px;
}

.hero-cta .btn {
  padding: 13px 30px;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
}

.btn-outline {
  background: transparent;
  color: var(--green);
}

.btn-outline:hover {
  background: var(--green);
  color: var(--paper);
}

.hero-tel {
  display: inline-block;
  padding: 6px 12px;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--font-serif-en);
  font-size: 1.2rem;
  letter-spacing: 0.08em;
  font-variant-numeric: lining-nums tabular-nums;
}

.hero-tel small {
  display: block;
  margin-bottom: 2px;
  font-family: var(--font-serif-jp);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  color: var(--green);
}

@media (max-width: 800px) {
  .hero-cta .btn { width: min(100%, 300px); }
  .hero-tagline { font-size: 1.02rem; letter-spacing: 0.08em; }
}

/* 電話番号のリンク（見た目は文字のまま、タップで発信できる） */
a.contact-phone {
  color: inherit;
  text-decoration: none;
}

/* フッターの免許番号（全ページ共通の信頼情報） */
.footer-license {
  margin: 16px 0 4px;
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  opacity: 0.85;
}

/* タップしやすい大きさを確保する（指で押しやすい44px目安） */
.card-link a,
.page-link a { padding: 10px 6px; }
.footer-nav a { display: inline-block; padding: 8px 6px; }
.news-list li > a { display: inline-block; padding: 4px 0; }


/* セクション見出しを h2 にしたので、ブラウザ既定の見出し装飾を打ち消す */
h2.section-heading {
  margin-top: 0;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}

/* フッターの住所・電話・地図（MEO: 全ページで同じ表記にする） */
.footer-address {
  margin: 6px 0 0;
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  opacity: 0.85;
}

.footer-address a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(205, 210, 182, 0.5);
}

.footer-address .sep {
  margin: 0 0.4em;
  opacity: 0.6;
}

@media (max-width: 800px) {
  .footer-address .sep { display: block; height: 4px; overflow: hidden; }
}

/* ============================================================
   不動産相談ページのカード：箇条書きに合わせて本文も中央に揃える
   （本文が flex のため text-align ではなく justify-content で中央寄せ）
   ============================================================ */
.consult-paths .business-card p,
.consult-paths .business-card .clause-lines {
  text-align: center;
  justify-content: center;
}

.consult-paths .business-card ul {
  display: table;
  width: auto;
  margin: 24px auto 0;
  padding-left: 1.2em;
  text-align: left;
}

/* ============================================================
   事業内容ページのカード：見出しの下線の高さをそろえる
   見出しが1行のカードと2行のカードが並ぶと下線がずれるため、
   見出し欄に2行ぶんの高さを確保し、文字はその中で上下中央に置く。
   スマホは1列で並ばないため、この指定は横並びのときだけ適用する。
   ============================================================ */
@media (min-width: 801px) {
  .card-heads-align .business-card h3 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 4.5em;                    /* lh 非対応ブラウザ用のめやす */
    min-height: calc(2lh + 14px + 1px);   /* 2行 ＋ 下余白 ＋ 罫線 */
  }
}

/* ============================================================
   PC表示：表は中身の幅まで縮め、表ごと中央に置く
   （行の横線が見出しの中心に対して左右均等になる）
   ============================================================ */
@media (min-width: 801px) {
  .section .info-table {
    width: auto;
    margin-left: auto;
    margin-right: auto;
  }

  /* チェックリストは項目が短いので、枠を中身の幅まで縮めて中央に置く */
  .section .check-list {
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
  }
}

/* ============================================================
   小見出し（移住ガイドの「日常の買い物」など）に控えめな強弱をつける
   帯の背景と下線が同じ色で消えていたため、どの背景でも見える色にし、
   金の◆と、文字幅だけの下線で本文と区別する
   ============================================================ */
.section .sub-heading {
  width: fit-content;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.08rem;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(69, 89, 43, 0.38);
  text-align: left;
}

.section .sub-heading::before {
  content: "◆";
  display: inline-block;
  margin-right: 0.6em;
  font-size: 0.55em;
  color: var(--gold);
  vertical-align: 0.25em;
}

@media (max-width: 800px) {
  .section .sub-heading { font-size: 1rem; }
}

/* ---- 白い枠のチェックリストの飾り（PCのみ・2026-11-07） ----
   移住ガイド「暮らして感じる冬」：項目を2列にして枠を低くする
   不動産「冬の道について」：右の空白に手描き風の線画（雪道・牧柵・エゾマツ・白樺） */
@media (min-width: 801px) {
  .section .check-list--cols { columns: 2; column-gap: 36px; }
  .section .check-list--cols li { break-inside: avoid; }
  .section .check-list--road {
    padding-right: 284px;
    /* 右の余白：絵の端から枠までを、左の枠からチェック印まで（約36px）と同じにする */
    background: var(--white) url("../assets/winter-road.svg?v=1") no-repeat right 31px center / 228px auto;
  }
}

/* 見出し（h1・h2）には日本語見出しだけを入れ、英字ラベルは見出しの外の p に置く（2026-11-12）。見た目は以前と同じ */
.page-title > .en-title,
.section-heading > .en-title {
  margin: 0;
}

.page-title > h1.jp-title,
.section-heading > h2.jp-title {
  margin-bottom: 0;
  font-weight: inherit;
  line-height: inherit;
}

/* 本文中の出典リンク（気象庁・村公式サイトなど）。関係会社リンクと同じ細い下線 */
.prose .source-link,
.faq-list .source-link {
  border-bottom: 1px solid var(--sage);
  padding-bottom: 0.04em;
}
