@import url("https://fonts.googleapis.com/css2?family=BIZ+UDGothic:wght@400;700&family=Noto+Sans+JP:wght@400;500;700;900&family=Shippori+Mincho:wght@600;700;800&display=swap");

:root {
  --navy: #071d3b;
  --navy2: #102f5a;
  --red: #c51620;
  --gold: #ffe65a;
  --green: #00b84a;
  --cream: #fff8e8;
  --sky: #e9f5ff;
  --ink: #142039;
  --line: #c9d4e3;
  --paper: #f7fbff;
  --white: #fff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #eef4fa;
  font-family: "Noto Sans JP", "BIZ UDGothic", sans-serif;
  line-height: 1.68;
}

h1, h2, h3, p { overflow-wrap: anywhere; }
h1, h2 { font-family: "Shippori Mincho", serif; line-height: 1.15; letter-spacing: 0; }
h1 { max-width: 760px; margin: 0; color: var(--white); font-size: clamp(42px, 6vw, 76px); }
h1 strong { display: inline-block; color: var(--gold); font-size: 1.55em; line-height: .9; }
h2 { margin: 0 0 14px; color: var(--navy); font-size: clamp(23px, 3vw, 32px); text-align: center; }
h3 { margin: 0; font-size: 22px; }
p { margin: 0 0 12px; }
a { color: inherit; text-decoration: none; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  min-height: 520px;
  background:
    linear-gradient(105deg, rgba(7, 29, 59, 0.98) 0%, rgba(7, 29, 59, 0.94) 45%, rgba(7, 29, 59, 0.12) 82%),
    url("assets/hero-painter.png");
  background-position: center;
  background-size: cover;
  border-bottom: 8px solid var(--navy);
}

.hero-copy { display: grid; align-content: center; padding: clamp(28px, 5vw, 58px); }
.ribbon {
  display: inline-block;
  margin: 0 0 18px;
  width: fit-content;
  padding: 8px 22px;
  color: var(--white);
  background: var(--red);
  font-family: "BIZ UDGothic", sans-serif;
  font-weight: 900;
  transform: skew(-10deg);
}
.hero h1 { text-shadow: 0 5px 14px rgba(0,0,0,.28); }
.hero h1 .accent, .hero h1 strong { color: var(--gold); }
.hero-lead {
  max-width: 760px;
  color: var(--white);
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 700;
}
.hero-lead strong { color: var(--gold); font-size: 1.18em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.line-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 900;
  box-shadow: 0 14px 26px rgba(0, 184, 74, .22);
}
.line-button { color: var(--white); background: var(--green); }

