/* support-guide LP style.css */
:root{
  --navy:#1d2088;
  --blue:#00a0e9;
  --blue-dark:#0089c7;
  --blue-pale:#d0f0ff;
  --blue-light:#eaf7fe;
  --gray-900:#222222;
  --text:#444444;
  --gray-600:#767676;
  --gray-300:#dddddd;
  --gray-100:#f6f6f6;
  --white:#ffffff;
  --radius:5px;
  --maxw:1040px;
}

*{box-sizing:border-box;}

html{scroll-behavior:smooth;}

body.sg-body{
  margin:0;
  font-family:"Noto Sans JP","Hiragino Kaku Gothic ProN","Yu Gothic",sans-serif;
  color:var(--text);
  background:var(--white);
  line-height:1.8;
  -webkit-font-smoothing:antialiased;
}

.sg-wrap{max-width:var(--maxw);margin:0 auto;padding:0 20px;}

section{padding:64px 0;}

h1,h2,h3{margin:0 0 .6em;font-weight:700;}

p{margin:0 0 1em;}

.sg-icon{
  width:1em;height:1em;
  flex-shrink:0;
  fill:none;
  stroke:currentColor;
  stroke-width:2;
  stroke-linecap:round;
  stroke-linejoin:round;
  vertical-align:-0.15em;
}

/* ---------- Page header ---------- */
.sg-page-header{
  background:var(--white);
  border-bottom:1px solid var(--gray-300);
  position:relative;
  z-index:10;
}
.sg-header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 20px;
  gap:16px;
  flex-wrap:wrap;
}
.sg-header-logo img{display:block;height:24px;width:auto;}
.sg-header-nav{
  display:flex;
  gap:20px;
  flex-wrap:wrap;
}
.sg-header-nav a{
  font-size:13px;
  font-weight:700;
  color:var(--gray-900);
  text-decoration:none;
}
.sg-header-nav a:hover{color:var(--blue);}
@media (max-width:640px){
  .sg-header-inner{justify-content:center;text-align:center;}
  .sg-header-nav{justify-content:center;gap:12px 16px;}
}

/* ---------- Page footer ---------- */
.sg-page-footer{
  background:var(--navy);
  color:#c9d6ea;
  padding:48px 0 24px;
}
.sg-footer-top{margin-bottom:32px;}
.sg-footer-logo img{display:block;height:22px;width:auto;filter:brightness(0) invert(1);margin-bottom:14px;}
.sg-footer-tagline{font-size:13px;color:#9fb4d6;max-width:480px;}
.sg-footer-cols{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
  border-top:1px solid rgba(255,255,255,.12);
  padding-top:28px;
}
.sg-footer-col h4{
  font-size:13px;
  color:var(--white);
  margin:0 0 12px;
}
.sg-footer-col ul{list-style:none;margin:0;padding:0;}
.sg-footer-col li{margin-bottom:8px;}
.sg-footer-col a{
  font-size:13px;
  color:#9fb4d6;
  text-decoration:none;
}
.sg-footer-col a:hover{color:var(--white);}
.sg-footer-copy{
  font-size:12px;
  color:#7f96bd;
  margin:32px 0 0;
  text-align:center;
}
@media (max-width:640px){
  .sg-footer-cols{grid-template-columns:1fr;gap:24px;}
}

.sg-eyebrow{
  display:inline-block;
  font-size:16px;
  font-weight:700;
  letter-spacing:.03em;
  color:var(--navy);
  background:var(--blue-light);
  padding:6px 18px;
  border-radius:var(--radius);
  margin-bottom:16px;
}

/* ---------- Hero ---------- */
.sg-hero{
  background:var(--blue);
  color:var(--white);
  padding:40px 0 32px;
  text-align:center;
}
.sg-hero h1{
  font-size:clamp(20px,3.2vw,28px);
  line-height:1.4;
  margin-bottom:.4em;
}
.sg-hero p{
  font-size:14px;
  color:rgba(255,255,255,.92);
  max-width:560px;
  margin-left:auto;
  margin-right:auto;
  margin-bottom:0;
}
.sg-hero-buttons{
  display:flex;
  gap:16px;
  justify-content:center;
  flex-wrap:wrap;
  margin-top:32px;
}

/* ---------- Hero 3-way selector ---------- */
.sg-hero-selector{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
  max-width:760px;
  margin:24px auto 0;
}
.sg-selector-card{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:6px;
  background:var(--white);
  border:1px solid var(--white);
  border-radius:var(--radius);
  padding:20px 12px;
  color:var(--navy);
  text-decoration:none;
  transition:border-color .15s ease,background-color .15s ease;
}
.sg-selector-card:hover{
  background:var(--blue-light);
  border-color:var(--navy);
}
.sg-selector-icon-wrap{
  width:44px;height:44px;
  border-radius:var(--radius);
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:2px;
  background:var(--blue-light);
}
.sg-selector-card .sg-icon{
  width:24px;height:24px;
  margin-bottom:0;
  color:var(--blue);
}
.sg-selector-label{font-size:14px;font-weight:700;line-height:1.4;color:var(--navy);}
.sg-selector-sub{font-size:11px;color:var(--gray-600);}
.sg-scroll-hint{
  font-size:12px;
  color:rgba(255,255,255,.85);
  margin-top:20px;
}
@media (max-width:640px){
  .sg-hero-selector{grid-template-columns:1fr;max-width:320px;}
}

/* ---------- Buttons ---------- */
.sg-btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:14px 28px;
  border-radius:var(--radius);
  font-weight:700;
  font-size:15px;
  text-decoration:none;
  transition:background-color .15s ease,border-color .15s ease;
  border:1px solid transparent;
}
.sg-btn-primary{
  background:var(--blue);
  color:var(--white);
}
.sg-btn-primary:hover{background:var(--blue-dark);}
.sg-btn-outline{
  background:transparent;
  color:var(--white);
  border-color:rgba(255,255,255,.7);
}
.sg-btn-outline:hover{background:rgba(255,255,255,.14);}
.sg-btn-block{width:100%;justify-content:center;}

