/* ==========================================================================
   EZOLUE 2026
   デザイントークン → 共通部品 → ヘッダー → トップページ → 下層ページ → チャット
   ========================================================================== */

:root {
	--white: #ffffff;
	--navy: #0b1720;
	/* ベージュは仮の値。正式な色が決まったらここを差し替える */
	--beige: #f6f0e5;
	--beige-deep: #e6d9c3;
	--beige-line: #e0d2b8;
	--beige-line-2: #d9cbb0;
	--beige-line-3: #d2c3a6;
	--beige-num: #dccdb1;
	--beige-grid: #f3ecdf;
	--grid-near: #ebe0cb;          /* 格子柄：手前の層 */
	--grid-mid: #f3ecdf;           /* 格子柄：中間の層 */
	--grid-far: #f8f4ec;           /* 格子柄：奥の層 */
	--beige-ink: #8f8268;
	--accent: #cf4318;
	--accent-text: #b83a12;        /* 白地に載せる朱の文字 */
	--accent-text-beige: #a63410;  /* ベージュ地に載せる朱の文字 */
	--ink-2: #2b3a44;
	--ink-3: #3b4650;
	--ink-4: #4a5560;
	--on-navy: #d5dde3;
	--on-navy-2: #b9c4cc;
	--field: #5d6770;
	--error: #b3261e;
	--font-ja: 'Zen Kaku Gothic New', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', Meiryo, sans-serif;
	--font-en: 'Space Grotesk', sans-serif;
	--font-num: 'Space Grotesk', 'Zen Kaku Gothic New', sans-serif;
	--wrap: 1296px; /* 本文幅1240px＋左右余白28px×2 */
	--gutter: 28px;
	--ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--navy); font-family: var(--font-ja); line-height: 1.8; }
