/* =========================================================
   インタビュー（トップのカード／一覧／詳細）
   ・テーマの「* { font-size / font-family / line-height }」「.content p」等に負けないよう html body で優先度を上げる
   ========================================================= */
html body .ec-iv-top, html body .ec-iv {
	--iv-navy: #170e03;
	--iv-navy2: #ce4b01;
	--iv-orange: #ce4b01;
	--iv-bg: #f7f4f1;
	--iv-line: #e6e0da;
	--iv-text: #222;
	--iv-muted: #66707c;
	font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
	font-size: 16px; line-height: 1.8; color: var(--iv-text); letter-spacing: .03em;
}
html body .ec-iv-top *, html body .ec-iv * { box-sizing: border-box; font-size: inherit; font-family: inherit; line-height: inherit; letter-spacing: inherit; }
html body .ec-iv-top a, html body .ec-iv a { color: inherit; text-decoration: none; }
html body .ec-iv-top img, html body .ec-iv img { display: block; max-width: 100%; height: auto; }
html body .ec-iv-pc { display: inline; }

/* ---------- トップのセクション（全幅） ---------- */
html body .ec-iv-top { width: 100%; background: var(--iv-bg); padding: 100px 0 110px; margin: 0 0 100px; }
html body .ec-iv-wrap { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
html body .ec-iv-en { margin: 0 0 6px; text-align: center; font-family: "Jost", "Helvetica Neue", Arial, sans-serif; font-size: 15px; font-weight: 500; letter-spacing: .28em; color: var(--iv-orange); }
html body .ec-iv-h2 { margin: 0 0 18px; text-align: center; font-size: 30px; font-weight: 700; line-height: 1.5; color: #170e03; }
html body .ec-iv-lead { margin: 0 auto 56px; max-width: 760px; text-align: center; font-size: 16px; line-height: 2; color: var(--iv-text); }

/* ---------- グループ見出し ---------- */
html body .ec-iv-group + .ec-iv-group { margin-top: 64px; }
html body .ec-iv-group__ttl {
	display: flex; align-items: center; gap: 16px; margin: 0 0 24px; padding: 0; border: 0; background: none;
	font-size: 22px; font-weight: 700; line-height: 1.4; color: var(--iv-navy);
}
html body .ec-iv-group__ttl::before { display: none; }
html body .ec-iv-group__ttl::after { content: ""; flex: 1; height: 1px; background: var(--iv-line); }
html body .ec-iv-group__ttl span {
	display: inline-block; padding: 3px 12px; border-radius: 3px; background: var(--iv-orange); color: #fff;
	font-family: "Jost", "Helvetica Neue", Arial, sans-serif; font-size: 12px; font-weight: 500; letter-spacing: .16em; line-height: 1.6;
}

/* ---------- カード ---------- */
html body .ec-iv-grid { display: grid; gap: 24px; }
html body .ec-iv-grid--client { grid-template-columns: repeat(2, minmax(0, 1fr)); }
html body .ec-iv-grid--staff { grid-template-columns: repeat(4, minmax(0, 1fr)); }
html body .ec-iv-card {
	display: flex; flex-direction: column; height: 100%;
	background: #fff; border-radius: 10px; overflow: hidden;
	box-shadow: 0 1px 2px rgba(14, 44, 92, .06);
	transition: transform .3s ease, box-shadow .3s ease;
}
html body .ec-iv-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(14, 44, 92, .12); }
html body .ec-iv-card__img { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #e8edf2; }
html body .ec-iv-card__img img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; transition: transform .5s ease; }
html body .ec-iv-card:hover .ec-iv-card__img img { transform: scale(1.04); }
html body .ec-iv-card__body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
html body .ec-iv-card__job {
	align-self: flex-start; margin-bottom: 12px; padding: 2px 10px; border: 1px solid var(--iv-navy2); border-radius: 3px;
	font-size: 12px; font-weight: 700; line-height: 1.6; color: var(--iv-navy2); letter-spacing: .06em;
}
html body .ec-iv-card__catch { display: block; margin-bottom: 14px; font-size: 15px; font-weight: 700; line-height: 1.75; color: var(--iv-navy); }
html body .ec-iv-card__catch::before { content: "“"; margin-right: 2px; color: var(--iv-orange); font-family: Georgia, serif; font-weight: 400; }
html body .ec-iv-card__person { display: block; font-size: 15px; font-weight: 700; line-height: 1.5; }
html body .ec-iv-card__person small { margin-left: 8px; font-size: 12px; font-weight: 400; color: var(--iv-muted); }
html body .ec-iv-card__place { display: block; margin-top: 4px; font-size: 12px; line-height: 1.6; color: var(--iv-muted); }
html body .ec-iv-card__more {
	display: flex; align-items: center; justify-content: flex-end; gap: 6px; margin-top: auto; padding-top: 16px;
	font-size: 13px; font-weight: 700; color: var(--iv-navy2);
}
html body .ec-iv-card__more svg { width: 16px; height: 16px; transition: transform .25s ease; }
html body .ec-iv-card:hover .ec-iv-card__more svg { transform: translateX(4px); }

/* お取引先様カードは横長（写真左） */
html body .ec-iv-card--client { flex-direction: row; }
html body .ec-iv-card--client .ec-iv-card__img { flex: 0 0 44%; aspect-ratio: auto; min-height: 240px; }
html body .ec-iv-card--client .ec-iv-card__img img { object-position: center; }
html body .ec-iv-card--client .ec-iv-card__body { padding: 26px 28px; }
html body .ec-iv-card--client .ec-iv-card__catch { font-size: 16px; }

/* ---------- ボタン ---------- */
html body .ec-iv-btnwrap { margin: 56px 0 0; text-align: center; }
html body .ec-iv-btn {
	display: inline-flex; align-items: center; justify-content: center; min-width: 300px; min-height: 58px; padding: 0 32px;
	border-radius: 6px; background: var(--iv-orange); color: #fff !important;
	font-size: 16px; font-weight: 700; letter-spacing: .06em; transition: background-color .25s ease;
}
html body .ec-iv-btn:hover { background: #a83c00; }
html body .ec-iv-btn--sub { min-width: 260px; min-height: 52px; font-size: 15px; background: #fff; color: var(--iv-orange) !important; border: 1px solid var(--iv-orange); }
html body .ec-iv-btn--sub:hover { background: var(--iv-orange); color: #fff !important; }
html body .ec-iv-group .ec-iv-btnwrap { margin-top: 28px; }

/* =========================================================
   一覧・詳細ページ共通
   ========================================================= */
html body.ec-iv-page #sidebar { display: none !important; }
html body.ec-iv-page #main { width: 100% !important; max-width: none !important; float: none !important; }
html body .ec-iv { max-width: 1000px; margin: 0 auto; padding: 0 0 20px; }
html body .ec-iv-archive { max-width: none; }
html body .ec-iv-archive .ec-iv-lead { margin-bottom: 56px; }
html body .ec-iv-archive .ec-iv-card { box-shadow: 0 0 0 1px var(--iv-line); }
html body .ec-iv-archive .ec-iv-grid--staff { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
html body .ec-iv-note { margin: 40px 0 0; font-size: 12px; color: var(--iv-muted); text-align: center; }
html body.ec-iv-page .ec-iv-article .entry-content > .ec-iv h2.h2-simple { margin-bottom: 20px; }

/* ---------- 詳細：ヒーロー ---------- */
html body .ec-iv-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; align-items: center; margin-bottom: 64px; }
html body .ec-iv-hero__img { border-radius: 12px; overflow: hidden; background: var(--iv-bg); }
html body .ec-iv-hero__img img { width: 100%; height: auto; }
html body .ec-iv-hero__label { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 18px; font-size: 13px; font-weight: 700; color: var(--iv-navy2); letter-spacing: .1em; }
html body .ec-iv-hero__label span { padding: 2px 10px; border-radius: 3px; background: var(--iv-orange); color: #fff; font-size: 12px; letter-spacing: .06em; }
html body .ec-iv-hero__catch { margin: 0 0 24px; font-size: 24px; font-weight: 700; line-height: 1.65; color: var(--iv-navy); }
html body .ec-iv-hero__name { margin: 0; padding: 0; border: 0; background: none; font-size: 20px; font-weight: 700; line-height: 1.5; color: var(--iv-text); }
html body .ec-iv-hero__name::before, html body .ec-iv-hero__name::after { display: none; }
html body .ec-iv-hero__name small { margin-left: 10px; font-size: 14px; font-weight: 400; color: var(--iv-muted); }
html body .ec-iv-hero__place { margin: 6px 0 0; font-size: 14px; color: var(--iv-muted); }
html body .ec-iv-hero__note { margin: 20px 0 0; padding-top: 14px; border-top: 1px solid var(--iv-line); font-size: 12px; line-height: 1.7; color: var(--iv-muted); }

/* ---------- 詳細：本文（見出し2＝質問） ---------- */
html body .ec-iv-body { max-width: 820px; margin: 0 auto; counter-reset: ivq; }
html body .ec-iv-body h2 {
	position: relative; counter-increment: ivq;
	margin: 56px 0 20px; padding: 0 0 14px 58px; border: 0; border-bottom: 1px solid var(--iv-line); background: none;
	font-size: 20px; font-weight: 700; line-height: 1.6; color: var(--iv-navy);
}
html body .ec-iv-body h2:first-child { margin-top: 0; }
html body .ec-iv-body h2::before {
	content: "Q" counter(ivq); position: absolute; left: 0; top: 0;
	width: 44px; height: 44px; border-radius: 50%; background: var(--iv-orange); color: #fff;
	display: flex; align-items: center; justify-content: center;
	font-family: "Jost", "Helvetica Neue", Arial, sans-serif; font-size: 15px; font-weight: 500; line-height: 1; letter-spacing: 0;
}
html body .ec-iv-body h2::after { display: none; }
html body .ec-iv-body p { margin: 0 0 1.2em; font-size: 16px; line-height: 2; color: var(--iv-text); }

/* ---------- 詳細：CTA・関連 ---------- */
html body .ec-iv-cta { margin: 72px 0 0; padding: 44px 40px; border-radius: 12px; background: var(--iv-bg); text-align: center; }
html body .ec-iv-cta__ttl { margin: 0 0 10px; font-size: 22px; font-weight: 700; line-height: 1.5; color: var(--iv-navy); }
html body .ec-iv-cta__txt { margin: 0 0 24px; font-size: 15px; line-height: 1.9; }
html body .ec-iv-cta__btn { display: inline-flex; align-items: center; justify-content: center; min-width: 300px; min-height: 58px; padding: 0 32px; border-radius: 6px; color: #fff !important; font-size: 16px; font-weight: 700; transition: opacity .25s ease; }
html body .ec-iv-cta__btn:hover { opacity: .88; }
html body .ec-iv-cta__btn--navy { background: var(--iv-orange); }
html body .ec-iv-cta__btn--orange { background: var(--iv-orange); }
html body .ec-iv-more { margin-top: 72px; }
html body .ec-iv-more__ttl { margin: 0 0 24px; padding: 0; border: 0; background: none; font-size: 20px; font-weight: 700; color: var(--iv-navy); }
html body .ec-iv-more__ttl::before, html body .ec-iv-more__ttl::after { display: none; }
html body .ec-iv-more .ec-iv-grid--staff { grid-template-columns: repeat(3, minmax(0, 1fr)); }
html body .ec-iv-more .ec-iv-card { box-shadow: 0 0 0 1px var(--iv-line); }

/* =========================================================
   タブレット
   ========================================================= */
@media (max-width: 1024px) {
	html body .ec-iv-grid--staff { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	html body .ec-iv-grid--client { grid-template-columns: 1fr; }
	html body .ec-iv-hero { gap: 32px; }
}

/* =========================================================
   スマホ
   ========================================================= */
@media (max-width: 767px) {
	html body .ec-iv-pc { display: none; }
	html body .ec-iv-top { padding: 64px 0 72px; margin-bottom: 64px; }
	html body .ec-iv-h2 { font-size: 24px; }
	html body .ec-iv-lead { margin-bottom: 36px; font-size: 14px; text-align: left; }
	html body .ec-iv-group + .ec-iv-group { margin-top: 44px; }
	html body .ec-iv-group__ttl { font-size: 19px; gap: 10px; }

	/* お取引先様カード：縦並び */
	html body .ec-iv-card--client { flex-direction: column; }
	html body .ec-iv-card--client .ec-iv-card__img { flex: none; aspect-ratio: 16 / 9; min-height: 0; }
	html body .ec-iv-card--client .ec-iv-card__body { padding: 20px; }

	/* スタッフカード：横スクロール */
	html body .ec-iv-top .ec-iv-grid--staff, html body .ec-iv-more .ec-iv-grid--staff {
		display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
		margin: 0 -20px; padding: 4px 20px 16px; -webkit-overflow-scrolling: touch;
	}
	html body .ec-iv-top .ec-iv-grid--staff > .ec-iv-card, html body .ec-iv-more .ec-iv-grid--staff > .ec-iv-card { flex: 0 0 76%; scroll-snap-align: start; }
	html body .ec-iv-archive .ec-iv-grid--staff { grid-template-columns: 1fr; }

	html body .ec-iv-btn, html body .ec-iv-cta__btn { min-width: 0; width: 100%; }
	html body .ec-iv-btnwrap { margin-top: 36px; }

	html body .ec-iv-archive .ec-iv-lead { text-align: left; }
	html body .ec-iv-hero { grid-template-columns: 1fr; gap: 24px; margin-bottom: 44px; }
	html body .ec-iv-hero__catch { font-size: 19px; margin-bottom: 18px; }
	html body .ec-iv-body h2 { margin-top: 44px; padding-left: 50px; font-size: 17px; }
	html body .ec-iv-body h2::before { width: 38px; height: 38px; font-size: 13px; }
	html body .ec-iv-body p { font-size: 15px; }
	html body .ec-iv-cta { padding: 32px 20px; }
	html body .ec-iv-cta__ttl { font-size: 18px; }
	html body .ec-iv-cta__txt { text-align: left; font-size: 14px; }
}
