@charset "UTF-8";
/*
 * ======================================
 * 追加クラス一覧（共通SCSS取り込み検討用）
 * ======================================
 *
 * ── 土台 ─────────────────────────────
 * .masa-sec            - 左サイドバー(292px)ぶんの content offset（padding-left:320px）
 * .masa-py-*           - claude-design-output の clamp() セクション上下padding 実数再現
 * .masa-cont / --820〜--1400 - コンテナ最大幅＋左右padding 24px 固定（.container系は1320px以下で95%に変わるため別途用意）
 *
 * ── ヘッダー（左サイドバー型） ─────────
 * .masa-side           - .header-sidebar の値差分（292px固定・角丸パネル・下部にtel/CTA）
 * .masa-side__panel    - 角丸14pxのナビパネル（#F7F7F7）
 * .masa-side__logo-*   - テキストロゴ（MASA / 株式会社MASA / MAIZURU, KYOTO の3段）
 * .masa-side__group / __grouphead / __grouplabel / __toggle - 事業グループ見出し＋開閉ボタン
 * .masa-side__link     - ナビ項目（現在地は淡トーン地）
 * .masa-side__tel / __cta - サイドバー下部の電話・CTAボタン
 * .masa-spnav__label / __tel - SPナビの事業名ラベル・電話
 * .masa-biz-icon       - 事業アイコン（家／海苔）
 *
 * ── 共通パーツ ───────────────────────
 * .masa-cta            - お問い合わせCTA帯（テクスチャ3枚multiply）
 * .masa-footer-*       - フッター
 *
 * ── 見出し・本文 ─────────────────────
 * .masa-en / --top / --hero  - Jost の大型英字見出し
 * .masa-ja / --mt*     - 英字の下に重なる日本語見出し（負のmargin-top）
 * .masa-lead / .masa-p / .masa-note / .masa-cap - 本文・注釈のサイズ／行高
 * .masa-sechead        - 英字＋日本語の見出しブロック
 *
 * ── ページ共通 ───────────────────────
 * .masa-hero-*         - 下層ページヒーロー（ラベル＋日本語＋英字＋アンカー索引＋写真）
 * .masa-anchor / __icon - ページ内アンカー索引リンク（丸チェブロン付き）
 * .masa-pill / --re / --nori - MOREバッジ／一覧リンクの pill ボタン
 * .masa-btn / --re / --nori / --outline-nori - 角丸2pxのボタン
 *
 * ── TOP ─────────────────────────────
 * .masa-mv-*           - メインビジュアル（静止画＋テキストパネル＋インジケータ）
 * .masa-about          - ABOUT US（背景写真を白90%で伏せる）
 * .masa-bizcard-*      - 事業紹介2カード（MOREバッジが枠外にはみ出す）
 * .masa-tab-*          - NEWS/EVENT のタブ見出し＋白パネル
 * .masa-list-*         - 日付＋タイトルの行リスト
 *
 * ── 下層 ────────────────────────────
 * .masa-dl-*           - 会社概要テーブル（label 200px 固定）
 * .masa-hist-*         - 沿革（year 190px 固定）
 * .masa-card-*         - 取り扱い業務カード／商品カード
 * .masa-area-*         - 対応エリア（バッジ＋地図）
 * .masa-value-*        - 大切にしていること（写真とテキストの左右交互）
 * .masa-prop-*         - 物件カード（サムネ切替・スペック表・価格）
 * .masa-flow-*         - ご利用の流れ（56px丸ナンバー＋▼）
 * .masa-form-*         - お問い合わせフォーム
 * .masa-fig-*          - 黒ばら海苔の写真3点（キャプション付き）
 * .masa-shop-*         - 販売店リスト
 * .masa-blog-*         - ブログ一覧・詳細（カテゴリボタン／サイドバー／記事本文）
 * .masa-page-*         - ページネーション
 * .masa-side-bnr       - サイドバー下部のバナー
 *
 * ======================================
 * 共通SCSSに不足していたもの
 * ======================================
 *
 * ▼ 値の粒度不足
 *   - font-size：11 / 13.5 / 15 / 17 / 19 / 21 / 30px と clamp() 可変値が fz-* に無い
 *     （fz-* は 10,12,13,14,16,18,20,22,24,28,32,36,40,48,56,64,80,96,100,120 のみ）
 *   - line-height：1.9 / 1.95 / 2.1 / 2.2 / 1.05 が lh-* に無い
 *   - letter-spacing：0.03 / 0.04 / 0.06 / 0.08 / 0.09 / 0.12 / 0.14 / 0.18em が ls-* に無い
 *   - gap：3 / 8 / 9 / 11 / 12 / 14 / 16 / 18 / 22 / 24 / 26 / 28 / 44 / 52px が gap-* に無い
 *   - コンテナ幅：820 / 880 / 960 / 1000 / 1400px。.container 系は 1320px 以下で 95% に変わり
 *     左右 padding も 10px になるため、24px 固定の DC 値と一致しない
 *   - セクション上下padding：DC は clamp() 可変。.section は 88/52px 固定で中間域が合わない
 *
 * ▼ 指定方向不足
 *   - ヘッダー左サイドバー型（.header-sidebar）は width:20% ／ 全高白背景の1枚パネル。
 *     DC は 292px 固定＋角丸14pxパネル＋その下に tel/CTA を並べる3ブロック構成で、
 *     幅・内側余白・角丸・下部ブロックを個別指定する手段が無い
 *   - grid の auto-fit（repeat(auto-fit,minmax(Npx,1fr))）が grid-* に無い（grid-auto は 250px 固定）
 *   - order による写真／テキストの左右入れ替えが grid 用に無い（column2--reverse は flex のみ）
 *
 * ▼ 状態不足
 *   - 「現在地のナビ項目だけ淡トーンの地を敷く」状態が header__nav-item--current に無い
 *     （共通は下線のみ）。2事業で地色を出し分ける必要もある
 *   - 物件サムネイルの選択状態（border＋outline 2色）
 *
 * ▼ 構造不足
 *   - 見出しが「日本語(小) → 英字(大)」の順で英字が下に来る型が heading 系に無い
 *     （heading-big--overlap は英字が上）。DC は en を下に置き ja を負marginで重ねる
 *   - ページ内アンカー索引（2列grid・丸チェブロン付き）に相当する component が無い
 *   - カード画像の外にはみ出す MORE バッジ（bottom:-22px）
 *   - タブ見出し（上辺5pxカラーバー＋角丸8px 8px 0 0）が tab-nav に無い
 *   - 物件カード（左:写真＋サムネ / 右:スペック）の2分割カード
 *
 * ▼ 装飾パターン不足
 *   - 背景テクスチャ画像を multiply で3枚重ねる CTA 帯
 *   - 背景写真を rgba(255,255,255,.88〜.9) のグラデーションで伏せるセクション背景
 *     （bg-overlay は暗幕のみで、白で明るく伏せる指定が無い）
 *   - フロー図の ▼ コネクター（card-flow__connector は矢印記号が別形状）
 *
 */

/* ==========================================================================
   画像パスについて
   ==========================================================================
   画像はROSのCDNから配信する。
   HTML側は includes/config.php の $img を使って <?php echo $img; ?>ファイル名 と書く。
   CSS は PHP を通せないため、下記3箇所だけ同じCDNパスを直書きしている。
   CDNベース: https://ros-cdn.s3.ap-northeast-1.amazonaws.com/hp/img/ros_keiyaku/28635/
     - .masa-cta        bg-texture-white.jpg（multiply 3枚重ね）
     - .masa-about      bg-townscape-light.jpg
     - .masa-bg-texture bg-texture-beige.jpg
   契約番号（28635）が変わる場合はこの3箇所も差し替えること。
   ========================================================================== */

/* ==========================================================================
   0. ベース（claude-design-output/css/base.css 相当）
   ========================================================================== */
body {
  font-weight: 500;
}
a:hover {
  opacity: .7;
}

/* ==========================================================================
   1. レイアウト土台
   ========================================================================== */
/* 左サイドバー(292px)＋左gutter(16px)＋右余白(12px) = 320px */
.masa-sec {
  padding-left: 320px;
}

.masa-cont {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}
.masa-cont--1200 { max-width: 1200px; }
.masa-cont--1000 { max-width: 1000px; }
.masa-cont--960  { max-width: 960px; }
.masa-cont--900  { max-width: 900px; }
.masa-cont--880  { max-width: 880px; }
.masa-cont--820  { max-width: 820px; }

/* セクション上下padding（DC の clamp() をそのまま再現）
   ※ padding-left（.masa-sec）を打ち消さないよう、必ず top/bottom の個別指定で書く */