/* ---------- Section heading ---------- */
.sg-section-head{text-align:center;max-width:680px;margin:0 auto 40px;}
.sg-section-head h2{font-size:clamp(20px,3vw,28px);color:var(--navy);}
.sg-section-head p{color:var(--gray-600);font-size:15px;}

.sg-section-alt{background:var(--gray-100);}

/* ---------- Card grid (existing customers) ---------- */
.sg-card-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:24px;
  margin-top:28px;
}
.sg-card-grid.sg-card-grid-single{
  grid-template-columns:1fr;
  max-width:600px;
  margin-left:auto;
  margin-right:auto;
}
@media (max-width:720px){
  .sg-card-grid{grid-template-columns:1fr;}
}
.sg-card{
  background:var(--white);
  border:1px solid var(--gray-300);
  border-radius:var(--radius);
  padding:32px;
  display:flex;
  flex-direction:column;
}
.sg-card h3{font-size:18px;color:var(--navy);}
.sg-card .sg-tag{
  display:inline-block;
  align-self:flex-start;
  font-size:12px;
  font-weight:700;
  color:var(--navy);
  background:var(--blue-pale);
  padding:3px 10px;
  border-radius:var(--radius);
  margin-bottom:12px;
}
.sg-card p{color:var(--text);font-size:14px;}
.sg-card .sg-condition{
  font-size:13px;
  color:var(--gray-600);
  border-top:1px dashed var(--gray-300);
  padding-top:14px;
  margin:auto 0 18px;
}
.sg-example-list{
  list-style:none;
  margin:0;
  padding:0;
}
.sg-example-list li{
  position:relative;
  padding-left:16px;
  font-size:13px;
  color:var(--gray-600);
  margin-bottom:6px;
}
.sg-example-list li::before{
  content:"・";
  position:absolute;
  left:0;
  color:var(--blue);
}

.sg-section-head p.sg-small-note{
  font-size:12px;
  color:var(--gray-600);
  text-align:center;
  margin-top:-8px;
}

/* ---------- Subsidy banner ---------- */
.sg-subsidy-banner{
  display:flex;
  align-items:center;
  gap:24px;
  background:var(--blue-pale);
  border-radius:var(--radius);
  padding:24px 28px;
  margin-top:24px;
  flex-wrap:wrap;
}
.sg-subsidy-icon{
  width:48px;height:48px;
  border-radius:var(--radius);
  background:var(--white);
  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
}
.sg-subsidy-icon .sg-icon{width:26px;height:26px;color:var(--blue);}
.sg-subsidy-text{flex:1 1 320px;min-width:240px;}
.sg-subsidy-text strong{color:var(--navy);font-size:16px;}
.sg-subsidy-text p{font-size:13px;color:var(--text);margin:6px 0 0;}
.sg-subsidy-banner .sg-btn{flex-shrink:0;}
@media (max-width:720px){
  .sg-subsidy-banner{padding:22px;}
  .sg-subsidy-banner .sg-btn{width:100%;justify-content:center;}
}

