@charset "UTF-8";
/* ==========================================================================
   KANAME CONSTRUCTION — Service Page  (style.css → sub.css の後に読み込む)
   --------------------------------------------------------------------------
   01. Overview (coverage matrix)
   02. Service detail
   03. Technology
   04. FAQ
   05. Responsive
   ========================================================================== */

/* ---------- 01. Overview : coverage matrix ---------- */
.cover { padding: var(--section-space) 0; }
.matrix { border: 1px solid var(--line); border-radius: 14px; background: var(--white); overflow-x: auto; }
.matrix table { width: 100%; min-width: 720px; border-collapse: collapse; }
.matrix th, .matrix td { padding: 18px 16px; border-bottom: 1px solid var(--line); text-align: center; vertical-align: middle; }
.matrix tbody tr:last-child th, .matrix tbody tr:last-child td { border-bottom: 0; }
.matrix thead th { background: var(--blue-pale); font-size: 13px; font-weight: 700; line-height: 1.4; }
.matrix thead th small { display: block; font-family: var(--f-mono); font-weight: 400; font-size: 10px; color: var(--red); text-transform: uppercase; }
.matrix thead th:first-child { text-align: left; font-family: var(--f-mono); font-weight: 400; font-size: 11px; text-transform: uppercase; }
.matrix tbody th { text-align: left; width: 26%; }
.matrix tbody th a { display: inline-flex; align-items: baseline; gap: 12px; font-family: var(--f-serif); font-weight: 600; font-size: 17px; transition: color .4s; }
.matrix tbody th a:hover { color: var(--blue); }
.matrix tbody th b { font-family: var(--f-mono); font-weight: 400; font-size: 11px; color: var(--red); }
.matrix td + td, .matrix th + td, .matrix thead th + th { border-left: 1px solid var(--line); }
.matrix tbody tr { transition: background-color .4s; }
.matrix tbody tr:hover { background: rgba(232, 244, 253, .6); }
.dot { display: inline-block; width: 14px; height: 14px; border: 1.5px solid var(--blue); border-radius: 50%; vertical-align: middle; }
.dot--main { background: var(--blue); box-shadow: 0 0 0 4px rgba(18, 105, 207, .15); }
.dot--sub { border-style: dashed; border-color: rgba(29, 44, 70, .4); }
.matrix__legend { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 22px; padding: 14px 18px; border-top: 1px solid var(--line); font-size: 12px; }
.matrix__legend span { display: inline-flex; align-items: center; gap: 8px; }
.matrix__legend .dot { width: 11px; height: 11px; }

/* scroll hint (SP only) */
.matrix__hint { display: none; align-items: center; gap: 6px; margin-bottom: 8px; font-family: var(--f-mono); font-size: 11px; opacity: .6; }
.matrix__hint svg { width: 14px; height: 14px; }

/* ---------- 02. Service detail ---------- */
.svc { padding: var(--section-space) 0; scroll-margin-top: 0; }
.svc--tint { background: var(--blue-pale); }
.svc__wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 6vw; align-items: start; }
.svc--rev .svc__visual { order: 2; }
.svc__visual { position: sticky; top: 96px; }
.svc__img { position: relative; aspect-ratio: 4 / 4.4; border-radius: 14px; overflow: hidden; }
.svc__img > div { position: absolute; inset: -9% 0; }
.svc__img img { width: 100%; height: 100%; object-fit: cover; }
.svc__img::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34%; height: 6px; background: var(--red); }
.svc--rev .svc__img::after { left: auto; right: 0; }
.svc__big { position: relative; z-index: 1; display: block; margin: 0 0 -.2em -.04em; font-family: var(--f-en); font-stretch: 125%; font-weight: 800; font-size: clamp(80px, 9vw, 150px); line-height: .9; letter-spacing: -.04em;
  color: transparent; -webkit-text-stroke: 1.5px var(--blue); pointer-events: none; }
.svc--rev .svc__big { text-align: right; margin: 0 -.04em -.2em 0; }
.svc__visual { display: flex; flex-direction: column; }
.svc__big { order: -1; }
.svc__lead { margin-top: 28px; font-size: 14.5px; line-height: 2.2; }
.scope { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 36px; }
.scope li { display: grid; grid-template-columns: 36px 1fr; grid-template-rows: auto auto; gap: 0 12px; align-items: center; padding: 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--white);
  transition: opacity 1s var(--ease), transform 1s var(--ease), border-color .4s, box-shadow .4s; }
.scope svg { grid-row: 1 / 3; width: 32px; height: 32px; color: var(--blue); transition: transform .6s var(--ease), color .4s; }
.scope b { font-size: 14px; line-height: 1.5; }
.scope span { font-size: 11.5px; line-height: 1.6; opacity: .65; }
@media (hover: hover) {
  .scope li:hover { border-color: var(--blue); box-shadow: 0 10px 24px rgba(18, 105, 207, .1); }
  .scope li:hover svg { color: var(--red); transform: rotate(-8deg) scale(1.08); }
}
.svc__data { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 36px; border-top: 1px solid var(--line-strong); }
.svc__data div { padding: 16px 0 0; }
.svc__data div + div { padding-left: 16px; border-left: 1px solid var(--line); }
.svc__data dt { font-size: 11px; opacity: .6; }
.svc__data dd { color: var(--blue); font-family: var(--f-en); font-stretch: 125%; font-weight: 800; font-size: clamp(26px, 2.6vw, 40px); line-height: 1.25; white-space: nowrap; }
.svc__data small { font-family: var(--f-sans); font-weight: 500; font-size: 12px; margin-left: 2px; }

