:root{
  --bg:#f3f6f8;
  --paper:#ffffff;
  --ink:#1c2a38;
  --muted:#5b6773;
  --brand:#2c5f2d;
  --line:rgba(0,0,0,.08);
  --shadow:0 14px 40px rgba(0,0,0,.08);
  --radius:16px;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family: system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  color:var(--ink);
  background:linear-gradient(135deg,#f0f4f8 0%, #d9e2ec 100%);
}

/* utility */
.container{ width:min(1100px, 92%); margin-inline:auto; }

.section{ padding: 88px 0; }
  .section.alt{ background: rgba(255,255,255,.7); backdrop-filter: blur(6px); }
.section-head h2{
  margin:0 0 10px;
  font-size: clamp(28px, 2.6vw, 40px);
  letter-spacing:.02em;
}
.section-head p{
   margin:0 0 28px; color:var(--muted); }

/* header */
.site-header{
  position: fixed;
  inset: 0 0 auto 0;
  height: 78px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 0 20px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--line);
  z-index: 9999;
}
.brand{
  display:flex; align-items:center; gap:10px;
  text-decoration:none;
  color:var(--brand);
  font-weight:800;
}
.brand img{ height:42px; width:auto; }

.global-nav{
  display:flex;
  gap: 18px;
  align-items:center;
}
.global-nav a{
  text-decoration:none;
  color: var(--ink);
  font-weight:700;
  font-size: 14px;
  padding: 10px 8px;
  border-radius: 10px;
  transition: .2s;
}
.global-nav a:hover{
  background: rgba(44,95,45,.08);
  color: var(--brand);
}

.ig{
  display:grid; place-items:center;
  width: 25px; height: 40px;
  border-radius: 12px;
  color: var(--brand);
  text-decoration:none;
  transition:.2s;
}

.sr-only{
  position:absolute; width:1px; height:1px; overflow:hidden;
  clip:rect(0,0,0,0); white-space:nowrap;
}
/* ヘッダー右側（ハンバーガー＋SNS） */
.header-right{
  display:flex;
  align-items:center;
  gap: 12px;
}

/* ハンバーガーの見た目とズレ防止 */
.hamburger{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.9);
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
}

/* SNS側の縦ズレ防止（念のため） */
.sns-links{
  display:flex;
  align-items:center;
  gap: 14px;
}

/* drawer */
.drawer{
  position: fixed;
  top: 0;
  right: -100%;
  width: min(88vw, 360px);
  height: 100vh;
  background: #ffffff;
  box-shadow: -8px 0 32px rgba(0,0,0,.12);
  padding: 96px 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: right .3s ease;
  z-index: 9998;
}

.drawer.open{
  right: 0;
}
.drawer-close{
  position:absolute;
  top: 16px; right: 16px;
  width: 44px; height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background:#fff;
  cursor:pointer;
  font-size: 18px;
}
.drawer-link{
  text-decoration:none;
  color: var(--ink);
  font-weight:800;
  padding: 14px 12px;
  border-radius: 12px;
  background: #fff;
}
.drawer-link:hover{ color: var(--brand); }

/* hero */
.hero{
  padding-top: 100px; /* fixed header offset */
  padding-bottom: 40px;
}
.hero{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 26px;
  align-items:center;
}
.hero-inner{
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
}
.hero-kicker{
  color: var(--brand);
  font-weight:900;
  letter-spacing:.12em;
  text-transform:uppercase;
  font-size: 12px;
  margin:0 0 10px;
}
.hero-title{
  margin:0 0 14px;
  font-size: clamp(34px, 3.4vw, 56px);
  line-height:1.12;
}
.hero-lead{
  margin:0 0 22px;
  color: var(--muted);
  line-height:1.9;
}
.hero-cta{ display:flex; gap: 12px; flex-wrap:wrap; }

.hero-media{
  border-radius: var(--radius);
  overflow:hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  background:#fff;
}
.hero-media img{
  width:100%; height:100%;
  object-fit: cover;
  display:block;
}

/* buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 14px;
  font-weight: 900;
  text-decoration:none;
  border: 1px solid transparent;
  transition:.2s;
}
.btn.primary{ background: var(--brand); color: #fff; }
.btn.primary:hover{ filter: brightness(.95); transform: translateY(-1px); }
.btn.ghost{ background: rgba(255,255,255,.8); color: var(--brand); border-color: rgba(44,95,45,.18); }
.btn.ghost:hover{ background:#fff; transform: translateY(-1px); }
.btn.full{ width:100%; }


/* greeting */
.greeting {
  display: flex;
  justify-content: center; /* 横中央 */
  margin-bottom: 60px;
}
#greeting .section-head{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 14px;
  font-size: clamp(28px, 2.6vw, 40px);
}

.greeting-text{
  max-width: 1280px;     /* ← 読みやすい横幅 */
  margin: 0 auto;
  text-align: center;   /* ← 文章を中央寄せ */
  background: rgba(255,255,255,.9);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  line-height: 2;
  color: #2b3641;
}
.sign{ margin-top: 14px; font-weight: 900; color: var(--ink); }

.greeting-photo{
  border-radius: var(--radius);
  overflow:hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  background:#fff;
}
.greeting-photo img{ width:100%; height:100%; object-fit: cover; display:block; }

/* service cards */
.cards{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 14px;
}
.card{
  background: rgba(255,255,255,.92);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 10px 24px rgba(0,0,0,.06);
}
.card h3{ margin:0 0 10px; color: var(--brand); }
.card p{ margin:0; color: var(--muted); line-height:1.9; }

.service-links{
  margin-top: 18px;
  display:flex;
  flex-wrap:wrap;
  gap: 10px;
}
.pill{
  text-decoration:none;
  color: var(--ink);
  font-weight: 900;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.08);
  background: rgba(255,255,255,.75);
}
.pill:hover{ color: var(--brand); border-color: rgba(44,95,45,.25); }

/* works */
.works-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.work{
  display:block;
  text-decoration:none;
  background:#fff;
  border-radius: var(--radius);
  overflow:hidden;
  border: 1px solid var(--line);
  box-shadow: 0 10px 24px rgba(0,0,0,.06);
  transition:.2s;
}
.work:hover{ transform: translateY(-3px); box-shadow: 0 18px 40px rgba(0,0,0,.10); }
.work img{ width:100%; height: 210px; object-fit: cover; display:block; }
.work-meta{ padding: 14px; }
.work-meta h3{ margin:0 0 6px; color: var(--brand); }
.work-meta p{ margin:0; color: var(--muted); }

.center{ margin-top: 18px; display:flex; justify-content:center; }

/* company (table-like) */
.table{
  background: rgba(255,255,255,.92);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow:hidden;
  box-shadow: 0 10px 24px rgba(0,0,0,.06);
}
.row{
  display:grid;
  grid-template-columns: 220px 1fr;
  border-top: 1px solid var(--line);
}
.row:first-child{ border-top:none; }
.th{
  padding: 16px;
  background: rgba(0,0,0,.03);
  font-weight: 900;
}
.td{ padding: 16px; color: #2b3641; }
.td a{ color: var(--brand); font-weight: 900; }

/* access */
.access{
  display:grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 16px;
  align-items: stretch;
}
.access-text{
  background: rgba(255,255,255,.92);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 10px 24px rgba(0,0,0,.06);
  line-height: 2;
}
.map-dummy{
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display:grid;
  place-items:center;
  font-weight: 900;
  color: var(--muted);
  min-height: 280px;
  background: linear-gradient(135deg, rgba(44,95,45,.08), rgba(0,0,0,.02));
}

/* contact */
.contact-form{
  background: rgba(255,255,255,.92);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 10px 24px rgba(0,0,0,.06);
}
.contact-form label{
  display:block;
  font-weight: 900;
  margin-bottom: 12px;
}
.contact-form input,
.contact-form textarea{
  width: 100%;
  margin-top: 8px;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.14);
  outline: none;
  font-size: 16px;
}
.contact-form input:focus,
.contact-form textarea:focus{
  border-color: rgba(44,95,45,.5);
  box-shadow: 0 0 0 4px rgba(44,95,45,.12);
}
.form-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* footer */
.site-footer{
  padding: 26px 0;
  border-top: 1px solid var(--line);
  background: rgba(255,255,255,.9);
}
.footer-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.to-top{
  text-decoration:none;
  font-weight: 900;
  color: var(--brand);
}

