/* ===== Design tokens ===== */
:root{
  --navy:#0a1a44;          /* headings / dark text */
  --navy-2:#173494;
  --blue:#0649aa;          /* primary CTA fill */
  --blue-bright:#1f63d6;   /* nav pill / accents */
  --accent:#2563eb;        /* links */
  --ink:#2c3550;           /* body text */
  --muted:#5c6784;
  --line:#e4eaf3;
  --bg:#ffffff;
  --bg-alt:#f4f8fd;
  --blue-soft:#eef4ff;
  --green-soft:#e9f8f1;
  --orange-soft:#fff3e7;
  --green:#0f9d6b;
  --orange:#e5860f;
  --radius:16px;
  --radius-lg:22px;
  --shadow-sm:0 2px 10px rgba(18,45,110,.06);
  --shadow:0 10px 30px rgba(18,45,110,.10);
  --maxw:1120px;
  --pad:24px;
}

*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;line-break:strict;word-break:keep-all;overflow-wrap:anywhere;
  font-family:"Noto Sans JP",-apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN","Yu Gothic",sans-serif;
  color:var(--ink);
  background:var(--bg);
  line-height:1.75;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;display:block;height:auto}
a{color:inherit;text-decoration:none}
h1,h2,h3,p{margin:0}

.container{width:100%;max-width:var(--maxw);margin:0 auto;padding-left:var(--pad);padding-right:var(--pad)}
.container-narrow{max-width:820px}
.section{padding:72px 0}
.section-alt{background:var(--bg-alt)}
.section-title{
  text-align:center;color:var(--navy);font-weight:900;
  font-size:clamp(22px,2.6vw,30px);letter-spacing:.02em;
  margin-bottom:44px;
}

