/*
Theme Name: AccelCore
Theme URI: https://accelcore.jp/
Author: AccelCore制作チーム
Description: 株式会社ACCELCORE コーポレートサイト用カスタムテーマ。Next.js版のデザインをWordPressへ移植。仕様書v2.0準拠。
Version: 0.1.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: accelcore
*/

/* =================================================================
 * デザイントークン（仕様書5章 / CLAUDE.mdデザインルール準拠）
 * ================================================================= */
:root {
	--burgundy: #A82A2A;   /* CTA・アクセント・Step04 */
	--burgundy-dark: #7a1e1e;
	--navy: #193454;       /* ヘッダー・ヒーロー背景・Growthカード */
	--navy-dark: #0d1f33;
	--coral: #E86A52;      /* アイコン・バッジ・アクセント */
	--mblue: #5B8DBE;      /* 補助ハイライト・FAQ回答 */
	--white: #FFFFFF;
	--lgray: #F8F9FA;      /* セクション背景 */
	--dgray: #2C3E50;      /* 主要テキスト・本文 */
	--mgray: #6C757D;      /* 補助テキスト・注釈 */

	--font-jp: "Noto Sans JP", sans-serif;
	--font-en: "Inter", sans-serif;

	--header-h: 80px;
	--container: 1160px;
	--section-pad: 100px;
}

/* =================================================================
 * スクロールリビール（フェードイン＋スライドアップ）／ヒーロー浮遊
 * .has-reveal は <head> のインラインJSで付与（描画前）。
 * .is-visible は main.js が画面入り時に付与。
 * ================================================================= */
.has-reveal .section-title,
.has-reveal .section-sub,
.has-reveal .eyebrow,
.has-reveal .problem-row,
.has-reveal .card,
.has-reveal .price-card,
.has-reveal .step,
.has-reveal .faq-item,
.has-reveal .ba-col,
.has-reveal .stats > div,
.has-reveal .svc-card,
.has-reveal .svc-others__item,
.has-reveal .hero-main > *,
.has-reveal .hero-art,
.has-reveal .company-table,
.has-reveal .company-access__address,
.has-reveal .contact-side,
.has-reveal .contact-form-col {
	opacity: 0;
	transform: translateY(26px);
	transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1);
}
.has-reveal .is-visible { opacity: 1 !important; transform: none !important; }

/* ヒーローイラストの浮遊アニメーション（仕様書2.1「浮遊アニメーション付き」） */
.hero-art svg, .hero-art img { animation: accFloat 5.5s ease-in-out infinite; }
@keyframes accFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* =================================================================
 * リセット・ベース
 * ================================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--font-jp);
	font-size: 16px;
	line-height: 1.7;            /* 本文行間（CLAUDE.md厳守） */
	color: var(--dgray);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: opacity .2s, color .2s, background .2s; }
a:hover { opacity: .85; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.4; }

/* 角丸なし（CLAUDE.md厳守）— 全要素デフォルトで角を立てる */
button, input, textarea, select, .btn, .card { border-radius: 0; }

/* 数字・英字は Inter */
.num, .en, .stat-number { font-family: var(--font-en); font-feature-settings: "tnum"; }

/* =================================================================
 * レイアウト
 * ================================================================= */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: var(--section-pad) 0; }
.section--gray { background: var(--lgray); }
.section--navy { background: var(--navy); color: var(--white); }
.narrow { max-width: 760px; margin: 0 auto; }   /* flow / faq 用 */

/* アンカー対象のスクロール余白（仕様書1.2） */
#pricing, #flow, #faq { scroll-margin-top: var(--header-h); }

/* エヤブロウ（英字ラベル） */
.eyebrow { font-family: var(--font-en); font-size: 13px; font-weight: 700; letter-spacing: .18em; color: var(--burgundy); margin: 0 0 12px; }
.eyebrow--center { text-align: center; }
.section--navy .eyebrow { color: var(--coral); }

/* セクション見出し */
.section-title {
	font-size: 36px;
	color: var(--navy);
	text-align: center;
	margin-bottom: 16px;
}
.section--navy .section-title { color: var(--white); }
.section-sub { text-align: center; color: var(--mgray); margin-bottom: 56px; }
.section--navy .section-sub { color: rgba(255,255,255,.7); }

/* =================================================================
 * ボタン（角丸なし）
 * ================================================================= */
.btn {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 16px 32px; font-size: 15px; font-weight: 700;
	border: 2px solid transparent; cursor: pointer; transition: all .2s;
}
.btn--primary { background: var(--burgundy); color: var(--white); border-color: var(--burgundy); }
.btn--primary:hover { background: var(--burgundy-dark); border-color: var(--burgundy-dark); opacity: 1; }
.btn--outline { background: transparent; color: var(--white); border-color: var(--white); }
.btn--outline:hover { background: var(--white); color: var(--navy); opacity: 1; }
.btn--ghost-navy { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--ghost-navy:hover { background: var(--navy); color: var(--white); opacity: 1; }
.btn--white { background: var(--white); color: var(--burgundy); border-color: var(--white); }

/* =================================================================
 * ヘッダー（スティッキー）
 * ================================================================= */
.site-header {
	position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--header-h);
	display: flex; align-items: center;
	background: transparent; transition: background .3s, box-shadow .3s;
}
.site-header.is-scrolled { background: var(--white); box-shadow: 0 1px 12px rgba(0,0,0,.08); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; }
.site-logo { display: inline-flex; align-items: center; }
.site-logo img { height: 30px; width: auto; display: block; }
.site-logo .logo-color { display: none; }
.site-header.is-scrolled .site-logo .logo-white,
.header-solid .site-header .site-logo .logo-white { display: none; }
.site-header.is-scrolled .site-logo .logo-color,
.header-solid .site-header .site-logo .logo-color { display: block; }
.footer-logo-img { height: 30px; width: auto; }

