/*
Theme Name: AIKON Corporate
Theme URI: https://aikon-inc.co.jp/
Author: 株式会社AIKON
Description: 株式会社AIKONのコーポレートサイト用テーマ。青を基調にした明朝体×欧文セリフのデザイン。実績（WORKS）・お知らせ（NEWS）のカスタム投稿タイプ、Contact Form 7、チャットボットに対応。
Version: 1.0.0
Requires at least: 6.2
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: aikon-corporate
*/

/* ==========================================================
   1. 基本
   ========================================================== */
:root {
	--ak-navy: #0B2545;
	--ak-deep: #0B1B33;
	--ak-blue: #006A99;
	--ak-blue-d: #004E72;
	--ak-accent: #0098D8;
	--ak-sky: #8FD3F2;
	--ak-pale: #F3F7FD;
	--ak-line: #CFE0F0;
	--ak-line-d: #B7CDE3;
	--ak-text: #101828;
	--ak-text2: #33435C;
	--ak-muted: #5A6B85;
	--ak-sans: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
	--ak-serif: 'Shippori Mincho', 'Hiragino Mincho ProN', 'Yu Mincho', serif;
	--ak-en: 'EB Garamond', 'Times New Roman', serif;
}
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ak-pale); color: var(--ak-text); font-family: var(--ak-sans); -webkit-font-smoothing: antialiased; }
a { color: var(--ak-blue); text-decoration: none; }
a:hover { color: var(--ak-blue-d); }
img { max-width: 100%; }
.en { font-family: var(--ak-en); }
.mc { font-family: var(--ak-serif); }
.ak-site { position: relative; font-family: var(--ak-sans); color: var(--ak-text); background: var(--ak-pale); min-width: 0; overflow-x: clip; }
.ak-skip { position: absolute; left: -9999px; top: 0; z-index: 999; background: #fff; color: var(--ak-blue); padding: 12px 18px; }
.ak-skip:focus { left: 8px; top: 8px; }
:focus-visible { outline: 2px solid var(--ak-accent); outline-offset: 3px; }
.ak-header *, .ak-hero *, .ak-phero *, .ak-crumb *, .ak-cta *, .ak-footer *, .ak-sec *, .ak-article *, .ak-form *, .lp *,
.chatbot *, .exit-popup *, .ak-pill, .ak-chip, .ak-wcard, .ak-wcard * { box-sizing: border-box; }

/* ==========================================================
   2. ヘッダー
   ========================================================== */
.ak-header { position: absolute; top: 0; left: 0; right: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 36px 64px; }
.ak-header__logo { display: flex; align-items: center; min-height: 44px; }
.ak-header__logo img { height: 34px; width: auto; display: block; }
.ak-nav { display: flex; align-items: center; gap: 36px; }
.ak-nav__link { color: #fff; font-size: 17px; letter-spacing: .14em; position: relative; padding: 10px 0; }
.ak-nav__link small { display: none; }
.ak-nav__link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px; background: #fff; transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.ak-nav__link:hover, .ak-nav__link[aria-current] { color: #fff; }
.ak-nav__link:hover::after, .ak-nav__link[aria-current]::after { transform: scaleX(1); }
.ak-nav__link--sp { display: none; }
.ak-nav__cta { color: #fff; font-size: 14px; letter-spacing: .12em; border: 1px solid rgba(255,255,255,.8); border-radius: 999px; padding: 12px 24px; min-height: 44px; display: flex; align-items: center; transition: background .25s, color .25s; }
.ak-nav__cta:hover { background: #fff; color: var(--ak-blue); }
.ak-menu-btn { display: none; position: relative; z-index: 32; width: 48px; height: 48px; border: 1px solid rgba(255,255,255,.7); border-radius: 50%; background: transparent; cursor: pointer; padding: 0; }
.ak-menu-btn span { position: absolute; left: 14px; right: 14px; height: 1px; background: #fff; transition: transform .3s, opacity .3s, top .3s; }
.ak-menu-btn span:nth-child(1) { top: 17px; }
.ak-menu-btn span:nth-child(2) { top: 23px; }
.ak-menu-btn span:nth-child(3) { top: 29px; }
.ak-menu-btn[aria-expanded="true"] span:nth-child(1) { top: 23px; transform: rotate(45deg); }
.ak-menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.ak-menu-btn[aria-expanded="true"] span:nth-child(3) { top: 23px; transform: rotate(-45deg); }

/* ==========================================================
   3. トップページのヒーロー
   ========================================================== */
.ak-hero { position: relative; min-height: 860px; overflow: hidden; background: #0D2B4F; display: flex; align-items: center; justify-content: center; color: #fff; }
.ak-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ak-hero { background: #06152B; }
.ak-hero__shade { position: absolute; inset: 0; background: radial-gradient(ellipse 70% 60% at 80% 20%, rgba(31,111,181,.38) 0%, rgba(31,111,181,0) 70%), radial-gradient(ellipse 60% 55% at 12% 85%, rgba(0,121,193,.32) 0%, rgba(0,121,193,0) 70%), linear-gradient(160deg, #0A2444 0%, #071a33 55%, #050f22 100%); }
.ak-hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.ak-hero__veil { position: absolute; inset: 0; background: radial-gradient(ellipse 46% 30% at 50% 50%, rgba(5,15,34,.62) 0%, rgba(5,15,34,0) 100%); pointer-events: none; }
.ak-hero__title, .ak-hero__lead { text-shadow: 0 2px 18px rgba(5,15,34,.75); }
.ak-hero__ring { position: absolute; border-radius: 50%; border: 1px solid rgba(143,211,242,.35); }
.ak-hero__ring--1 { right: -220px; top: 120px; width: 900px; height: 900px; }
.ak-hero__ring--2 { right: -80px; top: 260px; width: 620px; height: 620px; border-color: rgba(143,211,242,.25); }
.ak-hero__glow { position: absolute; left: -260px; top: -260px; width: 640px; height: 640px; border-radius: 50%; background: radial-gradient(circle, rgba(0,152,216,.45) 0%, rgba(0,152,216,0) 70%); }
.ak-hero__scroll { position: absolute; left: 28px; top: 300px; display: flex; flex-direction: column; align-items: center; gap: 14px; color: rgba(255,255,255,.8); }
.ak-hero__scroll i { width: 1px; height: 90px; background: rgba(255,255,255,.6); }
.ak-hero__scroll span:first-child { font-size: 13px; letter-spacing: .2em; }
.ak-hero__scroll span:last-child { font-size: 12px; letter-spacing: .3em; writing-mode: vertical-rl; }
.ak-hero__in { position: relative; z-index: 1; width: 100%; padding: 170px 64px 130px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; }
.ak-hero__title { margin: 0; font-size: clamp(23px, 6vw, 52px); font-weight: 500; letter-spacing: .18em; line-height: 1.5; }
.ak-hero__lead { margin: 0; font-size: 17px; letter-spacing: .12em; line-height: 2; opacity: .9; }
.ak-hero__more { margin-top: 12px; color: #fff; font-style: italic; font-size: 17px; border: 1px solid rgba(255,255,255,.8); border-radius: 999px; padding: 10px 30px; min-height: 44px; display: flex; align-items: center; transition: background .25s, color .25s; }
.ak-hero__more:hover { background: #fff; color: var(--ak-blue); }

/* ==========================================================
   4. 下層ページの上部・パンくず
   ========================================================== */
.ak-phero { position: relative; height: 380px; overflow: hidden; background: #0D2B4F; color: #fff; }
.ak-phero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ak-phero__shade { position: absolute; inset: 0; background: linear-gradient(150deg, rgba(31,111,181,.82) 0%, rgba(18,78,138,.86) 50%, rgba(11,37,69,.94) 100%); }
.ak-phero__ring { position: absolute; right: -160px; top: 60px; width: 620px; height: 620px; border-radius: 50%; border: 1px solid rgba(143,211,242,.3); }
.ak-phero__inner { position: absolute; left: 0; right: 0; bottom: 64px; padding: 0 64px; }
.ak-phero__box { max-width: 1280px; margin: 0 auto; }
.ak-phero__en { margin: 0; font-size: clamp(38px, 5.4vw, 64px); line-height: 1; letter-spacing: .06em; }
.ak-phero__jp { margin: 18px 0 0; font-size: 20px; font-weight: 500; letter-spacing: .2em; }
.ak-crumb { background: #fff; border-bottom: 1px solid var(--ak-line); padding: 16px 64px; font-size: 14px; color: var(--ak-muted); line-height: 1.7; }
.ak-crumb__in { max-width: 1280px; margin: 0 auto; }

/* ==========================================================
   5. 共通の部品（見出し・ボタン・絞り込み・ページ送り）
   ========================================================== */
.ak-sec { max-width: 1280px; margin: 0 auto; padding: clamp(64px, 7.6vw, 110px) 64px; }
.ak-sec--narrow { max-width: 1080px; }
.ak-band { background: #fff; }
.ak-head { display: flex; align-items: baseline; gap: 20px; flex-wrap: wrap; margin-bottom: 20px; }
.ak-head__en { margin: 0; font-size: clamp(34px, 4.4vw, 52px); font-weight: 400; letter-spacing: .06em; line-height: 1.2; }
.ak-head__jp { font-size: 16px; letter-spacing: .2em; color: var(--ak-muted); }
.ak-pill { display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; min-height: 48px; padding: 14px 40px; font-size: 17px; letter-spacing: .1em; line-height: 1.4; text-align: center; transition: background .25s, color .25s, border-color .25s, transform .25s; cursor: pointer; }
.ak-pill--white { background: #fff; color: #005C94; font-weight: 700; padding: 18px 44px; }
.ak-pill--white:hover { background: #E3F1FB; color: #005C94; }
.ak-pill--line { color: #fff; border: 1px solid #fff; padding: 18px 44px; }
.ak-pill--line:hover { background: #fff; color: #005C94; }
.ak-pill--blue { background: var(--ak-blue); color: #fff; font-weight: 700; }
.ak-pill--blue:hover { background: var(--ak-blue-d); color: #fff; }
.ak-pill--ghost { border: 1px solid var(--ak-blue); color: var(--ak-blue); background: transparent; }
.ak-pill--ghost:hover { background: var(--ak-blue); color: #fff; }
.ak-pill--en { font-family: var(--ak-en); font-style: italic; font-size: 17px; letter-spacing: .08em; }
.ak-chips { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 48px; }
.ak-chip { font-size: 16px; border-radius: 999px; padding: 10px 22px; min-height: 44px; display: flex; align-items: center; border: 1px solid var(--ak-line-d); color: var(--ak-text2); background: #fff; transition: background .2s, color .2s, border-color .2s; }
.ak-chip:hover { border-color: var(--ak-blue); color: var(--ak-blue); }
.ak-chip.is-current { background: var(--ak-blue); border-color: var(--ak-blue); color: #fff; }
.ak-pager { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 56px; }
.ak-pager .page-numbers { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 16px; border: 1px solid var(--ak-line-d); color: var(--ak-text2); background: #fff; }
.ak-pager a.page-numbers:hover { border-color: var(--ak-blue); color: var(--ak-blue); }
.ak-pager .page-numbers.current { background: var(--ak-blue); border-color: var(--ak-blue); color: #fff; }
.ak-pager .page-numbers.dots { border-color: transparent; background: transparent; }
.ak-empty { text-align: center; color: var(--ak-muted); font-size: 17px; line-height: 2; padding: 40px 0; }

/* ==========================================================
   6. お問い合わせの帯・フッター
   ========================================================== */
.ak-cta { position: relative; background: linear-gradient(120deg, #0079C1 0%, #005C94 100%); color: #fff; overflow: hidden; }
.ak-cta__bg { position: absolute; left: 0; right: 0; bottom: -.18em; margin: 0; text-align: center; font-size: clamp(84px, 11.8vw, 170px); line-height: 1; color: rgba(255,255,255,.1); white-space: nowrap; pointer-events: none; }
.ak-cta__in { position: relative; max-width: 1280px; margin: 0 auto; padding: clamp(72px, 8.4vw, 120px) 64px clamp(96px, 10.4vw, 150px); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.ak-cta__title { margin: 0; font-size: clamp(24px, 3.2vw, 38px); font-weight: 500; letter-spacing: .12em; line-height: 1.7; }
.ak-cta__lead { margin: 0; font-size: 17px; line-height: 2; opacity: .9; }
.ak-cta__btns { display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; margin-top: 16px; }
.ak-footer { background: var(--ak-deep); color: rgba(255,255,255,.85); padding: 72px 64px 40px; }
.ak-footer__in { max-width: 1280px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 48px; justify-content: space-between; }
.ak-footer__brand { display: flex; flex-direction: column; gap: 14px; }
.ak-footer__brand img { height: 30px; width: auto; display: block; align-self: flex-start; }
.ak-footer__tag { font-size: 16px; letter-spacing: .12em; }
.ak-footer__addr { font-size: 14px; line-height: 1.9; color: rgba(255,255,255,.7); }
.ak-footer__nav { display: flex; gap: 16px 40px; flex-wrap: wrap; font-size: 16px; align-content: flex-start; }
.ak-footer a { color: #fff; }
.ak-footer a:hover { color: var(--ak-sky); }
.ak-footer__bottom { max-width: 1280px; margin: 56px auto 0; display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; align-items: center; }
.ak-footer__legal { display: flex; gap: 12px 28px; flex-wrap: wrap; font-size: 14px; }
.ak-footer__legal a { color: rgba(255,255,255,.75); }
.ak-footer__copy { margin: 0; font-size: 14px; color: rgba(255,255,255,.6); }

/* ==========================================================
   7. 実績カード・実績詳細
   ========================================================== */
.ak-wgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.ak-wgrid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.ak-wcard { color: var(--ak-text); display: flex; flex-direction: column; background: #fff; border: 1px solid var(--ak-line); border-radius: 4px; overflow: hidden; transition: transform .3s, box-shadow .3s; }
.ak-wcard:hover { color: var(--ak-text); transform: translateY(-4px); box-shadow: 0 18px 40px rgba(11,37,69,.1); }
.ak-wcard__img { position: relative; display: block; height: 260px; background: linear-gradient(140deg, #1F6FB5 0%, #0B2545 100%); overflow: hidden; }
.ak-wcard__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s; }
.ak-wcard:hover .ak-wcard__img img { transform: scale(1.04); }
.ak-wcard__ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.8); font-size: 28px; letter-spacing: .16em; }
.ak-wcard__new { position: absolute; top: 16px; left: 16px; width: 56px; height: 56px; border-radius: 50%; background: var(--ak-blue); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 13px; letter-spacing: .12em; }
.ak-wcard__body { display: flex; flex-direction: column; gap: 14px; padding: 30px 32px 36px; flex: 1 1 auto; }
.ak-wcard__cat { font-size: 13px; letter-spacing: .12em; color: var(--ak-blue); }
.ak-wcard__title { font-size: 19px; line-height: 1.7; }
.ak-wcard__sum { font-size: 16px; line-height: 1.9; color: var(--ak-muted); }
.ak-wcard__more { margin-top: auto; font-size: 16px; color: var(--ak-blue); }
.ak-wcard--compact { background: var(--ak-pale); }
.ak-topwork { transition: transform .3s, box-shadow .3s; }
.ak-topwork:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(11,37,69,.1); }
.ak-topwork__img { position: relative; display: block; aspect-ratio: 16 / 10; background: linear-gradient(140deg, #1F6FB5 0%, #0B2545 100%); overflow: hidden; }
.ak-topwork__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s; }
.ak-topwork:hover .ak-topwork__img img { transform: scale(1.04); }
.ak-wcard--compact .ak-wcard__img { height: 170px; }
.ak-wcard--compact .ak-wcard__body { gap: 12px; padding: 24px 26px 28px; }
.ak-wcard--compact .ak-wcard__title { font-size: 17px; }

.ak-case { max-width: 1080px; margin: 0 auto; padding: clamp(56px, 6.7vw, 96px) 64px; }
.ak-case__meta { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-bottom: 22px; }
.ak-case__cat { font-size: 14px; color: var(--ak-blue); border: 1px solid var(--ak-line-d); border-radius: 999px; padding: 6px 16px; background: #fff; }
.ak-case__no { font-size: 16px; letter-spacing: .2em; color: var(--ak-muted); }
.ak-case__title { margin: 0 0 40px; font-size: clamp(22px, 3vw, 36px); font-weight: 500; line-height: 1.7; letter-spacing: .06em; }
.ak-case__img { height: clamp(220px, 34vw, 440px); border-radius: 4px; overflow: hidden; margin-bottom: 32px; }
.ak-case__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ak-case__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); background: #fff; border: 1px solid var(--ak-line); border-radius: 4px; margin-bottom: 56px; }
.ak-case__facts > div { padding: 22px 28px; }
.ak-case__facts dt { margin: 0 0 6px; font-size: 14px; font-weight: 500; color: var(--ak-blue); letter-spacing: .08em; }
.ak-case__facts dd { margin: 0; font-size: 17px; line-height: 1.7; }
.ak-case__step { display: flex; gap: 48px; align-items: flex-start; padding: 56px 0; border-top: 1px solid var(--ak-line); }
.ak-case__side { flex: 0 0 180px; }
.ak-case__num { margin: 0; font-size: 56px; line-height: 1; color: var(--ak-accent); font-style: italic; }
.ak-case__en { margin: 10px 0 0; font-size: 14px; letter-spacing: .24em; color: var(--ak-blue); }
.ak-case__jp { margin: 6px 0 0; font-size: 18px; font-weight: 500; }
.ak-case__main { flex: 1 1 0; min-width: 0; }
.ak-case__main h2 { margin: 0 0 20px; font-size: clamp(20px, 2.2vw, 26px); font-weight: 500; line-height: 1.7; letter-spacing: .06em; font-family: var(--ak-serif); }
.ak-case__text { font-size: 17px; line-height: 2.2; color: var(--ak-text2); }
.ak-case__text p { margin: 0 0 1.2em; }
.ak-case__text p:last-child { margin-bottom: 0; }
.ak-case__share { padding: 0 0 40px; }
.ak-case__back { border-top: 1px solid var(--ak-line); padding-top: 48px; display: flex; justify-content: center; }

/* ==========================================================
   8. ブログ一覧・記事
   ========================================================== */
.ak-feature { display: flex; gap: 48px; align-items: stretch; background: #fff; border: 1px solid var(--ak-line); border-radius: 4px; overflow: hidden; color: var(--ak-text); margin-bottom: 40px; transition: box-shadow .3s, transform .3s; }
.ak-feature:hover { color: var(--ak-text); transform: translateY(-3px); box-shadow: 0 18px 40px rgba(11,37,69,.1); }
.ak-feature__img { flex: 0 0 46%; min-height: 300px; background: linear-gradient(140deg, #1F6FB5 0%, #0B2545 100%); position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.ak-feature__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ak-feature__img i { position: absolute; width: 360px; height: 360px; border-radius: 50%; border: 1px solid rgba(143,211,242,.35); }
.ak-feature__img span { position: relative; color: #fff; font-size: 34px; letter-spacing: .16em; }
.ak-feature__body { flex: 1 1 0; min-width: 0; padding: 40px 40px 40px 0; display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.ak-feature__title { font-size: clamp(19px, 2.2vw, 26px); line-height: 1.6; }
.ak-feature__more { font-size: 16px; color: var(--ak-blue); }
.ak-postmeta { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.ak-date { font-family: var(--ak-en); font-size: 17px; color: var(--ak-muted); }
.ak-tag { font-size: 13px; color: var(--ak-blue); border: 1px solid var(--ak-line-d); border-radius: 999px; padding: 4px 12px; background: #fff; }
.ak-rows { border-top: 1px solid var(--ak-line); }
.ak-row { display: flex; gap: 12px 28px; flex-wrap: wrap; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--ak-line); color: var(--ak-text); transition: color .2s, padding .3s; }
.ak-row:hover { color: var(--ak-blue); padding-left: 10px; }
.ak-row .ak-date { width: 100px; }
.ak-row__title { font-size: 17px; line-height: 1.7; flex: 1 1 320px; min-width: 0; }

.ak-article { max-width: 880px; margin: 0 auto; padding: clamp(48px, 6vw, 88px) 64px clamp(64px, 7vw, 100px); }
.ak-article__title { margin: 18px 0 36px; font-family: var(--ak-serif); font-size: clamp(22px, 3vw, 34px); font-weight: 500; line-height: 1.7; letter-spacing: .04em; }
.ak-article__thumb { margin: 0 0 44px; border-radius: 4px; overflow: hidden; }
.ak-article__thumb img { display: block; width: 100%; height: auto; }
.ak-article__back { margin-top: 64px; padding-top: 44px; border-top: 1px solid var(--ak-line); display: flex; justify-content: center; }
.entry-content { font-size: 17px; line-height: 2.05; color: var(--ak-text2); overflow-wrap: anywhere; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content p { margin: 0 0 1.7em; }
.entry-content h2 { margin: 2.6em 0 1.1em; padding: 0 0 14px; border-bottom: 1px solid var(--ak-line); font-family: var(--ak-serif); font-size: clamp(20px, 2.4vw, 26px); font-weight: 500; line-height: 1.7; letter-spacing: .04em; color: var(--ak-text); position: relative; }
.entry-content h2::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 72px; height: 2px; background: var(--ak-accent); }
.entry-content h3 { margin: 2.2em 0 1em; padding-left: 16px; border-left: 3px solid var(--ak-accent); font-family: var(--ak-serif); font-size: clamp(18px, 2vw, 21px); font-weight: 500; line-height: 1.7; color: var(--ak-text); }
.entry-content h4 { margin: 2em 0 .8em; font-size: 17px; font-weight: 700; color: var(--ak-text); }
.entry-content a { text-decoration: underline; text-underline-offset: 3px; }
.entry-content ul, .entry-content ol { margin: 0 0 1.7em; padding-left: 1.5em; }
.entry-content li { margin-bottom: .5em; }
.entry-content img { height: auto; border-radius: 4px; }
.entry-content figure { margin: 0 0 1.7em; }
.entry-content figcaption { font-size: 14px; color: var(--ak-muted); text-align: center; margin-top: 8px; }
.entry-content blockquote { margin: 0 0 1.7em; padding: 20px 26px; background: #fff; border-left: 3px solid var(--ak-accent); color: var(--ak-text2); }
.entry-content blockquote p:last-child { margin-bottom: 0; }
.entry-content table { width: 100%; border-collapse: collapse; margin: 0 0 1.7em; font-size: 17px; background: #fff; }
.entry-content th, .entry-content td { border: 1px solid var(--ak-line); padding: 12px 16px; text-align: left; vertical-align: top; line-height: 1.8; }
.entry-content th { background: #E3F1FB; color: var(--ak-text); font-weight: 500; }
.entry-content pre { background: var(--ak-navy); color: #E3F1FB; padding: 20px 24px; border-radius: 4px; overflow-x: auto; font-size: 16px; line-height: 1.8; }
.entry-content code { font-size: .92em; background: #E3F1FB; padding: 2px 6px; border-radius: 3px; }
.entry-content pre code { background: none; padding: 0; }
.entry-content hr { border: 0; border-top: 1px solid var(--ak-line); margin: 2.6em 0; }
.entry-content strong { color: var(--ak-text); }
.entry-content iframe { max-width: 100%; }
.entry-content .wp-block-table { overflow-x: auto; }
.entry-content #ez-toc-container { background: #fff; border: 1px solid var(--ak-line); border-radius: 4px; padding: 22px 26px; margin-bottom: 2em; width: 100%; box-sizing: border-box; }
.entry-content #ez-toc-container a { text-decoration: none; }

/* ==========================================================
   9. お問い合わせフォーム
   ========================================================== */
.ak-contact { display: flex; gap: 64px; align-items: flex-start; }
.ak-form { flex: 1 1 0; min-width: 0; background: #fff; border: 1px solid var(--ak-line); border-radius: 4px; padding: 48px; }
.ak-form__type { margin: 0 0 14px; font-size: 17px; font-weight: 500; }
.ak-tabs { display: flex; gap: 10px; flex-wrap: wrap; }
.ak-tab { font-family: inherit; font-size: 16px; font-weight: 500; letter-spacing: .04em; border-radius: 999px; padding: 12px 22px; min-height: 44px; cursor: pointer; background: #fff; color: var(--ak-text2); border: 1px solid var(--ak-line-d); transition: background .2s, color .2s, border-color .2s; }
.ak-tab:hover { border-color: var(--ak-blue); color: var(--ak-blue); }
.ak-tab[aria-selected="true"] { background: var(--ak-blue); color: #fff; border-color: var(--ak-blue); }
.ak-form__lead { margin: 14px 0 28px; font-size: 16px; line-height: 1.9; color: var(--ak-text2); background: var(--ak-pale); border-left: 3px solid var(--ak-accent); padding: 12px 16px; }
.ak-form .wpcf7-form { display: flex; flex-direction: column; gap: 28px; margin: 0; }
.ak-form .wpcf7-form > .hidden-fields-container, .ak-form .wpcf7-form > fieldset.hidden-fields-container { display: none; }
.ak-field { display: flex; flex-direction: column; gap: 10px; }
.ak-field > label, .ak-field > .ak-label { font-size: 17px; font-weight: 500; }
.ak-field2 { display: flex; gap: 20px; }
.ak-field2 > .ak-field { flex: 1 1 0; min-width: 0; }
.ak-badge { display: inline-block; background: var(--ak-blue); color: #fff; font-size: 12px; font-weight: 400; border-radius: 3px; padding: 2px 8px; margin-left: 10px; vertical-align: 2px; }
.ak-badge--opt { background: #E3F1FB; color: var(--ak-blue); }
.ak-form .wpcf7-form-control-wrap { display: block; }
.ak-form input[type="text"], .ak-form input[type="email"], .ak-form input[type="tel"], .ak-form input[type="date"], .ak-form select, .ak-form textarea { width: 100%; border: 1px solid var(--ak-line-d); border-radius: 4px; padding: 14px 16px; font-size: 17px; font-family: inherit; background: #fff; color: var(--ak-text); min-height: 48px; line-height: 1.6; }
.ak-form textarea { resize: vertical; min-height: 180px; }
.ak-form input:focus, .ak-form select:focus, .ak-form textarea:focus { outline: 2px solid var(--ak-accent); outline-offset: 1px; border-color: var(--ak-accent); }
.ak-form ::placeholder { color: #9AA9BF; }
.ak-field__note { margin: 0; font-size: 16px; line-height: 1.8; color: var(--ak-muted); }
.ak-slots { display: flex; flex-direction: column; gap: 10px; }
.ak-slot { display: grid; grid-template-columns: 76px minmax(0, 1fr) minmax(0, 1fr); gap: 10px; align-items: center; }
.ak-slot__no { font-size: 16px; font-weight: 500; color: var(--ak-blue); }
.ak-form input[type="date"] { -webkit-appearance: none; appearance: none; }
.ak-drop { border: 1.5px dashed #8FB4D6; border-radius: 4px; background: var(--ak-pale); padding: 22px 20px; display: flex; flex-direction: column; gap: 10px; }
.ak-drop__files { display: flex; flex-direction: column; gap: 6px; }
.ak-drop__file { display: flex; align-items: center; gap: 14px; }
.ak-drop__file::before { content: ""; flex: 0 0 28px; width: 28px; height: 28px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230079C1' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12.5l-8.2 8.2a5 5 0 0 1-7-7l8.5-8.6a3.3 3.3 0 0 1 4.7 4.7l-8.5 8.5a1.7 1.7 0 0 1-2.4-2.4l7.8-7.8'/%3E%3C/svg%3E") center / contain no-repeat; }
.ak-drop__file--extra { display: none; }
.ak-drop__file--extra.is-shown { display: flex; }
.ak-drop__file .wpcf7-form-control-wrap { flex: 1 1 0; min-width: 0; }
.ak-form input[type="file"] { font-size: 16px; font-family: inherit; min-height: 44px; width: 100%; padding: 8px 0; }
.ak-addfile { align-self: flex-start; font-family: inherit; font-size: 14px; color: var(--ak-blue); background: #fff; border: 1px solid var(--ak-line-d); border-radius: 999px; padding: 8px 18px; min-height: 40px; cursor: pointer; }
.ak-addfile:hover { border-color: var(--ak-blue); }
.ak-drop__note { font-size: 14px; line-height: 1.8; color: var(--ak-muted); }
.ak-agree { font-size: 16px; min-height: 44px; display: flex; align-items: center; }
.ak-agree .wpcf7-list-item { margin: 0; }
.ak-agree label { display: flex; gap: 10px; align-items: center; cursor: pointer; }
.ak-agree input[type="checkbox"] { width: 20px; height: 20px; flex: 0 0 20px; margin: 0; accent-color: var(--ak-blue); }
.ak-agree a { text-decoration: underline; text-underline-offset: 3px; }
.ak-submit { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.ak-form input[type="submit"] { background: var(--ak-blue); color: #fff; border: none; border-radius: 999px; padding: 18px 72px; font-size: 17px; font-weight: 700; letter-spacing: .12em; font-family: inherit; cursor: pointer; min-height: 56px; transition: background .25s; -webkit-appearance: none; appearance: none; }
.ak-form input[type="submit"]:hover { background: var(--ak-blue-d); }
.ak-form input[type="submit"]:disabled { background: #9AB8CC; cursor: not-allowed; }
.ak-form .wpcf7-spinner { margin: 0; }
.ak-form .wpcf7-not-valid-tip { font-size: 14px; color: #B42318; margin-top: 6px; }
.ak-form .wpcf7 form .wpcf7-response-output { margin: 0; padding: 14px 18px; border-radius: 4px; font-size: 16px; line-height: 1.8; border-width: 1px; }
.ak-form .wpcf7 form.sent .wpcf7-response-output { border-color: var(--ak-blue); background: #E3F1FB; color: var(--ak-blue-d); }
.ak-form .wpcf7 form.invalid .wpcf7-response-output, .ak-form .wpcf7 form.unaccepted .wpcf7-response-output, .ak-form .wpcf7 form.failed .wpcf7-response-output { border-color: #B42318; background: #FEF3F2; color: #B42318; }
.ak-aside { flex: 0 0 360px; display: flex; flex-direction: column; gap: 20px; }
.ak-aside__book { background: linear-gradient(140deg, #0079C1 0%, #005C94 100%); color: #fff; border-radius: 4px; padding: 36px 32px; }
.ak-aside__en { margin: 0; font-size: 16px; letter-spacing: .24em; opacity: .85; }
.ak-aside__title { margin: 12px 0 14px; font-size: 22px; line-height: 1.6; }
.ak-aside__text { margin: 0 0 24px; font-size: 16px; line-height: 1.9; opacity: .9; }
.ak-aside__btn { display: flex; align-items: center; justify-content: center; background: #fff; color: #005C94; font-weight: 700; border-radius: 999px; padding: 14px 24px; min-height: 48px; font-size: 17px; }
.ak-aside__btn:hover { background: #E3F1FB; color: #005C94; }
.ak-aside__note { background: #fff; border: 1px solid var(--ak-line); border-radius: 4px; padding: 28px 32px; font-size: 16px; line-height: 1.9; color: var(--ak-text2); }
.ak-aside__note p { margin: 0; }
.ak-aside__note .mc { margin: 0 0 8px; font-size: 17px; color: var(--ak-text); }
[data-ak-panel][hidden] { display: none !important; }

/* 採用：職種タブ */
.ak-ptab { flex: 1 1 220px; text-align: left; font-family: inherit; cursor: pointer; border-radius: 4px 4px 0 0; padding: 18px 24px 16px; min-height: 44px; background: #fff; color: var(--ak-text2); border: 1px solid var(--ak-line); border-bottom: none; transition: background .2s, color .2s; }
.ak-ptab[aria-selected="true"] { background: var(--ak-blue); color: #fff; border-color: var(--ak-blue); }

/* ==========================================================
   10. チャットボット・追従ボタン・離脱防止ポップアップ
   ========================================================== */
@keyframes akPulse { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
@keyframes akBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes akBlink { 0%, 92%, 100% { transform: scaleY(1); } 96% { transform: scaleY(.1); } }
@keyframes akTyping { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }
.floating-cta { position: fixed; right: 0; top: 50%; transform: translateY(-50%); z-index: 150; writing-mode: vertical-rl; display: inline-flex; align-items: center; gap: 10px; padding: 24px 13px; background: linear-gradient(180deg, #0098D8 0%, #006A99 100%); color: #fff; font-weight: 700; font-size: 16px; letter-spacing: .18em; border-radius: 4px 0 0 4px; box-shadow: -4px 6px 22px rgba(0,106,153,.3); transition: transform .25s, box-shadow .25s; }
.floating-cta:hover { color: #fff; transform: translate(-4px, -50%); box-shadow: -6px 8px 30px rgba(0,106,153,.45); }
.floating-cta-dot { width: 8px; height: 8px; border-radius: 50%; background: #fff; box-shadow: 0 0 8px rgba(255,255,255,.9); animation: akPulse 2s infinite; }
.chatbot { position: fixed; left: 18px; bottom: 18px; z-index: 240; font-family: var(--ak-sans); }
.chatbot-toggle { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; border: 0; cursor: pointer; background: none; padding: 0; font-family: inherit; }
.chatbot-char { display: block; width: 72px; height: 72px; filter: drop-shadow(0 10px 22px rgba(0,106,153,.35)); animation: akBob 3.2s ease-in-out infinite; transition: transform .25s; }
.chatbot-char svg { width: 100%; height: 100%; }
.chatbot-toggle:hover .chatbot-char { transform: scale(1.08) rotate(-4deg); }
.char-eye { animation: akBlink 4.2s infinite; transform-box: fill-box; transform-origin: center; }
.char-antenna { animation: akPulse 2s infinite; }
.chatbot-speech { position: relative; margin-left: 44px; background: #fff; border: 1px solid var(--ak-line); border-radius: 12px; padding: 6px 12px; font-size: 14px; font-weight: 700; color: var(--ak-text); box-shadow: 0 6px 16px rgba(11,37,69,.12); animation: akBob 3.2s ease-in-out infinite; }
.chatbot-speech::after { content: ""; position: absolute; left: 14px; bottom: -5px; width: 10px; height: 10px; background: #fff; border-right: 1px solid var(--ak-line); border-bottom: 1px solid var(--ak-line); transform: rotate(45deg); }
.chatbot.is-open .chatbot-toggle { display: none; }
.chatbot-panel[hidden] { display: none; }
.chatbot-panel { position: absolute; left: 0; bottom: 0; width: min(360px, calc(100vw - 36px)); height: min(520px, calc(100vh - 120px)); display: flex; flex-direction: column; background: #fff; border: 1px solid var(--ak-line); border-radius: 12px; overflow: hidden; box-shadow: 0 24px 60px rgba(11,37,69,.25); opacity: 0; transform: translateY(14px) scale(.97); transition: opacity .25s, transform .25s; }
.chatbot-panel.is-open { opacity: 1; transform: none; }
.chatbot-head { position: relative; display: flex; align-items: center; gap: 12px; padding: 14px 48px 12px 16px; background: linear-gradient(120deg, #0079C1 0%, #005C94 100%); color: #fff; }
.chatbot-head-avatar { width: 40px; height: 40px; flex-shrink: 0; background: #fff; border-radius: 50%; display: grid; place-items: center; padding: 4px; }
.chatbot-head-avatar svg { width: 100%; height: 100%; }
.chatbot-head-title { display: block; font-weight: 700; font-size: 17px; letter-spacing: .04em; }
.chatbot-head-sub { display: block; font-size: 13px; opacity: .85; }
.chatbot-close { position: absolute; top: 6px; right: 8px; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; color: #fff; font-size: 26px; line-height: 1; opacity: .85; }
.chatbot-close:hover { opacity: 1; }
.chatbot-body { flex: 1; overflow-y: auto; padding: 18px 16px; background: var(--ak-pale); display: flex; flex-direction: column; gap: 10px; }
.chatbot-row { display: flex; gap: 8px; align-items: flex-end; }
.chatbot-avatar { width: 28px; height: 28px; flex-shrink: 0; display: block; }
.chatbot-avatar svg { width: 100%; height: 100%; }
.chatbot-row .chatbot-msg--bot { max-width: 100%; }
.chatbot-msg { max-width: 85%; padding: 11px 14px; border-radius: 12px; font-size: 16px; line-height: 1.75; white-space: pre-line; }
.chatbot-msg--bot { align-self: flex-start; background: #fff; border: 1px solid var(--ak-line); border-bottom-left-radius: 4px; }
.chatbot-msg--user { align-self: flex-end; background: var(--ak-blue); color: #fff; border-bottom-right-radius: 4px; }
.chatbot-typing { display: inline-flex; gap: 5px; align-items: center; }
.chatbot-typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--ak-accent); animation: akTyping 1.2s ease-in-out infinite; }
.chatbot-typing i:nth-child(2) { animation-delay: .2s; }
.chatbot-typing i:nth-child(3) { animation-delay: .4s; }
.chatbot-options { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
.chatbot-option { display: inline-block; padding: 9px 16px; border: 1px solid rgba(0,106,153,.4); border-radius: 999px; background: #fff; cursor: pointer; color: var(--ak-blue); font-size: 14px; font-weight: 700; font-family: inherit; text-align: center; transition: background .2s, color .2s; }
.chatbot-option:hover { background: var(--ak-blue); border-color: var(--ak-blue); color: #fff; }
.exit-popup { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 20px; }
.exit-popup[hidden] { display: none; }
.exit-popup-overlay { position: absolute; inset: 0; background: rgba(11,27,51,.6); opacity: 0; transition: opacity .3s; }
.exit-popup-card { position: relative; z-index: 1; width: min(480px, 100%); background: #fff; border-radius: 6px; padding: 48px 36px 36px; text-align: center; box-shadow: 0 30px 80px rgba(11,27,51,.3); opacity: 0; transform: translateY(18px); transition: opacity .35s, transform .35s; }
.exit-popup.is-open .exit-popup-overlay { opacity: 1; }
.exit-popup.is-open .exit-popup-card { opacity: 1; transform: none; }
.exit-popup-close { position: absolute; top: 6px; right: 8px; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; font-size: 28px; line-height: 1; color: var(--ak-muted); }
.exit-popup-eyebrow { margin: 0 0 12px; font-size: 16px; letter-spacing: .26em; color: var(--ak-blue); }
.exit-popup-card h2 { margin: 0 0 14px; font-size: 23px; font-weight: 500; line-height: 1.6; letter-spacing: .06em; }
.exit-popup-text { margin: 0 0 26px; font-size: 16px; line-height: 1.9; color: var(--ak-muted); }
.exit-popup-later { display: block; margin: 12px auto 0; min-height: 44px; background: none; border: 0; cursor: pointer; font-family: inherit; font-size: 14px; color: var(--ak-muted); text-decoration: underline; text-underline-offset: 3px; }

/* ==========================================================
   11. AIホームページ制作ページ（/web/）
   ========================================================== */
.lp { font-size: 17px; line-height: 2; color: var(--ak-text2); }
.lp .container { max-width: 1080px; margin: 0 auto; padding: 0 64px; }
.lp .reveal { opacity: 1; }
.lp .grad { color: var(--ak-accent); }
.lp .btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 999px; min-height: 52px; padding: 14px 36px; font-size: 17px; font-weight: 700; letter-spacing: .08em; transition: background .25s, color .25s; }
.lp .btn--primary { background: var(--ak-blue); color: #fff; }
.lp .btn--primary:hover { background: var(--ak-blue-d); color: #fff; }
.lp .btn--ghost { border: 1px solid var(--ak-blue); color: var(--ak-blue); background: #fff; }
.lp .btn--ghost:hover { background: var(--ak-blue); color: #fff; }
.lp-countdown { background: var(--ak-navy); color: #fff; padding: 12px 0; }
.lp-countdown[hidden] { display: none; }
.lp-countdown-inner { display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap; }
.lp-countdown-label { margin: 0; font-size: 16px; letter-spacing: .1em; }
.lp-countdown-timer { display: flex; gap: 10px; align-items: baseline; font-family: var(--ak-en); }
.lp-countdown-unit strong { font-size: 26px; font-weight: 500; }
.lp-countdown-unit small { font-family: var(--ak-sans); font-size: 13px; margin-left: 2px; }
.lp-hero { background: #fff; border-bottom: 1px solid var(--ak-line); padding: clamp(56px, 6.5vw, 96px) 0; text-align: center; }
.lp-campaign { display: inline-block; margin: 0 0 22px; font-size: 16px; font-weight: 700; color: var(--ak-blue); background: #E3F1FB; border-radius: 999px; padding: 8px 22px; }
.lp-title { margin: 0 0 26px; font-family: var(--ak-serif); font-size: clamp(26px, 3.8vw, 46px); font-weight: 500; line-height: 1.6; letter-spacing: .08em; color: var(--ak-text); }
.lp-lead { margin: 0 auto 34px; max-width: 760px; }
.lp .hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.lp .content-area { padding-bottom: clamp(64px, 7.6vw, 110px); }
.lp .section { padding: clamp(56px, 6.7vw, 96px) 0 0; }
.lp .section-head { margin-bottom: 40px; }
.lp .section-label { display: flex; margin: 0 0 6px; font-family: var(--ak-en); font-size: 17px; letter-spacing: .24em; color: var(--ak-blue); }
.lp .section-title { margin: 0; font-family: var(--ak-serif); font-size: clamp(22px, 2.8vw, 32px); font-weight: 500; letter-spacing: .08em; line-height: 1.6; color: var(--ak-text); }
.lp-worries { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.lp-worries li { background: #fff; border: 1px solid var(--ak-line); border-radius: 4px; padding: 20px 24px 20px 52px; position: relative; line-height: 1.8; }
.lp-worries li::before { content: ""; position: absolute; left: 24px; top: 28px; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--ak-accent); }
.lp-worries-answer { margin: 36px 0 0; text-align: center; font-family: var(--ak-serif); font-size: clamp(19px, 2.4vw, 26px); color: var(--ak-text); }
.lp .service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.lp .service-card { background: #fff; border: 1px solid var(--ak-line); border-radius: 4px; padding: 34px 30px 36px; }
.lp .service-num { display: block; font-family: var(--ak-en); font-style: italic; font-size: 52px; line-height: 1; color: var(--ak-accent); }
.lp .service-icon { display: none; }
.lp .service-card h3 { margin: 16px 0 14px; font-family: var(--ak-serif); font-size: 20px; font-weight: 500; line-height: 1.6; color: var(--ak-text); }
.lp .service-card p { margin: 0; font-size: 16px; line-height: 2; }
.lp .message-axes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.lp .axis-card { background: #fff; border: 1px solid var(--ak-line); border-radius: 4px; padding: 30px 32px; }
.lp .axis-card h4 { margin: 0 0 12px; font-family: var(--ak-serif); font-size: 19px; font-weight: 500; color: var(--ak-text); }
.lp .job-detail ul { list-style: none; margin: 0; padding: 0; }
.lp .job-detail li { position: relative; padding: 10px 0 10px 20px; border-bottom: 1px solid var(--ak-line); font-size: 16px; line-height: 1.8; }
.lp .job-detail li::before { content: ""; position: absolute; left: 0; top: 20px; width: 8px; height: 8px; border-radius: 50%; background: var(--ak-accent); }
.lp .compare-scroll { overflow-x: auto; }
.lp .compare-table { width: 100%; min-width: 720px; border-collapse: collapse; background: #fff; font-size: 16px; }
.lp .compare-table th, .lp .compare-table td { border: 1px solid var(--ak-line); padding: 16px 18px; text-align: center; line-height: 1.7; vertical-align: middle; }
.lp .compare-table thead th { background: #E3F1FB; color: var(--ak-text); font-weight: 500; }
.lp .compare-table tbody th { background: var(--ak-pale); font-weight: 500; color: var(--ak-text); white-space: nowrap; }
.lp .compare-table .compare-ours { background: #F0F8FE; color: var(--ak-text); font-weight: 500; box-shadow: inset 2px 0 0 var(--ak-blue), inset -2px 0 0 var(--ak-blue); }
.lp .compare-table thead .compare-ours { background: var(--ak-blue); color: #fff; }
.lp .compare-table thead .compare-ours span { font-size: 13px; font-weight: 400; }
.lp .compare-table small { color: var(--ak-muted); font-weight: 400; }
.lp .mark-best, .lp .mark-ok, .lp .mark-mid, .lp .mark-ng { display: block; font-size: 20px; line-height: 1.3; }
.lp .mark-best { color: var(--ak-blue); }
.lp .mark-ok { color: var(--ak-accent); }
.lp .mark-mid { color: #8A9BB3; }
.lp .mark-ng { color: #B42318; }
.lp .compare-note { margin: 14px 0 0; font-size: 14px; color: var(--ak-muted); }
.lp-cta-mini { margin-top: 40px; text-align: center; }
.lp-cta-note { margin: 12px 0 0; font-size: 14px; color: var(--ak-muted); }
.lp .price-slots { background: #fff; border: 1px solid var(--ak-line); border-radius: 4px; padding: 28px 32px; text-align: center; margin-bottom: 24px; }
.lp .price-slots-title { margin: 0 0 16px; font-family: var(--ak-serif); font-size: 17px; color: var(--ak-text); }
.lp .price-slots-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.lp .price-slot { border: 1px solid var(--ak-blue); border-radius: 4px; padding: 14px 10px; display: flex; flex-direction: column; gap: 4px; color: var(--ak-blue); }
.lp .price-slot span { font-size: 14px; }
.lp .price-slot.is-filled { border-color: var(--ak-line); background: var(--ak-pale); color: var(--ak-muted); }
.lp .price-slots-remaining { margin: 16px 0 0; font-size: 17px; }
.lp .price-slots-remaining strong { font-family: var(--ak-en); font-size: 34px; color: var(--ak-accent); margin: 0 4px; }
.lp .price-box { background: #fff; border: 1px solid var(--ak-blue); border-top: 3px solid var(--ak-blue); border-radius: 4px; padding: 44px 32px; text-align: center; }
.lp .price-box-badge { display: inline-block; margin: 0 0 14px; background: var(--ak-blue); color: #fff; font-size: 14px; border-radius: 999px; padding: 6px 18px; }
.lp .price-box-label { margin: 0; font-size: 17px; color: var(--ak-muted); }
.lp .price-box-value { margin: 4px 0 0; font-family: var(--ak-en); font-size: clamp(44px, 6vw, 68px); line-height: 1.2; color: var(--ak-text); }
.lp .price-box-value span { font-family: var(--ak-sans); font-size: 17px; margin-left: 6px; }
.lp .price-box-tax { margin: 0 0 18px; font-size: 16px; color: var(--ak-muted); }
.lp .price-box-note { margin: 0 0 26px; font-size: 16px; line-height: 1.9; }
.lp .recruit-flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: lpflow; }
.lp .flow-step { background: #fff; border: 1px solid var(--ak-line); border-radius: 4px; padding: 28px 24px; counter-increment: lpflow; }
.lp .flow-step::before { content: "STEP 0" counter(lpflow); display: block; font-family: var(--ak-en); font-size: 16px; letter-spacing: .2em; color: var(--ak-blue); margin-bottom: 10px; }
.lp .flow-step h3 { margin: 0 0 10px; font-family: var(--ak-serif); font-size: 19px; font-weight: 500; color: var(--ak-text); }
.lp .flow-step p { margin: 0; font-size: 16px; line-height: 1.9; }
.lp .faq-list { display: flex; flex-direction: column; gap: 12px; }
.lp .faq-item { background: #fff; border: 1px solid var(--ak-line); border-radius: 4px; }
.lp .faq-item summary { cursor: pointer; padding: 20px 56px 20px 26px; font-weight: 500; color: var(--ak-text); position: relative; list-style: none; line-height: 1.8; }
.lp .faq-item summary::-webkit-details-marker { display: none; }
.lp .faq-item summary::after { content: "+"; position: absolute; right: 24px; top: 50%; transform: translateY(-50%); font-family: var(--ak-en); font-size: 26px; color: var(--ak-blue); }
.lp .faq-item[open] summary::after { content: "−"; }
.lp .faq-item p { margin: 0; padding: 0 26px 24px; font-size: 16px; line-height: 2; }
.lp .contact-cta { background: #fff; border: 1px solid var(--ak-line); border-radius: 4px; padding: clamp(40px, 5vw, 64px) 32px; text-align: center; }
.lp .contact-cta h2 { margin: 6px 0 16px; font-family: var(--ak-serif); font-size: clamp(21px, 2.6vw, 30px); font-weight: 500; line-height: 1.7; letter-spacing: .08em; color: var(--ak-text); }
.lp .contact-cta p { margin: 0 0 24px; }
.lp .br-sp { display: none; }

/* ==========================================================
   12. デザイン案から起こしたブロック用の補助クラス
   ========================================================== */
.ak-main table.ak-ptable th { box-sizing: content-box; }

/* ==========================================================
   14. 動き（スクロールで現れる・数字が増える・見出しのタイピング・追従ヘッダー）
   ========================================================== */
.ak-hero__grid { position: absolute; inset: 0; background-image: radial-gradient(rgba(143,211,242,.22) 1px, transparent 1.2px); background-size: 28px 28px; -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 50%, #000 0%, transparent 100%); mask-image: radial-gradient(ellipse 75% 65% at 50% 50%, #000 0%, transparent 100%); animation: akGrid 24s linear infinite; }
@keyframes akGrid { from { background-position: 0 0; } to { background-position: 28px 56px; } }
.ak-hero__scan { position: absolute; left: 0; right: 0; top: 0; height: 160px; background: linear-gradient(180deg, rgba(143,211,242,0) 0%, rgba(143,211,242,.07) 70%, rgba(190,235,255,.28) 99%, rgba(143,211,242,0) 100%); pointer-events: none; animation: akScan 7s cubic-bezier(.45,0,.55,1) infinite; }
@keyframes akScan { 0% { transform: translateY(-170px); opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { transform: translateY(105vh); opacity: 0; } }
.ak-phero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.ak-phero__shade { background: linear-gradient(150deg, rgba(10,36,68,.9) 0%, rgba(7,26,51,.93) 55%, rgba(5,15,34,.96) 100%); }

/* 見出しのタイピング */
.ak-type-caret { display: inline-block; width: 2px; height: .95em; margin-left: 6px; vertical-align: -0.08em; background: var(--ak-sky); animation: akCaret 1s steps(1) infinite; }
@keyframes akCaret { 50% { opacity: 0; } }
.ak-hero.is-typing .ak-hero__lead, .ak-hero.is-typing .ak-hero__more { opacity: 0; transform: translateY(14px); }
.ak-hero__lead, .ak-hero__more { transition: opacity .9s ease, transform .9s ease; }
.ak-phero__en, .ak-phero__jp { animation: akRise 1s cubic-bezier(.2,.7,.2,1) both; }
.ak-phero__jp { animation-delay: .15s; }
@keyframes akRise { from { opacity: 0; transform: translateY(18px); letter-spacing: .3em; } to { opacity: 1; transform: none; } }

/* スクロールで現れる */
.ak-js .ak-rv { opacity: 0; transform: translateY(32px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.ak-js .ak-rv.is-in { opacity: 1; transform: none; }
.ak-js .ak-rv-img { overflow: hidden; }
.ak-js .ak-rv-img img { transform: scale(1.12); transition: transform 1.6s cubic-bezier(.2,.7,.2,1); }
.ak-js .ak-rv-img.is-in img { transform: scale(1); }
.ak-js .ak-rv-line { position: relative; }
.ak-js .ak-rv-line::after { content: ""; position: absolute; left: 0; bottom: -10px; height: 1px; width: 64px; background: linear-gradient(90deg, var(--ak-accent), rgba(0,152,216,0)); transform: scaleX(0); transform-origin: left; transition: transform 1.1s .2s cubic-bezier(.2,.7,.2,1); }
.ak-js .ak-rv-line.is-in::after { transform: scaleX(1); }

/* スクロールすると付いてくるヘッダー */
.ak-header.is-fixed { position: fixed; top: var(--wp-admin--admin-bar--height, 0px); padding-top: 14px; padding-bottom: 14px; background: rgba(6,21,43,.82); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 8px 30px rgba(5,15,34,.25); animation: akDrop .45s cubic-bezier(.2,.7,.2,1); }
.ak-header.is-fixed .ak-header__logo img { height: 28px; }
@keyframes akDrop { from { transform: translateY(-100%); } to { transform: none; } }

/* ページ上部へのスクロール進み具合 */
.ak-progress { position: fixed; left: 0; top: var(--wp-admin--admin-bar--height, 0px); height: 2px; width: 100%; z-index: 60; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, #0098D8, #8FD3F2); pointer-events: none; }

@media (prefers-reduced-motion: reduce) {
	.ak-js .ak-rv, .ak-js .ak-rv-img img { opacity: 1 !important; transform: none !important; }
	.ak-hero__scan { display: none; }
}

/* ==========================================================
   13. 画面幅ごとの調整
   ========================================================== */
@media (max-width: 1100px) {
	.pad { padding-left: 40px !important; padding-right: 40px !important; }
	.lp .container { padding: 0 40px; }
	.ak-nav { gap: 24px; }
	.grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
	.ak-contact { gap: 40px; }
	.ak-aside { flex-basis: 300px; }
	.row2 { gap: 40px !important; }
	.lp .recruit-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
	.ak-menu-btn { display: block; }
	.ak-nav { position: fixed; inset: 0; z-index: 30; background: var(--ak-navy); flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; padding: 110px 32px 40px; overflow-y: auto; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
	.ak-nav.is-open { opacity: 1; visibility: visible; }
	.ak-nav__link { display: flex; align-items: baseline; gap: 16px; padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,.16); font-size: 22px; }
	.ak-nav__link small { display: inline; font-family: var(--ak-sans); font-size: 14px; letter-spacing: .1em; color: rgba(255,255,255,.7); }
	.ak-nav__link::after { display: none; }
	.ak-nav__link--sp { display: flex; }
	.ak-nav__cta { justify-content: center; margin-top: 32px; min-height: 56px; font-size: 17px; background: #fff; color: var(--ak-blue); border-color: #fff; }
	body.ak-menu-open { overflow: hidden; }
	.ak-contact { flex-direction: column; align-items: stretch; }
	.ak-aside { flex: 1 1 auto; }
	.ak-wgrid--3, .lp .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
	.pad { padding-left: 20px !important; padding-right: 20px !important; }
	.lp .container { padding: 0 20px; }
	.grid3, .grid4 { grid-template-columns: minmax(0, 1fr) !important; }
	.row2 { flex-direction: column !important; gap: 32px !important; align-items: stretch !important; }
	.row2 > * { flex: 0 1 auto !important; width: auto; min-width: 0; }
	.ak-main [data-ak-photo] { height: 260px !important; }
	.ak-main [data-ak-portrait] img { height: 420px !important; }
	.ak-main table.ak-ptable th { width: 84px !important; padding: 18px 12px 18px 0 !important; }
	.ak-main table.ak-ptable td { padding: 18px 0 !important; }
	.ak-main .ak-nums > div { border-right: 0 !important; border-bottom: 1px solid var(--ak-line); padding: 32px 16px !important; }
	.ak-main .ak-nums > div:last-child { border-bottom: 0; }
	.ak-main .ak-storyimg { position: relative !important; width: 100% !important; height: 300px !important; display: block; }
	.ak-main .ak-storyshade { display: none; }
	.ak-main .ak-storybody { padding-top: 48px !important; }
	.ak-main article.ak-pos { padding: 32px 22px 36px !important; }

	.ak-header { padding-top: 20px; padding-bottom: 20px; }
	.ak-header__logo img { height: 28px; }
	.ak-hero { min-height: 640px; }
	.ak-hero__in { padding: 130px 20px 90px; gap: 20px; }
	.ak-hero__title { letter-spacing: .1em; }
	.ak-hero__lead { font-size: 16px; letter-spacing: .04em; text-align: left; }
	.ak-hero__lead br { display: none; }
	.ak-hero__scroll, .ak-hero__ring--1 { display: none; }
	.ak-phero { height: 280px; }
	.ak-phero__inner { bottom: 44px; }
	.ak-phero__jp { font-size: 17px; margin-top: 12px; }
	.ak-sec, .ak-case, .ak-article { padding-left: 20px; padding-right: 20px; }
	.ak-wgrid, .ak-wgrid--3 { grid-template-columns: minmax(0, 1fr); gap: 24px; }
	.ak-wcard__img { height: 210px; }
	.ak-wcard__body { padding: 24px 22px 28px; }
	.ak-case__facts { grid-template-columns: minmax(0, 1fr); }
	.ak-case__facts > div + div { border-top: 1px solid var(--ak-line); }
	.ak-case__step { flex-direction: column; gap: 20px; padding: 40px 0; }
	.ak-case__side { flex: 0 1 auto; display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
	.ak-case__num { font-size: 44px; }
	.ak-case__en, .ak-case__jp { margin: 0; }
	.ak-feature { flex-direction: column; gap: 0; }
	.ak-feature__img { flex: 0 0 auto; min-height: 200px; }
	.ak-feature__body { padding: 26px 22px 30px; }
	.ak-row { padding: 22px 0; }
	.ak-row .ak-date { width: auto; }
	.ak-row__title { flex-basis: 100%; }
	.ak-chips { margin-bottom: 36px; gap: 8px; }
	.ak-chip { padding: 8px 16px; font-size: 14px; }
	.ak-form { padding: 28px 20px 32px; }
	.ak-field2 { flex-direction: column; gap: 28px; }
	.ak-slot { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
	.ak-form .ak-slot input[type="date"], .ak-form .ak-slot select { padding-left: 10px; padding-right: 8px; font-size: 17px; }
	.ak-slot__no { grid-column: 1 / -1; }
	.ak-tab { padding: 10px 16px; font-size: 14px; }
	.ak-form input[type="submit"] { width: 100%; padding-left: 20px; padding-right: 20px; }
	.ak-aside__book, .ak-aside__note { padding: 28px 22px; }
	.ak-cta__btns { width: 100%; flex-direction: column; }
	.ak-cta__lead { text-align: left; }
	.ak-pill { width: 100%; padding-left: 20px; padding-right: 20px; }
	.ak-footer { padding-top: 56px; }
	.ak-footer__nav { gap: 14px 28px; }
	.ak-footer__bottom { margin-top: 40px; flex-direction: column; align-items: flex-start; }
	.floating-cta { top: auto; bottom: 14px; right: 12px; transform: none; writing-mode: horizontal-tb; padding: 0 20px; min-height: 48px; font-size: 14px; letter-spacing: .1em; border-radius: 999px; background: linear-gradient(120deg, #0098D8 0%, #006A99 100%); box-shadow: 0 8px 22px rgba(0,106,153,.35); }
	.floating-cta:hover { transform: none; }
	.ak-footer { padding-bottom: 96px; }
	.chatbot { left: 12px; bottom: 12px; }
	.chatbot-char { width: 60px; height: 60px; }
	.chatbot-panel { height: min(480px, calc(100vh - 100px)); }
	.entry-content { font-size: 17px; }
	.lp-worries, .lp .service-grid, .lp .message-axes, .lp .recruit-flow { grid-template-columns: minmax(0, 1fr); }
	.lp .hero-actions { flex-direction: column; }
	.lp .btn { width: 100%; }
	.lp-lead { text-align: left; }
	.lp-lead br { display: none; }
	.lp .br-sp { display: inline; }
}
/* ---------- トップのHUD（AIらしい計器風の飾り） ---------- */
.ak-mono { font-family: 'JetBrains Mono', ui-monospace, monospace; }
.ak-hud { position: absolute; inset: 104px 28px 28px; pointer-events: none; z-index: 1; }
.ak-hud__c { position: absolute; width: 18px; height: 18px; border-color: rgba(143,211,242,.55); border-style: solid; }
.ak-hud__c--tl { left: 0; top: 0; border-width: 1px 0 0 1px; }
.ak-hud__c--tr { right: 0; top: 0; border-width: 1px 1px 0 0; }
.ak-hud__c--bl { left: 0; bottom: 0; border-width: 0 0 1px 1px; }
.ak-hud__c--br { right: 0; bottom: 0; border-width: 0 1px 1px 0; }
.ak-hud__t { position: absolute; bottom: 4px; font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 12px; letter-spacing: .18em; color: rgba(190,230,250,.62); }
.ak-hud__t--l { left: 120px; }
.ak-hud__t--r { right: 30px; }
.ak-hud__blink { font-weight: 400; color: #39D0FF; animation: akPulse 1.6s infinite; margin: 0 2px; }
.ak-hud__bars { position: absolute; right: 2px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 4px; }
.ak-hud__bars i { display: block; width: 14px; height: 2px; background: rgba(143,211,242,.5); animation: akBar 2.4s ease-in-out infinite; }
.ak-hud__bars i:nth-child(2n) { animation-delay: .2s; } .ak-hud__bars i:nth-child(3n) { animation-delay: .5s; } .ak-hud__bars i:nth-child(4n) { animation-delay: .8s; }
@keyframes akBar { 0%, 100% { width: 6px; opacity: .35; } 50% { width: 16px; opacity: 1; } }
.ak-hero__code { margin: 0 0 8px; font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: clamp(20px, 1.9vw, 26px); letter-spacing: .08em; color: #8FD3F2; display: flex; align-items: center; justify-content: center; gap: .35em; min-height: 1.6em; }
.ak-hero__code-k { color: #fff; font-weight: 500; }
.ak-hero__code-x { color: rgba(143,211,242,.7); }
.ak-hero__code-b { color: rgba(143,211,242,.55); }
.ak-scramble { display: inline-block; text-align: left; color: #E8F7FF; white-space: nowrap; }
.ak-scramble .g { color: #39D0FF; opacity: .75; }
@media (max-width: 760px) {
	.ak-hud { inset: 84px 12px 14px; }
	.ak-hud__t, .ak-hud__bars { display: none; }
	.ak-hero__code { font-size: 18px; gap: .3em; }
	.ak-scramble { min-width: 0; }
}

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