:root{
  --bg:#f3fbff;
  --card:#ffffff;
  --text:#08101c;
  --muted:#6b778c;
  --line:rgba(12, 74, 110, .14);
  --accent:#06b6d4;
  --accent2:#38bdf8;
  --shadow:0 12px 28px rgba(2,132,199,.14);
  --radius:18px;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
html{-webkit-text-size-adjust:100%}
body{
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,Roboto,Helvetica,Arial,"Hiragino Kaku Gothic ProN","Noto Sans JP","Yu Gothic",sans-serif;
  color:var(--text);
  background:
    radial-gradient(1100px 650px at 10% -15%, rgba(6,182,212,.16), transparent 62%),
    radial-gradient(900px 600px at 90% 0%, rgba(56,189,248,.14), transparent 58%),
    linear-gradient(180deg,#f7feff 0%, var(--bg) 62%, #f7feff 100%);
  font-size:16px;
  line-height:1.65;
}

a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
.wrap{max-width:1100px;margin:0 auto;padding:22px 16px 72px}

/* ===== Header ===== */
header{
  position:sticky;top:0;z-index:50;
  background:rgba(247,254,255,.88);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
}
.nav{
  max-width:1100px;margin:0 auto;
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding:12px 16px;
}
.brand{display:flex;align-items:center;gap:10px;min-width:220px}
.badge{
  width:40px;height:40px;border-radius:14px;
  background:linear-gradient(135deg,var(--accent),var(--accent2));
  box-shadow:0 10px 18px rgba(2,132,199,.18);
}
.brand b{display:block;font-size:20px;letter-spacing:.02em;line-height:1.05}
.brand small{display:block;font-size:12px;color:var(--muted);margin-top:2px}

/* Desktop nav */
.nav-desktop{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.nav-desktop a{
  font-weight:800;font-size:14px;
  padding:10px 14px;border-radius:999px;
  border:1px solid rgba(215,238,240,.95);
  background:rgba(255,255,255,.90);
  box-shadow:0 10px 22px rgba(2,132,199,.10);
}
.nav-desktop a[aria-current="page"]{
  background:linear-gradient(135deg, rgba(6,182,212,.22), rgba(56,189,248,.18));
  border-color:rgba(6,182,212,.35);
}

/* Mobile nav (JSなし) */
.nav-mobile{display:none;position:relative}
.nav-mobile summary{
  list-style:none;
  cursor:pointer;
  width:44px;height:44px;border-radius:14px;
  border:1px solid rgba(215,238,240,.95);
  background:rgba(255,255,255,.92);
  box-shadow:0 10px 22px rgba(2,132,199,.10);
  display:flex;align-items:center;justify-content:center;
}
.nav-mobile summary::-webkit-details-marker{display:none}
.hamburger{
  width:20px;height:2px;background:rgba(8,16,28,.75);border-radius:2px;position:relative;
}
.hamburger::before,.hamburger::after{
  content:"";position:absolute;left:0;right:0;height:2px;background:rgba(8,16,28,.75);border-radius:2px;
}
.hamburger::before{top:-6px}
.hamburger::after{top:6px}

.nav-mobile .panel{
  position:absolute;right:0;top:52px;
  width:min(360px, calc(100vw - 32px));
  background:rgba(255,255,255,.96);
  border:1px solid rgba(215,238,240,.95);
  border-radius:16px;
  box-shadow:var(--shadow);
  padding:10px;
}
.nav-mobile a{
  display:block;
  padding:12px 12px;border-radius:12px;
  border:1px solid rgba(215,238,240,.90);
  background:rgba(255,255,255,.90);
  font-weight:800;
  margin:8px 0;
}

/* ===== Sections / Cards ===== */
.hero{
  margin-top:18px;
  display:flex;
  gap:18px;
  align-items:stretch;
}
.hero > .box{
  flex:1;
  background:rgba(255,255,255,.94);
  border:1px solid rgba(215,238,240,.95);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:18px;
}
.kicker{
  display:inline-flex;align-items:center;gap:8px;
  font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;
  color:rgba(8,16,28,.72);
  background:rgba(230,255,251,.92);
  border:1px solid rgba(215,238,240,.95);
  padding:6px 10px;border-radius:999px;
}
h1{margin:10px 0 8px;font-size:34px;line-height:1.15}
.lead{margin:0;color:var(--muted)}
.actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:14px}
.btn{
  display:inline-flex;align-items:center;justify-content:center;
  padding:12px 16px;border-radius:14px;
  border:1px solid rgba(215,238,240,.95);
  background:rgba(255,255,255,.94);
  font-weight:800;
  box-shadow:0 14px 28px rgba(2,132,199,.12);
}
.btn.primary{
  border-color:transparent;
  background:linear-gradient(135deg, rgba(6,182,212,.95), rgba(56,189,248,.90));
  color:#052225;
}

.section{margin-top:22px}
.section h2{margin:0 0 10px;font-size:22px;padding-left:12px;border-left:5px solid var(--accent)}
.cards{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:14px;
}
.card{
  background:rgba(255,255,255,.94);
  border:1px solid rgba(215,238,240,.95);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:16px;
}
.card h3{margin:0 0 6px;font-size:18px}
.card p{margin:0;color:var(--muted)}

.two{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:14px;
}

footer{margin-top:26px;text-align:center;color:var(--muted);font-size:12px}

/* ===== Responsive ===== */
@media (max-width:980px){
  .nav-desktop{display:none}
  .nav-mobile{display:block}
  .hero{flex-direction:column}
  .cards{grid-template-columns:1fr}
  .two{grid-template-columns:1fr}
}
@media (min-width:981px){
  .nav-mobile{display:none}
}

/* ===== Cleaning HERO focus (local, low-risk) ===== */
.hero-wrap .hero-split{align-items:stretch}
.hero-wrap .hero-copy h1{
  font-size:clamp(32px, 3.2vw, 44px);
  line-height:1.15;
}
.hero-wrap .hero-copy .lead{font-size:16px;line-height:1.9}
.hero-wrap .hero-points{
  margin:12px 0 0;
  padding-left:18px;
}
.hero-wrap .hero-points li{
  font-size:16px;
  line-height:1.9;
  margin:6px 0;
}
.hero-wrap .hero-contact{
  margin:12px 0 0;
  color:var(--muted);
}
.hero-wrap .hero-media{
  max-width:340px;
  justify-self:end;
}
.hero-wrap .hero-media img{
  width:100%;
  height:auto;
  border-radius:16px;
}
@media (max-width:980px){
  .hero-wrap .hero-media{
    max-width:100%;
    justify-self:stretch;
  }
}


/* --- Service tabs (personal/business) --- */
.tabs{
  margin-top: 10px;
}
.tabs .tab-input{
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.tabs .tab-list{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 12px 0 16px;
}
.tabs .tab{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.12);
  background: rgba(255,255,255,.75);
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  user-select: none;
}
.tabs .tab:focus{
  outline: 2px solid rgba(0,0,0,.18);
  outline-offset: 2px;
}
.tabs .tab-panels{
  margin-top: 6px;
}
.tabs .tab-panel{
  display: none;
}

/* checked state -> show panel + highlight tab */
#tab-personal:checked ~ .tab-list label[for="tab-personal"],
#tab-business:checked ~ .tab-list label[for="tab-business"]{
  background: rgba(0, 120, 255, 0.12);
  border-color: rgba(0, 120, 255, 0.28);
}

#tab-personal:checked ~ .tab-panels .panel-personal{ display: block; }
#tab-business:checked ~ .tab-panels .panel-business{ display: block; }

/* subtle color difference for business tab */
#tab-business:checked ~ .tab-list label[for="tab-business"]{
  background: rgba(0, 180, 120, 0.12);
  border-color: rgba(0, 180, 120, 0.28);
}


