/*! critical:theme rev3 2025-10-28 */
/* ------------------------------
  基本レイアウト
------------------------------ */
:root{
  --c-base:#333;
  --c-muted:#666;
  --c-line:#EAEAEA;
  --c-brand:#F4A019; /* 見本のオレンジ */
  --c-brand-dark:#E18C00;
  --c-bg:#fff;
  --c-hero-overlay: rgba(0,0,0,.35);
  --container: 1180px;
}

.mr10{padding-right:10px;}
.mr20{padding-right:20px;}
.ml10{padding-left:10px;}
.ml20{padding-left:20px;}
.pr10{padding-right:10px;}
.pr20{padding-right:20px;}
.pl10{padding-left:10px;}
.pl20{padding-left:20px;}

.container{
  max-width: var(--container);
  margin-inline:auto;
  padding-inline: 16px;
}

/* ------------------------------
  ヘッダー/グローバルナビ
------------------------------ */
.site-header{
  position: sticky; top:0; z-index: 50;
  background: #fff; border-bottom: 1px solid var(--c-line);
}
.site-header .container{
  display:flex; align-items:center; gap:24px; min-height:72px;
}
.site-logo img{ height:28px; width:auto; display:block; }

.site-nav{ margin-left:auto; }
.nav-list{ display:flex; gap:28px; align-items:center; }
.nav-list > li > a{ display:block; text-align:center; line-height:1.1; }
.menu_l{ font-size:12px; font-weight:700; letter-spacing:.12em; color:#222; }
.menu_s{ display:block; margin-top:4px; font-size:10px; color:#888; }

.nav-list > li > a:hover .menu_l{ color:var(--c-brand); }
.nav-list > li > a:hover .menu_s{ color:var(--c-brand); }

/* ------------------------------
  ヒーロー
------------------------------ */
.hero{ position:relative; }
.hero-inner{ position:relative; }
.hero-img{
  width:100%; height:72vh; min-height:520px; max-height:760px;
  object-fit:cover; display:block;
}
.hero-inner::after{
  content:""; position:absolute; inset:0; 
  background: linear-gradient(0deg, rgba(0,0,0,.25), rgba(0,0,0,.25));
  pointer-events:none;
}
.hero-copy{
  position:absolute; inset:auto 0 18% 0;
  display:grid; place-items:center;
  text-align:center; padding-inline:16px;
  color:#fff;
}
.hero-title{
  font-weight:800; letter-spacing:.02em;
  font-size: clamp(22px, 3.6vw, 40px);
  text-shadow: 0 2px 10px rgba(0,0,0,.35);
}
.hero-sub{
  margin-top:10px; font-size: clamp(13px,1.6vw,18px);
  opacity:.95;
}
.hero-cta .btn{
  display:inline-block; margin-top:18px; padding:12px 22px;
  background:var(--c-brand); color:#fff; border-radius:999px;
  font-weight:700; text-decoration:none;
}
.hero-cta .btn:hover{ background:var(--c-brand-dark); }

/* 補足コピー（見本のオレンジ行） */
.hero-copy + *{ /* 直後の要素がないため飾り線不要。必要ならセクション見出しで演出 */ }

/* ------------------------------
  セクション共通
------------------------------ */
.section{ padding: 50px 0 0; }
.section-title{
  text-align:center; letter-spacing:.14em; font-size:16px;
  color:var(--c-brand); font-weight:800; position:relative;
}
.section--information .section-head{
  display:flex; align-items:end; justify-content:space-between;
  gap:16px; margin-bottom:16px;
}
.section-more{ color:var(--c-brand); text-decoration:none; font-size:13px; }
.section-more:hover{ text-decoration:underline; }

/* INFORMATION リスト */
.info-list{ border-top:1px solid var(--c-line); }
.info-item a{
  display:grid; grid-template-columns:140px 1fr; gap:16px;
  padding:12px 0; border-bottom:1px solid var(--c-line);
  color:#333; text-decoration:none;
}
.info-item .date{ color:#999; font-variant-numeric: tabular-nums; }
.info-item .title{ line-height:1.6; }
.info-item a:hover .title{ color:var(--c-brand); }

/* WORKS カード */
.card-grid{
  display:grid; gap:24px;
  grid-template-columns: repeat(3, minmax(0,1fr));
  margin-top:20px;
}
.section--works .section-title{ margin-bottom:18px; }
.card{ background:#fff; border:1px solid #eee; border-radius:8px; overflow:hidden; }
.card-link{ color:inherit; text-decoration:none; display:block; height:100%; }
.card-thumb img{ width:100%; height:220px; object-fit:cover; display:block; }
.card-body{ padding:14px 14px 18px; }
.card-date{ color:#999; font-size:12px; display:block; margin-bottom:6px; }
.card-title{ font-size:15px; line-height:1.5; }
.card-excerpt{ color:#666; font-size:13px; margin-top:6px; }

/* BUSINESS ブロック（見本の縦ラベル演出含む） */
.business-grid{
  display:grid; gap:28px; grid-template-columns:repeat(3, minmax(0,1fr));
}
.biz-card{ position:relative; background:#fff; border:1px solid #eee; border-radius:10px; overflow:hidden; }
.biz-thumb img{ width:100%; height:260px; object-fit:cover; display:block; }
.biz-body{ padding:18px; }
.biz-title{ font-size:16px; font-weight:700; margin:4px 0 10px; }
.biz-text{ color:#555; font-size:14px; line-height:1.9; }
.biz-cta .btn{
  display:inline-block; margin-top:12px; padding:10px 18px;
  border:1.5px solid var(--c-brand); color:var(--c-brand);
  border-radius:999px; text-decoration:none; font-weight:700;
}
.biz-cta .btn:hover{ background:var(--c-brand); color:#fff; }

/* 見本の縦英字（ORDERMADE / REAL ESTATE / REFORM） */
.biz-vert{
  position:absolute; left:10px; top:50%; transform:translateY(-80%) rotate(180deg);
  writing-mode:vertical-rl; letter-spacing:.18em; color:#f4a019;
  font-weight:800; font-size:18px; user-select:none; pointer-events:none;
}

/* フッター周り（最低限の整え） */
.site-footer{ background:#fafafa; border-top:1px solid var(--c-line); }
.site-footer .container{ padding-top:36px; padding-bottom:36px; }
.copyright{ display:block; text-align:center; color:#999; margin-top:24px; }

/* ------------------------------
  細かな修正
------------------------------ */
/* lazySizes で高さ0に見えるケースの予防 */
img.lazyload[data-src]{ min-height:1px; }

/* 管理バーがある時のヒーロー被り抑制 */
.admin-bar .hero-img{ height: calc(72vh - 32px); min-height:500px; }

/* セクション間ボタン */
.section-cta .btn{
  display:inline-block; margin-top:18px; padding:11px 20px;
  background:#fff; border:1.5px solid #ddd; border-radius:999px;
  text-decoration:none; color:#333;
}
.section-cta .btn:hover{ border-color:var(--c-brand); color:var(--c-brand); }

/* ------------------------------
  レスポンシブ
------------------------------ */
@media (max-width: 1024px){
  .nav-list{ gap:18px; }
  .biz-thumb img{ height:220px; }
}
@media (max-width: 900px){
  .card-grid, .business-grid{ grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 640px){
  .site-header .container{ min-height:64px; }
  .menu_l{ font-size:11px; }
  .menu_s{ font-size:10px; }
  .hero-img{ height:58vh; min-height:420px; }
  .hero-copy{ inset:auto 0 14% 0; }
  .info-item a{ grid-template-columns:116px 1fr; }
  .card-thumb img{ height:200px; }
  .card-grid, .business-grid{ grid-template-columns: 1fr; }
  .biz-vert{ display:none; } /* スマホは縦ラベル非表示（見本比率を優先） */
}


/* --- Header Nav 修正 --- */
.nav-list{ list-style:none; display:flex; gap:28px; align-items:center; border:none; }
.nav-list li{ border:none; }
.nav-list > li > a{ display:block; text-align:center; line-height:1.2; text-decoration:none; border:none; }
.menu_l{ font-size:14px; font-weight:700; letter-spacing:.08em; color:#222; }
.menu_s{ display:block; margin-top:2px; font-size:11px; color:#888; }
.nav-list > li > a:hover .menu_l,
.nav-list > li > a:hover .menu_s{ color:var(--c-brand); }

/* --- Concept Lead --- */
.section--concept-lead{ background:#fff; padding:80px 0 60px; }
.concept-lead-inner{ display:grid; grid-template-columns:1.1fr 1fr; gap:40px; align-items:center; }
.concept-text p{ font-size:15px; line-height:2; color:#444; margin-bottom:10px; }
.concept-cta .btn.outline{ border:1.5px solid var(--c-brand); color:var(--c-brand); font-weight:700; }
.concept-cta .btn.outline:hover{ background:var(--c-brand); color:#fff; }
.concept-img img{ border-radius:6px; box-shadow:0 6px 16px rgba(0,0,0,.1); width:100%; height:auto; object-fit:cover; }
@media(max-width:900px){ .concept-lead-inner{ grid-template-columns:1fr; } }

/* --- Section Title サイズ拡大 --- */
.section-title{
  text-align:center;
  font-size:20px; /* 旧16px → 20px */
  letter-spacing:.15em;
  color:var(--c-brand);
  font-weight:800;
  margin-bottom:28px;
}

/* --- Footer --- */
.site-footer{ background:#fafafa; border-top:1px solid #eee; font-size:13px; color:#333; }
.footer-top{ display:grid; grid-template-columns:1fr 1.4fr; gap:40px; padding:60px 0; }
.footer-logo img{ height:32px; margin-bottom:10px; }
.footer-tel a{ font-size:24px; font-weight:700; color:var(--c-brand); text-decoration:none; }
.footer-btn a{ display:inline-block; border:1.5px solid var(--c-brand); color:var(--c-brand); border-radius:999px; padding:8px 20px; margin-top:8px; }
.footer-btn a:hover{ background:var(--c-brand); color:#fff; }
.footer-sns img{ width:28px; height:28px; margin-top:8px; }
.footer-links{ display:flex; flex-wrap:wrap; justify-content:space-between; align-items:flex-start; gap:20px; }
.footer-menu{ display:grid; grid-template-columns:repeat(4, minmax(100px,1fr)); gap:20px 32px; list-style:none; }
.footer-menu a{ text-decoration:none; color:#333; text-align:left; font-weight:600; }
.footer-menu span{ display:block; font-weight:400; font-size:11px; color:#999; }
.footer-cert img{ height:50px; margin-top:8px; margin-right:12px; }
.footer-bottom{ border-top:1px solid #eaeaea; text-align:center; padding:20px 0; color:#888; font-size:12px; }
@media(max-width:800px){
  .footer-top{ grid-template-columns:1fr; gap:24px; padding:40px 0; }
  .footer-menu{ grid-template-columns:repeat(2,1fr); }
  .footer-cert{ margin-top:16px; }
}

/*! critical:theme rev5 2025-10-28 */

/* --- Header Menu Typography --- */
.menu_l{
  font-size:1.1rem;  /* 英語サイズ */
  font-weight:700;
  letter-spacing:.1em;
  color:#222;
}
.menu_s{
  display:block;
  margin-top:3px;
  font-size:.7rem;  /* 日本語サイズ */
  color:#777;
}
.nav-list{list-style:none;display:flex;gap:28px;align-items:center;}
.nav-list li{border:none;}
.nav-list a{text-decoration:none;border:none;}
.nav-list a:hover .menu_l,
.nav-list a:hover .menu_s{color:var(--c-brand);}

/* --- INFORMATION 2カラム --- */
.section--information .container{
  display:grid;
  grid-template-columns:220px 1fr;
  align-items:start;
  gap:24px;
}
.section--information .section-head{
  flex-direction:column;
  align-items:flex-start;
  justify-content:flex-start;
}
.section--information .section-title{
  font-size:1.6rem;
  font-weight:800;
  color:var(--c-brand);
  margin-bottom:6px;
}
.section--information .section-more{
  font-size:1.2rem;
  color:var(--c-brand);
  text-decoration:none;
}
.section--information .section-more:hover{text-decoration:underline;}
.info-list{list-style:none;border-top:1px solid #eee;}
.info-item a{
  display:grid;
  grid-template-columns:100px 1fr;
  gap:16px;
  padding:10px 0;
  border-bottom:1px solid #eee;
  text-decoration:none;
  color:#333;
}
.info-item .date{color:#999;}
.info-item .title{line-height:1.7;}
.info-item a:hover .title{color:var(--c-brand);}
@media(max-width:900px){
  .section--information .container{
    grid-template-columns:1fr;
  }
}

/* --- Section Titles (WORKS, BUSINESS, 最新情報) --- */
.section-title{
  font-size:2.2rem;
  letter-spacing:.15em;
  font-weight:800;
  color:var(--c-brand);
  text-align:center;
  margin-bottom:28px;
}
/* ===== Concept Lead ===== */
.section--concept-lead {
  position: relative;
  padding-block: clamp(32px, 6vw, 64px);
  background: #fff;
}

.concept-lead-inner {
  /* 画面幅いっぱいを使いつつ、中央に快適な最大幅 */
  max-width: 1180px;
  margin-inline: auto;
  display: grid;
  align-items: center;
  /* 左：画像（可変） 右：テキスト（固定幅～可変） */
  grid-template-columns: minmax(44%, 1fr) minmax(420px, 560px);
  gap: clamp(20px, 4vw, 56px);
  padding-inline: clamp(16px, 4vw, 32px);
}

.concept-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 8px;
  /* 画像の端が少しだけ丸いほうが上品 */
}
.concept-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.concept-media .concept-deco {
  position: absolute;
  right: -4%;
  top: -6%;
  width: min(42%, 300px);
  pointer-events: none;
  user-select: none;
  opacity: .85;
}

.concept-body {
  /* 行間と縦リズム */
  line-height: 1.7;
}

.concept-title {
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 700;
  letter-spacing: .02em;
  margin: 0 0 clamp(16px, 2.5vw, 24px);
}

.lead-badges {
  display: grid;
  gap: clamp(8px, 1.2vw, 12px);
  margin: 0 0 clamp(18px, 2.5vw, 28px);
}
.lead-badges .badge {
  display: inline-block;
  width: fit-content;
  max-width: 100%;
  color: #333;
  padding: .45em .75em;
  border-radius: 6px;
  font-size: clamp(13px, 1.3vw, 15px);
  line-height: 1.5;
  box-shadow: 0 1px 0 rgba(0,0,0,.06);
  /* 長文折返しでも青帯が切れないように */
  overflow-wrap: anywhere;
}

.concept-cta {
  margin-top: clamp(16px, 2vw, 20px);
}

/* 丸アイコン付きテキストリンク */
.link-arrow {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .6em;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  transition: opacity .2s ease;
	color: #ff8c00;
}
.link-arrow .icon {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
}
.link-arrow:hover { opacity: .75; color: #ff8c00; }

/* 中～小画面：縦積み（画像→テキスト） */
@media (max-width: 960px) {
  .concept-lead-inner {
    grid-template-columns: 1fr;
  }
  .concept-media {
    aspect-ratio: 4 / 3; /* 少し縦を確保して印象を残す */
  }
  .u-md-show { display: none; } /* 見出し途中のbr制御 */
}

/* ごく小画面：バッジの可読性を担保 */
@media (max-width: 420px) {
  .lead-badges .badge {
    border-radius: 5px;
    padding: .4em .6em;
  }
}
/* 1) オーバーレイの基準点を作る（位置づけるだけ。寸法は変わりません） */
.hero--home .hero-inner {
  position: relative;
}

/* 2) 画像の“上”かつテキストの“下”に半透明レイヤーを1枚敷く（描画のみ） */
.hero--home .hero-inner::after {
  content: "";
  position: absolute;
  inset: 0;                 /* 上下左右0に張り付く（親の寸法は変わりません） */
  background: rgba(0,0,0,0.1);  /* 濃さは調整可 */
  z-index: 1;
  pointer-events: none;     /* クリック妨害しない */
}

/* 3) テキスト＆ボタンは前面へ（配置は変えず、前面にするだけ） */
.hero--home .hero-copy {
  z-index: 2;
}
.hero--home .hero-title {
  position: relative; /* フローを変えずに相対的に動かす */
  top: -15px;          /* 上に10px移動（負の値で上方向） */
}

/* 見出しにオレンジの縦線アクセント */
.concept-body h2, .concept-body h3 {
  position: relative;
}
.concept-body h2::before, .concept-body h3::before {
  content:""; position:absolute; left:0; top:.2em;
  width:4px; height:1.2em; 
  border-radius:2px;
}

/* ===== CONCEPT - Hero Only ========================================= */
:root {
  --concept-accent: #f49b00; /* 見本基調のオレンジ */
}

.page-id-5554 .page-title { display: none; } /* 念のため既存タイトルを非表示 */

.concept-hero {
  position: relative;
  width: 100%;
  min-height: clamp(280px, 48vw, 320px);
  overflow: hidden;
}
.concept-hero__bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transform: scale(1.05);
}
.concept-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;   /* ← 中央表示を保証 */
  display: block;
}
.concept-hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.2) 0%, rgba(0,0,0,.35) 100%);
}
.concept-hero__inner {
  position: relative; z-index: 1;
  height: 100%;
  display: grid;
  align-content: center;
  justify-items: start;
  padding-block: clamp(32px, 6vw, 64px);
  color: #fff;
}
.concept-hero__title {
  margin: 0;
  font-weight: 800;
  letter-spacing: .08em;
  font-size: clamp(28px, 6vw, 56px);
	color: var(--c-brand);
}
.concept-hero__subtitle {
  margin-top: .4em;
  font-size: clamp(14px, 2.6vw, 18px);
  padding: .35em .7em;
  border-radius: 4px;
}


/* ==========================================================
   CONCEPT PAGE CONTENT STYLES（見本デザイン準拠）
   ========================================================== */

.page-body.concept-body {
  max-width: 1080px;
  margin: 0 auto;
  padding-block: clamp(60px, 8vw, 120px);
  color: #333;
  line-height: 1.9;
  font-size: clamp(15px, 2.6vw, 17px);
  font-family: "Noto Sans JP", "Hiragino Sans", "Helvetica Neue", sans-serif;
}

/* ----------------------------------------------------------
   見出し（H2） - セクションタイトル
   ---------------------------------------------------------- */
.page-body.concept-body h2 {
  position: relative;
  margin-top: clamp(40px);
  margin-bottom: 40px;
  padding-left: 24px;
  font-size: clamp(26px, 4.6vw, 0px);
  font-weight: 700;
  color: #222;
  letter-spacing: 0.05em;
  line-height: 1.4;
}
.page-body.concept-body h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2em;
  width: 6px;
  height: 1.2em;
  border-radius: 3px;
}

/* 見出し下の導入テキスト（段落直下のp） */
.page-body.concept-body h2 + p {
  font-size: 17px;
  color: #555;
  margin-bottom: 30px;
}

/* ----------------------------------------------------------
   小見出し（H3） - コンセプト要素ごとのテーマ
   ---------------------------------------------------------- */
.page-body.concept-body h3 {
  position: relative;
  font-size: clamp(20px, 3.8vw, 0px);
  font-weight: 700;
  color: #111;
  margin-top: 0px;
  margin-bottom: 0px;
  line-height: 1.5;
}
.page-body.concept-body h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.3em;
  width: 5px;
  height: 1.2em;
  border-radius: 3px;
}

p.catch{ font-size:26px; font-weight:700; margin:0px auto 20px;}
/* ----------------------------------------------------------
   段落とテキスト基本
   ---------------------------------------------------------- */
.page-body.concept-body p {
  margin-bottom: 1.8em;
  color: #444;
  letter-spacing: 0.02em;
}
.page-body.concept-body strong {
  font-weight: 700;
  color: #222;
}
.page-body.concept-body em {
  font-style: normal;
  color: #f49b00;
  font-weight: 600;
}

/* ----------------------------------------------------------
   画像
   ---------------------------------------------------------- */
.page-id-5554 .page-body.concept-body img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
  object-fit: cover;
}

/* 画像と文章の2カラム配置用（左右交互レイアウト） */
.page-id-5554 .concept-flex {
  display: flex;
  gap: 60px;
  align-items: center;
  margin-block: 80px;
}
.page-id-5554 .concept-flex.reverse {
  flex-direction: row-reverse;
}
.page-id-5554 .concept-flex .text {
  flex: 1 1 50%;
}
.page-id-5554 .concept-flex figure {
  flex: 1 1 50%;
  margin: 0;
}
@media (max-width: 960px) {
  .page-id-5554 .concept-flex {
    flex-direction: column;
    gap: 32px;
  }
  .page-id-5554 .concept-flex.reverse {
    flex-direction: column;
  }
}

/* ----------------------------------------------------------
   引用・強調ボックス（自然素材や安心安全ブロック内）
   ---------------------------------------------------------- */
.page-id-5554 .page-body.concept-body blockquote,
.page-id-5554 .concept-box {
  background: #fffdf7;
  border-left: 5px solid #f49b00;
  padding: 24px 28px;
  margin: 40px 0;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.03);
  color: #555;
  font-size: 15.5px;
  line-height: 1.8;
}
.page-id-5554 .concept-box h4 {
  margin-top: 0;
  font-size: 18px;
  font-weight: 700;
  color: #f49b00;
}

/* ----------------------------------------------------------
   リスト
   ---------------------------------------------------------- */
.page-id-5554 .page-body.concept-body ul,
.page-id-5554 .page-body.concept-body ol {
  margin: 1.5em 0 1.8em 1.5em;
  padding: 0;
}
.page-id-5554 .page-body.concept-body li {
  margin-bottom: 0.6em;
  line-height: 1.8;
}
.page-id-5554 .page-body.concept-body ul li::marker {
  color: #f49b00;
}

/* ----------------------------------------------------------
   セクション区切り感（背景交互風）
   ---------------------------------------------------------- */
.page-id-5554 .concept-section-wrap {
  padding-block: clamp(60px, 8vw, 100px);
}
.page-id-5554 .concept-section-wrap:nth-of-type(odd) {
  background-color: #fafafa;
}
.page-id-5554 .concept-section-wrap:nth-of-type(even) {
  background-color: #ffffff;
}

/* ----------------------------------------------------------
   テーブル（保証内容など）
   ---------------------------------------------------------- */
.page-id-5554 .page-body.concept-body table {
  border-collapse: collapse;
  width: 100%;
  margin: 2em 0;
  font-size: 15px;
}
.page-id-5554 .page-body.concept-body th,
.page-id-5554 .page-body.concept-body td {
  border: 1px solid #ddd;
  padding: 12px 16px;
  text-align: left;
}
.page-id-5554 .page-body.concept-body th {
  background: #fff7e8;
  font-weight: 700;
  color: #333;
}

/* ----------------------------------------------------------
   スマホ調整
   ---------------------------------------------------------- */
@media (max-width: 600px) {
  .page-id-5554 .page-body.concept-body {
    padding-inline: 20px;
  }
  .page-id-5554 .page-body.concept-body h2 {
    margin-top: 80px;
    padding-left: 16px;
  }
  .page-id-5554 .page-body.concept-body h3 {
    padding-left: 12px;
  }
  .page-id-5554 .page-body.concept-body img {
    margin: 30px auto;
  }
}

.work-tabs{display:flex;gap:12px;justify-content:center;margin:24px 0 32px}
.work-tab{display:inline-block;padding:12px 28px;border:1px solid #eee;border-radius:999px;font-size:.95rem;letter-spacing:.05em}
.work-tab.is-active{border-color:#f5a623;background:#fff7e8;color:#f7931e}


/* ボタンを横並びにする外枠 */
.child-cat-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px; /* ボタン同士の間隔 */
    margin-bottom: 20px;
}

/* ボタン自体のデザイン */
.cat-btn {
    display: inline-block;
    padding: 8px 16px;
    background-color: #f0f0f0; /* 背景色 */
    color: #333; /* 文字色 */
    text-decoration: none;
    border-radius: 4px; /* 角丸 */
    font-size: 14px;
    transition: background-color 0.3s;
    border: 1px solid #ddd;
}

/* ホバー時のデザイン */
.cat-btn:hover {
    background-color: #0073aa; /* ホバー時の色 */
    color: #fff;
    border-color: #0073aa;
}


/* ページネーション全体 */
.navigation.pagination {
  margin: 40px auto;
  text-align: center;   /* 念のため */
}

/* 数字や前へ/次へリンクを横並びに */
.navigation.pagination .nav-links {
  display: inline-flex;
  align-items: center;
  gap: 8px;             /* ボタン同士のすき間 */
}
/* すべてのページ番号・前後リンク共通 */
.navigation.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;              /* 正方形に近く */
  height: 40px;
  padding: 0 14px;              /* 「前の記事」など文字多いボタン用 */
  border: 1px solid #ddd;
  border-radius: 3px;
  font-size: 14px;
  line-height: 1;
  text-decoration: none;
  color: #333;
  background-color: #fff;
  box-sizing: border-box;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

/* ホバー時 */
.navigation.pagination .page-numbers:hover {
  background-color: #f5f5f5;
  border-color: #ccc;
}

/* 「…」などクリックできない部分（span.dots） */
.navigation.pagination .page-numbers.dots {
  cursor: default;
  pointer-events: none;
  background-color: #fff;
}
/* 現在のページ */
.navigation.pagination .page-numbers.current {
  background-color: #333;
  border-color: #333;
  color: #fff;
  cursor: default;
  pointer-events: none;
}

/* ===========================
   アーカイブ共通メインビジュアル
   =========================== */

.archive-hero {
  position: relative;
  width: 100%;
  min-height: 260px;             /* 必要に応じて高さ調整 */
  overflow: hidden;
}

/* 背景画像ラッパー */
.archive-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* 背景画像そのもの */
.archive-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;             /* 画面いっぱいにトリミング */
  display: block;
}

/* うっすら暗くするオーバーレイ（文字を読みやすく） */
.archive-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  z-index: 2;
}

/* 中身（タイトル＆サブタイトル） */
.archive-hero__inner {
  position: relative;
  z-index: 3;
  max-width: 1080px;
  margin: 0 auto;
  padding: 40px 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: inherit;
  color: #fff;
}

/* 英字タイトル（WORKS / COLUMN など） */
.archive-hero__title {
  font-size: 32px;
  letter-spacing: 0.18em;
  margin: 0 0 8px;
  font-weight: 600;
}

/* 日本語サブタイトル */
.archive-hero__subtitle {
  font-size: 14px;
  margin: 0;
}

/* カテゴリ別に微調整したければここで上書き可能（色を変えるなど） */
/*
.archive-hero--works::before      { background: rgba(0,0,0,0.25); }
.archive-hero--column::before     { background: rgba(0,0,0,0.25); }
.archive-hero--realestate::before { background: rgba(0,0,0,0.25); }
.archive-hero--event::before      { background: rgba(0,0,0,0.25); }
*/

/* スマホ向け調整 */
@media (max-width: 767px) {
  .archive-hero {
    min-height: 200px;
  }
  .archive-hero__inner {
    padding: 32px 16px;
  }
  .archive-hero__title {
    font-size: 24px;
  }
  .archive-hero__subtitle {
    font-size: 13px;
  }
}
/* ==================================
   子カテゴリボタンエリア（共通）
   ================================== */

.child-cat-buttons {
  margin: 32px 0 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

/* 中央寄せにしたい場合（listing ページ全体で統一するなら有効） */
.archive .child-cat-buttons {
  justify-content: center;
}

/* 各子カテゴリボタン（共通） */
.cat-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 20px 40px;
  border-radius: 9999px;           /* pill型 */
  font-size: 13px;
  line-height: 1.2;
  background-color: #fff;
  color: #f39800;
  text-decoration: none;
  border: 3px solid #f39800;
  transition: background-color 0.2s ease, color 0.2s ease,
              border-color 0.2s ease, box-shadow 0.2s ease;
  width:20%;
}

/* ホバー時 */
.cat-btn:hover {
  background-color: #f39800;
  border-color: #fff;
  color: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

/* 現在のカテゴリ（is-active を PHP 側で付与） */
.cat-btn.is-active {
  background-color: #f39800;
  border-color: #f39800;
  color: #fff;
  pointer-events: none;
}

/* スマホで詰まりすぎる場合の調整 */
@media (max-width: 480px) {
  .child-cat-buttons {
    justify-content: flex-start;
    margin: 24px 0 16px;
  }
  .cat-btn {
    padding: 6px 14px;
    font-size: 12px;
  }
}
/* アーカイブ見出し */
.archive .archive-title {
  font-size: 20px;
  margin: 32px 0 16px;
  font-weight: 500;
}
@media (max-width: 767px) {
  .archive .archive-title {
    font-size: 18px;
    margin-top: 24px;
  }
}

.entry-thumbnail{
  background-color:#f5f5f5;
  text-align: center;
}
.entry-thumbnail img{
  width:60%;
  height: auto;
  margin:15px auto;
}

/* ==============================================
   Single Post (詳細ページ) 改善スタイル
   ============================================== */

/* --- 1. レイアウトとタイトルの調整 --- */

/* 記事全体の読みやすい幅を確保（広すぎると目が滑るため800-900px程度に制限） */
.single .container.content {
  max-width: 880px;
  margin-inline: auto;
  padding-bottom: 80px;
}

/* 記事タイトル */
.entry-title {
  font-size: clamp(24px, 4vw, 32px); /* スマホで小さく、PCで大きく */
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 12px;
  color: #333;
  letter-spacing: 0.05em;
}

/* 投稿日 */
.entry-date {
  display: inline-block;
  font-size: 14px;
  color: #888;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  margin-bottom: 32px;
}


/* --- 2. 画像（アイキャッチ・本文画像）の演出 --- */

/* アイキャッチ画像エリア */
.entry-thumbnail {
  margin-bottom: 48px;
  background-color: transparent; /* 既存のグレー背景を無効化 */
  padding: 0;
  text-align: center;
}

/* アイキャッチ画像本体 */
.entry-thumbnail img {
  width: 100%;
  height: auto;
  max-height: 500px;      /* 縦長になりすぎないように制限 */
  object-fit: cover;
  border-radius: 12px;    /* 角を丸く */
  box-shadow: 0 8px 20px rgba(0,0,0,0.08); /* ふわりとした影 */
  margin: 0 auto;         /* 中央寄せ */
}

/* 本文内の画像 */
.entry-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 32px 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05); /* 本文画像は少し控えめな影 */
}


/* --- 3. 本文の読みやすさと見出しデザイン --- */

/* 本文テキストの基本設定 */
.entry-content {
  font-size: 16px;
  line-height: 1.9;      /* 行間を広めに（読みやすさの鍵） */
  color: #444;           /* 真っ黒(#000)より目に優しい色 */
  letter-spacing: 0.03em;
}

/* 段落ごとの余白 */
.entry-content p {
  margin-bottom: 2em;    /* 段落間をしっかりとる */
}

/* 見出し H2（大見出し） */
.entry-content h2 {
  font-size: 24px;
  font-weight: 700;
  margin-top: 60px;      /* 前の段落との距離を大きく */
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--c-brand); /* ブランドカラーの下線 */
  color: #333;
  line-height: 1.4;
}

/* 見出し H3（小見出し） */
.entry-content h3 {
  font-size: 20px;
  font-weight: 700;
  margin-top: 48px;
  margin-bottom: 20px;
  padding-left: 16px;
  border-left: 5px solid var(--c-brand); /* 左にアクセントバー */
  color: #333;
  line-height: 1.4;
}

/* 見出し H4（さらに小さい見出し） */
.entry-content h4 {
  font-size: 18px;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 16px;
  color: #555;
}

/* リスト（箇条書き） */
.entry-content ul,
.entry-content ol {
  background: #fafafa;     /* 背景を薄いグレーにして区分け */
  padding: 24px 24px 24px 40px;
  margin-bottom: 2em;
  border-radius: 8px;
}
.entry-content li {
  margin-bottom: 10px;
}
.entry-content li:last-child {
  margin-bottom: 0;
}

/* スマホ対応（余白の微調整） */
@media (max-width: 640px) {
  .single .container.content {
    padding-inline: 20px; /* 左右の余白確保 */
  }
  .entry-content {
    font-size: 15px;      /* スマホでは少し文字サイズを落とす */
    line-height: 1.8;
  }
  .entry-thumbnail img {
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  }
  .entry-content h2 {
    font-size: 21px;
    margin-top: 40px;
  }
  .entry-content h3 {
    font-size: 18px;
  }
}

/* -------------------------------------------
   ボタン表示崩れの修正
   ------------------------------------------- */
/* WordPress管理画面で入ってしまった異常なpadding設定を強制リセット */
.entry-content .wp-block-button__link {
  padding: 16px 32px !important;  /* 適切な余白に上書き */
  line-height: 1.4 !important;    /* 2行になっても読みやすい行間 */
  width: auto !important;         /* 幅を自動調整 */
  height: auto !important;        /* 高さを自動調整 */
  
  /* テキストが2行になっても上下左右中央に配置 */
  display: inline-flex !important;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

/* ====================================
   ハンバーガーメニュー用スタイル
   ==================================== */

/* --- PC時はボタンを非表示 --- */
.hamburger-btn {
  display: none;
}

/* --- スマホ表示 (768px以下) --- */
@media screen and (max-width: 768px) {

  /* 1. ハンバーガーボタンのスタイル */
  .hamburger-btn {
    display: block;
    position: absolute; /* 必要に応じて調整 */
    right: 20px;        /* 右端からの距離 */
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1000; /* メニューより上に表示 */
    padding: 0;
  }

  .hamburger-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #333; /* 線の色 */
    position: absolute;
    left: 0;
    transition: all 0.3s;
  }

  .hamburger-btn span:nth-child(1) { top: 0; }
  .hamburger-btn span:nth-child(2) { top: 50%; transform: translateY(-50%); }
  .hamburger-btn span:nth-child(3) { bottom: 0; }

  /* 2. ボタンが開いた時のスタイル（×印になる） */
  .hamburger-btn.is-active span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
  }
  .hamburger-btn.is-active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger-btn.is-active span:nth-child(3) {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
  }

  /* 3. ナビゲーションメニュー（スマホ時は隠して、開くと全画面） */
  .site-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #fff; /* 背景色 */
    z-index: 999;
    padding-top: 80px; /* 上部の余白 */
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    overflow-y: auto; /* メニューが多い場合スクロール */
  }

  /* メニューが開いた状態 */
  .site-nav.is-active {
    opacity: 1;
    visibility: visible;
  }

  /* メニューリストのレイアウト調整 */
  .site-nav .nav-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  
  .site-nav .nav-list li {
    width: 100%;
    text-align: center;
  }
}

/* ====================================
   右下固定バナー (画像使用版)
   ==================================== */
.floating-banner {
  position: fixed;
  right: 0;             /* 右端にピッタリつける */
  bottom: 100px;        /* 下からの位置（必要に応じて調整） */
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 1px;             /* ボタン同士の境界線用隙間 */
}

/* ボタン共通設定 */
.float-btn {
  display: block;
  width: 80px;          /* ボタンの幅 */
  height: 80px;         /* ボタンの高さ（正方形にする） */
  text-decoration: none;
  color: #fff;
  transition: opacity 0.3s;
  position: relative;
}

.float-btn:hover {
  opacity: 0.9;
}

/* ボタンの中身（中央揃え） */
.float-btn-inner {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column; /* アイコンと文字を縦並び */
  justify-content: center;
  align-items: center;
  gap: 5px; /* アイコンと文字の間隔 */
}

/* 画像（SVG）のサイズ調整 */
.float-btn img {
  width: 60px; /* アイコンの幅 */
  height: auto;
  display: block;
}

/* テキストの設定 */
.btn-text {
  font-size: 11px;
  font-weight: bold;
  letter-spacing: 0.05em;
  line-height: 1.2;
}


/* --- スマホ表示の調整 (任意) --- */
@media screen and (max-width: 768px) {
  /* スマホでも少し小さくして表示し続ける場合 */
  .float-btn {
    width: 70px;
    height: 70px;
  }
  .float-btn img {
    width: 24px;
  }
  .btn-text {
    font-size: 10px;
  }
}
/* 資料請求（上）のスタイルに追加 */
.btn-reserve {
  /* ▼ 下に余白を入れて、上のボタンだけ持ち上げる ▼ */
  margin-bottom: 100px; /* この数字を大きくすると、もっと上に離れます */
}

/* --- ジュンホーム風フォームのデザイン --- */

/* フォーム全体の幅と中央寄せ */
.jun-form-container {
    max-width: 800px;
    margin: 0 auto;
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
}

/* 各項目の間隔 */
.jun-form-row {
    margin-bottom: 25px;
}

/* ラベル（項目名）のデザイン */
.jun-form-row label {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
    font-size: 15px;
    color: #333;
}

/* 必須マークのデザイン */
.jun-required {
    background-color: #ff4444; /* 赤色 */
    color: #fff;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 2px;
    margin-left: 8px;
    vertical-align: middle;
    font-weight: normal;
}

/* 入力欄（テキスト・日付・プルダウン）共通のデザイン */
.jun-form-row input[type="text"],
.jun-form-row input[type="email"],
.jun-form-row input[type="tel"],
.jun-form-row input[type="date"],
.jun-form-row select,
.jun-form-row textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc; /* 薄いグレーの枠線 */
    background-color: #f9f9f9; /* 背景をごく薄いグレーに */
    border-radius: 0; /* 角丸をなくす（四角くする） */
    box-sizing: border-box; /* 枠線を含めたサイズ計算 */
    font-size: 16px;
}

/* 入力欄を選択した時の色 */
.jun-form-row input:focus,
.jun-form-row select:focus,
.jun-form-row textarea:focus {
    background-color: #fff;
    border-color: #333;
    outline: none;
}

/* 送信ボタンのデザイン */
.jun-form-submit input[type="submit"] {
    display: block;
    width: 100%;       /* 幅いっぱいに */
    max-width: 300px;  /* ただし広がりすぎないように制限 */
    margin: 40px auto 0; /* 上に余白、左右中央寄せ */
    padding: 15px;
    background-color: #333; /* 黒（または濃紺） */
    color: #fff;
    border: none;
    font-size: 18px;
    letter-spacing: 2px; /* 文字間隔を広げる */
    cursor: pointer;
    transition: 0.3s;
}

/* 送信ボタンのマウスオーバー時 */
.jun-form-submit input[type="submit"]:hover {
    background-color: #555; /* 少し明るく */
    opacity: 0.9;
}

/* プライバシーポリシーのリンク色 */
.jun-privacy a {
    color: #333;
    text-decoration: underline;
}

/* --- ジュンホーム風カードグリッドデザイン（完全修正版） --- */

/* ▼▼▼ 重要：勝手に入る改行タグを強制排除する設定 ▼▼▼ */
.jun-form-container br {
    display: none !important; /* brタグを消す */
}
.jun-card-group p {
    display: contents !important; /* pタグの箱を無効化する（中身だけ残す） */
    margin: 0;
}
/* ▲▲▲ ここまで ▲▲▲ */

.jun-card-group {
    display: grid;
    grid-template-columns: 1fr 1fr; /* PCは2列 */
    gap: 20px;
    margin-bottom: 20px;
}

/* カード全体の枠組み */
.jun-card-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid #e5e5e5;
    background: #fff;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.2s;
    text-align: center;
    padding-top: 25px;
    padding-bottom: 0;
    overflow: hidden;
    height: 100%;
}

.jun-card-item:hover {
    border-color: #999;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* ラジオボタンエリア（spanに変更しましたがブロックとして扱います） */
.jun-card-radio-area {
    display: block; /* spanをブロック要素にする */
    margin-bottom: 10px;
}
.jun-card-radio {
    transform: scale(1.3);
    accent-color: #555;
}

/* タイトル・住所など */
.jun-card-title {
    display: block;
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
    padding: 0 10px;
}

.jun-card-address {
    display: block;
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
    line-height: 1.4;
    padding: 0 10px;
}

.jun-card-note {
    display: block;
    font-size: 12px;
    color: #888;
    margin-bottom: 20px;
    padding: 0 10px;
}

/* 画像エリア */
.jun-card-img-area {
    display: block; /* spanをブロック要素にする */
    width: 100%;
    margin-top: auto;
    line-height: 0;
}

.jun-card-img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    display: block;
}

/* スマホ対応 */
@media (max-width: 768px) {
    .jun-card-group {
        grid-template-columns: 1fr;
    }
}

/* 隠しフィールド */
.jun-hidden-input {
    display: none !important;
}