/* responsive */
@media (max-width: 980px){
  .global-nav{ display:none; }
  .hero{ grid-template-columns: 1fr; }
  .hero-media{ min-height: 280px; }
  .greeting{ grid-template-columns: 1fr; }
  .cards{ grid-template-columns: 1fr; }
  .works-grid{ grid-template-columns: 1fr; }
  .access{ grid-template-columns: 1fr; }
  .row{ grid-template-columns: 160px 1fr; }
  .form-grid{ grid-template-columns: 1fr; }
}

/* =========================
   R Circle Block（円デザイン）
   ========================= */

.r-circle-block{
  margin-top: 36px;
  padding: 26px;
  background: rgba(255,255,255,.85);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 24px rgba(0,0,0,.06);
}

.r-circle-title{
  margin: 0 0 6px;
  font-size: 22px;
  letter-spacing: .03em;
  color: var(--ink);
}

.r-circle-lead{
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.8;
}

/* 円を横並び（はみ出す時は横スクロール） */
.r-circles{
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 6px 4px 10px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.r-circles::-webkit-scrollbar{ height: 8px; }
.r-circles::-webkit-scrollbar-thumb{ background: rgba(0,0,0,.12); border-radius: 999px; }

/* 円のカード本体 */
.r-circle{
  flex: 0 0 auto;
  width: 200px;
  aspect-ratio: 1 / 1;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 18px 16px;
  text-align: center;
  scroll-snap-align: start;
  transition: transform .2s ease, box-shadow .2s ease;
}
.r-circle:hover{
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(0,0,0,.12);
}

.r-circle-head{
  display: grid;
  gap: 6px;
  justify-items: center;
  margin-bottom: 10px;
}

.r-letter{
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(44,95,45,.10);
  color: var(--brand);
  font-weight: 900;
}

.r-word{
  font-weight: 900;
  color: var(--brand);
  letter-spacing: .02em;
}

.r-desc{
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}


.greet-title{
  margin: 50px 0 10px;
  font-size: 18px;
  font-weight: 900;
  color: var(--ink);
  letter-spacing: .03em;
}
/* スパム対策：隠し入力 */
.hp-field{
  position:absolute;
  left:-9999px;
}

.sns-links{
  display: flex;
  gap: 14px;
  align-items: center;
}

.sns{
  font-size: 22px;
  color: #333;
  transition: transform .2s ease, color .2s ease;
}

.sns:hover{
  transform: translateY(-2px);
}
#greeting{
  scroll-margin-top: 96px; /* ヘッダー78px + 余白 */
}
.renovation-btn{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 12px 18px;
}

.pill-main{
  font-weight: 900;
  font-size: 14px;
}

.pill-sub{
  font-size: 11px;
  color: var(--muted);
  font-weight: 500;
}
.service-pills{
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* ← 横3列 */
  gap: 12px;
  margin-top: 18px;
}

.renovation-btn{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 14px 10px;
  text-align: center;
}

.pill-main{
  font-weight: 900;
  font-size: 14px;
}

.pill-sub{
  font-size: 11px;
  color: var(--muted);
  line-height: 1.4;
}

/* スマホ対応 */
@media (max-width: 768px){
  .service-pills{
    grid-template-columns: repeat(2, 1fr); /* ← スマホは2列 */
  }
}
.pill{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
  font-size: 17px;
  padding: 14px 16px;
}

