@charset "UTF-8";

/* =========================================================
   湘南ITサポート LP ／ ロックスミス
   青系・爽やか・信頼  —  static HTML + vanilla CSS
   ========================================================= */

:root{
  /* =========================================================
     Design tokens — source of truth: .cursor/skills/design-system/SKILL.md
     ========================================================= */
  /* typography */
  --font-family-stack:"Noto Sans JP",-apple-system,"Hiragino Kaku Gothic ProN",Meiryo,sans-serif;
  --font-size-base:16px;
  --font-weight-base:400;
  --font-line-height-base:1.7;
  --font-weight-regular:400;
  --font-weight-medium:500;
  --font-weight-bold:700;
  --font-size-xs:12px;
  --font-size-sm:14px;
  --font-size-md:16px;
  --font-size-lg:18px;
  --font-size-xl:20px;
  --font-size-2xl:24px;
  --font-size-3xl:30px;
  --font-size-4xl:36px;

  /* color — surfaces / brand / text / border */
  --color-surface-base:#ffffff;
  --color-surface-muted:#cfedfa;
  --color-surface-strong:#3fb8ec;
  --color-brand-primary:#3fb8ec;
  --color-brand-strong:#1e78c4;
  --color-brand-text:#175a8a;
  --color-text-primary:#333333;
  --color-text-secondary:#666666;
  --color-text-muted:#8e8e8e;
  --color-text-inverse:#ffffff;
  --color-border-subtle:#e5e5e5;
  --color-border-strong:#1e78c4;

  /* spacing (4px base) */
  --space-1:4px; --space-2:8px; --space-3:12px; --space-4:16px;
  --space-5:20px; --space-6:24px; --space-7:32px; --space-8:40px;

  /* radius */
  --radius-xs:4px; --radius-sm:8px; --radius-md:12px; --radius-lg:16px; --radius-pill:999px;

  /* shadow */
  --shadow-button:rgb(23, 85, 138) 0px 4px 0px 0px;
  --shadow-card:none;
  --shadow-card-hover:none;

  /* motion */
  --motion-instant:100ms; --motion-fast:200ms; --motion-normal:300ms;
  --motion-easing:cubic-bezier(0.4, 0, 0.2, 1);

  /* =========================================================
     Semantic aliases (components consume these)
     ========================================================= */
  --blue:var(--color-brand-strong);
  --blue-d:var(--color-brand-text);
  --navy:var(--color-brand-text);
  --ink:var(--color-text-primary);
  --sub:var(--color-text-secondary);
  --line:var(--color-border-subtle);
  --line-2:#cdd6de;
  --bg:var(--color-surface-base);
  --bg-2:#f3fbfe;
  --sky:var(--color-surface-muted);
  --sky-2:#e7f7fd;

  /* success / trust accents — LP requirement, kept outside the brand palette */
  --green:#1f7a45;
  --green-d:#15512f;
  --green-bg:#e9f7ef;
  --green-line:#b7e3c8;
  --highlight:#fff3cd;
  --accent:#ff691f; /* 「0円」など強調用のアクセント */

  /* effects */
  --radius:var(--radius-md);
  --shadow-sm:none;
  --shadow:var(--shadow-card);
  --shadow-lg:var(--shadow-card-hover);
  --grad-cta:linear-gradient(135deg,#1e78c4,#175a8a);

  /* layout */
  --maxw:1120px;
  --header-h:72px;
}

/* ---------- reset ---------- */
*,*::before,*::after{box-sizing:border-box;}
html{scroll-behavior:smooth;scroll-padding-top:90px;-webkit-text-size-adjust:100%;overflow-x:hidden;}
body{
  margin:0;overflow-x:hidden;
  font-family:var(--font-family-stack);
  color:var(--ink);
  background:var(--bg);
  line-height:var(--font-line-height-base);
  font-size:var(--font-size-base);
  font-weight:var(--font-weight-base);
  letter-spacing:.01em;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
img{max-width:100%;height:auto;display:block;}
a{color:inherit;text-decoration:none;}
ul{margin:0;padding:0;list-style:none;}
h1,h2,h3,h4,h5{margin:0;line-height:1.45;font-weight:700;}
button{font-family:inherit;cursor:pointer;}
.en{font-family:var(--font-family-stack);}

/* ---------- layout helpers ---------- */
.container{max-width:var(--maxw);margin:0 auto;padding:0 24px;}
.section{padding:84px 0;}
.section--tint{background:var(--bg-2);}
.section--sky{background:linear-gradient(180deg,var(--sky-2),#ffffff);}

.section-head{text-align:center;max-width:680px;margin:0 auto clamp(56px,6vw,80px);}
.kicker{
  display:inline-block;font-weight:600;
  font-size:13px;letter-spacing:.22em;color:var(--blue-d);margin-bottom:10px;
}
.section-title{
  font-family:"Zen Kaku Gothic New",var(--font-family-stack);
  font-size:clamp(18px,2.7vw,23px);font-weight:700;color:var(--blue);
  letter-spacing:.02em;line-height:1.55;
}
.section-title .accent{color:var(--blue);}
/* section head: big English kicker, JP title below, then wave shape */
.section-head .kicker{
  display:block;font-family:"Montserrat",var(--font-family-stack);font-weight:800;color:var(--navy);
  font-size:clamp(28px,4.4vw,44px);letter-spacing:.04em;line-height:1.05;margin-bottom:8px;
}
.section-title::after{
  content:"";display:block;width:112px;height:14px;margin:18px auto 0;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 585.72 72.62'%3E%3Cpath fill='%231e78c4' d='M583.54,18.65c-.49-.6-2.59.07-3.42.48-44.07,21.98-92.67,17.1-128.77-18.24-1.08-1.06-2.77-1.18-3.98-.28-17.27,12.84-35.49,22.11-56.01,27.26-34.48,8.65-69.23-.67-94.71-25.43-.88-.86-2.79-2.64-3.78-2.08-.99-.56-2.9,1.22-3.78,2.08-25.48,24.75-60.23,34.08-94.71,25.43-20.52-5.15-38.75-14.43-56.01-27.26-1.22-.91-2.9-.78-3.98.28C98.27,36.22,49.67,41.1,5.6,19.12c-.82-.41-2.93-1.07-3.42-.48l-2.19,2.66.05,22.13c0,3.15,1.42,6.14,3.88,8.11,6.45,5.18,13.16,9.71,20.71,13.34,32.97,15.84,69.07,5.83,96.43-16.59l13.36-10.94c49.16,48.13,108.29,40.65,158.43-.5,50.14,41.14,109.27,48.62,158.43.5l13.36,10.94c27.36,22.42,63.46,32.43,96.43,16.59,7.55-3.63,14.26-8.16,20.71-13.34,2.46-1.97,3.87-4.97,3.88-8.11l.05-22.13-2.19-2.66Z'/%3E%3C/svg%3E") no-repeat center/contain;
}
.section-lead{margin:14px 0 0;color:var(--sub);font-size:15px;line-height:1.8;}
.br-sp{display:none;}
@media (max-width:640px){.br-sp{display:inline;}}

/* =========================================================
   Buttons
   ========================================================= */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  font-weight:700;font-size:16px;line-height:1.3;text-align:center;
  padding:16px 30px;border-radius:var(--radius-pill);border:2px solid transparent;
  transition:transform var(--motion-fast) var(--motion-easing),box-shadow var(--motion-fast) var(--motion-easing),background var(--motion-fast) var(--motion-easing),color var(--motion-fast) var(--motion-easing);
  white-space:nowrap;
}
.btn--primary{
  background:var(--color-brand-strong);color:var(--color-text-inverse);
  box-shadow:var(--shadow-button);
}
.btn--primary:hover{transform:translateY(-2px);box-shadow:rgb(23, 85, 138) 0px 6px 0px 0px;}
.btn--primary:active{transform:translateY(3px);box-shadow:rgb(23, 85, 138) 0px 1px 0px 0px;}
.btn--ghost{
  background:#fff;color:var(--blue-d);border-color:var(--blue);
}
.btn--ghost:hover{background:var(--sky);transform:translateY(-2px);}
.btn--white{
  background:#fff;color:var(--blue-d);
}
.btn--white:hover{transform:translateY(-2px);}
/* hero CTA: yellow + chunky 3D shadow (header-style) */
.btn--cta{
  background:#ffea20;color:var(--navy);box-shadow:#d4a900 0px 4px 0px 0px;
}
.btn--cta:hover{transform:translateY(-2px);box-shadow:#d4a900 0px 6px 0px 0px;}
.btn--cta:active{transform:translateY(3px);box-shadow:#d4a900 0px 1px 0px 0px;}
.btn--lg{padding:18px 40px;font-size:17px;}
.btn--block{display:flex;width:100%;}
.btn__sub{font-weight:500;font-size:12px;opacity:.85;}
.btn-arrow{position:relative;top:0.08em;line-height:1;transition:transform .2s ease;}
.btn:hover .btn-arrow{transform:translateX(3px);}

/* =========================================================
   Header
   ========================================================= */
.header{
  position:fixed;inset:0 0 auto 0;z-index:100;height:var(--header-h);
  display:flex;align-items:center;
  background:#fff;border-bottom:1px solid transparent;
  transition:border-color .25s ease;
}
.header.is-scrolled{border-bottom-color:var(--line);}
.header__inner{display:flex;align-items:center;justify-content:space-between;width:100%;}
.header__logo{display:flex;align-items:center;}
.header__logo img{height:50px;width:auto;}
.header__nav{display:flex;align-items:center;gap:30px;}
.header__nav a{font-size:14px;font-weight:700;color:var(--ink);transition:color .15s ease;}
.header__nav a:hover{color:var(--blue);}
.header__cta .btn{padding:11px 22px;font-size:14px;}
.header__actions{display:flex;align-items:center;gap:18px;}

/* hamburger */
.nav-toggle{
  display:none;width:44px;height:44px;border:none;background:transparent;
  position:relative;border-radius:8px;
}
.nav-toggle span{
  position:absolute;left:11px;right:11px;height:2px;background:var(--navy);border-radius:2px;
  transition:transform .25s ease,opacity .2s ease;
}
.nav-toggle span:nth-child(1){top:15px;}
.nav-toggle span:nth-child(2){top:21px;}
.nav-toggle span:nth-child(3){top:27px;}
.nav-toggle.is-open span:nth-child(1){transform:translateY(6px) rotate(45deg);}
.nav-toggle.is-open span:nth-child(2){opacity:0;}
.nav-toggle.is-open span:nth-child(3){transform:translateY(-6px) rotate(-45deg);}

/* mobile drawer */
.mobile-nav{
  position:fixed;inset:var(--header-h) 0 0 0;z-index:99;
  background:rgba(255,255,255,.98);backdrop-filter:blur(6px);
  padding:28px 24px 40px;
  transform:translateY(-12px);opacity:0;pointer-events:none;
  transition:opacity .22s ease,transform .22s ease;overflow-y:auto;
}
.mobile-nav.is-open{opacity:1;transform:translateY(0);pointer-events:auto;}
.mobile-nav a:not(.btn){
  display:block;padding:16px 6px;font-size:16px;font-weight:600;
  border-bottom:1px solid var(--line);color:var(--navy);
}
.mobile-nav .btn{margin-top:24px;}

/* =========================================================
   Hero / FV
   ========================================================= */
.hero{
  --maxw:1280px;
  position:relative;overflow:hidden;
  padding:0;
  background:
    radial-gradient(900px 480px at 85% 0%,rgba(255,255,255,.18),transparent 60%),
    #3797df;
}
.hero .kicker{
  display:inline-block;color:#fff;background:rgba(255,255,255,.16);
  padding:7px 16px;border-radius:999px;font-size:13px;font-weight:600;
  letter-spacing:.04em;margin-bottom:0;
}
.hero__grid{
  display:flex;align-items:flex-end;gap:40px;
}
.hero__copy{flex:1 1 0;max-width:none;padding:calc(var(--header-h) + 56px) 0 64px;}
.hero__copy .kicker{margin-bottom:18px;}
.hero h1{
  font-size:clamp(28px,4.4vw,44px);font-weight:800;color:#ffffff;
  line-height:1.45;letter-spacing:.005em;margin:14px 0 0;
}
.hero h1 .mark-free{
  display:inline-block;background:#ffea20;color:var(--navy);
  padding:2px 12px;border-radius:0;line-height:1.5;
}
.hero h1 .free-num{
  color:var(--accent);font-size:1.32em;font-weight:800;
  font-family:var(--font-family-stack);letter-spacing:0;
}
.hero__sub{
  font-size:clamp(15px,1.7vw,18px);font-weight:600;color:#eaf4ff;
  margin:22px 0 0;line-height:1.7;
}
.hero__sub .em{
  color:#fff;font-weight:800;background:rgba(255,255,255,.18);
  padding:1px 8px;border-radius:6px;
}
.hero__note{
  position:absolute;bottom:20px;
  font-size:11px;color:rgba(255,255,255,.92);line-height:1.7;margin:0;
  right: 8px;
  text-shadow:0 1px 3px rgba(0,40,80,.5);
}
.hero__cta{margin-top:34px;}
/* CTA上の吹き出し */
.cta-block{display:flex;flex-direction:column;align-items:center;width:100%;}
.cta-bubble{
  position:relative;z-index:2;
  background:var(--navy);color:#fff;font-weight:700;font-size:14px;line-height:1.4;
  padding:7px 20px;border-radius:999px;margin:0 0 -10px 0;
}
.cta-bubble::after{
  content:"";position:absolute;top:100%;left:50%;transform:translateX(-50%);
  border:8px solid transparent;border-top-color:var(--navy);border-bottom:0;
}
/* hero CTA: larger button + button-width centered note */
.hero .btn--cta{width:100%;font-size:22px;font-weight:800;padding:26px 40px;}
.cta-block .hero__cta-note{width:100%;text-align:center;}
.hero__cta-row{display:flex;flex-direction:column;gap:12px;}
.hero__cta-row .btn{width:100%;}
.hero__cta-note{font-size:13px;color:rgba(255,255,255,.85);margin:14px 0 0;}

/* stacked button: small upper label + main label (sbbiz-style) */
.btn--stack{flex-direction:column;gap:2px;padding-top:12px;padding-bottom:12px;line-height:1.3;}
.btn__top{font-size:11.5px;font-weight:600;opacity:.78;letter-spacing:.02em;}
.btn__main{display:inline-flex;align-items:center;gap:8px;font-size:16px;font-weight:700;}

/* light ghost button for colored backgrounds */
.btn--ghost-light{background:transparent;border:2px solid rgba(255,255,255,.6);color:#fff;}
.btn--ghost-light:hover{background:rgba(255,255,255,.14);transform:translateY(-2px);}

/* hero badges */
.hero__badges{
  display:flex;flex-wrap:wrap;justify-content:center;gap:14px;margin-top:40px;
}
.hero__badges img{width:calc(33.333% - 10px);height:auto;display:block;}
@media (max-width:640px){.hero__badges img{width:calc(50% - 7px);}}

/* hero visual — bare photo, enlarged, bleeding to the right edge, flush bottom */
.hero__visual{
  position:relative;flex:1 1 0;min-width:0;align-self:flex-end;
}
/* 画像はカラム幅(=右半分)からさらに画面右端までブリード。カラム分割は50/50を維持 */
.hero-photo{
  display:block;height:700px;width:auto;max-width:none;
}
.hero__visual .badge-seal{
  position:absolute;top:44px;left:56px;z-index:3;
  width:200px;height:auto;
  transform:rotate(-8deg);
  background:#fff;border-radius:50%;
}

/* =========================================================
   01 SOLUTION  (お悩み → 解決策)
   ========================================================= */
/* carousel (Swiper) — full-bleed */
.solution-swiper{
  --swiper-theme-color:var(--blue);
  --swiper-pagination-color:var(--blue);
  --swiper-navigation-color:var(--blue);
  --swiper-pagination-bullet-inactive-color:#c4dcf0;
  --swiper-pagination-bullet-inactive-opacity:1;
  position:relative;width:100vw;margin-left:calc(50% - 50vw);
  padding:6px clamp(20px,5vw,64px) 0;
}
.solution-swiper .swiper-slide{height:auto;}

.sol-card{
  width:100%;height:100%;display:flex;flex-direction:column;
  background:#fff;border:1px solid var(--line);border-radius:var(--radius-lg);
  overflow:hidden;transition:transform .2s ease;
}
.sol-card:hover{transform:translateY(-4px);}
.sol-card__photo{
  aspect-ratio:16/10;overflow:hidden;background:var(--sky);
}
.sol-card__photo img{width:100%;height:100%;object-fit:cover;display:block;}
.sol-card__body{padding:20px 22px 24px;}
.biz-pill{
  display:inline-block;background:var(--blue);color:#fff;font-weight:700;font-size:13px;
  padding:5px 16px;border-radius:999px;margin-bottom:14px;
}
.sol-card__qa + .sol-card__qa{margin-top:14px;}
.qa-label{
  display:inline-flex;align-items:center;gap:5px;font-size:11px;font-weight:700;
  letter-spacing:.04em;margin-bottom:5px;
}
.qa-label--worry{color:var(--sub);}
.qa-label--fix{color:var(--green);}
.sol-card__worry{margin:0;font-weight:700;color:var(--ink);font-size:15.5px;line-height:1.7;}
.sol-card__fix{margin:0;color:#4b5563;font-size:14px;line-height:1.8;}

/* swiper arrows */
.solution-swiper .swiper-button-prev,
.solution-swiper .swiper-button-next{
  top:calc(50% - 22px);width:46px;height:46px;border-radius:50%;
  background:#fff;border:1px solid var(--line-2);
}
.solution-swiper .swiper-button-prev{left:clamp(8px,2.5vw,32px);}
.solution-swiper .swiper-button-next{right:clamp(8px,2.5vw,32px);}
.solution-swiper .swiper-button-prev::after,
.solution-swiper .swiper-button-next::after{font-size:18px;font-weight:900;}

/* swiper pagination dots (below) */
.solution-swiper .swiper-pagination{position:static;margin-top:22px;}
.solution-swiper .swiper-pagination-bullet{width:9px;height:9px;transition:transform .2s ease;}
.solution-swiper .swiper-pagination-bullet-active{transform:scale(1.3);}

/* =========================================================
   02 SERVICE  (icon grid)
   ========================================================= */
.service-grid{
  display:grid;grid-template-columns:repeat(4,1fr);gap:18px;
}
.service-item{
  background:#fff;border:1px solid var(--line);border-radius:var(--radius-lg);
  padding:28px 16px;text-align:center;
  transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;
}
.service-item:hover{transform:translateY(-4px);box-shadow:var(--shadow);border-color:#cfe1fb;}
.service-item__ico{
  width:64px;height:64px;margin:0 auto 14px;border-radius:50%;
  background:var(--sky);color:var(--blue);
  display:flex;align-items:center;justify-content:center;
}
.service-item__ico svg{width:34px;height:34px;}
.service-item p{margin:0;font-size:14.5px;font-weight:700;color:var(--navy);line-height:1.5;}

/* =========================================================
   03 REASON
   ========================================================= */
/* REASON → POINT zigzag */
.points{display:flex;flex-direction:column;gap:clamp(48px,7vw,80px);max-width:1040px;margin:0 auto;}
.point{display:grid;grid-template-columns:1fr 1fr;gap:clamp(28px,5vw,60px);align-items:center;}
.point:nth-child(even) .point__media{order:-1;}
.point__badge{
  display:inline-block;background:var(--navy);color:#fff;font-family:var(--font-family-stack);
  font-weight:700;font-size:13px;letter-spacing:.1em;padding:7px 20px;border-radius:6px;
}
.point__title{
  font-size:clamp(21px,2.5vw,27px);font-weight:800;color:var(--navy);
  line-height:1.55;margin:18px 0 16px;
}
.point__title .accent{color:var(--blue);}
.point__lead{font-size:16px;font-weight:500;color:var(--ink);line-height:1.85;margin:0;}
.mark-y{background:linear-gradient(transparent 58%, #fff34d 58%);font-weight:700;padding:0 2px;}
.point__desc{margin:12px 0 0;color:var(--sub);font-size:14.5px;line-height:1.9;}
.point__cta{margin-top:24px;}
.point__cta .fa-chevron-right{margin-left:10px;font-size:.78em;}
.point__media{
  background:#fff;border:3px solid var(--blue);border-radius:20px;
  padding:clamp(16px,2.5vw,28px);box-shadow:none;
}
.point__media img{display:block;width:100%;height:auto;border-radius:8px;}

/* =========================================================
   04 PRICE
   ========================================================= */
.price-wrap{max-width:920px;margin:0 auto;}
.price-table-cap{
  display:flex;align-items:center;gap:10px;
  font-size:18px;font-weight:800;color:var(--navy);margin:46px 0 18px;
}
.price-table-cap::before{
  content:"\f02c";font-family:"Font Awesome 6 Free";font-weight:900;
  font-size:18px;line-height:1;color:var(--blue);
  display:inline-flex;align-items:center;align-self:center;
}

.ptable{
  width:100%;border-collapse:separate;border-spacing:0;background:#fff;
  border:1px solid var(--line);border-radius:var(--radius-lg);overflow:hidden;
  box-shadow:var(--shadow-sm);font-size:15px;
}
.ptable thead th{
  background:var(--blue);color:#fff;font-weight:700;font-size:14px;
  text-align:left;padding:15px 20px;letter-spacing:.02em;
}
.ptable tbody td{padding:18px 20px;border-top:1px solid var(--line);vertical-align:top;line-height:1.7;}
.ptable .c-name{font-weight:700;color:var(--navy);white-space:nowrap;}
.ptable tbody td:first-child,
.ptable .c-price{vertical-align:middle;}
.ptable .c-lvl{vertical-align:middle;white-space:nowrap;}
.ptable .stars{display:inline-flex;gap:1px;font-size:15px;line-height:1;color:#d8dee4;}
.ptable .stars i{font-style:normal;}
.ptable .stars .on{color:#f5a623;}
.ptable .c-price{font-weight:800;color:var(--blue-d);white-space:nowrap;font-family:var(--font-family-stack);}
.ptable .c-price.is-free{color:var(--green);}
.ptable .c-desc{color:var(--sub);font-size:14px;}
.ptable .anchor-link,.pf-card .anchor-link{
  display:inline-flex;align-items:center;gap:4px;color:var(--blue);
  font-weight:700;white-space:nowrap;margin-top:6px;border-bottom:1px solid transparent;
}
.ptable .anchor-link:hover,.pf-card .anchor-link:hover{border-bottom-color:var(--blue);}

/* price = base + work (addition layout) */
.price-formula{max-width:760px;margin:0 auto;}
.price-formula__free{
  display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;
  font-size:15px;font-weight:700;color:var(--navy);margin:0 0 22px;text-align:center;
}
.pf-free-badge{
  background:#2eab4f;color:#fff;font-size:13px;font-weight:800;
  border-radius:var(--radius-pill);padding:4px 16px;
}
.price-formula__calc{display:flex;align-items:stretch;justify-content:center;gap:18px;}
.pf-card{
  flex:1 1 0;min-width:0;background:#fff;border:3px solid var(--blue);
  border-radius:var(--radius-lg);padding:26px 24px;
  display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center;
}
.pf-card__label{font-size:14px;font-weight:700;color:var(--navy);}
.pf-card__price{
  font-family:var(--font-family-stack);font-size:clamp(28px,4.2vw,36px);
  font-weight:800;color:var(--blue);line-height:1.1;
}
.pf-yen{font-size:.5em;font-weight:700;vertical-align:baseline;margin-left:2px;}
.pf-card__note{font-size:13px;color:var(--sub);line-height:1.7;}
.pf-card .anchor-link{margin-top:8px;justify-content:center;white-space:normal;}
.pf-plus{align-self:center;flex:none;font-size:30px;font-weight:800;color:var(--blue);line-height:1;}
.price-formula__add{margin:20px 0 0;text-align:center;font-size:14px;color:var(--sub);line-height:1.85;}
.price-formula__add b{color:var(--navy);font-weight:800;}
.pf-add-plus{color:var(--blue);font-weight:800;margin-right:4px;}
.pf-add-note{font-size:12.5px;}

/* class badges */
.cls{
  display:inline-block;font-family:var(--font-family-stack);font-weight:700;font-size:13px;
  padding:5px 16px;border-radius:var(--radius-pill);letter-spacing:.02em;white-space:nowrap;
}
.ptable td:first-child{white-space:nowrap;}
.plan-splabel{display:none;}
.cls--l{background:var(--color-surface-muted);color:var(--color-brand-text);}
.cls--s{background:#9fdcf5;color:var(--color-brand-text);}
.cls--a{background:var(--color-brand-strong);color:#fff;}
.cls--e{background:var(--color-brand-text);color:#fff;}
.cls--p{background:#0e3a5c;color:#fff;}

/* promise box */
.promise{
  display:flex;align-items:center;gap:28px;background:none;border:none;
  padding:22px 0 0;margin-top:24px;
}
.promise__img{flex:none;width:200px;order:2;}
.promise__img img{display:block;width:100%;height:auto;}
.promise__body{
  flex:1;order:1;position:relative;
  background:#cbeaff;border:none;
  border-radius:16px;padding:22px 26px;
}
/* 右端の三角（画像側を指す吹き出し） */
.promise__body::after{
  content:"";position:absolute;top:50%;left:100%;
  width:0;height:0;border-style:solid;
  margin-top:-13px;
  border-width:13px 0 13px 16px;
  border-color:transparent transparent transparent #cbeaff;
}
.promise__body .promise__lead{
  display:inline-block;font-weight:800;color:#2eab4f;font-size:13px;letter-spacing:.04em;
  margin-bottom:8px;
}
.promise p{margin:0;color:var(--color-brand-text);font-size:14.5px;line-height:1.9;}
.promise b{color:#2eab4f;}

@media (max-width:600px){
  .promise{flex-direction:column;align-items:center;gap:16px;}
  .promise__img{width:160px;order:1;}
  .promise__body{order:2;}
  .promise p{text-align:left;}
  /* スマホは画像が上なので三角を上向きに */
  .promise__body::after{
    top:auto;left:50%;bottom:100%;
    margin-top:0;margin-left:-13px;
    border-width:0 13px 16px 13px;
    border-color:transparent transparent #cbeaff transparent;
  }
}

/* =========================================================
   05 FLOW
   ========================================================= */
.flow{
  display:grid;grid-template-columns:repeat(5,1fr);gap:14px;position:relative;
}
.flow-step{
  background:#fff;border:1px solid var(--line);border-radius:var(--radius-lg);
  padding:26px 16px 22px;text-align:center;position:relative;box-shadow:var(--shadow-sm);
}
.flow-step__n{
  width:46px;height:46px;margin:0 auto 14px;border-radius:50%;
  background:var(--grad-cta);color:#fff;font-family:var(--font-family-stack);font-weight:700;
  font-size:18px;display:flex;align-items:center;justify-content:center;
}
.flow-step--last .flow-step__n{background:linear-gradient(135deg,#1f7a45,#15512f);}
.flow-step h3{font-size:15px;color:var(--navy);}
.flow-step p{margin:6px 0 0;font-size:12.5px;color:var(--sub);line-height:1.6;}
.flow-step:not(:last-child)::after{
  content:"\f061";
  font-family:"Font Awesome 6 Free";font-weight:900;font-size:18px;line-height:1;
  position:absolute;top:50%;right:-16px;transform:translateY(-50%);
  color:var(--blue);z-index:2;
}
.flow-pay-note{
  text-align:center;margin-top:26px;font-size:14px;color:var(--green);font-weight:700;
}
.flow-pay-note span{
  display:inline-flex;align-items:center;gap:8px;background:#2eab4f;
  border:none;border-radius:24px;padding:8px 20px;color:#fff;
}

/* =========================================================
   06 AREA
   ========================================================= */
.area{display:grid;grid-template-columns:1.05fr 1fr;gap:44px;align-items:center;}
.area__map{
  background:none;border:none;padding:0;
}
.area__map svg{width:100%;height:auto;display:block;}
.area__map img{width:100%;height:auto;display:block;border-radius:var(--radius-lg);}
.area__map-link{display:block;position:relative;cursor:zoom-in;}
.area__map-link img{transition:filter var(--motion-fast) var(--motion-easing);}
.area__map-link:hover img{filter:brightness(.97);}
.area__map-zoom{
  position:absolute;right:12px;bottom:12px;
  display:inline-flex;align-items:center;justify-content:center;
  width:38px;height:38px;border-radius:50%;
  background:rgba(30,120,196,.92);color:#fff;font-size:15px;
  box-shadow:0 4px 12px rgba(13,42,87,.25);
}
.area__list h3{font-size:16px;color:var(--navy);margin-bottom:14px;}
.pills{display:flex;flex-wrap:wrap;gap:8px;}
.pill{
  display:inline-flex;align-items:center;gap:6px;
  border:1px solid var(--line-2);border-radius:22px;padding:7px 16px;
  font-size:14px;font-weight:600;color:#3c4654;background:#fff;
  transition:background .15s ease,border-color .15s ease,color .15s ease;
}
.pill::before{content:"";width:6px;height:6px;border-radius:50%;background:var(--blue);}
.pill:hover{background:var(--sky);border-color:#cfe1fb;color:var(--blue-d);}
.pill--sub{color:var(--sub);}
.pill--sub::before{background:var(--sub);}
/* map.jpgの凡例に合わせた色分け */
.pill--part::before{background:#22c7b8;}
.pill--part:hover{background:#e5faf7;border-color:#a9ebe3;color:#0f8578;}
.area__cat{
  display:flex;align-items:center;gap:8px;
  font-size:13px;font-weight:700;color:var(--navy);margin:0 0 10px;
}
.area__cat:not(:first-of-type){margin-top:18px;}
.pills + .area__cat{margin-top:18px;}
.area__cat-dot{width:13px;height:13px;border-radius:3px;flex:none;}
.area__cat-dot--full{background:#3fb8ec;}
.area__cat-dot--part{background:#22c7b8;}
.area__note{margin:18px 0 0;font-size:12.5px;color:var(--sub);line-height:1.75;}

/* =========================================================
   07 FAQ
   ========================================================= */
.faq{max-width:820px;margin:0 auto;display:grid;gap:14px;}
.faq-item{
  background:#fff;border:1px solid var(--line);border-radius:var(--radius);
  overflow:hidden;box-shadow:var(--shadow-sm);
}
.faq-q{
  width:100%;display:flex;align-items:flex-start;gap:14px;text-align:left;
  background:#fff;border:none;padding:20px 22px;font-size:16px;font-weight:700;
  color:var(--navy);line-height:1.6;transition:background .15s ease;
}
.faq-q:hover{background:var(--sky-2);}
.faq-q .mark{
  flex:none;font-family:var(--font-family-stack);font-weight:800;font-size:18px;
  color:var(--blue);line-height:1.4;
}
.faq-q .txt{flex:1;}
.faq-q .chev{
  flex:none;width:22px;height:22px;margin-top:2px;color:var(--blue);
  transition:transform .3s ease;
}
.faq-q[aria-expanded="true"] .chev{transform:rotate(180deg);}
.faq-a{
  max-height:0;overflow:hidden;transition:max-height .35s ease;
}
.faq-a__inner{
  display:flex;gap:14px;padding:0 22px 22px;font-size:14.5px;color:#4b5563;line-height:1.9;
}
.faq-a__inner .mark{
  flex:none;font-family:var(--font-family-stack);font-weight:800;font-size:18px;color:var(--green);line-height:1.4;
}

/* =========================================================
   08 Closing CTA
   ========================================================= */
.closing{
  position:relative;overflow:hidden;text-align:center;color:#fff;
  background:var(--grad-cta);padding:80px 0;
}
.closing__inner{position:relative;z-index:2;max-width:680px;margin:0 auto;}
.closing h2{font-size:clamp(24px,3.4vw,34px);font-weight:800;line-height:1.45;}
.closing p{margin:14px 0 0;font-size:16px;color:#dbe8ff;}
.closing__cta{margin-top:30px;}
.closing__note{margin-top:18px;font-size:13px;color:#cfe0ff;}

/* =========================================================
   Footer
   ========================================================= */
.footer{background:var(--navy);color:#cfe3f2;padding:60px 0 0;font-size:14px;}
.footer__top{display:grid;grid-template-columns:1.6fr 1fr 1fr;gap:40px;}
.footer__logo img{height:50px;width:auto;margin-bottom:18px;}
.footer__brand{line-height:1.9;}
.footer__brand strong{color:#fff;font-size:15px;display:block;margin-bottom:6px;}
.footer__col h4{color:#fff;font-size:14px;font-weight:700;margin-bottom:14px;letter-spacing:.04em;}
.footer__col ul li{margin-bottom:11px;}
.footer__col a{color:#cfe3f2;transition:color .15s ease;}
.footer__col a:hover{color:#fff;}
.footer__bottom{
  margin-top:48px;border-top:1px solid rgba(255,255,255,.12);
  padding:20px 0;text-align:center;font-size:12.5px;color:#a9c8de;
}

/* =========================================================
   Mobile fixed CTA bar
   ========================================================= */
.mobile-cta{
  position:fixed;left:0;right:0;bottom:0;z-index:90;
  display:none;padding:10px 16px calc(10px + env(safe-area-inset-bottom));
  background:rgba(255,255,255,.94);backdrop-filter:blur(8px);
  border-top:1px solid var(--line);
  transition:transform .3s ease;
}
.mobile-cta.is-hidden{transform:translateY(130%);}
.mobile-cta .btn{width:100%;padding:15px;font-size:16px;}

/* =========================================================
   Contact page
   ========================================================= */
.page-hero{
  padding:calc(var(--header-h) + 56px) 0 56px;text-align:center;
  background:linear-gradient(180deg,var(--sky-2),#fff);
}
.page-hero .kicker{margin-bottom:12px;}
.page-hero h1{font-size:clamp(26px,3.6vw,36px);font-weight:800;color:var(--navy);}
.page-hero h1 .accent{color:var(--blue);}
.page-hero p{margin:16px auto 0;max-width:560px;color:var(--sub);font-size:15px;}

.contact-grid{display:grid;grid-template-columns:.85fr 1.3fr;gap:40px;align-items:start;}

.info-card{
  background:#fff;border:1px solid var(--line);border-radius:var(--radius-lg);
  padding:30px;box-shadow:var(--shadow-sm);
}
.info-card__ico{
  width:56px;height:56px;border-radius:50%;color:var(--blue);
  display:flex;align-items:center;justify-content:center;margin-bottom:18px;
}
.info-card h2{font-size:19px;color:var(--navy);}
.info-card p{margin:12px 0 0;font-size:14px;color:var(--sub);line-height:1.85;}
.info-card__points{margin-top:22px;display:grid;gap:12px;}
.info-point{display:flex;gap:12px;align-items:flex-start;font-size:14px;color:var(--ink);}
.info-point svg{flex:none;width:20px;height:20px;color:var(--green);margin-top:3px;}

.form-card{
  background:#fff;border:1px solid var(--line);border-radius:var(--radius-lg);
  padding:36px;box-shadow:var(--shadow);
}

/* mail form result pages (confirm / complete / error) */
.form-result{
  padding:calc(var(--header-h) + 56px) 0 90px;min-height:70vh;
  background:linear-gradient(180deg,var(--sky-2),#fff);
}
.form-result__card{
  max-width:720px;margin:0 auto;background:#fff;border:1px solid var(--line);
  border-radius:var(--radius-lg);padding:clamp(24px,4vw,44px);text-align:center;
}
.form-result .kicker{display:inline-block;}
.form-result h1{font-size:clamp(22px,3vw,28px);font-weight:800;color:var(--navy);margin:6px 0 0;}
.form-result p{margin:14px 0 0;color:var(--sub);font-size:15px;line-height:1.9;}
.form-result__icon{font-size:56px;color:var(--green);line-height:1;margin-bottom:6px;}
.form-result__actions{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;margin-top:28px;}
.form-result__err{
  background:#fdecec;border:1px solid #f5c2c2;border-radius:var(--radius);
  padding:16px 18px;margin-top:20px;text-align:left;color:#b3261e;font-size:14px;
}
.form-result__err p{color:#b3261e;text-align:left;margin:4px 0;}
.confirm-table{
  width:100%;border-collapse:separate;border-spacing:0;margin:24px 0 0;text-align:left;
  border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;
}
.confirm-table th{
  background:var(--sky);color:var(--navy);font-weight:700;font-size:14px;
  text-align:left;padding:14px 16px;width:38%;vertical-align:top;border-top:1px solid var(--line);
}
.confirm-table td{padding:14px 16px;font-size:15px;color:var(--ink);border-top:1px solid var(--line);line-height:1.8;}
.confirm-table tr:first-child th,.confirm-table tr:first-child td{border-top:0;}
@media (max-width:560px){
  .confirm-table th,.confirm-table td{display:block;width:100%;}
  .confirm-table td{border-top:0;padding-top:4px;}
}
.form-row{margin-bottom:22px;}
.form-row:last-of-type{margin-bottom:0;}
.form-grid-2{display:grid;grid-template-columns:1fr 1fr;gap:18px;}
.form-label{display:block;font-size:14px;font-weight:700;color:var(--navy);margin-bottom:8px;}
.req,.opt{font-size:11px;font-weight:700;border-radius:4px;padding:2px 8px;margin-left:8px;vertical-align:middle;}
.req{background:#fdecec;color:#d23b3b;}
.opt{background:var(--line);color:var(--sub);}
.form-control{
  width:100%;font-family:inherit;font-size:15px;color:var(--ink);
  padding:13px 16px;border:1.5px solid var(--line-2);border-radius:var(--radius);
  background:#fff;transition:border-color .15s ease,box-shadow .15s ease;
}
.form-control::placeholder{color:#aab2bd;}
.form-control:focus{outline:none;border-color:var(--blue);box-shadow:0 0 0 3px rgba(31,111,229,.14);}
textarea.form-control{min-height:130px;resize:vertical;line-height:1.7;}
.form-consent{
  display:flex;gap:10px;align-items:flex-start;margin:24px 0 0;
  font-size:13px;color:var(--sub);line-height:1.7;
}
.form-consent input{margin-top:4px;width:17px;height:17px;flex:none;accent-color:var(--blue);}
.form-consent a{color:var(--blue);font-weight:600;border-bottom:1px solid currentColor;}
.form-card .btn{margin-top:26px;}
.form-reply-note{text-align:center;margin-top:14px;font-size:12.5px;color:var(--sub);}

/* form submitted message */
.form-message{
  display:none;background:var(--green-bg);border:1px solid var(--green-line);
  border-radius:var(--radius);padding:18px 20px;margin-bottom:24px;
  color:var(--green-d);font-size:14px;font-weight:600;line-height:1.7;
}
.form-message.is-visible{display:block;}

/* =========================================================
   Privacy page
   ========================================================= */
.legal{max-width:820px;margin:0 auto;}
.legal h2{font-size:20px;color:var(--navy);margin:38px 0 12px;padding-left:12px;border-left:4px solid var(--blue);}
.legal h2:first-child{margin-top:0;}
.legal p{margin:0 0 14px;font-size:15px;color:#3c4654;line-height:1.95;}
.legal ul{margin:0 0 14px;padding-left:0;display:grid;gap:8px;}
.legal ul li{position:relative;padding-left:20px;font-size:15px;color:#3c4654;line-height:1.8;}
.legal ul li::before{content:"";position:absolute;left:4px;top:12px;width:7px;height:7px;border-radius:50%;background:var(--blue);}
.legal .updated{font-size:13px;color:var(--sub);margin-top:40px;text-align:right;}

/* =========================================================
   Scroll reveal
   ========================================================= */
.reveal{opacity:0;transform:translateY(24px);transition:opacity .7s ease,transform .7s ease;}
.reveal.is-in{opacity:1;transform:none;}
@media (prefers-reduced-motion:reduce){
  .reveal{opacity:1;transform:none;transition:none;}
  html{scroll-behavior:auto;}
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width:980px){
  .hero{padding-top:calc(var(--header-h) + 20px);padding-bottom:28px;}
  .hero__grid{display:flex;flex-direction:column;align-items:stretch;gap:20px;}
  .hero__visual{order:-1;flex:0 0 auto;align-self:stretch;min-width:0;width:100%;margin:0;}
  .hero__copy{flex:0 0 auto;display:flex;flex-direction:column;padding:4px 0 0;}
  .hero__cta{order:1;}
  .hero__badges{order:2;}
  .hero-photo{width:100%;height:auto;display:block;}
  .hero__visual .badge-seal{top:auto;left:auto;right:-25px;bottom:-25px;width:120px;}
  .hero__note{position:static;right:auto;bottom:auto;max-width:none;margin-top:14px;text-shadow:none;color:rgba(255,255,255,.85);}
  .service-grid{grid-template-columns:repeat(3,1fr);}
  .area{grid-template-columns:1fr;gap:28px;}
  .contact-grid{grid-template-columns:1fr;gap:28px;}
  .footer__top{grid-template-columns:1fr 1fr;}
  .footer__brand-col{grid-column:1 / -1;}
}

/* narrow desktop: 右の写真を背面に回してテキストへ食い込ませる（左はそのまま） */
@media (min-width:981px) and (max-width:1200px){
  .hero__grid{display:block;}
  .hero__copy{position:relative;z-index:2;width:54%;}
  .hero__visual{position:absolute;right:0;bottom:0;z-index:0;margin:0;}
  .hero__visual::after{
    content:"";position:absolute;inset:0;
    background:linear-gradient(90deg,#3797df 0%,rgba(55,151,223,.6) 24%,rgba(55,151,223,0) 56%);
  }
  .hero__visual .badge-seal{top:auto;left:auto;right:24px;bottom:72px;z-index:1;}
}

@media (max-width:760px){
  .section{padding:60px 0;}
  .header__nav,.header__cta{display:none;}
  .nav-toggle{display:block;}
  .mobile-cta{display:block;}
  body{padding-bottom:74px;}

  .flow{grid-template-columns:1fr;gap:12px;}
  .flow-step{display:grid;grid-template-columns:auto 1fr;gap:18px;align-items:center;text-align:left;padding:18px 20px;}
  .flow-step__n{margin:0;}
  .flow-step:not(:last-child)::after{
    top:auto;bottom:-16px;right:auto;left:50%;
    transform:translateX(-50%) rotate(90deg);
  }

  .solution-swiper .swiper-button-prev,
  .solution-swiper .swiper-button-next{display:none;}

  .point{grid-template-columns:1fr;gap:20px;}
  .point__media{order:-1;}
  .point:nth-child(even) .point__media{order:-1;}
  .point__title{margin:14px 0 12px;}

  .price-formula__calc{flex-direction:column;gap:10px;}
  .pf-plus{font-size:24px;}

  .form-grid-2{grid-template-columns:1fr;}
  .form-card{padding:24px 20px;}
}

@media (max-width:520px){
  .container{padding:0 18px;}
  .service-grid{grid-template-columns:repeat(2,1fr);}
  .footer__top{grid-template-columns:1fr;}

  /* price tables → stacked cards */
  .ptable,.ptable thead,.ptable tbody,.ptable tr,.ptable td{display:block;width:100%;}
  .ptable{box-shadow:var(--shadow-sm);}
  .ptable thead{display:none;}
  .ptable tbody tr{border-top:3px solid var(--blue);padding:6px 0 10px;}
  .ptable tbody tr:first-child{border-top:none;}
  .ptable tbody td{border-top:none;padding:8px 18px;}
  .ptable tbody td::before{
    content:attr(data-label);display:block;font-size:11px;font-weight:700;
    color:var(--sub);letter-spacing:.04em;margin-bottom:2px;
  }
  .ptable .c-name{font-size:17px;}
  /* plan table: show the「難易度（プラン）」label once above the cards, not per card */
  .ptable--plan tbody td:first-child::before{display:none;}
  .ptable--plan tbody td:first-child{padding-top:12px;}
  .plan-splabel{
    display:block;font-size:11px;font-weight:700;color:var(--sub);
    letter-spacing:.04em;margin:0 0 8px;padding-left:2px;
  }
}