/* ---------- Support center block ---------- */
.sg-support-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px;
  margin:24px 0 20px;
  align-items:stretch;
}
.sg-contact-col{
  display:flex;
  flex-direction:column;
  gap:12px;
}
@media (max-width:720px){
  .sg-support-grid{grid-template-columns:1fr;}
}
.sg-contact-row{
  display:flex;
  align-items:center;
  gap:12px;
  background:var(--white);
  border:1px solid var(--gray-300);
  border-radius:var(--radius);
  padding:16px 20px;
  font-size:15px;
}
.sg-contact-row .sg-icon{color:var(--blue);width:20px;height:20px;}
.sg-contact-sub{font-size:12px;color:var(--gray-600);white-space:nowrap;}
.sg-note{
  font-size:13px;
  color:var(--text);
  background:var(--blue-light);
  border-radius:var(--radius);
  padding:14px 18px;
  margin-top:20px;
}

/* ---------- AI support showcase ---------- */
.sg-ai-showcase{
  display:flex;
  align-items:center;
  gap:24px;
  background:var(--blue-light);
  border-radius:var(--radius);
  padding:24px 28px;
  margin-top:20px;
  flex-wrap:wrap;
}
.sg-ai-showcase-icon{
  width:56px;height:56px;
  border-radius:var(--radius);
  flex-shrink:0;
  border:1px solid var(--gray-300);
}
.sg-ai-showcase-text{flex:1 1 240px;min-width:200px;}
.sg-ai-showcase-text strong{color:var(--navy);}
.sg-ai-showcase-text p{font-size:13px;color:var(--text);margin:6px 0 0;}
.sg-ai-showcase-shot{
  width:150px;
  height:auto;
  border-radius:var(--radius);
  border:1px solid var(--gray-300);
  flex-shrink:0;
  display:block;
}
@media (max-width:600px){
  .sg-ai-showcase{justify-content:center;text-align:center;}
  .sg-ai-showcase-text{text-align:left;}
}

/* ---------- Comparison table ---------- */
.sg-table-scroll{overflow-x:auto;}
table.sg-table{
  width:100%;
  border-collapse:collapse;
  min-width:640px;
  background:var(--white);
  border-radius:var(--radius);
  overflow:hidden;
}
table.sg-table th,table.sg-table td{
  padding:16px 18px;
  text-align:left;
  font-size:14px;
  border-bottom:1px solid var(--gray-300);
}
table.sg-table thead th{
  background:var(--blue);
  color:var(--white);
  font-weight:700;
}
table.sg-table tbody tr:last-child td{border-bottom:none;}
table.sg-table tbody tr:nth-child(even){background:var(--gray-100);}

/* ---------- FAQ ---------- */
.sg-faq{max-width:760px;margin:0 auto;}
details.sg-faq-item{
  background:var(--white);
  border:1px solid var(--gray-300);
  border-radius:var(--radius);
  padding:4px 20px;
  margin-bottom:12px;
}
details.sg-faq-item summary{
  cursor:pointer;
  list-style:none;
  padding:16px 0;
  font-weight:700;
  font-size:15px;
  color:var(--navy);
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
}
details.sg-faq-item summary::-webkit-details-marker{display:none;}
.sg-faq-toggle{
  position:relative;
  width:16px;height:16px;
  flex-shrink:0;
}
.sg-faq-toggle::before,.sg-faq-toggle::after{
  content:"";
  position:absolute;
  background:var(--blue);
  transition:opacity .15s ease;
}
.sg-faq-toggle::before{
  top:50%;left:0;
  width:16px;height:2px;
  transform:translateY(-50%);
}
.sg-faq-toggle::after{
  left:50%;top:0;
  width:2px;height:16px;
  transform:translateX(-50%);
}
details.sg-faq-item[open] .sg-faq-toggle::after{opacity:0;}
details.sg-faq-item .sg-faq-a{
  color:var(--text);
  font-size:14px;
  padding-bottom:18px;
}
details.sg-faq-item .sg-faq-a a{color:var(--blue);}

/* ---------- Final CTA ---------- */
.sg-final{
  background:var(--navy);
  color:var(--white);
  text-align:center;
}
.sg-final h2{color:var(--white);}
.sg-final p{color:rgba(255,255,255,.92);}
.sg-final .sg-btn-primary{background:var(--blue);}
.sg-final .sg-btn-primary:hover{background:var(--blue-dark);}

/* ---------- misc ---------- */
.sg-center{text-align:center;}
@media (max-width:600px){
  section{padding:44px 0;}
  .sg-panel{padding:24px;}
  .sg-card{padding:24px;}
}