.pill span.sub{
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}
/* =========================
   SPメニュー（ハンバーガー）
========================= */
.hamburger{
  display:none; /* PCでは出さない */
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

@media (max-width: 980px){
  .hamburger{ display:grid; place-items:center; }
  .sns-links{ gap:10px; }
  .sns{ font-size: 20px; }
}

/* ドロワー：スマホのときに“見やすい”余白と文字 */
@media (max-width: 980px){
  .drawer{
    width: min(88vw, 340px);
    padding: 96px 18px 18px;
  }
  .drawer-link{
    font-size: 16px;
    padding: 14px 14px;
  }
}

/* =========================
   スマホ表示の全体見やすさ
========================= */
@media (max-width: 980px){
  .hero-inner{
    padding: 0 18px;
  }
  .hero-title{
    font-size: clamp(28px, 7vw, 40px);
    line-height: 1.2;
  }
  .hero-lead{
    font-size: 14px;
    line-height: 1.9;
  }

  .section{ padding: 64px 0; }  /* スマホは少し詰める */
  .greeting-text{ padding: 16px; }
  .card{ padding: 16px; }

  /* pill（サービスボタン）をタップしやすく */
  .service-pills{ gap: 10px; }
  .pill{ padding: 14px 14px; }
}
@media (max-width: 980px){
  .site-header{
    background: #fff;       /* ← 完全白 */
    backdrop-filter: none;  /* ← ぼかし無効（色ズレ防止） */
  }
}
html, body { overflow-x: hidden; }
/* SP（スマホ）全体：1カラム縦並びに統一 */
@media (max-width: 768px) {

  html, body {
    overflow-x: hidden; /* 横ズレ完全解消 */
  }

  /* HERO */
  .hero {
    display: block !important;
  }
  .hero-inner {
    padding: 0 18px !important;
  }
  .hero-media {
    margin-top: 24px;
  }

  /* greeting（R円も縦に） */
  .greeting {
    display: block !important;
    padding: 0 18px;
  }


  /* サービスカードも縦 */
  .cards {
    display: block !important;
  }
  .card {
    margin-bottom: 16px;
  }

  /* Works（施工実績）縦1列 */
  .works-grid {
    display: block !important;
  }
  .work {
    margin-bottom: 18px;
  }

  /* 表も縦に */
  .row {
    grid-template-columns: 1fr !important;
  }

  /* map 等 */
  .access {
    display: block !important;
  }

  /* フォーム */
  .form-grid {
    display: block !important;
  }
}
/* SP 横スクロール防止＋黄色線強制非表示 */
@media (max-width: 980px){
  .drawer {
    border-left: none;
  }
}
/* ✅SP：R丸を枠内で絶対ズレない配置（これをCSS最下部） */
/* =========================
   R円：スマホ最終調整（丸維持＋文字切れ防止）
========================= */
/* =========================
   R円：スマホ（安定版・1つ前のレイアウト）
========================= */

.sign{
  margin-top: 14px;
  font-weight: 900;
  color: var(--ink);
  line-height: 1.6;
}


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

/* SPだけ少し小さくして収まり良く */
@media (max-width: 480px){
  .sign{
    font-size: 16px;
  }
}
/* PCでは改行させない */
@media (min-width: 769px){
  .sign-name{
    white-space: nowrap;
  }
}

/* PCでは改行しない */
.sp-br{ display:none; }

/* スマホだけ改行する */
@media (max-width: 768px){
  .sp-br{ display:inline; }
}

/* 「る。」が単独で落ちるのを防ぐ（greeting内だけ） */
.greeting-text .nowrap{
  white-space: nowrap;
  display: inline;
}
@media (max-width: 768px){
  .greeting-text .greet-body{
    word-break: normal;
    overflow-wrap: break-word;
  }
}
/* =========================
   Rブロック：軽くデザイン（PC/共通）
========================= */
.r-circle-block{
  position: relative;
  overflow: hidden;
}

/* PC（横スクロール並び）を少し上品に */
.r-circles{
  padding: 10px 6px 14px;
}
.r-circle{
  position: relative;
}
.r-circle::after{
  content:"";
  position:absolute;
  inset: 10px;
  border-radius: inherit;
  border: 1px dashed rgba(44,95,45,.25); /* ステッチ風 */
  pointer-events:none;
}
.r-letter{
  box-shadow: 0 8px 16px rgba(44,95,45,.12);
}
.r-word{
  position: relative;
}
.r-word::after{
  content:"";
  display:block;
  width: 28px;
  height: 2px;
  margin: 6px auto 0;
  background: rgba(44,95,45,.25);
  border-radius: 999px;
}

/* =========================
   SP：ピルレイアウトを“カードっぽく”する
========================= */
@media (max-width: 768px){
  .r-circle{
    background: rgba(255,255,255,.96) !important;
    border-color: rgba(0,0,0,.08) !important;
    box-shadow: 0 10px 22px rgba(0,0,0,.07) !important;
  }

  /* 左のRを目立たせる */
  .r-letter{
    background: rgba(44,95,45,.12) !important;
  }

  /* 右文章を読みやすく */
  .r-desc{
    color: #4c5863 !important;
  }

  /* ホバーない環境でも“押せそう感” */
  .r-circle:active{
    transform: translateY(1px);
  }
}
/* =========================
   R：縦一列・中央揃え（安定版）
========================= */

.r-list{
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: center;
  margin-top: 24px;
}

.r-item{
  text-align: center;
  max-width: 320px;
}

/* Rの丸 */
.r-badge{
  width: 42px;
  height: 42px;
  margin: 0 auto 8px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(44,95,45,.12);
  color: var(--brand);
  font-weight: 900;
}

/* Rise / Roseate など */
.r-word{
  font-weight: 900;
  color: var(--brand);
  font-size: 16px;
  letter-spacing: .02em;
  margin-bottom: 6px;
}

/* 日本語説明 */
.r-desc{
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}
  .hamburger{
  color: var(--brand);  /* ←☰ の色 */

}
section{
  scroll-margin-top: 15px; /* ヘッダー78px + 余白 */
}
/* Rブロック：スマホだけ縦一列 */
@media (max-width: 768px){
  .r-circles{
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
    overflow: visible !important;
  }

  .r-circle{
    width: 100% !important;
    max-width: 360px;
    margin: 0 auto;
    border-radius: 16px !important; /* 丸じゃなくカード */
    height: auto !important;
    aspect-ratio: auto !important;
    padding: 16px !important;
    text-align: center;
  }
}
/* PCだけ：Rを横一列（丸） */
@media (min-width: 769px){
  .r-circle-block .r-list{
    display: flex;
    flex-direction: row;     /* ←これ追加（最重要） */
    gap: 18px;
    justify-content: center;
    align-items: stretch;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 10px 6px 14px;
    -webkit-overflow-scrolling: touch;
  }

  .r-circle-block .r-item{
    flex: 0 0 auto;
    width: 190px;
    height: 190px;
    border-radius: 50%;
    background: rgba(255,255,255,.92);
    border: 1px solid var(--line);
    box-shadow: 0 10px 24px rgba(0,0,0,.06);
    padding: 18px 16px;
    text-align: center;

    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .r-circle-block .r-desc{
    font-size: 12px;
    line-height: 1.45;
  }
}
/* デフォルトは全部非表示 */
.sp-br,
.pc-br{
  display: none;
}

/* スマホだけ改行 */
@media (max-width: 768px){
  .sp-br{ display: inline; }
}

/* PCだけ改行 */
@media (min-width: 769px){
  .pc-br{ display: block; }
}
/* PC */
@media (min-width: 769px){
  section{
    scroll-margin-top: 15px;
  }
}

/* スマホ */
@media (max-width: 768px){
  section{
    scroll-margin-top: 30px;
  }
}
/* renovation：SPだけ「上：文章 / 下：画像」 */
@media (max-width: 768px){
  .hero{
    display: grid !important;
    grid-template-columns: 1fr !important;
  }
  .hero-inner{
    order: 1 !important;
    padding: 0 18px !important;
  }
  .hero-media{
    order: 2 !important;
    width: 100% !important;
    margin-top: 18px !important;
  }
  .hero-media img{
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
}
/* リノベーションページ Hero */
.renovation-hero{
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 18px;
  align-items: stretch;
}

/* スマホだけ：上に文章、下に画像 */
@media (max-width: 768px){
  .renovation-hero{
    display: flex;
    flex-direction: column;
  }
  .renovation-hero-text{ order: 1; }
  .renovation-hero-media{
    order: 2;
    margin-top: 16px;
    min-height: 220px;
  }
}
@media (max-width: 768px){
  body.sub-page .renovation-hero{
    display: flex !important;
    flex-direction: column !important;
  }

  body.sub-page .renovation-hero-media{
    width: 100% !important;
    min-height: 240px !important;
    margin-top: 16px !important;
  }

  body.sub-page .renovation-hero-text{
    order: 1 !important;
  }
  body.sub-page .renovation-hero-media{
    order: 2 !important;
  }
}
.renovation-hero{
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 18px;
  align-items: stretch;
}

@media (max-width: 768px){
  .renovation-hero{
    display: flex;
    flex-direction: column;
  }
  .renovation-hero-media{
    margin-top: 16px;
    min-height: 240px;
  }
}

/* Reform page Hero（PCは横並び） */
.reform-hero{
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 18px;
  align-items: stretch;
}


/* スマホは写真を消す（今の指定でOKだけど強めに） */
@media (max-width: 768px){
  .reform-hero-media{ display:none !important; }
  .reform-hero{ grid-template-columns: 1fr; }
}

/* daiku page Hero（PCは横並び） */
.daiku-hero{
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 18px;
  align-items: stretch;
}

/* スマホは写真を消す（今の指定でOKだけど強めに） */
@media (max-width: 768px){
  .daiku-hero-media{ display:none !important; }
  .daiku-hero{ grid-template-columns: 1fr; }
}

/* tosou page Hero（PCは横並び） */
.tosou-hero{
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 18px;
  align-items: stretch;
}

/* スマホは写真を消す（今の指定でOKだけど強めに） */
@media (max-width: 768px){
  .tosou-hero-media{ display:none !important; }
  .tosou-hero{ grid-template-columns: 1fr; }
}

/* setubi page Hero（PCは横並び） */
.setubi-hero{
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 18px;
  align-items: stretch;
}

/* スマホは写真を消す（今の指定でOKだけど強めに） */
@media (max-width: 768px){
  .setubi-hero-media{ display:none !important; }
  .setubi-hero{ grid-template-columns: 1fr; }
}

/* kagu page Hero（PCは横並び） */
.kagu-hero{
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 18px;
  align-items: stretch;
}

/* スマホは写真を消す（今の指定でOKだけど強めに） */
@media (max-width: 768px){
  .kagu-hero-media{ display:none !important; }
  .kagu-hero{ grid-template-columns: 1fr; }
}
/* スマホだけ：リノベーションページの写真を非表示 */
@media (max-width: 768px){
  .renovation-hero-media{
    display: none;
  }
}
/* スマホだけ：リノベーションページの写真を非表示 */
@media (max-width: 768px){
  .reform-hero-media{
    display: none;
  }
}

/* スマホだけ：リノベーションページの写真を非表示 */
@media (max-width: 768px){
  .daiku-hero-media{
    display: none;
  }
}
/* スマホだけ：リノベーションページの写真を非表示 */
@media (max-width: 768px){
  .tosou-hero-media{
    display: none;
  }
}
/* スマホだけ：リノベーションページの写真を非表示 */
@media (max-width: 768px){
  .setubi-hero-media{
    display: none;
  }
}
/* スマホだけ：リノベーションページの写真を非表示 */
@media (max-width: 768px){
  .kagu-hero-media{
    display: none;
  }
}

/* test 強制修正：PCでは必ず横並び */
@media (min-width: 769px){
  .reform-hero{
    display: grid !important;
    grid-template-columns: 1.1fr .9fr !important;
  }
}
/* =========================
   Works detail slider（写真は切らない版）
========================= */
.work-slider{
  margin-top: 16px;
  overflow: hidden;          /* ←スライドの外は隠す */
  padding-bottom: 18px;      /* ←ドット分の余白 */
}

.work-slider-track{
  display: flex;
  transition: transform .45s ease;
  will-change: transform;
  align-items: flex-start;   /* ←高さ揃えによる余白を防ぐ */
}

.work-slide{
  flex: 0 0 100%;
  padding: 0;
  margin: 0;
  background: transparent;   /* ←白い枠の元を消す */
}

.work-slide img{
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  height: auto;              /* ←写真サイズに任せる */
  display: block;
  object-fit: contain;       /* ←念のため（効かない環境でも安全） */

  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: transparent;   /* ←画像下の白を消す */
}

/* ドット */
.work-dots{
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.work-dots button{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 0;
  background: rgba(0,0,0,.20);
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}

.work-dots button.active{
  background: rgba(44,95,45,.9);
  transform: scale(1.2);
}