/* FAQ・会社概要の個別デザイン（2026-10-02） */

/* ---------- 共通：下層ヒーロー ---------- */
.pg-hero { position: relative; overflow: hidden; padding: 56px 0 88px; background: var(--color-bg); border-bottom: 1px solid var(--color-line); }
.pg-hero-bg { position: absolute; right: -2vw; bottom: -0.18em; font-size: clamp(120px, 20vw, 300px); font-weight: 700; line-height: 1; letter-spacing: -.02em; color: transparent; -webkit-text-stroke: 1.5px #E4E0D6; pointer-events: none; user-select: none; }
.pg-hero-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.pg-hero .eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 15px; letter-spacing: .14em; }
.pg-hero .eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--color-accent); }
.pg-hero h1 { font-size: clamp(34px, 4.4vw, 60px); line-height: 1.4; margin: 14px 0 22px; }
.pg-lead { font-size: 17px; line-height: 2; max-width: 34em; margin: 0; }
.pg-hero-visual { position: relative; margin: 0; }
.pg-hero-visual::before { content: ""; position: absolute; inset: 22px -22px -22px 22px; background: var(--color-accent); border-radius: 24px; }
.pg-hero-visual img { position: relative; width: 100%; height: auto; border-radius: 24px; background: #fff; border: 1.5px solid #111; }
.pg-hero-links { display: flex; flex-wrap: wrap; gap: 10px; margin: 30px 0 0; padding: 0; list-style: none; }
.pg-hero-links a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; font-size: 14px; font-weight: 700; background: #fff; border: 1px solid #111; border-radius: 999px; }
.pg-hero-links a::after { content: "↓"; font-size: 12px; }
.pg-hero-links a:hover { background: var(--color-accent); }

/* ---------- FAQ ---------- */
.faq-nav-wrap { padding: 48px 0 8px; background: #fff; }
.faq-chips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.faq-chip { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 18px 20px; background: var(--color-bg); border: 1px solid var(--color-line); border-radius: 14px; transition: background .2s, border-color .2s; }
.faq-chip:hover { background: var(--color-accent); border-color: #111; }
.faq-chip-no { font-size: 13px; font-weight: 700; color: var(--color-muted); }
.faq-chip-label { font-weight: 700; font-size: 15px; }
.faq-chip-count { font-size: 12px; padding: 3px 10px; background: #111; color: #fff; border-radius: 999px; }
.faq-body { padding: 56px 0 104px; background: #fff; }
.faq-cat { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 48px; padding: 48px 0; border-top: 1px solid var(--color-line); scroll-margin-top: 90px; }
.faq-cat:first-child { border-top: 0; }
.faq-cat-head { position: sticky; top: 100px; align-self: start; }
.faq-cat-no { display: block; font-size: 56px; font-weight: 700; line-height: 1; color: var(--color-accent); -webkit-text-stroke: 1.5px #111; }
.faq-cat-head h2 { font-size: 22px; line-height: 1.6; margin: 14px 0 0; }
.faq-cat-list { display: grid; gap: 14px; }
.qa { background: var(--color-bg); border: 1px solid var(--color-line); border-radius: 16px; transition: border-color .2s, background .2s; }
.qa[open] { background: #fff; border-color: #111; }
.qa summary { display: grid; grid-template-columns: 40px minmax(0, 1fr) 36px; align-items: center; gap: 16px; padding: 20px 22px; font-weight: 700; font-size: 16px; line-height: 1.7; cursor: pointer; list-style: none; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: none !important; }
.qa-badge { display: grid; place-items: center; width: 40px; height: 40px; font-size: 17px; font-weight: 700; background: var(--color-accent); color: #111; border-radius: 50%; }
.qa-badge-a { background: #111; color: #fff; }
.qa-icon { position: relative; width: 36px; height: 36px; border: 1px solid #111; border-radius: 50%; background: #fff; transition: transform .25s, background .2s; }
.qa-icon::before, .qa-icon::after { content: ""; position: absolute; top: 50%; left: 50%; width: 12px; height: 2px; background: #111; transform: translate(-50%, -50%); }
.qa-icon::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .25s; }
.qa[open] .qa-icon { background: var(--color-accent); }
.qa[open] .qa-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.qa summary:hover .qa-icon { background: var(--color-accent); }
.qa-answer { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px; margin: 0 22px; padding: 20px 0 24px; border-top: 1px dashed #CFC9BB; }
.page-faq .qa-answer .answer { margin: 0; padding: 0; line-height: 2; white-space: normal; max-width: none; }

/* ---------- 会社概要 ---------- */
.page-about .eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 14px; letter-spacing: .14em; }
.page-about .eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--color-accent); }
.page-about h2 { font-size: clamp(26px, 3vw, 38px); line-height: 1.5; margin: 12px 0 28px; }
.page-about .copy-block { max-width: none; line-height: 2.1; white-space: pre-wrap; }

.ab-philosophy { position: relative; overflow: hidden; padding: 120px 0; background: #111; color: #fff; text-align: center; }
.ab-philosophy::before { content: ""; position: absolute; top: -140px; left: -140px; width: 380px; height: 380px; border-radius: 50%; background: var(--color-accent); opacity: .9; }
.ab-philosophy::after { content: ""; position: absolute; right: -90px; bottom: -90px; width: 260px; height: 260px; border-radius: 50%; border: 2px solid var(--color-accent); }
.ab-philosophy .container { position: relative; }
.ab-philosophy .eyebrow { justify-content: center; color: #fff; }
.ab-philosophy h2 { font-size: 18px; color: #bbb; margin: 10px 0 18px; }
.ab-philosophy-main { display: inline; font-size: clamp(28px, 4.2vw, 54px); font-weight: 700; line-height: 1.6; background: linear-gradient(transparent 62%, var(--color-accent) 62%); color: #fff; padding: 0 6px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.ab-philosophy-main { color: #111; background: var(--color-accent); border-radius: 6px; padding: 2px 14px; }
.ab-philosophy-text { max-width: 760px; margin: 44px auto 0; line-height: 2.2; color: #e8e8e8; text-align: left; }

.ab-origin, .ab-can { padding: 112px 0; }
.ab-origin { background: var(--color-bg); }
.ab-can { background: #fff; }
.ab-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 72px; align-items: center; }
.ab-split-rev { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
.ab-origin-card { display: flex; align-items: center; justify-content: center; gap: 22px; aspect-ratio: 1 / 1; padding: 32px; background: var(--color-accent); border: 1.5px solid #111; border-radius: 28px; box-shadow: 14px 14px 0 #111; }
.ab-origin-card div { display: grid; justify-items: center; gap: 10px; }
.ab-origin-card .en { font-size: clamp(40px, 5vw, 72px); font-weight: 700; line-height: 1; }
.ab-origin-card small { font-size: 13px; font-weight: 700; padding: 4px 12px; background: #fff; border: 1px solid #111; border-radius: 999px; }
.ab-origin-x { font-size: 36px !important; }
.ab-can-visual { margin: 0; }
.ab-can-visual img { width: 100%; height: auto; border-radius: 24px; border: 1.5px solid #111; background: var(--color-bg); }
.ab-can .text-link { margin-top: 28px; }

.ab-message { padding: 112px 0; background: #fff; border-top: 1px solid var(--color-line); }
.ab-message-grid { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 72px; }
.ab-message-side { position: sticky; top: 100px; align-self: start; }
.ab-photo { display: grid; place-items: center; gap: 8px; aspect-ratio: 4 / 5; padding: 20px; text-align: center; font-size: 14px; background: repeating-linear-gradient(45deg, var(--color-bg) 0 14px, #EFEBE1 14px 28px); border: 1.5px solid #111; border-radius: 20px; box-shadow: 12px 12px 0 var(--color-accent); }
.ab-sign { margin: 28px 0 0; font-weight: 700; font-size: 18px; }
.ab-message-text { padding: 44px 48px; background: var(--color-bg); border-radius: 24px; }
.ab-message-text p { margin: 0 0 1.6em; line-height: 2.15; }
.ab-message-text p:first-child { font-size: 19px; font-weight: 700; line-height: 1.9; }
.ab-message-text p:last-child { margin-bottom: 0; }

.ab-career { padding: 112px 0; background: var(--color-bg); }
.ab-career-list { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; margin: 20px 0 0; padding: 0; list-style: none; }
.ab-career-list::before { content: ""; position: absolute; top: 27px; left: 4%; right: 4%; height: 2px; background: #111; }
.ab-career-list li { position: relative; display: grid; justify-items: center; gap: 18px; text-align: center; }
.ab-career-no { display: grid; place-items: center; width: 56px; height: 56px; font-weight: 700; font-size: 18px; background: #fff; border: 1.5px solid #111; border-radius: 50%; }
.ab-career-list li:last-child .ab-career-no { background: var(--color-accent); }
.ab-career-list p { margin: 0; padding: 18px 14px; width: 100%; min-height: 112px; font-size: 14px; font-weight: 700; line-height: 1.8; background: #fff; border: 1px solid var(--color-line); border-radius: 14px; }

.ab-company { padding: 112px 0 120px; background: #fff; }
.ab-company-card { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 48px; padding: 48px; background: var(--color-bg); border-radius: 28px; }
.ab-company-head h2 { margin-bottom: 0; }
.page-about .company-table th { width: 30%; background: transparent; font-weight: 700; }
.page-about .company-table td, .page-about .company-table th { padding: 22px 8px; border-bottom: 1px solid #DDD7CA; }

/* ---------- スマホ ---------- */
@media (max-width: 1023px) {
  .ab-career-list { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 36px; }
  .ab-career-list::before { display: none; }
  .ab-message-grid { grid-template-columns: 260px minmax(0, 1fr); gap: 40px; }
}
@media (max-width: 767px) {
  .pg-hero { padding: 32px 0 64px; }
  .pg-hero-inner { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .pg-hero-visual::before { inset: 12px -10px -12px 10px; }
  .pg-lead { font-size: 15px; }
  .faq-chips { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .faq-chip { padding: 14px 16px; }
  .faq-body { padding: 32px 0 72px; }
  .faq-cat { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 36px 0; }
  .faq-cat-head { position: static; display: flex; align-items: center; gap: 14px; }
  .faq-cat-no { font-size: 40px; }
  .faq-cat-head h2 { margin: 0; font-size: 19px; }
  .qa summary { grid-template-columns: 32px minmax(0, 1fr) 30px; gap: 12px; padding: 16px; font-size: 15px; }
  .qa-badge { width: 32px; height: 32px; font-size: 14px; }
  .qa-icon { width: 30px; height: 30px; }
  .qa-answer { grid-template-columns: 32px minmax(0, 1fr); gap: 12px; margin: 0 16px; padding: 16px 0 20px; }
  .ab-philosophy { padding: 80px 0; }
  .ab-philosophy::before { width: 200px; height: 200px; top: -90px; left: -90px; }
  .ab-origin, .ab-can, .ab-message, .ab-career, .ab-company { padding: 72px 0; }
  .ab-split, .ab-split-rev { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .ab-split-rev .ab-can-visual { order: -1; }
  .ab-origin-card { aspect-ratio: auto; padding: 44px 20px; box-shadow: 8px 8px 0 #111; margin-right: 8px; }
  .ab-message-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .ab-message-side { position: static; }
  .ab-photo { aspect-ratio: 4 / 3; box-shadow: 8px 8px 0 var(--color-accent); margin-right: 8px; }
  .ab-message-text { padding: 28px 22px; }
  .ab-career-list { grid-template-columns: minmax(0, 1fr); row-gap: 12px; }
  .ab-career-list li { grid-template-columns: 48px minmax(0, 1fr); justify-items: start; align-items: center; text-align: left; gap: 14px; }
  .ab-career-no { width: 48px; height: 48px; font-size: 16px; }
  .ab-career-list p { min-height: 0; padding: 14px 16px; }
  .ab-company-card { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 28px 20px; }
}
/* ---------- サービス8ページ専用（2026-10-02） ---------- */
.page-service .sv-section { padding: 96px 0; border-bottom: 1px solid var(--color-line); }
.page-service .sv-section h2 { font-size: clamp(26px, 3vw, 38px); line-height: 1.5; margin: 0 0 32px; }
.page-service .sv-section h2::before { content: ""; display: block; width: 40px; height: 4px; margin-bottom: 20px; background: #FFD719; }
.page-service .copy-block { max-width: none; line-height: 2.1; }
.page-service .sv-copy { min-width: 0; }
.page-service .sv-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.page-service .sv-intro .sv-copy { max-width: 840px; margin: auto; }
.page-service .sv-intro { background: #fff; }
.page-service .sv-visual { margin: 0 12px 12px 0; }
.page-service .sv-visual img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border: 1.5px solid #111; border-radius: 24px; background: #F8F6F1; box-shadow: 12px 12px 0 #FFD719; }
.page-service .sv-issue .copy-block { padding: 28px; border: 1.5px solid #111; border-radius: 20px; background: #fff; box-shadow: 8px 8px 0 #FFD719; white-space: pre-wrap; }
.page-service .sv-support { background: #fff; }
.page-service [data-field="作業項目"] { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; white-space: normal; }
.page-service .sv-task { padding: 24px; border: 1.5px solid #111; border-radius: 16px; box-shadow: 6px 6px 0 #FFD719; font-weight: 700; background: #F8F6F1; overflow-wrap: anywhere; }
.page-service .sv-process-split { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: start; }
.page-service .sv-process .sv-visual { position: sticky; top: 110px; margin-top: 76px; }
.page-service .sv-timeline { display: grid; gap: 0; list-style: none; padding: 0; margin: 0; white-space: normal; }
.page-service .sv-timeline li { position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 20px; padding: 0 0 24px; align-items: start; }
.page-service .sv-timeline li:not(:last-child)::before { content: ""; position: absolute; top: 48px; left: 23px; bottom: 0; width: 2px; background: #111; }
.page-service .sv-step-no { position: relative; display: grid; place-items: center; width: 48px; height: 48px; border: 1.5px solid #111; border-radius: 50%; background: #FFD719; font-family: var(--font-en); font-weight: 700; }
.page-service .sv-timeline li > span:last-child { padding: 12px 18px; border: 1px solid var(--color-line); border-radius: 12px; background: #fff; }
.page-service .sv-dark { position: relative; overflow: hidden; background: #111; color: #F8F6F1; }
.page-service .sv-dark::after { content: ""; position: absolute; width: 240px; height: 240px; border: 2px solid #FFD719; border-radius: 50%; right: -140px; bottom: -140px; pointer-events: none; }
.page-service .sv-dark .sv-copy { position: relative; max-width: 840px; margin: auto; }
.page-service .sv-dark h2 { color: #FFD719; text-align: center; }
.page-service .sv-dark h2::before { margin-left: auto; margin-right: auto; }
.page-service .sv-faq { background: #fff; }
.page-service .sv-faq > .container { max-width: 920px; }
.page-service .faq-item { border: 1px solid #111; border-radius: 16px; margin: 14px 0; background: #F8F6F1; overflow: hidden; }
.page-service .faq-item summary { display: flex; justify-content: space-between; gap: 20px; padding: 22px 24px; font-weight: 700; cursor: pointer; list-style: none; }
.page-service .faq-item summary::after { content: "+"; flex: 0 0 30px; text-align: center; background: #FFD719; border-radius: 50%; color: #111; }
.page-service .faq-item[open] summary::after { content: "−"; }
.page-service .faq-item .answer { padding: 0 24px 24px; }
.page-service .related-grid { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.page-service .related-grid a { flex: 1 1 240px; padding: 24px; border: 1px solid #111; border-radius: 14px; background: #fff; box-shadow: 5px 5px 0 #FFD719; }
.page-service .strategy-card { padding: 32px; border: 1.5px solid #111; border-radius: 24px; box-shadow: 10px 10px 0 #FFD719; background: #fff; }
.page-service .strategy-card h3 { font-size: 24px; line-height: 1.6; margin-top: 0; }
.page-service .sv-service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.page-service .sv-service-card { padding: 22px; border: 1.5px solid #111; border-radius: 24px; box-shadow: 8px 8px 0 #FFD719; background: #fff; min-width: 0; }
.page-service .sv-service-card .sv-visual { margin: 0 0 24px; }
.page-service .sv-service-card .sv-visual img { border: 0; border-radius: 14px; box-shadow: none; }
.page-service .sv-service-card h3 { font-size: 21px; line-height: 1.6; }
.page-service .sv-service-card a:hover, .page-service .related-grid a:hover { text-decoration: underline; text-underline-offset: 5px; }
.page-service .sv-scope { background: #fff; }
.page-service .scope-table { border: 1.5px solid #111; background: #F8F6F1; }
.page-service .scope-table thead { background: #FFD719; }
.page-service .scope-table td { background: #fff; }
.page-service .scope-table p { margin: 0; line-height: 2; }
@media (max-width: 1000px) {
  .page-service .sv-split { gap: 36px; }
  .page-service .sv-service-grid, .page-service [data-field="作業項目"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .page-service .sv-section { padding: 64px 0; }
  .page-service .sv-split, .page-service .sv-process-split { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .page-service .sv-service-grid, .page-service [data-field="作業項目"] { grid-template-columns: minmax(0, 1fr); gap: 20px; padding-right: 8px; }
  .page-service .sv-process .sv-visual { position: static; margin-top: 0; }
  .page-service .sv-section h2 { font-size: 26px; margin-bottom: 24px; }
  .page-service .sv-issue .copy-block, .page-service .strategy-card { padding: 22px; margin-right: 8px; }
  .page-service .sv-task { padding: 20px; }
  .page-service .sv-timeline li { grid-template-columns: 40px minmax(0, 1fr); gap: 14px; }
  .page-service .sv-step-no { width: 40px; height: 40px; }
  .page-service .sv-timeline li:not(:last-child)::before { left: 19px; top: 40px; }
  .page-service .sv-timeline li > span:last-child { padding: 10px 14px; }
  .page-service .faq-item summary { padding: 18px; gap: 10px; }
  .page-service .faq-item .answer { padding: 0 18px 18px; }
  .page-service .related-grid { padding-right: 6px; }
  .page-service .scope-table, .page-service .scope-table tbody, .page-service .scope-table tr, .page-service .scope-table th, .page-service .scope-table td { display: block; width: 100%; }
  .page-service .scope-table thead { display: block; }
  .page-service .scope-table thead tr { display: grid; grid-template-columns: 1fr 1fr; }
  .page-service .scope-table th, .page-service .scope-table td { padding: 18px; }
  .page-service .scope-table tbody th { background: #FFD719; }
}
.sv-task .sv-sep{display:none}
/* 2026-10-02 スマホで理念の文字に装飾の円が重ならないように */
@media (max-width: 767px) {
  .ab-philosophy::before { width: 120px; height: 120px; top: -60px; left: -60px; }
  .ab-philosophy::after { width: 120px; height: 120px; right: -60px; bottom: -60px; }
  .ab-philosophy-main { font-size: 24px; padding: 4px 10px; }
  .ab-philosophy-text { margin-top: 28px; }
  .pg-hero-bg { font-size: 96px; }
}
@media (max-width: 767px){.pg-hero-bg{display:none}.ab-philosophy-main{line-height:1.7}}