.masa-py-mv       { padding-top: 0;                      padding-bottom: clamp(48px, 6vw, 80px); }
.masa-py-top      { padding-top: clamp(56px, 7vw, 92px); padding-bottom: clamp(56px, 7vw, 92px); }
.masa-py-news     { padding-top: clamp(52px, 6vw, 84px); padding-bottom: clamp(52px, 6vw, 84px); }
.masa-py-std      { padding-top: clamp(52px, 6vw, 88px); padding-bottom: clamp(52px, 6vw, 88px); }
.masa-py-lead     { padding-top: clamp(46px, 5vw, 76px); padding-bottom: clamp(34px, 4vw, 52px); }
.masa-py-items    { padding-top: clamp(46px, 5vw, 76px); padding-bottom: clamp(52px, 6vw, 88px); }
.masa-py-works    { padding-top: 0;                      padding-bottom: clamp(52px, 6vw, 88px); }
.masa-py-listings { padding-top: clamp(40px, 5vw, 64px); padding-bottom: clamp(52px, 6vw, 88px); }
.masa-py-buy      { padding-top: clamp(48px, 6vw, 80px); padding-bottom: clamp(48px, 6vw, 80px); }
.masa-py-blog     { padding-top: clamp(40px, 5vw, 68px); padding-bottom: clamp(52px, 6vw, 88px); }
.masa-py-blogtop  { padding-top: clamp(34px, 4vw, 56px); padding-bottom: clamp(24px, 3vw, 38px); }
.masa-py-note     { padding-top: clamp(26px, 3vw, 38px); padding-bottom: 0; }
.masa-py-cta      { padding-top: clamp(34px, 4vw, 52px); padding-bottom: clamp(34px, 4vw, 52px); }

/* ==========================================================================
   2. ヘッダー：左サイドバー型
   ========================================================================== */
.masa-side {
  width: 292px;
  height: auto;
  bottom: 0;
  z-index: 60;
  gap: 10px;
  padding: 16px 0 16px 16px;
  background: transparent;
  overflow: visible;
  transition: transform .3s ease;
}

.masa-side__panel {
  flex: 0 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  background: #F7F7F7;
  border-radius: 14px;
  padding: 26px 22px 24px;
}

/* -- ロゴ ------------------------------------------------------------------ */
.masa-side__logo {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: #123a24;
  margin-bottom: 22px;
}
.masa-side__logo:hover { opacity: .65; }
.masa-side__logo-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.masa-side__logo-en {
  font-family: "Jost", sans-serif;
  font-size: 40px;
  font-weight: 500;
  letter-spacing: .14em;
  line-height: 1;
  color: #123a24;
}
.masa-side__logo-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.masa-side__logo-line {
  width: 18px;
  height: 1px;
  background: #c6c1bc;
}
.masa-side__logo-ja {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .14em;
  color: #66786d;
  line-height: 1;
}
.masa-side__logo-loc {
  font-family: "Jost", sans-serif;
  font-size: 9px;
  letter-spacing: .2em;
  color: #8fa096;
  line-height: 1;
}