/* ヒーローが無い明るいページはヘッダー白固定 */
.header-solid .site-header { background: var(--white); box-shadow: 0 1px 12px rgba(0,0,0,.08); }
.header-solid .site-header .gnav a { color: var(--dgray); }
.header-solid .site-header .nav-toggle { color: var(--navy); }
.gnav { display: flex; align-items: center; gap: 28px; }
.gnav a { font-size: 14px; font-weight: 500; color: var(--white); }
.site-header.is-scrolled .gnav a { color: var(--dgray); }
.gnav .has-dropdown { position: relative; }
.gnav .dropdown {
	position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
	min-width: 220px; background: var(--white); box-shadow: 0 8px 24px rgba(0,0,0,.12);
	padding: 8px 0; opacity: 0; visibility: hidden; transition: opacity .2s;
}
.gnav .has-dropdown:hover .dropdown { opacity: 1; visibility: visible; }
.gnav .dropdown a { display: block; padding: 10px 20px; color: var(--dgray); font-size: 14px; }
.gnav .dropdown a:hover { background: var(--lgray); opacity: 1; }
.gnav-cta { padding: 12px 24px; background: var(--burgundy); color: var(--white) !important; font-weight: 700; }
.nav-toggle { display: none; background: none; border: none; color: var(--white); cursor: pointer; }
.site-header.is-scrolled .nav-toggle { color: var(--navy); }

/* =================================================================
 * ヒーロー共通（ネイビーグラデーション）
 * ================================================================= */
.hero {
	position: relative; padding: calc(var(--header-h) + 80px) 0 100px;
	background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
	color: var(--white); overflow: hidden;
}
.hero::before {
	content: ""; position: absolute; inset: 0;
	background-image: radial-gradient(rgba(255,255,255,.06) 1.5px, transparent 1.5px);
	background-size: 24px 24px; pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
/* ヒーロー2カラム（テキスト左・イラスト右） */
.hero-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; }
.hero-art svg, .hero-art img { width: 100%; height: auto; }
.hero--top .hero-main { padding-right: 16px; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }
.stats--hero .stat-number { font-size: 40px; }
.hero-label { font-family: var(--font-en); font-size: 13px; letter-spacing: .15em; color: var(--coral); margin-bottom: 20px; }
.hero h1 { font-size: 52px; font-weight: 900; line-height: 1.25; margin-bottom: 24px; }
.hero-sub { font-size: 17px; color: rgba(255,255,255,.85); margin-bottom: 40px; max-width: 560px; }
.page-hero { padding: calc(var(--header-h) + 56px) 0 64px; }
.page-hero h1 { font-size: 40px; }

/* パンくず */
.breadcrumb { font-size: 13px; color: rgba(255,255,255,.7); margin-bottom: 16px; }
.breadcrumb a { color: rgba(255,255,255,.7); }
.breadcrumb span { margin: 0 8px; }

/* =================================================================
 * 実績数字（Stats）
 * ================================================================= */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; text-align: center; }
.stat-number { font-size: 64px; font-weight: 800; color: var(--white); line-height: 1; }
.hero .stat-number { font-size: 40px; }
.stat-label { font-size: 14px; margin-top: 12px; }
.stat-note { font-size: 12px; color: rgba(255,255,255,.5); margin-top: 4px; }
.stats-section .stat-number { font-size: 72px; }

/* 実績数字セクション：下端を斜めカット（仕様書2.4）。
   上端はサービスセクション（ネイビー）と隙間なく連続させる。 */
.stats-section {
	position: relative;
	z-index: 2;                /* 続くセクションの上に重ねる */
	clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
	-webkit-clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
	margin-top: -1px;          /* サービスとの境界の隙間防止 */
	padding-top: 90px;
	padding-bottom: 150px;     /* 斜めカット分の余白を確保 */
}
/* TOPの料金セクションを斜め下に潜り込ませ、三角部分に薄グレーが来るようにする
   （斜めで切り取られた部分にボディの白が見える問題の解消） */
.acc-home #pricing {
	position: relative;
	z-index: 1;
	margin-top: -70px;
	padding-top: 170px;
}

/* =================================================================
 * サービスセクション（モック準拠：左 見出し＋タブ / 右 内容）
 * ================================================================= */