/* ===== Buttons ===== */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:.5em;
  font-weight:700;border-radius:999px;cursor:pointer;
  transition:transform .15s ease,box-shadow .2s ease,background .2s ease;
  white-space:nowrap;line-height:1.3;
}
.btn .arw{font-weight:400}
.btn-primary{background:var(--blue);color:#fff;box-shadow:0 8px 20px rgba(6,73,170,.28)}
.btn-primary:hover{background:#053e93;transform:translateY(-2px)}
.btn-lg{padding:16px 34px;font-size:16px}
.btn-nav{background:var(--blue-bright);color:#fff;padding:11px 22px;font-size:14px;box-shadow:0 6px 16px rgba(31,99,214,.28)}
.btn-nav:hover{background:#154fb8;transform:translateY(-1px)}

/* ===== Header ===== */
.site-header{
  position:sticky;top:0;z-index:50;background:rgba(255,255,255,.9);
  backdrop-filter:blur(10px);border-bottom:1px solid var(--line);
}
.header-inner{display:flex;align-items:center;gap:24px;height:68px}
.brand{display:flex;align-items:center;gap:10px}
.brand-mark{width:40px;height:40px;flex:0 0 auto;border-radius:50%}
.brand-text{display:flex;flex-direction:column;line-height:1.15}
.brand-en{font-weight:900;color:var(--navy);font-size:17px;letter-spacing:.01em}
.brand-ja{font-size:11px;color:var(--muted);letter-spacing:.06em}
.hero-note{font-size:13px;color:var(--muted);text-align:center;width:100%}
.results-note{max-width:720px;margin:36px auto 0;font-size:15px;color:var(--ink);text-align:center}
.nav{display:flex;gap:30px;margin-left:auto;font-size:14px;font-weight:500;color:#38425f}
.nav a{transition:color .15s}
.nav a:hover{color:var(--blue)}
.btn-nav{flex:none}

.hamburger{display:none;flex-direction:column;gap:5px;background:none;border:0;cursor:pointer;padding:8px;margin-left:auto}
.hamburger span{width:24px;height:2px;background:var(--navy);border-radius:2px;transition:.25s}
.hamburger[aria-expanded="true"] span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.hamburger[aria-expanded="true"] span:nth-child(2){opacity:0}
.hamburger[aria-expanded="true"] span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

/* ===== Hero ===== */
.hero{padding:64px 0 40px;background:
  radial-gradient(1200px 500px at 80% -10%,#eaf1fc 0,rgba(234,241,252,0) 60%),#fff;}
.hero-inner{display:grid;grid-template-columns:1fr 1.05fr;gap:40px;align-items:center}
.hero-title{
  color:var(--navy);font-weight:900;line-height:1.18;letter-spacing:.01em;
  font-size:clamp(34px,4.6vw,56px);margin-bottom:24px;
}
.hero-lead{font-size:clamp(16px,1.8vw,20px);font-weight:700;color:var(--navy);margin-bottom:16px}
.hero-sub{font-size:14px;color:var(--muted);margin-bottom:30px}
.hero-cta{display:flex;flex-direction:column;gap:14px;align-items:flex-start;max-width:360px}
.hero-cta .btn{width:100%}
.hero-visual img{
  border-radius:var(--radius-lg);
}

/* ===== お悩み ===== */
.worry-list{
  list-style:none;margin:0;padding:0;
  display:grid;grid-template-columns:repeat(5,1fr);gap:20px;text-align:center;
}
.worry{display:flex;flex-direction:column;align-items:center;gap:16px}
.worry-ic{
  display:grid;place-items:center;width:96px;height:96px;border-radius:50%;
  border:1.5px solid #d5e1f2;color:var(--blue-bright);background:#fff;box-shadow:var(--shadow-sm);
}
.worry-ic img{width:56px;height:56px;object-fit:contain}
.worry p{color:var(--ink);font-size:13.5px;font-weight:500;line-height:1.6}

/* ===== サポートカード ===== */
.support-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.sup-card{
  border-radius:var(--radius);padding:34px 26px;background:var(--blue-soft);
  display:flex;flex-direction:column;gap:22px;align-items:center;text-align:center;
  box-shadow:var(--shadow-sm);
}
.sup-card h3{font-size:19px;font-weight:900;line-height:1.4;min-height:2.8em;display:flex;align-items:center;justify-content:center}
.sup-body{display:flex;align-items:center;justify-content:center;gap:18px;flex:1}
.sup-ic{flex:none;display:grid;place-items:center}
.sup-ic img{width:auto;height:62px}
.sup-card p{font-size:14px;color:var(--muted);text-align:left;line-height:1.7}
.sup-blue{background:var(--blue-soft)}
.sup-blue h3{color:var(--accent)}
.sup-green{background:var(--green-soft)}
.sup-green h3{color:var(--green)}
.sup-orange{background:var(--orange-soft)}
.sup-orange h3{color:var(--orange)}

/* ===== 強み ===== */
.strength-list{
  list-style:none;margin:0;padding:0;
  display:grid;grid-template-columns:repeat(5,1fr);gap:20px;text-align:center;
}
.strength{display:flex;flex-direction:column;align-items:center;gap:12px}
.strength-ic{height:74px;display:flex;align-items:center;justify-content:center}
.strength-ic img{width:auto;height:70px}
.strength h3{font-size:15px;font-weight:900;color:var(--navy);line-height:1.4}
.strength p{font-size:13px;color:var(--muted);line-height:1.6}

/* ===== 実績 ===== */
.result-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}
.result-card{
  background:#fff;border:1px solid var(--line);border-radius:var(--radius);
  padding:28px 22px;text-align:center;box-shadow:var(--shadow-sm);
  display:flex;flex-direction:column;align-items:center;gap:10px;
}
.result-ic{height:52px;display:flex;align-items:center}
.result-ic img{width:auto;height:52px}
.result-num{font-size:30px;font-weight:900;color:var(--navy);line-height:1.1}
.result-num .unit{font-size:15px;margin-left:2px}
.result-num-sm{font-size:19px}
.result-desc{font-size:13px;color:var(--muted);line-height:1.6}

/* ===== 対応領域 ===== */
.field-pills{
  list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:16px;justify-content:center;
}
.field-pills li{
  background:var(--blue-soft);color:var(--accent);font-weight:700;font-size:15px;
  padding:12px 30px;border-radius:999px;
}

/* ===== CTAバンド ===== */
.cta-band{background:linear-gradient(180deg,#eaf2fd,#e2edfb)}
.cta-box{text-align:center;max-width:760px;margin:0 auto;
  background:#e9f1fd;border-radius:var(--radius-lg);padding:14px 24px 8px}
.cta-title{color:var(--navy);font-weight:900;font-size:clamp(22px,2.6vw,30px);margin-bottom:8px}
.cta-sub{color:var(--muted);font-size:14px;margin-bottom:26px}
.cta-band .btn-primary{padding:18px 44px}
.cta-note{font-size:12px;color:var(--muted);margin-top:20px}

/* ===== FAQ ===== */
.faq-list{display:flex;flex-direction:column;gap:14px}
.faq-item{
  background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden;
  box-shadow:var(--shadow-sm);
}
.faq-item summary{
  list-style:none;cursor:pointer;display:flex;align-items:center;gap:14px;
  padding:18px 22px;font-weight:700;color:var(--navy);font-size:15px;
}
.faq-item summary::-webkit-details-marker{display:none}
.q-mark{color:var(--accent);font-weight:900;font-size:17px;flex:none}
.q-text{flex:1}
.q-chev{width:11px;height:11px;border-right:2px solid #9aa7c2;border-bottom:2px solid #9aa7c2;
  transform:rotate(45deg);transition:transform .3s;flex:none;margin-top:-4px}
.faq-item[open] .q-chev{transform:rotate(-135deg);margin-top:2px}
.faq-body{overflow:hidden;height:0}
.faq-body p{padding:0 22px 20px 50px;color:var(--muted);font-size:14px}

/* ===== Footer ===== */
.site-footer{background:#0a1a44;color:#c7d2e8;padding:44px 0 26px}
.footer-inner{display:flex;justify-content:space-between;align-items:center;gap:24px;flex-wrap:wrap}
.footer-brand{display:flex;align-items:center;gap:10px}
.footer-brand .brand-en{color:#fff}
.footer-brand .brand-ja{color:#9fb0d0}
.footer-nav{display:flex;gap:26px;font-size:13px;flex-wrap:wrap}
.footer-nav a{color:#c7d2e8;transition:color .15s}
.footer-nav a:hover{color:#fff}
.copyright{text-align:center;font-size:12px;color:#7d8db0;margin-top:28px}

/* ===== 浮動CTA ===== */
.float-cta{
  position:fixed;right:26px;bottom:26px;z-index:60;
  background:var(--blue);color:#fff;font-weight:700;font-size:15px;
  padding:15px 26px;border-radius:999px;box-shadow:0 12px 28px rgba(6,73,170,.4);
  display:inline-flex;align-items:center;gap:8px;
  opacity:0;visibility:hidden;transform:translateY(16px);transition:.3s;
}
.float-cta.show{opacity:1;visibility:visible;transform:translateY(0)}
.float-cta:hover{background:#053e93}

/* ===== 下層ページ（会社概要など） ===== */
.page-head{background:var(--bg-alt);border-bottom:1px solid var(--line);padding:40px 0 36px}
.breadcrumb{font-size:13px;color:var(--muted);margin-bottom:14px}
.breadcrumb a{color:var(--muted);transition:color .15s}
.breadcrumb a:hover{color:var(--accent);text-decoration:underline}
.breadcrumb .sep{margin:0 .55em;color:#9fb0d0}
.page-title{color:var(--navy);font-weight:900;font-size:clamp(24px,3.2vw,34px);letter-spacing:.02em;line-height:1.3}
.page-title-en{display:block;font-size:12px;font-weight:700;letter-spacing:.18em;color:var(--blue-bright);margin-bottom:4px}
.page-lead{margin-top:14px;color:var(--muted);font-size:15px}

/* 会社概要テーブル */
.profile-card{margin:0;background:#fff;border:1px solid var(--line);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm);overflow:hidden}
.profile-row{display:grid;grid-template-columns:240px 1fr}
.profile-row+.profile-row{border-top:1px solid var(--line)}
.profile-row dt{padding:20px 24px;background:var(--blue-soft);color:var(--navy);font-weight:700;font-size:15px}
.profile-row dd{margin:0;padding:20px 24px;color:var(--ink);font-size:15px}
.profile-list,.legal-list{margin:0;padding:0;list-style:none}
.profile-list li,.legal-list li{position:relative;padding-left:1.15em}
.profile-list li::before,.legal-list li::before{content:"";position:absolute;left:0;top:.72em;width:6px;height:6px;border-radius:50%;background:var(--blue-bright)}
.text-link{color:var(--accent);font-weight:700;text-decoration:underline;text-underline-offset:3px}
.text-link:hover{color:var(--blue)}
.legal-date{margin-top:40px;text-align:right;font-size:13px;color:var(--muted)}

/* 規約・ポリシー本文 */
.legal{font-size:15px}
.legal p+p{margin-top:12px}
.legal-intro{margin-bottom:12px}
.legal-section{margin-top:44px}
.legal-section h2{
  display:flex;align-items:baseline;gap:.5em;
  color:var(--navy);font-weight:900;font-size:19px;letter-spacing:.02em;
  padding-bottom:10px;border-bottom:2px solid var(--blue-soft);margin-bottom:16px;
}
.legal-section h2 .num{color:var(--blue-bright);font-size:16px;flex:0 0 auto}
.legal-list{margin-top:14px}
.legal-list li{margin-top:6px}
.legal-note{margin-top:16px;padding:14px 16px;background:var(--bg-alt);border-radius:12px;font-size:14px;color:var(--muted)}
.legal-contact{margin-top:16px;padding:20px 22px;background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow-sm)}
.contact-list{margin:0}
.contact-list>div{display:grid;grid-template-columns:130px 1fr;gap:4px 12px}
.contact-list>div+div{margin-top:12px;padding-top:12px;border-top:1px solid var(--line)}
.contact-list dt{font-weight:700;color:var(--navy)}
.contact-list dd{margin:0}

/* ===== Responsive ===== */
@media (max-width:900px){
  .section{padding:56px 0}
  .nav,.btn-nav{display:none}
  .hamburger{display:flex}
  .site-header.open .nav{
    display:flex;position:absolute;top:68px;left:0;right:0;flex-direction:column;
    gap:0;background:#fff;border-bottom:1px solid var(--line);box-shadow:var(--shadow);padding:8px 0;
  }
  .site-header.open .nav a{padding:14px 24px}
  .hero-inner{grid-template-columns:1fr;gap:28px}
  .hero-copy{min-width:0}
  .hero-copy{order:2}
  .hero-visual{order:1}
  .hero-title br{display:none}
  .hero-cta{max-width:none}
  .worry-list{grid-template-columns:repeat(3,1fr);gap:24px 16px}
  .strength-list{grid-template-columns:repeat(3,1fr);gap:28px 16px}
  .result-grid{grid-template-columns:repeat(2,1fr)}
  .support-grid{grid-template-columns:1fr;max-width:480px;margin:0 auto}
  .float-cta{display:none}
  .profile-row{grid-template-columns:190px 1fr}
}
@media (max-width:640px){
  :root{--pad:18px}
  .section{padding:44px 0}
  .section-title{margin-bottom:32px}
  .hero{padding:36px 0 24px}
  .hero-title br{display:inline}
  .worry-list{grid-template-columns:repeat(2,1fr)}
  .worry-ic{width:80px;height:80px}
  .worry-ic svg{width:36px;height:36px}
  .strength-list{grid-template-columns:repeat(2,1fr)}
  /* 長いCTA文言（「CTO経験エンジニアに相談する」）が nowrap のまま
     min-content 幅を押し上げ、320px 幅で横スクロールが出ていた。
     全幅ボタンになるこの範囲では折り返しを許可する */
  .btn-lg{width:100%;white-space:normal;text-align:center}
  .footer-inner{flex-direction:column;align-items:flex-start}
  .brand-mark{width:34px;height:34px}
  .page-head{padding:28px 0 26px}
  .profile-row{grid-template-columns:1fr}
  .profile-row dt{padding:14px 18px 10px}
  .profile-row dd{padding:0 18px 18px}
  .legal-section{margin-top:34px}
  .legal-section h2{font-size:17px}
  .contact-list>div{grid-template-columns:1fr;gap:2px}
}

@media (prefers-reduced-motion:reduce){
  *{scroll-behavior:auto !important;transition:none !important}
}
