/* =========================================================
   Karada Balance - Homepage Designer Rebalance v3
   Focus: desktop visual balance, tighter rhythm, clear hierarchy,
   premium clinic feeling, no oversized/empty sections.
   ========================================================= */

:root{
  --v3-container:1160px;
  --v3-container-narrow:980px;
  --v3-line:rgba(74,143,212,.20);
  --v3-line-soft:rgba(74,143,212,.12);
  --v3-glass:rgba(5,16,33,.68);
  --v3-glass-strong:rgba(6,20,40,.82);
  --v3-gold:#c9a84c;
  --v3-blue:#4a8fd4;
  --v3-white:#f0f6ff;
}

body.home-page{
  background:
    radial-gradient(circle at 14% 10%, rgba(74,143,212,.16), transparent 34rem),
    radial-gradient(circle at 84% 24%, rgba(201,168,76,.10), transparent 31rem),
    linear-gradient(135deg,#030810 0%,#060f1e 48%,#080518 100%)!important;
}

/* Desktop fixed CTA makes full-page screenshots look broken. Header CTA is enough on desktop. */
@media (min-width:821px){
  body.home-page .floating-cta{display:none!important;}
}

/* Header: larger brand, cleaner navigation, less cramped */
body.home-page .site-header{
  grid-template-columns:minmax(300px,auto) 1fr auto!important;
  padding:14px max(28px,calc((100vw - var(--v3-container))/2))!important;
  gap:24px!important;
  background:rgba(3,8,16,.88)!important;
  border-bottom:1px solid rgba(74,143,212,.16)!important;
}
body.home-page .brand-mark{width:50px!important;height:50px!important;}
body.home-page .brand-main{font-size:clamp(21px,1.95vw,28px)!important;letter-spacing:.035em!important;}
body.home-page .brand-sub{font-size:11px!important;letter-spacing:.14em!important;opacity:.82;}
body.home-page .site-nav{gap:clamp(16px,1.7vw,25px)!important;}
body.home-page .site-nav a{font-size:12.5px!important;letter-spacing:.05em!important;}
body.home-page .sns-mini{min-height:36px!important;padding:0 15px!important;font-size:11px!important;}

/* Shared page width and rhythm */
body.home-page .hero,
body.home-page .section,
body.home-page .footer{
  padding-left:max(28px,calc((100vw - var(--v3-container))/2))!important;
  padding-right:max(28px,calc((100vw - var(--v3-container))/2))!important;
}
body.home-page .section{
  padding-top:clamp(50px,5.2vw,72px)!important;
  padding-bottom:clamp(50px,5.2vw,72px)!important;
}
body.home-page .sec-label,
body.home-page .hero-label{
  font-size:11px!important;
  letter-spacing:.25em!important;
  color:var(--v3-gold)!important;
}
body.home-page .sec-title{
  font-size:clamp(24px,2.5vw,34px)!important;
  line-height:1.42!important;
  letter-spacing:.05em!important;
  margin:8px 0 18px!important;
  font-family:'Noto Serif JP','Yu Mincho',serif!important;
}

/* Hero: stronger left hierarchy, photo block balanced, no top-heavy gaps */
body.home-page .hero{
  min-height:620px!important;
  grid-template-columns:minmax(430px,.95fr) minmax(410px,.9fr)!important;
  gap:clamp(42px,5.5vw,76px)!important;
  padding-top:clamp(72px,6.6vw,96px)!important;
  padding-bottom:clamp(58px,6vw,84px)!important;
  background:
    linear-gradient(135deg,rgba(5,13,32,.90),rgba(3,8,16,.95) 55%,rgba(8,5,24,.88)),
    radial-gradient(circle at 72% 42%,rgba(74,143,212,.18),transparent 28rem)!important;
}
body.home-page .hero-copy{max-width:610px!important;}
body.home-page .hero h1{
  font-size:clamp(40px,4.2vw,58px)!important;
  line-height:1.34!important;
  letter-spacing:.045em!important;
  margin:0 0 18px!important;
  text-shadow:0 0 30px rgba(74,143,212,.18);
}
body.home-page .hero-desc{
  max-width:560px!important;
  font-size:clamp(14.5px,1.15vw,16px)!important;
  line-height:1.95!important;
  margin-bottom:18px!important;
  color:rgba(226,241,255,.80)!important;
}
body.home-page .hero-trust{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:0 0 22px;
}
body.home-page .hero-trust span{
  display:inline-flex;
  align-items:center;
  min-height:30px;
  padding:0 12px;
  border-radius:999px;
  background:rgba(74,143,212,.08);
  border:1px solid rgba(74,143,212,.20);
  color:rgba(226,241,255,.82);
  font-size:12px;
  letter-spacing:.05em;
}
body.home-page .hero-actions{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:12px;
}
body.home-page .hero-actions .btn-line,
body.home-page .hero-actions .btn-outline{
  margin:0!important;
  width:auto!important;
  min-width:210px!important;
  max-width:none!important;
  min-height:48px!important;
  padding:0 22px!important;
}
body.home-page .hero-actions .btn-outline{
  min-width:154px!important;
}
body.home-page .hero-visual{
  max-width:540px!important;
  min-height:395px!important;
  justify-self:end!important;
}
body.home-page .hero-main-photo{
  width:86%!important;
  height:330px!important;
  border-radius:28px!important;
  object-position:center center!important;
}
body.home-page .hero-portrait{
  width:35%!important;
  height:185px!important;
  left:1%!important;
  bottom:10px!important;
  border-radius:22px!important;
}
body.home-page .hero-card{
  right:0!important;
  bottom:22px!important;
  max-width:246px!important;
  padding:17px 18px!important;
  border-radius:20px!important;
  background:rgba(3,15,32,.82)!important;
}
body.home-page .hero-card strong{font-size:16px!important;}
body.home-page .hero-card span{font-size:12.3px!important;line-height:1.7!important;}
body.home-page .hero-kanji{opacity:.038!important;}

/* Three pillars: make the cards look intentional, not tiny floating boxes */
body.home-page .home-pillars{
  padding-top:54px!important;
  padding-bottom:58px!important;
  background:linear-gradient(180deg,rgba(5,16,33,.90),rgba(3,15,32,.86))!important;
}
body.home-page .home-pillars .sec-label{
  display:block;
  text-align:center;
  margin-bottom:22px!important;
}
body.home-page .pillars{
  max-width:1040px;
  margin:0 auto;
  gap:18px!important;
}
body.home-page .pillar{
  min-height:128px!important;
  padding:24px 18px!important;
  border-radius:22px!important;
  background:linear-gradient(180deg,rgba(8,22,45,.70),rgba(4,13,27,.78))!important;
  box-shadow:0 20px 60px rgba(0,0,0,.22)!important;
}
body.home-page .pillar.center{
  background:linear-gradient(180deg,rgba(15,30,54,.78),rgba(5,16,32,.84))!important;
}
body.home-page .pillar-icon{width:29px!important;height:29px!important;margin-bottom:12px!important;}
body.home-page .pillar-name{font-size:15.5px!important;}
body.home-page .pillar-sub{font-size:11px!important;line-height:1.45!important;}

/* Specialty: fill the empty right side with balanced symptom cards */
body.home-page .home-specialty{
  display:grid!important;
  grid-template-columns:minmax(290px,.72fr) minmax(520px,1.28fr)!important;
  align-items:center!important;
  gap:36px!important;
  min-height:250px!important;
  background:
    radial-gradient(circle at 87% 42%,rgba(74,143,212,.10),transparent 22rem),
    linear-gradient(180deg,rgba(3,8,16,.93),rgba(8,5,24,.82))!important;
}
body.home-page .specialty-copy{max-width:430px;}
body.home-page .specialty-lead{
  color:rgba(220,238,255,.72);
  font-size:14.5px;
  line-height:1.9;
  margin:0;
}
body.home-page .symptom-cards{
  display:grid!important;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:12px!important;
}
body.home-page .symptom-cards .tag{
  min-height:78px;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:13px 10px!important;
  border-radius:18px!important;
  color:rgba(236,246,255,.88)!important;
  background:rgba(6,20,40,.62)!important;
  border:1px solid rgba(74,143,212,.20)!important;
  box-shadow:0 16px 44px rgba(0,0,0,.20);
  font-size:13px!important;
  line-height:1.45!important;
}
body.home-page .symptom-cards .tag:nth-child(1),
body.home-page .symptom-cards .tag:nth-child(5){
  border-color:rgba(201,168,76,.34)!important;
  background:rgba(201,168,76,.075)!important;
}

/* Director: premium two-column section with better type and quote scale */
body.home-page .home-director{
  display:grid!important;
  grid-template-columns:minmax(360px,480px) minmax(0,1fr)!important;
  gap:18px 42px!important;
  align-items:center!important;
  background:
    radial-gradient(circle at 10% 34%,rgba(74,143,212,.12),transparent 28rem),
    linear-gradient(180deg,rgba(6,15,30,.92),rgba(3,15,32,.88))!important;
}
body.home-page .home-director > .sec-label{grid-column:1 / -1!important;margin-bottom:2px!important;}
body.home-page .home-director .director-photo{grid-row:2 / span 2!important;margin:0!important;border-radius:24px!important;}
body.home-page .home-director .director-photo img{height:320px!important;max-height:320px!important;object-position:center 32%!important;}
body.home-page .home-director .director-row{margin:0!important;align-self:end!important;}
body.home-page .home-director .director-face{width:74px!important;height:74px!important;}
body.home-page .director-name-ja{font-size:clamp(25px,2.4vw,34px)!important;line-height:1.24!important;}
body.home-page .director-role{font-size:12px!important;color:rgba(158,198,235,.65)!important;}
body.home-page .director-name-kana{font-size:11px!important;}
body.home-page .home-director .quote-box{
  align-self:start!important;
  padding:26px 30px!important;
  border-radius:20px!important;
  background:rgba(7,22,43,.72)!important;
  border:1px solid rgba(74,143,212,.20)!important;
}
body.home-page .home-director .quote-text{
  font-size:14px!important;
  line-height:1.95!important;
}
body.home-page .quote-link span{font-size:11px!important;}

/* Recommendation: turn long full-width text into a finished testimonial card */
body.home-page .home-recommendation{
  padding-top:64px!important;
  padding-bottom:72px!important;
  background:
    radial-gradient(circle at 50% 0%,rgba(201,168,76,.08),transparent 24rem),
    linear-gradient(180deg,rgba(3,8,16,.94),rgba(8,5,24,.86))!important;
}
body.home-page .home-recommendation > .sec-label{display:block;text-align:center;margin-bottom:22px!important;}
body.home-page .recommendation-card{
  max-width:980px;
  margin:0 auto;
  padding:34px 42px 30px;
  border-radius:26px;
  background:linear-gradient(180deg,rgba(7,18,37,.70),rgba(5,12,27,.62));
  border:1px solid rgba(74,143,212,.18);
  box-shadow:0 24px 80px rgba(0,0,0,.25);
}
body.home-page .recommendation-card .rec-quote{
  margin:0 0 6px!important;
  color:rgba(201,168,76,.45)!important;
}
body.home-page .recommendation-card .rec-text{
  max-width:none!important;
  font-size:14px!important;
  line-height:2.05!important;
  margin:0 0 24px!important;
  color:rgba(229,242,255,.83)!important;
}
body.home-page .recommendation-card .rec-person{
  padding-top:20px!important;
  border-top:1px solid rgba(74,143,212,.14)!important;
}
body.home-page .rec-avatar{width:58px!important;height:58px!important;}
body.home-page .rec-role{font-size:11.5px!important;line-height:1.55!important;}
body.home-page .rec-name{font-size:20px!important;}
body.home-page .rec-more{text-align:right!important;margin-top:16px!important;}
body.home-page .rec-more span{font-size:11px!important;}

/* Access: card layout instead of a sparse empty band */
body.home-page .home-access{
  padding-top:46px!important;
  padding-bottom:46px!important;
  background:linear-gradient(180deg,rgba(6,15,30,.94),rgba(3,15,32,.90))!important;
}
body.home-page .home-access .access-row{
  max-width:980px;
  margin:0 auto;
  padding:26px 30px;
  border-radius:24px;
  background:rgba(6,20,40,.64);
  border:1px solid rgba(74,143,212,.18);
  box-shadow:0 20px 65px rgba(0,0,0,.22);
}
body.home-page .access-label{font-size:11px!important;letter-spacing:.18em!important;color:var(--v3-gold)!important;}
body.home-page .access-addr{font-size:16px!important;color:#fff!important;}
body.home-page .access-hours{font-size:12.5px!important;color:rgba(158,198,235,.60)!important;}
body.home-page .map-btn{min-width:72px;text-align:center;}

/* CTA: center it; previous button looked accidentally left-aligned */
body.home-page .home-cta{
  text-align:center!important;
  padding-top:54px!important;
  padding-bottom:58px!important;
  background:
    radial-gradient(circle at 50% 0%,rgba(6,199,85,.09),transparent 22rem),
    #030f20!important;
}
body.home-page .home-cta .cta-note{
  font-size:15px!important;
  color:rgba(220,238,255,.70)!important;
  margin-bottom:20px!important;
}
body.home-page .home-cta .btn-line{
  margin:0 auto!important;
  max-width:360px!important;
  min-height:50px!important;
}
body.home-page .footer{
  padding-top:34px!important;
  padding-bottom:38px!important;
}

/* Responsive */
@media (max-width:1180px){
  body.home-page .site-header{grid-template-columns:1fr auto!important;}
  body.home-page .site-nav{grid-column:1 / -1;}
  body.home-page .hero{grid-template-columns:1fr!important;gap:34px!important;}
  body.home-page .hero-visual{justify-self:start!important;max-width:610px!important;}
  body.home-page .home-specialty{grid-template-columns:1fr!important;}
  body.home-page .symptom-cards{grid-template-columns:repeat(3,minmax(0,1fr));}
}

@media (max-width:820px){
  body.home-page .site-header{padding:10px 16px!important;}
  body.home-page .brand-mark{width:40px!important;height:40px!important;}
  body.home-page .brand-main{font-size:17px!important;}
  body.home-page .hero,
  body.home-page .section,
  body.home-page .footer{padding-left:20px!important;padding-right:20px!important;}
  body.home-page .hero{padding-top:54px!important;padding-bottom:58px!important;}
  body.home-page .hero h1{font-size:34px!important;line-height:1.48!important;}
  body.home-page .hero-desc br{display:none;}
  body.home-page .hero-actions{display:grid;grid-template-columns:1fr;}
  body.home-page .hero-actions .btn-line,
  body.home-page .hero-actions .btn-outline{width:100%!important;min-width:0!important;}
  body.home-page .hero-visual{min-height:325px!important;}
  body.home-page .hero-main-photo{height:238px!important;width:88%!important;}
  body.home-page .hero-portrait{height:146px!important;width:42%!important;}
  body.home-page .hero-card{max-width:214px!important;padding:12px 13px!important;}
  body.home-page .pillars{grid-template-columns:1fr!important;}
  body.home-page .symptom-cards{grid-template-columns:1fr 1fr;}
  body.home-page .home-director{grid-template-columns:1fr!important;}
  body.home-page .home-director .director-photo{grid-row:auto!important;}
  body.home-page .home-director .director-photo img{height:238px!important;}
  body.home-page .recommendation-card{padding:24px 20px 22px;border-radius:22px;}
  body.home-page .home-access .access-row{padding:22px 20px;}
}

@media (max-width:430px){
  body.home-page .hero,
  body.home-page .section,
  body.home-page .footer{padding-left:16px!important;padding-right:16px!important;}
  body.home-page .hero h1{font-size:31px!important;}
  body.home-page .hero-trust span{font-size:11px;}
  body.home-page .symptom-cards{grid-template-columns:1fr;}
}