.service-layout { display: grid; grid-template-columns: 2fr 3fr; gap: 64px; align-items: start; }
.service-head .eyebrow { text-align: left; }
.service-title { font-size: 30px; color: #fff; text-align: left; line-height: 1.5; margin-bottom: 36px; }
.service-tabs { display: flex; flex-direction: column; border-left: 1px solid rgba(255,255,255,.15); }
.service-tabs .tab-btn { background: transparent; color: rgba(255,255,255,.55); text-align: left; padding: 16px 22px; border: none; border-left: 3px solid transparent; margin-left: -1px; font-size: 15px; display: flex; gap: 14px; align-items: center; }
.service-tabs .tab-btn .t-no { font-family: var(--font-en); font-size: 13px; opacity: .6; }
.service-tabs .tab-btn.is-active { color: #fff; border-left-color: var(--burgundy); background: rgba(255,255,255,.04); }
.service-body { position: relative; min-height: 320px; margin-top: 60px; }
.service-num { position: absolute; top: -24px; right: 0; font-family: var(--font-en); font-size: 90px; font-weight: 800; color: rgba(255,255,255,.07); line-height: 1; }
.service-body h3 { font-size: 26px; color: #fff; margin-bottom: 16px; position: relative; }
.service-desc { color: rgba(255,255,255,.8); margin-bottom: 24px; }
.checklist.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 28px; margin-bottom: 28px; }
.service-body .checklist li { color: rgba(255,255,255,.9); }

/* 課題（ISSUES）— 余白広め */
.problem-list { margin-top: 40px; }
.problem-row { padding: 48px 0; }

/* =================================================================
 * カード共通（角丸なし・線で構成）
 * ================================================================= */
.card { background: var(--white); border: 1px solid #e5e8ec; padding: 36px 32px; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: 0 12px 32px rgba(25,52,84,.1); transform: translateY(-4px); }
.card-num { font-family: var(--font-en); font-size: 14px; color: var(--coral); font-weight: 700; }
.card h3 { font-size: 20px; color: var(--navy); margin: 12px 0; }
.card p { color: var(--mgray); font-size: 14px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }

/* 導入事例カード */
.case-card { border-top: 3px solid var(--burgundy); }
.case-tag { display: inline-block; background: var(--navy); color: #fff; font-size: 12px; font-weight: 700; padding: 5px 14px; }

/* リンク矢印 */
.link-arrow { display: inline-flex; align-items: center; gap: 6px; color: var(--burgundy); font-weight: 700; font-size: 14px; margin-top: 20px; }

/* チェックリスト */
.checklist li { position: relative; padding-left: 30px; margin-bottom: 12px; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 8px; width: 16px; height: 16px; background: var(--mblue); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat; }

/* =================================================================
 * 料金カード
 * ================================================================= */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.price-card { border: 1px solid #e5e8ec; padding: 40px 32px; text-align: center; }
.price-card.is-popular { background: var(--navy); color: var(--white); transform: translateY(-24px); position: relative; }
.price-card .badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--coral); color: #fff; font-size: 12px; font-weight: 700; padding: 6px 16px; }
.price-eyebrow { font-family: var(--font-en); font-size: 13px; font-weight: 700; letter-spacing: .12em; color: var(--mgray); margin: 0; text-transform: uppercase; }
.price-card.is-popular .price-eyebrow { color: rgba(255,255,255,.7); }
.price-target { font-size: 12px; color: var(--mgray); margin: 6px 0 0; }
.price-card.is-popular .price-target { color: rgba(255,255,255,.6); }
.price-amount { font-family: var(--font-en); font-size: 36px; font-weight: 800; margin: 16px 0; }
.price-features { text-align: left; margin: 24px 0; }
.price-features li { padding: 8px 0 8px 26px; position: relative; font-size: 14px; border-bottom: 1px solid rgba(0,0,0,.06); }
.price-card.is-popular .price-features li { border-color: rgba(255,255,255,.12); }

/* タブ */
.tabs { display: flex; gap: 4px; justify-content: center; margin-bottom: 48px; }
.tab-btn { padding: 14px 32px; background: var(--lgray); border: none; font-weight: 700; cursor: pointer; color: var(--mgray); }
.tab-btn.is-active { background: var(--navy); color: var(--white); }
.tab-panel { display: none; }
.tab-panel.is-active { display: block; }

/* =================================================================
 * ステップ（導入の流れ）
 * ================================================================= */
.steps { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.step { display: flex; border: 1px solid #e5e8ec; transition: border-color .2s; }
.step-no { flex: 0 0 96px; background: var(--navy); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; font-family: var(--font-en); transition: background .2s; }
.step-no .step-label { font-size: 10px; letter-spacing: .15em; opacity: .65; }
.step-no .step-digit { font-size: 26px; font-weight: 800; line-height: 1.1; }
.step-body { padding: 24px 28px; }
.step-body h3 { font-size: 18px; color: var(--navy); margin-bottom: 6px; }
/* 全ステップ同一。赤枠＋赤番号はホバー時のみ表示（旧Step04ハイライトは廃止） */
.step:hover { border-color: var(--burgundy); }
.step:hover .step-no { background: var(--burgundy); }

/* =================================================================
 * FAQアコーディオン
 * ================================================================= */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid #e5e8ec; }
.faq-q { display: flex; align-items: center; gap: 16px; padding: 24px 0; cursor: pointer; font-weight: 700; color: var(--dgray); }
.faq-q .q-mark { color: var(--burgundy); font-family: var(--font-en); font-weight: 800; }
.faq-q .toggle { margin-left: auto; color: #b9c0c8; font-size: 22px; line-height: 1; font-weight: 400; }
.faq-a { display: none; padding: 0 0 24px 36px; color: var(--dgray); }
.faq-a .a-mark { color: var(--mblue); font-family: var(--font-en); font-weight: 800; margin-right: 10px; }
.faq-item.is-open .faq-a { display: block; }

/* =================================================================
 * Before / After
 * ================================================================= */
.ba-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.ba-col { padding: 40px; }
.ba-before { background: #fbeceae3; }
.ba-after { background: #eaf1f8; }
.ba-col h3 { margin-bottom: 20px; }
.ba-before li, .ba-after li { padding: 10px 0 10px 30px; position: relative; }
.ba-before li::before { content: "×"; position: absolute; left: 0; color: var(--burgundy); font-weight: 700; }
.ba-after li::before { content: "✓"; position: absolute; left: 0; color: var(--mblue); font-weight: 700; }

/* =================================================================
 * 課題提起
 * ================================================================= */
.problem-row { display: grid; grid-template-columns: 100px 1fr 200px; align-items: center; gap: 32px; padding: 40px 0; border-bottom: 1px solid #e5e8ec; }
.problem-no { font-family: var(--font-en); font-size: 64px; font-weight: 800; color: #e8ebef; border-left: 4px solid var(--burgundy); padding-left: 24px; }
.problem-body h3 { font-size: 22px; color: var(--navy); margin-bottom: 8px; }
.problem-svg { display: flex; justify-content: center; }
.problem-svg svg { width: 110px; height: 110px; }

/* =================================================================
 * 最終CTA（共通・バーガンディグラデーション）
 * ================================================================= */
.final-cta { background: linear-gradient(135deg, var(--burgundy) 0%, var(--burgundy-dark) 100%); color: #fff; }
.final-cta .container { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; }
.final-cta h2 { font-size: 32px; margin-bottom: 16px; }
.final-cta .badge { display: inline-block; background: rgba(255,255,255,.15); padding: 6px 16px; font-size: 13px; margin-bottom: 20px; }
.final-cta .cta-buttons { display: flex; flex-direction: column; gap: 16px; }

/* =================================================================
 * フッター
 * ================================================================= */
.site-footer { background: var(--navy); color: rgba(255,255,255,.7); padding: 72px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-logo { font-family: var(--font-en); font-weight: 800; font-size: 22px; color: #fff; margin-bottom: 16px; }
.site-footer h4 { color: #fff; font-size: 14px; margin-bottom: 16px; }
.site-footer li { margin-bottom: 10px; font-size: 14px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 48px; padding-top: 24px; text-align: center; font-size: 12px; color: rgba(255,255,255,.5); }

/* =================================================================
 * お問い合わせ
 * ================================================================= */
.contact-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; }
.contact-side { background: var(--navy); color: #fff; padding: 40px; }
.contact-side h3 { color: #fff; margin-bottom: 20px; }
.wpcf7 input[type=text], .wpcf7 input[type=email], .wpcf7 input[type=tel], .wpcf7 textarea {
	width: 100%; padding: 14px; border: 1px solid #d4d8dd; font-family: inherit; font-size: 15px; margin-top: 6px;
}
.wpcf7 label { display: block; margin-bottom: 18px; font-weight: 600; font-size: 14px; }
.wpcf7 .wpcf7-submit { background: var(--burgundy); color: #fff; border: none; padding: 16px 48px; font-weight: 700; cursor: pointer; }

/* =================================================================
 * サンクス / 404（中央配置）
 * ================================================================= */
.center-screen { min-height: 70vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 120px 24px 80px; }
.center-screen .big-404 { font-family: var(--font-en); font-size: 120px; font-weight: 900; color: #e3e7ec; line-height: 1; }
.check-circle { width: 88px; height: 88px; background: var(--burgundy); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 28px; }
.check-circle svg { width: 44px; height: 44px; stroke: #fff; }

/* =================================================================
 * レスポンシブ
 * ================================================================= */
@media (max-width: 900px) {
	:root { --section-pad: 64px; }
	.hero h1 { font-size: 36px; }
	.section-title { font-size: 28px; }
	.grid-3, .grid-2, .stats, .price-grid, .ba-grid, .contact-layout, .final-cta .container, .footer-grid, .hero-grid, .service-layout, .checklist.two-col { grid-template-columns: 1fr; }
	.hero-art { display: none; }
	.problem-svg { display: none; }
	.service-title { text-align: left; }
	.price-card.is-popular { transform: none; }
	.problem-row { grid-template-columns: 1fr; gap: 16px; }
	.gnav { display: none; }
	.nav-toggle { display: block; }
	.gnav.is-open { display: flex; position: absolute; top: var(--header-h); left: 0; right: 0; flex-direction: column; background: var(--white); padding: 24px; gap: 16px; }
	.gnav.is-open a { color: var(--dgray); }
}

/* ===== ページ別CSS統合ブロック（bodyクラスでスコープ） ===== */

/* =================================================================
 * TOP（front-page.css → .acc-home にスコープ統合）
 * ================================================================= */
.acc-home .stats--hero {
	display: flex;            
	justify-content: flex-start;
	gap: 0;
	text-align: left;
	max-width: 560px;}
.acc-home .stats--hero > div {
	padding: 0 36px;
	border-left: 1px solid rgba(255, 255, 255, .18);}
.acc-home .stats--hero > div:first-child {
	padding-left: 0;
	border-left: none;}
.acc-home .stats--hero .stat-number {
	font-size: 42px;
	font-weight: 800;
	line-height: 1;
	text-align: left;}
.acc-home .stats--hero .stat-label {
	font-size: 13px;
	color: rgba(255, 255, 255, .65);
	margin-top: 10px;
	text-align: left;}
.acc-home .problem-no {
	border-left: none;        
	border-right: 3px solid var(--burgundy); 
	padding-left: 0;
	padding-right: 28px;
	font-size: 60px;
	color: #eceff3;           
	letter-spacing: -.02em;}
.acc-home .problem-row {
	gap: 40px;                
	padding: 44px 0;}
.acc-home .problem-body h3 {
	font-size: 21px;
	line-height: 1.45;
	margin-bottom: 10px;}
.acc-home .problem-body p {
	color: var(--mgray);
	font-size: 14px;
	margin: 0;}
.acc-home .price-card {
	text-align: left;         
	padding: 36px 28px;}
.acc-home .price-eyebrow, .acc-home .price-target {
	text-align: left;}
.acc-home .price-amount {
	display: flex;
	align-items: baseline;
	justify-content: flex-start;
	gap: 2px;
	margin: 14px 0 0;
	color: var(--navy);
	line-height: 1;}
.acc-home .price-card.is-popular .price-amount { color: var(--white);}
.acc-home .price-amount .price-cur {
	font-family: var(--font-en);
	font-size: 22px;
	font-weight: 700;
	align-self: flex-start;
	margin-top: 4px;}
.acc-home .price-amount .price-main {
	font-family: var(--font-en);
	font-size: 38px;
	font-weight: 800;
	letter-spacing: -.01em;}
.acc-home .price-amount .price-unit {
	font-size: 14px;
	font-weight: 500;
	color: var(--mgray);}
.acc-home .price-card.is-popular .price-amount .price-unit { color: rgba(255, 255, 255, .6);}
.acc-home .price-features {
	margin: 22px 0;
	padding-top: 22px;
	border-top: 1px solid rgba(0, 0, 0, .08);}
.acc-home .price-card.is-popular .price-features { border-top-color: rgba(255, 255, 255, .15);}
.acc-home .price-features li {
	padding: 9px 0 9px 28px;  
	position: relative;
	font-size: 14px;
	border-bottom: none;}
.acc-home .price-features li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 14px;
	width: 15px;
	height: 15px;
	background: var(--burgundy);  
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat;}
.acc-home .price-card.is-popular .price-features li::before {
	background: var(--coral);}
.acc-home .price-card:not(.is-popular) .btn--ghost-navy {
	background: var(--burgundy);
	color: var(--white);
	border-color: var(--burgundy);}
.acc-home .price-card:not(.is-popular) .btn--ghost-navy:hover {
	background: var(--burgundy-dark);
	border-color: var(--burgundy-dark);
	color: var(--white);}
.acc-home .faq-list {
	display: flex;
	flex-direction: column;
	gap: 12px;}
.acc-home .faq-item {
	border: 1px solid #e5e8ec; 
	border-bottom: 1px solid #e5e8ec;
	background: var(--white);
	padding: 0 24px;}
.acc-home .faq-q {
	padding: 22px 0;}
.acc-home .faq-q .q-mark::after {
	content: ".";}
.acc-home .faq-a {
	padding: 0 0 22px 30px;}

/* =================================================================
 * サービス一覧（archive-service.css → .acc-services にスコープ統合）
 * ================================================================= */
.acc-services .svc-section .svc-head {
	margin-bottom: 48px;}
.acc-services .svc-section .svc-head .eyebrow {
	text-align: left;
	margin: 0 0 14px;}
.acc-services .svc-section .section-title {
	text-align: left;
	margin: 0;}
.acc-services .svc-grid {
	margin-top: 0;}
.acc-services .svc-card {
	display: flex;
	flex-direction: column;
	padding: 40px 36px;}
.acc-services .svc-card__head {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 22px;}
.acc-services .svc-card__no {
	font-family: var(--font-en);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .06em;
	color: var(--burgundy);
	line-height: 1;}
.acc-services .svc-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	background: var(--lgray);
	color: var(--navy);
	flex: 0 0 auto;}
.acc-services .svc-card__icon svg {
	width: 22px;
	height: 22px;
	display: block;}
.acc-services .svc-card__icon img {
	width: 26px;
	height: 26px;
	object-fit: contain;
	display: block;}
.acc-services .svc-card h3 {
	margin: 0 0 12px;}
.acc-services .svc-card p {
	margin: 0;
	line-height: 1.7;}
.acc-services .svc-card__checks {
	margin-top: 20px;
	margin-bottom: 4px;}
.acc-services .svc-card__checks li {
	font-size: 13px;
	padding-left: 26px;
	margin-bottom: 10px;
	color: var(--dgray);}
.acc-services .svc-card__checks li::before {
	top: 5px;
	width: 14px;
	height: 14px;
	background: var(--burgundy);}
.acc-services .svc-card .link-arrow {
	margin-top: auto;
	padding-top: 24px;}
@media (max-width: 768px) {.acc-services .svc-section .svc-head {
		margin-bottom: 32px;}
.acc-services .svc-card {
		padding: 32px 28px;}
}

/* =================================================================
 * サービス詳細（single-service.css → .acc-service にスコープ統合）
 * ================================================================= */
.acc-service .section .checklist li {
	padding-left: 32px;
	margin-bottom: 14px;}
.acc-service .section .checklist li::before {
	content: "";
	left: 0;
	top: 2px;
	width: 20px;
	height: 20px;
	background: transparent;
	border: 1.5px solid var(--burgundy);
	border-radius: 50%;
	-webkit-mask: none;
	mask: none;}
.acc-service .section .checklist li::after {
	content: "";
	position: absolute;
	left: 5px;
	top: 7px;
	width: 10px;
	height: 10px;
	background: var(--burgundy);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat;}
.acc-service .contact-side .btn--white {
	background: var(--burgundy);
	color: var(--white);
	border-color: var(--burgundy);}
.acc-service .contact-side .btn--white:hover {
	background: var(--burgundy-dark);
	border-color: var(--burgundy-dark);
	opacity: 1;}
.acc-service .contact-side .btn--white svg { color: var(--white);}
.acc-service .svc-ba .svc-ba__eyebrow { text-align: center;}
.acc-service .svc-ba .section-title { margin-bottom: 48px;}
.acc-service .svc-ba .ba-grid { gap: 32px;}
.acc-service .svc-ba .ba-col { padding: 40px 44px;}
.acc-service .svc-ba .ba-before { background: #fff5f5; border-left: none;}
.acc-service .svc-ba .ba-after { background: #f0f7ff; border-left: none;}
.acc-service .svc-ba .ba-before h3 { color: var(--coral); font-size: 15px; letter-spacing: .04em;}
.acc-service .svc-ba .ba-after  h3 { color: var(--mblue); font-size: 15px; letter-spacing: .04em;}
.acc-service .svc-ba .ba-before li, .acc-service .svc-ba .ba-after li { padding-left: 34px;}
.acc-service .svc-ba .ba-before li::before, .acc-service .svc-ba .ba-after li::before {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	top: 50%;
	transform: translateY(-50%);
	width: 20px;
	height: 20px;
	font-size: 12px;
	line-height: 1;
	color: var(--burgundy);
	border: 1.5px solid var(--burgundy);
	border-radius: 50%;}
.acc-service .svc-ba .ba-before li::before { content: "×";}
.acc-service .svc-ba .ba-after  li::before { content: "✓";}
.acc-service .svc-price .svc-price__card {
	background: var(--white);
	max-width: 720px;
	margin: 0 auto;
	padding: 56px 40px;
	text-align: center;}
.acc-service .svc-price .svc-price__lead {
	color: var(--mgray);
	font-size: 16px;
	margin-bottom: 8px;}
.acc-service .svc-price .svc-price__amount {
	color: var(--navy);
	margin: 8px 0 24px;}
.acc-service .svc-price .svc-price__link {
	margin-top: 0;
	color: var(--burgundy);}
.acc-service .svc-others .svc-others__eyebrow { text-align: center;}
.acc-service .svc-others .section-title { margin-bottom: 40px;}
.acc-service .svc-others .svc-others__grid { margin-top: 40px; row-gap: 16px;}
.acc-service .svc-others .svc-others__item {
	display: flex;
	align-items: center;
	gap: 16px;
	background: var(--lgray);
	border: 1px solid #eef1f4;
	padding: 16px 24px;
	min-height: 0;
	transition: background .2s ease, border-color .2s ease;}
.acc-service .svc-others .svc-others__item:hover {
	background: #f1f3f6;
	border-color: var(--mblue);}
.acc-service .svc-others .svc-others__item .card-num {
	flex: 0 0 auto;
	font-size: 13px;}
.acc-service .svc-others .svc-others__name {
	flex: 1 1 auto;
	color: var(--navy);
	font-weight: 700;
	font-size: 15px;}
.acc-service .svc-others .svc-others__arrow {
	flex: 0 0 auto;
	color: var(--mgray);
	display: inline-flex;
	align-items: center;}
.acc-service .svc-others .svc-others__arrow svg { width: 18px; height: 18px;}
@media (max-width: 768px) {.acc-service .svc-ba .ba-grid { gap: 16px;}
.acc-service .svc-others .svc-others__grid { grid-template-columns: 1fr;}
}

/* =================================================================
 * お問い合わせ（contact.css → .acc-contact にスコープ統合）
 * ================================================================= */
.acc-contact .page-contact-main {
	background: var(--lgray);}
.acc-contact .contact-layout {
	grid-template-columns: 1fr 1.4fr;
	gap: 56px;
	align-items: start;}
.acc-contact .contact-layout > .contact-form-col { order: 2;}
.acc-contact .contact-layout > .contact-side { order: 1;}
.acc-contact .contact-side {
	background: var(--navy);
	color: #fff;
	padding: 40px 36px;}
.acc-contact .contact-side h3 {
	color: #fff;
	font-size: 18px;
	margin-bottom: 18px;
	padding-bottom: 14px;
	border-bottom: 1px solid rgba(255,255,255,.18);}
.acc-contact .contact-side ol {
	list-style: none;
	padding: 0;
	margin: 0 0 32px;}
.acc-contact .contact-side p {
	line-height: 1.7;}
.acc-contact .contact-form-col .wpcf7 {
	background: var(--white);
	border: 1px solid #E5E7EB; 
	padding: 44px 40px;}
.acc-contact .acc-form > p {
	margin: 0 0 4px;}
.acc-contact .wpcf7 label {
	display: block;
	margin-bottom: 22px;
	font-weight: 700;
	font-size: 14px;
	color: var(--dgray);
	line-height: 1.7;}
.acc-contact .wpcf7 input[type=text], .acc-contact .wpcf7 input[type=email], .acc-contact .wpcf7 input[type=tel], .acc-contact .wpcf7 textarea {
	width: 100%;
	padding: 14px 16px;
	border: 1px solid #E5E7EB; 
	background: var(--white);
	font-family: inherit;
	font-size: 15px;
	color: var(--dgray);
	margin-top: 8px;
	line-height: 1.6;}
.acc-contact .wpcf7 input::placeholder, .acc-contact .wpcf7 textarea::placeholder {
	color: #9aa3ad;
	opacity: 1;}
.acc-contact .wpcf7 input[type=text]:focus, .acc-contact .wpcf7 input[type=email]:focus, .acc-contact .wpcf7 input[type=tel]:focus, .acc-contact .wpcf7 textarea:focus {
	outline: none;
	border-color: var(--mblue);
	box-shadow: 0 0 0 3px rgba(91,141,190,.15);}
.acc-contact .wpcf7 textarea {
	min-height: 160px;
	resize: vertical;}
.acc-contact .wpcf7-validates-as-required {}
.acc-contact .wpcf7-checkbox {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 24px;
	margin-top: 10px;}
.acc-contact .wpcf7-checkbox .wpcf7-list-item {
	margin: 0;}
.acc-contact .wpcf7-checkbox .wpcf7-list-item label {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	font-weight: 500;
	font-size: 14px;
	cursor: pointer;}
.acc-contact .wpcf7-checkbox input[type=checkbox] {
	width: 18px;
	height: 18px;
	accent-color: var(--burgundy);
	margin: 0;}
.acc-contact .wpcf7-acceptance .wpcf7-list-item label {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	font-weight: 500;
	font-size: 14px;
	cursor: pointer;}
.acc-contact .wpcf7-acceptance input[type=checkbox] {
	width: 18px;
	height: 18px;
	accent-color: var(--burgundy);
	margin: 0;}
.acc-contact .wpcf7 .wpcf7-submit {
	display: block;
	width: 100%;
	background: var(--burgundy);
	color: #fff;
	border: none;
	padding: 18px 32px;
	font-family: var(--font-jp);
	font-weight: 700;
	font-size: 16px;
	letter-spacing: .04em;
	cursor: pointer;
	transition: background .2s ease;}
.acc-contact .wpcf7 .wpcf7-submit:hover {
	background: var(--burgundy-dark);}
.acc-contact .wpcf7 .wpcf7-not-valid-tip {
	color: var(--burgundy);
	font-size: 13px;
	font-weight: 600;
	margin-top: 6px;
	display: block;}
.acc-contact .wpcf7 .wpcf7-response-output {
	margin: 20px 0 0;
	padding: 14px 16px;
	font-size: 14px;
	border: 1px solid #d4d8dd;}
@media (max-width: 900px) {.acc-contact .contact-layout {
		grid-template-columns: 1fr;
		gap: 32px;}
.acc-contact .contact-layout > .contact-form-col { order: 2;}
.acc-contact .contact-layout > .contact-side { order: 1;}
.acc-contact .contact-form-col .wpcf7 {
		padding: 32px 24px;}
.acc-contact .wpcf7-checkbox {
		flex-direction: column;
		gap: 12px;}
}

/* =================================================================
 * 導入事例（cases.css → .acc-cases にスコープ統合）
 * ================================================================= */
.acc-cases .section .grid-3 {
	gap: 32px;}
.acc-cases .case-card {
	display: flex;
	flex-direction: column;
	
	border-top: 3px solid var(--burgundy);
	padding-top: 28px;}
.acc-cases .case-card .case-tag {
	align-self: flex-start;
	padding: 5px 12px;
	font-size: 12px;}
.acc-cases .case-card .case-meta {
	font-size: 13px;
	color: var(--mgray);
	margin: 12px 0 18px;
	line-height: 1.7;}
.acc-cases .case-card .case-box {
	padding: 14px 16px;
	font-size: 13px;
	line-height: 1.7;}
.acc-cases .case-card .case-box--problem {
	
	background: #fff5f5;
	border-left: 3px solid #ffc9c9;
	margin-bottom: 14px;}
.acc-cases .case-card .case-box--problem strong {
	color: var(--burgundy);}
.acc-cases .case-card .case-box--effect {
	
	background: #f0f7ff;
	border-left: 3px solid #bedbff;
	margin-bottom: 0;}
.acc-cases .case-card .case-box--effect strong {
	color: var(--mblue);}
.acc-cases .case-card .case-box strong {
	display: inline-block;
	font-size: 13px;
	margin-bottom: 6px;}
.acc-cases .case-card .case-metric {
	margin-top: auto;
	padding-top: 24px;
	
	border-top: 1px solid #f0f1f3;
	text-align: center;}
.acc-cases .case-card .case-metric .stat-number {
	color: var(--burgundy);
	font-size: 28px;
	font-weight: 800;
	line-height: 1.3;
	letter-spacing: .005em;
	white-space: nowrap;}

/* =================================================================
 * 会社概要（company.css → .acc-company にスコープ統合）
 * ================================================================= */
.acc-company .company-mission .container {
	text-align: center;}
.acc-company .company-mission__title {
	font-size: 28px;            
	color: var(--navy);
	font-weight: 700;
	line-height: 1.6;
	max-width: 820px;
	margin: 16px auto 0;}
.acc-company .company-info__title {
	font-size: 22px;            
	color: var(--navy);
	font-weight: 700;
	text-align: left;
	margin-bottom: 28px;}
.acc-company .company-table {
	width: 100%;
	border-collapse: collapse;
	background: var(--white);
	border: 1px solid #eef0f2;}
.acc-company .company-table th, .acc-company .company-table td {
	padding: 22px 28px;          
	border-bottom: 1px solid #eef0f2;  
	vertical-align: top;
	line-height: 1.7;
	font-size: 15px;}
.acc-company .company-table tr:last-child th, .acc-company .company-table tr:last-child td {
	border-bottom: none;}
.acc-company .company-table th {
	text-align: left;
	width: 220px;               
	color: var(--navy);
	font-weight: 700;
	background: var(--white);}
.acc-company .company-table td {
	color: var(--mgray);}
.acc-company .company-stats .section-title {
	margin-bottom: 48px;}
.acc-company .company-stats .stats {
	gap: 0;}
.acc-company .company-stats .stats > div {
	padding: 0 24px;
	border-left: 1px solid rgba(255, 255, 255, .08);}
.acc-company .company-stats .stats > div:first-child {
	border-left: none;}
.acc-company .company-stats .stat-label {
	font-size: 15px;
	margin-top: 16px;
	color: var(--white);}
.acc-company .company-stats .stat-note {
	font-size: 13px;
	color: rgba(255, 255, 255, .6);
	margin-top: 8px;
	line-height: 1.7;}
.acc-company .company-access__title {
	font-size: 22px;            
	color: var(--navy);
	font-weight: 700;
	text-align: left;
	margin-bottom: 20px;}
.acc-company .company-access__address {
	font-size: 14px;            
	color: var(--mgray);
	line-height: 1.7;}
.acc-company .company-access__map {
	margin-top: 32px;}
.acc-company .company-access__map iframe {
	width: 100%;
	border: 0;}
@media (max-width: 768px) {.acc-company .company-mission__title {
		font-size: 24px;}
.acc-company .company-table th {
		width: 120px;
		font-size: 14px;
		padding: 16px;}
.acc-company .company-table td {
		padding: 16px;
		font-size: 14px;}
.acc-company .company-stats .stats > div {
		border-left: none;
		padding: 24px 0;
		border-top: 1px solid rgba(255, 255, 255, .15);}
.acc-company .company-stats .stats > div:first-child {
		border-top: none;}
}

/* =================================================================
 * よくある質問（faq.css → .acc-faq にスコープ統合）
 * ================================================================= */
.acc-faq .page-faq-main {
	background: var(--lgray);}
.acc-faq .page-faq-main .narrow {
	max-width: 760px;
	margin: 0 auto;}
.acc-faq .faq-cat-title {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .16em;
	color: var(--burgundy);
	margin: 40px 0 12px;
	padding-left: 4px;
	border-left: none;
	line-height: 1.7;}
.acc-faq .faq-cat-title:first-of-type {
	margin-top: 8px;}
.acc-faq .page-faq-main .faq-list {
	max-width: 760px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 12px;}
.acc-faq .page-faq-main .faq-item {
	background: var(--white);
	border: 1px solid #eef0f2;   
	border-bottom: 1px solid #eef0f2; 
	box-shadow: 0 1px 2px rgba(25, 52, 84, .04);}
.acc-faq .page-faq-main .faq-q {
	gap: 14px;
	padding: 20px 24px;
	font-weight: 700;
	color: var(--dgray);
	line-height: 1.7;}
.acc-faq .page-faq-main .faq-q .q-mark {
	color: var(--burgundy);
	font-weight: 800;
	flex: 0 0 auto;}
.acc-faq .page-faq-main .faq-q .q-mark::after {
	content: ".";}
.acc-faq .page-faq-main .faq-q .toggle {
	margin-left: auto;
	color: #ccd2d8;            
	font-size: 24px;
	font-weight: 300;
	line-height: 1;
	transition: transform .2s ease;}
.acc-faq .page-faq-main .faq-item.is-open .faq-q .toggle {
	transform: rotate(45deg);}
.acc-faq .page-faq-main .faq-a {
	padding: 0 24px 22px 50px;
	color: var(--dgray);
	line-height: 1.7;}
.acc-faq .page-faq-main .faq-a .a-mark {
	color: var(--mblue);
	font-weight: 800;
	margin-right: 10px;}
.acc-faq .page-faq-main .faq-a .a-mark::after {
	content: ".";}
.acc-faq .page-faq-main .faq-empty {
	text-align: center;
	color: var(--mgray);}
@media (max-width: 767px) {.acc-faq .page-faq-main .faq-q { padding: 16px 18px;}
.acc-faq .page-faq-main .faq-a { padding: 0 18px 18px 40px;}
}

/* =================================================================
 * サンクス（thanks.css → .acc-thanks にスコープ統合）
 * ================================================================= */
.acc-thanks .thanks-screen {
	min-height: 52vh;          
	padding: 96px 24px 96px;   
	background: var(--lgray);}
.acc-thanks .thanks-check {
	width: 76px;               
	height: 76px;
	border-radius: 0;          
	background: var(--burgundy);
	margin-bottom: 24px;}
.acc-thanks .thanks-check svg {
	width: 44px;               
	height: 44px;}
.acc-thanks .thanks-title {
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: .01em;}
.acc-thanks .thanks-lead {
	font-size: 15px;
	line-height: 1.7;
	margin-top: 0;}
.acc-thanks .thanks-badge.final-cta {
	margin-bottom: 36px;}
.acc-thanks .thanks-badge.final-cta {
	background: var(--navy);
	background-image: none;     
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .02em;
	line-height: 1.7;}
.acc-thanks .thanks-actions {
	margin-top: 8px;}
.acc-thanks .thanks-btn-top.btn--ghost-navy {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	background: var(--navy);
	color: #fff;
	border-color: var(--navy);}
.acc-thanks .thanks-btn-top.btn--ghost-navy:hover {
	background: var(--navy-dark);
	border-color: var(--navy-dark);
	color: #fff;
	opacity: 1;}
.acc-thanks .thanks-btn-top .thanks-arrow {
	width: 18px;
	height: 18px;
	flex: 0 0 auto;}
@media (max-width: 600px) {.acc-thanks .thanks-screen {
		padding: 110px 20px 80px;}
.acc-thanks .thanks-actions .btn {
		width: 100%;
		max-width: 320px;
		justify-content: center;}
}

/* =================================================================
 * モバイル微調整（ヒーローのCTA・実績数字の見切れ防止）
 * ================================================================= */
@media ( max-width: 600px ) {
	/* CTAボタンは縦積み・全幅に */
	.hero-cta { flex-direction: column; align-items: stretch; }
	.hero-cta .btn { width: 100%; justify-content: center; }
	/* ヒーロー実績数字（横並びflex）は3カラムを維持しつつ縮小して画面内に収める */
	.acc-home .stats--hero { max-width: 100%; gap: 0; }
	.acc-home .stats--hero > div { padding: 0 10px; }
	.acc-home .stats--hero .stat-number { font-size: 26px; }
	.acc-home .stats--hero .stat-label { font-size: 11px; }
}