.hero-side {
  display: grid;
  align-content: center;
  gap: 24px;
  padding: clamp(28px, 5vw, 58px);
  color: var(--white);
}
.hero-side p { margin: 0; font-family: "BIZ UDGothic", sans-serif; font-size: 24px; font-weight: 700; text-shadow: 0 3px 12px rgba(0,0,0,.35); }
.badges { display: flex; flex-wrap: wrap; gap: 10px; }
.badges span {
  display: grid;
  width: 82px;
  height: 82px;
  place-items: center;
  color: var(--navy);
  background: #fff1a7;
  border-radius: 50%;
  font-weight: 900;
  text-align: center;
}
.shop-name { padding: 18px 20px; background: rgba(7,29,59,.78); border: 1px solid rgba(255,255,255,.18); border-radius: 8px; }
.shop-name span { display: block; color: #fff1a7; font-weight: 900; }
.shop-name strong { display: block; font-family: "Shippori Mincho", serif; font-size: 50px; line-height: 1.1; }
.shop-name small { color: rgba(255,255,255,.8); }

.bar {
  padding: 10px 18px;
  color: var(--white);
  background: var(--navy);
  font-family: "Shippori Mincho", serif;
  font-size: clamp(24px, 3.4vw, 34px);
  font-weight: 900;
  text-align: center;
}

.section { max-width: 1220px; margin: 0 auto; padding: 10px 18px; }
.grid-three { display: grid; grid-template-columns: .88fr 1.06fr 1.06fr; gap: 14px; }
.explain-card, .split > div, .price, .faq-flow > div, .voice-card, .case-card {
  background: var(--white);
  border: 2px solid #b9c7d8;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(7,29,59,.06);
}
.explain-card { overflow: hidden; padding: 18px; }
.explain-card h2 { color: var(--red); font-size: 25px; }
.explain-card p { font-family: "BIZ UDGothic", sans-serif; font-weight: 400; }
.explain-card strong { display: block; color: var(--red); font-family: "BIZ UDGothic", sans-serif; text-align: center; }
.compact-card { display: grid; align-content: center; }
.visual-card { display: grid; gap: 16px; padding: 0; }
.visual-card h2, .visual-card p, .visual-card strong { margin-left: 18px; margin-right: 18px; }
.visual-card strong { margin-bottom: 18px; }
.visual-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.flow-icons { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 18px 0; font-weight: 900; }
.flow-icons span { padding: 8px; background: #eef4fb; border-radius: 8px; }

.split, .faq-flow { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.split > div, .faq-flow > div { padding: 24px; }
.illustrated-panel { display: grid; grid-template-columns: 190px 1fr; gap: 14px; align-items: center; }
.illustrated-panel h2 { grid-column: 1 / -1; order: -1; }
.illustrated-panel img { width: 100%; border-radius: 8px; aspect-ratio: 4 / 3; object-fit: cover; object-position: center; }
.worry-panel { background: linear-gradient(180deg, #fff, var(--cream)); }
.risk-panel { background: linear-gradient(180deg, #fff, var(--sky)); }
.check-list { display: grid; grid-template-columns: 1fr; gap: 8px; padding: 0; list-style: none; }
.check-list li { min-height: 0; padding: 8px 10px; background: #f6f9fc; border-radius: 8px; font-weight: 700; line-height: 1.38; }
.check-list li::before { content: "✓"; margin-right: 8px; color: var(--red); font-weight: 900; }
.risk-photo { width: 100%; margin-bottom: 10px; border-radius: 8px; aspect-ratio: 16 / 5; object-fit: cover; }
.risk-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; }
.risk-grid span { display: grid; min-height: 72px; place-items: center; padding: 8px; background: linear-gradient(180deg, #fff18c, #f3cf3c); border-radius: 6px; font-weight: 900; text-align: center; line-height: 1.35; }
.note { color: var(--red); font-weight: 900; text-align: center; }

.promise { display: grid; grid-template-columns: minmax(240px,.7fr) 1.3fr; gap: 18px; align-items: center; }
.owner-card { overflow: hidden; border-radius: 8px; }
.owner-card img { width: 100%; height: 300px; object-fit: cover; object-position: right center; }
.owner-message { color: #34425a; font-size: 20px; font-weight: 700; text-align: center; }
.promise-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-top: 20px; }
.promise-item { padding: 18px; background: var(--white); border: 1px solid var(--line); border-radius: 8px; text-align: center; }
.promise-item strong { display: block; color: var(--navy); font-size: 21px; }
.promise-item p { margin: 8px 0 0; font-size: 15px; line-height: 1.55; }

.section-head { display: flex; gap: 14px; align-items: baseline; }
.section-head h2 { text-align: left; }
.case-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; }
.case-card { overflow: hidden; }
.case-images { display: grid; grid-template-columns: 1fr 1fr; }
.case-images figure { position: relative; margin: 0; min-height: 200px; overflow: hidden; }
.case-images img { width: 100%; height: 100%; object-fit: cover; }
.case-images span { position: absolute; top: 8px; left: 8px; padding: 4px 8px; color: var(--white); background: rgba(7,29,59,.84); border-radius: 4px; font-weight: 900; }
.case-body { padding: 18px; }
.case-body small { color: var(--red); font-weight: 900; }
.case-body p { margin-bottom: 0; }

.voices { background: #f4f8fc; border-radius: 8px; }
.voice-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.voice-card { padding: 18px; }
.voice-card p { margin: 8px 0; }
.stars { color: #ffb000; letter-spacing: 2px; }

.price { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 24px; }
.price strong { display: block; color: var(--navy); font-size: clamp(42px, 7vw, 70px); line-height: 1.1; }
.price p, .price li, .faq-item p, .closing { font-family: "BIZ UDGothic", sans-serif; }

.faq-list { display: grid; gap: 8px; }
.faq-item { padding: 12px; border-bottom: 1px solid var(--line); }
.faq-item strong { color: var(--navy); }
.faq-item p { margin: 4px 0 0; }
.steps { display: grid; grid-template-columns: repeat(5,1fr); gap: 8px; }
.steps span { display: grid; min-height: 92px; place-items: center; padding: 8px; background: #eef4fb; border-radius: 8px; font-weight: 900; text-align: center; }
.closing { color: var(--navy); font-size: 20px; font-weight: 900; text-align: center; }

.bottom-cta {
  position: sticky;
  bottom: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 12px clamp(18px, 5vw, 64px);
  color: var(--white);
  background: linear-gradient(90deg, #00a843, #00c85a);
  box-shadow: 0 -12px 28px rgba(0,0,0,.18);
}
.bottom-cta h2 { margin: 0; color: var(--white); text-align: left; font-size: clamp(26px, 4vw, 40px); }
.bottom-cta p { margin: 4px 0 0; font-weight: 800; }
.line-mark { display: grid; width: 78px; height: 78px; place-items: center; color: var(--green); background: var(--white); border-radius: 50%; font-size: 24px; font-weight: 900; }
.bottom-cta .line-button { color: #128438; background: #ffe84f; }

@media (max-width: 900px) {
  .hero, .grid-three, .split, .promise, .case-grid, .price, .faq-flow, .bottom-cta { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-side { padding-top: 0; }
  .check-list, .risk-grid, .promise-grid, .voice-grid, .steps { grid-template-columns: 1fr; }
  .bottom-cta { position: static; }
  .line-mark { width: 70px; height: 70px; }
}

@media (max-width: 520px) {
  .hero-copy, .hero-side { padding: 24px 18px; }
  .shop-name strong { font-size: 40px; }
  .badges span { width: 74px; height: 74px; font-size: 14px; }
  .line-button { width: 100%; }
  .bottom-cta { gap: 12px; }
}
