@charset "utf-8";

/* << INDEX >> ----------------------------------------------------------------
*
* @ 共通
* @ トップページ
* @ サイトマップ
* @ 404
* @ 検索
* @ 投稿｜詳細
* @ アーカイブ
*
* -------------------------------------------------------------------------- */

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
* @ 共通
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

/* @ カテゴリーラベル
---------------------------------------------------------------------------- */
.post-data .cat_label {
  display: inline-block;
  width: 120px;
  padding: 4px 0;
  margin-left: 1em;
  color: #fff;
  border-radius: 3px;
  font-size: 0.875em;
  text-align: center;
}

/* @ カラム分割
---------------------------------------------------------------------------- */
.flex_cols {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 30px;
}
/* >>>> 2カラム分割 */
@media screen and (min-width: 481px) {
  .col2 {
    width: calc(((100% - 15px) / 2) - 0.1px);
    margin: 0 15px 15px 0;
  }
  .col2:nth-of-type(2n) {
    margin-right: 0;
  }
}
@media screen and (max-width: 480px) {
  .col2 {
    width: 100%;
    margin: 0 auto 15px;
  }
}

/* >>>> 3カラム分割 */
@media screen and (min-width: 769px) {
  .col3 {
    width: calc(((100% - 15px * 2) / 3) - 0.1px);
    margin: 0 15px 15px 0;
  }
  .col3:nth-of-type(3n) {
    margin-right: 0;
  }
}
@media screen and (min-width: 481px) and ( max-width: 768px) {
  .col3 {
    width: calc(((100% - 15px) / 2) - 0.1px);
    margin: 0 15px 15px 0;
  }
  .col3:nth-of-type(2n) {
    margin-right: 0;
  }
}
@media screen and (max-width: 480px) {
  .col3 {
    width: 100%;
    margin: 0 auto 15px;
  }
}

/* >>>> 4カラム分割 */
@media screen and (min-width: 769px) {
  .col4 {
    width: calc(((100% - 15px * 3) / 4) - 0.1px);
    margin: 0 15px 15px 0;
  }
  .col4:nth-of-type(4n) {
    margin-right: 0;
  }
}
@media screen and (min-width: 481px) and ( max-width: 768px) {
  .col4 {
    width: calc(((100% - 15px) / 2) - 0.1px);
    margin: 0 15px 15px 0;
  }
  .col4:nth-of-type(2n) {
    margin-right: 0;
  }
}
@media screen and (max-width: 480px) {
  .col4 {
    width: 100%;
    margin: 0 auto 15px;
  }
}

