:root {
  --bg: #ffffff;
  --text: #17202a;
  --muted: #65707c;
  --line: #dfe5ea;
  --soft: #f4f7f8;
  --primary: #177a68;
  --primary-dark: #0d5e50;
  --accent: #f2b84b;
  --dark: #14211f;
  --shadow: 0 14px 40px rgba(23, 32, 42, 0.08);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.75;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(223,229,234,.8);
}
.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 46px; height: 46px; display: grid; place-items: center;
  border-radius: 14px; background: var(--soft); font-size: 24px;
}
.brand strong { display:block; font-size: 17px; line-height: 1.35; }
.brand small { display:block; color:var(--muted); font-size: 11px; }
.global-nav { display:flex; gap:28px; align-items:center; font-weight:600; font-size:14px; }
.global-nav a:hover { color: var(--primary); }
.menu-button {
  display:none; border:1px solid var(--line); background:#fff; border-radius:10px;
  padding:10px 14px; font-weight:700;
}

.hero {
  padding: 92px 0 78px;
  background:
    radial-gradient(circle at 85% 18%, rgba(242,184,75,.18), transparent 28%),
    linear-gradient(180deg, #ffffff, #f7faf9);
}
.hero-grid { display:grid; grid-template-columns: 1.2fr .8fr; gap:72px; align-items:center; }
.eyebrow {
  margin:0 0 10px;
  color:var(--primary);
  font-size:12px;
  font-weight:800;
  letter-spacing:.12em;
}
.hero h1, .section h2, .cta h2 {
  margin:0;
  line-height:1.35;
  letter-spacing:-.03em;
}
.hero h1 { font-size:clamp(34px, 5.5vw, 64px); }
.hero-lead { margin:24px 0 0; color:var(--muted); font-size:17px; max-width:760px; }
.hero-actions { display:flex; flex-wrap:wrap; gap:12px; margin-top:30px; }
.button {
  display:inline-flex; justify-content:center; align-items:center;
  min-height:52px; padding:0 22px; border-radius:14px; font-weight:800;
}
.button.primary { background:var(--primary); color:#fff; }
.button.primary:hover { background:var(--primary-dark); }
.button.secondary { border:1px solid var(--line); background:#fff; }
.hero-points { margin:28px 0 0; padding:0; list-style:none; display:grid; gap:8px; }
.hero-points li::before { content:"✓"; color:var(--primary); font-weight:900; margin-right:10px; }

.hero-card {
  min-height:460px; border-radius:34px; background:linear-gradient(145deg,#173b34,#0d221e);
  box-shadow:var(--shadow); display:grid; place-items:center; padding:34px;
}
.phone-illustration {
  width:min(280px,100%); aspect-ratio: .54; background:#111;
  border-radius:38px; padding:12px; box-shadow:0 25px 50px rgba(0,0,0,.3);
  position:relative;
}
.phone-speaker {
  width:76px; height:18px; border-radius:20px; background:#050505;
  position:absolute; top:19px; left:50%; transform:translateX(-50%); z-index:2;
}
.phone-screen {
  height:100%; border-radius:29px; background:linear-gradient(165deg,#e8fff8,#fff6df);
  display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center;
  padding:30px; gap:16px;
}
.screen-icon { font-size:48px; }
.phone-screen strong { font-size:22px; line-height:1.55; }
.phone-screen small { color:var(--muted); }

.section { padding:96px 0; }
.section-muted { background:var(--soft); }
.section-heading { max-width:760px; margin-bottom:38px; }
.section-heading h2, .about-grid h2 { font-size:clamp(28px,4vw,44px); }
.section-heading > p:last-child { color:var(--muted); margin-top:14px; }

.service-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:18px; }
.service-card {
  background:#fff; border:1px solid var(--line); border-radius:var(--radius);
  padding:26px; box-shadow:0 8px 24px rgba(23,32,42,.04);
}
.service-card span { font-size:30px; }
.service-card h3 { margin:14px 0 8px; font-size:18px; }
.service-card p { margin:0; color:var(--muted); font-size:14px; }

.price-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.price-card {
  background:#fff; border:1px solid var(--line); border-radius:var(--radius);
  padding:30px; min-height:230px;
}
.price-card.featured { border:2px solid var(--primary); box-shadow:var(--shadow); }
.price-label { margin:0; font-weight:800; }
.price { margin:18px 0 12px; display:flex; align-items:baseline; gap:8px; }
.price strong { font-size:44px; line-height:1; }
.price span { color:var(--muted); }
.price-text { font-size:23px; font-weight:800; margin:20px 0 14px; }
.price-card > p:last-child { color:var(--muted); }
.note { color:var(--muted); font-size:13px; margin-top:18px; }

.about-grid { display:grid; grid-template-columns:1fr 1fr; gap:48px; align-items:start; }
.about-grid p { color:var(--muted); }
.about-panel {
  background:var(--dark); color:#fff; border-radius:28px; padding:36px;
}
.about-panel h3 { margin-top:0; }
.about-panel ul { margin:20px 0 0; padding-left:1.2em; display:grid; gap:12px; }

.section-dark { background:var(--dark); color:#fff; }
.section-heading.light p:last-child { color:#d2dcda; }
.info-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.info-card {
  background:rgba(255,255,255,.07); border:1px solid rgba(255,255,255,.12);
  border-radius:var(--radius); padding:28px;
}
.info-card h3 { margin-top:0; }
.info-card dl { margin:0; }
.info-card dl div { display:flex; justify-content:space-between; gap:18px; padding:10px 0; border-bottom:1px solid rgba(255,255,255,.1); }
.info-card dl div:last-child { border-bottom:0; }
.info-card dt { color:#b8c8c4; }
.info-card dd { margin:0; font-weight:700; }
.subtle { color:#b8c8c4; font-size:13px; }

.cta { padding:72px 0; background:linear-gradient(120deg,var(--primary),#2aa78f); color:#fff; }
.cta-inner { display:flex; justify-content:space-between; align-items:center; gap:30px; }
.cta .eyebrow { color:#dffbf4; }
.cta h2 { font-size:clamp(26px,4vw,42px); }
.cta p { margin-bottom:0; }
.light-button { background:#fff; color:var(--primary-dark); white-space:nowrap; }

.site-footer { padding:34px 0; border-top:1px solid var(--line); }
.footer-inner { display:flex; justify-content:space-between; gap:20px; align-items:center; }
.footer-inner p { margin:4px 0 0; color:var(--muted); font-size:13px; }

@media (max-width: 900px) {
  .hero-grid, .about-grid { grid-template-columns:1fr; }
  .hero-card { min-height:390px; }
  .service-grid { grid-template-columns:repeat(2,1fr); }
  .price-grid, .info-grid { grid-template-columns:1fr; }
}
@media (max-width: 720px) {
  .container { width:min(100% - 28px,1120px); }
  .global-nav {
    display:none; position:absolute; top:76px; left:14px; right:14px;
    background:#fff; border:1px solid var(--line); border-radius:18px;
    padding:18px; flex-direction:column; align-items:stretch; box-shadow:var(--shadow);
  }
  .global-nav.open { display:flex; }
  .menu-button { display:block; }
  .hero { padding:64px 0 56px; }
  .hero h1 { font-size:38px; }
  .hero-actions .button { width:100%; }
  .service-grid { grid-template-columns:1fr; }
  .cta-inner, .footer-inner { flex-direction:column; align-items:flex-start; }
  .light-button { width:100%; }
}


.line-button {
  background: #06c755;
  color: #fff;
}
.line-button:hover {
  filter: brightness(.94);
}
.contact-buttons {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}
.contact-phone {
  background: #fff;
  color: var(--primary-dark);
}
.contact-line {
  background: #06c755;
  color: #fff;
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.line-light-button {
  background: #06c755;
  color: #fff;
}
@media (max-width: 720px) {
  .cta-actions {
    width: 100%;
  }
  .cta-actions .button {
    width: 100%;
  }
}


.shop-address {
  font-style: normal;
  line-height: 1.9;
  margin: 0 0 18px;
}
.map-button {
  background: #fff;
  color: var(--primary-dark);
  width: 100%;
}
.map-button:hover {
  background: #f3f7f6;
}


.shop-address span {
  display: block;
}
.floor-label {
  display: block !important;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  border-radius: 0;
  font-weight: 700;
  letter-spacing: 0;
}


/* TOPメインビジュアル */
.hero-grid {
  grid-template-columns: minmax(0, .92fr) minmax(480px, 1.08fr);
  gap: 48px;
}
.hero-visual {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 26px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.hero-visual img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.hero-visual figcaption {
  padding: 16px 18px 18px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.75;
  background: #fff;
}

/* キャラクター紹介 */
.character-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.character-card {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: 0 8px 24px rgba(23,32,42,.04);
}
.character-mark {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: var(--soft);
  font-size: 30px;
}
.character-card h3 {
  margin: 0 0 8px;
  font-size: 22px;
}
.character-card p {
  margin: 0;
  color: var(--muted);
}
.character-disclaimer {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 12px;
}

/* CTAの「大丈夫です。」を途中で分断しない */
.cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
}
.cta-copy {
  min-width: 0;
  max-width: 880px;
}
.cta h2 {
  text-wrap: balance;
}
.keep-together {
  display: inline-block;
  margin-left: .18em;
  white-space: nowrap;
}

@media (max-width: 1000px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    max-width: 820px;
  }
}

@media (max-width: 720px) {
  .hero-visual figcaption {
    font-size: 11px;
  }
  .character-grid {
    grid-template-columns: 1fr;
  }
  .character-card {
    padding: 24px;
  }
  .cta-inner {
    grid-template-columns: 1fr;
  }
}


/* v8: TOP表示修正
   HTMLのwidth/height属性に対してheight:autoが不足していたため、
   画像が縦長に引き伸ばされ、左右の人物が切れていた問題を修正。 */
.hero-grid {
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  align-items: center;
}
.hero-copy {
  min-width: 0;
}
.hero h1 {
  font-size: clamp(34px, 3.4vw, 46px);
}
.hero-visual img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
}

@media (max-width: 1000px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: clamp(36px, 7vw, 52px);
  }
}

@media (max-width: 720px) {
  .hero h1 {
    font-size: 36px;
  }
}


/* v9: 見出しとキャラクター表示の調整 */
.nowrap { white-space: nowrap; }
.hero h1 {
  font-size: clamp(34px, 3.2vw, 44px);
  line-height: 1.45;
}
.about-grid h2 {
  max-width: 13ch;
}
.cta h2 {
  line-height: 1.4;
}
.cta-break { display: block; }
.character-card-visual {
  grid-template-columns: 220px 1fr;
  align-items: center;
  gap: 24px;
}
.character-figure {
  background: linear-gradient(180deg, #fff, #fafcfc);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 12px;
}
.character-figure img {
  width: 100%;
  height: auto;
  border-radius: 14px;
}
.character-copy {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
}
@media (max-width: 1000px) {
  .cta-break { display: inline; }
}
@media (max-width: 720px) {
  .hero h1 { font-size: 34px; }
  .character-card-visual {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .character-figure {
    max-width: 320px;
    margin: 0 auto;
  }
}


/* v10: ABOUT見出しとキャラクター紹介の再調整 */
.about-grid {
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 1fr);
  gap: 40px;
}
.about-grid h2 {
  max-width: none;
  font-size: clamp(34px, 3.3vw, 54px);
  line-height: 1.28;
  text-wrap: balance;
}
.character-grid {
  align-items: stretch;
}
.character-card-visual {
  grid-template-columns: 240px 1fr;
  gap: 28px;
}
.character-figure {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  overflow: hidden;
}
.character-figure img {
  width: min(100%, 220px);
  height: auto;
  display: block;
}
.character-copy {
  min-width: 0;
}
.character-copy p {
  word-break: normal;
}
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 720px) {
  .about-grid h2 {
    font-size: 34px;
    text-wrap: initial;
  }
  .character-card-visual {
    grid-template-columns: 1fr;
  }
  .character-figure {
    min-height: 0;
  }
}


/* v11: ABOUT見出しとキャラクターカードの確定調整 */
.about-grid h2 {
  max-width: none;
  font-size: clamp(36px, 3vw, 48px);
  line-height: 1.35;
  text-wrap: initial;
}
.about-line {
  white-space: nowrap;
}
.character-card-visual {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 22px;
}
.character-figure {
  width: 100%;
  min-height: 0;
  padding: 20px;
}
.character-figure img {
  width: min(100%, 280px);
  height: auto;
  margin: 0 auto;
  object-fit: contain;
}
.character-copy {
  width: 100%;
  grid-template-columns: auto minmax(0, 1fr);
}
.character-copy p {
  line-height: 1.9;
}
@media (max-width: 720px) {
  .about-line {
    white-space: normal;
  }
  .about-grid h2 {
    font-size: 34px;
  }
}


/* v12: キャラクター紹介を省スペース化 */
.character-card { padding: 24px; }
.character-card-visual { display: grid; grid-template-columns: 150px minmax(0,1fr); align-items: center; gap: 24px; }
.character-figure { width: 150px; min-height: 0; padding: 0; background: transparent; border: 0; border-radius: 0; display: flex; align-items: center; justify-content: center; overflow: visible; }
.character-figure img { width: 100%; max-width: 150px; height: auto; margin: 0; border-radius: 0; }
.character-copy { display: block; width: 100%; }
.character-copy h3 { margin: 0 0 10px; font-size: 20px; }
.character-copy p { margin: 0; line-height: 1.85; }
.character-copy > div { display:block; }
.character-mark { display: none !important; }
@media (max-width: 820px) { .character-card-visual { grid-template-columns: 120px minmax(0,1fr); gap: 18px; } .character-figure { width: 120px; } .character-figure img { max-width: 120px; } }
@media (max-width: 560px) { .character-card-visual { grid-template-columns: 1fr; gap: 16px; } .character-figure { width: 140px; margin: 0 auto; } }
