/* ===== Base ===== */
:root{
  --ink:#2c2c2c;
  --muted:#6a6a6a;
  --brown:#38B078;
  --brown-2:#2E8D63;
  --paper:#f7fbf9;
  --paper-2:#eef7f2;
  --accent:#38B078;
  --accent2:#98C850;
  --card:#ffffff;
  --shadow: 0 14px 40px rgba(0,0,0,.08);
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  font-family:"Noto Sans JP", system-ui, -apple-system, "Segoe UI", sans-serif;
  color:var(--ink);
  line-height:1.8;
  background:linear-gradient(180deg, var(--paper) 0%, #fff 30%);
}
h1,h2,h3{
  font-family:"Noto Serif JP", serif;
  color:var(--brown);
  line-height:1.35;
  margin:0 0 10px;
}
p{margin:0 0 12px;}
a{color:inherit;}
.container{width:min(1100px, 92%); margin:0 auto;}
.center{text-align:center;}
.small{font-size:.92rem;}

/* ===== Header ===== */
.header{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(107,79,63,.96);
  backdrop-filter:saturate(160%) blur(6px);
  color:#fff;
  border-bottom:1px solid rgba(255,255,255,.12);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:10px 0;
}
.brand{
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
  min-width:0;
}
.brand-mark{
  width:34px;height:34px;
  object-fit:contain;
  display:block;
  flex:0 0 auto;
}
.brand-text{min-width:0;}
.brand-title{
  font-weight:700;
  letter-spacing:.02em;
  font-size:1.05rem;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.brand-sub{
  font-size:.82rem;
  opacity:.9;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.header-actions{display:flex; gap:10px; flex-wrap:wrap; justify-content:flex-end;}

/* ===== Buttons ===== */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.4em;
  padding:12px 16px;
  border-radius:10px;
  text-decoration:none;
  font-weight:700;
  border:1px solid transparent;
  box-shadow:none;
  transition:transform .06s ease, filter .15s ease;
  line-height:1.2;
}
.btn:hover{filter:brightness(1.02);}
.btn:active{transform:translateY(1px);}
.btn-primary{background:var(--accent); color:#fff;}
.btn-secondary{background:var(--accent2); color:#fff;}
.btn-ghost{
  background:transparent;
  border-color:rgba(255,255,255,.35);
  color:#fff;
}
.btn-block{width:100%;}

/* ===== Hero ===== */
.hero{
  padding:56px 0 32px;
  background:
    radial-gradient(1000px 380px at 20% 10%, rgba(230,126,34,.22), transparent 60%),
    radial-gradient(900px 360px at 85% 10%, rgba(192,57,43,.18), transparent 60%),
    linear-gradient(180deg, var(--paper-2), #fff);
}
.hero-inner{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:22px;
  align-items:start;
}
.hero-copy p{color:var(--muted);}
.hero-cta{display:flex; gap:12px; flex-wrap:wrap; margin:18px 0 12px;}
.hero-badges{
  list-style:none; padding:0; margin:12px 0 0;
  display:grid; gap:6px;
}
.hero-badges li{color:#3b3b3b;}
.hero-note{
  margin-top:12px;
  font-size:.92rem;
  color:var(--muted);
}
.hero-card{
  background:rgba(255,255,255,.92);
  border:1px solid rgba(107,79,63,.18);
  border-radius:16px;
  box-shadow:var(--shadow);
  padding:18px 18px 16px;
}
.hero-card-title{
  font-weight:800;
  color:var(--brown);
  margin-bottom:10px;
}
.hero-card .strong{font-weight:800; color:#2f2f2f;}
.hero-card .muted{color:var(--muted);}

/* ===== Sections ===== */
.section{padding:58px 0;}
.section-soft{background:linear-gradient(180deg, var(--paper-2), #fff);}
.section-title{text-align:center; margin-bottom:8px;}
.section-lead{text-align:center; color:var(--muted); margin-bottom:24px;}
.note{color:var(--muted); font-size:.95rem;}
.inline-link{color:var(--accent); font-weight:700;}

/* ===== Cards ===== */
.grid{display:grid; gap:16px;}
.cards{grid-template-columns:repeat(3, 1fr);}
.card{
  background:var(--card);
  border:1px solid rgba(107,79,63,.14);
  border-radius:16px;
  padding:18px 18px 16px;
  box-shadow:0 10px 28px rgba(0,0,0,.06);
}
.card h3{margin-bottom:8px;}
.card p{color:var(--muted);}
.card-link{
  display:inline-block;
  margin-top:10px;
  color:var(--accent);
  font-weight:800;
  text-decoration:none;
}
.card-link:hover{text-decoration:underline;}

/* ===== Two col panels ===== */
.two-col{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
  margin-top:10px;
}
.panel{
  background:#fff;
  border-radius:16px;
  border:1px solid rgba(107,79,63,.14);
  padding:18px;
  box-shadow:0 10px 28px rgba(0,0,0,.06);
}
.panel ul{margin:10px 0 0; padding-left:1.2em;}
.panel li{margin:6px 0; color:#3d3d3d;}

/* ===== Steps ===== */
.steps{display:grid; gap:12px; margin-top:10px;}
.step{
  display:grid;
  grid-template-columns:44px 1fr;
  gap:14px;
  align-items:start;
  background:#fff;
  border-radius:16px;
  border:1px solid rgba(107,79,63,.14);
  padding:16px;
  box-shadow:0 10px 28px rgba(0,0,0,.06);
}
.step-num{
  width:44px; height:44px;
  border-radius:14px;
  background:rgba(107,79,63,.12);
  display:flex; align-items:center; justify-content:center;
  font-weight:900; color:var(--brown);
}
.step p{color:var(--muted); margin:4px 0 0;}

/* ===== Form ===== */
.form-wrap{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:16px;
  align-items:start;
}
.form{
  background:#fff;
  border-radius:18px;
  border:1px solid rgba(107,79,63,.14);
  padding:18px;
  box-shadow:var(--shadow);
}
.field{margin-bottom:14px;}
label{display:block; font-weight:800; color:#3a2a22; margin-bottom:6px;}
.req{font-size:.82rem; color:#fff; background:var(--accent); padding:2px 8px; border-radius:999px; margin-left:6px;}
input, select, textarea{
  width:100%;
  padding:12px 12px;
  border-radius:12px;
  border:1px solid rgba(0,0,0,.12);
  font:inherit;
  outline:none;
  background:#fff;
}
input:focus, select:focus, textarea:focus{
  border-color:rgba(192,57,43,.5);
  box-shadow:0 0 0 3px rgba(192,57,43,.12);
}
.checkbox label{font-weight:600; color:var(--muted);}
.checkbox input{width:auto; margin-right:8px;}
.muted{color:var(--muted);}
.btn + .muted{margin-top:10px;}

.contact-side{display:grid; gap:12px;}
.side-card{
  background:#fff;
  border-radius:18px;
  border:1px solid rgba(107,79,63,.14);
  padding:18px;
  box-shadow:0 10px 28px rgba(0,0,0,.06);
}
.side-card h3{margin-bottom:6px;}
.side-card p{color:var(--muted);}

/* ===== Footer ===== */
.footer{
  background:#2c2c2c;
  color:#fff;
  padding:28px 0 20px;
}
.footer-inner{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
}
.footer-title{font-weight:900;}
.footer-sub{opacity:.9; font-size:.95rem; margin-bottom:8px;}
.footer-links{display:flex; gap:14px; flex-wrap:wrap;}
.footer-links a{color:#fff; text-decoration:none; opacity:.92;}
.footer-links a:hover{text-decoration:underline;}
.copyright{
  margin:12px 0 0;
  font-size:.86rem;
  opacity:.8;
}

/* ===== Responsive ===== */
@media (max-width: 980px){
  .hero-inner{grid-template-columns:1fr;}
  .cards{grid-template-columns:1fr;}
  .two-col{grid-template-columns:1fr;}
  .form-wrap{grid-template-columns:1fr;}
}
@media (max-width: 520px){
  .header-actions .btn{padding:10px 12px; border-radius:12px;}
  .brand-title{font-size:1rem;}
  .brand-sub{font-size:.78rem;}
}


/* ===== Multi-page: FAQ ===== */
.faq{display:grid; gap:10px;}
.faq-item{
  background:#fff;
  border-radius:16px;
  border:1px solid rgba(107,79,63,.14);
  padding:12px 14px;
  box-shadow:0 10px 28px rgba(0,0,0,.06);
}
.faq-item summary{
  cursor:pointer;
  font-weight:900;
  color:#3a2a22;
  list-style:none;
}
.faq-item summary::-webkit-details-marker{display:none;}
.faq-body{margin-top:10px; color:var(--muted);}


/* ===== Hero with Image ===== */
.hero-inner{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:28px;
  align-items:center;
}
.hero-media{
  border-radius:18px;
  overflow:hidden;
  box-shadow: var(--shadow);
}
.hero-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  max-height:420px;
}
@media (max-width: 920px){
  .hero-inner{grid-template-columns:1fr;}
  .hero-media img{max-height:360px;}
}

/* ===== Image Section ===== */
.image-section{
  margin: 30px 0;
}
.image-section img{
  width:100%;
  display:block;
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.image-section .container{
  padding:0 18px;
}


/* ===== Footer v2 ===== */
.footer { margin-top: 64px; background: #0f1a14; color: #e9f1ec; }
.footer a { color: #e9f1ec; text-decoration: underline; text-underline-offset: 3px; }
.footer .container { width: min(1100px, 92%); margin: 0 auto; padding: 28px 0; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 20px; }
.footer-brand { font-weight: 700; letter-spacing: .02em; margin-bottom: 8px; }
.footer-title { font-weight: 700; margin-bottom: 6px; }
.footer .muted { color: rgba(233,241,236,.78); }
.footer-bottom { margin-top: 18px; padding-top: 14px; border-top: 1px solid rgba(233,241,236,.16); text-align: center; color: rgba(233,241,236,.78); }
@media (max-width: 860px){
  .footer-grid { grid-template-columns: 1fr; }
}

/* Header mobile fix */
@media (max-width: 560px){
  .header{ padding: 10px 0; }
  .header-inner{ gap: 10px; }
  .brand-title{ font-size: 13px; line-height: 1.25; white-space: normal; text-align: left; }
  .brand-text{ white-space: normal; overflow: visible; text-overflow: clip; max-width: none; }
  .brand-sub{ font-size: 11px; }
  .nav{ display:none; } /* keep simple on mobile */
  .header-actions{ gap: 8px; }
  .btn-header{ padding: 8px 10px; font-size: 12px; }
}

/* Hero v2 (photo top-right + card) */
.hero-grid--v2{ align-items: start; gap: 22px; }
.hero-right{ display: grid; gap: 14px; }
.hero-photo{ position: relative; border-radius: 18px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,.10); }
.hero-photo img{ width: 100%; height: 320px; object-fit: cover; display:block; }
.hero-photo-caption{ position:absolute; inset: auto 0 0 0; padding: 14px 16px; background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.55) 100%); color:#fff; }
.hero-photo-caption .kicker{ font-size: 12px; opacity:.92; margin-bottom: 4px; }
.hero-photo-caption h3{ margin:0; font-size: 20px; line-height: 1.25; color:#fff; font-family: "Noto Serif JP", serif; }
@media (max-width: 860px){ .hero-photo img{ height: 260px; } }
@media (max-width: 560px){
  .hero-grid--v2{ grid-template-columns: 1fr; }
  .hero-photo img{ height: 220px; }
  .hero-photo-caption h3{ font-size: 18px; }
}

/* Split section */
.section-soft{ background: #f2f8f4; }
.split{ display:grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items:center; }
.split-media img{ width:100%; border-radius: 18px; display:block; box-shadow: 0 10px 30px rgba(0,0,0,.10); }
.lead-center{ text-align:center; font-size: 16px; line-height:1.9; }
.lead-strong{ font-weight: 600; }
.split-body h3{ text-align:center; margin: 0 0 10px; }
.split-cta{ display:flex; gap: 10px; justify-content:center; flex-wrap:wrap; margin-top: 14px; }
@media (max-width: 860px){ .split{ grid-template-columns:1fr; } }

/* Contact v2 */
.contact-grid--v2{ grid-template-columns: 1fr; }
.contact-main--center{ max-width: 760px; margin: 0 auto; }
.contact-side{ max-width: 760px; margin: 12px auto 0; }
.contact-urgent{ width:100%; }

/* FAQ image hero */
.hero-image .hero-image-wrap{ position:relative; border-radius: 18px; overflow:hidden; box-shadow: 0 10px 30px rgba(0,0,0,.10); }
.hero-image .hero-image-wrap img{ width:100%; height: 320px; object-fit:cover; display:block; margin:0 auto; }
.hero-image-text{ position:absolute; inset:0; display:flex; flex-direction:column; justify-content:center; align-items:center; padding: 22px; text-align:center; background: rgba(0,0,0,.28); color:#fff; }
.hero-image-text h1{ margin:0 0 8px; color:#fff; }
.hero-image-text p{ margin:0; max-width: 44ch; color: rgba(255,255,255,.92); }
@media (max-width:560px){ .hero-image .hero-image-wrap img{ height: 220px; } }
