/* VICTRIZE service pages — shared styles */
:root {
  --bg: #F6F6F3;
  --ink: #111827;
  --ink-soft: #1F2937;
  --muted: #5D6470;
  --hair: rgba(20,23,30,.10);
  --accent: #2E6BFF;
  --accent-2: #6E97FF;
  --accent-soft: rgba(46,107,255,.10);
  --maxw: 1200px;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue",
    "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", "Yu Gothic", sans-serif;
  --jp: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", "Yu Gothic", -apple-system, sans-serif;
  --ease: cubic-bezier(.22,1,.36,1);
}
* { box-sizing: border-box; }
html, body { margin: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--ink); font-family: var(--sans);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
img, svg { display: block; max-width: 100%; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 30px; position: relative; }

/* ===== nav ===== */
header.nav { position: sticky; top: 0; z-index: 30; background: rgba(246,246,243,.85);
  backdrop-filter: blur(14px); border-bottom: 1px solid var(--hair); }
.nav-inner { display: flex; align-items: center; height: 76px; gap: 34px; }
.brand { display: flex; align-items: center; gap: 13px; }
.brand .logo { width: 48px; height: auto; display: block; }
.brand .name { font-weight: 800; letter-spacing: .2em; font-size: .95rem; color: #14171E; }
.nav-menu { margin-left: auto; display: flex; align-items: center; gap: 30px; }
.nav-menu a.link { font-size: .88rem; font-weight: 600; color: #14171E; transition: color .2s; position: relative; }
.nav-menu a.link::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .3s var(--ease); }
.nav-menu a.link:hover { color: var(--accent); }
.nav-menu a.link:hover::after { transform: scaleX(1); transform-origin: left; }
.cta { display: inline-flex; align-items: center; gap: 8px; background: var(--accent); color: #fff;
  font-weight: 800; font-size: .88rem; letter-spacing: .04em; padding: 12px 20px; border-radius: 999px;
  box-shadow: 0 8px 22px -10px var(--accent); transition: transform .18s, filter .2s; }
.cta:hover { filter: brightness(1.12); transform: translateY(-1px); }
.nav-toggle { display: none; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; position: relative; margin-left: auto; }
.nav-toggle span { position: absolute; left: 10px; right: 10px; height: 2px; background: #14171E; border-radius: 2px; transition: transform .3s, opacity .2s; }
.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); }
.nav-backdrop { position: fixed; inset: 0; background: rgba(15,18,26,.4); backdrop-filter: blur(6px);
  opacity: 0; pointer-events: none; transition: opacity .3s; z-index: 28; }
.nav-backdrop.is-open { opacity: 1; pointer-events: auto; }

/* ===== page hero with animated blobs ===== */
.page-hero { position: relative; padding: clamp(90px, 12vw, 150px) 0 clamp(70px, 9vw, 110px); overflow: hidden; }
.blobs { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.blob { position: absolute; border-radius: 50%; filter: blur(58px); opacity: .5; will-change: transform; }
.blob.b1 { width: clamp(320px, 42vw, 620px); height: clamp(320px, 42vw, 620px); right: -10%; top: -26%;
  background: radial-gradient(circle at 34% 30%, var(--accent-2), var(--accent) 70%);
  animation: blobDrift1 17s ease-in-out infinite; }
.blob.b2 { width: clamp(200px, 26vw, 380px); height: clamp(200px, 26vw, 380px); right: 16%; top: 36%;
  background: radial-gradient(circle at 60% 40%, #12B5C9, var(--accent-2) 75%); opacity: .34;
  animation: blobDrift2 21s ease-in-out infinite; }
.blob.b3 { width: clamp(150px, 18vw, 260px); height: clamp(150px, 18vw, 260px); left: -6%; bottom: -24%;
  background: radial-gradient(circle at 40% 40%, var(--accent-2), transparent 75%); opacity: .4;
  animation: blobDrift3 14s ease-in-out infinite; }
@keyframes blobDrift1 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-46px, 38px) scale(1.07); } }
@keyframes blobDrift2 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(36px, -30px) scale(.94); } }
@keyframes blobDrift3 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(28px, -22px); } }

