
:root{
  --text:#263238;
  --sub:#667274;
  --line:#d9e8f5;
  --green:#3f82b8;
  --green-dark:#2f6e9d;
  --green-soft:#eef5fa;
  --yellow:#ffd166;
  --yellow-soft:#fff8e8;
  --coral:#ff8f7a;
  --coral-soft:#fff1ee;
  --bg:#fbfcfb;
  --white:#fff;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  color:var(--text);
  background:var(--bg);
  font-family:-apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif;
  line-height:1.8;
}
a{color:inherit}
.container{max-width:1040px;margin:0 auto;padding:0 24px}

header{
  background:linear-gradient(180deg,#ffffff 0%,#f5faff 100%);
  border-bottom:1px solid var(--line);
}
.nav{
  height:68px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.brand{
  font-size:18px;
  font-weight:700;
  color:var(--green-dark);
}
nav a{
  font-size:14px;
  text-decoration:none;
  margin-left:22px;
  color:#536063;
}
nav a:hover{color:var(--green-dark)}

.hero{
  padding:64px 0 70px;
}
.hero-grid{
  display:grid;
  grid-template-columns:1.08fr .92fr;
  gap:44px;
  align-items:center;
}
.hero .small{
  display:inline-block;
  font-size:14px;
  color:var(--green-dark);
  background:var(--green-soft);
  border-radius:999px;
  padding:6px 12px;
  margin-bottom:16px;
  font-weight:700;
}
.hero h1{
  font-size:42px;
  line-height:1.45;
  margin:0 0 22px;
  color:#2d628a;
  font-weight:700;
  letter-spacing:.01em;
}
.hero p{
  font-size:17px;
  color:#4f5f6d;
  max-width:720px;
  margin:0;
}
.hero .link{
  display:inline-block;
  margin-top:28px;
  color:#fff;
  background:var(--green);
  padding:12px 20px;
  text-decoration:none;
  border-radius:8px;
  font-size:15px;
  font-weight:700;
}
.hero .link:hover{background:var(--green-dark)}
.hero-image-slot{
  min-height:360px;
  border:2px dashed #b3cada;
  border-radius:18px;
  background:
    radial-gradient(circle at 18% 18%,rgba(244,201,107,.38) 0 9%,transparent 10%),
    radial-gradient(circle at 82% 76%,rgba(233,130,110,.20) 0 12%,transparent 13%),
    var(--green-soft);
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  color:#64839b;
  padding:28px;
}
.hero-image-slot strong{display:block;color:var(--green-dark);font-size:17px;margin-bottom:6px}

section{padding:64px 0}
section.soft-green{background:var(--green-soft)}
section.soft-yellow{background:var(--yellow-soft)}
h2{
  font-size:28px;
  margin:0 0 28px;
  color:#2b638f;
  position:relative;
}
h2:after{
  content:"";
  display:block;
  width:42px;
  height:4px;
  background:var(--yellow);
  border-radius:999px;
  margin-top:10px;
}
.lead{color:var(--sub);margin:-14px 0 30px}

.support{
  border-top:1px solid #cbdce8;
  background:#fff;
  border-radius:14px;
  overflow:hidden;
}
.support-item{
  display:grid;
  grid-template-columns:190px 1fr;
  gap:30px;
  padding:24px 26px;
  border-bottom:1px solid #e0eaf1;
}
.support-item:last-child{border-bottom:none}
.support-item strong{
  color:var(--green-dark);
  position:relative;
  padding-left:16px;
}
.support-item strong:before{
  content:"";
  position:absolute;
  left:0;
  top:.72em;
  width:7px;
  height:7px;
  background:var(--yellow);
  border-radius:50%;
}

.case{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:36px;
  align-items:start;
  margin:44px 0;
}
.case-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:16px;
  padding:16px;
  box-shadow:0 8px 24px rgba(62,105,140,.07);
}
.case img{
  width:100%;
  display:block;
  border-radius:10px;
}
.case .text{
  padding-top:8px;
}
.case .text p{margin:0 0 14px}
.caption{font-size:12px;color:#888;margin-top:8px}

.price-table{
  width:100%;
  border-collapse:separate;
  border-spacing:0;
  background:#fff;
  border:1px solid #eadcab;
  border-radius:14px;
  overflow:hidden;
}
.price-table th,.price-table td{
  border-bottom:1px solid #eee6c9;
  padding:18px;
  text-align:left;
}
.price-table tr:last-child th,
.price-table tr:last-child td{border-bottom:none}
.price-table th{
  width:40%;
  background:#fff9e8;
  color:#6e5c2f;
}
.price-note{
  margin-top:16px;
  color:#555;
  background:#fff;
  border-left:5px solid var(--coral);
  padding:14px 16px;
  border-radius:8px;
}

.flow{
  display:grid;
  grid-template-columns:1fr;
  gap:12px;
}
.flow-row{
  display:grid;
  grid-template-columns:58px 1fr;
  gap:18px;
  padding:18px 20px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:12px;
}
.flow-row .num{
  width:36px;
  height:36px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:var(--coral-soft);
  color:#b45343;
  font-weight:700;
}

.profile{
  background:#fff;
  border:1px solid var(--line);
  border-radius:14px;
  padding:28px;
}

.contact{
  border:1px solid #cbdce8;
  padding:32px;
  background:#fff;
  border-radius:16px;
  box-shadow:0 8px 24px rgba(62,105,140,.07);
}
.contact a{
  display:inline-block;
  margin-top:18px;
  padding:12px 20px;
  background:var(--green);
  color:#fff;
  text-decoration:none;
  border-radius:8px;
  font-weight:700;
}
.contact a:hover{background:var(--green-dark)}

footer{
  border-top:1px solid var(--line);
  padding:28px 0;
  color:#777;
  font-size:13px;
  background:#fff;
}

@media(max-width:760px){
  nav{display:none}
  .hero{padding:48px 0 52px}
  .hero-grid{grid-template-columns:1fr;gap:28px}
  .hero h1{font-size:32px}
  .hero-image-slot{min-height:240px}
  section{padding:48px 0}
  .support-item,.case,.flow-row{grid-template-columns:1fr}
  .support-item{gap:8px}
  .flow-row{gap:8px}
}

/* ---- Subpage-only additions. v7 home styles above remain untouched. ---- */
.subpage .page-head{padding:48px 0 34px;background:linear-gradient(180deg,#ffffff 0%,#f5faff 100%);border-bottom:1px solid var(--line)}
.subpage .page-head h1{font-size:36px;line-height:1.4;margin:0 0 10px;color:#2d628a}
.subpage .page-head p{color:var(--sub);max-width:760px;margin:0}
.subpage .panel{background:#fff;border:1px solid var(--line);border-radius:14px;padding:28px}
.subpage .text-link{color:var(--green-dark);font-weight:700;text-decoration:none}
.subpage .text-link:hover{text-decoration:underline}
.subpage .cta-row{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}
.subpage .cta-row a{display:inline-block;padding:12px 20px;background:var(--green);color:#fff;text-decoration:none;border-radius:8px;font-weight:700}
.subpage .cta-row a.secondary{background:#fff;color:var(--green-dark);border:1px solid var(--green-dark)}
.subpage .three{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.subpage .c9{background:#fff;border:1px solid var(--line);border-radius:14px;padding:22px}
.subpage .c9 .item{padding:9px 0;border-top:1px solid #e8eef4}
.subpage .c9 .item b{display:block;color:var(--green-dark)}
.subpage .info-table{width:100%;border-collapse:separate;border-spacing:0;background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden}
.subpage .info-table th,.subpage .info-table td{padding:16px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}
.subpage .info-table tr:last-child th,.subpage .info-table tr:last-child td{border-bottom:none}
.subpage .info-table th{width:36%;background:#f5f9fc;color:#315f80}
.subpage .notice{background:#fff;border-left:5px solid var(--coral);padding:15px 17px;border-radius:8px}
.subpage details{border-bottom:1px solid var(--line);padding:14px 0}
.subpage summary{cursor:pointer;font-weight:700;color:#315f80}
.subpage details p{margin:9px 0 0;color:#5d6870}
.subpage .blog-list{border-top:1px solid var(--line)}
.subpage .blog-item{display:grid;grid-template-columns:110px 140px 1fr;gap:16px;padding:16px 0;border-bottom:1px solid var(--line);text-decoration:none}
.subpage .tag{display:inline-block;background:var(--green-soft);color:var(--green-dark);font-size:12px;padding:3px 9px;border-radius:999px}
.subpage .form-card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:26px}
.subpage .two{display:grid;grid-template-columns:1fr 1fr;gap:30px}
.subpage label{display:block;font-weight:700;margin:13px 0 6px}
.subpage input,.subpage select,.subpage textarea{width:100%;padding:11px 12px;border:1px solid #cddbe6;border-radius:8px;background:#fff;font:inherit}
.subpage textarea{min-height:120px}
.subpage .status{display:none;margin-top:14px;padding:12px 14px;border-radius:8px}
.subpage .status.ok{display:block;background:#edf7f4;color:#316e63;border:1px solid #bfddd7}
.subpage .status.err{display:block;background:#fff0ed;color:#974d40;border:1px solid #f0c0b7}
.subpage .check{display:flex;gap:9px;align-items:flex-start;margin:9px 0}
.subpage .check input{width:auto;margin-top:6px}
.footer-links{display:flex;gap:15px;flex-wrap:wrap}
.footer-links a{text-decoration:none}
@media(max-width:760px){
  .subpage .three,.subpage .two,.subpage .blog-item{grid-template-columns:1fr}
}

.subpage .blog-toolbar{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 22px}
.subpage .blog-filter{border:1px solid var(--line);background:#fff;color:#52606b;padding:8px 12px;border-radius:999px;cursor:pointer;font:inherit}
.subpage .blog-filter.active{background:var(--green);color:#fff;border-color:var(--green)}
.subpage .article-meta{display:flex;gap:10px;flex-wrap:wrap;font-size:13px;color:#7a858d;margin-bottom:22px}
.subpage .article-body{max-width:760px}
.subpage .article-body h2{margin-top:44px}
.subpage .article-body p{line-height:2}
.subpage .article-card{display:block;text-decoration:none;padding:18px 0;border-bottom:1px solid var(--line)}
.subpage .article-card:hover h3{color:var(--green-dark)}
.subpage .article-card h3{margin:5px 0 5px}
.subpage .article-card p{margin:0;color:var(--sub)}

/* ---- Home completion additions. v7 visual language preserved. ---- */
.home-text-link{color:var(--green-dark);font-weight:700;text-decoration:none}
.home-text-link:hover{text-decoration:underline}
.price-examples{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:18px}
.price-examples>div{background:#fff;border:1px solid #eadcab;border-radius:12px;padding:18px}
.price-examples strong{display:block;color:#6e5c2f;margin-bottom:5px}
.price-examples span{display:block;font-size:22px;font-weight:700;color:#2d628a}
.price-examples small{display:block;color:#777;margin-top:3px}
.home-blog-list{border-top:1px solid var(--line);margin-bottom:18px}
.home-blog-list a{display:grid;grid-template-columns:110px 120px 1fr;gap:14px;align-items:center;padding:16px 0;border-bottom:1px solid var(--line);text-decoration:none}
.home-blog-list time{font-size:13px;color:#7a858d}
.home-tag{display:inline-block;width:max-content;background:var(--green-soft);color:var(--green-dark);font-size:12px;padding:3px 9px;border-radius:999px}
.home-blog-list a:hover strong{color:var(--green-dark)}
.home-faq{background:#fff;border:1px solid var(--line);border-radius:14px;padding:0 24px;margin-bottom:18px}
.home-faq details{border-bottom:1px solid var(--line);padding:16px 0}
.home-faq details:last-child{border-bottom:none}
.home-faq summary{cursor:pointer;font-weight:700;color:#315f80}
.home-faq p{margin:9px 0 0;color:#5d6870}
@media(max-width:760px){
  .price-examples{grid-template-columns:1fr}
  .home-blog-list a{grid-template-columns:1fr;gap:5px}
}

/* ---- v38: top page hero CTA row + feature strip. New classes only. ---- */
.home-hero-copy h1{text-wrap:balance}
.subpage .page-head h1{text-wrap:balance}
.home2-cta-row{
  display:flex;
  align-items:center;
  gap:20px;
  flex-wrap:wrap;
  margin-top:26px;
}
.home2-cta-row .link{margin-top:0}
.home2-link-secondary{
  color:var(--green-dark);
  font-weight:700;
  text-decoration:none;
  font-size:15px;
  border-bottom:1px solid var(--green-dark);
  padding-bottom:2px;
}
.home2-link-secondary:hover{color:var(--green);border-color:var(--green)}

.home2-feature-strip{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:16px;
  padding-bottom:40px;
}
.home2-feature-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:14px;
  padding:22px 20px;
  box-shadow:0 8px 20px rgba(62,105,140,.06);
  text-align:left;
}
.home2-icon{
  width:38px;
  height:38px;
  color:var(--green-dark);
  margin-bottom:12px;
}
.home2-icon svg{width:100%;height:100%}
.home2-feature-card strong{
  display:block;
  color:var(--green-dark);
  font-size:15px;
  margin-bottom:6px;
}
.home2-feature-card span{
  display:block;
  color:#5d6870;
  font-size:13.5px;
  line-height:1.7;
}
@media(max-width:760px){
  .home2-cta-row{gap:14px;margin-top:20px}
  .home2-feature-strip{grid-template-columns:1fr;gap:12px;padding-bottom:30px}
  .home2-feature-card{padding:18px 18px}
}

.home2-feature-card a.home2-card-link{display:block;margin-top:10px;font-size:13px;font-weight:700;color:var(--green-dark);text-decoration:none}
@media(max-width:960px){.home2-feature-strip{grid-template-columns:repeat(2,1fr)}}
@media(max-width:760px){.home2-feature-strip{grid-template-columns:1fr}}
