/* ==========================================================
   いちとり トップページ 新デザイン 第1段階(トップページだけで読み込み)
   方向性:やさしく親しみやすく(丸み・アイコン・やわらかい色・波の区切り)
   ========================================================== */

/* SWELLのメインビジュアル(旧ファーストビュー画像)はトップページで非表示 */
.p-mainVisual { display: none !important; }

.ict {
	--ict-bg: #FBF8F3;
	--ict-cream: #F6EFE4;
	--ict-blue-tint: #EAF2F8;
	--ict-warm-tint: #FCEFE3;
	--ict-main: #1E5A8A;
	--ict-tel: #B4501A;
	--ict-lineapp: #06A94D;
	--ict-yellow: #F4C35A;
	--ict-text: #1F2A33;
	--ict-sub: #3A4650;
	--ict-muted: #5B6670;
	--ict-round: 'Zen Maru Gothic', 'Zen Kaku Gothic New', sans-serif;
	font-family: 'Zen Kaku Gothic New', sans-serif;
	color: var(--ict-text);
	line-height: 1.8;
	margin-bottom: 4em;
	display: flex;
	flex-direction: column;
	gap: 72px;
}
.ict *, .ict *::before, .ict *::after { box-sizing: border-box; }
.ict p { margin: 0; }
.ict a { text-decoration: none; }
.ict img { display: block; max-width: 100%; height: auto; }
.ict-icon { flex: none; display: block; }
.ict-sp { display: none; }

/* SWELLの見出し装飾を打ち消す */
.ict h2, .ict h3 { margin: 0 !important; padding: 0 !important; background: none !important; border: none !important; color: var(--ict-text) !important; }
.ict h2::before, .ict h2::after, .ict h3::before, .ict h3::after { display: none !important; content: none !important; }

/* 小見出しの英字ラベル */
.ict-kicker {
	font-family: var(--ict-round);
	font-size: 13px; font-weight: 700; letter-spacing: .2em;
	color: var(--ict-tel); text-align: center;
	display: flex; align-items: center; justify-content: center; gap: 10px;
}
.ict-kicker::before, .ict-kicker::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ict-yellow); }
.ict-kicker--left { justify-content: flex-start; }
.ict-kicker--left::after { display: none; }

.ict-h2 {
	font-family: var(--ict-round);
	font-size: 30px !important; font-weight: 700; line-height: 1.5; text-align: center;
	margin: 6px 0 8px !important;
}
.ict-section__lead { text-align: center; color: var(--ict-sub); margin-bottom: 32px !important; }

