:root{
  --bg:#f4efe9;
  --card:#fffdf9;
  --text:#3b2f2a;
  --muted:#7a6a60;
  --line:#e3d8cd;
  --accent:#8b5e3c;
  --max: 980px;
}

*{ box-sizing:border-box; }

html{
  scroll-behavior:smooth;
  overflow-y: scroll; /* ← スクロールバー常時確保（右ズレ防止） */
}

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
}

body{
  margin:0;
  font-family:
    "Noto Sans JP",
    "Hiragino Kaku Gothic ProN",
    system-ui,
    sans-serif;
  color:var(--text);
  background:var(--bg);
  letter-spacing:0.02em;
}

a{ color:inherit; }

.wrap{
  width:100%;
  max-width:var(--max);
  margin-left:auto;
  margin-right:auto;
  padding:22px 16px;
}

/* ===== Header ===== */
header{
  background:#faf6f1;
  border-bottom:1px solid var(--line);
}

.brand{
  display:flex;
  align-items:baseline;
  gap:12px;
  flex-wrap:wrap;
}

.brand h1{
  font-size:23px;
  margin:0;
  font-weight:600;
}

.brand .tag{
  color:var(--muted);
  font-size:14px;
  line-height:1.4;
}

/* ===== Nav ===== */
nav{
  margin-top:14px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

nav a{
  text-decoration:none;
  padding:9px 16px;
  border-radius:999px;
  font-size:14px;
  white-space:nowrap;
}

nav a.is-active{
  background:#efe6dc;
}

/* ===== Hero ===== */
.hero{
  padding:30px 0 14px;
}

.hero-sub{
  margin:0 0 8px;
  font-size:14px;
  color:var(--muted);
  letter-spacing:0.06em;
}

.hero h2{
  margin:0 0 12px;
  font-size:32px;
  font-weight:600;
  letter-spacing:0.04em;
}

/* ===== Sections ===== */
.section{
  margin:22px 0;
}

.card{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:18px;
  padding:22px;
  box-shadow:0 4px 16px rgba(0,0,0,.04);
}

.h{
  font-weight:600;
  margin:0 0 14px;
  font-size:18px;
}

.small{
  font-size:14px;
  color:var(--muted);
  line-height:1.9;
}

/* ===== Concept ===== */
.note{
  background:#fbf6ef;
  border:1px solid #eadfce;
}

.concept p{
  margin:0 0 12px;
}

.concept p:last-child{
  margin-bottom:0;
}

.concept-lead{
  font-weight:600;
  color:var(--text);
}

.accent{
  color:var(--accent);
  font-weight:600;
}

/* ===== Images ===== */
.pickup-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:16px;
}

.pickup-grid img{
  display:block;
  width:92%;
  margin:0 auto;
  border-radius:14px;
  border:1px solid var(--line);
  background:#fff;
}

/* ===== FAQ ===== */
details{
  border-top:1px dashed var(--line);
  padding-top:14px;
  margin-top:14px;
}

summary{
  cursor:pointer;
  font-weight:600;
  font-size:15px;
}

/* ===== Table ===== */
table{
  width:100%;
  border-collapse:collapse;
}

th,td{
  padding:14px 12px;
  border-bottom:1px solid var(--line);
  text-align:left;
  font-size:14px;
}

th{
  width:34%;
  color:var(--muted);
  font-weight:600;
}

/* ===== To Top ===== */
.to-top{
  position:fixed;
  right:16px;
  bottom:16px;

  width:44px;
  height:44px;
  border-radius:999px;

  display:inline-flex;
  align-items:center;
  justify-content:center;

  border:1px solid var(--line);
  background:rgba(250,246,241,.92);
  backdrop-filter:blur(6px);

  color:var(--accent);
  text-decoration:none;

  box-shadow:
    0 10px 24px rgba(0,0,0,.10),
    inset 0 1px 0 rgba(255,255,255,.55);

  transition:transform .12s ease, background .12s ease;
  z-index:100;
}

.to-top__icon{
  width:22px;
  height:22px;
}

.to-top:hover{
  background:#efe6dc;
  transform:translateY(-2px);
}

@media (max-width:420px){
  .to-top{
    width:40px;
    height:40px;
    right:12px;
    bottom:12px;
  }
  .to-top__icon{
    width:20px;
    height:20px;
  }
}