/* @ 投稿リスト
---------------------------------------------------------------------------- */
.news-list {
  margin-bottom: 50px;
  background-color: #fff;
}
.news-list ul {
  margin: 0;
  padding: 0;
}
.news-list ul li {
  list-style-type: none;
  margin: 0;
  padding: 0;
}
.news-list ul li dl {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin: 0;
  padding: 10px;
  border-bottom: dotted 1px #ccc;
}
.news-list ul li dl dt {
  width: 140px;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-weight: bold;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.news-list ul li dl dd {
  margin: 0;
  padding: 0;
}
.news-list ul li dl dd:last-of-type {
  width: calc(100% - (140px + (120px + 10px)));
}
@media screen and (max-width: 768px) {
  .news-list ul li dl dd:last-of-type {
    margin-top: 5px;
    width: 100%;
  }
}
.news-list .cat_label {
  margin-right: 10px;
  width: 120px;
}
.news-list .cat_label span {
  display: block;
  padding: 3px 7px;
  background-color: #aaa;
  color: #fff;
  text-align: center;
  font-size: 0.875rem;
  font-weight: bold;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* @ 画像キャプション
---------------------------------------------------------------------------- */
.wp-caption {
  width: auto !important;
}
.wp-caption .wp-caption-text {
  margin: 5px 0;
  text-align: center;
}

/* @ その他
---------------------------------------------------------------------------- */
.wp-pagenavi {
  clear: both;
}

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
* @ トップページ（index.php）
*   Figma: タナカ内装 / toppage（node 141:15）
*   tokens: dark1 #513739 / black #444 / light1 #F4F1EC / dark2 #908781 / border #E8E6E2
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
.top-page, .top-page * { box-sizing: border-box; }
.top-page {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  color: #444; background: #fff; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
.top-page img { max-width: 100%; height: auto; vertical-align: bottom; }
.top-page p { margin: 0; }
/* ベーステーマ(style.css)のグローバル h1-h4 / a / ul を打ち消す */
.top-page h1, .top-page h2, .top-page h3, .top-page h4 {
  margin: 0; padding: 0; background: none; border: 0;
  color: inherit; font-size: inherit; font-weight: inherit; line-height: inherit; position: static;
}
.top-page ul { list-style: none; margin: 0; padding: 0; }
.top-page a { color: inherit; text-decoration: none; }
/* 共通ボタン：.top-page a の color:inherit より優先させて白文字を維持 */
.top-page .rf-btn, .top-page .rf-btn:hover { color: #fff; font-weight: 400; }
.top-page .rf-btn:hover { opacity: .85; transition: opacity .25s; }

/* ---- セクション英字見出し（Works / News / Others 共通）---- */
.top-page .tp-head { display: flex; flex-direction: column; gap: 14px; color: #908781; }
.top-page .tp-head__en { font-family: "Montserrat Alternates", sans-serif; font-weight: 600; font-size: 64px; line-height: 1; }
.top-page .tp-head__ja { font-size: 14px; font-weight: 500; letter-spacing: .04em; }

/* ---- MainVisual（slick：ゆっくり左へ流れるスライダー）---- */
/* .tp-mv の高さは固定（slick内部の高さ計算に依存させず、キャッチを確実に中央配置） */
/* overflow:visible … 家型ベクター(.tp-mv__house)をスライダー下端から少しはみ出させるため。
   横方向のはみ出しは .top-page{overflow-x:hidden} と slick の .slick-list が抑える */
.top-page .tp-mv { position: relative; height: 640px; padding-top: 20px; background: #fff; overflow: visible; }
.top-page .tp-mv__slider { height: 620px; line-height: 0; }
.top-page .tp-mv__slider:not(.slick-initialized) { display: flex; overflow: hidden; }   /* 初期化前のチラつき緩和 */
.top-page .tp-mv .slick-list,
.top-page .tp-mv .slick-track { height: 620px; }
.top-page .tp-mv .slick-slide { height: 620px; }
/* スライド画像は 800:760(Figma準拠)。枠の内側(=画像領域)を同比率にして上下の切れを防ぐ:
   内側 = (width - 左右padding24) × height。620 × 800/760 ≒ 653 → width 653+24 = 677px */
.top-page .tp-mv__slide { width: 677px; height: 620px; padding: 0 12px; box-sizing: border-box; }
.top-page .tp-mv__slide img { width: 100%; height: 100%; object-fit: cover; border-radius: 3px; display: block; }
/* キャッチコピー（白地に dark1 文字） */
.top-page .tp-mv__catch { position: absolute; top: 50%; left: max(40px, calc(50% - 600px)); transform: translateY(-50%); z-index: 3; pointer-events: none; }
.top-page .tp-mv__catch p {
  display: table; margin: 0 0 22px; padding: 8px 20px;
  background: #fff; color: #513739;
  font-family: "Noto Sans JP", sans-serif; font-weight: 700; font-size: 64px; line-height: 1.05; letter-spacing: .2em;
}
.top-page .tp-mv__catch p:last-child { margin-bottom: 0; }
/* 家型アウトライン（dark1の線画）：キーイメージ右下に重ね、スライダー下端から少しはみ出す */
.top-page .tp-mv__house {
  position: absolute; z-index: 2; pointer-events: none;
  right: clamp(16px, 8.5%, 122px); bottom: -68px;
  width: min(380px, 28vw); height: auto; display: block;
  aspect-ratio: 382.724 / 336.8;   /* SVGは preserveAspectRatio:none のため比率を明示（Figma実寸） */
}

/* ---- Read（リード＋3つの強み）---- */
.top-page .tp-read { width: 960px; max-width: calc(100% - 60px); margin: 0 auto; padding: 140px 0 100px; display: flex; flex-direction: column; align-items: center; gap: 60px; }
.top-page .tp-read__head { display: flex; flex-direction: column; align-items: center; gap: 30px; }
.top-page .tp-read__ttl { font-size: 28px; font-weight: 500; color: #513739; text-align: center; }
.top-page .tp-read__txt { font-size: 16px; color: #444; text-align: center; }
.top-page .tp-read__cols { display: flex; gap: 60px; justify-content: center; width: 100%; }
.top-page .tp-feature { width: 280px; display: flex; flex-direction: column; align-items: center; gap: 30px; }
.top-page .tp-feature__img { width: 280px; height: 202px; overflow: hidden; }
.top-page .tp-feature__img img { width: 100%; height: 100%; object-fit: cover; }
.top-page .tp-feature__ttl { font-size: 20px; font-weight: 500; color: #513739; text-align: center; }
.top-page .tp-feature__txt { font-size: 16px; color: #444; }

/* ---- Category（全幅ボタン：ホバーで反転）---- */
.top-page .tp-cats { display: flex; flex-direction: column; }
.top-page .tp-cat {
  position: relative; overflow: hidden;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 20px;
  min-height: 214px; padding: 50px 120px; color: #fff;
}
.top-page .tp-cat__bg { position: absolute; inset: 0; z-index: 0; }
.top-page .tp-cat__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: filter .5s ease, transform .6s ease; }
/* 暗幕：デザインは「#424242 ベース＋画像を mix-blend-multiply」＝画像×0.26 相当。
   グレー薄幕では明るすぎるため、純黒0.76（≒同等の暗さ）に合わせる */
.top-page .tp-cat::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(0,0,0,.76); transition: background .45s ease; }
.top-page .tp-cat > :not(.tp-cat__bg) { position: relative; z-index: 2; }
.top-page .tp-cat__title { width: 540px; max-width: 100%; display: flex; flex-direction: column; gap: 14px; }
.top-page .tp-cat__en { font-family: "Montserrat Alternates", sans-serif; font-weight: 600; font-size: 64px; line-height: 1; }
.top-page .tp-cat__ja { font-size: 16px; font-weight: 500; }
.top-page .tp-cat__lead { width: 460px; max-width: 100%; font-size: 16px; }
.top-page .tp-cat__arrow { width: 180px; height: 1px; background: currentColor; flex: 0 0 auto; }
/* ホバー反転：画像が明るくなって、文字は黒に */
.top-page .tp-cat:hover { color: #1a1a1a; }
.top-page .tp-cat:hover::before { background: rgba(255,255,255,.30); }
.top-page .tp-cat:hover .tp-cat__bg img { filter: brightness(1.3) saturate(1.05); transform: scale(1.03); }

/* ---- Works（施工事例：Instagram）---- */
.top-page .tp-works { background: #f4f1ec; padding: 100px 120px; }
.top-page .tp-works__inner { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: column; gap: 60px; }
.top-page .tp-works__top { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.top-page .tp-works__left { display: flex; align-items: center; gap: 60px; }
.top-page .tp-works__note { font-size: 16px; color: #444; }
.top-page .tp-insta {
  display: block; flex: 0 0 auto; width: 60px; height: 60px; line-height: 0;
  transition: opacity .3s ease, transform .3s ease;
}
.top-page .tp-insta:hover { opacity: .9; transform: translateY(-2px); }
.top-page .tp-insta img { width: 100%; height: 100%; display: block; }
.top-page .tp-works__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 3px; }
.top-page .tp-works__grid a { display: block; aspect-ratio: 24 / 28; overflow: hidden; }
.top-page .tp-works__grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.top-page .tp-works__grid a:hover img { transform: scale(1.06); }

/* ---- News（お知らせ：最新2件・「全件見る」なし）---- */
.top-page .tp-news { padding: 100px 120px; }
.top-page .tp-news__inner { max-width: 1200px; margin: 0 auto; display: flex; gap: 90px; }
.top-page .tp-news__head { flex: 0 0 auto; }
.top-page .tp-news__list { flex: 1 1 auto; min-width: 0; }
.top-page .tp-news__item { display: flex; align-items: center; gap: 40px; padding: 30px 16px; border-top: 1px solid #e8e6e2; }
.top-page .tp-news__item:last-child { border-bottom: 1px solid #e8e6e2; }
.top-page .tp-news__date { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.top-page .tp-news__dot { color: #908781; font-size: 10px; line-height: 1; }
.top-page .tp-news__date time { font-family: "Montserrat", sans-serif; font-weight: 500; font-size: 16px; color: #444; }
.top-page .tp-news__ttl { font-size: 16px; font-weight: 500; color: #444; }
.top-page .tp-news__ttl a { transition: opacity .25s ease; }
.top-page .tp-news__ttl a:hover { opacity: .6; }

/* ---- Others（その他の事業）---- */
.top-page .tp-others { padding: 0 120px 100px; }
.top-page .tp-others__inner { max-width: 1200px; margin: 0 auto; }
.top-page .tp-others__head { display: flex; align-items: center; gap: 54px; flex-wrap: wrap; }
.top-page .tp-others__intro { font-size: 16px; color: #444; }
.top-page .tp-others__cards { margin-top: 60px; display: flex; gap: 30px; }
.top-page .tp-card { flex: 1 1 0; min-width: 0; display: flex; align-items: center; gap: 30px; padding: 20px; background: #f4f1ec; transition: opacity .25s ease; }
.top-page .tp-card:hover { opacity: .85; }
.top-page .tp-card__img { width: 200px; height: 200px; flex: 0 0 200px; overflow: hidden; }
.top-page .tp-card__img img { width: 100%; height: 100%; object-fit: cover; }
.top-page .tp-card__body { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.top-page .tp-card__en { font-family: "Montserrat Alternates", sans-serif; font-weight: 600; font-size: 28px; color: #513739; line-height: 1; overflow-wrap: break-word; }
.top-page .tp-card__ja { font-size: 14px; font-weight: 500; color: #513739; }

/* ---- Banner（補助金）---- */
.top-page .tp-banner { display: flex; justify-content: center; padding: 40px 20px; }
.top-page .tp-banner img { width: 480px; max-width: 100%; height: auto; }

/* ---- CTA ---- */
.top-page .tp-cta { position: relative; overflow: hidden; padding: 60px 120px; display: flex; align-items: center; justify-content: space-between; gap: 30px; background: #3c3f4a center/cover no-repeat; }
.top-page .tp-cta::before { content: ""; position: absolute; inset: 0; background: rgba(60,63,74,.6); }
.top-page .tp-cta__inner { position: relative; z-index: 1; display: flex; align-items: center; gap: 24px; color: #fff; flex-wrap: wrap; }
.top-page .tp-cta__txt { width: 440px; max-width: 100%; }
.top-page .tp-cta__ttl { font-size: 24px; font-weight: 500; }
.top-page .tp-cta__sub { margin-top: 10px; font-size: 14px; }
.top-page .tp-cta__tel { white-space: nowrap; font-family: "Montserrat", sans-serif; font-weight: 500; color: #fff; }
.top-page .tp-cta__tel .tel-label { font-size: 18px; margin-right: 4px; }
.top-page .tp-cta__tel .tel-num { font-size: 48px; letter-spacing: .01em; }
.top-page .tp-cta .rf-btn { position: relative; z-index: 1; flex: 0 0 auto; }

/* ---- レスポンシブ ---- */
@media screen and (max-width: 1240px) {
  .top-page .tp-works, .top-page .tp-news { padding: 90px 60px; }
  .top-page .tp-others { padding: 0 60px 90px; }
  .top-page .tp-cat { padding: 50px 60px; }
  .top-page .tp-cta { padding: 60px 60px; }
}
@media screen and (max-width: 1080px) {
  .top-page .tp-mv { height: 500px; }
  .top-page .tp-mv__slider, .top-page .tp-mv .slick-list, .top-page .tp-mv .slick-track, .top-page .tp-mv .slick-slide { height: 480px; }
  .top-page .tp-mv__slide { width: 529px; height: 480px; }   /* 480 × 800/760 ≒ 505 → +24 = 529 */
  .top-page .tp-mv__house { width: min(300px, 30vw); bottom: -52px; }
  .top-page .tp-mv__catch p { font-size: 44px; margin-bottom: 16px; padding: 6px 16px; }
  .top-page .tp-read { padding-top: 110px; }
  .top-page .tp-read__cols { flex-wrap: wrap; gap: 40px; }
  .top-page .tp-feature { width: calc(50% - 20px); }
  .top-page .tp-feature__img { width: 100%; aspect-ratio: 280 / 202; height: auto; }
  .top-page .tp-cat__en, .top-page .tp-head__en { font-size: 48px; }
  .top-page .tp-cat__title { width: 100%; }
  .top-page .tp-cat__lead { width: 100%; margin-top: 14px; }
  .top-page .tp-cat__arrow { display: none; }
  .top-page .tp-news__inner { flex-direction: column; gap: 30px; }
  .top-page .tp-cta { flex-direction: column; align-items: flex-start; }
  .top-page .tp-cta__inner { flex-direction: column; align-items: flex-start; gap: 20px; }
}
@media screen and (max-width: 768px) {
  .top-page .tp-works, .top-page .tp-news { padding: 70px 24px; }
  .top-page .tp-others { padding: 0 24px 70px; }
  .top-page .tp-cat { padding: 36px 24px; min-height: 0; }
  .top-page .tp-cta { padding: 50px 24px; }
  .top-page .tp-mv { height: 360px; }
  .top-page .tp-mv__slider, .top-page .tp-mv .slick-list, .top-page .tp-mv .slick-track, .top-page .tp-mv .slick-slide { height: 340px; }
  .top-page .tp-mv__slide { width: 370px; max-width: 92vw; height: 340px; padding: 0 6px; }   /* 340 × 800/760 ≒ 358 → +12 = 370 */
  .top-page .tp-mv__house { width: min(190px, 34vw); right: 12px; bottom: -34px; }
  .top-page .tp-mv__catch { left: 24px; }
  .top-page .tp-mv__catch p { font-size: 30px; letter-spacing: .12em; margin-bottom: 10px; }
  .top-page .tp-read { padding: 80px 0 70px; gap: 40px; }
  .top-page .tp-read__ttl { font-size: 20px; }
  .top-page .tp-feature { width: 100%; }
  .top-page .tp-cat__en, .top-page .tp-head__en { font-size: 40px; }
  .top-page .tp-works__top { flex-direction: column; align-items: flex-start; gap: 24px; }
  .top-page .tp-works__left { flex-direction: column; align-items: flex-start; gap: 20px; }
  .top-page .tp-works__grid { grid-template-columns: repeat(3, 1fr); }
  .top-page .tp-others__cards { flex-direction: column; }
  .top-page .tp-cta__txt { width: 100%; }
  .top-page .tp-cta__tel .tel-num { font-size: 38px; }
  .top-page .rf-btn { width: 100%; }
}
@media screen and (max-width: 600px) {
  /* Others カード：英字がはみ出さないよう画像・文字を縮小 */
  .top-page .tp-card { gap: 16px; padding: 16px; }
  .top-page .tp-card__img { width: 100px; height: 100px; flex: 0 0 100px; }
  .top-page .tp-card__en { font-size: 18px; }
  /* News：日付の下に見出しを置く縦並びに（横並びで窮屈なため）*/
  .top-page .tp-news { padding: 60px 24px; }
  .top-page .tp-news__item { flex-direction: column; align-items: flex-start; gap: 8px; padding: 20px 4px; }
  .top-page .tp-news__ttl { font-size: 15px; }
}

/* ---- スクロールでふわっとフェードイン（reveal.js と連動）---- */
.js .top-page .rf-reveal { opacity: 0; transform: translateY(32px); transition: opacity .9s ease, transform .9s cubic-bezier(.22,.61,.36,1); }
.js .top-page .rf-reveal.is-visible { opacity: 1; transform: none; }
.js .top-page .tp-cats .tp-cat.rf-reveal:nth-child(1) { transition-delay: .05s; }
.js .top-page .tp-cats .tp-cat.rf-reveal:nth-child(2) { transition-delay: .13s; }
.js .top-page .tp-cats .tp-cat.rf-reveal:nth-child(3) { transition-delay: .21s; }
@media (prefers-reduced-motion: reduce) {
  .js .top-page .rf-reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
* @ サイトマップ
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
.page-sitemaps .sitemaps-list {
  width: 48%;
  float: left;
  margin-left: 4%;
}
.page-sitemaps .sitemaps-list:first-child {
  margin-left: 0;
}
@media screen and (max-width: 768px) {
  .page-sitemaps .sitemaps-list {
    width: 100%;
    float: none;
    margin-left: 0;
  }
}
.page-sitemaps .sitemaps-list ul {
  padding: 0;
}
.page-sitemaps .sitemaps-list ul ul {
  padding-left: 1.5em;
}
.page-sitemaps .sitemaps-list li {
  list-style: none;
}
.page-sitemaps .sitemaps-list li a {
  display: block;
  padding: 0.5em;
  color: inherit;
  border-bottom: 1px dotted #ccc;
  text-decoration: none;
}
.page-sitemaps .sitemaps-list li a:hover {
  text-decoration: none;
  background-color: #f4f9fe;
}
.page-sitemaps .sitemaps-list li a:before {
  font-family: 'FontAwesome';
  font-weight: normal;
  content: "\f105";
  margin-right: 1em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
* @ 404
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

/* @ メッセージ
---------------------------------------------------------------------------- */
.error404 .er404-message {
  text-align: center;
}
.error404 .er404-message:before {
  display: block;
  font-family: 'FontAwesome';
  font-weight: normal;
  font-size: 140px;
  content: "\f071";
  color: #f66;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
@media screen and (max-width: 768px) {
  .error404 .er404-message:before {
    font-size: 112px;
  }
}
.error404 .er404-message p:first-child {
  font-family: 'Open Sans', sans-serif;
  font-size: 3rem;
  font-weight: bold;
  text-align: center;
  margin-top: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
@media screen and (max-width: 768px) {
  .error404 .er404-message p:first-child {
    font-size: 2.25em;
  }
}
.error404 .er404-message p:first-child span {
  font-size: 0.5em;
}

/* @ 検索フォーム
---------------------------------------------------------------------------- */
#er404-search {
  display: flex;
  width: 80%;
  min-width: 280px;
  max-width: 680px;
  margin: 5em auto;
  overflow: hidden;
}
@media screen and (max-width: 768px) {
  #er404-search {
    margin: 2em auto;
  }
}
#er404-search label:first-of-type {
  width: 100%;
}
#er404-search input[type='text'] {
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  padding: 10px;
  border: none;
  border-radius: 0;
  outline: none;
  background-color: #eee;
}
#er404-search input[type='submit'] {
  font-family: 'FontAwesome';
  box-sizing: border-box;
  padding: 0.5em 0.75em;
  height: 100%;
  border: none;
  border-radius: 0;
  outline: none;
  background-color: #2d3339;
  color: #fff;
  font-weight: normal;
  font-size: 1.25em;
  text-align: center;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: opacity 0.3s;
}

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
* @ 検索
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
.search #er404-search {
  margin: 3em auto;
}
.search .search-list {
  border-top: 1px solid #ccc;
}
.search .search-list ul {
  display: block;
  margin: 0;
  padding: 0;
}
.search .search-list > a {
  display: block;
  padding: 20px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  color: inherit;
  text-decoration: none;
  transition: background-color 0.3s;
  transition: opacity 0.3s;
}
.search .search-list > a:hover {
  opacity: 0.6;
  text-decoration: none;
}
.search .search-list h3 {
  margin-top: 0;
}
.search .search-list p:last-child {
  text-align: right;
  margin-bottom: 0;
  padding-top: 1em;
  border-top: 1px dotted #ccc;
  font-size: 0.875em;
  color: #999;
}
.search .search-count {
  margin: 2em 0;
}
.search-everything-highlight {
  font-weight: bold;
  text-decoration: underline;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.search-everything-highlight:before {
  display: none;
}
.search .permalink {
  overflow: hidden;
}

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
* @ 投稿｜詳細
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
.single .post-data {
  border-bottom: 1px dotted #ccc;
  padding-bottom: 1em;
  margin-bottom: 3em;
  font-weight: bold;
  text-align: right;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
* @ リフォーム（固定ページ / page-reform.php）
*   Figma: タナカ内装 / Reform
*   tokens: dark1 #513739 / black #444 / light1 #F4F1EC / dark2 #908781 / border #E8E6E2
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
.reform-page,
.reform-page * { box-sizing: border-box; }
.reform-page {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  color: #444; background: #fff; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.reform-page img { max-width: 100%; height: auto; vertical-align: bottom; }
.reform-page p { margin: 0; }
/* ベーステーマ(style.css)のグローバル h1-h4 / ul スタイルを打ち消す */
.reform-page h1, .reform-page h2, .reform-page h3, .reform-page h4 {
  margin: 0; padding: 0; background: none; border: 0;
  color: inherit; font-size: inherit; font-weight: inherit; line-height: inherit; position: static;
}
.reform-page ul { list-style: none; margin: 0; padding: 0; }
.reform-page a { color: inherit; text-decoration: none; transition: opacity .25s; }
.reform-page a:hover { opacity: .7; }
/* 共通ボタン：.reform-page a の color:inherit より優先させて白文字を維持 */
.reform-page .rf-btn, .reform-page .rf-btn:hover { color: #fff; font-weight: 400; }
.reform-page .rf-btn:hover { opacity: .85; }

/* ---- セクション見出し（Service / Flow / Works）---- */
.reform-page .rf-head { text-align: center; }
.reform-page .rf-head-en { font-family: "Montserrat Alternates", sans-serif; font-weight: 500; font-size: 42px; line-height: 1; color: #908781; }
.reform-page .rf-head-ja { margin-top: 5px; font-size: 14px; font-weight: 500; color: #908781; letter-spacing: .04em; }
.reform-page .rf-lead { text-align: center; font-size: 24px; font-weight: 500; color: #444; }

/* ---- Hero ---- */
.reform-page .rf-hero { position: relative; height: 540px; background: #444 center/cover no-repeat; display: flex; align-items: center; justify-content: center; }
.reform-page .rf-hero-title { position: relative; padding: 20px 40px 24px; text-align: center; color: #fff; }
.reform-page .rf-hero-title::before { content: ""; position: absolute; inset: 0; background: #4f4d49; mix-blend-mode: multiply; z-index: 0; }
.reform-page .rf-hero-title > * { position: relative; z-index: 1; }
.reform-page .rf-hero-en { font-family: "Montserrat Alternates", sans-serif; font-weight: 600; font-size: 64px; line-height: 1; }
.reform-page .rf-hero-ja { margin-top: 16px; font-size: 14px; font-weight: 500; letter-spacing: .1em; }

/* ---- Read（リード文）---- */
.reform-page .rf-read { display: flex; flex-direction: column; align-items: center; gap: 50px; width: 544px; max-width: calc(100% - 60px); margin: 80px auto 0; text-align: center; }
.reform-page .rf-read-ttl { font-size: 24px; font-weight: 500; color: #444; }
.reform-page .rf-read-txt { font-size: 16px; }

/* ---- Service ---- */
.reform-page .rf-service { width: 1200px; max-width: calc(100% - 60px); margin: 120px auto 0; padding-top: 60px; border-top: 1px solid #e8e6e2; display: flex; flex-direction: column; align-items: center; gap: 30px; }
.reform-page .rf-service-list { width: 960px; max-width: 100%; }
.reform-page .rf-service-row { display: flex; width: 100%; }
.reform-page .rf-service-row.is-reverse { flex-direction: row-reverse; }
.reform-page .rf-service-img { width: 480px; height: 300px; flex: 0 0 480px; overflow: hidden; }
.reform-page .rf-service-img img { width: 100%; height: 100%; object-fit: cover; }
.reform-page .rf-service-body { width: 480px; height: 300px; flex: 0 0 480px; border: 1px solid #e8e6e2; display: flex; flex-direction: column; justify-content: center; gap: 20px; padding: 0 80px; }
.reform-page .rf-service-ttl { display: flex; align-items: flex-end; justify-content: space-between; color: #513739; font-size: 24px; }
.reform-page .rf-service-ttl .rf-bracket { font-family: "Montserrat", sans-serif; font-weight: 300; }
.reform-page .rf-service-ttl .rf-service-name { font-weight: 700; letter-spacing: .12em; }
.reform-page .rf-service-desc { margin-top: 14px; font-size: 16px; }
.reform-page .rf-service-tags { margin-top: 20px; }
.reform-page .rf-tag-label { display: flex; align-items: center; justify-content: center; background: #f4f1ec; border-radius: 60px; padding: 6px 10px; font-size: 14px; }
.reform-page .rf-tag-list { margin-top: 14px; font-size: 14px; }

/* ---- Flow ---- */
.reform-page .rf-flow { width: 1200px; max-width: calc(100% - 60px); margin: 0 auto; padding-top: 100px; display: flex; flex-direction: column; align-items: center; gap: 30px; }
.reform-page .rf-flow-list { position: relative; width: 100%; display: flex; gap: 5px; justify-content: center; }
/* 全ステップを貫く接続線（ドットの高さで左右の各ドット中心を結ぶ）*/
.reform-page .rf-flow-list::before { content: ""; position: absolute; left: 10%; right: 10%; top: 95px; border-top: 1px solid #c8bfb5; z-index: 1; }
.reform-page .rf-step { position: relative; flex: 1 1 0; max-width: 236px; background: #fff; border: 1px solid #e8e6e2; border-radius: 20px; padding: 20px 30px; height: 480px; display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.reform-page .rf-step-no { font-family: "Montserrat Alternates", sans-serif; font-weight: 600; font-size: 28px; color: #513739; }
.reform-page .rf-step-dot { position: relative; z-index: 2; color: #908781; font-size: 20px; line-height: 1; }
.reform-page .rf-step-icon { width: 120px; height: 120px; }
.reform-page .rf-step-ttl { width: 100%; min-height: 64px; display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 700; color: #513739; }
.reform-page .rf-step-txt { font-size: 16px; text-align: justify; }

/* ---- Works ---- */
.reform-page .rf-works { margin-top: 120px; padding: 60px 120px 100px; background: #f4f1ec; display: flex; flex-direction: column; align-items: center; gap: 30px; }
.reform-page .rf-works-body { width: 960px; max-width: 100%; display: flex; flex-direction: column; align-items: center; gap: 60px; }
.reform-page .rf-insta { width: 100%; display: grid; grid-template-columns: repeat(5, 1fr); gap: 3px; }
.reform-page .rf-insta a { display: block; aspect-ratio: 190 / 222; overflow: hidden; }
.reform-page .rf-insta img { width: 100%; height: 100%; object-fit: cover; }
.reform-page .rf-banners { display: flex; gap: 60px; flex-wrap: wrap; justify-content: center; }
.reform-page .rf-banners a { display: block; width: 320px; height: 100px; }
.reform-page .rf-banners img { width: 100%; height: 100%; object-fit: cover; }

/* ---- CTA ---- */
.reform-page .rf-cta { position: relative; overflow: hidden; padding: 60px 120px; display: flex; align-items: center; justify-content: space-between; gap: 40px; background: #3c3f4a center/cover no-repeat; }
.reform-page .rf-cta::before { content: ""; position: absolute; inset: 0; background: rgba(60,63,74,.6); }
.reform-page .rf-cta-inner { position: relative; z-index: 1; display: flex; align-items: center; gap: 10px; color: #fff; }
.reform-page .rf-cta-txt { width: 460px; max-width: 100%; }
.reform-page .rf-cta-ttl { font-size: 24px; font-weight: 500; }
.reform-page .rf-cta-sub { margin-top: 10px; font-size: 14px; }
.reform-page .rf-cta-tel { position: relative; z-index: 1; white-space: nowrap; font-family: "Montserrat", sans-serif; font-weight: 500; color: #fff; }
.reform-page .rf-cta-tel .rf-tel-label { font-size: 18px; margin-right: 4px; }
.reform-page .rf-cta-tel .rf-tel-num { font-size: 52px; letter-spacing: .01em; }
.reform-page .rf-cta .rf-btn { position: relative; z-index: 1; }

/* ---- レスポンシブ ---- */
@media screen and (max-width: 1080px) {
  .reform-page .rf-service-row, .reform-page .rf-service-row.is-reverse { flex-direction: column; }
  .reform-page .rf-service-img, .reform-page .rf-service-body { width: 100%; flex: none; }
  .reform-page .rf-service-body { height: auto; padding: 40px; }
  .reform-page .rf-service-img { height: auto; aspect-ratio: 480 / 300; }
  /* フロー: 1080px以下は縦積みの横型カード(番号丸バッジをカード左端に重ねる / 参考: agu-hair 選考フローSP) */
  .reform-page .rf-flow-list { flex-direction: column; align-items: center; gap: 20px; }
  .reform-page .rf-flow-list::before { display: none; }
  .reform-page .rf-step { flex: none; width: 100%; max-width: 620px; height: auto; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 0 20px; padding: 24px 28px 24px 56px; text-align: left; }
  .reform-page .rf-step-no { position: absolute; left: 0; top: 50%; transform: translate(-50%, -50%); width: 52px; height: 52px; border-radius: 50%; background: #fff; border: 1px solid #e8e6e2; display: flex; align-items: center; justify-content: center; font-size: 20px; z-index: 2; }
  .reform-page .rf-step-dot { display: none; }
  .reform-page .rf-step-icon { width: 64px; height: 64px; }
  .reform-page .rf-step-ttl { width: auto; flex: 1; min-width: 0; min-height: 0; justify-content: flex-start; text-align: left; }
  .reform-page .rf-step-ttl br { display: none; }
  .reform-page .rf-step-txt { flex: 0 0 100%; margin-top: 12px; }
  .reform-page .rf-works { padding: 60px 20px 80px; }
  .reform-page .rf-cta { flex-direction: column; align-items: flex-start; padding: 40px 20px; }
  .reform-page .rf-cta-inner { flex-direction: column; align-items: flex-start; }
  .reform-page .rf-cta-tel .rf-tel-num { font-size: 40px; }
}
@media screen and (max-width: 600px) {
  .reform-page .rf-hero { height: 360px; }
  .reform-page .rf-hero-en { font-size: 44px; }
  .reform-page .rf-read { margin-top: 50px; gap: 30px; }
  .reform-page .rf-read-ttl, .reform-page .rf-lead { font-size: 20px; }
  .reform-page .rf-head-en { font-size: 34px; }
  .reform-page .rf-service { margin-top: 70px; }
  .reform-page .rf-service-body { padding: 30px 24px; }
  .reform-page .rf-step { padding: 20px 20px 20px 48px; }
  .reform-page .rf-step-icon { width: 56px; height: 56px; }
  .reform-page .rf-step-ttl { font-size: 18px; }
  .reform-page .rf-insta { grid-template-columns: repeat(3, 1fr); }
  .reform-page .rf-cta-txt { width: 100%; }
  .reform-page .rf-cta-tel .rf-tel-num { font-size: 32px; }
}

/* ---- スクロールでふわっとフェードイン（reveal.js と連動）---------------- */
/* html.js が付与されている時だけ隠す（JS無効時は通常表示でフォールバック）*/
.js .reform-page .rf-reveal {
  opacity: 0; transform: translateY(32px);
  transition: opacity .9s ease, transform .9s cubic-bezier(.22,.61,.36,1);
}
.js .reform-page .rf-reveal.is-visible { opacity: 1; transform: none; }
/* フローの5枚は順番に立ち上げる（同時にビューに入るため）*/
.js .reform-page .rf-flow-list .rf-step.rf-reveal:nth-child(1) { transition-delay: .05s; }
.js .reform-page .rf-flow-list .rf-step.rf-reveal:nth-child(2) { transition-delay: .15s; }
.js .reform-page .rf-flow-list .rf-step.rf-reveal:nth-child(3) { transition-delay: .25s; }
.js .reform-page .rf-flow-list .rf-step.rf-reveal:nth-child(4) { transition-delay: .35s; }
.js .reform-page .rf-flow-list .rf-step.rf-reveal:nth-child(5) { transition-delay: .45s; }
@media (prefers-reduced-motion: reduce) {
  .js .reform-page .rf-reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
* @ 下層ページ共通（.lower-page）／ 事務所・店舗改装・原状回復（page-office.php）
*   Figma: タナカ内装 / restore_fitout（node 259:94）
*   tokens: dark1 #513739 / black #444 / light1 #F4F1EC / dark2 #908781 / border #E8E6E2
*   構成: Hero / Read / Service（メイン）｜ Feature(施工実績) / Flow / Works / CTA（共通）
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
.lower-page,
.lower-page * { box-sizing: border-box; }
.lower-page {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  color: #444; background: #fff; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.lower-page img { max-width: 100%; height: auto; vertical-align: bottom; }
.lower-page p { margin: 0; }
/* ベーステーマ(style.css)のグローバル h1-h4 / ul スタイルを打ち消す */
.lower-page h1, .lower-page h2, .lower-page h3, .lower-page h4 {
  margin: 0; padding: 0; background: none; border: 0;
  color: inherit; font-size: inherit; font-weight: inherit; line-height: inherit; position: static;
}
.lower-page ul { list-style: none; margin: 0; padding: 0; }
.lower-page a { color: inherit; text-decoration: none; transition: opacity .25s; }
.lower-page a:hover { opacity: .7; }
/* 共通ボタン：.lower-page a の color:inherit より優先させて白文字を維持 */
.lower-page .rf-btn, .lower-page .rf-btn:hover { color: #fff; font-weight: 400; }
.lower-page .rf-btn:hover { opacity: .85; }

/* ---- セクション見出し（Service / Feature / Flow / Works）---- */
.lower-page .rf-head { text-align: center; }
.lower-page .rf-head-en { font-family: "Montserrat Alternates", sans-serif; font-weight: 500; font-size: 42px; line-height: 1; color: #908781; }
.lower-page .rf-head-ja { margin-top: 5px; font-size: 14px; font-weight: 500; color: #908781; letter-spacing: .04em; }
.lower-page .rf-lead { text-align: center; font-size: 24px; font-weight: 500; color: #444; }

/* ---- Hero（MV）---- */
.lower-page .rf-hero { position: relative; height: 540px; background: #444 center/cover no-repeat; display: flex; align-items: center; justify-content: center; }
.lower-page .rf-hero-title { position: relative; padding: 20px 40px 24px; text-align: center; color: #fff; }
.lower-page .rf-hero-title::before { content: ""; position: absolute; inset: 0; background: #4f4d49; mix-blend-mode: multiply; z-index: 0; }
.lower-page .rf-hero-title > * { position: relative; z-index: 1; }
.lower-page .rf-hero-en { font-family: "Montserrat Alternates", sans-serif; font-weight: 600; font-size: 64px; line-height: 1; }
.lower-page .rf-hero-ja { margin-top: 16px; font-size: 14px; font-weight: 500; letter-spacing: .1em; }

/* ---- Read（リード文）---- */
.lower-page .rf-read { display: flex; flex-direction: column; align-items: center; gap: 50px; width: 640px; max-width: calc(100% - 60px); margin: 90px auto 0; text-align: center; }
.lower-page .rf-read-ttl { font-size: 24px; font-weight: 500; color: #444; }
.lower-page .rf-read-txt { font-size: 16px; }

/* ---- Service（2 行・タグ無し）---- */
.lower-page .rf-service { width: 1200px; max-width: calc(100% - 60px); margin: 60px auto 0; display: flex; flex-direction: column; align-items: center; gap: 30px; }
.lower-page .rf-service .rf-head { width: 100%; padding-top: 60px; border-top: 1px solid #e8e6e2; }   /* セクション区切り線 */
.lower-page .rf-service-list { width: 960px; max-width: 100%; margin-top: 18px; }
.lower-page .rf-service-row { display: flex; width: 100%; }
.lower-page .rf-service-row.is-reverse { flex-direction: row-reverse; }
.lower-page .rf-service-img { width: 480px; height: 300px; flex: 0 0 480px; overflow: hidden; }
.lower-page .rf-service-img img { width: 100%; height: 100%; object-fit: cover; }
.lower-page .of-service-body { width: 480px; height: 300px; flex: 0 0 480px; border: 1px solid #e8e6e2; display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: 0 80px; }
.lower-page .rf-service-ttl { width: 100%; display: flex; align-items: flex-end; justify-content: space-between; color: #513739; font-size: 24px; }
.lower-page .rf-service-ttl .rf-bracket { font-family: "Montserrat", sans-serif; font-weight: 300; }
.lower-page .rf-service-ttl .rf-service-name { font-weight: 700; letter-spacing: .12em; }
.lower-page .rf-service-desc { font-size: 16px; }

/* ---- Feature（施工実績）---- */
.lower-page .of-feature { width: 1200px; max-width: calc(100% - 60px); margin: 100px auto 0; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.lower-page .of-feature-list { width: 100%; display: flex; flex-direction: column; gap: 30px; margin-top: 18px; }
.lower-page .of-feature-row { display: flex; align-items: center; gap: 40px; padding: 30px; border: 1px solid #e8e6e2; }
.lower-page .of-feature-img { width: 480px; height: 360px; flex: 0 0 480px; overflow: hidden; }
.lower-page .of-feature-img img { width: 100%; height: 100%; object-fit: cover; }
.lower-page .of-feature-body { flex: 1 1 auto; min-width: 0; padding: 30px 0; }
.lower-page .of-feature-name { font-size: 24px; font-weight: 700; color: #513739; }
.lower-page .of-feature-place { margin-top: 16px; font-size: 16px; color: #513739; }
.lower-page .of-feature-desc { margin-top: 20px; font-size: 16px; line-height: 1.6; color: #444; }

/* ---- Flow ---- */
.lower-page .rf-flow { width: 1200px; max-width: calc(100% - 60px); margin: 100px auto 0; display: flex; flex-direction: column; align-items: center; gap: 30px; }
.lower-page .rf-flow .rf-lead { margin-top: -12px; }
.lower-page .rf-flow-list { position: relative; width: 100%; display: flex; gap: 5px; justify-content: center; }
/* 全ステップを貫く接続線 */
.lower-page .rf-flow-list::before { content: ""; position: absolute; left: 10%; right: 10%; top: 95px; border-top: 1px solid #c8bfb5; z-index: 1; }
.lower-page .rf-step { position: relative; flex: 1 1 0; max-width: 236px; background: #fff; border: 1px solid #e8e6e2; border-radius: 20px; padding: 20px 30px; height: 480px; display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.lower-page .rf-step-no { font-family: "Montserrat Alternates", sans-serif; font-weight: 600; font-size: 28px; color: #513739; }
.lower-page .rf-step-dot { position: relative; z-index: 2; color: #908781; font-size: 20px; line-height: 1; }
.lower-page .rf-step-icon { width: 120px; height: 120px; }
.lower-page .rf-step-ttl { width: 100%; min-height: 64px; display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 700; color: #513739; }
.lower-page .rf-step-txt { font-size: 16px; text-align: justify; }

/* ---- Works（施工事例 / Instagram）---- */
.lower-page .rf-works { margin-top: 100px; padding: 60px 120px 100px; background: #f4f1ec; display: flex; flex-direction: column; align-items: center; gap: 30px; }
.lower-page .rf-works-body { width: 960px; max-width: 100%; display: flex; flex-direction: column; align-items: center; gap: 60px; }
.lower-page .rf-insta { width: 100%; display: grid; grid-template-columns: repeat(5, 1fr); gap: 3px; }
.lower-page .rf-insta a { display: block; aspect-ratio: 190 / 222; overflow: hidden; }
.lower-page .rf-insta img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.lower-page .rf-insta a:hover img { transform: scale(1.06); }
.lower-page .rf-banners { display: flex; gap: 60px; flex-wrap: wrap; justify-content: center; }
.lower-page .rf-banners a { display: block; width: 320px; height: 100px; }
.lower-page .rf-banners img { width: 100%; height: 100%; object-fit: cover; }

/* ---- CTA ---- */
.lower-page .rf-cta { position: relative; overflow: hidden; margin-top: 0; padding: 60px 120px; display: flex; align-items: center; justify-content: space-between; gap: 40px; background: #3c3f4a center/cover no-repeat; }
.lower-page .rf-cta::before { content: ""; position: absolute; inset: 0; background: rgba(60,63,74,.6); }
.lower-page .rf-cta-inner { position: relative; z-index: 1; display: flex; align-items: center; gap: 10px; color: #fff; }
.lower-page .rf-cta-txt { width: 460px; max-width: 100%; }
.lower-page .rf-cta-ttl { font-size: 24px; font-weight: 500; }
.lower-page .rf-cta-sub { margin-top: 10px; font-size: 14px; }
.lower-page .rf-cta-tel { position: relative; z-index: 1; white-space: nowrap; font-family: "Montserrat", sans-serif; font-weight: 500; color: #fff; }
.lower-page .rf-cta-tel .rf-tel-label { font-size: 18px; margin-right: 4px; }
.lower-page .rf-cta-tel .rf-tel-num { font-size: 52px; letter-spacing: .01em; }
.lower-page .rf-cta .rf-btn { position: relative; z-index: 1; }

/* ---- レスポンシブ ---- */
@media screen and (max-width: 1080px) {
  .lower-page .rf-service-row, .lower-page .rf-service-row.is-reverse { flex-direction: column; }
  .lower-page .rf-service-img, .lower-page .of-service-body { width: 100%; flex: none; }
  .lower-page .of-service-body { height: auto; padding: 30px 24px; border-top: 0; }
  .lower-page .rf-service-img { height: auto; aspect-ratio: 480 / 300; }
  .lower-page .of-feature-row, .lower-page .of-feature-row:nth-child(even) { flex-direction: column; gap: 24px; }
  .lower-page .of-feature-img { width: 100%; flex: none; height: auto; aspect-ratio: 480 / 360; }
  /* フロー: 1080px以下は縦積みの横型カード(番号丸バッジをカード左端に重ねる / 参考: agu-hair 選考フローSP) */
  .lower-page .rf-flow-list { flex-direction: column; align-items: center; gap: 20px; }
  .lower-page .rf-flow-list::before { display: none; }
  .lower-page .rf-step { flex: none; width: 100%; max-width: 620px; height: auto; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 0 20px; padding: 24px 28px 24px 56px; text-align: left; }
  .lower-page .rf-step-no { position: absolute; left: 0; top: 50%; transform: translate(-50%, -50%); width: 52px; height: 52px; border-radius: 50%; background: #fff; border: 1px solid #e8e6e2; display: flex; align-items: center; justify-content: center; font-size: 20px; z-index: 2; }
  .lower-page .rf-step-dot { display: none; }
  .lower-page .rf-step-icon { width: 64px; height: 64px; }
  .lower-page .rf-step-ttl { width: auto; flex: 1; min-width: 0; min-height: 0; justify-content: flex-start; text-align: left; }
  .lower-page .rf-step-ttl br { display: none; }
  .lower-page .rf-step-txt { flex: 0 0 100%; margin-top: 12px; }
  .lower-page .rf-works { padding: 60px 20px 80px; }
  .lower-page .rf-cta { flex-direction: column; align-items: flex-start; padding: 40px 20px; }
  .lower-page .rf-cta-inner { flex-direction: column; align-items: flex-start; }
  .lower-page .rf-cta-tel .rf-tel-num { font-size: 40px; }
}
@media screen and (max-width: 600px) {
  .lower-page .rf-hero { height: 360px; }
  .lower-page .rf-hero-en { font-size: 40px; }
  .lower-page .rf-read { margin-top: 60px; gap: 30px; }
  .lower-page .rf-read-ttl, .lower-page .rf-lead { font-size: 20px; }
  .lower-page .rf-head-en { font-size: 34px; }
  .lower-page .rf-service { margin-top: 70px; }
  .lower-page .of-service-body { padding: 24px 16px; }
  .lower-page .of-feature { margin-top: 80px; }
  .lower-page .of-feature-name { font-size: 20px; }
  .lower-page .rf-flow { margin-top: 80px; }
  .lower-page .rf-step { padding: 20px 20px 20px 48px; }
  .lower-page .rf-step-icon { width: 56px; height: 56px; }
  .lower-page .rf-step-ttl { font-size: 18px; }
  .lower-page .rf-insta { grid-template-columns: repeat(3, 1fr); }
  .lower-page .rf-cta-txt { width: 100%; }
  .lower-page .rf-cta-tel .rf-tel-num { font-size: 32px; }
}

/* ---- スクロールでふわっとフェードイン（reveal.js と連動）---- */
.js .lower-page .rf-reveal {
  opacity: 0; transform: translateY(32px);
  transition: opacity .9s ease, transform .9s cubic-bezier(.22,.61,.36,1);
}
.js .lower-page .rf-reveal.is-visible { opacity: 1; transform: none; }
/* フローの 5 枚は順番に立ち上げる */
.js .lower-page .rf-flow-list .rf-step.rf-reveal:nth-child(1) { transition-delay: .05s; }
.js .lower-page .rf-flow-list .rf-step.rf-reveal:nth-child(2) { transition-delay: .15s; }
.js .lower-page .rf-flow-list .rf-step.rf-reveal:nth-child(3) { transition-delay: .25s; }
.js .lower-page .rf-flow-list .rf-step.rf-reveal:nth-child(4) { transition-delay: .35s; }
.js .lower-page .rf-flow-list .rf-step.rf-reveal:nth-child(5) { transition-delay: .45s; }
@media (prefers-reduced-motion: reduce) {
  .js .lower-page .rf-reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
* @ コミュニティスペース（page-community.php / .community-page）
*   Figma: タナカ内装 / community-space（node 215:456）
*   .lower-page の共通コンポーネント（Hero/Read/Head/Btn/Works/CTA）を継承
*   固有: Scenes（利用シーン）/ 利用案内テーブル / Reserve（ご予約）
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

/* ---- Scenes（利用シーン）---- */
.community-page .cs-scenes { margin-top: 100px; padding: 60px 120px; background: #f4f1ec; display: flex; flex-direction: column; align-items: center; gap: 30px; }
.community-page .cs-scenes-rows { display: flex; flex-direction: column; gap: 40px; padding: 30px 0; width: 100%; }
.community-page .cs-scenes-row { display: flex; justify-content: center; gap: 60px; }
.community-page .cs-scene { width: 360px; max-width: 100%; display: flex; flex-direction: column; gap: 20px; text-align: center; }
.community-page .cs-scene-img { width: 100%; aspect-ratio: 3 / 2; overflow: hidden; }
.community-page .cs-scene-img img { width: 100%; height: 100%; object-fit: cover; }
.community-page .cs-scene-ttl { font-size: 18px; font-weight: 500; color: #444; }
.community-page .cs-scene-desc { font-size: 16px; color: #444; line-height: 1.6; }

/* ---- 利用案内（情報テーブル＋画像）---- */
.community-page .cs-info { width: 1200px; max-width: calc(100% - 60px); margin: 100px auto 0; display: flex; align-items: flex-start; gap: 60px; }
.community-page .cs-info-table { flex: 1 1 auto; min-width: 0; }
.community-page .cs-info-row { display: flex; align-items: flex-start; gap: 20px; padding: 20px; font-size: 18px; border-bottom: 1px solid #908781; }
.community-page .cs-info-row:first-child { border-top: 1px solid #908781; }
.community-page .cs-info-label { flex: 0 0 200px; color: #513739; font-weight: 500; line-height: 2; }
.community-page .cs-info-val { flex: 1 1 auto; color: #444; line-height: 2; }
.community-page .cs-info-equip { flex: 1 1 auto; min-width: 0; margin: 0; padding: 0; list-style: none; }
.community-page .cs-info-equip li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; line-height: 2; color: #444; }
.community-page .cs-info-equip-name { flex: 1 1 auto; min-width: 0; }
.community-page .cs-info-equip-qty { flex: 0 0 auto; text-align: right; white-space: nowrap; }
.community-page .cs-info-img { flex: 0 0 600px; width: 600px; height: 444px; overflow: hidden; }
.community-page .cs-info-img img { width: 100%; height: 100%; object-fit: cover; }

/* ---- Reserve（ご予約）---- */
.community-page .cs-reserve { width: 1200px; max-width: calc(100% - 60px); margin: 60px auto 0; padding: 30px 60px; background: #908781; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.community-page .cs-reserve-left { display: flex; align-items: center; gap: 10px; min-width: 0; }
.community-page .cs-reserve-text { display: flex; flex-direction: column; gap: 12px; }
.community-page .cs-reserve-title { display: flex; align-items: flex-end; gap: 16px; }
.community-page .cs-reserve-en { font-family: "Montserrat Alternates", sans-serif; font-weight: 500; font-size: 42px; line-height: 1; color: #fff; }
.community-page .cs-reserve-ja { font-size: 16px; font-weight: 500; color: #fff; padding-bottom: 6px; }
.community-page .cs-reserve-desc { font-size: 16px; color: #fff; line-height: 1.6; max-width: 500px; }
.community-page .cs-reserve-img { flex: 0 0 auto; height: 150px; opacity: .55; }   /* 透明背景の線画をバーに重ねる（切り抜きなし）*/
.community-page .cs-reserve-img img { height: 100%; width: auto; display: block; }
.community-page .cs-reserve .rf-btn { flex: 0 0 auto; }

/* ---- レスポンシブ ---- */
@media screen and (max-width: 1080px) {
  .community-page .cs-scenes { padding: 60px 60px; }
  .community-page .cs-scenes-row { flex-wrap: wrap; gap: 40px; }
  .community-page .cs-scene { width: calc(50% - 20px); }
  .community-page .cs-info { flex-direction: column; gap: 30px; align-items: stretch; }
  .community-page .cs-info-table { width: 100%; }
  .community-page .cs-info-img { width: 100%; flex: none; height: auto; aspect-ratio: 600 / 444; }
  .community-page .cs-reserve { flex-direction: column; align-items: flex-start; gap: 24px; }
  .community-page .cs-reserve-left { flex-direction: column; align-items: flex-start; }
  .community-page .cs-reserve .rf-btn { width: 100%; }
}
@media screen and (max-width: 600px) {
  .community-page .cs-scenes { padding: 50px 24px; }
  .community-page .cs-scene { width: 100%; }
  .community-page .cs-info-row { font-size: 16px; padding: 16px 10px; flex-direction: column; gap: 6px; }
  .community-page .cs-info-label { flex: 0 0 auto; }
  .community-page .cs-info-val, .community-page .cs-info-equip { width: 100%; }
  .community-page .cs-reserve { padding: 30px 24px; }
  .community-page .cs-reserve-en { font-size: 34px; }
}

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
* @ 飲食事業（page-food.php / .food-page）
*   Figma: タナカ内装 / foodbusiness（node 278:111）
*   .lower-page の共通（Hero/Read/Works/CTA）＋ feature カード（.of-feature-*）を流用
*   固有: read はボタン無し / feature は 1 件＋公式Instagramリンク
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
.food-page .rf-read { gap: 30px; }   /* ボタン無しのためリード文を詰める */
.food-page .food-feature { width: 1200px; max-width: calc(100% - 60px); margin: 60px auto 0; }

/* 公式Instagram リンク（青・下線） */
.lower-page .of-feature-link { display: inline-flex; align-items: center; gap: 10px; color: #06f; font-size: 16px; text-decoration: underline; }
.lower-page .of-feature-link:hover { opacity: .7; }
.lower-page .of-feature-link-icon { width: 20px; height: 20px; flex: 0 0 20px; display: block; }
/* ※ feature カードの縦積み（≤1080px）は .lower-page .of-feature-row の既存指定を継承 */

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
* @ リノベーション（page-renovation.php / .renovation-page）
*   Figma: タナカ内装 / renovation（node 207:68・改訂版）
*   固有: 事例紹介（ベージュのケースカード）＋ Before/After 写真3枚×2＋説明
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
/* リード文がやや長いため広めに */
.renovation-page .rf-read { width: 800px; }

/* Feature（事例紹介）: 上に区切り線＋見出し＋ベージュのケースカード */
.renovation-page .reno-feature { width: 1200px; max-width: calc(100% - 60px); margin: 60px auto 0; padding-top: 100px; border-top: 1px solid #e8e6e2; display: flex; flex-direction: column; align-items: center; gap: 40px; }
/* 事例カード: 見出し(中央) + 平面図Before/After + 説明文 の縦積み(2026-07 デザイン改訂) */
.renovation-page .reno-case { width: 100%; box-sizing: border-box; background: #f4f1ec; display: flex; flex-direction: column; align-items: center; gap: 30px; padding: 70px 95px; }
.renovation-page .reno-case-head { display: flex; flex-direction: column; gap: 16px; align-items: center; text-align: center; }
.renovation-page .reno-plans { width: 100%; display: flex; justify-content: center; gap: 40px; margin-top: 10px; }
.renovation-page .reno-plan { flex: 1 1 0; min-width: 0; max-width: 460px; margin: 0; }
.renovation-page .reno-plan img { width: 100%; height: auto; display: block; }
.renovation-page .reno-case-name { font-size: 24px; font-weight: 700; color: #513739; line-height: 1.4; }
.renovation-page .reno-case-place { font-size: 16px; color: #513739; }
.renovation-page .reno-case-desc { font-size: 16px; color: #444; line-height: 1.6; }

/* Before / After（写真3枚＋キャプション → 説明文）*/
.renovation-page .reno-ba { width: 1200px; max-width: calc(100% - 60px); margin: 60px auto 0; display: flex; flex-direction: column; }
.renovation-page .reno-ba-row { display: flex; gap: 30px; }
.renovation-page .reno-ba-item { flex: 1 1 0; min-width: 0; margin: 0; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.renovation-page .reno-ba-img { width: 100%; aspect-ratio: 1 / 1; overflow: hidden; }
.renovation-page .reno-ba-img img { width: 100%; height: 100%; object-fit: cover; }
.renovation-page .reno-ba-cap { font-size: 16px; color: #444; text-align: center; }
.renovation-page .reno-ba-row + .reno-ba-row { margin-top: 40px; }

/* ---- レスポンシブ ---- */
@media screen and (max-width: 1080px) {
  .renovation-page .reno-case { padding: 40px 24px; gap: 24px; }
  .renovation-page .reno-plans { flex-direction: column; align-items: center; gap: 24px; }
  .renovation-page .reno-plan { width: 100%; }
}
@media screen and (max-width: 600px) {
  .renovation-page .rf-read { width: auto; }
  .renovation-page .reno-feature { padding-top: 70px; }
  .renovation-page .reno-ba-row { flex-direction: column; gap: 24px; }
  .renovation-page .reno-case-name { font-size: 20px; }
}

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
* @ お問い合わせ（page-inquiry.php / .inquiry-page）
*   デザイン未支給。MW WP Form をサイトのトークンに合わせて上書き
*   tokens: dark1 #513739 / black #444 / dark2 #908781 / border #E8E6E2
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
.inquiry-page .inquiry-body { width: 100%; margin-top: 80px; margin-bottom: 100px; padding: 0 24px; }
.inquiry-page .inquiry-inner { max-width: 800px; margin: 0 auto; color: #444; font-size: 16px; line-height: 1.8; }
.inquiry-page .inquiry-inner a { color: #06f; text-decoration: underline; }

/* MW WP Form：テーブル型を縦積みに */
.inquiry-page .mw_form-table,
.inquiry-page .mw_form-table tbody,
.inquiry-page .mw_form-table tr,
.inquiry-page .mw_form-table th,
.inquiry-page .mw_form-table td { display: block; width: 100%; box-sizing: border-box; }
.inquiry-page .mw_form-table tr { background: none !important; border-bottom: 1px solid #e8e6e2; padding: 24px 0; }
.inquiry-page .mw_form-table tr:first-child { border-top: 1px solid #e8e6e2; }
.inquiry-page .mw_form-table th { text-align: left; white-space: normal; padding: 0 0 12px; border: 0; color: #513739; font-weight: 500; }
.inquiry-page .mw_form-table td { padding: 0; border: 0; }

/* 入力欄（構造に依存せず .inquiry-inner 基準で適用）*/
.inquiry-page .inquiry-inner input[type='text'],
.inquiry-page .inquiry-inner input[type='email'],
.inquiry-page .inquiry-inner input[type='tel'],
.inquiry-page .inquiry-inner input[type='number'],
.inquiry-page .inquiry-inner input[type='date'],
.inquiry-page .inquiry-inner textarea,
.inquiry-page .inquiry-inner select {
  width: 100%; box-sizing: border-box; padding: 12px 14px;
  border: 1px solid #e8e6e2; border-radius: 0; background: #fff;
  font-family: inherit; font-size: 16px; color: #444; line-height: 1.6; outline: none;
  transition: border-color .2s ease;
}
.inquiry-page .inquiry-inner input:focus,
.inquiry-page .inquiry-inner textarea:focus,
.inquiry-page .inquiry-inner select:focus { border-color: #908781; }
.inquiry-page .inquiry-inner textarea { min-height: 180px; resize: vertical; }
.inquiry-page .inquiry-inner input::placeholder,
.inquiry-page .inquiry-inner textarea::placeholder { color: #b8b2ab; }
/* 郵便番号・電話などの小さい入力欄 */
.inquiry-page .inquiry-inner .mwform-zip-field input[type='text'],
.inquiry-page .inquiry-inner .mwform-tel-field input[type='text'] { width: 6em; display: inline-block; }

/* ラジオ・チェックボックス */
.inquiry-page .mw_wp_form .horizontal-item { display: inline-flex; align-items: center; gap: 6px; margin: 0 20px 8px 0; }
.inquiry-page .mw_wp_form .vertical-item { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; }

/* エラー表示 */
.inquiry-page .mw_wp_form .error { color: #c0392b; font-size: 14px; font-weight: 500; margin-top: 8px; animation: none; }

/* 送信ボタン（rf-btn 風） */
.inquiry-page .mw_form-btn { text-align: center; margin: 48px 0 0; padding: 0; font-size: 16px; }
.inquiry-page .mw_form-btn li { display: inline-block; list-style: none; margin: 0 8px; }
.inquiry-page .inquiry-inner input[type='submit'],
.inquiry-page .inquiry-inner button[type='submit'] {
  min-width: 280px; max-width: 100%; padding: 18px 40px;
  border: 0; border-radius: 0; background: #444; color: #fff;
  font-family: inherit; font-size: 16px; font-weight: 400; letter-spacing: .04em;
  cursor: pointer; transition: opacity .25s ease;
}
.inquiry-page .inquiry-inner input[type='submit']:hover,
.inquiry-page .inquiry-inner button[type='submit']:hover { opacity: .85; filter: none; }
/* 確認画面の「戻る」など先頭ボタンはサブ配色（dark2）*/
.inquiry-page .mw_form-btn li:first-child:not(:only-child) input[type='submit'] { background: #908781; }

@media screen and (max-width: 600px) {
  .inquiry-page .inquiry-body { margin-top: 60px; margin-bottom: 70px; }
  .inquiry-page .mw_form-btn li { display: block; margin: 0 0 12px; }
  .inquiry-page .inquiry-inner input[type='submit'] { width: 100%; min-width: 0; }
}

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
* @ 共通ヒーロー（デザイン未定ページ：404 / 検索 / お知らせ 等）
*   template-parts/page-hero.php｜画像はトップのスライダー画像を流用（img/page-hero.png）
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
.page-hero { position: relative; height: 360px; margin-bottom: 50px; background: #444 center/cover no-repeat; display: flex; align-items: center; justify-content: center; }
.page-hero__title { position: relative; padding: 18px 40px 22px; text-align: center; color: #fff; }
.page-hero__title::before { content: ""; position: absolute; inset: 0; background: #4f4d49; mix-blend-mode: multiply; }
.page-hero__inner { position: relative; z-index: 1; }
.page-hero__en { margin: 0; font-family: "Montserrat Alternates", sans-serif; font-weight: 600; font-size: 52px; line-height: 1; color: #fff; }
.page-hero__ja { margin: 14px 0 0; font-size: 14px; font-weight: 500; letter-spacing: .1em; color: #fff; }
@media screen and (max-width: 600px) {
  .page-hero { height: 240px; margin-bottom: 36px; }
  .page-hero__en { font-size: 36px; }
}

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
* @ デフォルト固定ページ（page.php / .default-page）
*   デザイン未支給ページ（プライバシーポリシー等）。サイドバー無し1カラム。
*   ベーステーマ(style.css)のグローバル見出し/リンク装飾を上書きしてサイトに統一
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
.default-page { width: 100%; box-sizing: border-box; padding: 0 24px; margin: 0 0 100px; }
.default-page * { box-sizing: border-box; }
.default-page .default-page__inner { max-width: 860px; margin: 0 auto; }

/* パンくず */
.default-page .default-page__crumb { margin: 0 0 40px; font-size: 13px; color: #908781; }
.default-page .default-page__crumb a { color: #908781; text-decoration: none; }
.default-page .default-page__crumb a:hover { text-decoration: underline; }

/* 本文タイポグラフィ（tokens: dark1 #513739 / black #444 / border #E8E6E2 / light1 #F4F1EC）*/
.default-page .default-page__body { color: #444; font-size: 16px; line-height: 1.9; -webkit-font-smoothing: antialiased; }
.default-page .default-page__body > :first-child { margin-top: 0; }
.default-page .default-page__body h1,
.default-page .default-page__body h2,
.default-page .default-page__body h3,
.default-page .default-page__body h4 { background: none; border: 0; padding: 0; color: #513739; line-height: 1.5; }
.default-page .default-page__body h2 { font-size: 24px; font-weight: 700; margin: 48px 0 16px; }
.default-page .default-page__body h3 { font-size: 20px; font-weight: 700; margin: 32px 0 12px; }
.default-page .default-page__body h4 { font-size: 18px; font-weight: 700; margin: 24px 0 10px; }
.default-page .default-page__body p { margin: 0 0 1.2em; }
.default-page .default-page__body ul { list-style: disc; margin: 0 0 1.2em; padding-left: 1.5em; }
.default-page .default-page__body ol { list-style: decimal; margin: 0 0 1.2em; padding-left: 1.5em; }
.default-page .default-page__body li { margin-bottom: .4em; line-height: 1.8; }
.default-page .default-page__body a { color: #06f; text-decoration: underline; }
.default-page .default-page__body a:hover { opacity: .7; }
.default-page .default-page__body strong { font-weight: 700; }
.default-page .default-page__body dl { margin: 0 0 1.2em; }
.default-page .default-page__body dt { margin-top: 1em; font-weight: 700; color: #513739; }
.default-page .default-page__body dd { margin: .3em 0 0; }
.default-page .default-page__body table { width: 100%; border-collapse: collapse; margin: 0 0 1.2em; }
.default-page .default-page__body th,
.default-page .default-page__body td { padding: 12px; border: 1px solid #e8e6e2; text-align: left; vertical-align: top; }
.default-page .default-page__body th { background: #f4f1ec; font-weight: 500; color: #513739; white-space: nowrap; }
.default-page .default-page__body img { max-width: 100%; height: auto; }

@media screen and (max-width: 600px) {
  .default-page { margin-bottom: 70px; }
  .default-page .default-page__body h2 { font-size: 20px; }
  .default-page .default-page__body h3 { font-size: 18px; }
  .default-page .default-page__body th { white-space: normal; }
}

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
* @ お知らせ（archive / page-archive / single）｜.default-page 内
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
/* 一覧 */
.default-page .news-list { margin: 0; background: none; }
.default-page .news-list ul { margin: 0; padding: 0; list-style: none; }
.default-page .news-list li { margin: 0; padding: 0; list-style: none; }
.default-page .news-list dl { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 20px; margin: 0; padding: 22px 6px; border-bottom: 1px solid #e8e6e2; }
.default-page .news-list li:first-child dl { border-top: 1px solid #e8e6e2; }
.default-page .news-list dt { width: auto; margin: 0; padding: 0; flex: 0 0 auto; font-family: "Montserrat", sans-serif; font-weight: 500; font-size: 15px; color: #444; }
.default-page .news-list dd { margin: 0; padding: 0; }
.default-page .news-list .news-list__ttl { flex: 1 1 240px; width: auto; font-size: 16px; color: #444; }
.default-page .news-list .news-list__ttl a { color: #444; text-decoration: none; transition: opacity .25s; }
.default-page .news-list .news-list__ttl a:hover { opacity: .6; }
.default-page .post-none { padding: 40px 0; text-align: center; color: #908781; }

/* 詳細 */
.default-page .post-head { margin: 0 0 36px; padding: 0 0 24px; border-bottom: 1px solid #e8e6e2; }
.default-page .post-head__ttl { margin: 0; font-size: 26px; font-weight: 700; line-height: 1.5; color: #513739; background: none; border: 0; padding: 0; }
.default-page .post-head__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 16px; }
.default-page .post-head__date { font-family: "Montserrat", sans-serif; font-weight: 500; font-size: 15px; color: #908781; }

/* 前後記事ナビ（ベースの青ボタン・FontAwesome指定を打ち消してミニマルなピル型に）*/
.default-page .pagenavi { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 50px 0 0; padding: 28px 0 0; list-style: none; border-top: 1px solid #e8e6e2; font-family: inherit; }
.default-page .pagenavi li { margin: 0; padding: 0; float: none; list-style: none; }
.default-page .pagenavi__next { margin-left: auto; }
.default-page .pagenavi li a {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; background: #fff; border: 1px solid #e8e6e2; border-radius: 50px;
  color: #513739; font-size: 14px; line-height: 1; text-decoration: none;
  transition: background .25s ease, border-color .25s ease, color .25s ease;
}
.default-page .pagenavi li a:hover { background: #513739; border-color: #513739; color: #fff; opacity: 1; }

/* ページ送り（wp-pagenavi）*/
.default-page .wp-pagenavi { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 48px; }
.default-page .wp-pagenavi a, .default-page .wp-pagenavi span { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 10px; border: 1px solid #e8e6e2; color: #444; text-decoration: none; font-family: "Montserrat", sans-serif; font-size: 14px; transition: background .2s, color .2s; }
.default-page .wp-pagenavi a:hover { background: #f4f1ec; }
.default-page .wp-pagenavi .current { background: #513739; border-color: #513739; color: #fff; }
@media screen and (max-width: 600px) {
  .default-page .news-list .news-list__ttl { flex-basis: 100%; }
  .default-page .post-head__ttl { font-size: 21px; }
}

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
* @ 404 / 検索 / サイトマップ（.default-page 内）
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
/* 共通：検索フォーム */
.default-page .site-search { display: flex; max-width: 560px; margin: 0 auto 36px; border: 1px solid #e8e6e2; background: #fff; }
.default-page .site-search__input { flex: 1 1 auto; min-width: 0; border: 0; padding: 14px 16px; font-family: inherit; font-size: 16px; color: #444; background: transparent; outline: none; }
.default-page .site-search__btn { flex: 0 0 auto; border: 0; padding: 0 28px; background: #513739; color: #fff; font-family: inherit; font-size: 15px; cursor: pointer; transition: opacity .25s ease; }
.default-page .site-search__btn:hover { opacity: .85; }

/* 404 */
.default-page .page404 { text-align: center; margin-bottom: 36px; }
.default-page .page404__txt { margin: 0 0 8px; font-size: 15px; color: #444; line-height: 1.9; }
.default-page .page404__txt a { color: #06f; text-decoration: underline; }

/* 検索結果（ベースの .search 用スタイル＝#ccc罫線・点線・右寄せ等を打ち消し）*/
.default-page .search-count { margin: 0 0 20px; font-size: 15px; color: #444; }
.default-page .search-count span { color: #513739; font-weight: 700; }
.default-page .search-count--none { text-align: center; padding: 24px 0; }
.default-page .search-list { border-top: 0; }
.default-page .search-list > a { display: block; padding: 22px 24px; margin-bottom: 16px; border: 1px solid #e8e6e2; color: #444; text-decoration: none; transition: background .2s ease; }
.default-page .search-list > a:hover { background: #f4f1ec; opacity: 1; }
.default-page .search-list h3 { margin: 0 0 8px; padding: 0; border: 0; background: none; font-size: 17px; font-weight: 700; color: #513739; line-height: 1.5; }
.default-page .search-list p { margin: 0; font-size: 14px; color: #444; line-height: 1.7; }
.default-page .search-list p.permalink { margin-top: 10px; padding-top: 0; border-top: 0; text-align: left; font-size: 12px; color: #908781; word-break: break-all; }
.default-page .search-list .search-word { color: #513739; font-weight: 500; }

/* サイトマップ（ベースの width:48%/float/FontAwesome矢印を打ち消して全幅・サイト調に）*/
.default-page .sitemaps-list { width: auto; float: none; margin: 0 0 40px; }
.default-page .sitemaps-list h3 { margin: 0 0 12px; padding: 0; border: 0; background: none; font-size: 20px; font-weight: 700; color: #513739; }
.default-page .sitemaps-list ul { list-style: none; margin: 0; padding: 0; }
.default-page .sitemaps-list li { list-style: none; border-bottom: 1px solid #e8e6e2; }
.default-page .sitemaps-list li a { display: block; padding: 14px 8px; color: #444; text-decoration: none; transition: background .2s ease, color .2s ease; }
.default-page .sitemaps-list li a:before { content: none; }
.default-page .sitemaps-list li a:hover { background: #f4f1ec; color: #513739; }
.default-page .sitemaps-list ul ul { padding-left: 1.2em; }
.default-page .sitemaps-list ul ul li:last-child { border-bottom: 0; }

@media screen and (max-width: 600px) {
  .default-page .site-search { max-width: none; }
}

/* 視覚的に隠す（スクリーンリーダー・SEO用にテキストは残す）*/
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* フッターのSNS(Instagram)はインラインSVGのため config.js が外部リンクアイコン(.extlink)を
   付与してしまう。アイコンだけ抑止する */
.rf-footer .rf-footer-sns:after { content: none; }

/* (旧: スマホ用のフロー縦連結線＋下向き矢印はカード縦積みレイアウト移行に伴い撤去) */