/* ---------- 1. ファーストビュー ---------- */
.ict-hero {
	position: relative; overflow: hidden;
	background: var(--ict-cream);
	border-radius: 32px;
	padding: 44px 40px 40px;
	display: flex; flex-wrap: wrap; gap: 28px; align-items: center;
}
/* 背景の丸い飾り */
.ict-deco { position: absolute; border-radius: 50%; pointer-events: none; }
.ict-deco--1 { width: 280px; height: 280px; right: -70px; top: -90px; background: #FBE3CE; }
.ict-deco--2 { width: 120px; height: 120px; left: -40px; bottom: -50px; background: #E3EEF6; }

.ict-hero__text { position: relative; flex: 999 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }

/* ふきだし型のキャッチコピー */
.ict-bubble {
	position: relative; align-self: flex-start;
	font-family: var(--ict-round);
	font-size: 15px; font-weight: 700; line-height: 1.6; color: var(--ict-main);
	background: #FFFFFF; border-radius: 999px;
	padding: 10px 22px;
	box-shadow: 0 6px 18px rgba(30, 90, 138, .10);
}
.ict-bubble strong { color: var(--ict-tel); font-weight: 700; }
.ict-bubble::after {
	content: ""; position: absolute; left: 34px; bottom: -9px;
	border-width: 10px 9px 0 9px; border-style: solid;
	border-color: #FFFFFF transparent transparent transparent;
}

.ict-hero__title {
	font-family: var(--ict-round);
	font-size: 31px; line-height: 1.6; font-weight: 700; color: var(--ict-text);
	margin-top: 6px !important;
}
.ict-hero__title em {
	font-style: normal;
	background: linear-gradient(transparent 62%, #F8D9A0 62%);
	padding: 0 2px;
}
/* 見出しは意味のまとまりごとに折り返す */
.ict-hero__title span, .ict-message__title span, .ict-promise__title span { display: inline-block; }
.ict-hero__lead { font-size: 17px; color: var(--ict-sub); }

.ict-badges { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.ict-badges li {
	display: flex; align-items: center; gap: 6px;
	padding: 7px 14px 7px 10px; border-radius: 999px;
	background: #FFFFFF;
	font-weight: 700; font-size: 14px; line-height: 1.4;
}
.ict-badges .ict-icon { color: #FFFFFF; background: var(--ict-main); border-radius: 50%; padding: 3px; width: 20px; height: 20px; }

/* 写真:丸みのある形 */
.ict-hero__photo { position: relative; flex: 1 1 220px; min-width: 0; margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.ict-hero__blob {
	display: block; width: 100%; max-width: 300px;
	border-radius: 58% 42% 50% 50% / 52% 48% 52% 48%;
	overflow: hidden; background: #E2D8C8;
	border: 6px solid #FFFFFF;
	box-shadow: 0 10px 30px rgba(31, 42, 51, .12);
}
.ict-hero__blob img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.ict-hero__photo figcaption { font-size: 14px; color: var(--ict-sub); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 4px; line-height: 1.5; }
.ict-hero__hello {
	font-family: var(--ict-round); font-weight: 700; font-size: 13px;
	color: #FFFFFF; background: var(--ict-tel); border-radius: 999px; padding: 3px 12px;
}

/* 相談ボタン */
.ict-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.ict-btn {
	flex: 1 1 150px;
	display: flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 64px; padding: 8px 18px; border-radius: 999px;
	font-size: 17px; font-weight: 700; line-height: 1.35; text-align: center;
	box-shadow: 0 4px 0 rgba(31, 42, 51, .14);
	transition: transform .15s, box-shadow .15s;
}
.ict-btn:hover { transform: translateY(2px); box-shadow: 0 2px 0 rgba(31, 42, 51, .14); }
.ict-btn--tel { flex-basis: 100%; background: var(--ict-tel); color: #FFFFFF !important; }
.ict-btn__label { display: flex; flex-direction: column; align-items: flex-start; }
.ict-btn__small { font-size: 13px; font-weight: 500; }
.ict-btn__tel { font-size: 24px; letter-spacing: .03em; }
.ict-btn--line { background: var(--ict-lineapp); color: #FFFFFF !important; }
.ict-btn--mail { background: #FFFFFF; color: var(--ict-main) !important; box-shadow: 0 4px 0 rgba(30, 90, 138, .25), inset 0 0 0 2px var(--ict-main); }
.ict-btn--mail:hover { box-shadow: 0 2px 0 rgba(30, 90, 138, .25), inset 0 0 0 2px var(--ict-main); }

/* ---------- 色つきパネル(上に波の区切り) ---------- */
.ict-panel {
	position: relative;
	border-radius: 0 0 32px 32px;
	padding: 28px 32px 40px;
	margin-top: 28px;
}
.ict-panel::before {
	content: ""; position: absolute; left: 0; right: 0; top: -27px; height: 28px;
	background-repeat: repeat-x; background-size: 160px 28px; background-position: center bottom;
}
.ict-panel--blue { background: var(--ict-blue-tint); }
.ict-panel--blue::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 28' preserveAspectRatio='none'%3E%3Cpath d='M0 28 V14 C40 0 40 0 80 14 C120 28 120 28 160 14 V28 Z' fill='%23EAF2F8'/%3E%3C/svg%3E"); }
.ict-panel--warm { background: var(--ict-warm-tint); }
.ict-panel--warm::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 28' preserveAspectRatio='none'%3E%3Cpath d='M0 28 V14 C40 0 40 0 80 14 C120 28 120 28 160 14 V28 Z' fill='%23FCEFE3'/%3E%3C/svg%3E"); }

/* ---------- 2. 状況から選ぶ入口 ---------- */
.ict-situations { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 12px; }
.ict-situation {
	display: flex; align-items: center; gap: 14px;
	padding: 16px 18px; border-radius: 20px;
	background: #FFFFFF;
	color: var(--ict-text) !important;
	box-shadow: 0 3px 0 rgba(30, 90, 138, .10);
	transition: transform .15s, box-shadow .15s;
}
.ict-situation:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(30, 90, 138, .14); }
.ict-situation__icon {
	flex: none; width: 52px; height: 52px; border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	background: var(--ict-blue-tint); color: var(--ict-main);
}
.ict-situation:nth-child(even) .ict-situation__icon { background: var(--ict-warm-tint); color: var(--ict-tel); }
.ict-situation__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ict-situation__title { font-size: 16px; font-weight: 700; line-height: 1.5; }
.ict-situation__note { font-size: 13px; color: var(--ict-muted); line-height: 1.6; }
.ict-situation__arrow {
	flex: none; width: 32px; height: 32px; border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	background: var(--ict-main); color: #FFFFFF;
	transition: transform .15s;
}
.ict-situation:hover .ict-situation__arrow { transform: translateX(3px); }

/* ---------- 3. 代表メッセージ ---------- */
.ict-message { display: flex; flex-wrap: wrap; gap: 36px; align-items: center; padding: 0 8px; }
.ict-message__photo { position: relative; flex: 1 1 200px; max-width: 250px; margin: 0 auto; }
.ict-message__photo::before {
	content: ""; position: absolute; inset: 14px -14px -14px 14px; border-radius: 50%;
	background: #FBE3CE;
}
.ict-message__photo img { position: relative; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 50%; border: 6px solid #FFFFFF; background: #E2D8C8; }
.ict-message__body {
	position: relative; flex: 999 1 340px; min-width: 0;
	display: flex; flex-direction: column; gap: 14px; font-size: 16px;
	background: #FFFFFF; border-radius: 28px; padding: 30px 32px;
	box-shadow: 0 6px 22px rgba(31, 42, 51, .07);
}
.ict-message__title { font-family: var(--ict-round); font-size: 25px !important; line-height: 1.6; font-weight: 700; }
.ict-message__career { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px 8px; }
.ict-message__career li { font-size: 13px; font-weight: 700; color: var(--ict-main); padding: 4px 12px; border-radius: 999px; background: var(--ict-blue-tint); line-height: 1.5; }
.ict-message__sign { font-family: var(--ict-round); font-size: 20px; font-weight: 700; display: flex; align-items: baseline; gap: 10px; }
.ict-message__sign small { font-size: 13px; font-weight: 500; color: var(--ict-muted); }

/* ---------- 4. 3つの約束 ---------- */
.ict-promises { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.ict-promise {
	display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px;
	padding: 26px 20px 24px; border-radius: 24px;
	background: #FFFFFF;
	font-size: 14.5px; color: var(--ict-sub); line-height: 1.75;
	box-shadow: 0 3px 0 rgba(180, 80, 26, .10);
}
.ict-promise__icon {
	width: 68px; height: 68px; border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	background: var(--ict-warm-tint); color: var(--ict-tel);
	margin-bottom: 4px;
}
.ict-promise__num {
	font-family: var(--ict-round); font-size: 12px; font-weight: 700; letter-spacing: .1em;
	color: #FFFFFF; background: var(--ict-main); border-radius: 999px; padding: 2px 12px;
}
.ict-promise__title { font-family: var(--ict-round); font-size: 17px !important; line-height: 1.5; font-weight: 700; }

/* メールフォームへ飛んだとき、固定ヘッダーに隠れないように */
#wpcf7-f7232-p7871-o1 { scroll-margin-top: 100px; }

/* ---------- スクロールでふわっと表示(対応ブラウザのみ・動きを減らす設定の人には出さない) ---------- */
@media (prefers-reduced-motion: no-preference) {
	@supports (animation-timeline: view()) {
		.ict-panel, .ict-message { animation: ict-fadeup linear both; animation-timeline: view(); animation-range: entry 0% entry 35%; }
		@keyframes ict-fadeup { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
	}
}

/* ---------- スマホ画面下の固定バー ---------- */
.ict-fixbar { display: none; }

@media (max-width: 959px) {
	.ict { gap: 52px; }
	.ict-sp { display: inline; }
	.ict-hero { padding: 26px 18px 24px; border-radius: 24px; gap: 18px; }
	.ict-deco--1 { width: 180px; height: 180px; right: -60px; top: -70px; }
	.ict-bubble { font-size: 13px; padding: 8px 16px; border-radius: 18px; }
	.ict-hero__title { font-size: 23px; }
	.ict-hero__lead { font-size: 15px; }
	.ict-badges li { font-size: 13px; }
	.ict-hero__photo { order: -1; flex-direction: row; justify-content: flex-start; gap: 12px; flex-basis: 100%; }
	.ict-hero__blob { width: 84px; flex: none; border-width: 4px; }
	.ict-hero__photo figcaption { align-items: flex-start; text-align: left; }
	.ict-cta { display: none; } /* スマホは画面下の固定バーで代替 */
	.ict-h2 { font-size: 22px !important; }
	.ict-panel { padding: 20px 14px 28px; border-radius: 0 0 24px 24px; }
	.ict-section__lead { font-size: 14px; margin-bottom: 20px !important; }
	.ict-situations { grid-template-columns: 1fr; gap: 10px; }
	.ict-situation { padding: 12px 14px; gap: 12px; border-radius: 16px; }
	.ict-situation__icon { width: 44px; height: 44px; }
	.ict-situation__icon .ict-icon { width: 24px; height: 24px; }
	.ict-situation__note { display: none; }
	.ict-situation__title { font-size: 15px; }
	.ict-situation__arrow { width: 28px; height: 28px; }
	.ict-message { gap: 20px; padding: 0; }
	.ict-message__photo { max-width: 130px; }
	.ict-message__body { padding: 22px 18px; border-radius: 22px; }
	.ict-message__title { font-size: 20px !important; }
	.ict-promises { gap: 12px; }
	.ict-promise { padding: 20px 16px; }
	.ict-promise__icon { width: 56px; height: 56px; }

	.ict-fixbar {
		display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px;
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 100;
		padding: 8px 8px calc(10px + env(safe-area-inset-bottom));
		background: #FFFFFF; border-radius: 18px 18px 0 0;
		box-shadow: 0 -4px 14px rgba(31, 42, 51, .10);
		font-family: 'Zen Kaku Gothic New', sans-serif;
	}
	.ict-fixbar__btn {
		display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
		min-height: 60px; border-radius: 14px; text-decoration: none; line-height: 1.25;
	}
	.ict-fixbar__main { font-size: 14px; font-weight: 700; }
	.ict-fixbar__sub { font-size: 10.5px; }
	.ict-fixbar__btn--tel { background: #B4501A; color: #FFFFFF !important; }
	.ict-fixbar__btn--line { background: #06A94D; color: #FFFFFF !important; }
	.ict-fixbar__btn--mail { background: #FFFFFF; box-shadow: inset 0 0 0 2px #1E5A8A; color: #1E5A8A !important; }

	/* 固定バーの分だけ、ページ下部とページトップボタンを持ち上げる */
	#body_wrap { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
	.p-fixBtnWrap { bottom: calc(92px + env(safe-area-inset-bottom)) !important; }
	/* AIチャット(Chatbase)のボタンと reCAPTCHA マークも固定バーの上へ */
	#chatbase-bubble-button { bottom: calc(96px + env(safe-area-inset-bottom)) !important; }
	#chatbase-message-bubbles { bottom: calc(164px + env(safe-area-inset-bottom)) !important; }
	.grecaptcha-badge { bottom: calc(152px + env(safe-area-inset-bottom)) !important; }
}

/* ==========================================================
   第2段階:5 解決の選択肢 / 6 解決事例 / 7 お客様の声 / 8 流れ
   ========================================================== */

/* 文字リンク・「もっと見る」ボタン */
.ict-textlink { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; font-size: 14px; color: var(--ict-main) !important; margin-top: auto; }
.ict-textlink:hover { text-decoration: underline; }
.ict-more { text-align: center; margin-top: 28px !important; }
.ict-morebtn {
	display: inline-flex; align-items: center; gap: 8px;
	min-height: 52px; padding: 0 30px; border-radius: 999px;
	background: var(--ict-main); color: #FFFFFF !important; font-weight: 700;
	box-shadow: 0 4px 0 rgba(21, 69, 105, .35);
	transition: transform .15s, box-shadow .15s;
}
.ict-morebtn:hover { transform: translateY(2px); box-shadow: 0 2px 0 rgba(21, 69, 105, .35); }
.ict-morebtn--warm { background: var(--ict-tel); box-shadow: 0 4px 0 rgba(140, 60, 18, .35); }
.ict-morebtn--warm:hover { box-shadow: 0 2px 0 rgba(140, 60, 18, .35); }

/* ---------- 5. 解決の選択肢 ---------- */
.ict-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.ict-option {
	position: relative; display: flex; flex-direction: column; gap: 10px;
	padding: 26px 22px 22px; border-radius: 24px;
	background: #FFFFFF; border: 2px solid #EFE6D8;
	font-size: 14.5px; color: var(--ict-sub); line-height: 1.8;
}
.ict-option__icon {
	width: 64px; height: 64px; border-radius: 20px;
	display: flex; align-items: center; justify-content: center;
	background: var(--ict-blue-tint); color: var(--ict-main);
	transform: rotate(-4deg);
}
.ict-option:nth-child(2) .ict-option__icon { background: var(--ict-warm-tint); color: var(--ict-tel); transform: rotate(3deg); }
.ict-option:nth-child(3) .ict-option__icon { background: #EAF5EC; color: #2F7A45; }
.ict-option__title { font-family: var(--ict-round); font-size: 19px !important; font-weight: 700; line-height: 1.5; }

/* ---------- 6. 解決事例 ---------- */
.ict-cases { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.ict-case {
	display: flex; flex-direction: column; gap: 6px;
	padding: 20px 20px 18px; border-radius: 22px;
	background: #FFFFFF; color: var(--ict-text) !important;
	box-shadow: 0 3px 0 rgba(30, 90, 138, .10);
	transition: transform .15s, box-shadow .15s;
}
.ict-case:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(30, 90, 138, .14); }
.ict-case__tag {
	align-self: flex-start; font-size: 12px; font-weight: 700; line-height: 1.4;
	color: #FFFFFF; background: var(--ict-main); border-radius: 999px; padding: 3px 12px;
}
.ict-case:nth-child(even) .ict-case__tag { background: var(--ict-tel); }
.ict-case__title { font-family: var(--ict-round); font-size: 17px; font-weight: 700; line-height: 1.5; margin-top: 2px; }
.ict-case__meta { font-size: 12.5px; color: var(--ict-muted); }
.ict-case__want { font-size: 13px; color: var(--ict-sub); display: flex; gap: 6px; align-items: baseline; }
.ict-case__want span { flex: none; font-size: 11px; font-weight: 700; color: var(--ict-main); background: var(--ict-blue-tint); border-radius: 6px; padding: 1px 6px; }
.ict-case__result {
	margin-top: 6px; padding: 12px 14px; border-radius: 14px;
	background: #FBF6EE; font-size: 13.5px; line-height: 1.7; color: var(--ict-text);
}
.ict-case__label { display: flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; color: var(--ict-tel); margin-bottom: 2px; }
.ict-case__label .ict-icon { color: #FFFFFF; background: var(--ict-tel); border-radius: 50%; padding: 2px; width: 16px; height: 16px; }

/* ---------- 7. お客様の声 ---------- */
.ict-voices { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.ict-voice {
	position: relative; margin: 0;
	padding: 26px 24px 20px; border-radius: 26px 26px 26px 6px;
	background: var(--ict-warm-tint);
	display: flex; flex-direction: column; gap: 12px;
}
.ict-voice--b { background: var(--ict-blue-tint); border-radius: 26px 26px 6px 26px; }
.ict-voice__mark {
	position: absolute; top: -14px; left: 20px;
	width: 38px; height: 38px; border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	background: var(--ict-tel); color: #FFFFFF;
}
.ict-voice--b .ict-voice__mark { background: var(--ict-main); left: auto; right: 20px; }
.ict blockquote { margin: 0; padding: 0; border: none; background: none; quotes: none; }
.ict blockquote::before, .ict blockquote::after { display: none !important; content: none !important; }
.ict-voice blockquote p { font-size: 15px; line-height: 1.85; color: var(--ict-text); }
.ict-voice figcaption { font-size: 13px; font-weight: 700; color: var(--ict-sub); display: flex; align-items: center; gap: 8px; }
.ict-voice__area { font-size: 12px; color: #FFFFFF; background: var(--ict-sub); border-radius: 999px; padding: 1px 10px; }

/* ---------- 8. 流れ ---------- */
.ict-flow { list-style: none; margin: 0 !important; padding: 0 !important; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; counter-reset: none; }
.ict-flow__step {
	position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px;
	padding: 20px 14px 18px; border-radius: 22px; background: #FFFFFF;
	box-shadow: 0 3px 0 rgba(180, 80, 26, .10);
	margin: 0 !important;
}
.ict-flow__step::before { display: none !important; }
.ict-flow__num {
	width: 40px; height: 40px; border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	font-family: var(--ict-round); font-size: 18px; font-weight: 700;
	background: var(--ict-tel); color: #FFFFFF;
}
.ict-flow__step:last-child .ict-flow__num { background: var(--ict-main); }
.ict-flow__body { display: flex; flex-direction: column; gap: 4px; }
.ict-flow__title { font-family: var(--ict-round); font-size: 15.5px; font-weight: 700; line-height: 1.45; color: var(--ict-text); }
.ict-flow__text { font-size: 13px; line-height: 1.7; color: var(--ict-sub); }
.ict-flow__free {
	margin: 22px auto 0 !important; width: fit-content;
	font-family: var(--ict-round); font-weight: 700; font-size: 16px; color: var(--ict-tel);
	background: #FFFFFF; border: 2px dashed #E9B48F; border-radius: 999px; padding: 8px 24px; text-align: center;
}

@media (prefers-reduced-motion: no-preference) {
	@supports (animation-timeline: view()) {
		.ict-section2 { animation: ict-fadeup linear both; animation-timeline: view(); animation-range: entry 0% entry 35%; }
	}
}

@media (max-width: 959px) {
	.ict-options, .ict-cases, .ict-voices { grid-template-columns: 1fr; gap: 12px; }
	.ict-case:nth-child(n+4) { display: none; } /* スマホは事例3件まで。続きは「もっと見る」へ */
	.ict-option { padding: 20px 18px; flex-direction: column; }
	.ict-option__icon { width: 54px; height: 54px; border-radius: 16px; }
	.ict-option__title { font-size: 17px !important; }
	.ict-voices { gap: 22px; }
	.ict-voice { padding: 24px 18px 16px; }
	.ict-voice blockquote p { font-size: 14px; }
	/* 流れは縦のタイムラインに */
	.ict-flow { grid-template-columns: 1fr; gap: 0; position: relative; }
	.ict-flow::before { content: ""; position: absolute; left: 33px; top: 24px; bottom: 24px; width: 2px; background: repeating-linear-gradient(#E9B48F 0 6px, transparent 6px 12px); }
	.ict-flow__step { flex-direction: row; align-items: flex-start; text-align: left; gap: 12px; padding: 10px 12px; background: none; box-shadow: none; }
	.ict-flow__num { flex: none; position: relative; width: 44px; height: 44px; }
	.ict-flow__body { background: #FFFFFF; border-radius: 16px; padding: 10px 14px; flex: 1; }
	.ict-flow__free { font-size: 14px; padding: 8px 18px; }
	.ict-morebtn { width: 100%; justify-content: center; }
}

/* ==========================================================
   第3段階:9 まだ早い方へ / 10 よくあるご質問 / 11 お問い合わせ+会社情報
   ========================================================== */
.ict--after { margin-top: 64px; }
.ict-pc { display: inline; }

/* ---------- 9. まだ早い方へ ---------- */
.ict-softs { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.ict-soft {
	display: flex; flex-direction: column; gap: 10px;
	padding: 24px 22px 20px; border-radius: 24px;
	background: #FFFFFF; border: 2px solid #EFE6D8;
	color: var(--ict-text) !important;
	transition: transform .15s, box-shadow .15s, border-color .15s;
}
.ict-soft:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(31, 42, 51, .08); border-color: #E2D3BE; }
.ict-soft__icon {
	width: 58px; height: 58px; border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	background: var(--ict-blue-tint); color: var(--ict-main);
}
.ict-soft--1 .ict-soft__icon { background: var(--ict-warm-tint); color: var(--ict-tel); }
.ict-soft--2 .ict-soft__icon { background: #E6F6EC; color: #058A3F; }
.ict-soft__title { font-family: var(--ict-round); font-size: 17px; font-weight: 700; line-height: 1.5; }
.ict-soft__text { font-size: 14px; color: var(--ict-sub); line-height: 1.75; }
.ict-soft__btn { margin-top: auto; display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 700; color: var(--ict-main); }
.ict-soft--2 .ict-soft__btn { color: #058A3F; }

/* ---------- 10. よくあるご質問 ---------- */
.ict-faq { display: flex; flex-direction: column; gap: 10px; }
.ict-faq__item { background: #FFFFFF; border-radius: 18px; box-shadow: 0 3px 0 rgba(30, 90, 138, .10); overflow: hidden; }
.ict-faq__item summary {
	list-style: none; cursor: pointer;
	display: flex; align-items: center; gap: 12px;
	padding: 16px 18px; font-weight: 700; font-size: 15.5px; line-height: 1.55;
}
.ict-faq__item summary::-webkit-details-marker { display: none; }
.ict-faq__q, .ict-faq__mark {
	flex: none; width: 32px; height: 32px; border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	font-family: var(--ict-round); font-weight: 700; font-size: 15px;
	background: var(--ict-main); color: #FFFFFF;
}
.ict-faq__mark { background: var(--ict-tel); }
.ict-faq__text { flex: 1; }
.ict-faq__toggle { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--ict-blue-tint); position: relative; }
.ict-faq__toggle::before, .ict-faq__toggle::after { content: ""; position: absolute; left: 7px; right: 7px; top: 12px; height: 2px; background: var(--ict-main); border-radius: 2px; transition: transform .2s; }
.ict-faq__toggle::after { transform: rotate(90deg); }
.ict-faq__item[open] .ict-faq__toggle::after { transform: rotate(0deg); }
.ict-faq__a { display: flex; gap: 12px; padding: 0 18px 18px; }
.ict-faq__a p { font-size: 14.5px; line-height: 1.85; color: var(--ict-sub); background: #FBF6EE; border-radius: 14px; padding: 12px 16px; flex: 1; }

/* ---------- 11. お問い合わせ ---------- */
.ict-contact {
	background: #FFFFFF; border-radius: 32px; padding: 36px 32px;
	box-shadow: 0 8px 28px rgba(31, 42, 51, .08);
	border-top: 6px solid var(--ict-tel);
}
.ict-ways { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; margin-bottom: 28px; }
.ict-way {
	display: flex; align-items: center; gap: 12px;
	padding: 14px 16px; border-radius: 20px; color: #FFFFFF !important;
	box-shadow: 0 4px 0 rgba(31, 42, 51, .14);
	transition: transform .15s, box-shadow .15s;
}
.ict-way:hover { transform: translateY(2px); box-shadow: 0 2px 0 rgba(31, 42, 51, .14); }
.ict-way--tel { background: var(--ict-tel); }
.ict-way--line { background: #058A3F; }
.ict-way--reserve { background: var(--ict-main); }
.ict-way__body { display: flex; flex-direction: column; line-height: 1.35; }
.ict-way__label { font-size: 12px; opacity: .92; }
.ict-way__main { font-size: 19px; font-weight: 700; letter-spacing: .02em; }
.ict-way__sub { font-size: 11.5px; opacity: .92; }

.ict-form { background: var(--ict-bg); border-radius: 24px; padding: 26px 26px 18px; }
.ict-form__title {
	display: flex; align-items: center; justify-content: center; gap: 8px;
	font-family: var(--ict-round); font-size: 19px !important; font-weight: 700; text-align: center;
	margin-bottom: 18px !important; color: var(--ict-main) !important;
}
.ict-form dl.contact7 { margin: 0; display: grid; grid-template-columns: 220px 1fr; gap: 0; background: #FFFFFF; border-radius: 18px; overflow: hidden; }
.ict-form dl.contact7 dt, .ict-form dl.contact7 dd { margin: 0; padding: 14px 18px; border-bottom: 1px solid #F1EADF; }
.ict-form dl.contact7 dt { font-weight: 700; font-size: 14.5px; display: flex; align-items: center; flex-wrap: wrap; gap: 4px 0; background: #FDFAF5; }
.ict-form dl.contact7 dt:nth-last-of-type(1), .ict-form dl.contact7 dd:last-of-type { border-bottom: none; }
.ict-form input[type="text"], .ict-form input[type="tel"], .ict-form input[type="email"], .ict-form textarea {
	width: 100%; box-sizing: border-box; font-size: 16px;
	padding: 12px 14px; border-radius: 12px; border: 2px solid #E6DED2; background: #FFFFFF;
	transition: border-color .15s;
}
.ict-form input:focus, .ict-form textarea:focus { outline: none; border-color: var(--ict-main); }
.ict-form textarea { min-height: 120px; }
.ict-form .wpcf7-list-item { margin: 4px 16px 4px 0; }
.ict-form .wpcf7-list-item label { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.ict-form input[type="checkbox"] { width: 20px; height: 20px; accent-color: var(--ict-main); }
.ict-form .must, .ict-form .optional { border-radius: 999px; font-size: 11px; letter-spacing: 1px; padding: 2px 10px; }
.ict-form > .wpcf7 p { text-align: center; font-size: 13px; color: var(--ict-sub); margin-top: 16px !important; }
.ict-form input[type="submit"], .ict-form .btn_contact7 {
	display: block; width: 100%; max-width: 420px; margin: 8px auto 0;
	min-height: 60px; padding: 0 24px !important; border-radius: 999px !important;
	font-size: 18px !important; font-weight: 700; letter-spacing: .05em;
	background: var(--ict-tel) !important; border: none !important; color: #FFFFFF !important;
	box-shadow: 0 5px 0 rgba(140, 60, 18, .45) !important; cursor: pointer;
	transition: transform .15s, box-shadow .15s;
}
.ict-form input[type="submit"]:hover, .ict-form .btn_contact7:hover { transform: translateY(3px); box-shadow: 0 2px 0 rgba(140, 60, 18, .45) !important; }
.ict-form .wpcf7-not-valid-tip { font-size: 13px; margin-top: 4px; }
.ict-form .wpcf7-response-output { border-radius: 12px; }

/* ---------- 会社情報 ---------- */
.ict-info { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.ict-info__card--access { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr; grid-template-areas: "icon title" "addr addr" "station map"; column-gap: 20px; }
.ict-info__card--access .ict-info__icon { grid-area: icon; }
.ict-info__card--access .ict-info__title { grid-area: title; align-self: center; }
.ict-info__card--access .ict-info__addr { grid-area: addr; }
.ict-info__card--access .ict-info__station { grid-area: station; }
.ict-info__card--access .ict-info__map { grid-area: map; }
.ict-info__card {
	display: flex; flex-direction: column; gap: 10px;
	padding: 24px 22px; border-radius: 24px; background: #FFFFFF; border: 2px solid #EFE6D8;
	font-size: 14px; line-height: 1.8; color: var(--ict-sub);
}
.ict-info__icon { width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--ict-warm-tint); color: var(--ict-tel); }
.ict-info__title { font-family: var(--ict-round); font-size: 18px !important; font-weight: 700; }
.ict-info__note { background: var(--ict-blue-tint); border-radius: 14px; padding: 10px 14px; font-size: 13.5px; }
.ict-info__note strong { color: var(--ict-main); }
.ict-info__photo { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 16px; }
.ict-info__name { font-family: var(--ict-round); font-weight: 700; font-size: 17px; color: var(--ict-text); display: flex; flex-direction: column; line-height: 1.5; }
.ict-info__name small { font-size: 12px; font-weight: 500; color: var(--ict-muted); }
.ict-info__addr { font-weight: 700; color: var(--ict-text); }
.ict-info__station { margin: 0 !important; padding: 0 !important; list-style: none; display: flex; flex-direction: column; gap: 4px; font-size: 13px; }
.ict-info__station li { position: relative; padding-left: 14px; margin: 0 !important; }
.ict-info__station li::before { content: ""; position: absolute; left: 0; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--ict-yellow); }
.ict-info__station strong { color: var(--ict-tel); }
.ict-info__map { width: 100%; border-radius: 14px; border: 1px solid #EFE6D8; margin-top: 4px; }

@media (max-width: 959px) {
	.ict--after { margin-top: 44px; }
	.ict-pc { display: none; }
	.ict-softs, .ict-info { grid-template-columns: 1fr; gap: 12px; }
	.ict-info__card--access { display: flex; }
	.ict-soft { padding: 18px; }
	.ict-faq__item summary { padding: 14px; font-size: 14.5px; gap: 10px; }
	.ict-faq__a { padding: 0 14px 14px; gap: 10px; }
	.ict-faq__a p { font-size: 14px; padding: 10px 12px; }
	.ict-contact { padding: 26px 14px; border-radius: 24px; }
	.ict-ways { grid-template-columns: 1fr; }
	.ict-form { padding: 18px 12px 12px; border-radius: 18px; }
	.ict-form dl.contact7 { grid-template-columns: 1fr; }
	.ict-form dl.contact7 dt { border-bottom: none; padding: 14px 14px 4px; background: #FFFFFF; }
	.ict-form dl.contact7 dd { padding: 4px 14px 14px; }
}

/* フォーム:Contact Form 7 が自動で入れる段落の余白を詰める */
.ict-form dl.contact7 dt p, .ict-form dl.contact7 dd p { margin: 0 !important; padding: 0 !important; }
.ict-form dl.contact7 dt p { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 0; }
.ict-form dl.contact7 br { display: none; }
