/*
Theme Name: Glodea
Theme URI: https://www.glodea.co.jp/
Author: 株式会社グローディア
Description: 株式会社グローディアのコーポレートサイト用テーマ（人事制度・研修・適性検査CUBIC・AI業務アプリ開発）。スマートフォン対応。有効化すると固定ページ・メニュー・トップページを自動で作成します。
Version: 1.1.0
Requires at least: 6.3
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: glodea
*/

/* ------------------------------------------------------------------
 * 色・基本
 * ------------------------------------------------------------------ */
:root {
	--navy: #14305a;
	--navy-2: #1d3a66;
	--navy-3: #1f4f8f;
	--blue: #2563c9;
	--accent: #f0a91e;
	--accent-2: #e09412;
	--teal: #0a78b5;
	--ink: #1c2533;
	--muted: #5b6676;
	--line: #dfe4ec;
	--bg: #ffffff;
	--bg-alt: #f3f6fa;
	--radius: 14px;
	--shadow: 0 10px 30px rgba(19, 41, 75, .08);
	--shadow-lg: 0 24px 60px rgba(19, 41, 75, .18);
	--header-h: 76px;
	--font: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
	--font-en: "Inter", "Noto Sans JP", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.85;
	color: var(--ink);
	background: var(--bg);
	letter-spacing: .02em;
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy-3); }
h1, h2, h3, h4 { line-height: 1.45; margin: 0 0 .6em; font-weight: 700; letter-spacing: .03em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
small { font-size: .82em; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 860px; }
.center { text-align: center; }
.note { font-size: .85rem; color: var(--muted); margin-top: 1em; }
.screen-reader-text, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 16px; z-index: 1000; }
.skip-link:focus { left: 8px; }
.sp-only { display: none; }

/* グリッド内の大きな画像で横にはみ出さないように */
.hero-inner > *, .feature-inner > *, .tab-panel > *, .screen-row > *, .sim-hero-inner > *, .promo > *, .message > * { min-width: 0; }

.icon { width: 1.25em; height: 1.25em; flex: none; vertical-align: -.2em; }

/* ------------------------------------------------------------------
 * ボタン
 * ------------------------------------------------------------------ */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	padding: .8em 1.6em; border-radius: 999px; border: 2px solid transparent;
	font-weight: 700; font-size: .95rem; line-height: 1.3; text-decoration: none; cursor: pointer; white-space: nowrap;
	transition: transform .15s, background-color .15s, box-shadow .15s, color .15s;
	font-family: inherit;
}
.btn:hover { transform: translateY(-2px); }
.btn-lg { padding: 1em 2em; font-size: 1rem; }
.btn-accent { background: var(--accent); color: var(--navy); box-shadow: 0 6px 18px rgba(240, 169, 30, .35); }
.btn-accent:hover { background: var(--accent-2); color: var(--navy); }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-3); color: #fff; }
.btn-ghost { border-color: rgba(255, 255, 255, .55); color: #fff; background: transparent; }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.section:not(.feature-dark):not(.section-dark) .btn-ghost { border-color: var(--navy); color: var(--navy); }
.link-more { display: inline-flex; align-items: center; gap: .35em; font-weight: 700; text-decoration: none; font-size: .95rem; }
.link-more .icon { transition: transform .15s; }
.link-more:hover .icon { transform: translateX(3px); }

/* ------------------------------------------------------------------
 * ヘッダー
 * ------------------------------------------------------------------ */
.site-header {
	position: sticky; top: 0; z-index: 100; height: var(--header-h);
	background: rgba(255, 255, 255, .96); backdrop-filter: saturate(160%) blur(8px);
	border-bottom: 1px solid transparent; transition: box-shadow .2s, border-color .2s;
}
.site-header.is-scrolled { box-shadow: 0 4px 20px rgba(19, 41, 75, .08); border-color: var(--line); }
.admin-bar .site-header { top: 32px; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 20px; max-width: 1320px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); flex: none; }
.brand-logo { height: 46px; width: auto; }
.footer-mark { width: 44px; height: 44px; }

.site-nav { display: flex; align-items: center; gap: 22px; }
.nav-list { display: flex; list-style: none; gap: 4px; }
.nav-list a {
	display: block; padding: 8px 10px; color: var(--ink); text-decoration: none;
	font-weight: 500; font-size: .9rem; border-radius: 8px; white-space: nowrap;
}
.nav-list a:hover, .nav-list .current-menu-item > a, .nav-list .current-page-ancestor > a { color: var(--blue); background: var(--bg-alt); }
.nav-cta { padding: .6em 1.3em; font-size: .88rem; }
.nav-tel { display: flex; align-items: center; gap: 4px; color: var(--navy); font-family: var(--font-en); font-weight: 800; text-decoration: none; white-space: nowrap; font-size: .95rem; }
.nav-toggle { display: none; }