/* ---------- 03. Technology ---------- */
.tech { padding: var(--section-space) 0; }
.tech .sec-head__text { opacity: .85; }
.techs { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-w); border-left: 1px solid var(--line-w); border-radius: 14px; overflow: hidden; }
.techs li { position: relative; display: flex; flex-direction: column; min-height: 320px; padding: clamp(22px, 2.4vw, 34px); border-right: 1px solid var(--line-w); border-bottom: 1px solid var(--line-w); isolation: isolate;
  transition: opacity 1s var(--ease), transform 1s var(--ease), color .5s; }
.techs li::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--white); clip-path: inset(100% 0 0 0); transition: clip-path .55s var(--ease); }
.techs__no { font-family: var(--f-mono); font-size: 11px; opacity: .8; }
.techs svg { width: 46px; height: 46px; margin-top: 28px; transition: transform .7s var(--ease), color .4s; }
.techs h3 { margin-top: 24px; font-family: var(--f-en); font-stretch: 112%; font-weight: 800; font-size: 20px; line-height: 1.4; }
.techs p { margin-top: 10px; font-size: 13px; line-height: 1.95; opacity: .88; }
.techs__fx { display: flex; justify-content: space-between; align-items: baseline; margin-top: auto !important; padding-top: 18px; border-top: 1px solid var(--line-w); opacity: 1 !important; transition: border-color .4s; }
.techs__fx span { font-size: 12px; opacity: .8; }
.techs__fx b { font-family: var(--f-en); font-stretch: 125%; font-weight: 800; font-size: 30px; line-height: 1; }
.techs__fx small { font-family: var(--f-sans); font-size: 12px; font-weight: 500; margin-left: 2px; }
@media (hover: hover) {
  .techs.is-in > li:hover { color: var(--black); }
  .techs li:hover::before { clip-path: inset(0); }
  .techs li:hover svg { color: var(--blue); transform: translateY(-4px) rotate(-6deg); }
  .techs li:hover .techs__no { color: var(--red); opacity: 1; }
  .techs li:hover .techs__fx { border-color: var(--line); }
  .techs li:hover .techs__fx b { color: var(--blue); }
}

/* ---------- 04. FAQ ---------- */
.faq { padding: var(--section-space) 0; }
.faq__grid { display: grid; grid-template-columns: 4fr 8fr; gap: 32px 6vw; align-items: start; }
.faq__side { position: sticky; top: 60px; }
.faq__note { margin-top: 24px; font-size: 13px; line-height: 2; opacity: .7; }
.faq__list { border-top: 1px solid var(--line-strong); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { display: grid; grid-template-columns: 40px 1fr 32px; align-items: center; gap: 12px; padding: 22px 0; cursor: pointer; list-style: none; transition: color .4s; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--blue); }
.qa__q, .qa__mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; font-family: var(--f-en); font-stretch: 125%; font-weight: 800; font-size: 14px; }
.qa__q { background: var(--blue); color: var(--white); }
.qa__ttl { font-size: 15px; font-weight: 700; line-height: 1.7; }
.qa__ic { position: relative; width: 32px; height: 32px; border: 1px solid currentColor; border-radius: 50%; }
.qa__ic::before, .qa__ic::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -.75px 0 0 -6px; background: currentColor; transition: transform .5s var(--ease); }
.qa__ic::after { transform: rotate(90deg); }
.qa[open] .qa__ic::after { transform: rotate(0deg); }
.qa__a { display: grid; grid-template-columns: 40px 1fr; gap: 12px; padding: 0 44px 26px 0; }
.qa__mark { background: var(--red-l); color: var(--red); }
.qa__a p { font-size: 14px; line-height: 2.1; padding-top: 4px; opacity: .85; }
.qa[open] .qa__a { animation: qaIn .6s var(--ease); }
@keyframes qaIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ---------- 05. Responsive ---------- */
@media (max-width: 1180px) {
  .techs { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .svc__wrap, .faq__grid { grid-template-columns: 1fr; }
  .svc__visual { position: relative; top: 0; order: 0 !important; max-width: 640px; }
  .svc__img { aspect-ratio: 16 / 11; }
  .faq__side { position: static; }
}
@media (max-width: 640px) {
  .matrix__hint { display: flex; }
  .matrix th, .matrix td { padding: 14px 10px; }
  .matrix tbody th a { font-size: 15px; }
  .scope { grid-template-columns: 1fr; }
  .svc__big { font-size: 72px; }
  .svc__data dd { font-size: 7vw; }
  .techs { grid-template-columns: 1fr; }
  .techs li { min-height: 0; }
  .qa summary { grid-template-columns: 32px 1fr 28px; gap: 10px; padding: 18px 0; }
  .qa__q, .qa__mark { width: 30px; height: 30px; font-size: 12px; }
  .qa__ic { width: 28px; height: 28px; }
  .qa__ttl { font-size: 14px; }
  .qa__a { grid-template-columns: 32px 1fr; gap: 10px; padding-right: 0; }
}