.breadcrumbs { position: relative; z-index: 1; font-size: .78rem; color: var(--muted); letter-spacing: .06em; margin: 0 0 26px; font-weight: 600; }
.breadcrumbs a { color: var(--muted); transition: color .2s; }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs .sep { margin: 0 10px; opacity: .5; }
.dot-label { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 800; letter-spacing: .22em; color: var(--accent); }
.dot-label::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
.page-title { position: relative; z-index: 1; font-family: var(--sans); font-weight: 800; letter-spacing: -.02em;
  line-height: .95; font-size: clamp(3rem, 9vw, 6.4rem); margin: 18px 0 14px; color: #14171E; }
.page-jp { position: relative; z-index: 1; font-family: var(--jp); font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--muted); font-weight: 600; margin: 0; }
.hero-tags { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.hero-tags .tag { font-size: .74rem; font-weight: 700; letter-spacing: .08em; color: var(--ink-soft);
  border: 1px solid var(--hair); background: rgba(255,255,255,.6); padding: 8px 14px; border-radius: 999px; }

/* ===== sections ===== */
.section { padding: clamp(74px, 9.5vw, 120px) 0; position: relative; }
.section.alt { background: #EFEFEA; }
.divider { height: 1px; background: var(--hair); }
.sec-eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: .78rem; font-weight: 800;
  letter-spacing: .24em; color: var(--accent); margin-bottom: 16px; }
.sec-eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--accent); }
.sec-title { font-family: var(--jp); font-size: clamp(1.7rem, 4vw, 2.5rem); line-height: 1.35; font-weight: 800;
  letter-spacing: -.01em; color: #14171E; margin: 0 0 18px; text-wrap: balance; }
.sec-title .acc { color: var(--accent); }
.sec-lead { font-family: var(--jp); font-size: 1rem; line-height: 2.05; color: var(--muted); max-width: 48em; }
.sec-lead b { color: #111827; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: clamp(30px, 5vw, 70px); align-items: start; }

/* pill badge (e.g. 最短14営業日) */
.pill { display: inline-block; margin-left: 14px; padding: 6px 13px; font-size: .72rem; font-weight: 800;
  letter-spacing: .08em; color: var(--accent); background: var(--accent-soft); border-radius: 999px; vertical-align: middle; }

/* ===== rec list (For You) ===== */
.rec-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; margin-top: 40px; }
.rec { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--hair);
  border-radius: 14px; padding: 20px 22px; font-family: var(--jp); font-size: .95rem; font-weight: 600; color: var(--ink-soft);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.rec:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -24px rgba(20,23,30,.35); border-color: rgba(46,107,255,.3); }
.rec svg { width: 22px; height: 22px; flex: none; color: var(--accent); }

