:root{
  --max: 1080px;
  --pad: 20px;
  --radius: 18px;

  --text: #1a1a1a;
  --muted: rgba(0,0,0,.68);
  --border: #eeeeee;

  --builder: #2f2b26;
  --owner: #2d6a4f;
  --line: #06C755;

  --altbg: #f7f7f7;
  --shadow: 0 10px 30px rgba(0,0,0,.06);
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family: system-ui, -apple-system, "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  line-height:1.85;
  color:var(--text);
  background:#fff;
}
a{ color:inherit; }
img{ max-width:100%; height:auto; display:block; }

.container{
  max-width:var(--max);
  margin:0 auto;
  padding:0 var(--pad);
}

/* =========================
  Header
========================= */
.site-header{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--border);
}
.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:12px 0;
}

/* Logo */
.logo{
  display:flex;
  align-items:baseline;
  gap:8px;
  text-decoration:none;
  font-weight:900;
  letter-spacing:.02em;
}
.logo__mark{
  font-size:16px;
}
.logo__sub{
  font-size:12px;
  color:var(--muted);
}

/* Buttons */
.btns{ display:flex; gap:10px; flex-wrap:wrap; }
.btns--stack{
  margin-top:12px;
  flex-direction:column;
  align-items:stretch;
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 14px;
  border-radius:999px;
  border:1px solid #ddd;
  text-decoration:none;
  font-weight:900;
  font-size:14px;
  cursor:pointer;
  transition: transform .12s ease, filter .12s ease, box-shadow .12s ease;
  box-shadow: 0 0 0 rgba(0,0,0,0);
}
.btn:hover{
  transform: translateY(-1px);
  filter: brightness(.98);
  box-shadow: 0 10px 22px rgba(0,0,0,.08);
}
.btn:active{
  transform: translateY(0px);
  box-shadow: 0 6px 16px rgba(0,0,0,.08);
}
.btn--builder{ background:var(--builder); color:#fff; border-color:var(--builder); }
.btn--owner{ background:var(--owner); color:#fff; border-color:var(--owner); }
.btn--line{ background:var(--line); color:#fff; border-color:var(--line); }

/* =========================
  Sections / Typography
========================= */
.section{ padding:60px 0; }
.section--alt{
  background:var(--altbg);
  border-top:1px solid var(--border);
  border-bottom:1px solid var(--border);
}
.anchor{ scroll-margin-top:90px; }

.card{
  background:#fff;
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:20px;
  box-shadow: var(--shadow);
}

.kicker{
  font-size:12px;
  letter-spacing:.14em;
  text-transform:uppercase;
  opacity:.75;
}
h1{
  font-size:clamp(28px,4vw,44px);
  line-height:1.2;
  margin:8px 0 12px;
}
h2{
  font-size:clamp(22px,3vw,30px);
  line-height:1.3;
  margin:0 0 14px;
}
h3{
  font-size:18px;
  margin:20px 0 10px;
}
.lead{
  font-size:16px;
  opacity:.92;
}
.note{
  font-size:13px;
  color:var(--muted);
}
.mt{ margin-top:14px; }

.pill{
  display:inline-block;
  padding:4px 10px;
  border:1px solid #ddd;
  border-radius:999px;
  font-size:12px;
  margin-right:8px;
  background:rgba(255,255,255,.6);
}

/* Lists */
.list{ margin:0; padding-left:18px; }
.list li{ margin: 4px 0; }

/* =========================
  Layout helpers
========================= */
.split{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
}
@media (max-width: 920px){
  .split{ grid-template-columns:1fr; }
  .btns{ justify-content:flex-start; }
}

/* =========================
  Hero
========================= */
.hero{ padding:28px 0 60px; }
.hero-grid{
  display:grid;
  gap:18px;
  grid-template-columns:1.1fr .9fr;
  align-items:center;
}
@media (max-width: 920px){
  .hero-grid{ grid-template-columns:1fr; }
}

.slider-wrap{
  border-radius:var(--radius);
  overflow:hidden;
  border:1px solid var(--border);
  box-shadow: var(--shadow);
}

/* Swiper images */
.exlp-swiper img{
  width:100%;
  height:440px;
  object-fit:cover;
}
@media (max-width: 920px){
  .exlp-swiper img{ height:280px; }
}

/* Swiper UI */
.swiper-button-prev,
.swiper-button-next{
  color:#fff;
  text-shadow:0 2px 16px rgba(0,0,0,.35);
}
.swiper-pagination-bullet{ opacity:.55; }
.swiper-pagination-bullet-active{ opacity:1; }

/* Hero card spacing */
.hero-card .note{ margin-top:10px; }

/* =========================
  Gallery
========================= */
.gallery{
  display:grid;
  grid-template-columns:repeat(5, 1fr);
  gap:10px;
}
@media (max-width: 920px){
  .gallery{ grid-template-columns:repeat(2, 1fr); }
}
.ph{
  background:#f5f5f5;
  border:1px dashed #ddd;
  border-radius:16px;
  aspect-ratio: 1/1;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:12px;
  color:#666;
}

/* =========================
  FAQ
========================= */
details{
  border:1px solid var(--border);
  border-radius:16px;
  padding:14px 16px;
  background:#fff;
  box-shadow: var(--shadow);
}
details + details{ margin-top:10px; }
summary{
  cursor:pointer;
  font-weight:900;
}
details p{
  margin:10px 0 0;
  color: var(--muted);
}

/* =========================
  CTA Final
========================= */
.cta-final{
  background:var(--altbg);
  border-top:1px solid var(--border);
}

/* =========================
  CF7 Styling（重要）
========================= */
.cf7-wrap{ margin-top:14px; }
.wpcf7 form{ margin:0; }
.wpcf7 p{ margin:0 0 10px; }

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea,
.wpcf7 select{
  width:100%;
  padding:12px 12px;
  border:1px solid #ddd;
  border-radius:14px;
  font:inherit;
  background:#fff;
  transition: border-color .12s ease, box-shadow .12s ease;
}
.wpcf7 input:focus,
.wpcf7 textarea:focus,
.wpcf7 select:focus{
  outline:none;
  border-color:#bbb;
  box-shadow: 0 0 0 4px rgba(0,0,0,.06);
}

.wpcf7 textarea{
  min-height:130px;
  resize:vertical;
}

.wpcf7 .wpcf7-submit{
  width:100%;
  padding:12px 14px;
  border-radius:999px;
  border:0;
  font-weight:900;
  cursor:pointer;
  transition: transform .12s ease, filter .12s ease, box-shadow .12s ease;
}
.wpcf7 .wpcf7-submit:hover{
  transform: translateY(-1px);
  filter: brightness(.98);
  box-shadow: 0 10px 22px rgba(0,0,0,.10);
}

/* フォーム別：ボタン色（建築会社/施主） */
#cta-builder .wpcf7 .wpcf7-submit{ background:var(--builder); color:#fff; }
#cta-owner   .wpcf7 .wpcf7-submit{ background:var(--owner); color:#fff; }

.wpcf7 .wpcf7-not-valid-tip{
  font-size:12px;
  margin-top:6px;
}
.wpcf7 form .wpcf7-response-output{
  margin:12px 0 0;
  border-radius:14px;
  padding:12px;
  font-size:13px;
}

/* Acceptance */
.wpcf7-acceptance .wpcf7-list-item{
  margin: 0;
}
.wpcf7-acceptance label{
  display:flex;
  align-items:flex-start;
  gap:10px;
  font-size:13px;
  color: var(--muted);
}
.wpcf7-acceptance input{
  margin-top: 4px;
}

/* =========================
  Footer
========================= */
.site-footer{
  padding:40px 0;
  border-top:1px solid var(--border);
  background:#fff;
}
.footer-grid{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
}
@media (max-width: 920px){
  .footer-grid{ flex-direction:column; }
}
.footer-title{
  font-weight:900;
  margin-bottom:6px;
}
.footer-links{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
}
.footer-links a{
  text-decoration:none;
  border-bottom:1px solid rgba(0,0,0,.16);
  padding-bottom:2px;
}
.footer-bottom{ padding-top:14px; }

/* =========================
  Small tweaks
========================= */
@media (max-width: 420px){
  .btn{ width:100%; }
  .nav{ align-items:flex-start; }
}