/* ── Reset ── */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body {font-family: Inter, Noto Sans JP, sans-serif;}
img{display:block;max-width:100%}
a{text-decoration:none;color:inherit}
ul{list-style:none}

/* ── Tokens ── */
:root{
  --blue:#473bf0;--red:#f64b4b;--green:#68d585;
  --dark:#161c2d;--bg:#f4f7fa;--white:#fff;
  --max:1120px;--gutter:clamp(20px,5vw,80px);
}

/* ── Scroll reveal ── */
.reveal{opacity:0;transform:translateY(28px);transition:opacity .6s ease,transform .6s ease}
.reveal.visible{opacity:1;transform:none}
.reveal-d1{transition-delay:.1s}
.reveal-d2{transition-delay:.2s}

/* ── Helpers ── */
.eyebrow{font-size:13px;font-weight:700;letter-spacing:1.6px;text-transform:uppercase;color:var(--red)}
.h1{font-size:clamp(38px,4.5vw,62px);font-weight:700;letter-spacing:-2px;line-height:1.05}
.h2{font-size:clamp(26px,3vw,38px);font-weight:600;letter-spacing:-1.2px;line-height:1.1}
.h3{font-size:24px;font-weight:500;letter-spacing:-0.5px}
.body-lg{font-size:19px;line-height:1.7;color:rgba(22,28,45,.7)}
.btn{display:inline-flex;align-items:center;gap:8px;padding:16px 28px;border-radius:8px;font-size:17px;font-weight:700;letter-spacing:-.5px;line-height:1;transition:opacity .15s,transform .15s;white-space:nowrap}
.btn:hover{opacity:.88;transform:translateY(-1px)}
.btn-primary{background:var(--blue);color:#fff}
.btn-red{background:var(--red);color:#fff}

/* ══════════════════════════════
   HEADER
══════════════════════════════ */
.site-header{
  position:sticky;top:0;z-index:200;
  background:rgba(255,255,255,.95);
  backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);
  border-bottom:1px solid rgba(22,28,45,.06);
}
.header-inner{
  display:flex;align-items:center;justify-content:space-between;
  height:68px;max-width:calc(var(--max) + 160px);
  margin:0 auto;padding:0 var(--gutter);gap:24px;
}
.logo{font-size:22px;font-weight:800;letter-spacing:-.5px}
.logo em{color:var(--blue);font-style:normal}
.site-nav{display:flex;gap:32px}
.site-nav a{font-size:15px;font-weight:700;opacity:.8;transition:opacity .2s}
.site-nav a:hover{opacity:1}
.hamburger{display:none;padding:4px;background:none;border:none;cursor:pointer;line-height:0}

/* ══════════════════════════════
   HERO
══════════════════════════════ */
.hero{background:var(--bg);overflow:hidden;position:relative}
.hero-canvas{
  position:absolute;inset:0;
  width:100%;height:100%;
  pointer-events:none;
  opacity:.55;
}
.hero-inner{
  position:relative;z-index:1;
  display:grid;grid-template-columns:1fr 1fr;
  align-items:center;gap:48px;
  min-height:780px;
  max-width:calc(var(--max) + 160px);
  margin:0 auto;padding:80px var(--gutter);
}
@media (prefers-reduced-motion: reduce){
  .hero-canvas{opacity:.35}
}
.hero-label{margin-bottom:14px}
.hero-title{margin-bottom:20px}
.hero-body{max-width:480px;margin-bottom:36px}
.hero-visual{position:relative;display:flex;justify-content:center;align-items:center}
.hero-portrait{width:min(460px,100%);aspect-ratio:1;border-radius:50%;object-fit:cover}
.hero-deco{position:absolute;pointer-events:none}
.hero-deco-dots{top:-10px;right:calc(50% - 270px);width:107px}
.hero-deco-badge{bottom:-5px;left:calc(50% - 250px);width:120px}
.hero-deco-wave{bottom:35px;right:calc(50% - 285px);width:24px}

/* ══════════════════════════════
   SERVICES
══════════════════════════════ */
.services-section{
  background:var(--bg);
  padding:100px var(--gutter);
  border-top:1px solid rgba(22,28,45,.08);
}
.services-head{text-align:center;max-width:600px;margin:0 auto 60px}
.services-head .h2{margin-top:12px}
.services-grid{
  display:grid;grid-template-columns:repeat(3,1fr);
  gap:24px;max-width:var(--max);margin:0 auto;
}
.srv-card{
  border-radius:10px;padding:36px 28px 32px;
  color:#fff;display:flex;flex-direction:column;
  align-items:center;text-align:center;
  min-height:460px;position:relative;overflow:hidden;
}
.srv-card--green{background:var(--green)}
.srv-card--blue{background:var(--blue);box-shadow:0 32px 54px rgba(22,28,45,.16)}
.srv-card--red{background:var(--red)}
.srv-illus{position:relative;width:200px;height:190px;flex-shrink:0;margin-bottom:24px}
.srv-illus .bg{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}
.srv-illus .char{position:absolute;bottom:0;right:0;width:52%;object-fit:contain}
.srv-card h3{font-size:24px;font-weight:800;letter-spacing:-.5px;margin-bottom:14px}
.srv-card p{font-size:17px;line-height:1.7;opacity:.65;flex:1;margin-bottom:28px}
.srv-learn{
  margin-top:auto;font-size:17px;font-weight:700;
  letter-spacing:-.6px;color:#fff;
  display:inline-flex;align-items:center;gap:6px;
}
.srv-learn::after{content:'→'}
/* decorative dots grid */
.srv-dots-deco{
  position:absolute;bottom:12px;right:12px;
  display:grid;grid-template-columns:repeat(10,7px);
  grid-template-rows:repeat(6,7px);gap:11px;
  opacity:.25;
}
.srv-dot{width:7px;height:7px;border-radius:50%;background:rgba(22,28,45,.4)}

/* ══════════════════════════════
   TESTIMONIAL INLINE
══════════════════════════════ */
.testi-inline{padding:80px var(--gutter) 60px}
.testi-inline-inner{
  display:grid;grid-template-columns:auto 1fr;
  gap:48px;align-items:center;
  max-width:var(--max);margin:0 auto;
  padding-bottom:60px;
  border-bottom:1px solid rgba(22,28,45,.09);
}
.testi-avatar{width:164px;height:164px;border-radius:50%;object-fit:cover;flex-shrink:0}
.testi-stars{display:flex;gap:4px;margin-bottom:14px}
.testi-quote{font-size:24px;font-weight:700;letter-spacing:-.5px;line-height:1.42;margin-bottom:14px}
.testi-byline{font-size:17px}
.testi-name{font-weight:700}
.testi-role{opacity:.65}

/* ══════════════════════════════
   ABOUT
══════════════════════════════ */
.about-section{padding:100px var(--gutter)}
.about-inner{
  display:grid;grid-template-columns:1fr 1fr;
  gap:80px;align-items:center;
  max-width:calc(var(--max) + 80px);margin:0 auto;
}
.about-content .eyebrow{margin-bottom:14px}
.about-title{margin-bottom:24px}
.about-photos{
  position:relative;height:530px;
  display:grid;grid-template-columns:1fr;
  grid-template-rows:1fr;gap:0;
}
.about-photo{border-radius:12px;overflow:hidden}
.about-photo.main{grid-row:auto}
.about-photo img{width:100%;height:100%;object-fit:cover;background:transparent}
.ph{width:100%;height:100%}
.ph-1{background:linear-gradient(145deg,#c4d4e8,#dde8f4)}
.ph-2{background:linear-gradient(145deg,#b0c4de,#ccd8ee)}
.ph-3{background:linear-gradient(145deg,#a0b4d0,#bccce0)}

/* ══════════════════════════════
   STATS
══════════════════════════════ */
.stats-section{padding:60px var(--gutter)}
.stats-grid{
  display:grid;grid-template-columns:repeat(3,1fr);
  gap:40px;max-width:var(--max);margin:0 auto;text-align:center;
}
.stat-number{font-size:50px;font-weight:500;letter-spacing:-2px;line-height:1;margin-bottom:14px}
.stat-desc{font-size:16px;line-height:1.65;color:rgba(22,28,45,.6);max-width:260px;margin:0 auto}

/* ══════════════════════════════
   FEATURES
══════════════════════════════ */
.features-section{background:var(--bg);padding:100px var(--gutter)}
.features-head{text-align:center;max-width:640px;margin:0 auto 64px}
.features-head .h2{margin-top:12px}
.features-grid{
  display:grid;grid-template-columns:1fr 1fr;
  column-gap:80px;row-gap:48px;
  max-width:860px;margin:0 auto 80px;
}
.feat-item{display:flex;gap:24px;align-items:flex-start}
.feat-icon{
  flex-shrink:0;width:72px;height:72px;border-radius:50%;
  background:#fff;box-shadow:0 8px 24px rgba(22,28,45,.08);
  display:flex;align-items:center;justify-content:center;font-size:28px;
}
.feat-text h4{font-size:20px;font-weight:700;letter-spacing:-.3px;margin-bottom:8px}
.feat-text p{font-size:16px;line-height:1.65;color:rgba(22,28,45,.65)}
.features-hr{
  max-width:calc(var(--max) + 160px);margin:0 auto;
  border:none;border-top:1px solid rgba(22,28,45,.09);
}

/* ══════════════════════════════
   CTA BANNER
══════════════════════════════ */
.cta-banner{background:var(--dark);padding:56px var(--gutter)}
.cta-banner-inner{
  display:flex;align-items:center;justify-content:space-between;
  gap:32px;max-width:calc(var(--max) + 160px);margin:0 auto;
}
.cta-banner .eyebrow{color:var(--red);margin-bottom:10px}
.cta-banner .h2{color:#fff;max-width:560px}

/* ══════════════════════════════
   WORKS
══════════════════════════════ */
.works-section{padding:100px var(--gutter)}
.works-head{text-align:center;max-width:640px;margin:0 auto 60px}
.works-head .h2{margin-top:12px}
.works-masonry{
  display:grid;grid-template-columns:1fr 1fr;
  gap:24px;max-width:var(--max);margin:0 auto 48px;
}
.works-col{display:flex;flex-direction:column;gap:24px}
.work-thumb{
  border-radius:12px;overflow:hidden;
  margin-bottom:16px;position:relative;
}
/*.work-thumb-ph{
  width:100%;display:flex;align-items:center;
  justify-content:center;font-size:48px;opacity:.25;
}
.work-thumb-ph.tall{height:340px}
.work-thumb-ph.short{height:216px}
*/
/* 追加 */
.work-thumb-img{width:100%;display:block;object-fit:cover}
.work-thumb-img.tall{height:640px}
.work-thumb-img.short{height:216px}

.work-cat{font-size:15px;font-weight:600;color:rgba(22,28,45,.55);margin-bottom:6px}
.work-title{font-size:22px;font-weight:800;letter-spacing:-.5px}
.works-more{text-align:center}
.btn-flat{
  font-size:17px;font-weight:700;letter-spacing:-.5px;
  color:var(--blue);display:inline-flex;align-items:center;gap:6px;
}
.btn-flat::after{content:'→'}

/* ══════════════════════════════
   TESTIMONIAL FULL WIDTH
══════════════════════════════ */
.testi-full{
  background:#1e2545;
  padding:120px var(--gutter);
  text-align:center;position:relative;overflow:hidden;
}
.testi-rings{
  position:absolute;inset:50%;transform:translate(-50%,-50%);
  width:0;height:0;pointer-events:none;
}
.testi-ring{
  position:absolute;border-radius:50%;
  border:1px solid rgba(255,255,255,.05);
  transform:translate(-50%,-50%);
}
.testi-full-inner{position:relative;z-index:1;max-width:760px;margin:0 auto}
.testi-full .eyebrow{color:rgba(255,255,255,.4);margin-bottom:40px}
.testi-full-quote{
  font-size:clamp(22px,2.8vw,32px);font-weight:800;
  letter-spacing:-.8px;line-height:1.35;color:#fff;margin-bottom:48px;
}
.testi-full-avatar{
  width:76px;height:76px;border-radius:50%;
  background:rgba(255,255,255,.12);
  margin:0 auto 16px;overflow:hidden;
  display:flex;align-items:center;justify-content:center;
  font-size:28px;color:#fff;
}
.testi-full-name{font-size:20px;font-weight:700;color:#fff;margin-bottom:4px}
.testi-full-role{font-size:16px;color:rgba(255,255,255,.5)}

/* ══════════════════════════════
   FOOTER CTA
══════════════════════════════ */
.footer-cta-wrap{background:var(--dark)}
.footer-cta-inner{
  display:flex;align-items:center;justify-content:space-between;gap:32px;
  max-width:calc(var(--max) + 160px);margin:0 auto;
  padding:64px var(--gutter);
  border-top:1px solid rgba(255,255,255,.08);
}
.footer-cta-inner .eyebrow{color:var(--red);margin-bottom:10px}
.footer-cta-inner .h2{color:#fff;line-height:1.2}

/* ══════════════════════════════
   FOOTER
══════════════════════════════ */
.site-footer{background:var(--dark);padding:80px var(--gutter) 48px;border-top:1px solid rgba(255,255,255,.07)}
.footer-grid{
  display:grid;grid-template-columns:1.6fr 1fr 1fr 1fr;
  gap:40px;max-width:calc(var(--max) + 160px);margin:0 auto 56px;
}
.footer-brand .logo{color:#fff;margin-bottom:16px}
.footer-tagline{font-size:15px;line-height:1.7;color:rgba(255,255,255,.45);max-width:240px}
.footer-col h5{font-size:13px;font-weight:700;letter-spacing:.8px;text-transform:uppercase;color:rgba(255,255,255,.35);margin-bottom:20px}
.footer-col li+li{margin-top:12px}
.footer-col a{font-size:15px;color:rgba(255,255,255,.6);transition:color .2s}
.footer-col a:hover{color:#fff}
.footer-bottom{
  align-items:center;justify-content:space-between;
  max-width:calc(var(--max) + 160px);margin:0 auto;
  padding-top:32px;border-top:1px solid rgba(255,255,255,.07);
}
.footer-copy{font-size:14px;color:rgba(255,255,255,.35);text-align:center;}
.footer-socials{display:flex;gap:12px}
.social-link{
  width:36px;height:36px;border-radius:50%;
  border:1px solid rgba(255,255,255,.2);
  display:flex;align-items:center;justify-content:center;
  color:rgba(255,255,255,.6);transition:border-color .2s,color .2s;
}
.social-link:hover{border-color:rgba(255,255,255,.7);color:#fff}

/* ══════════════════════════════
   RESPONSIVE
══════════════════════════════ */
@media(max-width:960px){
  .hero-inner{grid-template-columns:1fr;min-height:auto;text-align:center}
  .hero-body{margin-left:auto;margin-right:auto}
  .hero-visual{margin-top:40px}
  .hero-deco{display:none}
  .services-grid{grid-template-columns:1fr;max-width:400px;margin:0 auto}
  .testi-inline-inner{grid-template-columns:1fr;text-align:center}
  .testi-avatar{margin:0 auto}
  .testi-stars{justify-content:center}
  .about-inner{grid-template-columns:1fr}
  .about-photos{height:300px}
  .stats-grid{grid-template-columns:1fr;gap:32px}
  .features-grid{grid-template-columns:1fr;max-width:480px}
  .cta-banner-inner{flex-direction:column;text-align:center}
  .works-masonry{grid-template-columns:1fr}
  .footer-cta-inner{flex-direction:column;text-align:center}
  .footer-grid{grid-template-columns:1fr 1fr}
  .hamburger{display:block}
  .site-nav{display:none}
  .header-inner .btn{display:none}
}
.site-nav.open{
  display:flex;flex-direction:column;position:absolute;
  top:68px;left:0;right:0;background:#fff;
  padding:20px var(--gutter);gap:20px;
  border-bottom:1px solid rgba(22,28,45,.08);
  box-shadow:0 8px 24px rgba(22,28,45,.08);
}
@media(max-width:540px){
  .footer-grid{grid-template-columns:1fr}
  .footer-bottom{flex-direction:column;gap:16px;text-align:center}
}

/* ══════════════════════════════
   LEGAL / COMPANY PAGE
══════════════════════════════ */
.legal-page{background:var(--bg)}
.legal-section{
  padding:56px var(--gutter);
  border-bottom:1px solid rgba(22,28,45,.08);
  background:#fff;
}
.legal-section:nth-of-type(odd){
  background:var(--bg);
}
.legal-inner{
  max-width:calc(var(--max) + 160px);
  margin:0 auto;
}
.legal-section .eyebrow{margin-bottom:10px}
.legal-section .h3{margin-bottom:24px;color:var(--dark)}
.legal-table{
  width:100%;
  border-collapse:separate;
  border-spacing:0;
  border:1px solid rgba(22,28,45,.08);
  border-radius:10px;
  overflow:hidden;
  background:#fff;
}
.legal-table th,
.legal-table td{
  padding:16px 20px;
  border-bottom:1px solid rgba(22,28,45,.08);
  vertical-align:top;
  text-align:left;
}
.legal-table tr:last-child th,
.legal-table tr:last-child td{
  border-bottom:none;
}
.legal-table th{
  width:260px;
  font-weight:700;
  color:rgba(22,28,45,.75);
  background:rgba(22,28,45,.02);
}
.legal-table td{
  color:rgba(22,28,45,.9);
}
.legal-table a{color:var(--blue)}
.legal-list{
  display:grid;
  gap:14px;
}
.legal-list div{
  display:grid;
  grid-template-columns:260px 1fr;
  gap:20px;
  background:#fff;
  border:1px solid rgba(22,28,45,.08);
  border-radius:10px;
  padding:16px 20px;
}
.legal-list dt{font-weight:700;color:rgba(22,28,45,.75)}
.legal-list dd{color:rgba(22,28,45,.9)}
.legal-list a{color:var(--blue)}
.legal-copy{
  padding:0;
}
.legal-copy p{
  color:rgba(22,28,45,.85);
  line-height:1.8;
}
.legal-copy h3{
  font-size:18px;
  font-weight:700;
  margin:20px 0 8px;
  color:var(--dark);
}
@media(max-width:960px){
  .legal-table,
  .legal-table tbody,
  .legal-table tr,
  .legal-table th,
  .legal-table td{
    display:block;
    width:100%;
  }
  .legal-table th{
    border-bottom:none;
    padding-bottom:8px;
  }
  .legal-table td{
    padding-top:0;
  }
  .legal-table tr{
    border-bottom:1px solid rgba(22,28,45,.08);
  }
  .legal-table tr:last-child{
    border-bottom:none;
  }
}

/* ══════════════════════════════
   SUPPORT PAGE
══════════════════════════════ */
.support-page{background:var(--bg)}
.support-intro{
  padding:56px var(--gutter);
  border-bottom:1px solid rgba(22,28,45,.08);
}
.support-inner{
  max-width:calc(var(--max) + 160px);
  margin:0 auto;
}
.support-intro .h2{
  margin-top:10px;
  max-width:920px;
}
.support-anchor-nav{
  margin-top:22px;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
.support-anchor-nav a{
  font-size:15px;
  font-weight:700;
  color:#03002d;
  background:#fff;
  border:1px solid rgba(22,28,45,.12);
  border-radius:999px;
  padding:10px 16px;
}
.support-section{
  padding:56px var(--gutter);
  border-bottom:1px solid rgba(22,28,45,.08);
  background:#fff;
}
.support-section:nth-of-type(odd){
  background:var(--bg);
}
.support-section .eyebrow{margin-bottom:10px}
.support-section .h3{margin-bottom:22px;color:var(--dark)}
.faq-panel{
  display:grid;
  gap:14px;
}
.faq-item{
  background:rgba(22,28,45,.03);
  border-radius:10px;
  padding:16px 18px;
}
.faq-row{
  display:grid;
  grid-template-columns:40px 1fr;
  gap:12px;
  align-items:flex-start;
}
.faq-row + .faq-row{margin-top:12px}
.faq-badge{
  width:40px;height:40px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  color:#fff;font-weight:800;
}
.faq-badge-q{background:#3cb9ad}
.faq-badge-a{background:#f6a089}
.faq-q{
  font-size:20px;font-weight:700;letter-spacing:1px;color:rgba(22,28,45,.8);
}
.faq-a{
  color:rgba(22,28,45,.8);
  line-height:1.8;
}
.guide-board{
  background:#f4b21c;
  border-radius:12px;
  padding:22px 18px;
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:12px;
}
.guide-card{
  background:#fff;
  border-radius:12px;
  padding:12px;
  text-align:center;
  display:flex;
  flex-direction:column;
  align-items:center;
  min-height:200px;
}
.guide-step{
  background:#3f4f80;
  color:#fff;
  font-size:14px;
  font-weight:700;
  border-radius:999px;
  padding:6px 14px;
  margin-bottom:14px;
}
.guide-icon{
  font-size:40px;
  line-height:1;
  margin-bottom:16px;
}
.guide-text{
  font-size:22px;
  line-height:1.4;
  font-weight:700;
  color:#3f4f80;
}
.support-copy p{
  color:rgba(22,28,45,.85);
  line-height:1.8;
}
.support-copy p + p{
  margin-top:14px;
}
.price-board{
  border-radius:12px;
  padding:24px 18px;
}
.price-grid{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:12px;
}
.price-card{
  background:#fff;
  border:1px solid rgba(22,28,45,.1);
  border-radius:10px;
  padding:14px 12px;
  text-align:center;
  min-height:100%;
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
}
.price-card.is-featured{
  border-color:#f26a6a;
}
.price-label{
  display:inline-block;
  background:#f26a6a;
  color:#fff;
  border-radius:6px;
  font-size:12px;
  font-weight:700;
  padding:4px 8px;
  margin-bottom:10px;
}
.price-label.muted{
  background:rgba(22,28,45,.1);
  color:rgba(22,28,45,.7);
}
.price-card h4{
  font-size:16px;
  color:rgba(22,28,45,.88);
}
.price-value{
  margin-top:8px;
  font-size:36px;
  line-height:1;
  letter-spacing:-1px;
  font-weight:800;
  color:#25386a;
}
.price-value span{
  font-size:20px;
  color:rgba(22,28,45,.6);
}
.price-note{
  margin-top:8px;
  font-size:14px;
  color:rgba(22,28,45,.65);
}
.price-card-wide{
  grid-column:1 / -1;
  /*text-align:left;*/
  padding:14px 12px;
  display:grid;
  grid-template-columns:1.2fr auto 1.6fr;
  gap:20px;
  align-items:center;
  min-height:150px;
}
.price-wide-lead{
  width:auto;
  background:rgba(22,28,45,.1);
  color:rgba(22,28,45,.7);
  border-radius:6px;
  font-size:12px;
  font-weight:700;
  padding:4px 8px;
  margin-bottom:10px;
  text-align:center;
}
@media(max-width:1200px){
  .guide-board{grid-template-columns:repeat(3,1fr)}
  .price-grid{grid-template-columns:repeat(3,1fr)}
}
@media(max-width:760px){
  .faq-q{font-size:18px}
  .guide-board{grid-template-columns:repeat(2,1fr)}
  .price-grid{grid-template-columns:1fr}
  .price-card-wide{
    grid-template-columns:1fr;
    text-align:center;
    gap:10px;
  }
  .guide-text{font-size:16px;}
}