/* ===== offer cards (What We Do) ===== */
.off-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; }
.off { background: #fff; border: 1px solid var(--hair); border-radius: 18px; padding: 28px 26px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s; position: relative; overflow: hidden; }
.off::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2)); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.off:hover { transform: translateY(-5px); box-shadow: 0 24px 48px -26px rgba(20,23,30,.4); border-color: rgba(46,107,255,.28); }
.off:hover::after { transform: scaleX(1); }
.off .num { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.off .num b { font-size: 1.05rem; font-weight: 800; color: var(--accent); letter-spacing: .04em; }
.off .num i { flex: 1; height: 1px; background: var(--hair); }
.off h3 { font-family: var(--jp); font-size: 1.08rem; font-weight: 800; color: #14171E; margin: 0 0 10px; }
.off p { font-family: var(--jp); font-size: .9rem; line-height: 1.9; color: var(--muted); margin: 0; }

/* ===== why cards (3 reasons) ===== */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; }
.why { background: #14171E; color: #F4F6FB; border-radius: 18px; padding: 32px 28px; position: relative; overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.why::before { content: ""; position: absolute; top: -40%; right: -30%; width: 80%; height: 110%;
  background: radial-gradient(circle, var(--accent) 0%, transparent 65%); opacity: .3; pointer-events: none; transition: opacity .4s; }
.why:hover { transform: translateY(-5px); box-shadow: 0 26px 54px -26px rgba(20,23,30,.55); }
.why:hover::before { opacity: .5; }
.why .w-num { font-size: 2rem; font-weight: 800; color: var(--accent-2); letter-spacing: .02em; margin-bottom: 14px; }
.why h3 { font-family: var(--jp); font-size: 1.12rem; font-weight: 800; line-height: 1.5; margin: 0 0 12px; }
.why p { font-family: var(--jp); font-size: .9rem; line-height: 1.95; color: rgba(233,239,252,.75); margin: 0; }

/* ===== steps ===== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 44px; }
.step { position: relative; background: #fff; border: 1px solid var(--hair); border-radius: 16px; padding: 26px 22px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.step:hover { transform: translateY(-4px); box-shadow: 0 20px 42px -26px rgba(20,23,30,.4); }
.step .n { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px;
  border-radius: 50%; background: var(--accent); color: #fff; font-weight: 800; font-size: .92rem; margin-bottom: 16px; }
.step h3 { font-family: var(--jp); font-size: 1.02rem; font-weight: 800; color: #14171E; margin: 0 0 4px; }
.step .en { display: block; font-size: .68rem; letter-spacing: .22em; font-weight: 800; color: var(--accent); margin-bottom: 12px; }
.step p { font-family: var(--jp); font-size: .88rem; line-height: 1.9; color: var(--muted); margin: 0; }

/* ===== price card ===== */
.price-card { background: #fff; border-radius: 20px; border: 1px solid var(--hair);
  padding: clamp(28px, 3.5vw, 40px); box-shadow: 0 26px 60px -38px rgba(20,23,30,.35); }
.price-card h3 { font-family: var(--jp); font-size: 1.24rem; font-weight: 800; color: #111827; margin: 0 0 10px; }
.price-card p { font-family: var(--jp); font-size: .96rem; line-height: 2; color: var(--muted); margin: 0 0 18px; }
.price-card .note { font-size: .84rem; color: #9AA0AA; margin: 4px 0 0; }

/* ===== FAQ ===== */
.faq-list { max-width: 900px; margin: 30px auto 0; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: #fff; border-radius: 14px; border: 1px solid var(--hair); overflow: hidden; transition: border-color .3s, box-shadow .3s; }
.faq-item[open] { border-color: rgba(46,107,255,.35); box-shadow: 0 18px 42px -28px rgba(46,107,255,.4); }
.faq-item summary { list-style: none; cursor: pointer; padding: 20px 22px; display: flex; align-items: center;
  gap: 16px; font-family: var(--jp); font-weight: 700; font-size: .98rem; color: #14171E; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .q { width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; font-size: .8rem; font-weight: 800; flex: none; }
.faq-item .qtext { flex: 1; }
.faq-item .caret { flex: none; width: 24px; height: 24px; border: 1px solid var(--hair); border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center; color: #4B5563; transition: transform .25s, color .25s, border-color .25s; }
.faq-item .caret svg { width: 12px; height: 12px; }
.faq-item[open] .caret { transform: rotate(180deg); color: var(--accent); border-color: var(--accent); }
.faq-item .a { padding: 0 22px 22px 66px; font-family: var(--jp); color: var(--muted); font-size: .94rem; line-height: 2; }

/* ===== CTA band ===== */
.cta-band { background: linear-gradient(120deg, #0B0F1A 0%, #10151F 100%); color: #fff; border-radius: 24px;
  padding: clamp(36px, 6vw, 64px); text-align: center; position: relative; overflow: hidden; }
.cta-band .bl { position: absolute; border-radius: 50%; filter: blur(50px); pointer-events: none; }
.cta-band .bl1 { width: 300px; height: 300px; right: -6%; top: -40%; background: var(--accent); opacity: .4;
  animation: blobDrift1 15s ease-in-out infinite; }
.cta-band .bl2 { width: 220px; height: 220px; left: -4%; bottom: -46%; background: #12B5C9; opacity: .26;
  animation: blobDrift2 19s ease-in-out infinite; }
.cta-band h3 { position: relative; font-family: var(--jp); font-size: clamp(1.5rem, 3vw, 2.2rem); line-height: 1.4;
  font-weight: 800; margin: 0 0 14px; letter-spacing: -.01em; }
.cta-band p { position: relative; font-family: var(--jp); margin: 0 0 26px; color: rgba(233,239,252,.72); font-size: 1rem; line-height: 2; }
.cta-band .btn { position: relative; display: inline-flex; align-items: center; gap: 10px; background: var(--accent);
  color: #fff; font-weight: 800; font-size: .92rem; letter-spacing: .04em; padding: 16px 28px; border-radius: 999px;
  transition: transform .2s var(--ease), filter .2s; }
.cta-band .btn:hover { transform: translateY(-1px); filter: brightness(1.12); }

/* ===== footer ===== */
.footer { background: #0A0A0A; color: #E9EFFC; padding: 64px 0 30px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 44px; padding-bottom: 44px;
  border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-brand { display: flex; align-items: center; gap: 13px; margin-bottom: 18px; }
.footer-brand .logo { width: 46px; filter: invert(1) brightness(1.6); }
.footer-brand .name { font-weight: 800; letter-spacing: .2em; font-size: .95rem; }
.footer-desc { font-family: var(--jp); font-size: .9rem; line-height: 2; color: rgba(233,239,252,.65); margin: 0; max-width: 36em; }
.footer-col h4 { font-size: .74rem; letter-spacing: .26em; font-weight: 800; color: rgba(233,239,252,.5); margin: 0 0 18px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-family: var(--jp); font-size: .92rem; color: rgba(233,239,252,.85); transition: color .2s; }
.footer-col a:hover { color: var(--accent-2); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 26px;
  font-size: .8rem; color: rgba(233,239,252,.5); gap: 16px; flex-wrap: wrap; }
.footer-bottom .legal { display: flex; gap: 22px; }
.footer-bottom .legal a:hover { color: var(--accent-2); }

/* ===== reveal ===== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ===== responsive ===== */
@media (max-width: 860px) {
  .nav-menu { position: fixed; top: 0; right: 0; bottom: 0; width: min(82vw, 340px); background: #FBFBF9;
    flex-direction: column; align-items: flex-start; padding: 96px 32px 36px; gap: 22px; z-index: 29;
    transform: translateX(100%); transition: transform .35s var(--ease); margin-left: 0; }
  .nav-menu.is-open { transform: translateX(0); }
  .nav-menu a.link { font-size: 1.05rem; }
  .nav-toggle { display: block; }
  .grid-2 { grid-template-columns: 1fr; }
  .rec-list { grid-template-columns: 1fr; }
  .off-grid { grid-template-columns: 1fr; gap: 16px; }
  .why-grid { grid-template-columns: 1fr; gap: 16px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
  .page-title { font-size: clamp(2.4rem, 12vw, 4.4rem); }
}
@media (max-width: 480px) {
  .page-title { font-size: 2.4rem; }
  .steps { grid-template-columns: 1fr; }
  .faq-item .a { padding-left: 22px; }
  .pill { display: inline-block; margin: 10px 0 0; }
}