/* -- ナビ ------------------------------------------------------------------ */
.header-sidebar .masa-side__nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0;
  align-items: stretch;
}
.masa-side__group {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.masa-side__grouphead {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 0 2px;
}
.masa-side__grouplabel {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .09em;
}
.masa-side__grouplabel--re   { color: #35806c; }
.masa-side__grouplabel--nori { color: #222f4c; }
.masa-biz-icon {
  line-height: 1;
}
.masa-side__toggle {
  flex: none;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #c6d3cb;
  border-radius: 50%;
  background: transparent;
  color: #5f6b64;
  font-size: 12px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  transition: border-color .3s ease, color .3s ease;
}
.masa-side__toggle:hover {
  border-color: #5f6b64;
  color: #123a24;
}

.masa-side__links {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.masa-side__link {
  align-self: flex-start;
  padding: 0 10px;
  margin: 0 -10px 10px;
  line-height: 1.2em;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .04em;
  color: #123a24;
  background: transparent;
}
.masa-side__link:hover { opacity: .65; }
.masa-side__link.is-current            { background: #c6ddd5; }
.masa-side__link--nori.is-current      { background: #c5cbd8; }

/* -- 電話・CTA ------------------------------------------------------------- */
.masa-side__tel {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: #ffffff;
  border: 1px solid #dde5e0;
  border-radius: 14px;
  padding: 14px 20px;
  text-decoration: none;
  color: #123a24;
}
.masa-side__tel:hover {
  border-color: #35806c;
  opacity: 1;
}
.masa-side__tel-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.masa-side__tel-num {
  font-family: "Jost", sans-serif;
  font-size: 19px;
  font-weight: 500;
  letter-spacing: .03em;
  line-height: 1.1;
}
.masa-side__tel-sub {
  font-size: 10.5px;
  color: #56695d;
  letter-spacing: .03em;
}
.masa-side__tel-icon {
  font-size: 12px;
  color: #35806c;
  line-height: 1;
}

.masa-side__cta {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-radius: 14px;
  padding: 15px 20px;
  text-decoration: none;
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: .04em;
}
.masa-side__cta i {
  font-size: 12px;
  line-height: 1;
}
.masa-side__cta--re {
  background: #35806c;
  border: 1px solid #35806c;
}
.masa-side__cta--re:hover {
  background: #2a665a;
  border-color: #2a665a;
  opacity: 1;
}
.masa-side__cta--nori {
  background: #222f4c;
  border: 1px solid #222f4c;
}
.masa-side__cta--nori:hover {
  background: #161f33;
  border-color: #161f33;
  opacity: 1;
}

/* -- SPナビの追加要素 ------------------------------------------------------ */
.sp-nav__item--label {
  border-bottom: none;
}
.sp-nav__item--label + .sp-nav__item {
  border-top: 1px solid rgba(255, 255, 255, .15);
}

/* -- SPナビ：日本語を左・英字を右（共通CSSは英字が左） ---------------------- */
/* 共通CSS（main.css）の .sp-nav__en は margin-right:auto / padding-left:12px で
   英字を左端に寄せている。それを打ち消し、代わりに日本語側で右のまとまりを押し出す。 */
.sp-nav__ja {
  margin-right: auto;
}
.sp-nav__en {
  margin-right: 0;
  padding-left: 0;
}
/* 右端のシェブロンと英字がくっついていたので余白を入れる */
.sp-nav__link::after {
  margin-left: 14px;
}
/* 事業別ラベルは中央寄せ（.sp-nav__list の text-align:center）をやめて左寄せに */
.sp-nav__item--label {
  text-align: left;
}
.masa-spnav__label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 22px 10px 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .09em;
  color: rgba(255, 255, 255, .72);
}
.masa-spnav__tel {
  display: block;
  font-family: "Jost", sans-serif;
  font-size: 26px;
  font-weight: 500;
  letter-spacing: .04em;
  color: #ffffff;
  text-decoration: none;
  line-height: 1.2;
}
.masa-spnav__tel-sub {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  letter-spacing: .03em;
  color: rgba(255, 255, 255, .8);
}

/* ==========================================================================
   3. お問い合わせCTA帯
   ========================================================================== */
.masa-cta {
  background-color: #2a665a;
  background-image: url(https://ros-cdn.s3.ap-northeast-1.amazonaws.com/hp/img/ros_keiyaku/28635/bg-texture-white.jpg), url(https://ros-cdn.s3.ap-northeast-1.amazonaws.com/hp/img/ros_keiyaku/28635/bg-texture-white.jpg), url(https://ros-cdn.s3.ap-northeast-1.amazonaws.com/hp/img/ros_keiyaku/28635/bg-texture-white.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-blend-mode: multiply, multiply, multiply;
  color: #ffffff;
}
.masa-cta__inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(24px, 3vw, 48px);
  align-items: center;
}
.masa-cta__left {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.masa-cta__ttl {
  margin: 0;
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .03em;
  white-space: nowrap;
}
.masa-cta__lead {
  margin: 0;
  font-size: 14px;
  line-height: 1.9;
  color: #e9f2ee;
}
.masa-cta__tel {
  align-self: flex-start;
  font-family: "Jost", sans-serif;
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 500;
  letter-spacing: .04em;
  color: #ffffff;
  text-decoration: none;
  line-height: 1.2;
  margin-top: 2px;
}
.masa-cta__right {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
}
.masa-cta__btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: min(100%, 320px);
  background: #ffffff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .04em;
  padding: 8px 8px 8px 26px;
  border-radius: 999px;
}
.masa-cta__btn:hover { opacity: .88; }
.masa-cta__btn--re   { color: #2a665a; }
.masa-cta__btn--nori { color: #222f4c; }
.masa-cta__btn-arrow {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: #ffffff;
  font-size: 13px;
}
.masa-cta__btn--re   .masa-cta__btn-arrow { background: #2a665a; }
.masa-cta__btn--nori .masa-cta__btn-arrow { background: #222f4c; }

/* ==========================================================================
   4. フッター
   ========================================================================== */
.masa-footer {
  background: #222f4c;
  color: #e6e9ef;
}
.masa-footer__inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 24px 18px;
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: space-between;
}
.masa-footer__info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 260px;
}
.masa-footer__name {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .04em;
  color: #ffffff;
}
.masa-footer__addr {
  font-size: 13px;
  line-height: 1.9;
  color: #c5cbd8;
}
.masa-footer__sns {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  align-self: flex-start;
  font-family: "Jost", sans-serif;
  font-size: 12px;
  letter-spacing: .14em;
  color: #ffffff;
  text-decoration: none;
}
.masa-footer__sns i {
  font-size: 17px;
  line-height: 1;
}
.masa-footer__navs {
  display: flex;
  gap: 44px;
  flex-wrap: wrap;
}
.masa-footer__nav {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.masa-footer__navttl {
  font-family: "Jost", sans-serif;
  font-size: 11px;
  letter-spacing: .18em;
  color: #8e97ac;
}
.masa-footer__navlink {
  font-size: 13px;
  color: #e6e9ef;
  text-decoration: none;
}
.masa-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .16);
}
.masa-footer__copy {
  max-width: 1400px;
  margin: 0 auto;
  padding: 12px 24px;
  font-size: 11px;
  letter-spacing: .04em;
  color: #a8b0c2;
}

/* ==========================================================================
   5. 見出し・本文の共通タイポグラフィ
   ========================================================================== */
.masa-sechead {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.masa-en {
  display: block;
  font-family: "Jost", sans-serif;
  font-size: clamp(30px, 4vw, 54px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: .02em;
  color: #123a24;
}
.masa-en--top  { font-size: clamp(34px, 4.8vw, 62px); }
.masa-en--hero { font-size: clamp(30px, 4.2vw, 56px); }

.masa-ja {
  margin: -6px 0 0;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: .08em;
  color: #56695d;
}
/* TOP「わたしたちについて」のみ DC が line-height:1.6 を持つ */
.masa-ja--lh16 { line-height: 1.6; }
.masa-ja--mt0   { margin-top: 0; }
.masa-ja--mt-4  { margin-top: -4px; }
.masa-ja--mt-14 { margin-top: -14px; }
.masa-ja--mt6   { margin-top: 6px; }

.masa-p {
  margin: 0;
  font-size: 15px;
  line-height: 2.1;
  color: #2c4a3a;
}
.masa-p--16-22 {
  font-size: 16px;
  line-height: 2.2;
}
.masa-lead {
  margin: 0;
  font-size: clamp(15px, 1.8vw, 18px);
  line-height: 2.1;
  color: #2c4a3a;
}
.masa-lead--2 { line-height: 2; }
.masa-note {
  margin: 0;
  font-size: 14px;
  line-height: 1.95;
  color: #56695d;
}
.masa-cap {
  margin: 0;
  font-size: 12px;
  line-height: 1.7;
  color: #66786d;
}
.masa-sign {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .06em;
  color: #123a24;
}

/* ==========================================================================
   6. ボタン・pill・アンカー索引
   ========================================================================== */
.masa-pill {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
  text-decoration: none;
  font-family: "Jost", sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .12em;
  padding: 6px 6px 6px 24px;
  border-radius: 999px;
}
.masa-pill--re   { background: #35806c; }
.masa-pill--nori { background: #222f4c; }
.masa-pill__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 50%;
  font-size: 11px;
  letter-spacing: 0;
}

.masa-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .04em;
  padding: 16px 28px;
  border-radius: 2px;
}
.masa-btn--re {
  background: #35806c;
  color: #ffffff;
}
.masa-btn--re:hover { background: #2a665a; opacity: 1; }
.masa-btn--nori {
  background: #222f4c;
  color: #ffffff;
}
.masa-btn--nori:hover { background: #161f33; opacity: 1; }
.masa-btn--outline-nori {
  background: #ffffff;
  border: 1px solid #222f4c;
  color: #222f4c;
}
.masa-btn--outline-nori:hover { background: #f2f3f6; opacity: 1; }
.masa-btn--ghost-nori {
  border: 1px solid #222f4c;
  color: #222f4c;
}
.masa-btn--ghost-nori:hover { background: #e6e9ef; opacity: 1; }

.masa-btnrow {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.masa-btnrow--center { justify-content: center; margin-top: 0; }

/* ページ内アンカー索引 */
.masa-anchors {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 10px;
  border-top: 1px solid #ddd9d5;
  margin-top: 10px;
  padding-top: 14px;
}
.masa-anchor {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  font-size: clamp(12px, 1.15vw, 15px);
  font-weight: 600;
  letter-spacing: 0;
  color: #2a665a;
  padding: 7px 0;
}
.masa-anchor:hover { opacity: .6; }
.masa-anchor--nori { color: #222f4c; }
.masa-anchor__icon {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35em;
  height: 1.35em;
  border-radius: 50%;
  background: #8FAE3C;
  color: #ffffff;
  font-size: .62em;
  line-height: 1;
}

/* ==========================================================================
   7. 下層ページヒーロー
   ========================================================================== */
.masa-hero__inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: clamp(30px, 4vw, 50px) 24px 0;
  display: grid;
  grid-template-columns: minmax(300px, 1fr) clamp(240px, 24vw, 400px);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}
.masa-hero__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-bottom: clamp(22px, 3vw, 34px);
}
.masa-hero__label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .1em;
  color: #56695d;
}
.masa-hero__label--re   { color: #2a665a; }
.masa-hero__label--nori { color: #222f4c; }
.masa-hero__ttl {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: .08em;
  color: #56695d;
}
.masa-hero__img {
  width: 100%;
  min-height: clamp(200px, 22vw, 300px);
  height: 100%;
  object-fit: cover;
  margin-bottom: -1px;
  border-radius: 14px;
  display: block;
}

/* ブログ用（写真なし・下端罫線） */
.masa-bloghead {
  border-bottom: 1px solid #ddd9d5;
}
.masa-bloghead__inner {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* パンくず */
.masa-crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: .04em;
  color: #66786d;
}
.masa-crumb a {
  color: #66786d;
  text-decoration: none;
}
.masa-crumb a:hover { opacity: .6; }
.masa-crumb__sep { color: #b6c1ba; }

/* ==========================================================================
   8. レスポンシブ：1100px 以下でサイドバーを上部バーへ
   ========================================================================== */
@media (max-width: 1100px) {
  body { padding-top: 58px; }

  .masa-sec { padding-left: 0; }

  .masa-side {
    width: 100%;
    height: 58px;
    bottom: auto;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    padding: 8px 16px;
    background: #F7F7F7;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
  }
  .masa-side__panel {
    flex: 1 1 auto;
    background: transparent;
    border-radius: 0;
    padding: 0;
    overflow: visible;
  }
  /* PCナビ・電話・CTAは上部バーでは隠し、SPナビ（ハンバーガー）へ寄せる。
     main.css 側の `.header-sidebar .header__nav` の pc 非表示は、site.css の
     同詳細度ルールが後勝ちで打ち消してしまうため、ここで明示的に戻す */
  .header-sidebar .masa-side__nav { display: none; }
  .masa-side__logo { margin-bottom: 0; }
  .masa-side__logo-body { gap: 4px; }
  .masa-side__logo-en { font-size: 26px; }
  .masa-side__logo-loc { display: none; }
  .masa-side__tel,
  .masa-side__cta { display: none; }

  .masa-hero__inner {
    grid-template-columns: minmax(0, 1fr);
  }
  .masa-hero__img {
    min-height: 180px;
    max-height: 260px;
  }
}

@media (max-width: 639px) {
  .masa-cta__ttl { white-space: normal; }
  .masa-cta__right { align-items: stretch; }
  .masa-cta__btn { width: 100%; }
  .masa-anchors { grid-template-columns: minmax(0, 1fr); }
  .masa-footer__navs { gap: 28px; }
}

/* ==========================================================================
   9. TOP：メインビジュアル
   ========================================================================== */
.masa-mv__outer {
  padding: 16px 24px 0;
}
#slideshow {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  min-height: 420px;
  background: #f2f5f3;
  border-radius: 14px;
  overflow: hidden;
}
#slideshow .swiper-slide {
  position: absolute;
  inset: 0;
}
.main_slider__inner {
  position: absolute;
  inset: 0;
  background-color: #f2f5f3;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 1;
  transition: opacity 1.1s ease;
}

/* --------------------------------------------------------------------------
   TOPメインビュー：暫定スライダー（CMSスライダー差し替え時にこのブロックごと削除）
   Swiper は読み込まず、js/common.js §8 が .is-active を付け替えるだけ。
   ・JSが動かない／prefers-reduced-motion のとき … 1枚目だけを表示（下の1つ目のルール）
   ・JSが動いているとき                        … .is-mvslider が付き、.is-active だけ表示
   CMSスライダーは .main_slider__inner を出力しないため、消し忘れても干渉はしない。
   -------------------------------------------------------------------------- */
#slideshow .swiper-slide:not(:first-of-type) .main_slider__inner { opacity: 0; }
#slideshow.is-mvslider .swiper-slide .main_slider__inner { opacity: 0; }
#slideshow.is-mvslider .swiper-slide.is-active .main_slider__inner { opacity: 1; }
.masa-mv__panel {
  position: absolute;
  inset: auto auto 0 0;
  z-index: 2;
  max-width: min(620px, 86%);
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: rgba(255, 255, 255, .92);
  padding: clamp(26px, 3vw, 42px) clamp(26px, 3vw, 46px);
  border-radius: 0 14px 0 14px;
}
.masa-mv__catch {
  margin: 0;
  font-size: clamp(28px, 3.6vw, 46px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: .02em;
  color: #123a24;
}
.masa-mv__sub1 {
  margin: 0;
  font-size: clamp(16px, 1.8vw, 20px);
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: .03em;
  color: #2a665a;
}
.masa-mv__sub2 {
  margin: 0;
  font-size: clamp(13px, 1.3vw, 15px);
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: .03em;
  color: #56695d;
}

/* ==========================================================================
   10. TOP：わたしたちについて
   ========================================================================== */
.masa-about {
  background: linear-gradient(rgba(255, 255, 255, .9), rgba(255, 255, 255, .9)), url(https://ros-cdn.s3.ap-northeast-1.amazonaws.com/hp/img/ros_keiyaku/28635/bg-townscape-light.jpg) center center/cover no-repeat;
}
.masa-about__inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ==========================================================================
   11. TOP：事業紹介（2カード）
   ========================================================================== */
.masa-biz__inner {
  display: flex;
  flex-direction: column;
  gap: clamp(26px, 3vw, 40px);
}
.masa-biz__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(32px, 4vw, 56px);
}
.masa-bizcard {
  display: flex;
  flex-direction: column;
  gap: 18px;
  text-decoration: none;
  color: #123a24;
}
.masa-bizcard__figure {
  position: relative;
  display: block;
}
.masa-bizcard__img {
  display: block;
  width: 100%;
  height: clamp(240px, 26vw, 360px);
  object-fit: cover;
  background: #e9f2ee;
  border-radius: 14px;
}
.masa-bizcard__img--nori { background: #e6e9ef; }
/* MORE バッジは写真の外へ 22px はみ出す（元データの意図的なはみ出し。clip しない） */
.masa-bizcard__more {
  position: absolute;
  right: 0;
  bottom: -22px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
  font-family: "Jost", sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .12em;
  padding: 6px 6px 6px 24px;
  border-radius: 999px;
}
.masa-bizcard__more--re   { background: #35806c; }
.masa-bizcard__more--nori { background: #222f4c; }
.masa-bizcard__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 22px;
}
.masa-bizcard__label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .1em;
}
.masa-bizcard__label--re   { color: #2a665a; }
.masa-bizcard__label--nori { color: #222f4c; }
.masa-bizcard__ttl {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.6;
}
.masa-bizcard__txt {
  font-size: 15px;
  line-height: 1.95;
  color: #56695d;
}

/* ==========================================================================
   12. お知らせ／イベント（タブ見出し＋白パネル＋行リスト）
   ========================================================================== */
.masa-tabsec { background: #e9f2ee; }
.masa-tabsec__inner {
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 2.4vw, 30px);
}
.masa-tabsec__head {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.masa-tab {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.masa-tab__bar {
  display: flex;
  gap: 8px;
  align-items: stretch;
}
.masa-tab__btn {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: none;
  border-top: 5px solid transparent;
  border-radius: 8px 8px 0 0;
  background: #f2f5f3;
  color: #56695d;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: clamp(14px, 1.5vw, 16px);
  font-weight: 600;
  letter-spacing: .05em;
  padding: 22px 16px;
  text-decoration: none;
}
.masa-tab__btn--re            { border-top-color: #c6ddd5; }
.masa-tab__btn--nori          { border-top-color: #c5cbd8; }
.masa-tab__btn.is-active      { background: #ffffff; color: #123a24; }
.masa-tab__btn--re.is-active  { border-top-color: #35806c; }
.masa-tab__btn--nori.is-active{ border-top-color: #222f4c; }
.masa-tab__btn[aria-selected="false"]:hover { background: #eef3f0; }
.masa-tab__btn:focus-visible { outline: 2px solid #35806c; outline-offset: -4px; }

/* property.php のカテゴリタブはリンク（JS切替ではないため hover は透過で返す） */
a.masa-tab__btn:hover { opacity: .85; }

.masa-tab__panel {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: #ffffff;
  padding: 26px 26px 8px;
}
.masa-tab__lead {
  margin: 0;
  font-size: 15px;
  line-height: 1.95;
  color: #56695d;
}

/* パネル・一覧リンクはタブ連動で出し分ける（JSが hidden 属性を付け外しする）
   ※ .masa-tab__panel の display:flex より後に置くこと */
.masa-tab__panel[hidden],
.masa-pill[hidden] { display: none; }

.masa-list {
  min-width: 0;
  display: flex;
  flex-direction: column;
  border-top: 1px solid #eeebe9;
}
.masa-list--plain { border-top: 1px solid #eeebe9; background: #ffffff; }
.masa-list__row {
  display: flex;
  gap: 18px;
  align-items: baseline;
  flex-wrap: wrap;
  padding: 20px 22px;
  text-decoration: none;
  color: #123a24;
  border-bottom: 1px solid #eeebe9;
}
.masa-list__row:hover { background: #f2f5f3; opacity: 1; }
.masa-list--nori .masa-list__row:hover { background: #f2f3f6; }
.masa-list__date {
  font-family: "Jost", sans-serif;
  font-size: 13px;
  letter-spacing: .06em;
  color: #66786d;
}
.masa-list__ttl {
  flex: 1;
  min-width: 180px;
  font-size: 14px;
  line-height: 1.7;
}

/* ==========================================================================
   13. スクロールフェードイン（wireframe：上方向に小さく／低〜中）
   ========================================================================== */
[data-fade] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .7s ease, transform .7s ease;
}
[data-fade].is-shown {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  [data-fade] { opacity: 1; transform: none; transition: none; }
}

@media (max-width: 639px) {
  #slideshow { aspect-ratio: 3/4; min-height: 440px; }
  .masa-mv__panel { max-width: 100%; border-radius: 0; }
  .masa-tab__panel { padding: 20px 16px 8px; }
  .masa-list__row { padding: 16px 4px; }
}

/* ==========================================================================
   14. 汎用スタック／背景
   ========================================================================== */
.masa-stack        { display: flex; flex-direction: column; }
.masa-stack--10    { gap: 10px; }
.masa-stack--12    { gap: 12px; }
.masa-stack--14    { gap: 14px; }
.masa-stack--16    { gap: 16px; }
.masa-stack--18    { gap: 18px; }
.masa-stack--20    { gap: 20px; }
.masa-stack--22    { gap: 22px; }
.masa-stack--24    { gap: 24px; }
.masa-stack--26    { gap: 26px; }
.masa-stack--fluid { gap: clamp(22px, 3vw, 34px); }
.masa-stack--fluid-lg { gap: clamp(24px, 3vw, 36px); }
.masa-stack--center { align-items: center; text-align: center; }

.masa-bg-section { background: #f2f5f3; }
.masa-bg-white   { background: #ffffff; }
/* ベージュテクスチャを白88%で伏せたセクション背景 */
.masa-bg-texture {
  background-color: #f2f5f3;
  background-image: linear-gradient(rgba(255, 255, 255, .88), rgba(255, 255, 255, .88)), url(https://ros-cdn.s3.ap-northeast-1.amazonaws.com/hp/img/ros_keiyaku/28635/bg-texture-beige.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.masa-figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.masa-figure img {
  display: block;
  width: 100%;
  border-radius: 12px;
}

/* ==========================================================================
   15. 会社概要テーブル／沿革
   ========================================================================== */
.masa-dl__row {
  display: flex;
  flex-wrap: wrap;
  border-bottom: 1px solid #ddd9d5;
}
.masa-dl__label {
  flex: 0 0 200px;
  min-width: 160px;
  padding: 17px 4px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .04em;
  color: #2c4a3a;
}
.masa-dl__value {
  flex: 1;
  min-width: 220px;
  padding: 17px 4px;
  font-size: 15px;
  line-height: 1.95;
  color: #123a24;
}

.masa-hist {
  display: flex;
  flex-direction: column;
}
.masa-hist__row {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  padding: 20px 0;
  border-top: 1px solid #ddd9d5;
}
.masa-hist__year {
  flex: 0 0 190px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .04em;
  color: #2a665a;
}
.masa-hist__text {
  flex: 1;
  min-width: 200px;
  font-size: 15px;
  line-height: 1.95;
  color: #2c4a3a;
}

@media (max-width: 639px) {
  .masa-dl__label { flex: 0 0 100%; padding-bottom: 0; }
  .masa-dl__value { flex: 0 0 100%; padding-top: 6px; }
  .masa-hist__year { flex: 0 0 100%; }
}

/* ==========================================================================
   16. 写真カード（取り扱い業務／商品一覧）
   ========================================================================== */
.masa-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}
.masa-cards--24 { gap: 24px; }
.masa-card {
  display: flex;
  flex-direction: column;
}
.masa-card__img {
  width: 100%;
  height: clamp(200px, 20vw, 280px);
  background-color: #e9f2ee;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  border-radius: 10px;
}
.masa-card__img--square {
  height: auto;
  aspect-ratio: 1/1;
  background-color: #f7f6f5;
  border-radius: 12px;
}
.masa-card__body {
  padding: 20px 2px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.masa-card__ttl {
  margin: 0;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: .02em;
  color: #123a24;
}
/* 商品一覧の h3 のみ DC が line-height:1.6 を持つ（取り扱い業務の h3 は持たない） */
.masa-card__ttl--lh16 { line-height: 1.6; }
.masa-card__txt {
  margin: 0;
  font-size: 15px;
  line-height: 1.8em;
  color: #2c4a3a;
}
.masa-card__txt--14 {
  font-size: 14px;
  line-height: 2;
}

/* ==========================================================================
   17. 左右2分割（対応エリア／はじまりのこと）
   ========================================================================== */
.masa-split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: clamp(26px, 3vw, 48px);
  align-items: start;
}
.masa-split--center { align-items: center; gap: clamp(26px, 3vw, 52px); }
.masa-split__col { min-width: 0; }
.masa-split__img {
  min-width: 0;
  width: 100%;
  height: auto;
  display: block;
}
.masa-split__photo {
  min-width: 0;
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

.masa-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.masa-badge {
  background: #ffffff;
  border: 1px solid #c6ddd5;
  color: #2a665a;
  font-size: 13px;
  letter-spacing: .04em;
  padding: 8px 14px;
}

/* ==========================================================================
   18. 大切にしていること（写真とテキストを左右交互）
   ========================================================================== */
.masa-values {
  display: flex;
  flex-direction: column;
  gap: clamp(32px, 4vw, 60px);
}
.masa-value {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(20px, 2.5vw, 40px);
  align-items: center;
}
.masa-value__img {
  min-width: 0;
  width: 100%;
  aspect-ratio: 4/3;
  background-color: #e9f2ee;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  border-radius: 12px;
}
.masa-value__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.masa-value__img--first,
.masa-value__body--first  { order: 1; }
.masa-value__img--second,
.masa-value__body--second { order: 2; }
.masa-value__ttl {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: .02em;
  color: #123a24;
}
.masa-value__txt {
  margin: 0;
  font-size: 15px;
  line-height: 1.8em;
  color: #2c4a3a;
}

.masa-btn--outline-re {
  background: #ffffff;
  border: 1px solid #35806c;
  color: #2a665a;
}
.masa-btn--outline-re:hover { background: #e9f2ee; opacity: 1; }

@media (max-width: 896px) {
  .masa-value { grid-template-columns: minmax(0, 1fr); }
  .masa-value__img--first,
  .masa-value__img--second  { order: 1; }
  .masa-value__body--first,
  .masa-value__body--second { order: 2; }
}

/* ==========================================================================
   19. 物件情報：短いお知らせ枠
   ========================================================================== */
.masa-shortnews {
  background: #f7faf8;
}
.masa-shortnews__row {
  display: flex;
  gap: 16px;
  align-items: baseline;
  flex-wrap: wrap;
  padding: 18px 22px;
  text-decoration: none;
  color: #123a24;
  border-bottom: 1px solid #eaefec;
}
.masa-shortnews__row:hover { background: #eef5f1; opacity: 1; }
.masa-shortnews__ttl {
  flex: 1;
  min-width: 200px;
  font-size: 15px;
  line-height: 1.7;
}
.masa-shortnews__foot {
  display: flex;
  justify-content: flex-end;
  padding: 14px 22px 16px;
}
.masa-shortnews__more {
  font-size: 13px;
  letter-spacing: .05em;
  text-decoration: none;
  color: #2a665a;
  border-bottom: 1px solid #c6ddd5;
  padding-bottom: 2px;
}

/* ==========================================================================
   20. 物件カード
   ========================================================================== */
.masa-tab__count {
  font-family: "Jost", sans-serif;
  font-size: 13px;
  opacity: .8;
  margin-left: 8px;
}
.masa-tab__panel--listings {
  padding: 26px;
  gap: clamp(22px, 3vw, 34px);
}
.masa-cat__ttl {
  margin: 0;
  padding-bottom: 10px;
  border-bottom: 2px solid #35806c;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .06em;
  color: #123a24;
  scroll-margin-top: 80px;
}

.masa-prop {
  border: 1px solid #ddd9d5;
  border-radius: 14px;
  overflow: hidden;
  background: #ffffff;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 0;
}
.masa-prop__media {
  min-width: 0;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #f2f5f3;
}
.masa-prop__main {
  width: 100%;
  aspect-ratio: 4/3;
  background-color: #ffffff;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  border-radius: 10px;
  transition: opacity .2s ease;
}
.masa-prop__thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.masa-prop__thumb {
  cursor: pointer;
  padding: 0;
  aspect-ratio: 4/3;
  background-color: #ffffff;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  border: 1px solid #ddd9d5;
  border-radius: 6px;
  outline: none;
}
.masa-prop__thumb.is-active {
  border-color: #35806c;
  outline: 2px solid #c6ddd5;
}
.masa-prop__body {
  min-width: 0;
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.masa-prop__meta {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.masa-prop__cat {
  background: #c6ddd5;
  color: #2a665a;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .06em;
  padding: 6px 12px;
}
.masa-prop__no {
  font-family: "Jost", sans-serif;
  font-size: 12px;
  letter-spacing: .14em;
  color: #66786d;
}
.masa-prop__ttl {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.6;
  color: #123a24;
}
.masa-prop__price {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  color: #2a665a;
}
.masa-prop__price-label {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .06em;
}
.masa-prop__price-num {
  font-family: "Jost", sans-serif;
  font-size: 30px;
  font-weight: 500;
  letter-spacing: .02em;
  line-height: 1;
}
.masa-prop__specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 20px;
  border-top: 1px solid #eeebe9;
}
.masa-prop__spec {
  grid-column: span 1;
  display: flex;
  gap: 10px;
  align-items: baseline;
  border-bottom: 1px solid #eeebe9;
  padding: 8px 0;
}
.masa-prop__spec--full { grid-column: span 2; }
.masa-prop__spec-label {
  flex: 0 0 76px;
  font-size: 13px;
  letter-spacing: .04em;
  color: #56695d;
}
.masa-prop__spec-value {
  flex: 1;
  min-width: 0;
  font-size: 14px;
  color: #123a24;
}
.masa-prop__comment {
  margin: 0;
  font-size: 14px;
  line-height: 2;
  color: #2c4a3a;
}
.masa-prop__btn {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #35806c;
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .04em;
  padding: 14px 24px;
  border-radius: 2px;
}
.masa-prop__btn:hover { background: #2a665a; opacity: 1; }

.masa-callout {
  background: #e9f2ee;
  padding: 22px;
  font-size: 14px;
  line-height: 2;
  color: #2a665a;
}

/* ==========================================================================
   21. ご利用の流れ
   ========================================================================== */
.masa-flow {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 900px;
}
.masa-flow__step {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  column-gap: 22px;
  align-items: start;
}
.masa-flow__num {
  grid-row: 1;
  justify-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border: 1.5px solid #35806c;
  border-radius: 50%;
  color: #2a665a;
  font-family: "Jost", sans-serif;
  font-size: 17px;
  font-weight: 500;
}
.masa-flow__body {
  grid-row: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 6px 0 4px;
}
.masa-flow__ttl {
  margin: 0;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: .02em;
  color: #123a24;
}
.masa-flow__txt {
  margin: 0;
  font-size: 15px;
  line-height: 1.8em;
  color: #2c4a3a;
}
.masa-flow__arrow {
  grid-column: 1;
  justify-self: center;
  width: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  line-height: 1;
  color: #9dc4b6;
  font-size: 13px;
}

/* ==========================================================================
   22. お問い合わせフォーム
   ========================================================================== */
.masa-stack--form { gap: clamp(22px, 3vw, 32px); }
.masa-p--lh2 { line-height: 2; }

.masa-form {
  border-radius: 14px;
  padding: clamp(24px, 3vw, 38px);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.masa-form--re   { background: #f7faf8; }
.masa-form--nori { background: #ffffff; }
.masa-form__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.masa-form__label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .04em;
  color: #123a24;
}
.masa-form__badge {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .06em;
  padding: 3px 7px;
  border-radius: 3px;
  color: #ffffff;
}
.masa-form__badge--re   { background: #2a665a; }
.masa-form__badge--nori { background: #222f4c; }
.masa-form__input {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #123a24;
  background: #ffffff;
  border: 1px solid #d5ded8;
  border-radius: 8px;
  padding: 13px 14px;
  width: 100%;
  box-sizing: border-box;
}
.masa-form__textarea {
  line-height: 1.8;
  resize: vertical;
}
.masa-form__select {
  appearance: none;
  -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #56695d 50%), linear-gradient(135deg, #56695d 50%, transparent 50%);
  background-position: calc(100% - 20px) center, calc(100% - 14px) center;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 40px;
}
.masa-form--nori .masa-form__input {
  background: #f7f8fa;
  border-color: #d7dbe3;
}
.masa-form__submit {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: #ffffff;
  border: none;
  border-radius: 999px;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .06em;
  padding: 12px 12px 12px 34px;
  cursor: pointer;
}
.masa-form__submit--re   { background: #2a665a; }
.masa-form__submit--nori { background: #222f4c; }
.masa-form__submit:hover { opacity: .88; }
.masa-form__submit-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #ffffff;
  font-size: 13px;
}
.masa-form__submit--re   .masa-form__submit-arrow { color: #2a665a; }
.masa-form__submit--nori .masa-form__submit-arrow { color: #222f4c; }
.masa-form__note {
  margin: 0;
  font-size: 13px;
  line-height: 1.9;
  color: #56695d;
}
.masa-form__tel {
  color: #2a665a;
  text-decoration: none;
  font-weight: 600;
}
.masa-form--nori .masa-form__tel { color: #222f4c; }

@media (max-width: 639px) {
  .masa-prop__specs { grid-template-columns: minmax(0, 1fr); }
  .masa-prop__spec--full { grid-column: span 1; }
  .masa-prop__body { padding: 20px; }
  .masa-tab__panel--listings { padding: 16px; }
  .masa-tab__btn { padding: 16px 8px; font-size: 13px; }
  .masa-tab__count { margin-left: 4px; }
}

/* ==========================================================================
   23. こだわり：写真3点／おいしい食べ方
   ========================================================================== */
.masa-split--44 { gap: clamp(24px, 3vw, 44px); }

.masa-figs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
}
.masa-fig {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.masa-fig__img {
  width: 100%;
  aspect-ratio: 1/1;
  background-color: #eeebe9;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  border-radius: 10px;
}
.masa-fig__cap {
  font-size: 12px;
  line-height: 1.7;
  color: #56695d;
}

.masa-recipes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.masa-recipe {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.masa-recipe__img {
  width: 100%;
  aspect-ratio: 1/1;
  background-color: #eeebe9;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  border-radius: 10px;
}
.masa-recipe__ttl {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .02em;
  color: #123a24;
}
.masa-recipe__txt {
  margin: 0;
  font-size: 13px;
  line-height: 1.9;
  color: #2c4a3a;
}

/* ==========================================================================
   24. 商品・販売店
   ========================================================================== */
.masa-shops {
  background: #ffffff;
  border: 1px solid #ddd9d5;
}
.masa-shop {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 16px 22px;
  border-bottom: 1px solid #eeebe9;
}
.masa-shop:last-child { border-bottom: none; }
.masa-shop__name {
  flex: 1;
  min-width: 200px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .03em;
  color: #123a24;
}
.masa-shop__area {
  flex: 1;
  min-width: 180px;
  font-size: 13px;
  color: #56695d;
}

/* ==========================================================================
   25. ご購入について（中央寄せ見出しブロック）
   ========================================================================== */
.masa-buy__head {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: center;
  text-align: center;
}

/* ==========================================================================
   26. ブログ（一覧・詳細）
   ========================================================================== */
.masa-blog {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(28px, 4vw, 52px);
  align-items: start;
}
.masa-blog__main {
  min-width: 0;
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.masa-blog__main--26 { gap: 26px; }
.masa-blog__main--22 { gap: 22px; }
.masa-blog__side {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.masa-blog__block {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.masa-blog__blockttl {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .04em;
  padding-bottom: 10px;
  border-bottom: 2px solid #35806c;
  color: #123a24;
}
.masa-blog__blockttl--nori { border-bottom-color: #222f4c; }
.masa-blog__recent {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-decoration: none;
  color: #2c4a3a;
  padding: 8px 0;
  border-bottom: 1px solid #eeebe9;
}
.masa-blog__recent-date {
  font-family: "Jost", sans-serif;
  font-size: 11px;
  color: #66786d;
}
.masa-blog__recent-ttl {
  font-size: 13px;
  line-height: 1.7;
}
.masa-blog__archive {
  font-size: 13px;
  color: #2c4a3a;
  text-decoration: none;
  padding: 7px 0;
  border-bottom: 1px solid #eeebe9;
}
.masa-side-bnr {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #e6e9ef;
  padding: 22px;
  text-decoration: none;
  color: #161f33;
}
.masa-side-bnr--re { background: #e9f2ee; color: #123a24; }
.masa-side-bnr__label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  letter-spacing: .06em;
}
.masa-side-bnr__label--en {
  font-family: "Jost", sans-serif;
  font-size: 11px;
  letter-spacing: .18em;
  color: #5a6580;
}
.masa-side-bnr__ttl {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
}
.masa-side-bnr__ttl--15 { font-size: 15px; }

/* -- サムネイル付きリスト行（イベント一覧） -------------------------------- */
.masa-list__thumb {
  flex: none;
  width: 96px;
  height: 64px;
  background-color: #eeebe9;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  border-radius: 6px;
  align-self: center;
}

/* -- 日付＋タイトルのみの一覧行（お知らせ一覧） ---------------------------- */
.masa-posts {
  display: flex;
  flex-direction: column;
}
.masa-post {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: baseline;
  padding: 22px 4px;
  border-top: 1px solid #ddd9d5;
  text-decoration: none;
  color: #123a24;
}
.masa-post:hover { background: #f2f5f3; opacity: 1; }
.masa-post__date {
  font-family: "Jost", sans-serif;
  font-size: 13px;
  color: #66786d;
  letter-spacing: .06em;
}
.masa-post__ttl {
  flex: 1;
  min-width: 200px;
  font-size: 15px;
  line-height: 1.8;
  font-weight: 500;
}

/* -- ページネーション ------------------------------------------------------ */
.masa-page {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  border-top: 1px solid #ddd9d5;
  padding-top: 24px;
}
.masa-page__current,
.masa-page__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  font-family: "Jost", sans-serif;
  font-size: 14px;
  text-decoration: none;
}
.masa-page__current {
  background: #35806c;
  color: #ffffff;
}
.masa-page__current--nori { background: #222f4c; }
.masa-page__link {
  border: 1px solid #ddd9d5;
  color: #2c4a3a;
}
.masa-page__link:hover { background: #f2f5f3; opacity: 1; }
.masa-page--nori .masa-page__link:hover { background: #f7f6f5; }
.masa-page__link--next {
  min-width: 0;
  padding: 0 16px;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 13px;
}

/* -- 記事詳細 -------------------------------------------------------------- */
.masa-entry__meta {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}
.masa-entry__cat {
  font-size: 11px;
  letter-spacing: .04em;
  padding: 5px 11px;
  background: #e9f2ee;
  color: #2a665a;
}
.masa-entry__cat--nori {
  background: #e6e9ef;
  color: #161f33;
}
.masa-entry__date {
  font-family: "Jost", sans-serif;
  font-size: 13px;
  letter-spacing: .06em;
  color: #66786d;
}
.masa-entry__ttl {
  margin: 0;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: .02em;
  color: #123a24;
  padding-bottom: 20px;
  border-bottom: 1px solid #ddd9d5;
}
.masa-entry__hero {
  width: 100%;
  aspect-ratio: 16/9;
  background: #e9f2ee;
  border: 1px solid #ddd9d5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.masa-entry__hero--nori { background: #eeebe9; }
.masa-entry__hero-en {
  font-family: "Jost", sans-serif;
  font-size: 11px;
  letter-spacing: .2em;
  color: #66786d;
}
.masa-entry__hero-ja {
  font-size: 13px;
  color: #56695d;
}
.masa-entry__p {
  margin: 0;
  font-size: 15px;
  line-height: 2.1;
  color: #2c4a3a;
}
.masa-entry__box {
  background: #f2f5f3;
  border-left: 3px solid #35806c;
  padding: 20px 22px;
  font-size: 14px;
  line-height: 2;
  color: #2a665a;
}
.masa-entry__info {
  border: 1px solid #ddd9d5;
}
.masa-entry__info-row {
  display: flex;
  flex-wrap: wrap;
  border-bottom: 1px solid #eeebe9;
}
.masa-entry__info-row:last-child { border-bottom: none; }
.masa-entry__info-label {
  flex: 0 0 140px;
  min-width: 120px;
  padding: 15px 20px;
  background: #f7f6f5;
  font-size: 13px;
  font-weight: 500;
  color: #2c4a3a;
}
.masa-entry__info-value {
  flex: 1;
  min-width: 200px;
  padding: 15px 20px;
  font-size: 14px;
  line-height: 1.9;
  color: #123a24;
}
.masa-entry__foot {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 14px;
  border-top: 1px solid #ddd9d5;
}
.masa-entry__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #ddd9d5;
  color: #2c4a3a;
  text-decoration: none;
  font-size: 14px;
  padding: 14px 24px;
  border-radius: 2px;
}
.masa-entry__back:hover { background: #f2f5f3; opacity: 1; }
.masa-entry__back--nori:hover { background: #f7f6f5; }
.masa-entry__next {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 14px 24px;
  border-radius: 2px;
}
.masa-entry__next--re   { background: #35806c; }
.masa-entry__next--re:hover { background: #2a665a; opacity: 1; }
.masa-entry__next--nori { background: #222f4c; }
.masa-entry__next--nori:hover { background: #161f33; opacity: 1; }

@media (max-width: 896px) {
  .masa-blog { grid-template-columns: minmax(0, 1fr); }
  .masa-blog__main { grid-column: span 1; }
}
@media (max-width: 639px) {
  .masa-list__thumb { width: 72px; height: 48px; }
  .masa-entry__info-label { flex: 0 0 100%; }
}

/* ==========================================================================
   27. アンカーリンクの着地位置（1100px以下は上部固定バー 58px ぶん逃がす）
   ========================================================================== */
@media (max-width: 1100px) {
  section[id],
  .masa-cat__ttl { scroll-margin-top: 70px; }
}

/* 物件一覧の外側スタック gap（DC: clamp(24px,3vw,38px)。他セクションの 36px とは別値） */
.masa-stack--listings { gap: clamp(24px, 3vw, 38px); }

/*
 * ==========================================================================
 * claude-design-output との自己照合結果（機械照合：DC の inline style 356 宣言）
 * ==========================================================================
 *
 * 一致しなかった 20 宣言はすべて下記の意図的な書き換え・除外。値の差分は無し。
 *
 * 1) padding:clamp(...) のショートハンド 13 種
 *    → padding-top / padding-bottom の個別指定に分割。
 *      ショートハンドだと .masa-sec の padding-left:320px（左サイドバー分の
 *      content offset）を打ち消してしまうため。上下の実数値は DC と同一。
 *
 * 2) margin:-14px 0 0 / -4px 0 0 / 6px 0 0
 *    → .masa-ja の margin:-6px 0 0 を基準に、.masa-ja--mt-14 / --mt-4 / --mt6 の
 *      margin-top 個別指定で上書き。左右・下の 0 は基準側で担保。
 *
 * 3) border-bottom:2px solid #222f4c（×3）／ border:1px solid #d7dbe3（×2）
 *    → 不動産側を基準に、海苔側 modifier で border-bottom-color / border-color
 *      のみ上書き。線幅・種別は基準側と同一。
 *
 * 4) padding:10px 18px（×2）／ padding:4px 9px（×1）
 *    → ブログ一覧のカテゴリ絞り込みボタン・カテゴリバッジ。
 *      wireframe「カテゴリ分けは行わない」により不採用（意図的な非実装）。
 *
 * ==========================================================================
 * DC から意図的に変えた点（実装指示書 / wireframe が優先されるケース）
 * ==========================================================================
 *
 * - メインビジュアル：DC は2枚フェード＋ドットだが、実装指示書 §10.1 により
 *   静止画1枚＋CMSスライダー差し替えコメントで実装。Swiper 初期化は書かない。
 *   非機能になるドットインジケータは置かない。
 * - TOP のお知らせ／イベント：DC は JS タブ1ブロック。wireframe のカテゴリ切替
 *   ルール（JSタブによる動的絞り込み禁止）に従い、タブの見た目のまま
 *   「リンク」化し、NEWS と EVENT を独立2セクションとして設置。
 * - 物件情報のカテゴリ：同ルールによりページ内アンカーリンク。
 * - 下層ページのパンくず・事業アイコン：wireframe の2事業識別ルール（必須4点）
 *   により追加。DC のヒーロー構造・余白はそのまま。
 * - ブログのファイル名：wireframe のページ構成テーブルに従い
 *   entry_list.php / entry.php（イベント）、entry_list2.php / entry2.php（お知らせ）。
 *   DC の event_list.php / news_list.php から改名。
 * - line-height：DC の base.css は body に line-height を持たないため、
 *   本サイトも body を line-height:normal にしている（scss-site/main.scss）。
 *   個別に line-height を持つ要素だけ実数で指定している。
 * - CTA 見出しの white-space:nowrap は DC 値のまま。ただし 639px 以下のみ
 *   normal に戻す（横スクロール防止）。
 */


/* ==========================================================================
   28. CMSフォームの見た目を当サイトのデザインに合わせる
   --------------------------------------------------------------------------
   CMS が出力する構造（design_pattern=1）:
     .form-contents.form-pattern-1
       > .form-thanks-msg / .form-err-msg
       > form > dl > dt > span.required（必須ラベルは ::before で挿入）
                    > dd > input.textarea / select.textarea-serect / textarea.textarea
               > button.submit-btn（::before に封筒アイコン）

   CMS側CSS（https://cdn.rs-sys.jp/css/cms/mail-form.css）は CMS が本文中に
   <link> を差し込むため、site.css より後ろに来る。同詳細度だと CMS 側が勝つので、
   すべて .masa-cmsform でスコープして詳細度を1クラスぶん上げている（!important は使わない）。
   ========================================================================== */

/* -- 外枠：.masa-form と同じ地・角丸・余白 -------------------------------- */
.masa-cmsform .form-contents {
  padding: clamp(24px, 3vw, 38px);
  margin: 0;
  border-radius: 14px;
}
.masa-cmsform--re   .form-pattern-1 { background: #f7faf8; }
.masa-cmsform--nori .form-pattern-1 { background: #ffffff; }

.masa-cmsform .form-contents form dl {
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;   /* dt→dd は 8px。項目間の 20px は dd の margin-bottom で作る */
}

/* -- 1項目 = dt（ラベル）+ dd（入力）を縦積みにする ----------------------- */
.masa-cmsform .form-contents form dl dt:not(.pattern-exclusion) {
  float: none;
  width: auto;
  padding-top: 0;
  margin-right: 0;
  margin-bottom: 0;
  text-align: left;
}
.masa-cmsform .form-contents form dl dd:not(.pattern-exclusion) {
  padding-left: 0;
  padding-top: 0;
  padding-bottom: 0;
  margin-left: 0;
  line-height: normal;
  margin-bottom: 12px;
}
.masa-cmsform .form-contents form dl dd:not(.pattern-exclusion):last-of-type {
  margin-bottom: 0;
}
/* CMS既定の項目間の区切り線は使わない */
.masa-cmsform .form-pattern-1 dl dd:not(.pattern-exclusion) {
  border-bottom: none;
}

/* -- ラベル：.masa-form__label 相当 --------------------------------------- */
.masa-cmsform .form-contents form dl dt:not(.pattern-exclusion) span {
  display: inline-flex;
  flex-direction: row-reverse;   /* 必須バッジ(::before)をテキストの後ろへ */
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .04em;
  color: #123a24;
  line-height: 1.6;
}

/* -- 必須バッジ：.masa-form__badge 相当 ----------------------------------- */
.masa-cmsform .form-pattern-1 dl dt:not(.pattern-exclusion) span::before {
  padding: 3px 7px;
  margin-right: 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .06em;
  line-height: 1.4;
  border-radius: 3px;
  top: 0;
}
.masa-cmsform--re   .form-pattern-1 dl dt:not(.pattern-exclusion) span.required::before { background: #2a665a; }
.masa-cmsform--nori .form-pattern-1 dl dt:not(.pattern-exclusion) span.required::before { background: #222f4c; }

/* -- 入力欄：.masa-form__input 相当 --------------------------------------- */
.masa-cmsform .form-contents dd:not(.pattern-exclusion) input.textarea {
  height: auto;
}
.masa-cmsform .form-contents dd:not(.pattern-exclusion) .textarea,
.masa-cmsform .form-contents dd:not(.pattern-exclusion) .textarea-serect {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #123a24;
  padding: 13px 14px;
  width: 100%;
  height: auto;
  box-sizing: border-box;
}
.masa-cmsform .form-pattern-1 dd:not(.pattern-exclusion) .textarea,
.masa-cmsform .form-pattern-1 dd:not(.pattern-exclusion) .textarea-serect {
  border: 1px solid #d5ded8;
  border-radius: 8px;
  background: #ffffff;
}
.masa-cmsform--nori .form-pattern-1 dd:not(.pattern-exclusion) .textarea,
.masa-cmsform--nori .form-pattern-1 dd:not(.pattern-exclusion) .textarea-serect {
  border-color: #d7dbe3;
  background: #f7f8fa;
}
.masa-cmsform .form-contents dd:not(.pattern-exclusion) textarea.textarea {
  line-height: 1.8;
  resize: vertical;
}
.masa-cmsform .form-contents dd:not(.pattern-exclusion) .textarea:focus,
.masa-cmsform .form-contents dd:not(.pattern-exclusion) .textarea-serect:focus {
  outline: none;
  border-color: #35806c;
}
.masa-cmsform--nori .form-contents dd:not(.pattern-exclusion) .textarea:focus,
.masa-cmsform--nori .form-contents dd:not(.pattern-exclusion) .textarea-serect:focus {
  border-color: #222f4c;
}
/* セレクトの矢印（.masa-form__select と同じ作り） */
.masa-cmsform .form-contents dd:not(.pattern-exclusion) .textarea-serect {
  appearance: none;
  -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #56695d 50%), linear-gradient(135deg, #56695d 50%, transparent 50%);
  background-position: calc(100% - 20px) center, calc(100% - 14px) center;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 40px;
}

/* -- 送信ボタン：.masa-form__submit 相当 ---------------------------------- */
.masa-cmsform .form-contents :not(.pattern-exclusion) button.submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  width: auto;
  margin: 20px 0 0;
  padding: 12px 12px 12px 34px;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .06em;
  text-align: left;
  border-radius: 999px;
  color: #ffffff;
  transition: opacity .3s ease;
}
.masa-cmsform--re   .form-pattern-1 .submit-btn { background: #2a665a; border: 1px solid #2a665a; }
.masa-cmsform--nori .form-pattern-1 .submit-btn { background: #222f4c; border: 1px solid #222f4c; }
.masa-cmsform .form-pattern-1 :not(.pattern-exclusion) button.submit-btn:hover {
  opacity: .88;
}
.masa-cmsform--re   .form-pattern-1 :not(.pattern-exclusion) button.submit-btn:hover { background: #2a665a; }
.masa-cmsform--nori .form-pattern-1 :not(.pattern-exclusion) button.submit-btn:hover { background: #222f4c; }

/* CMS既定の封筒アイコン（::before）は使わず、デザインどおり丸矢印を後置する */
.masa-cmsform .form-pattern-1 .submit-btn::before {
  content: none;
}
.masa-cmsform .form-contents .submit-btn::after {
  content: "→";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #ffffff;
  font-size: 13px;
  font-weight: 500;
}
.masa-cmsform--re   .form-contents .submit-btn::after { color: #2a665a; }
.masa-cmsform--nori .form-contents .submit-btn::after { color: #222f4c; }

/* -- 完了・エラーメッセージもサイトの配色に寄せる ------------------------- */
.masa-cmsform .form-pattern-1 .form-thanks-msg {
  background: #ffffff;
  border: 1px solid #ddd9d5;
  border-radius: 14px;
  padding: clamp(24px, 3vw, 38px);
}
.masa-cmsform .form-contents .form-thanks-msg p {
  font-size: 15px;
  line-height: 2.1;
  color: #2c4a3a;
}
.masa-cmsform .form-contents .form-thanks-msg .back-home-btn {
  width: auto;
  margin: 24px auto 0;
  max-width: 300px;
}
.masa-cmsform .form-pattern-1 .form-thanks-msg .back-home-btn a {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .06em;
  border-radius: 999px;
  padding: 14px 0;
}
.masa-cmsform--re .form-pattern-1 .form-thanks-msg .back-home-btn a {
  background: #2a665a;
  border-color: #2a665a;
}
.masa-cmsform--re .form-pattern-1 .form-thanks-msg .back-home-btn a:hover {
  background: #35806c;
}
.masa-cmsform--nori .form-pattern-1 .form-thanks-msg .back-home-btn a {
  background: #222f4c;
  border-color: #222f4c;
}
.masa-cmsform--nori .form-pattern-1 .form-thanks-msg .back-home-btn a:hover {
  background: #161f33;
}
.masa-cmsform .form-contents .form-err-msg {
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.9;
  margin: 0 0 20px;
}

/* 電話番号の補足行（CMSブロックの外に置いている） */
.masa-cmsform__note {
  margin-top: -8px;
}

@media (max-width: 639px) {
  .masa-cmsform .form-contents { padding: 20px 16px; }
  .masa-cmsform .form-contents :not(.pattern-exclusion) button.submit-btn {
    width: 100%;
    justify-content: space-between;
  }
}

/* ==========================================================================
   29. CMS一覧の出力エリア
   --------------------------------------------------------------------------
   ブログCMSは <span id="cms-..."> の innerHTML に一覧HTMLを流し込む。
   .masa-list などは flex コンテナなので、そのままだと CMS が吐いた行が
   span の内側に入ってしまい flex の直下の子にならない。
   display:contents で span を段組から透過させ、行を直接の子として扱う。
   ========================================================================== */
.masa-list > span[id],
.masa-shortnews > span[id],
.masa-posts > span[id] {
  display: contents;
}

/* --------------------------------------------------------------------------
   お知らせ一覧（entry_list2.php）の行
   一覧テンプレートはCMSに1本しか登録できず、TOPと共通の .masa-list__row が
   吐き出される。一覧ページだけは .masa-post の見た目（罫線は上・余白広め・
   タイトル大きめ）にしたいので、.masa-posts の中でだけ上書きする。
   -------------------------------------------------------------------------- */
.masa-posts .masa-list__row {
  padding: 22px 4px;
  border-top: 1px solid #ddd9d5;
  border-bottom: 0;
  color: #123a24;
}
.masa-posts .masa-list__row:hover { background: #f2f5f3; }
.masa-posts .masa-list__ttl {
  min-width: 200px;
  font-size: 15px;
  line-height: 1.8;
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   物件情報ページのお知らせ欄（property.php）の行
   ここもCMSは共通の .masa-list__row を吐くので、.masa-shortnews の中だけ
   .masa-shortnews__row の見た目（余白やや狭め・罫線と背景が緑寄り）に上書きする。
   -------------------------------------------------------------------------- */
.masa-shortnews .masa-list__row {
  gap: 16px;
  padding: 18px 22px;
  border-bottom: 1px solid #eaefec;
}
.masa-shortnews .masa-list__row:hover { background: #eef5f1; }
.masa-shortnews .masa-list__ttl {
  min-width: 200px;
  font-size: 15px;
  line-height: 1.7;
}

/* ==========================================================================
   30. 記事詳細のCMS出力
   --------------------------------------------------------------------------
   タイトル・日付・本文はCMSが <span id="cms-blog-entry-detail-N-area"> に
   流し込む。本文はCMSエディタが書いたHTML（p / br / img / ul / table 等）が
   そのまま入るため、ここでサイトの文字組みを当てておく。
   ========================================================================== */
.masa-entry__ttl > span[id],
.masa-entry__date > span[id],
.masa-entry__body > span[id] {
  display: contents;
}

.masa-entry__body {
  font-size: 15px;
  line-height: 2.1;
  color: #2c4a3a;
}
.masa-entry__body p,
.masa-entry__body > span[id] > div {
  margin: 0 0 1.6em;
}
.masa-entry__body > span[id] > *:last-child {
  margin-bottom: 0;
}
.masa-entry__body h2 {
  margin: 2em 0 .8em;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: .02em;
  color: #123a24;
  padding-bottom: 10px;
  border-bottom: 2px solid #35806c;
}
.masa-entry__body--nori h2 { border-bottom-color: #222f4c; }
.masa-entry__body h3 {
  margin: 1.8em 0 .6em;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: .02em;
  color: #123a24;
}
.masa-entry__body h4 {
  margin: 1.6em 0 .5em;
  font-size: 15px;
  font-weight: 700;
  color: #123a24;
}
/* 共通CSSが list-style:none にしているため、記事本文だけ戻す */
.masa-entry__body ul,
.masa-entry__body ol {
  margin: 0 0 1.6em;
  padding-left: 1.5em;
}
.masa-entry__body ul { list-style: disc; }
.masa-entry__body ol { list-style: decimal; }
.masa-entry__body li { margin-bottom: .4em; }
.masa-entry__body img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: .6em 0;
}
.masa-entry__body a {
  color: #2a665a;
  text-decoration: underline;
}
.masa-entry__body--nori a { color: #222f4c; }
.masa-entry__body a:hover { opacity: .7; }
.masa-entry__body strong,
.masa-entry__body b { font-weight: 700; }
.masa-entry__body table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1.6em;
  font-size: 14px;
}
.masa-entry__body th,
.masa-entry__body td {
  border: 1px solid #ddd9d5;
  padding: 12px 14px;
  text-align: left;
  line-height: 1.9;
}
.masa-entry__body th {
  background: #f7f6f5;
  font-weight: 500;
  color: #2c4a3a;
}
.masa-entry__body blockquote {
  margin: 0 0 1.6em;
  background: #f2f5f3;
  border-left: 3px solid #35806c;
  padding: 20px 22px;
  font-size: 14px;
  line-height: 2;
  color: #2a665a;
}
.masa-entry__body--nori blockquote {
  background: #f7f6f5;
  border-left-color: #222f4c;
  color: #161f33;
}
.masa-entry__body hr {
  border: none;
  border-top: 1px solid #ddd9d5;
  margin: 2em 0;
}

/* -- サイドバーの「最近のお知らせ／今後の出店」 ----------------------------
   一覧テンプレート（.masa-list__row）を共用しているため、
   サイドバー内では日付を上、タイトルを下にした細い行に組み替える。 */
.masa-blog__recents {
  display: flex;
  flex-direction: column;
}
.masa-blog__recents > span[id] { display: contents; }
.masa-blog__recents .masa-list__row {
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 8px 0;
  border-bottom: 1px solid #eeebe9;
  color: #2c4a3a;
}
.masa-blog__recents .masa-list__row:hover {
  background: transparent;
  opacity: .7;
}
.masa-blog__recents .masa-list__date {
  font-size: 11px;
  letter-spacing: 0;
}
.masa-blog__recents .masa-list__ttl {
  flex: none;
  min-width: 0;
  font-size: 13px;
  line-height: 1.7;
}
