/* ===== 共通レイアウト（全デザイン案で共通） ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; line-height: 1.9; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p, dl, dd, ul { margin: 0; }
ul { padding: 0; list-style: none; }

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 880px; }
.section { padding: 112px 0; }
.section-head { text-align: center; margin-bottom: 56px; }
.section-en { font-size: 13px; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 8px; }
.section-title { font-size: clamp(26px, 3.4vw, 36px); line-height: 1.4; }
.section-desc { max-width: 640px; margin: 20px auto 0; }

/* ヘッダー */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; transition: background .3s, box-shadow .3s; }
.header-inner { max-width: 1280px; margin: 0 auto; padding: 0 24px; height: 72px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 36px; height: auto; }
.brand-name { font-weight: 700; font-size: 16px; line-height: 1.2; display: flex; flex-direction: column; }
.brand-name small { font-size: 10px; font-weight: 500; letter-spacing: .12em; opacity: .75; }
.global-nav ul { display: flex; align-items: center; gap: 28px; }
.global-nav a { text-decoration: none; font-size: 14px; font-weight: 500; }
.nav-toggle { display: none; }
.nav-toggle-label { display: none; }

/* ヒーロー */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-inner { position: relative; z-index: 1; width: 100%; max-width: 1160px; margin: 0 auto; padding: 120px 24px 80px; }
.hero-eyebrow { font-size: 13px; letter-spacing: .16em; margin-bottom: 24px; }
.hero-title { font-size: clamp(34px, 6vw, 68px); line-height: 1.35; letter-spacing: .02em; }
.hero-lead { max-width: 640px; margin-top: 28px; font-size: 16px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 40px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-width: 180px; padding: 14px 28px; font-size: 15px; font-weight: 700; text-decoration: none; transition: transform .2s, background .2s, color .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-2px); }

/* キーワード */
.keyword-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.keyword-no { font-size: 13px; letter-spacing: .1em; }
.keyword h2 { font-size: 22px; margin: 6px 0 10px; }
.keyword p { font-size: 14px; }

/* MVV */
.mvv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.mvv-item h3 { font-size: 24px; display: flex; align-items: baseline; gap: 12px; margin-bottom: 16px; }
.mvv-item h3 span { font-size: 13px; font-weight: 500; }
.value-list li { display: flex; flex-direction: column; margin-bottom: 10px; font-size: 14px; line-height: 1.7; }
.value-list strong { font-size: 15px; }

/* カード */
.card-grid { display: grid; gap: 24px; }
.card-grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { padding: 36px 28px; }
.card-icon { font-size: 30px; margin-bottom: 20px; }
.card h3 { font-size: 19px; margin-bottom: 12px; }
.card p { font-size: 14px; }

.card-grid-3 { grid-template-columns: repeat(3, 1fr); }
.card-cta { display: flex; flex-direction: column; justify-content: center; text-decoration: none; }
.card-cta-link { margin-top: 16px; font-weight: 700; font-size: 14px; }

/* 開発の流れ */
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.flow li { padding: 28px; }
.flow-no { font-size: 13px; letter-spacing: .1em; }
.flow h3 { font-size: 18px; margin: 6px 0 8px; }
.flow p { font-size: 14px; }
.quality-note { display: flex; align-items: center; gap: 20px; margin-top: 40px; padding: 24px 28px; }
.quality-note i { font-size: 32px; flex-shrink: 0; }

/* よくある質問 */
.faq { display: grid; gap: 12px; }
.faq summary { position: relative; padding: 20px 56px 20px 24px; font-weight: 700; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 24px; top: 50%; transform: translateY(-50%); font-size: 22px; font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 24px 22px; font-size: 15px; }

/* メッセージ */
.message-body p { margin-bottom: 1.4em; font-size: 16px; }
.message-sign { text-align: right; margin-top: 32px; }
.message-sign span { display: block; font-size: 22px; font-weight: 700; margin-top: 4px; }

/* 表 */
.info-table > div { display: grid; grid-template-columns: 200px 1fr; padding: 20px 8px; }
.info-table dt { font-weight: 700; }
.recruit-catch { font-size: clamp(20px, 2.6vw, 26px); font-weight: 700; margin-top: 20px; }

/* お問い合わせ */
.contact-form { position: relative; max-width: 680px; margin: 0 auto; padding: 36px; border-radius: 20px; }
.contact-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.contact-fields label { display: block; font-size: 14px; font-weight: 700; }
.contact-field-full { grid-column: 1 / -1; }
.contact-fields input, .contact-fields select, .contact-fields textarea { display: block; width: 100%; margin-top: 8px; padding: 12px 14px; border: 1px solid; border-radius: 10px; font: inherit; font-weight: 400; line-height: 1.5; }
.contact-fields textarea { resize: vertical; min-height: 160px; }
.contact-required { margin-left: 4px; font-size: 11px; }
.contact-submit { margin-top: 28px; border: 0; cursor: pointer; }
.contact-direct { margin-top: 16px; font-size: 13px; overflow-wrap: anywhere; }

/* フッター */
.site-footer { padding: 64px 0 28px; }
.footer-inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer-logo { font-size: 26px; font-weight: 800; letter-spacing: .06em; margin-bottom: 8px; }
.footer-logo span { font-size: 14px; font-weight: 500; margin-left: 6px; }
.footer-info p { font-size: 14px; margin-bottom: 6px; }
.footer-info i { width: 22px; }
.footer-info a { text-decoration: none; }
.copyright { text-align: center; font-size: 12px; margin-top: 48px; }

/* レスポンシブ */
@media (max-width: 960px) {
    .card-grid-4, .card-grid-3, .flow { grid-template-columns: repeat(2, 1fr); }
    .mvv { grid-template-columns: 1fr; }
    .nav-toggle-label { display: flex; width: 44px; height: 44px; align-items: center; justify-content: center; cursor: pointer; }
    .nav-toggle-label span, .nav-toggle-label span::before, .nav-toggle-label span::after { display: block; width: 24px; height: 2px; background: currentColor; position: relative; transition: transform .3s, background .3s; }
    .nav-toggle-label span::before, .nav-toggle-label span::after { content: ""; position: absolute; left: 0; }
    .nav-toggle-label span::before { top: -7px; }
    .nav-toggle-label span::after { top: 7px; }
    .nav-toggle:checked + .nav-toggle-label span { background: transparent; }
    .nav-toggle:checked + .nav-toggle-label span::before { transform: translateY(7px) rotate(45deg); }
    .nav-toggle:checked + .nav-toggle-label span::after { transform: translateY(-7px) rotate(-45deg); }
    .global-nav { position: absolute; top: 72px; left: 0; right: 0; display: none; }
    .nav-toggle:checked ~ .global-nav { display: block; }
    .global-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 20px; }
    .global-nav a { display: block; padding: 14px 0; font-size: 15px; }
    .global-nav .nav-cta { text-align: center; margin-top: 10px; }
}
@media (max-width: 720px) {
    .section { padding: 80px 0; }
    .keyword-grid, .card-grid-4, .card-grid-3, .flow, .contact-fields { grid-template-columns: 1fr; }
    .contact-form { padding: 24px; }
    .quality-note { align-items: flex-start; }
    .info-table > div { grid-template-columns: 1fr; gap: 4px; padding: 16px 4px; }
    .pc-only { display: none; }
    .hero-actions .btn { flex: 1 1 100%; }
}