/* alias: earlier markup used .tablist */
.tabs .tablist{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 12px 0 16px;
}


/* hero: inline thumb inside the main card (relative-path safe) */
.hero-hero .hero-inline,
.hero-copy .hero-inline{
  display:flex;
  align-items:flex-start;
  gap:16px;
}
.hero-hero .hero-text,
.hero-copy .hero-text{
  flex:1 1 auto;
  min-width:0;
}
.hero-hero .hero-thumb,
.hero-copy .hero-thumb{
  flex:0 0 220px;
  max-width:220px;
}
.hero-hero .hero-thumb img,
.hero-copy .hero-thumb img{
  width:100%;
  height:auto;
  display:block;
  border-radius:16px;
  opacity:.92;
}
@media (max-width:900px){
  .hero-hero .hero-inline,
  .hero-copy .hero-inline{
    flex-direction:column;
  }
  .hero-hero .hero-thumb,
  .hero-copy .hero-thumb{
    max-width:100%;
    width:100%;
  }
}

/* hero text size boost (desktop only, scoped) */
@media (min-width: 901px){
  .hero-copy h1{
    font-size: 40px;
    line-height: 1.2;
  }
  .hero-copy .hero-lead{
    font-size: 18px;
    line-height: 1.8;
  }
  .hero-copy .hero-scope{
    font-size: 16px;
    line-height: 1.8;
  }
}


/* Hero readability (desktop only) */
@media (min-width: 901px){
  .hero h1{ font-size: 46px; line-height: 1.18; }
  .hero .hero-lead{ font-size: 18px; line-height: 1.75; }
  .hero .hero-scope, .hero .hero-scope li{ font-size: 16px; line-height: 1.7; }
}


/* Hero subhead + image spacing (desktop only, mobile-safe) */
@media (min-width: 901px){
  .hero .hero-subhead{
    display:block;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.6;
    margin-bottom: 6px;
  }
  /* tighten awkward empty space by making the media a bit larger and aligning with text block */
  .hero .hero-inner{
    align-items: start;
    gap: 28px;
  }
  .hero .hero-media{
    align-self: start;
    margin-top: 6px;
  }
  .hero .hero-media img{
    max-width: 420px;
    width: 100%;
    height: auto;
  }
}
