
/* Hero */
.hero{padding:30px 0 28px;background:linear-gradient(180deg,#ffffff 0%,#f5f6f1 100%);border-bottom:1px solid #e3eeeb}
.hero-grid{display:grid;grid-template-columns:1fr;gap:40px;align-items:center;position:relative;min-height:520px}
.hero-copy{position:relative;z-index:2}
.hero h1{font-size:clamp(30px,3vw,50px);line-height:1.12;color:var(--deep);margin:6px 0 12px;opacity:0;animation:slideInRight .85s ease-out 0s forwards;background:rgba(255,255,255,.68);padding:10px 14px;border-radius:12px;display:inline-block;width:100%;-webkit-box-decoration-break:clone;box-decoration-break:clone;position:relative;z-index:2;} /* // Updated animation slower */
.hero h1 .break{display:block}
.hero h1 .ai-first{color:var(--accent);font-weight:900; padding-left: 5%; font-size: 75px; font-family: initial;position: sticky;z-index:1;opacity:0;
  animation:slideInRight 1.15s ease-out .1s forwards;} /* // Updated slower */
.hero h1 .ai-second{color:var(--accent);font-weight:900;position: sticky;z-index:1;opacity:0;animation:slideInRight 1.05s ease-out .32s forwards;} /* // Updated slower */
.hero h1 .ai{margin-top:0%;} 
.hero h1 .ai-border{opacity:0;animation:slideInRight 1.5s ease-out .8s forwards;} /* // Updated slower */
.hero .illus-card img{opacity:0;animation:slideInLeft 1.15s ease-out .12s forwards;} /* // Updated slower */
.hero-illus{position:absolute;right:0;left:auto;top:54%;transform:translateY(-50%);width:min(520px,60%);height:auto;background:transparent;border:none;box-shadow:none;padding:0;display:grid;place-items:center;z-index:1;pointer-events:none}
.hero-illus img{width:100%;height:auto;opacity:.45;animation:slideInLeftSoft 1.15s ease-out .12s forwards}
@keyframes slideInRight{ 
  from{transform:translateX(-14px);opacity:0;}
  to{transform:translateX(0);opacity:1;}
}
@keyframes slideInLeft{ 
  from{transform:translateX(14px);opacity:0;}
  to{transform:translateX(0);opacity:1;}
}
@keyframes slideInLeftSoft{
  from{transform:translateX(14px);opacity:0;}
  to{transform:translateX(0);opacity:.45;}
}
.hero p{font-size:clamp(15px,2vw,18px);color:#3a4b49}
.hero .cta{margin-top:18px;display:flex;gap:12px;flex-wrap:wrap;justify-content:left}
.cta-second{margin:18px;display:flex;gap:12px;flex-wrap:wrap;justify-content:center}
.illus-card{background:var(--white);border:1px solid #e1ecea;border-radius:24px;padding:18px;box-shadow:var(--shadow)}
section{padding:64px 0}
.section-title{text-align:center;margin:0 0 18px;color:var(--deep);font-weight:900}
.section-sub{text-align:center;color:var(--deep);font-weight:700;opacity:.95}
.bg-0{background:#ffffff}
.bg-1{background:#f5f6f1}
.bg-2{background:#ffffff}
/* Problems */
.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.card{background:var(--white);border:1px solid #e1ecea;border-radius:var(--radius);padding:20px;box-shadow:var(--shadow)}
.card h3{margin:8px 0 6px;font-size:22px;place-self: center;}
.muted{place-self: center;}
#strengths .section-title,#who .section-title,#compare .section-title,#before-after .section-title,
#problems .section-title,#pricing .section-title,#setup-fee .section-title,#faq .section-title{font-size:clamp(30px,4.4vw,38px);text-align:center;display:inline-block;margin-left:auto;margin-right:auto;} 
#strengths{position:relative;text-align:center;} 
#who{text-align:center;} 
#compare{text-align:center;} 
#before-after{text-align:center;} 
#problems{text-align:center;} 
#pricing{text-align:center;} 
#setup-fee{text-align:center;} 
#faq{text-align:center;} 
#faq .faq{max-width:840px;margin:0 auto;text-align:left;} 
/* Overview */
#features .section-title{font-size:clamp(34px,6vw,64px);margin-bottom:6px}
#features .section-sub{font-size:clamp(17px,3vw,32px);margin-top:0}
.overview-wrap{border:2px solid var(--deep);border-radius:22px;padding:28px;background:#fff;margin:12px 0 26px}
.overview{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.overview-item{text-align:center;padding:12px 8px}
.overview-icon{color:var(--accent);width:170px;height:170px;border-radius:50%;background:#eaf7f2;margin:0 auto 14px;display:flex;align-items:center;justify-content:center;font-weight:800}
.overview-head{margin:0 0 8px;font-size:clamp(18px,2.6vw,28px);color:var(--mint);font-weight:900}
.overview-desc{margin:0;font-size:14px;color:#3b4e51;line-height:1.7}
/* Feature rows */
.feature{display:grid;grid-template-columns:1fr 1fr;gap:28px;align-items:center;margin-top:16px;padding:28px;background:#ffffff;border-radius:22px;border:1px solid #dceae7}
.feature-second{display:grid;gap:28px;align-items:center;padding:28px;background:#ffffff;border-radius:22px;border:1px solid #dceae7}
.feature .badge{display:inline-block;background:#eaf7f2;color:var(--deep);padding:8px 14px;border-radius:999px;font-size:15px;font-weight:800;letter-spacing:.04em}
.feature h3{margin:8px 0 6px;color:var(--deep);font-size:28px;font-weight:900}
.feature ul{margin:8px 0 0 18px}
.feature-image-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.feature-image-grid > div{display:flex;flex-direction:column;align-items:center;gap:8px;padding:10px;border-radius:14px;background:#fbfbf8;border:1px solid #e6eeec}
.feature-image-label{font-weight:800;font-size:14px;color:var(--deep);text-align:center;letter-spacing:.04em}
.feature-image-grid img{width:100%;height:auto;border-radius:12px;border:1px solid #e1ecea;background:#fff}
.callout-list{list-style:none;margin:10px 0 0;padding:0}
.callout-list li{border:1px solid #dfe4de;background:#fbfbf8;border-radius:12px;padding:8px 10px;margin-top:8px}
#features .feature{opacity:0} 
#features .feature:nth-of-type(1){animation:slideInLeft 1s ease-out .1s forwards;} 
#features .feature:nth-of-type(2){animation:slideInRight 1s ease-out .25s forwards;} 
#features .feature:nth-of-type(3){animation:slideInLeft 1s ease-out .4s forwards;} 
#features .feature:nth-of-type(4){animation:slideInRight 1s ease-out .55s forwards;} 
#features .feature:nth-of-type(5){animation:slideInRight 1s ease-out .55s forwards;} 
#features .feature-second{opacity:0;animation:slideInLeft 1s ease-out .4s forwards;} 
/* Pricing v2 */
#pricing .p2-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:35px}
#pricing .p2-card{z-index:20;;position:relative;background:#fff;border:1px solid #e1ecea;border-radius:22px;padding:22px;box-shadow:var(--shadow);display:flex;flex-direction:column;min-height:560px;transition:transform .2s,box-shadow .2s,outline .2s;outline:2px solid transparent}
#pricing .p2-card:hover{transform:translateY(-2px);box-shadow:0 16px 34px rgba(0,0,0,.10)}
#pricing .p2-head{z-index:20;text-align:center}
#pricing .p2-name{font-weight:900;color:var(--deep);margin:0 0 4px}
#pricing .p2-price{font-weight:900;font-size:28px;color:var(--deep);z-index:10;}
#pricing .p2-sub{margin-top:6px;font-size:12px;color:#586b6e}
#pricing .p2-features{margin:16px 0;padding:12px 0;border-block:1px dashed #e6eeec;flex:1; text-align-last: left;}
#pricing .p2-features li{list-style:none;display:flex;gap:10px;align-items:flex-start;padding:10px 2px;font-size:14px;border-bottom:1px solid #f1f2f4}
#pricing .p2-features li:last-child{border-bottom:none}
#pricing .p2-ico{width:18px;height:18px;flex:0 0 18px;margin-top:2px}
#pricing .p2-ok{color:#0f766e}
#pricing .p2-no{color:#9ca3af}
#pricing .p2-btn{margin-top:auto;align-self:center}
#pricing .p2-note{margin-top:10px;font-size:12px;color:#607274;text-align:center}
#pricing .p2-card.is-main{outline:3px solid var(--accent);box-shadow:0 16px 40px rgba(229,125,0,.25);transform:translateY(-6px) scale(1.03);z-index:2}
#pricing .p2-card.is-main .p2-name,#pricing .p2-card.is-main .p2-price{color:var(--accent)}
#pricing .p2-badge{position:absolute;left:50%;transform:translateX(-50%);top:-14px;background:var(--accent);color:#fff;font-weight:800;font-size:12px;padding:6px 12px;border-radius:999px;box-shadow:0 8px 18px rgba(229,125,0,.35);letter-spacing:.06em}
#pricing .p2-cta-main{background:linear-gradient(90deg,var(--accent),#ffb86a);color:#fff;border:2px solid transparent}
#pricing .p2-cta-main:hover{filter:brightness(1.05);box-shadow:0 10px 24px rgba(229,125,0,.35);transform:translateY(-1px)}
/* FAQ */
.faq{display:grid;gap:10px}
details{border:1px solid #e1ecea;border-radius:12px;background:#fff}
details[open]{box-shadow:var(--shadow)}
summary{list-style:none;padding:14px 16px;cursor:pointer;font-weight:700;color:var(--deep)}
summary::-webkit-details-marker{display:none}
details .content{padding:0 16px 16px;color:#39514d}
/* Added: new sections layout */
#strengths .cards,#who .cards,#compare .cards{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));}
#strengths .card,#who .card,#compare .card{min-height:160px}
#before-after .feature{background:#fbfbf8;border-color:#e6eeec}
#before-after .badge,#strengths .section-title,#who .section-title,#compare .section-title{display:inline-block}
#before-after .feature .badge{margin-bottom:6px}
.strengths-highlight{border-left:6px solid var(--accent);padding-left:10px;} 
#strengths{position:relative;} 
#strengths .section-title{padding:6px 14px;background:#fff7ed;border:1px solid #ffe8ce;border-radius:12px;box-shadow:0 8px 20px rgba(0,0,0,.06);} 
#strengths .cards{gap:22px;} 
#strengths .card{border:1px solid #ffe0ba;box-shadow:0 12px 28px rgba(0,0,0,.05);} 
#strengths .card h3{color:var(--deep);} 
#before-after .feature{box-shadow:0 14px 32px rgba(0,0,0,.06);} 
#before-after .feature > div{background:#fff;border-radius:14px;padding:18px;border:1px solid #e8efe9;} 
#before-after .feature > div:first-child{background:#fff7ed;border-left:5px solid var(--accent);} 
#before-after .feature > div:last-child{background:#f2fbf6;border-left:5px solid var(--brand);} 
#before-after .badge{background:#fff;border:1px solid #dfe4de;color:var(--deep);} 
.compare-table{display:grid;gap:10px;margin-top:18px} 
.compare-row{display:grid;grid-template-columns:repeat(5,1fr);gap:6px;align-items:center;padding:12px 14px;border:1px solid #e1ecea;border-radius:12px;background:#fff} 
.compare-head{background:#f5f6f1;font-weight:800} 
.floating-cta{position:fixed;right:18px;bottom:18px;display:grid;gap:10px;z-index:50;} 
.floating-cta .btn{min-width:160px;box-shadow:0 10px 24px rgba(0,0,0,.12);} 
/* Demo modal */
.modal{position:fixed;inset:0;display:none;place-items:center;z-index:200}
.modal.is-open{display:grid}
.modal__overlay{position:absolute;inset:0;background:rgba(0,0,0,.55)}
.modal__dialog{position:relative;background:#fff;border-radius:18px;max-width:min(900px,92vw);width:100%;padding:18px;box-shadow:0 20px 60px rgba(0,0,0,.25)}
.modal__body{aspect-ratio:16/9;background:#000;border-radius:12px;overflow:hidden}
.modal__body video{width:100%;height:100%}
.modal__close{position:absolute;top:10px;right:10px;width:36px;height:36px;border-radius:50%;border:1px solid #dfe4de;background:#fff;font-size:20px;line-height:1;cursor:pointer}
/* Responsive */
@media (max-width:960px){
  .hero-grid{grid-template-columns:1fr}
  .cards{grid-template-columns:1fr}
  .overview{grid-template-columns:1fr}
  .feature{grid-template-columns:1fr}
  .feature-image-grid{grid-template-columns:1fr}
  #pricing .p2-grid{grid-template-columns:1fr}
}

.strong-message {
    font-family: serif;
    font-size: 5vh;
    text-wrap-mode: nowrap;
}

.hero h1 .ai-border {
  display: flex;
  position: sticky;
  margin-top: -1%;
  width: 100%;
  height: 15px;              /* 線の太さ */
  background: linear-gradient(
    40deg,                   /* 傾き角度：上向きの斜め線 */
    transparent 40%,
    var(--brand,0.5) 20%,  /* ブランドカラー */
    /* rgba(255, 165, 0, 0.5) 20%,  オレンジ半透明 */
    transparent 85%
  );
  pointer-events: none;
  transform-origin: left bottom;
  transform: rotate(-3deg); /* 線の傾きを微調整 */
  z-index: 0;
}

.head-first {
    font-weight: 900;
    font-size: 1rem;
    color: var(--deep);
    position: relative;
    z-index: 1;
}
.head-second {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--deep);
    position: relative;
    z-index: 1;
}
.head-third {
    font-weight: 800;
    font-size: 1rem;
    color: var(--deep);
    position: relative;
    z-index: 1;
}