a { color: inherit; }
img { max-width: 100%; height: auto; }
button, input, textarea, select { font-family: inherit; }
button { cursor: pointer; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
h1, h2, h3, h4, p, ul, ol, dl, figure { margin: 0; }

.ez-root { overflow-x: clip; }
.ez-wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.ez-narrow { max-width: 960px; }
.ez-skip { position: absolute; left: -9999px; top: 0; z-index: 100; padding: 12px 20px; background: var(--navy); color: var(--white); }
.ez-skip:focus { left: 8px; top: 8px; }

/* --- アニメーション ---------------------------------------------------- */

@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes swap { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes drop { from { opacity: 0; transform: translateY(-24px); } to { opacity: 1; transform: none; } }
@keyframes gt-blur { 0% { filter: blur(0); } 25% { filter: blur(2.5px); } 50% { filter: blur(.5px); } 75% { filter: blur(4px); } }
@keyframes gt1 { 0% { transform: translate(-5px, 0); clip-path: inset(8% 0 62% 0); } 25% { transform: translate(4px, 0); clip-path: inset(56% 0 14% 0); } 50% { transform: translate(-3px, 0); clip-path: inset(30% 0 38% 0); } 75% { transform: translate(6px, 0); clip-path: inset(72% 0 4% 0); } }
@keyframes gt2 { 0% { transform: translate(5px, 0); clip-path: inset(60% 0 10% 0); } 25% { transform: translate(-4px, 0); clip-path: inset(12% 0 58% 0); } 50% { transform: translate(3px, 0); clip-path: inset(78% 0 2% 0); } 75% { transform: translate(-6px, 0); clip-path: inset(38% 0 30% 0); } }
@keyframes gl-btn { 0% { transform: translate(-3px, 0); filter: blur(2px); } 35% { transform: translate(3px, -1px); filter: blur(.8px); } 70% { transform: translate(-1px, -2px); filter: none; } 100% { transform: translateY(-2px); } }

.in { animation: rise .9s var(--ease) both; }
.in2 { animation-delay: .12s; }
.in3 { animation-delay: .24s; }
.in4 { animation-delay: .4s; }
.swap { animation: swap .35s ease both; }
.drop { animation: drop .8s var(--ease) both; }

/* グリッチする文字（ロゴと見出し） */
.gt { position: relative; display: inline-block; }
/* 2つ目の content は、飾りの複製を読み上げソフトに読ませないための指定（未対応のブラウザは1つ目を使う） */
.gt::before, .gt::after { content: attr(data-text); content: attr(data-text) / ""; position: absolute; left: 0; top: 0; width: 100%; opacity: 0; pointer-events: none; }
.gt::before { color: var(--navy); filter: blur(1.5px); }
.gt::after { color: var(--beige-ink); filter: blur(3px); }
.gt:hover, .gtrun { animation: gt-blur var(--gd, .4s) steps(1) infinite; }
.gt:hover::before, .gtrun::before { opacity: .7; animation: gt1 var(--gd, .4s) steps(1) infinite; }
.gt:hover::after, .gtrun::after { opacity: .8; animation: gt2 var(--gd, .4s) steps(1) infinite reverse; }

/* 画面に入ったときの登場（.js-rv は <head> のスクリプトが付ける） */
.js-rv [data-rv] { opacity: 0; transition: opacity .8s var(--ease), transform .8s var(--ease), clip-path .9s var(--ease), filter .8s ease, border-color .25s; }
.js-rv [data-rv="up"] { transform: translateY(40px); }
.js-rv [data-rv="left"] { transform: translateX(-56px); }
.js-rv [data-rv="right"] { transform: translateX(56px); }
.js-rv [data-rv="zoom"] { transform: scale(.9); filter: blur(8px); }
.js-rv [data-rv="wipe"] { opacity: 1; clip-path: inset(0 100% 0 0); }
.js-rv [data-rv="fade"] { transition: opacity 1.2s ease; }
.js-rv [data-rv].on { opacity: 1; transform: none; filter: none; clip-path: inset(-20% -20% -20% -20%); }
.js-rv [data-rv="fade"].on { transform: unset; }

/* --- 共通部品 ---------------------------------------------------------- */

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; border: none; border-radius: 999px; font-weight: 700; font-size: 16px; line-height: 1.3; text-decoration: none; transition: transform .15s ease, filter .15s ease; }
.btn:hover { transform: translateY(-2px); filter: brightness(1.08); animation: gl-btn .28s steps(1) 1; }
.btn--accent { background: var(--accent); color: var(--white); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--ghost { background: transparent; color: var(--white); border: 1px solid var(--white); }
.btn--lg { min-height: 56px; padding: 0 34px; font-size: 17px; }

.nav a { text-decoration: none; border-bottom: 1px solid transparent; transition: border-color .15s; }
.nav a:hover, .nav a[aria-current] { border-bottom-color: currentColor; }

.ez-eyebrow { display: block; font-family: var(--font-en); font-size: 13px; font-weight: 500; letter-spacing: .22em; color: var(--accent-text); }
.ez-eyebrow--lg { font-size: 14px; }
.ez-eyebrow--onbeige { color: var(--accent-text-beige); }
.ez-eyebrow--onnavy { color: var(--beige-deep); }

.ez-more { display: inline-block; padding: 10px 0; font-weight: 700; color: inherit; text-decoration: underline; text-underline-offset: 4px; }
.ez-more:hover { color: var(--accent-text); }
.ez-num { font-family: var(--font-num); font-weight: 700; white-space: nowrap; }

.ez-chip { display: inline-block; align-self: flex-start; padding: 2px 14px; border: 1px solid var(--navy); border-radius: 999px; font-family: var(--font-num); font-size: 13px; line-height: 1.7; background: var(--white); color: var(--navy); text-decoration: none; }
.ez-chip--sm { padding: 0 10px; font-size: 12px; }

.ez-chips { display: flex; flex-wrap: wrap; gap: 12px; }
.ez-chip-btn { display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px; border-radius: 999px; font-size: 16px; font-weight: 500; border: 1px solid var(--beige-ink); background: var(--white); color: var(--navy); text-decoration: none; transition: background .2s, color .2s; }
.ez-chip-btn[aria-pressed="true"], .ez-chip-btn[aria-current] { background: var(--navy); color: var(--white); border-color: var(--navy); }
.ez-chip-btn--sm { min-height: 44px; padding: 0 18px; font-size: 15px; }

.ez-tags { padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.ez-tags li { padding: 4px 14px; border: 1px solid var(--navy); border-radius: 999px; font-size: 14px; font-weight: 500; background: var(--white); }

/* --- ヘッダー ---------------------------------------------------------- */

.ez-header { border-bottom: 1px solid var(--beige-deep); background: var(--white); }
.ez-header__inner { padding-top: 18px; padding-bottom: 18px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 32px; }
.ez-logo { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.ez-logo__mark { display: block; line-height: 0; }
/* ロゴ画像は上下左右に余白を含むので、その分だけ大きめに置いて左へ寄せる */
.ez-logo__mark img { display: block; width: auto; height: 48px; margin: -7px 0 -7px -8px; }
.ez-logo__name { font-size: 13px; color: var(--ink-4); }
.ez-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; font-size: 15px; font-weight: 500; }
.ez-nav a { padding: 10px 0; }
.ez-nav .ez-nav__cta { min-height: 0; padding: 10px 22px; font-size: 15px; border-bottom: none; }
.ez-navtoggle { display: none; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px; background: var(--white); border: 1px solid var(--navy); border-radius: 999px; font-size: 14px; font-weight: 700; }
.ez-navtoggle__bars { position: relative; width: 18px; height: 2px; background: currentColor; }
.ez-navtoggle__bars::before, .ez-navtoggle__bars::after { content: ''; position: absolute; left: 0; width: 18px; height: 2px; background: currentColor; transition: transform .2s; }
.ez-navtoggle__bars::before { top: -6px; }
.ez-navtoggle__bars::after { top: 6px; }
.ez-navtoggle[aria-expanded="true"] .ez-navtoggle__bars { background: transparent; }
.ez-navtoggle[aria-expanded="true"] .ez-navtoggle__bars::before { transform: translateY(6px) rotate(45deg); }
.ez-navtoggle[aria-expanded="true"] .ez-navtoggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 860px) {
	.js .ez-navtoggle { display: inline-flex; }
	.js .ez-nav { display: none; flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 0; padding-top: 6px; font-size: 16px; }
	.js .ez-nav.is-open { display: flex; }
	.js .ez-nav a { padding: 14px 0; border-bottom: 1px solid var(--beige-line); }
	.js .ez-nav .ez-nav__cta { margin-top: 16px; padding: 14px 22px; border-bottom: none; }
	.ez-logo__name { display: none; }
	/* 幅320pxでもロゴとメニューボタンが1行に収まる大きさにする */
	.ez-logo__mark img { height: clamp(34px, 10vw, 42px); margin: -6px 0 -6px -6px; }
	.ez-header__inner { column-gap: 12px; }
}

/* --- ヒーロー（トップ） ------------------------------------------------- */

/*
 * 背景の格子柄は3層。手前は大きく濃く、奥は細かく淡くして遠くに見せる。
 * スクロールすると奥の層ほどゆっくり動く（ゲームの多重スクロールと同じ仕組み。動かしているのは site.js、速さは data-plx-bg）。
 */
.ez-hero, .ez-pagehero {
	background-image:
		linear-gradient(var(--grid-near) 1px, transparent 1px), linear-gradient(90deg, var(--grid-near) 1px, transparent 1px),
		linear-gradient(var(--grid-mid) 1px, transparent 1px), linear-gradient(90deg, var(--grid-mid) 1px, transparent 1px),
		linear-gradient(var(--grid-far) 1px, transparent 1px), linear-gradient(90deg, var(--grid-far) 1px, transparent 1px);
	background-size: 192px 192px, 192px 192px, 48px 48px, 48px 48px, 16px 16px, 16px 16px;
}
.ez-hero__inner { padding-top: 56px; padding-bottom: 72px; display: flex; flex-wrap: wrap; align-items: center; gap: 40px 56px; }
.ez-hero__copy { position: relative; z-index: 1; flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.ez-hero__title { font-weight: 900; font-size: clamp(3.9rem, 5.2vw, 4.7rem); line-height: 1.18; letter-spacing: .02em; text-wrap: balance; }
.ez-hero__lead { max-width: 34em; font-size: clamp(1rem, 1.3vw, 1.2rem); color: var(--ink-3); }
.ez-hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.ez-hero__tel { font-family: var(--font-en); font-size: 22px; font-weight: 500; letter-spacing: .04em; text-decoration: none; padding: 10px 0; }
.ez-hero__globe { flex: 0 1 560px; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 8px; }

.ez-globe { position: relative; width: 100%; height: 560px; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.ez-globe canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
/* グリッチの砂嵐と走査線は、球体（中心 50% 53%、半径 --gr は home.js が設定）の形に切り抜く。四角い枠を見せないため */
.ez-globe .grain, .ez-globe .slices { position: absolute; inset: 0; pointer-events: none; clip-path: circle(var(--gr, 39%) at 50% 53%); }
.ez-globe .grain { mix-blend-mode: hard-light; }
.ez-globe .noise { display: block; width: 100%; height: 100%; opacity: 0; }
.ez-globe .slice { position: absolute; left: 0; right: 0; pointer-events: none; opacity: 0; }
.ez-globe .slice--1 { top: 30%; height: 10px; background: repeating-linear-gradient(90deg, #0b1720 0 3px, transparent 3px 5px, #0b1720 5px 6px, transparent 6px 11px); }
.ez-globe .slice--2 { left: 10%; top: 55%; height: 4px; background: repeating-linear-gradient(90deg, #8f8268 0 9px, transparent 9px 13px); }
.ez-globe .slice--3 { right: 20%; top: 72%; height: 18px; background: repeating-linear-gradient(90deg, #0b1720 0 1px, transparent 1px 4px, #c9bfae 4px 8px, transparent 8px 10px); filter: blur(1px); }
.ez-globe .slice--4 { top: 44%; height: 2px; background: #0b1720; }
/* 見出しと地球儀が縦に並ぶ幅では、見出しを横幅いっぱいまで大きくする（2行に収める） */
@media (max-width: 1191px) {
	.ez-hero__title { font-size: clamp(2rem, 10vw, 5.25rem); }
}
@media (max-width: 700px) {
	.ez-globe { height: min(560px, 92vw); }
	.ez-hero__inner { padding-top: 40px; padding-bottom: 48px; }
}

/* お困りごとナビ */
.ez-navi-wrap { padding-bottom: 96px; }
.ez-navi { border: 1px solid var(--beige-line); background: var(--beige); padding: clamp(24px, 4vw, 44px); display: flex; flex-direction: column; gap: 28px; }
.ez-navi__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 20px; }
.ez-navi__title { font-size: clamp(1.3rem, 2.4vw, 1.9rem); font-weight: 700; }
.ez-navi__result { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 48px; padding-top: 28px; border-top: 1px solid var(--beige-line-2); }
.ez-navi__text { flex: 999 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.ez-navi__kicker { font-size: 14px; color: var(--ink-4); }
.ez-navi__svc { font-size: clamp(1.5rem, 3vw, 2.4rem); line-height: 1.35; font-weight: 900; }
.ez-navi__text p { max-width: 38em; color: var(--ink-3); }
.ez-navi__action { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.ez-navi__price { font-family: var(--font-num); font-size: 26px; font-weight: 700; color: var(--accent-text-beige); }

/* 3つの事実 */
.ez-facts { background: var(--navy); color: var(--white); }
.ez-facts__inner { padding-top: 36px; padding-bottom: 36px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 24px 48px; }
.ez-fact { display: flex; align-items: baseline; gap: 16px; color: var(--on-navy); }
.ez-fact__num { font-family: var(--font-en); font-size: 44px; font-weight: 700; line-height: 1; color: var(--beige-deep); }
.ez-fact__num--ja { font-family: inherit; font-size: 30px; font-weight: 900; line-height: 1.2; white-space: nowrap; }

/* --- セクション共通 ---------------------------------------------------- */

.ez-section { position: relative; overflow: clip; background: var(--white); }
.ez-section--beige { background: var(--beige); }
/* ベージュのセクションが続くときは、境目に線を入れる */
.ez-section--beige + .ez-section--beige { border-top: 1px solid var(--beige-line-2); }
.ez-section__inner { position: relative; padding-top: 104px; padding-bottom: 104px; }
.ez-section--tight .ez-section__inner { padding-top: 88px; padding-bottom: 88px; }
.ez-section--page .ez-section__inner { padding-top: 72px; padding-bottom: 104px; }
@media (max-width: 700px) {
	.ez-section__inner, .ez-section--tight .ez-section__inner { padding-top: 72px; padding-bottom: 72px; }
	.ez-section--page .ez-section__inner { padding-top: 48px; padding-bottom: 72px; }
	.ez-navi-wrap { padding-bottom: 64px; }
}

/* 背景を横に流れる大きな輪郭英字 */
.ez-bigword { position: absolute; left: 0; top: 36px; white-space: nowrap; font-family: var(--font-en); font-weight: 700; font-size: clamp(6rem, 17vw, 16rem); line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--beige-deep); pointer-events: none; user-select: none; -webkit-user-select: none; }
.ez-bigword--right { left: auto; right: 0; }
.ez-bigword--onbeige { -webkit-text-stroke-color: var(--beige-num); }
.ez-bigword--navy { -webkit-text-stroke-color: #22394a; }

.ez-sechead { display: flex; flex-direction: column; gap: 10px; margin-bottom: 48px; }
.ez-sechead__title { font-size: clamp(1.9rem, 4vw, 3.2rem); font-weight: 900; line-height: 1.3; text-wrap: balance; }
.ez-sechead p { max-width: 40em; color: var(--ink-3); }
.ez-sechead--row { flex-direction: row; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px 32px; }
.ez-sechead--row > div { display: flex; flex-direction: column; gap: 10px; }

/* --- サービス（トップ） ------------------------------------------------- */

.ez-svc { display: flex; flex-wrap: wrap; gap: 32px 56px; }
.ez-svc__list { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; background: var(--white); }
.ez-svc__list button { display: flex; align-items: center; gap: 18px; min-height: 60px; padding: 0 20px; text-align: left; font-size: 17px; font-weight: 700; border: none; border-bottom: 1px solid var(--beige-line-2); background: var(--white); color: var(--navy); transition: background .2s, color .2s; }
.ez-svc__list button[aria-pressed="true"] { background: var(--navy); color: var(--white); }
.ez-svc__no { font-family: var(--font-en); font-size: 13px; font-weight: 500; width: 24px; }
.ez-svc__name { flex: 1 1 auto; }
.ez-svc__detail { flex: 999 1 480px; min-width: 0; display: flex; }
.ez-svc__panel { flex: 1 1 auto; min-width: 0; background: var(--beige); border: 1px solid var(--beige-line); padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; gap: 22px; min-height: 420px; }
.ez-svc__top { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.ez-svc__top .ez-eyebrow { color: var(--accent-text-beige); }
.ez-svc__bigno { display: inline-block; font-family: var(--font-en); font-size: 72px; font-weight: 700; line-height: .8; color: var(--beige-num); }
.ez-svc__title { position: relative; font-size: clamp(1.6rem, 3vw, 2.5rem); font-weight: 900; line-height: 1.35; }
.ez-svc__desc { font-size: 17px; color: var(--ink-2); max-width: 34em; }
.ez-svc__foot { margin-top: auto; padding-top: 16px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.ez-svc__price { font-family: var(--font-num); font-size: 28px; font-weight: 700; }
.ez-svc__noprice { color: var(--ink-3); }
.ez-svc__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; }

/* --- 料金診断 ----------------------------------------------------------- */

.ez-plan { display: flex; flex-wrap: wrap; gap: 40px 56px; }
.ez-plan__qs { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 36px; }
.ez-q { margin: 0; padding: 0; border: none; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.ez-q legend { padding: 0; margin-bottom: 14px; font-size: 18px; font-weight: 700; }
.ez-q__no { font-family: var(--font-en); color: var(--accent-text-beige); margin-right: 12px; }
.ez-q__two { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr)); gap: 14px; }
.ez-opt { min-height: 56px; padding: 10px 22px; text-align: left; font-size: 16px; font-weight: 500; border: 1px solid var(--beige-ink); background: var(--white); color: var(--navy); transition: background .2s, color .2s; }
.ez-opt[aria-pressed="true"] { background: var(--navy); color: var(--white); border-color: var(--navy); }
.ez-plan__result { flex: 1 1 420px; min-width: 0; align-self: flex-start; }
.ez-plan__panel { background: var(--white); border: 1px solid var(--navy); padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; gap: 20px; }
.ez-plan__kicker { font-size: 14px; font-weight: 700; color: var(--accent-text); }
.ez-plan__name { font-size: clamp(1.8rem, 3.4vw, 2.7rem); font-weight: 900; line-height: 1.3; }
.ez-plan__desc { color: var(--ink-2); }
.ez-plan__rows { display: flex; flex-direction: column; border-top: 1px solid var(--navy); }
.ez-plan__row { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--beige-line-2); }
.ez-plan__total { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; font-weight: 700; }
.ez-plan__total .ez-num { line-height: 1; }
.ez-plan__totalnum { font-size: clamp(3rem, 7vw, 5rem); }
.ez-plan__unit { font-size: 22px; margin-left: 6px; }
.ez-plan__note { font-size: 14px; color: var(--ink-4); }

.ez-plancards { margin-top: 64px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 20px; }
.ez-plancard { padding: 28px; border: 2px solid var(--beige-line); background: var(--white); display: flex; flex-direction: column; gap: 10px; }
.ez-plancard.is-on { border-color: var(--accent); }
.ez-plancard__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 28px; }
.ez-plancard__name { font-weight: 700; font-size: 18px; }
.ez-plancard__badge { display: none; padding: 2px 12px; background: var(--accent); color: var(--white); font-size: 13px; font-weight: 700; border-radius: 999px; }
.ez-plancard.is-on .ez-plancard__badge { display: inline-block; }
.ez-plancard__price { font-size: 34px; line-height: 1.2; }
.ez-plancard__price span { font-size: 16px; margin-left: 4px; }
.ez-plancard p { font-size: 15px; color: var(--ink-3); }

/* --- 制作事例 ----------------------------------------------------------- */

/* トップの制作事例：正方形の画像が横に流れる帯。JSが動かないとき・動きを減らす設定のときは、横スクロールできる並びになる */
#works .ez-section__inner { padding-bottom: 0; }
/* 帯は3段。段ごとに流れる向きが変わる（data-dir="right" の段は右へ） */
.ez-reels { position: relative; z-index: 1; padding-bottom: clamp(56px, 8vw, 88px); }
.ez-reel { --reel-s: clamp(140px, 16vw, 230px); position: relative; margin-bottom: 16px; overflow-x: auto; }
.ez-reel__track { display: flex; width: max-content; margin: 0; padding: 0; list-style: none; }
.ez-reel__track li { flex: none; padding-right: 16px; }
.ez-reel.is-js { scrollbar-width: none; cursor: grab; user-select: none; -webkit-user-select: none; touch-action: pan-y; -webkit-touch-callout: none; }
.ez-reel.is-js .ez-reel__item { cursor: inherit; }
.ez-reel.is-drag { cursor: grabbing; }
.ez-reel.is-drag .ez-reel__cap { opacity: 0; }
.ez-reel.is-js::-webkit-scrollbar { display: none; }
.ez-reel.is-run { overflow: hidden; }
.ez-reel.is-run .ez-reel__track { animation: ez-reel var(--reel-t, 60s) linear infinite; will-change: transform; }
.ez-reel.is-run:hover .ez-reel__track { animation-play-state: paused; }
.ez-reel[data-dir="right"].is-run .ez-reel__track { animation-direction: reverse; }
@keyframes ez-reel { to { transform: translate3d(calc(-100% / var(--reel-n, 2)), 0, 0); } }
.ez-reel__item { position: relative; display: block; width: var(--reel-s); height: var(--reel-s); overflow: hidden; background: var(--beige-deep); border: 1px solid var(--beige-line); color: var(--white); text-decoration: none; }
.ez-reel__item img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .5s; }
.ez-reel__cap { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 8px; padding: 14px; background: rgba(11, 23, 32, .86); opacity: 0; transition: opacity .25s; }
.ez-reel__cat { padding: 2px 12px; border: 1px solid currentColor; border-radius: 999px; font-size: 12px; font-weight: 500; }
.ez-reel__title { font-size: clamp(12px, 1.2vw, 15px); font-weight: 700; line-height: 1.5; overflow-wrap: anywhere; }
.ez-reel__more { font-size: 13px; font-weight: 700; color: var(--on-navy-2); }
.ez-reel__item:hover .ez-reel__cap, .ez-reel__item:focus-visible .ez-reel__cap { opacity: 1; }
.ez-reel__item:hover img, .ez-reel__item:focus-visible img { transform: scale(1.05); }
.ez-reel__item:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
/* 指で操作する端末はカーソルを合わせられないので、案件名を下に出したままにする */
@media (hover: none) {
	.ez-reel__cap { inset: auto 0 0 0; padding: 10px 12px; gap: 0; background: rgba(11, 23, 32, .82); opacity: 1; }
	.ez-reel__cat, .ez-reel__more { display: none; }
	/* 小さいタイルで画像が隠れすぎないよう、案件名は2行まで */
	.ez-reel__title { font-size: 12px; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
}

/* 制作事例の一覧：正方形のタイルを並べる。案件名は下側に出したままにし、カーソルを合わせると全体が濃くなる */
.ez-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.ez-tile a { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; background: var(--beige-deep); border: 1px solid var(--beige-line); color: var(--white); text-decoration: none; }
.ez-tile img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .5s; }
.ez-tile__cap { position: absolute; inset: auto 0 0 0; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 48px 16px 16px; background: linear-gradient(to top, rgba(11, 23, 32, .92) 0, rgba(11, 23, 32, .78) 55%, rgba(11, 23, 32, 0) 100%); transition: padding .25s, background .25s; }
.ez-tile__cat { padding: 1px 10px; border: 1px solid currentColor; border-radius: 999px; font-size: 11px; font-weight: 500; }
.ez-tile__title { font-size: clamp(13px, 1.2vw, 15px); font-weight: 700; line-height: 1.5; overflow-wrap: anywhere; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.ez-tile__more { display: none; font-size: 13px; font-weight: 700; color: var(--on-navy-2); }
.ez-tile a:hover .ez-tile__cap, .ez-tile a:focus-visible .ez-tile__cap { inset: 0; justify-content: flex-end; background: rgba(11, 23, 32, .86); }
.ez-tile a:hover .ez-tile__more, .ez-tile a:focus-visible .ez-tile__more { display: block; }
.ez-tile a:hover img, .ez-tile a:focus-visible img { transform: scale(1.05); }
.ez-tile a:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
@media (max-width: 1100px) { .ez-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px) { .ez-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .ez-tile__cap { padding: 32px 10px 10px; gap: 6px; } .ez-tile__title { font-size: 12px; -webkit-line-clamp: 2; } }

.ez-works { display: flex; flex-direction: column; gap: 28px; }
.ez-work { display: flex; flex-wrap: wrap; background: var(--beige); border: 1px solid var(--beige-line); }
.ez-work__img { flex: 1 1 460px; min-width: 0; min-height: 340px; background: var(--beige-deep); display: flex; align-items: center; justify-content: center; overflow: hidden; color: var(--ink-3); font-size: 15px; text-align: center; text-decoration: none; }
.ez-work__img img { display: block; width: 100%; height: 100%; min-height: 340px; object-fit: cover; object-position: top center; }
.ez-work__img span { padding: 24px; }
.ez-work__body { flex: 1 1 420px; min-width: 0; padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; gap: 18px; }
.ez-work__title { font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 900; line-height: 1.4; }
.ez-work__title a { text-decoration: none; }
.ez-work__body p { color: var(--ink-2); overflow-wrap: anywhere; }
.ez-work__more { margin-top: auto; align-self: flex-start; }
.ez-catnav { margin-bottom: 40px; }
@media (max-width: 700px) {
	.ez-work__img, .ez-work__img img { min-height: 220px; }
}

/* --- 会社情報（トップ） ------------------------------------------------- */

.ez-company { display: flex; flex-wrap: wrap; gap: 56px 72px; }
.ez-company__msg { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.ez-company__title { font-size: clamp(1.7rem, 3.2vw, 2.6rem); font-weight: 900; line-height: 1.4; text-wrap: balance; }
.ez-company__msg p { color: var(--ink-2); }
.ez-company__msg .ez-company__sign { font-weight: 700; color: var(--navy); }
.ez-company__links { display: flex; flex-wrap: wrap; gap: 0 28px; }
.ez-company__table { flex: 1 1 440px; min-width: 0; }
.ez-dl { margin-top: 18px; display: grid; grid-template-columns: 7em minmax(0, 1fr); border-top: 1px solid var(--navy); }
.ez-dl dt, .ez-dl dd { margin: 0; padding: 14px 0; border-bottom: 1px solid var(--beige-line-3); }
.ez-dl dt { font-weight: 700; }

/* --- お知らせ ----------------------------------------------------------- */

.ez-newsbox { display: flex; flex-wrap: wrap; gap: 32px 72px; }
.ez-newsbox__head { flex: 1 1 220px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.ez-newsbox__title { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 900; line-height: 1.3; }
.ez-newsbox .ez-news { flex: 999 1 520px; min-width: 0; }
.ez-news { padding: 0; list-style: none; border-top: 1px solid var(--navy); }
.ez-news li { border-bottom: 1px solid var(--beige-line); }
.ez-news a { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 20px; padding: 18px 0; text-decoration: none; }
.ez-news time, .ez-meta time { font-family: var(--font-en); color: var(--ink-4); }
.ez-news__title { font-weight: 500; flex: 1 1 16em; }
.ez-news a:hover .ez-news__title { text-decoration: underline; text-underline-offset: 4px; }

/* --- お問い合わせ ------------------------------------------------------- */

.ez-contact { position: relative; overflow: clip; background: var(--navy); color: var(--white); }
.ez-contact__inner { position: relative; padding-top: 104px; padding-bottom: 104px; display: flex; flex-wrap: wrap; gap: 48px 72px; }
.ez-contact__copy { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.ez-contact__title { text-wrap: balance; font-size: clamp(1.7rem, 3.3vw, 3rem); font-weight: 900; line-height: 1.25; }
.ez-contact__lead { color: var(--on-navy); max-width: 30em; }
.ez-contact__tel { font-family: var(--font-en); font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 700; letter-spacing: .03em; text-decoration: none; color: var(--beige-deep); }
.ez-contact__chat { align-self: stretch; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding-top: 18px; border-top: 1px solid #2c3d4a; color: var(--on-navy); }
.ez-contact__form { flex: 1 1 480px; min-width: 0; background: var(--white); color: var(--navy); padding: clamp(24px, 4vw, 44px); display: flex; flex-direction: column; gap: 26px; }
.ez-topics { display: flex; flex-direction: column; gap: 12px; }
.ez-topics__label { font-weight: 700; }
.ez-topics__chips { display: flex; flex-wrap: wrap; gap: 10px; }
/* 案内とフォームが縦に並ぶ幅では、見出しを大きくする */
@media (max-width: 987px) {
	.ez-contact__title { font-size: clamp(1.7rem, 7.6vw, 3.4rem); }
}
@media (max-width: 700px) {
	.ez-contact__inner { padding-top: 72px; padding-bottom: 72px; }
}

/* 下層ページ下部の案内帯 */
.ez-cta__inner { position: relative; padding-top: 88px; padding-bottom: 88px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 40px 72px; }
.ez-cta__copy { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.ez-cta__actions { flex: 0 1 auto; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }

/* Contact Form 7 の見た目 */
.ez-form .wpcf7 form { display: flex; flex-direction: column; gap: 22px; }
.ez-form .wpcf7 form > p { margin: 0; }
.ez-form .wpcf7 label { display: block; font-weight: 700; }
.ez-form .wpcf7 label > br { display: none; }
.ez-form .wpcf7-form-control-wrap { display: block; margin-top: 8px; font-weight: 400; }
.ez-form input[type="text"], .ez-form input[type="email"], .ez-form input[type="tel"], .ez-form input[type="url"], .ez-form input[type="number"], .ez-form input[type="date"], .ez-form select, .ez-form textarea { display: block; width: 100%; min-height: 52px; padding: 0 16px; font-size: 16px; background: var(--white); color: var(--navy); border: 1px solid var(--field); border-radius: 0; -webkit-appearance: none; appearance: none; }
.ez-form textarea { padding: 14px 16px; line-height: 1.7; min-height: 0; height: 9em; resize: vertical; }
.ez-form input[type="file"] { display: block; max-width: 100%; margin-top: 8px; font-size: 15px; }
.ez-form .wpcf7-list-item { display: inline-flex; margin: 0 24px 0 0; }
.ez-form .wpcf7-list-item label { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; min-height: 44px; }
.ez-form input[type="radio"], .ez-form input[type="checkbox"] { width: 20px; height: 20px; accent-color: var(--accent); }
.ez-form input[type="submit"], .ez-form button[type="submit"] { min-height: 58px; padding: 0 44px; background: var(--accent); color: var(--white); border: none; border-radius: 999px; font-weight: 700; font-size: 17px; cursor: pointer; transition: transform .15s ease, filter .15s ease; -webkit-appearance: none; appearance: none; }
.ez-form input[type="submit"]:hover { transform: translateY(-2px); filter: brightness(1.08); }
.ez-form .wpcf7-not-valid-tip { margin-top: 6px; color: var(--error); font-size: 14px; font-weight: 700; }
.ez-form .wpcf7 form .wpcf7-response-output { margin: 0; padding: 14px 18px; border: 2px solid var(--navy); font-weight: 700; }
.ez-form .wpcf7 form.invalid .wpcf7-response-output, .ez-form .wpcf7 form.failed .wpcf7-response-output, .ez-form .wpcf7 form.spam .wpcf7-response-output, .ez-form .wpcf7 form.unaccepted .wpcf7-response-output { border-color: var(--error); color: var(--error); }
.ez-form .ez-is-hidden { display: none; }
.ez-form--fallback { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.ez-form--page .wpcf7 { margin: 28px 0; }
.grecaptcha-badge { z-index: 5; }

/* --- フッター ----------------------------------------------------------- */

.ez-footer { background: var(--navy); color: var(--white); border-top: 1px solid #22323e; }
.ez-footer__inner { padding-top: 48px; padding-bottom: 112px; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px 48px; }
.ez-footer__id { display: flex; flex-direction: column; gap: 6px; }
/* 白抜きロゴ。画像の左右に余白が入っているので、その分だけ左へ寄せて住所と頭をそろえる */
.ez-footer__logo { display: block; align-self: flex-start; width: auto; height: 40px; margin: 0 0 2px -8px; }
.ez-footer__addr { font-size: 14px; color: var(--on-navy-2); }
.ez-footer__links { flex: 1 1 100%; order: -1; display: flex; flex-wrap: wrap; gap: 4px 28px; padding-bottom: 24px; border-bottom: 1px solid #22323e; font-size: 15px; }
.ez-footer__sns { display: flex; flex-wrap: wrap; gap: 8px 24px; font-family: var(--font-en); font-size: 15px; }
.ez-footer__links a, .ez-footer__sns a { padding: 10px 0; }
.ez-footer__copy { font-family: var(--font-en); font-size: 13px; color: var(--on-navy-2); }

/* --- 下層ページ --------------------------------------------------------- */

.ez-pagehero { border-bottom: 1px solid var(--beige-deep); }
.ez-pagehero__inner { padding-top: 28px; padding-bottom: 64px; display: flex; flex-direction: column; gap: 14px; }
.ez-pagehero__title { font-weight: 900; font-size: clamp(2rem, 4.6vw, 3.6rem); line-height: 1.25; letter-spacing: .02em; overflow-wrap: anywhere; }
.ez-pagehero__lead { max-width: 40em; color: var(--ink-3); }
.ez-crumb { margin-bottom: 36px; font-size: 13px; color: var(--ink-4); }
.ez-crumb ol { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 4px 0; }
.ez-crumb li + li::before { content: '/'; margin: 0 10px; color: var(--beige-ink); }
.ez-crumb a { text-underline-offset: 3px; }

.ez-cards { padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 20px; }
.ez-card { display: flex; }
.ez-card > a { flex: 1 1 auto; display: flex; flex-direction: column; gap: 14px; padding: clamp(24px, 3vw, 36px); background: var(--beige); border: 1px solid var(--beige-line); text-decoration: none; transition: border-color .2s, transform .2s; }
.ez-card > a:hover { border-color: var(--navy); transform: translateY(-3px); }
.ez-card__top { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.ez-card__top .ez-eyebrow { color: var(--accent-text-beige); }
.ez-card__no { font-family: var(--font-en); font-size: 44px; font-weight: 700; line-height: .8; color: var(--beige-num); }
.ez-card__title { font-size: clamp(1.3rem, 2vw, 1.6rem); font-weight: 900; line-height: 1.4; }
.ez-card p { color: var(--ink-2); font-size: 15px; }
.ez-card__price { font-size: 20px; }
.ez-card .ez-more { margin-top: auto; padding-bottom: 0; }

.ez-doc { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 56px 72px; }
.ez-doc__main { flex: 999 1 560px; min-width: 0; }
.ez-doc__side { flex: 1 1 260px; min-width: 0; }
.ez-doc__image { margin-bottom: 40px; background: var(--beige-deep); border: 1px solid var(--beige-line); }
.ez-doc__image img { display: block; width: 100%; max-height: 440px; object-fit: cover; }
.ez-doc__cta { margin-top: 48px; }
.ez-side { display: flex; flex-direction: column; gap: 14px; }
.ez-side__list { padding: 0; list-style: none; border-top: 1px solid var(--navy); }
.ez-side__list a { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 8px 16px; font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--beige-line-2); transition: background .2s, color .2s; }
.ez-side__list a:hover { background: var(--beige); }
.ez-side__list a[aria-current] { background: var(--navy); color: var(--white); }

.ez-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-bottom: 28px; }
.ez-prevnext { margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--navy); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px 24px; font-weight: 500; }
.ez-prevnext__next { text-align: right; }
.ez-prevnext a { text-underline-offset: 4px; }
@media (max-width: 700px) {
	.ez-prevnext { grid-template-columns: 1fr; text-align: left; }
	.ez-prevnext__next { text-align: left; }
}
.ez-pager { margin-top: 48px; }
.ez-pager ul { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.ez-pager a, .ez-pager span { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 14px; border: 1px solid var(--beige-ink); font-family: var(--font-num); font-weight: 700; text-decoration: none; }
.ez-pager .current { background: var(--navy); color: var(--white); border-color: var(--navy); }
.ez-pagelinks { font-weight: 700; }
.ez-pagelinks a, .ez-pagelinks > span { display: inline-block; min-width: 2em; padding: 4px 8px; text-align: center; }
.ez-notfound { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }

/* 本文（管理画面で書いた内容）。旧テーマの装飾クラスにも見た目を当てる */
.ez-prose { font-size: 17px; color: var(--ink-2); overflow-wrap: anywhere; }
.ez-prose > * + * { margin-top: 1.4em; }
.ez-prose h2, .ez-prose h3, .ez-prose h4 { color: var(--navy); font-weight: 900; line-height: 1.4; }
.ez-prose h2 { margin-top: 2.4em; padding-top: 22px; border-top: 1px solid var(--navy); font-size: clamp(1.5rem, 2.6vw, 2rem); }
.ez-prose h3 { margin-top: 2.2em; padding-left: 16px; border-left: 4px solid var(--accent); font-size: clamp(1.2rem, 2vw, 1.45rem); }
.ez-prose h3.design_headline2 { padding: 22px 0 0; border-left: none; border-top: 1px solid var(--navy); font-size: clamp(1.5rem, 2.6vw, 2rem); }
.ez-prose h4 { margin-top: 2em; font-size: 1.1rem; }
.ez-prose > :first-child { margin-top: 0; }
.ez-prose h2 + *, .ez-prose h3 + *, .ez-prose h4 + * { margin-top: .8em; }
.ez-prose a { color: var(--accent-text); text-underline-offset: 3px; }
.ez-prose strong { color: var(--navy); }
.ez-prose ul, .ez-prose ol { padding-left: 1.4em; }
.ez-prose img { display: block; border: 1px solid var(--beige-line); }
.ez-prose table { width: 100% !important; border-collapse: collapse; border: none; border-top: 1px solid var(--navy); font-size: 16px; }
.ez-prose th, .ez-prose td { padding: 14px 16px; border: none; border-bottom: 1px solid var(--beige-line-3); text-align: left !important; vertical-align: top !important; }
.ez-prose th { width: 11em !important; background: var(--beige); color: var(--navy); font-weight: 700; }
.ez-prose td { width: auto !important; }
.ez-prose iframe { max-width: 100%; }
.ez-map { border: 1px solid var(--beige-line); background: var(--beige-deep); }
.ez-map iframe { display: block; width: 100%; height: 420px; border: 0; }
.ez-prose .design_button { margin-top: 1em; }
.ez-prose .design_button a { display: inline-flex; align-items: center; min-height: 52px; padding: 0 28px; background: var(--navy); color: var(--white); border-radius: 999px; font-weight: 700; text-decoration: none; }
.ez-prose .design_button a::after { content: '→'; margin-left: 10px; }
@media (max-width: 600px) {
	.ez-prose th, .ez-prose td { display: block; width: 100% !important; }
	.ez-prose th { border-bottom: none; padding-bottom: 8px; }
}

/* --- 自動応答チャット（画面右下に追従） --------------------------------- */

.ez-chat { position: fixed; right: 20px; bottom: 20px; z-index: 20; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.ez-chat__launch { gap: 10px; min-height: 60px; padding: 0 26px; border: 2px solid var(--white); box-shadow: 0 12px 32px rgba(11, 23, 32, .3); transition: opacity .25s, transform .25s, visibility .25s; }
/* お問い合わせの場所では起動ボタンを引っ込める（site.js が is-away を付ける） */
.ez-chat.is-away .ez-chat__launch { animation: none; opacity: 0; visibility: hidden; transform: translateY(12px); pointer-events: none; }
.ez-chat__panel { width: min(390px, calc(100vw - 40px)); height: min(560px, 75vh); display: flex; flex-direction: column; background: var(--white); color: var(--navy); border: 1px solid var(--navy); box-shadow: 0 24px 60px rgba(11, 23, 32, .35); font-size: 15px; line-height: 1.7; }
.ez-chat__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; background: var(--navy); color: var(--white); }
.ez-chat__title { display: flex; flex-direction: column; line-height: 1.4; }
.ez-chat__title strong { font-size: 16px; }
.ez-chat__title span { font-size: 12px; color: var(--on-navy-2); }
.ez-chat__close { width: 44px; height: 44px; background: transparent; border: none; color: var(--white); font-size: 22px; line-height: 1; }
.ez-chat__log { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 12px; background: var(--beige); }
.ez-msg { max-width: 86%; padding: 10px 14px; white-space: pre-line; border: 1px solid var(--beige-line-2); background: var(--white); align-self: flex-start; }
.ez-msg--user { align-self: flex-end; background: var(--navy); color: var(--white); border-color: var(--navy); }
.ez-msg--typing { color: var(--ink-4); }
.ez-chat__quick { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 18px 0; }
.ez-chat__quick button { min-height: 36px; padding: 0 14px; background: var(--white); color: var(--navy); border: 1px solid var(--navy); border-radius: 999px; font-size: 13px; font-weight: 500; }
.ez-chat__form { display: flex; gap: 8px; padding: 12px 18px; }
.ez-chat__form input { flex: 1 1 auto; min-width: 0; min-height: 48px; padding: 0 14px; font-size: 16px; color: var(--navy); background: var(--white); border: 1px solid var(--field); border-radius: 0; }
.ez-chat__form button { min-height: 48px; padding: 0 18px; background: var(--navy); color: var(--white); border: none; font-weight: 700; font-size: 15px; }
.ez-chat__handoff { padding: 12px 18px; border-top: 1px solid var(--beige-line-2); font-size: 14px; font-weight: 700; text-decoration: none; }
@media (max-width: 480px) {
	.ez-chat { right: 12px; bottom: 12px; }
	.ez-chat__launch { min-height: 52px; padding: 0 20px; font-size: 15px; }
	.ez-chat__panel { width: calc(100vw - 24px); height: min(560px, 80vh); }
}

/* --- よくある質問・関連リンク ------------------------------------------- */

.ez-faq { margin: 0; border-top: 1px solid var(--navy); }
.ez-faq__item { padding: 28px 0; border-bottom: 1px solid var(--beige-line-2); }
.ez-faq dt { display: flex; align-items: baseline; gap: 14px; font-size: clamp(1.05rem, 1.6vw, 1.25rem); font-weight: 900; line-height: 1.5; }
.ez-faq__mark { flex: none; font-family: var(--font-en); font-size: .9em; color: var(--accent); }
.ez-faq dd { margin: 12px 0 0 calc(14px + .9em); color: var(--ink-2); }
.ez-related { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--navy); }
.ez-related__title { font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 900; }
.ez-related__list { margin: 18px 0 22px; padding: 0; list-style: none; }
.ez-related__list li { border-bottom: 1px solid var(--beige-line-2); }
.ez-related__list a { display: block; padding: 14px 0; font-weight: 500; text-decoration: none; }
.ez-related__list a:hover { text-decoration: underline; }
.ez-related--line { font-size: 15px; }

/* --- 動きを減らす設定のとき --------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.in, .swap, .drop, .btn:hover, .gt:hover, .gtrun { animation: none; }
	.gt:hover::before, .gt:hover::after, .gtrun::before, .gtrun::after { animation: none; opacity: 0; }
	.btn, .ez-card > a, .ez-form input[type="submit"] { transition: none; }
	.ez-reel__cap, .ez-reel__item img { transition: none; }
	.ez-tile img, .ez-tile__cap, .ez-chat__launch { transition: none; }
	.ez-tile a:hover img, .ez-tile a:focus-visible img { transform: none; }
	.ez-reel__item:hover img, .ez-reel__item:focus-visible img { transform: none; }
	.btn:hover, .ez-card > a:hover, .ez-form input[type="submit"]:hover { transform: none; }
}

@media print {
	.ez-chat, .ez-navtoggle, .ez-bigword { display: none !important; }
}