/* ------------------------------------------------------------------
 * セクション共通
 * ------------------------------------------------------------------ */
.section { padding: 96px 0; }
.section-tight { padding: 56px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--navy); color: #fff; }
.sec-head { text-align: center; max-width: 780px; margin: 0 auto 48px; }
.eyebrow {
	font-family: var(--font-en); font-weight: 800; font-size: .78rem; letter-spacing: .22em;
	color: var(--teal); margin: 0 0 10px; text-transform: uppercase;
}
.eyebrow-light, .section-dark .eyebrow { color: var(--accent); }
.sec-title { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.15rem); color: var(--navy); font-weight: 900; }
.section-dark .sec-title { color: #fff; }
.sec-title-left { text-align: left; }
.sec-lead { color: var(--muted); margin-top: 14px; }
.section-dark .sec-lead { color: rgba(255, 255, 255, .8); }

/* ------------------------------------------------------------------
 * トップ：ヒーロー
 * ------------------------------------------------------------------ */
.hero {
	position: relative; overflow: hidden; color: #fff;
	background:
		radial-gradient(1000px 500px at 85% 0%, rgba(40, 79, 134, .9), transparent 60%),
		radial-gradient(700px 400px at 0% 100%, rgba(11, 132, 198, .35), transparent 60%),
		var(--navy);
}
.hero::after {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
	background-size: 44px 44px;
	mask-image: linear-gradient(to bottom, #000, transparent 85%);
}
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; padding-top: 96px; padding-bottom: 110px; }
.hero-title { font-size: clamp(1.9rem, 1.1rem + 2.2vw, 2.8rem); font-weight: 900; line-height: 1.32; margin-bottom: 24px; }
.hl { color: var(--accent); }
.nw { white-space: nowrap; }
.hero-lead { color: rgba(255, 255, 255, .86); font-size: 1.02rem; margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-visual { position: relative; min-height: 420px; }
.device { margin: 0; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-lg); }
.device img { width: 100%; }
.device-bar { display: flex; gap: 6px; padding: 10px 12px; background: #e9edf3; }
.device-bar i { width: 10px; height: 10px; border-radius: 50%; background: #c7ced9; }
.device-bar i:first-child { background: #f17b6b; }
.device-bar i:nth-child(2) { background: #f4c04e; }
.device-bar i:nth-child(3) { background: #5cc283; }
.hero .device-pc { width: 100%; transform: perspective(1400px) rotateY(-8deg) rotateX(3deg); transform-origin: left center; }
.device-phone { border: 8px solid #0d1b33; border-radius: 30px; background: #0d1b33; }
.device-phone img { border-radius: 22px; }
.hero .device-phone { position: absolute; width: 34%; right: -4%; bottom: -60px; }

/* ------------------------------------------------------------------
 * トップ：課題
 * ------------------------------------------------------------------ */
.issue-grid { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 24px; max-width: 980px; margin: 0 auto; }
.issue-grid li { display: flex; gap: 12px; align-items: flex-start; background: #fff; padding: 18px 22px; border-radius: 12px; box-shadow: 0 2px 10px rgba(19, 41, 75, .05); font-weight: 500; }
.issue-grid .icon { color: #fff; background: var(--teal); border-radius: 50%; padding: 4px; width: 26px; height: 26px; margin-top: 1px; }
.issue-answer { text-align: center; margin: 40px 0 0; font-size: 1.15rem; font-weight: 700; color: var(--navy); }
.issue-answer strong { background: linear-gradient(transparent 60%, rgba(240, 169, 30, .45) 60%); }

/* ------------------------------------------------------------------
 * トップ：サービス
 * ------------------------------------------------------------------ */
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service-card {
	position: relative; display: flex; flex-direction: column; padding: 32px 26px 28px;
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
	text-decoration: none; color: var(--ink); transition: transform .2s, box-shadow .2s, border-color .2s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; color: var(--ink); }
.service-num { position: absolute; top: 20px; right: 22px; font-family: var(--font-en); font-weight: 800; font-size: 2.2rem; color: #e8edf4; line-height: 1; }
.service-icon { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 16px; background: #e6f2fa; color: var(--teal); margin-bottom: 20px; }
.service-icon .icon { width: 30px; height: 30px; }
.service-card h3 { font-size: 1.15rem; color: var(--navy); }
.service-card h3 small { font-size: .78rem; color: var(--teal); font-weight: 700; }
.service-card p { font-size: .92rem; color: var(--muted); flex: 1; }
.service-card .more { display: inline-flex; align-items: center; gap: .3em; color: var(--blue); font-weight: 700; font-size: .9rem; }
.service-card-new { border-color: var(--accent); }
.service-card-new .service-icon { background: #fff4dd; color: var(--accent-2); }
.badge-new { position: absolute; top: -12px; left: 22px; background: var(--accent); color: var(--navy); font-family: var(--font-en); font-weight: 800; font-size: .72rem; padding: 3px 12px; border-radius: 999px; letter-spacing: .1em; }

/* トップ：サイクル */
.cycle { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: c; max-width: 1040px; margin: 0 auto; }
.cycle li { position: relative; text-align: center; padding: 28px 16px; background: #fff; border-radius: var(--radius); margin: 0 14px; box-shadow: 0 2px 10px rgba(19, 41, 75, .05); display: flex; flex-direction: column; gap: 4px; }
.cycle li:not(:last-child)::after { content: ""; position: absolute; right: -22px; top: 50%; width: 14px; height: 14px; border-top: 3px solid var(--accent); border-right: 3px solid var(--accent); transform: translateY(-50%) rotate(45deg); }
.cycle-step { display: inline-block; align-self: center; font-size: .78rem; font-weight: 700; color: #fff; background: var(--navy); border-radius: 999px; padding: 2px 14px; margin-bottom: 6px; }
.cycle strong { color: var(--navy); font-size: 1.1rem; }
.cycle li > span:last-child { font-size: .85rem; color: var(--muted); }

/* トップ：フィーチャー */
.feature-dark { background: linear-gradient(160deg, var(--navy) 0%, #0e2140 100%); color: #fff; }
.feature-inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.feature-reverse .feature-copy { order: 2; }
.feature-title { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.3rem); font-weight: 900; color: var(--navy); }
.feature-dark .feature-title { color: #fff; }
.feature-lead { color: var(--muted); }
.feature-dark .feature-lead { color: rgba(255, 255, 255, .82); }
.feature-points { list-style: none; display: grid; gap: 10px; margin: 24px 0 32px; }
.feature-points li { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.feature-points .icon { color: var(--accent); margin-top: .3em; }
.feature:not(.feature-dark) .feature-points .icon { color: var(--teal); }
.feature-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.feature-visual { position: relative; }
.shot { border-radius: 12px; box-shadow: var(--shadow-lg); background: #fff; }
.shot-penguin { position: absolute; left: -6%; bottom: -36px; width: 70%; border-radius: 12px; box-shadow: var(--shadow-lg); background: #f3f4f6; }

/* トップ：選ばれる理由 */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.why-card { background: #fff; padding: 36px 30px; border-radius: var(--radius); box-shadow: 0 2px 10px rgba(19, 41, 75, .05); }
.section:not(.section-alt) .why-card { border: 1px solid var(--line); box-shadow: none; }
.why-num { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--navy); color: var(--accent); font-family: var(--font-en); font-weight: 800; font-size: 1.2rem; margin-bottom: 18px; }
.why-num .icon { width: 24px; height: 24px; }
.why-card h3 { color: var(--navy); font-size: 1.15rem; }
.why-card p { color: var(--muted); font-size: .94rem; margin: 0; }

/* トップ：メッセージ */
.message { display: grid; grid-template-columns: 240px 1fr; gap: 56px; align-items: start; max-width: 1000px; }
.message-photo { width: 100%; aspect-ratio: 1; border-radius: 50%; object-fit: cover; box-shadow: var(--shadow); border: 6px solid #fff; }
.message-sign { font-weight: 700; color: var(--navy); display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; margin-top: 24px; }
.message-sign a { display: inline-flex; align-items: center; gap: 4px; font-size: .9rem; text-decoration: none; }

/* お知らせ */
.news-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.news-head .sec-head { text-align: left; margin: 0 0 24px; }
.news-head .link-more { margin-bottom: 28px; }
.news-list { list-style: none; border-top: 1px solid var(--line); }
.news-list li { border-bottom: 1px solid var(--line); }
.news-list a { display: flex; gap: 28px; padding: 18px 8px; color: var(--ink); text-decoration: none; }
.news-list a:hover { background: rgba(37, 99, 201, .04); }
.news-list time { font-family: var(--font-en); color: var(--muted); flex: none; font-weight: 600; }
.pager { margin-top: 32px; text-align: center; }
.pager .page-numbers { display: inline-block; padding: 6px 12px; margin: 0 2px; border-radius: 6px; }
.pager .current { background: var(--navy); color: #fff; }

/* ------------------------------------------------------------------
 * CTA帯
 * ------------------------------------------------------------------ */
.cta-band { background: linear-gradient(120deg, var(--navy) 0%, var(--navy-3) 100%); color: #fff; padding: 72px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta-title { font-size: clamp(1.3rem, 1rem + 1.2vw, 1.8rem); font-weight: 900; }
.cta-text { color: rgba(255, 255, 255, .82); margin: 0; max-width: 560px; }
.cta-actions { display: flex; align-items: center; gap: 28px; flex: none; }
.cta-tel { color: #fff; text-decoration: none; display: flex; flex-direction: column; line-height: 1.3; }
.cta-tel:hover { color: var(--accent); }
.cta-tel-num { font-family: var(--font-en); font-weight: 800; font-size: 1.6rem; display: flex; align-items: center; gap: 6px; }
.cta-tel-hours { font-size: .8rem; color: rgba(255, 255, 255, .7); }

/* ------------------------------------------------------------------
 * 下層ページ共通
 * ------------------------------------------------------------------ */
.page-hero {
	background:
		radial-gradient(800px 300px at 100% 0%, rgba(40, 79, 134, .85), transparent 70%),
		var(--navy);
	color: #fff; padding: 56px 0 64px;
}
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: .8rem; color: rgba(255, 255, 255, .65); margin-bottom: 28px; }
.breadcrumb a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }
.page-title { font-size: clamp(1.7rem, 1.2rem + 2vw, 2.6rem); font-weight: 900; margin-bottom: 14px; }
.page-lead { color: rgba(255, 255, 255, .85); max-width: 820px; margin: 0; }

.card-grid { display: grid; gap: 24px; }
.card-grid-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; }
.section-alt .card { border-color: transparent; box-shadow: 0 2px 10px rgba(19, 41, 75, .05); }
.card-title { display: flex; gap: 10px; align-items: flex-start; color: var(--navy); font-size: 1.12rem; }
.card-title .icon { color: var(--teal); width: 26px; height: 26px; margin-top: 1px; }
.card p { font-size: .94rem; color: var(--muted); }
.card-meta { font-size: .82rem !important; color: var(--teal) !important; font-weight: 700; margin: 0; }
.card-label { font-size: .78rem !important; font-weight: 700; color: var(--teal) !important; margin: 0 0 6px; }
.list-check { list-style: none; display: grid; gap: 6px; font-size: .92rem; }
.list-check li { position: relative; padding-left: 22px; }
.list-check li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 10px; height: 6px; border-left: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: rotate(-45deg); }
.list-plain { list-style: none; display: grid; gap: 4px; }

.point-list { display: grid; gap: 20px; max-width: 920px; margin: 0 auto; }
.point { display: flex; gap: 28px; background: #fff; border-radius: var(--radius); padding: 30px 32px; align-items: flex-start; }
.point-num { font-family: var(--font-en); font-weight: 800; font-size: 2.4rem; color: var(--accent); line-height: 1; flex: none; }
.point h3 { color: var(--navy); font-size: 1.15rem; }
.point p { color: var(--muted); margin-bottom: .6em; }

.flow { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-bottom: 40px; }
.flow-4 { grid-template-columns: repeat(4, 1fr); }
.flow li { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 20px; }
.section-alt .flow li { border-color: transparent; }
.flow li:not(:last-child)::after { content: ""; position: absolute; right: -13px; top: 40px; width: 10px; height: 10px; border-top: 2px solid var(--accent); border-right: 2px solid var(--accent); transform: rotate(45deg); }
.flow-step { display: inline-block; font-family: var(--font-en); font-size: .74rem; font-weight: 800; color: var(--teal); letter-spacing: .1em; margin-bottom: 6px; }
.flow h3 { font-size: 1.05rem; color: var(--navy); margin-bottom: .4em; }
.flow p { font-size: .88rem; color: var(--muted); margin: 0; }

.info-box { background: var(--bg-alt); border-radius: var(--radius); padding: 32px; }
.info-box h3 { color: var(--navy); font-size: 1.1rem; }
.style-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.style-grid > div { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; text-align: center; display: flex; flex-direction: column; gap: 6px; }
.style-grid strong { color: var(--navy); font-size: 1.08rem; }
.style-grid span { color: var(--muted); font-size: .9rem; }

/* 研修ページの目玉 */
.promo { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: 20px; overflow: hidden; background: var(--navy); color: #fff; text-decoration: none; box-shadow: var(--shadow-lg); transition: transform .2s; }
.promo:hover { transform: translateY(-4px); color: #fff; }
.promo img { width: 100%; height: 100%; object-fit: cover; object-position: top left; max-height: 420px; }
.promo-body { padding: 44px 44px; display: flex; flex-direction: column; justify-content: center; }
.promo-body h2 { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem); font-weight: 900; }
.promo-body p { color: rgba(255, 255, 255, .82); }
.promo-body .btn { align-self: flex-start; margin-top: 8px; }

/* ------------------------------------------------------------------
 * 経営シミュレーション
 * ------------------------------------------------------------------ */
.sim-hero { color: #fff; background: radial-gradient(900px 500px at 80% 20%, rgba(11, 132, 198, .45), transparent 60%), linear-gradient(160deg, var(--navy) 0%, #0b1a33 100%); overflow: hidden; }
.sim-hero-inner { display: grid; grid-template-columns: 1.3fr .7fr; gap: 48px; align-items: center; padding-top: 48px; padding-bottom: 72px; }
.breadcrumb-light { margin-bottom: 36px; }
.sim-title { font-size: clamp(2.2rem, 1.3rem + 3.6vw, 3.8rem); font-weight: 900; line-height: 1.25; margin-bottom: 24px; }
.sim-lead { color: rgba(255, 255, 255, .86); margin-bottom: 36px; font-size: 1.02rem; }
.sim-hero-visual { display: flex; justify-content: center; }
.device-phone-lg { width: min(300px, 100%); transform: rotate(4deg); margin-bottom: -140px; }

.screen-rows { display: grid; gap: 72px; }
.screen-row { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; }
.screen-row-reverse > img { order: 2; }
.screen-row h3 { display: flex; align-items: center; gap: 12px; color: var(--navy); font-size: 1.35rem; }
.screen-row p { color: var(--muted); }
.tag { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: var(--navy); font-family: var(--font-en); font-weight: 800; font-size: 1rem; flex: none; }
.screen-row .shot { max-height: 520px; width: 100%; object-fit: cover; object-position: top; }
.penguin-inline { border-radius: 10px; margin-top: 16px; background: #f3f4f6; }

.lineup-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.lineup-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; display: flex; flex-direction: column; border-top: 5px solid var(--teal); }
.lineup-card:nth-child(2) { border-top-color: var(--accent); }
.lineup-card:nth-child(3) { border-top-color: var(--blue); }
.lineup-label { font-size: .8rem; font-weight: 700; color: var(--teal); margin: 0 0 4px; }
.lineup-card h3 { color: var(--navy); font-size: 1.18rem; }
.lineup-card > p { color: var(--muted); font-size: .93rem; flex: 1; }
.lineup-spec { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 0; font-size: .85rem; background: var(--bg-alt); padding: 14px 16px; border-radius: 10px; }
.lineup-spec dt { font-weight: 700; color: var(--navy); }
.lineup-spec dd { margin: 0; color: var(--muted); }

.demo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.demo-card { display: flex; flex-direction: column; gap: 6px; padding: 28px; border-radius: var(--radius); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .18); color: #fff; text-decoration: none; transition: background .2s, transform .2s, border-color .2s; }
.demo-card:hover { background: rgba(255, 255, 255, .12); transform: translateY(-4px); border-color: var(--accent); color: #fff; }
.demo-label { font-size: .8rem; color: var(--accent); font-weight: 700; }
.demo-card strong { font-size: 1.15rem; }
.demo-go { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-weight: 700; color: var(--accent); }
.demo-note { text-align: center; font-size: .85rem; color: rgba(255, 255, 255, .7); margin: 28px 0 0; }

/* ------------------------------------------------------------------
 * CUBIC
 * ------------------------------------------------------------------ */
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 920px; margin: 0 auto; }
.stat { text-align: center; padding: 28px 16px; border-radius: var(--radius); background: var(--bg-alt); display: flex; flex-direction: column; gap: 4px; }
.stat-num { font-family: var(--font-en); font-weight: 800; font-size: clamp(2rem, 1.4rem + 2vw, 2.8rem); color: var(--navy); line-height: 1.1; }
.stat-num small { font-family: var(--font); font-size: .9rem; font-weight: 700; margin-left: 2px; }
.stat-label { font-size: .88rem; color: var(--muted); }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius); border: 1px solid var(--line); }
.price-table { width: 100%; border-collapse: collapse; min-width: 620px; }
.price-table th, .price-table td { padding: 18px 20px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.price-table thead th { background: var(--navy); color: #fff; font-size: .88rem; }
.price-table tbody tr:last-child > * { border-bottom: 0; }
.price-table tbody th { color: var(--navy); width: 26%; }
.price-table tbody th small { color: var(--muted); font-weight: 500; }
.price-table td { color: var(--muted); font-size: .93rem; }
.price-table .price { color: var(--navy); font-weight: 700; white-space: nowrap; }
.price-table .price small { display: block; color: var(--muted); font-weight: 500; }

/* ------------------------------------------------------------------
 * 業務アプリ
 * ------------------------------------------------------------------ */
.value-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value { text-align: center; padding: 12px 20px; }
.value-icon { display: inline-grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: #fff4dd; color: var(--accent-2); margin-bottom: 16px; }
.value-icon .icon { width: 36px; height: 36px; }
.value h3 { font-size: 1.3rem; color: var(--navy); }
.value p { color: var(--muted); font-size: .94rem; }

.tabs { max-width: 1060px; margin: 0 auto; }
.tab-list { display: flex; justify-content: center; gap: 8px; margin-bottom: 28px; flex-wrap: wrap; }
.tab { font-family: inherit; font-size: .95rem; font-weight: 700; padding: 10px 24px; border-radius: 999px; border: 2px solid var(--navy); background: #fff; color: var(--navy); cursor: pointer; }
.tab[aria-selected="true"] { background: var(--navy); color: #fff; }
.tab-panel { display: grid; grid-template-columns: 1.7fr 1fr; gap: 40px; align-items: center; }
.tab-panel[hidden] { display: none; }
.device-wide img { max-height: 560px; object-fit: cover; object-position: top left; }
.tab-caption h3 { color: var(--navy); font-size: 1.3rem; }
.tab-caption p { color: var(--muted); }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-item { display: flex; gap: 16px; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); }
.feature-item > .icon { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: #e6f2fa; color: var(--teal); }
.feature-item h3 { color: var(--navy); font-size: 1.05rem; }
.feature-item p { color: var(--muted); font-size: .9rem; margin: 0; }
.tag-cloud { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; max-width: 860px; margin: 0 auto; }
.tag-cloud li { padding: 8px 18px; border-radius: 999px; background: var(--bg-alt); color: var(--navy); font-weight: 500; font-size: .92rem; }

/* ------------------------------------------------------------------
 * 会社概要
 * ------------------------------------------------------------------ */
.info-table { width: 100%; border-collapse: collapse; border-top: 2px solid var(--navy); }
.info-table th, .info-table td { padding: 20px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.info-table th { width: 26%; color: var(--navy); font-weight: 700; background: var(--bg-alt); }
.profile { max-width: 920px; margin: 0 auto; background: #fff; border-radius: 20px; padding: 44px; box-shadow: 0 2px 10px rgba(19, 41, 75, .05); }
.profile-head { display: grid; grid-template-columns: 260px 1fr; gap: 36px; align-items: start; padding-bottom: 32px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.profile-photo { width: 100%; max-width: 260px; height: auto; border-radius: 14px; box-shadow: var(--shadow); }
.profile-intro p:not([class]) { color: var(--ink); font-size: .95rem; }
.profile-tags { margin-bottom: 16px !important; }
.profile-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 40px; }
.profile-role { margin: 0; color: var(--muted); font-size: .88rem; }
.profile-name { font-size: 1.8rem; font-weight: 900; color: var(--navy); margin: 0 0 8px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
.profile-name span { font-family: var(--font-en); font-size: .85rem; font-weight: 600; color: var(--muted); letter-spacing: .1em; }
.profile-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.profile-tags span { font-size: .78rem; font-weight: 700; padding: 3px 12px; border-radius: 999px; background: #e6f2fa; color: var(--teal); }
.profile-sub { font-size: 1.05rem; color: var(--navy); margin-top: 28px; padding-left: 12px; border-left: 4px solid var(--accent); }
.book-list { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 20px; }
.book-list li { background: var(--bg-alt); border-radius: 8px; padding: 12px 16px; font-size: .92rem; font-weight: 700; color: var(--navy); }
.book-list li span { display: block; font-weight: 400; font-size: .82rem; color: var(--muted); }
.media-list { list-style: none; border-top: 1px solid var(--line); font-size: .9rem; }
.media-list li { display: grid; grid-template-columns: 76px 1fr; gap: 12px; padding: 10px 4px; border-bottom: 1px solid var(--line); }
.media-list time { font-family: var(--font-en); font-weight: 600; color: var(--teal); }
.map { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--bg-alt); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ------------------------------------------------------------------
 * お問い合わせ
 * ------------------------------------------------------------------ */
.contact-tel { text-align: center; background: var(--bg-alt); border-radius: var(--radius); padding: 28px; margin-bottom: 48px; }
.contact-tel p { margin: 0; font-weight: 700; color: var(--navy); }
.contact-tel a { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-en); font-weight: 800; font-size: 2rem; color: var(--navy); text-decoration: none; }
.contact-tel span { display: block; font-size: .85rem; color: var(--muted); }
.contact-form { display: grid; gap: 22px; }
.field { display: grid; gap: 8px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field label { font-weight: 700; color: var(--navy); font-size: .95rem; }
.req { display: inline-block; margin-left: 8px; font-size: .7rem; padding: 1px 8px; border-radius: 4px; background: #d6453d; color: #fff; vertical-align: 2px; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
	width: 100%; font: inherit; font-size: 16px; padding: 13px 14px; border: 1px solid #c9d1dd; border-radius: 10px; background: #fff; color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); outline: 3px solid rgba(37, 99, 201, .15); }
.field-check label { font-weight: 500; display: flex; align-items: center; gap: 8px; justify-content: center; }
.field-check input { width: 20px; height: 20px; }
.form-errors { background: #fdeceb; border: 1px solid #f2b8b4; color: #9b2c25; border-radius: 12px; padding: 18px 22px; margin-bottom: 28px; }
.form-errors p { font-weight: 700; margin-bottom: 6px; }
.form-errors ul { padding-left: 1.2em; }
.form-done { text-align: center; background: #eaf6ef; border-radius: var(--radius); padding: 44px 28px; }
.form-done h2 { color: #1d7a45; }

/* 本文（お知らせ・プライバシーポリシー） */
.prose h2 { font-size: 1.25rem; color: var(--navy); margin-top: 2em; padding-bottom: .4em; border-bottom: 2px solid var(--line); }
.prose h3 { font-size: 1.1rem; color: var(--navy); margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.4em; margin-bottom: 1em; }
.prose img { border-radius: 10px; margin: 1.2em 0; }
.post-date { color: var(--muted); font-family: var(--font-en); }
.back-link { margin-top: 48px; }
.link-grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.link-grid a { display: block; padding: 16px; border: 1px solid var(--line); border-radius: 10px; text-decoration: none; font-weight: 700; }

/* ------------------------------------------------------------------
 * フッター
 * ------------------------------------------------------------------ */
.site-footer { background: #0b1a33; color: rgba(255, 255, 255, .78); font-size: .9rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; padding-top: 64px; padding-bottom: 48px; }
.brand-footer { display: flex; align-items: center; gap: 12px; color: #fff; font-weight: 700; font-size: 1.1rem; margin-bottom: 8px; }
.footer-tagline { font-size: .82rem; color: rgba(255, 255, 255, .6); }
.site-footer address { line-height: 1.9; }
.site-footer a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.footer-head { font-family: var(--font-en); color: #fff; font-weight: 800; letter-spacing: .1em; font-size: .85rem; }
.footer-nav ul { list-style: none; display: grid; gap: 8px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 20px 0; text-align: center; color: rgba(255, 255, 255, .5); }
.sp-cta { display: none; }

/* 表示時の演出 */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ==================================================================
 * レスポンシブ
 * ================================================================== */
@media (max-width: 1440px) {
	.nav-tel { display: none; }
	.site-nav { gap: 14px; }
}

@media (max-width: 1080px) {
	:root { --header-h: 64px; }
	.brand-logo { height: 38px; }
	.nav-toggle {
		display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
		width: 46px; height: 46px; padding: 0 11px; border: 0; border-radius: 10px; background: var(--bg-alt); cursor: pointer; position: relative; z-index: 120;
	}
	.nav-toggle-bar { display: block; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .25s, opacity .25s; }
	.nav-open .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
	.nav-open .nav-toggle-bar:nth-child(2) { opacity: 0; }
	.nav-open .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
	.site-nav {
		position: fixed; inset: var(--header-h) 0 0 0; z-index: 110;
		flex-direction: column; align-items: stretch; gap: 16px; padding: 20px 24px 40px;
		background: #fff; overflow-y: auto;
		visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility .2s;
	}
	.admin-bar .site-nav { top: calc(var(--header-h) + 46px); }
	.nav-open .site-nav { visibility: visible; opacity: 1; transform: none; }
	.nav-open { overflow: hidden; }
	.nav-list { flex-direction: column; gap: 0; }
	.nav-list a { padding: 16px 6px; font-size: 1.02rem; border-bottom: 1px solid var(--line); border-radius: 0; }
	.nav-cta { padding: 1em; font-size: 1rem; }
	.nav-tel { display: flex; justify-content: center; font-size: 1.3rem; padding: 8px; }

	.service-grid { grid-template-columns: repeat(2, 1fr); }
	.flow { grid-template-columns: repeat(3, 1fr); }
	.flow li:nth-child(3n)::after { display: none; }
	.feature-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
	.section { padding: 72px 0; }
	.hero-inner { grid-template-columns: 1fr; gap: 40px; padding-top: 64px; padding-bottom: 96px; }
	.hero-visual { min-height: 0; max-width: 620px; margin: 0 auto; width: 100%; padding-right: 12%; }
	.hero .device-pc { transform: none; }
	.hero .device-phone { width: 30%; right: 0; bottom: -40px; }
	.feature-inner, .feature-reverse { grid-template-columns: 1fr; gap: 48px; }
	.feature-reverse .feature-copy { order: 0; }
	.feature-visual { max-width: 640px; margin: 0 auto 24px; }
	.why-grid, .card-grid-3, .lineup-grid, .demo-grid, .value-row, .style-grid, .stat-row { grid-template-columns: 1fr; }
	.stat-row { grid-template-columns: repeat(3, 1fr); gap: 10px; }
	.message { grid-template-columns: 1fr; gap: 28px; }
	.message-photo { width: 160px; }
	.cta-inner { flex-direction: column; align-items: flex-start; gap: 28px; }
	.cycle { grid-template-columns: repeat(2, 1fr); gap: 24px 0; }
	.cycle li:nth-child(2)::after { display: none; }
	.promo { grid-template-columns: 1fr; }
	.promo img { max-height: 260px; }
	.promo-body { padding: 32px 28px; }
	.sim-hero-inner { grid-template-columns: 1fr; padding-bottom: 48px; }
	.device-phone-lg { width: 240px; margin-bottom: -110px; transform: rotate(3deg); }
	.sim-hero { padding-bottom: 80px; }
	.screen-row, .screen-row-reverse { grid-template-columns: 1fr; gap: 24px; }
	.screen-row-reverse > img { order: 0; }
	.screen-rows { gap: 56px; }
	.tab-panel { grid-template-columns: 1fr; gap: 24px; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
	body { font-size: 15px; line-height: 1.8; }
	.container { padding: 0 16px; }
	.pc-only { display: none; }
	.sp-only { display: inline; }
	.section { padding: 60px 0; }
	.section-tight { padding: 40px 0; }
	.sec-head { margin-bottom: 32px; text-align: left; }
	.sec-head .sec-title { font-size: 1.45rem; }
	.brand-logo { height: 34px; }
	.hero-inner { padding-top: 44px; }
	.hero-title { font-size: 1.68rem; }
	.hero-actions .btn, .feature-actions .btn { width: 100%; }
	.issue-grid { grid-template-columns: 1fr; gap: 10px; }
	.issue-grid li { padding: 14px 16px; font-size: .94rem; }
	.issue-answer { font-size: 1.02rem; text-align: left; }
	.service-grid { grid-template-columns: 1fr; gap: 14px; }
	.service-card { padding: 24px 22px; }
	.service-card h3 br { display: none; }
	.service-card h3 small { display: block; }
	.cycle { grid-template-columns: 1fr; gap: 22px; }
	.cycle li { margin: 0; }
	.cycle li:not(:last-child)::after { display: block !important; right: auto; left: 50%; top: auto; bottom: -18px; transform: translateX(-50%) rotate(135deg); }
	.cycle li:last-child::after { display: none !important; }
	.shot-penguin { position: static; width: 100%; margin-top: 16px; }
	.why-card { padding: 28px 22px; }
	.point { flex-direction: column; gap: 10px; padding: 24px 20px; }
	.flow, .flow-4 { grid-template-columns: 1fr; gap: 14px; }
	.flow li:not(:last-child)::after { display: block !important; right: auto; left: 50%; top: auto; bottom: -11px; transform: translateX(-50%) rotate(135deg); }
	.flow li:last-child::after { display: none !important; }
	.card-grid-2, .feature-grid, .book-list, .link-grid { grid-template-columns: 1fr; }
	.card { padding: 24px 20px; }
	.stat-row { grid-template-columns: 1fr; }
	/* 料金表はスマホでは縦に積む */
	.table-wrap { overflow: visible; }
	.price-table { min-width: 0; }
	.price-table thead { display: none; }
	.price-table tr { display: block; border-bottom: 1px solid var(--line); padding: 14px 16px; }
	.price-table tbody tr:last-child { border-bottom: 0; }
	.price-table th, .price-table td { display: block; width: auto !important; padding: 2px 0; border: 0; }
	.price-table .price { margin-top: 6px; white-space: normal; }
	.info-table th, .info-table td { display: block; width: 100%; }
	.info-table th { padding: 10px 14px; }
	.info-table td { padding: 14px 14px 20px; }
	.profile { padding: 28px 20px; }
	.profile-head { grid-template-columns: 1fr; gap: 20px; }
	.profile-photo { max-width: 260px; }
	.profile-grid { grid-template-columns: 1fr; }
	.media-list li { grid-template-columns: 1fr; gap: 0; }
	.field-row { grid-template-columns: 1fr; }
	.contact-tel a { font-size: 1.6rem; }
	.cta-band { padding: 56px 0; }
	.cta-actions { flex-direction: column; align-items: stretch; width: 100%; gap: 18px; }
	.cta-tel { align-items: center; }
	.news-head { flex-direction: column; align-items: flex-start; gap: 0; }
	.news-list a { flex-direction: column; gap: 2px; }
	.tab { padding: 8px 14px; font-size: .85rem; }
	.tab-list { gap: 6px; }
	.page-hero { padding: 36px 0 44px; }
	.breadcrumb { margin-bottom: 18px; }
	.sim-title { font-size: 2rem; }
	.device-phone-lg { width: 200px; }
	.footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; padding-top: 48px; }
	/* 画面下に固定の電話・メールボタン */
	.sp-cta { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; box-shadow: 0 -4px 16px rgba(0, 0, 0, .12); padding-bottom: env(safe-area-inset-bottom); background: var(--navy); }
	.sp-cta a { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 14px 8px; font-weight: 700; text-decoration: none; font-size: .95rem; }
	.sp-cta-tel { background: #fff; color: var(--navy); }
	.sp-cta-mail { background: var(--accent); color: var(--navy); }
	.site-footer { padding-bottom: 56px; }
	.page-contact .sp-cta, .nav-open .sp-cta { display: none; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; animation: none !important; }
}
