@charset "utf-8";
/* ==========================================================
   新TOP（top-v2）専用CSS
   - page-top-v2.php でだけ読み込む。既存のクラスは変更しない（新TOPの要素は .tv2- で始める）
   - スマホを基本にし、768px以上でPC用に組み替える
   - 1rem は既存テーマの設定に従う（PC 10px／768〜1000pxは画面幅に比例／SP 375pxで10px）
   - 書体：日本語 Zen Kaku Gothic New 500（本文）・700（見出し）、英字 ITC Avant Garde Gothic Pro
   ========================================================== */

.tv2 {
	--tv2-bg: #F6F6F8;
	--tv2-white: #FFFFFF;
	--tv2-yellow: var(--mainColor, #FEF226);
	--tv2-black: #000000;
	--tv2-sub: #4A4A50;
	--tv2-placeholder: #E4E4EA;
	--tv2-en: itc-avant-garde-gothic-pro, "itc-avant-garde-gothic-pro", "Poppins", sans-serif;
	--tv2-ja: "Zen Kaku Gothic New", sans-serif;
	--tv2-gutter: 2.4rem;
	--tv2-ease-out: cubic-bezier(0.23, 1, 0.32, 1);
	position: relative;
	overflow-x: clip;
	background-color: var(--tv2-bg);
	color: var(--tv2-black);
	font-family: var(--tv2-ja);
	font-weight: 500;
	font-size: 1.5rem;
	line-height: 1.85;
}
.tv2 *,
.tv2 *::before,
.tv2 *::after { box-sizing: border-box; }
/* 初期化は :where() で詳細度を0にする（各要素に付けた余白を打ち消さないため） */
:where(.tv2) a { color: inherit; text-decoration: none; }
:where(.tv2) img { max-width: 100%; height: auto; vertical-align: bottom; }
:where(.tv2) ul { list-style: none; margin: 0; padding: 0; }
:where(.tv2) :is(p, h1, h2, h3) { margin: 0; }
.tv2 .visually-hidden {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.tv2 :focus-visible { outline: 3px solid var(--tv2-black); outline-offset: 3px; }
.tv2 .tv2-only-pc { display: none; }

@media (min-width: 768px) {
	/* 左右の余白：120px か（画面幅−1200px）÷2 の大きい方。FV以外のコンテンツは1200pxで中央に置き、背景だけ横に伸ばす */
	.tv2 { font-size: 1.6rem; line-height: 1.9; --tv2-gutter: max(12rem, calc((100% - 120rem) / 2)); }
	.tv2 .tv2-only-pc { display: flex; }
	.tv2 .tv2-only-sp { display: none !important; }
}

/* ----------------------------------------------------------
   共通：見出し
   ---------------------------------------------------------- */
.tv2-heading { display: flex; flex-direction: column; gap: 1.4rem; position: relative; flex-shrink: 0; }
.tv2-heading__ja {
	display: flex; align-items: center; gap: 1rem;
	font-size: 1.2rem; font-weight: 700; line-height: 1; letter-spacing: 0.12em;
}
.tv2-heading__ja::before { content: ""; width: 0.8rem; height: 0.8rem; border-radius: 50%; background: currentColor; flex: none; }
.tv2-heading__en {
	font-family: var(--tv2-en); font-weight: 700; font-size: 4.8rem; line-height: 1.2; letter-spacing: 0.02em;
	white-space: nowrap; /* 「WORK / S」のような単語途中の折り返しを防ぐ */
}
@media (min-width: 768px) {
	.tv2-heading { gap: 2rem; }
	.tv2-heading__ja { font-size: 1.4rem; }
	.tv2-heading__en { font-size: 6.4rem; }
}

/* 見出しの初回表示モーション（JSが動く環境だけ。reduced-motion時は即時表示） */
.tv2-heading::after {
	/* 英字見出しの文字の高さに合わせた帯（文字色と同じ色）。英字の行の上下中央に置く（行の高さ 1.2em、帯 0.8em） */
	content: ""; position: absolute; left: 0; top: auto; bottom: 0; width: 100%;
	font-size: 4.8rem; height: 0.8em; margin-bottom: 0.2em;
	background: currentColor; transform: scaleX(0); transform-origin: left center; pointer-events: none;
}
@media (min-width: 768px) { .tv2-heading::after { font-size: 6.4rem; } }
@media (prefers-reduced-motion: no-preference) {
	.tv2-js .tv2-heading:not(.is-shown) .tv2-heading__ja,
	.tv2-js .tv2-heading:not(.is-shown) .tv2-heading__en { opacity: 0; }
	.tv2-js .tv2-heading.is-animating::after { animation: tv2-line 1s var(--tv2-ease-out) forwards; }
	.tv2-js .tv2-heading.is-shown .tv2-heading__ja,
	.tv2-js .tv2-heading.is-shown .tv2-heading__en { animation: tv2-fade 0.5s ease 0.45s backwards; }
}
@keyframes tv2-line {
	0% { transform: scaleX(0); transform-origin: left center; }
	45% { transform: scaleX(1); transform-origin: left center; }
	46% { transform: scaleX(1); transform-origin: right center; }
	100% { transform: scaleX(0); transform-origin: right center; }
}
@keyframes tv2-fade { from { opacity: 0; } to { opacity: 1; } }

/* 見出し横の操作部（PC）：英字見出しの縦の中心にそろえる */
.tv2-sechead { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 2.4rem; } /* 幅が足りないときは操作部を見出しの下へ回す */
.tv2-sechead__controls { align-items: center; gap: 2.4rem; padding-bottom: 1.5rem; margin-left: auto; }

/* ----------------------------------------------------------
   共通：「もっと詳しく」型ボタン
   ---------------------------------------------------------- */
.tv2-more {
	display: inline-flex; align-items: center; gap: 2rem; padding: 0.4rem; border-radius: 1.2rem; white-space: nowrap;
	font-size: 1.8rem; font-weight: 700; letter-spacing: 0.08em; line-height: 1.5;
}
.tv2-more__label {
	padding-bottom: 0.6rem;
	background-image: linear-gradient(var(--tv2-black), var(--tv2-black));
	background-size: 100% 2px; background-position: left bottom; background-repeat: no-repeat;
	transition: background-size 0.35s var(--tv2-ease-out);
}
.tv2-more__circle {
	display: inline-flex; align-items: center; justify-content: center; flex: none;
	width: 5.6rem; height: 5.6rem; border-radius: 50%; background: var(--tv2-black); color: var(--tv2-white); overflow: hidden;
}
.tv2-more__chev { width: 1rem; height: auto; }
@media (hover: hover) {
	.tv2-more:hover .tv2-more__label { background-size: 0 2px; background-position: right bottom; }
	.tv2-more:hover .tv2-more__chev { animation: tv2-arrow 0.5s cubic-bezier(0.215, 0.61, 0.355, 1) forwards; }
}
.tv2-more:focus-visible { outline: 3px solid var(--tv2-black); outline-offset: 2px; }
@keyframes tv2-arrow {
	0% { transform: translateX(0); opacity: 1; }
	50% { transform: translateX(160%); opacity: 0; }
	50.1% { transform: translateX(-160%); opacity: 0; }
	100% { transform: translateX(0); opacity: 1; }
}

/* 共通：黒いボタン（問い合わせ） */
.tv2-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 1.2rem;
	min-height: 5.2rem; padding: 0 3.2rem; border-radius: 999px;
	background: var(--tv2-black); color: var(--tv2-white) !important;
	font-size: 1.5rem; font-weight: 700; letter-spacing: 0.04em; transition: background-color 0.2s;
}
@media (hover: hover) { .tv2-btn:hover { background: #333333; } }
.tv2-btn:focus-visible { outline: 3px solid var(--tv2-black); outline-offset: 3px; box-shadow: 0 0 0 2px var(--tv2-white); }

/* 共通：テキストリンク（詳しく見る） */
.tv2-textlink { display: inline-flex; align-items: center; gap: 0.8rem; padding: 1rem 0.4rem; font-size: 1.6rem; font-weight: 700; }
.tv2-textlink__icon { display: inline-flex; align-items: center; justify-content: center; width: 2.8rem; height: 2.8rem; border-radius: 50%; background: var(--tv2-black); color: var(--tv2-white); font-size: 1.3rem; }

/* 共通：再生・停止ボタン */
.tv2-playtoggle {
	display: inline-flex; align-items: center; justify-content: center;
	width: 4.4rem; height: 4.4rem; padding: 0; border: 0; border-radius: 50%;
	background: var(--tv2-black); color: var(--tv2-white); cursor: pointer;
}
.tv2-playtoggle:focus-visible { outline: 3px solid var(--tv2-black); outline-offset: 3px; box-shadow: 0 0 0 2px var(--tv2-white); }

/* 共通：カード・ラベル・タグ */
.tv2-card {
	display: flex; flex-direction: column; gap: 1.2rem;
	padding: 2.8rem 2.4rem; border: 2px solid var(--tv2-black); border-radius: 2.4rem; background: var(--tv2-white);
}
.tv2-card__title { font-size: 2rem; font-weight: 700; line-height: 1.5; padding-bottom: 1.6rem; border-bottom: 2px solid var(--tv2-black); }
.tv2-card__text { font-size: 1.5rem; line-height: 1.85; }
.tv2-label { font-family: var(--tv2-en); font-weight: 700; font-size: 1.4rem; line-height: 1; letter-spacing: 0.12em; }
.tv2-label span { background: linear-gradient(transparent 35%, var(--tv2-yellow) 35%); padding: 0 0.1rem; }
.tv2-tags { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.tv2-tags--end { justify-content: flex-start; }
.tv2-tags li {
	padding: 0.5rem 1.2rem; border: 2px solid var(--tv2-black); border-radius: 999px; background: var(--tv2-white);
	font-size: 1.2rem; line-height: 1.5; letter-spacing: 0.04em;
}
@media (min-width: 768px) {
	.tv2-card { gap: 1.6rem; padding: 4.8rem; border-radius: 3.2rem; }
	.tv2-card__title { font-size: 2.4rem; }
	.tv2-card__text { font-size: 1.6rem; line-height: 1.9; }
	.tv2-tags--end { justify-content: flex-end; }
}

/* 共通：イラスト（装飾） */
.tv2-illust { position: absolute; z-index: 5; pointer-events: none; height: auto; }

/* ----------------------------------------------------------
   FV
   ---------------------------------------------------------- */
.tv2-fv { position: relative; padding: 0; }
/* SPの余白は現行サイトと同じ（文字のまとまりの上 3.5rem・左右 3.2rem・下 3.9rem。その直後から画像） */
.tv2-fv__copy { position: relative; z-index: 2; padding: 3.5rem 3.2rem 3.9rem; }
.tv2-fv__en {
	font-family: var(--tv2-en); font-weight: 700; font-size: 4rem; line-height: 1.14; letter-spacing: -0.02em; /* 行間は現行サイトと同じ（SP 1.14／PC 1.22） */
	white-space: nowrap; /* 「TECHNOLOGY +」を1行に保つ（SPは画面幅に比例して縮む） */
}
.tv2-fv__title { margin-top: 1.5rem; font-size: 2.2rem; font-weight: 700; line-height: 1.6; letter-spacing: 0.04em; }
/* 筆記体「Awalabo」
   SP：現行サイトと同じ置き方（日本語コピーの高さの95%の位置・コピーの左から10.8rem、9.2rem、行の高さ0.444、中心を基準に-15°）。
       top 20.8rem ＝ 上の余白3.5＋英字2行9.12＋間1.5＋日本語2行7.04×0.95
   PC：Figmaの位置・角度（左上を基準に回転） */
.tv2-fv__cursive {
	position: absolute; left: 14rem; top: 20.8rem; z-index: 3; margin: 0; white-space: nowrap;
	font-family: "Reenie Beanie", cursive; font-size: 9.2rem; line-height: 0.4444; letter-spacing: -0.05em; /* 文字間は現行サイトと同じ（先頭のAだけ -0.1em） */
	transform: rotate(-15deg); pointer-events: none;
}
.tv2-fv__cursive > span { letter-spacing: -0.1em; }
.tv2-fv__visual { position: relative; margin-top: 0; }
.tv2-fv__visual .mv_slide_wrap { position: relative; }
/* SP：停止・再生ボタンはドット列の左隣（右隣はSCROLLと、3つ目のドットの押せる範囲と重なるため。ドットの押せる範囲＝中央から最大38pxの外側に置く）。縦の中心はドットとそろえる */
.tv2-fv__toggle { position: absolute; left: auto; right: calc(50% + 42px); bottom: calc(4.5rem + 0.18rem - 22px); width: 44px; height: 44px; z-index: 101; }
.tv2-fv__toggle .tv2-icon-play { display: none; }
.tv2-fv__toggle.is-paused .tv2-icon-play { display: block; }
.tv2-fv__toggle.is-paused .tv2-icon-pause { display: none; }
/* SCROLL：現行サイトと同じ（FVの下端に重ねて置く。SPは右から 10.75%＋2.4rem。英字1.6rem、線の長さ8rem・間1.5rem） */
.tv2-fv__scroll {
	position: absolute; right: calc(10.75% + 2.4rem); bottom: 0; transform: translateY(25%); z-index: 3;
	display: flex; flex-direction: column; align-items: center; gap: 1.5rem;
	writing-mode: vertical-rl; font-family: var(--tv2-en); font-weight: 700; font-size: 1.6rem; line-height: 1; letter-spacing: 0.04em;
}
.tv2-fv__scroll::after { content: ""; width: 1px; height: 8rem; background: var(--tv2-black); }

@media (min-width: 768px) {
	/* PCのFVは現行サイトと同じく --custom-rem（1440pxで10px。1441px以上・1200px以下は画面幅に比例）で、文字・位置・ボタンを画像と一緒に拡大縮小する */
	.tv2-fv { --fr: var(--custom-rem, 1rem); padding: 0; min-height: calc(max(min(var(--fr) * 80, 100vh), var(--fr) * 64) + var(--fr) * 4); } /* 画像の高さ（現行：80・画面の高さまで・最小64）＋4 */
	.tv2-fv__copy { position: absolute; left: calc(var(--fr) * 12); top: calc(var(--fr) * 15); padding: 0; max-width: calc(var(--fr) * 62); min-height: 0; }
	.tv2-fv__en { font-size: calc(var(--fr) * 8); line-height: 1.22; }
	.tv2-fv__title { margin-top: calc(var(--fr) * 4); font-size: calc(var(--fr) * 3.2); line-height: 1.5; }
	/* 筆記体：英字の行間を現行に合わせた分（+3.5）だけ下げ、見出しとの位置関係を保つ */
	.tv2-fv__cursive { left: calc(var(--fr) * 18); top: calc(var(--fr) * 33.9); font-size: calc(var(--fr) * 14); line-height: 1; transform-origin: 0 0; transform: rotate(-13deg); }
	.tv2-fv__visual { margin-left: auto; }
	/* 停止・再生ボタン：ドット（下端から 4.5、直径 1.8）と縦の中心をそろえ、ドット列の右に置く。大きさは44×44で固定 */
	.tv2-fv__toggle {
		width: 44px; height: 44px; right: auto;
		left: calc(50% + var(--fr) * 2.7 + 12px + var(--fr) * 2.4);
		bottom: calc(var(--fr) * 4.5 + var(--fr) * 0.9 - 22px);
	}
	.tv2-fv__scroll { right: calc(var(--fr) * 17.6); }
}

/* ----------------------------------------------------------
   ABOUT
   ---------------------------------------------------------- */
.tv2-about { position: relative; padding: 9.6rem var(--tv2-gutter) 9.6rem; }
.tv2-about__intro { display: flex; flex-direction: column; gap: 3.2rem; }
.tv2-about__title { display: flex; flex-direction: row-reverse; justify-content: flex-start; gap: 3.1rem; }
.tv2-about__en { writing-mode: vertical-rl; font-family: var(--tv2-en); font-weight: 700; font-size: 4.8rem; line-height: 0.85; letter-spacing: 0; }
/* 縦書きの日本語見出し：現行サイト（.about_ex--block--ttl .ttl_mid）と同じ文字間・行間 */
.tv2-about__ja { writing-mode: vertical-rl; font-size: 2.6rem; font-weight: 700; line-height: 1.8; letter-spacing: 0.3em; }
.tv2-about__lead { font-size: 1.6rem; line-height: 1.9; }
.tv2-about__pillars { margin-top: 2.4rem; display: flex; flex-direction: column; gap: 1rem; }
.tv2-about__pillars li { display: flex; align-items: center; gap: 1.2rem; font-size: 1.5rem; font-weight: 700; }
.tv2-about__num { font-family: var(--tv2-en); font-size: 1.4rem; font-weight: 700; flex-shrink: 0; white-space: nowrap; } /* F-05：番号「01」を2行に割らない */
.tv2-about__cards { margin-top: 3.2rem; display: flex; flex-direction: column; gap: 3.2rem; }
.tv2-illust--01 { width: 9.7rem; right: 6rem; bottom: -3rem; }

@media (min-width: 768px) {
	.tv2-about { padding: 16rem var(--tv2-gutter); }
	.tv2-about__intro { flex-direction: row-reverse; justify-content: space-between; align-items: flex-start; max-width: 108rem; margin-inline: auto; padding: 0 10rem; gap: 6rem; }
	.tv2-about__title { gap: 3rem; flex: none; }
	.tv2-about__en { font-size: 6.4rem; }
	.tv2-about__ja { font-size: 3.2rem; line-height: 1.62; letter-spacing: 0.24em; }
	.tv2-about__body { max-width: 60rem; }
	.tv2-about__lead { line-height: 2; }
	.tv2-about__pillars { margin-top: 3.2rem; gap: 1.2rem; }
	.tv2-about__pillars li { font-size: 1.8rem; gap: 1.6rem; }
	.tv2-about__num { font-size: 1.6rem; }
	.tv2-about__cards { margin-top: 8rem; flex-direction: row; gap: 3.2rem; }
	.tv2-about__card { flex: 1 1 0; }
	.tv2-illust--01 { width: 12.3rem; left: 61.5%; right: auto; bottom: -1.8rem; }
}

/* ----------------------------------------------------------
   WORKS（黄色のパネル。カードは画面の右端まで）
   ---------------------------------------------------------- */
.tv2-stack { position: relative; }
.tv2-works { position: relative; z-index: 2; }
.tv2-works__panel { position: relative; padding: 9.6rem 0 9.6rem var(--tv2-gutter); }
/* 黄色の背景：SPは全幅、PCは「画面の中央＋480px」まで（1440pxで幅1200px）。左端から伸ばす */
.tv2-works__panel::before {
	content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 100%; z-index: 0;
	background: var(--tv2-yellow); border-radius: 6.4rem 0.8rem 6.4rem 0.8rem;
}
.tv2-works__panel > * { position: relative; z-index: 1; }
.tv2-works .tv2-sechead { padding-right: var(--tv2-gutter); }
.tv2-works__more { margin-top: 3.2rem; padding-right: var(--tv2-gutter); }
@media (min-width: 768px) {
	.tv2-works__panel { padding: 14rem var(--tv2-gutter); }
	.tv2-works__panel::before { width: calc(50% + 48rem); border-radius: 12.8rem 1.6rem 12.8rem 1.6rem; }
	/* 見出し横の操作部・進行状況は黄色の右端から120px内側まで（Figmaどおり） */
	.tv2-works .tv2-sechead,
	.tv2-works .tv2-carousel-foot { padding-right: 24rem; }
	/* カードは画面の右端まで */
	.tv2-works .tv2-carousel { margin-right: calc(-1 * var(--tv2-gutter)); }
}

/* カルーセル（WORKS・INSIGHTS共通）：横スクロール＋スナップ。自動再生なし */
.tv2-carousel {
	margin-top: 2.8rem; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
	scrollbar-width: none; -webkit-overflow-scrolling: touch; padding: 0.4rem 0 0.4rem 0.4rem; margin-left: -0.4rem;
}
.tv2-carousel::-webkit-scrollbar { display: none; }
.tv2-carousel:focus-visible { outline: 3px solid var(--tv2-black); outline-offset: 2px; }
/* 最後のカードも左端にそろえられるよう、末尾に「表示幅−カード1枚分」の余白を取る（ループ表示のため） */
.tv2-carousel__track { display: flex; gap: 1.6rem; width: max-content; padding-right: calc(100% - 30rem + 1rem); }
.tv2-carousel__item { width: 30rem; scroll-snap-align: start; flex: none; }
@media (min-width: 768px) {
	.tv2-carousel { margin-top: 4.8rem; }
	.tv2-carousel__track { gap: 3.2rem; padding-right: calc(100% - 38rem + 1rem); }
	.tv2-carousel__item { width: 38rem; }
}
@media (prefers-reduced-motion: no-preference) { .tv2-carousel { scroll-behavior: smooth; } }

/* WORKSカード（INSIGHTSカードと共通の作り） */
.tv2-wcard {
	display: flex; flex-direction: column; gap: 1.4rem; height: 100%;
	padding: 1.6rem 1.6rem 2.4rem; border: 2px solid var(--tv2-black); border-radius: 2.4rem; background: var(--tv2-white);
}
.tv2-wcard__thumb { display: block; aspect-ratio: 3 / 2; border-radius: 1.6rem; overflow: hidden; background: var(--tv2-placeholder); }
.tv2-wcard__thumb img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform 0.4s var(--tv2-ease-out); }
.tv2-wcard__cat {
	align-self: flex-start; padding: 0.5rem 1.2rem; border-radius: 999px; background: #222222; color: var(--tv2-white);
	font-size: 1.2rem; font-weight: 700; line-height: 1.5; letter-spacing: 0.04em;
}
.tv2-wcard__title {
	font-size: 1.8rem; font-weight: 700; line-height: 1.75; /* 下線（文字の下0.25em）が次の行と重ならない行間 */
	min-height: 3.5em; /* 1行でも2行分の高さを確保（A-025。行間1.75×2行） */
}
.tv2-wcard__line {
	background: linear-gradient(currentColor, currentColor) left bottom / 0 1px no-repeat;
	padding-bottom: 0.25em; transition: background-size 0.4s cubic-bezier(0.215, 0.61, 0.355, 1);
	-webkit-box-decoration-break: slice; box-decoration-break: slice;
}
.tv2-wcard__scope { font-size: 1.4rem; line-height: 1.7; min-height: 3.4em; }
@media (hover: hover) {
	.tv2-wcard:hover .tv2-wcard__thumb img { transform: scale(1.04); }
	/* タイトルの下線：マウスを乗せると左から右へ伸びる（細い線のまま。2行のときは1行目から順に） */
	.tv2-wcard:hover .tv2-wcard__line { background-size: 100% 1px; }
	/* 既存CSSの「リンクにマウスを乗せると半透明（0.7）」をWORKS・INSIGHTSのカードでは使わない */
	.tv2 a.tv2-wcard:hover { opacity: 1; }
}
.tv2-wcard:focus-visible { outline: 3px solid var(--tv2-black); outline-offset: 3px; }

/* カルーセルの矢印・進行状況 */
.tv2-arrows { display: flex; gap: 1.2rem; }
.tv2-arrow {
	display: inline-flex; align-items: center; justify-content: center; width: 5.2rem; height: 5.2rem; padding: 0;
	border: 2px solid var(--tv2-black); border-radius: 50%; background: var(--tv2-white); color: var(--tv2-black); cursor: pointer;
	transition: background-color 0.2s;
}
@media (hover: hover) { .tv2-arrow:not(:disabled):hover { background: var(--tv2-yellow); } }
.tv2-arrow:disabled { border-color: #C8C8CE; background: var(--tv2-bg); color: #9A9AA0; cursor: default; }
.tv2-arrow:focus-visible { outline: 3px solid var(--tv2-black); outline-offset: 3px; }
.tv2-carousel-foot { display: flex; align-items: center; gap: 1.6rem; margin-top: 2.8rem; padding-right: var(--tv2-gutter); }
.tv2-progress { display: flex; align-items: center; gap: 2.4rem; flex: 1; }
.tv2-progress__bar { position: relative; flex: 1; height: 2px; background: rgba(0, 0, 0, 0.15); }
/* 黒いラインはグレーの全体の「1/枚数」の長さで、表示中の位置へ動く（幅と位置はJSで設定） */
.tv2-progress__fill { position: absolute; left: 0; top: 0; height: 100%; width: 16.6667%; background: var(--tv2-black); transition: left 0.3s ease; }
.tv2-progress__count { font-family: var(--tv2-en); font-weight: 700; font-size: 1.2rem; letter-spacing: 0.04em; color: var(--tv2-sub); white-space: nowrap; }
@media (max-width: 767px) { .tv2-progress__count { display: none; } }
@media (min-width: 768px) { .tv2-carousel-foot { margin-top: 4.8rem; padding-right: 12rem; } }

/* ----------------------------------------------------------
   INTERVIEW（初回公開時は非表示。出力されたときの見た目）
   ---------------------------------------------------------- */
.tv2-interview { position: relative; z-index: 1; margin-top: -4.8rem; padding: 14.4rem var(--tv2-gutter) 9.6rem; background: var(--tv2-white); }
.tv2-interview__list { margin-top: 3.2rem; display: flex; flex-direction: column; gap: 1.6rem; } /* 見出し下の余白はWORKSと同じ（SP 3.2rem／PC 5.2rem） */
.tv2-interview .tv2-only-sp { margin-top: 3.2rem; }
@media (min-width: 768px) {
	.tv2-interview { margin-top: -12rem; padding: 24rem var(--tv2-gutter) 14rem; }
	.tv2-interview__list { margin-top: 5.2rem; flex-direction: row; gap: 3.2rem; }
	.tv2-interview__list > li { flex: 1 1 0; }
}

/* ----------------------------------------------------------
   SERVICE
   ---------------------------------------------------------- */
.tv2-service { position: relative; padding: 9.6rem var(--tv2-gutter); }
.tv2-service__head { display: flex; flex-direction: column; align-items: flex-start; gap: 2.8rem; }
.tv2-service__lead { font-size: 1.5rem; line-height: 1.85; color: var(--tv2-sub); }
.tv2-service__list { margin-top: 4.8rem; display: flex; flex-direction: column; gap: 4.8rem; }
.tv2-scard {
	display: flex; flex-direction: column; gap: 1.4rem;
	padding: 1.6rem 1.6rem 2.8rem; border: 2px solid var(--tv2-black); border-radius: 2.4rem; background: var(--tv2-white);
}
.tv2-scard__img { margin: 0; aspect-ratio: 3 / 2; border-radius: 1.6rem; overflow: hidden; background: var(--tv2-placeholder); }
.tv2-scard__img img { width: 100%; height: 100%; object-fit: cover; }
.tv2-scard__body { display: flex; flex-direction: column; align-items: flex-start; gap: 1.4rem; }
.tv2-scard__title { display: flex; align-items: center; gap: 1.2rem; font-size: 2rem; font-weight: 700; line-height: 1.5; }
.tv2-scard__num { font-family: var(--tv2-en); font-size: 1.4rem; font-weight: 700; letter-spacing: 0.12em; background: linear-gradient(transparent 40%, var(--tv2-yellow) 40%); padding: 0 0.2rem; }
.tv2-scard__text { font-size: 1.5rem; line-height: 1.85; }
.tv2-illust--02 { width: 10.7rem; left: 18.2rem; top: -10.1rem; }
@media (min-width: 768px) {
	.tv2-service { display: flex; gap: 8rem; padding: 16rem var(--tv2-gutter); }
	.tv2-service__head { flex: 0 0 36rem; position: sticky; top: 12rem; align-self: flex-start; }
	.tv2-service__lead { font-size: 1.6rem; line-height: 1.9; }
	.tv2-service__list { margin-top: 0; flex: 1; gap: 3.2rem; }
	.tv2-scard { flex-direction: row; gap: 4.8rem; padding: 3.2rem; border-radius: 3.2rem; }
	.tv2-scard__img { flex: 0 0 36rem; align-self: flex-start; border-radius: 2rem; }
	.tv2-scard__body { gap: 1.6rem; }
	.tv2-scard__title { flex-direction: column; align-items: flex-start; gap: 1.6rem; font-size: 2.4rem; }
	.tv2-scard__text { font-size: 1.6rem; line-height: 1.9; }
	.tv2-illust--02 { width: 12.8rem; left: 40.3rem; top: -12rem; }
}
@media (min-width: 768px) and (max-width: 1100px) {
	.tv2-service { flex-direction: column; gap: 4.8rem; }
	.tv2-service__head { position: static; flex-basis: auto; }
	.tv2-scard__img { flex-basis: 28rem; }
}

/* ----------------------------------------------------------
   Visual Interlude（装飾。等速で横に流れる。停止・再生ボタン付き）
   ---------------------------------------------------------- */
/* 下の余白：スライド下端から次のセクションまで SP 9.6rem／PC 16rem（再生・停止ボタンの分を差し引く） */
.tv2-interlude { position: relative; padding: 0 0 3.6rem; }
.tv2-interlude__viewport { overflow: hidden; }
.tv2-interlude__track { display: flex; align-items: flex-end; width: max-content; }
.tv2-interlude__track .works_ex--slide--inner { display: flex !important; align-items: flex-end; padding: 0 0.7rem; }
.tv2-interlude__track .works_ex--slide--card.type_pc { width: 21.8rem; height: 14.9rem; }
.tv2-interlude__track .works_ex--slide--card.type_sp { width: 10.1rem; height: 19.2rem; }
.tv2-interlude__track .works_ex--slide--card.type_small { width: 12rem; height: 12rem; }
.tv2-interlude__track .works_ex--slide--card.type_sp_yoko { width: 16.1rem; height: 9.1rem; }
.tv2-interlude__track .works_ex--slide--card { border-radius: 1.4rem; }
.tv2-interlude__track .works_ex--slide--card img { border-radius: 1.4rem; border-width: 0.7rem; }
.tv2-interlude__controls { display: flex; justify-content: flex-end; gap: 0.8rem; margin-top: 1.6rem; padding: 0 var(--tv2-gutter); }
.tv2-playtoggle--small[aria-pressed="false"] { background: var(--tv2-white); color: var(--tv2-black); box-shadow: inset 0 0 0 2px var(--tv2-black); }
@media (min-width: 768px) {
	.tv2-interlude { padding: 0 0 9.2rem; }
	.tv2-interlude__track .works_ex--slide--inner { padding: 0 1.2rem; }
	.tv2-interlude__track .works_ex--slide--card.type_pc { width: 36.4rem; height: 24.8rem; }
	.tv2-interlude__track .works_ex--slide--card.type_sp { width: 16.8rem; height: 32rem; }
	.tv2-interlude__track .works_ex--slide--card.type_small { width: 20rem; height: 20rem; }
	.tv2-interlude__track .works_ex--slide--card.type_sp_yoko { width: 26.8rem; height: 15.2rem; }
	.tv2-interlude__track .works_ex--slide--card,
	.tv2-interlude__track .works_ex--slide--card img { border-radius: 2.4rem; }
	.tv2-interlude__track .works_ex--slide--card img { border-width: calc(1.2rem - 2px); }
	.tv2-interlude__controls { margin-top: 2.4rem; }
}
/* 動きはJSで速さを計算して付ける（data-running） */
.tv2-interlude__track[data-running] { animation: tv2-marquee var(--tv2-duration, 60s) linear infinite; }
.tv2-interlude__track[data-running="false"] { animation-play-state: paused; }
@keyframes tv2-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ----------------------------------------------------------
   INSIGHTS（初回公開時は非表示。出力されたときの見た目）
   ---------------------------------------------------------- */
.tv2-insights { position: relative; padding: 9.6rem 0 9.6rem var(--tv2-gutter); }
.tv2-insights::before { content: ""; position: absolute; inset: 0 0 0 var(--tv2-gutter); background: var(--tv2-yellow); border-radius: 0.8rem 6.4rem 0.8rem 6.4rem; z-index: 0; }
.tv2-insights > * { position: relative; z-index: 1; }
.tv2-insights .tv2-sechead { padding-right: var(--tv2-gutter); }
.tv2-acard__meta { display: flex; align-items: center; gap: 1.2rem; font-size: 1.2rem; }
.tv2-acard__meta time { font-family: var(--tv2-en); font-weight: 700; letter-spacing: 0.04em; color: var(--tv2-sub); }
.tv2-acard__cat { padding: 0.5rem 1.2rem; border: 2px solid var(--tv2-black); border-radius: 999px; font-weight: 700; }
.tv2-acard__thumb { aspect-ratio: 16 / 10; }
@media (min-width: 768px) {
	.tv2-insights { padding: 14rem 0 14rem var(--tv2-gutter); }
	/* 黄色の背景は「画面の中央−480px」から右端まで（1440pxで x240〜1440） */
	.tv2-insights::before { left: calc(50% - 48rem); border-radius: 1.6rem 12.8rem 1.6rem 12.8rem; }
	.tv2-insights .tv2-sechead,
	.tv2-insights .tv2-carousel-foot { padding-right: var(--tv2-gutter); }
	.tv2-insights .tv2-carousel-foot { padding-right: calc(var(--tv2-gutter) + 24rem); } /* 進行バーの長さをWORKSとそろえる（見出しの右余白は変えない） */
}

/* ----------------------------------------------------------
   CONTACT（写真背景＋白パネル）
   ---------------------------------------------------------- */
.tv2-contact { padding: 0 0 9.6rem; }
.tv2-insights + .tv2-contact { padding-top: 9.6rem; } /* INSIGHTSとの間もほかのセクション間と同じ余白に */
.tv2-contact__box { position: relative; overflow: hidden; border-radius: 6.4rem 0.8rem 6.4rem 0.8rem; background: #000; }
.tv2-contact__bg { position: absolute; inset: 0; }
.tv2-contact__bg img { width: 100%; height: 100%; object-fit: cover; }
.tv2-contact__box::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, 0.55); z-index: 1; } /* 最終検証Ver.1.3：0.45→0.55（写真の上の説明文を 4.5:1 以上に） */
.tv2-contact__inner { position: relative; z-index: 2; padding: 9.6rem 3.2rem 6.4rem; display: flex; flex-direction: column; gap: 4rem; }
.tv2-contact__copy { color: var(--tv2-white); }
.tv2-contact__title { font-family: var(--tv2-en); font-weight: 700; font-size: 4.8rem; line-height: 1; letter-spacing: 0.02em; }
.tv2-contact__lead { margin-top: 2rem; font-size: 1.8rem; font-weight: 700; line-height: 1.7; }
.tv2-contact__panel {
	display: flex; flex-direction: column; align-items: center; gap: 2rem; padding: 3.2rem 2.4rem;
	border-radius: 2.4rem; background: var(--tv2-white); text-align: center;
}
.tv2-contact__panel-title { font-size: 1.5rem; font-weight: 500; }
.tv2-contact__panel .tv2-btn { width: 100%; }
.tv2-contact__tel a { font-family: var(--tv2-en); font-weight: 700; font-size: 2rem; letter-spacing: 0.04em; display: inline-flex; align-items: center; min-height: 24px; } /* 押せる範囲を24px以上に（WCAG 2.5.8） */
.tv2-contact__note { font-size: 1.2rem; line-height: 1.7; color: var(--tv2-sub); }
@media (min-width: 768px) {
	.tv2-contact { padding: 0 0 12rem; }
	.tv2-insights + .tv2-contact { padding-top: 16rem; }
	.tv2-contact__box { border-radius: 12.8rem 1.6rem 12.8rem 1.6rem; min-height: 56rem; display: flex; align-items: center; }
	.tv2-contact__inner { width: 100%; max-width: 108rem; margin: 0 auto; padding: 8rem 4rem; flex-direction: row; align-items: center; justify-content: space-between; }
	.tv2-contact__title { font-size: 6.4rem; }
	.tv2-contact__lead { margin-top: 2.8rem; font-size: 2.2rem; }
	.tv2-contact__panel { width: 54rem; padding: 4.8rem 5.6rem; gap: 2.4rem; }
	.tv2-contact__panel-title { font-size: 1.6rem; }
	.tv2-contact__panel .tv2-btn { width: auto; min-width: 26rem; }
	.tv2-contact__note { font-size: 1.3rem; }
}

/* ----------------------------------------------------------
   FOOTER（新TOP用。サイト全体のFOOTERは切り替え時に調整）
   ---------------------------------------------------------- */
.tv2-footer { padding: 4.8rem var(--tv2-gutter) 2.4rem; border-top: 1px solid #CFCFCA; }
.tv2-footer__inner { display: flex; flex-direction: column; gap: 3.2rem; }
.tv2-footer__name { font-size: 1.6rem; font-weight: 700; }
.tv2-footer__addr { margin-top: 0.4rem; font-size: 1.3rem; line-height: 1.7; }
.tv2-footer__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 2.4rem; }
.tv2-footer__col:last-child { grid-column: 1 / -1; }
.tv2-footer__label { font-size: 1.2rem; font-weight: 700; line-height: 1; letter-spacing: 0.12em; color: var(--tv2-sub); }
.tv2-footer__nav ul { margin-top: 0.6rem; display: flex; flex-direction: column; }
.tv2-footer__nav a { display: inline-block; padding: 0.8rem 0; font-size: 1.3rem; line-height: 1.7; }
@media (hover: hover) { .tv2-footer__nav a:hover { text-decoration: underline; text-underline-offset: 0.2em; } }
@media (min-width: 768px) {
	.tv2-footer { padding: 7.2rem var(--tv2-gutter) 4rem; }
	.tv2-footer__inner { flex-direction: row; justify-content: space-between; align-items: flex-start; }
	.tv2-footer__nav { display: flex; gap: 6.4rem; }
	.tv2-footer__label { font-size: 1.4rem; }
	.tv2-footer__addr, .tv2-footer__nav a { font-size: 1.4rem; }
}

/* 公開時に隠すページ内リンク（ABOUT・SERVICE・INTERVIEW・INSIGHTS宛て：A-027）。確認用の全表示では表示 */
.tv2:not(.tv2--preview) .tv2-hide-launch { display: none !important; }

/* ----------------------------------------------------------
   動きを減らす設定
   ---------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
	/* Visual Interlude は停止で始め、利用者が再生ボタンを押したときだけ動かす（JSで制御） */
	/* FVスライダーの動く部分（.swiper-wrapper）も除外：再生ボタン・ドットを押したときは通常どおりスライドする（自動再生は停止で始まる。2026-11-16） */
	.tv2 *:not(.tv2-interlude__track):not(.swiper-wrapper), .tv2 *::before, .tv2 *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

/* ----------------------------------------------------------
   SPのSERVICE内ページ内リンク（公開時は出力しない設定）
   ---------------------------------------------------------- */
.tv2-chips { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.tv2-chips a {
	display: inline-flex; align-items: center; min-height: 3.2rem; padding: 0.5rem 1.2rem;
	border: 1px solid #CFCFCA; border-radius: 999px; background: var(--tv2-white);
	font-size: 1.2rem; line-height: 1.5; letter-spacing: 0.04em; color: var(--tv2-sub);
}

/* ----------------------------------------------------------
   SPのINSIGHTS：縦のリスト（3件・サムネイル小）。PCは5件のカルーセル
   ---------------------------------------------------------- */
@media (max-width: 767px) {
	.tv2-insights .tv2-carousel { overflow: visible; scroll-snap-type: none; padding: 0; margin: 2.8rem 0 0; }
	.tv2-insights .tv2-carousel__track { flex-direction: column; gap: 0; width: auto; padding-right: var(--tv2-gutter); }
	.tv2-insights .tv2-carousel__item { width: auto; }
	.tv2-insights .tv2-carousel__item:nth-child(n+4) { display: none; }
	.tv2-insights .tv2-acard {
		display: grid; grid-template-columns: 11.2rem 1fr; grid-template-rows: auto 1fr; column-gap: 1.6rem; row-gap: 0.8rem;
		padding: 2rem 0; border: 0; border-bottom: 1px solid rgba(0, 0, 0, 0.2); border-radius: 0; background: transparent;
	}
	.tv2-insights .tv2-acard__thumb { grid-row: 1 / 3; aspect-ratio: 4 / 3; border-radius: 0.8rem; }
	.tv2-insights .tv2-acard .tv2-wcard__title { font-size: 1.6rem; min-height: 0; }
	.tv2-insights .tv2-acard__cat { border-width: 1px; background: var(--tv2-white); }
	.tv2-insights .tv2-carousel-foot { display: none; }
	.tv2-insights > .tv2-only-sp { margin-top: 1.6rem; padding-right: var(--tv2-gutter); }
}

/* ----------------------------------------------------------
   確認用の全表示（?tv2_preview=all のときだけ出力）
   ---------------------------------------------------------- */
.tv2-preview-badge {
	position: fixed; left: 1.2rem; bottom: 1.2rem; z-index: 100000; margin: 0;
	padding: 0.8rem 1.4rem; border-radius: 0.8rem; background: #B00020; color: #FFFFFF;
	font-size: 1.2rem; font-weight: 700; line-height: 1.5; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

/* ----------------------------------------------------------
   既存ヘッダー・FVドットのキーボード操作（新TOPでだけ適用。見た目と動きは現行のまま）
   ---------------------------------------------------------- */
/* ページ上部で隠れているヘッダーに、キーボードでフォーカスが来たときは画面内に出す */
.tv2-page .header_wrap.tv2-hdr-focus { top: 0; }
.tv2-page #menu_btn:focus-visible,
.tv2-page .g_nav_wrap a:focus-visible,
.tv2-page .header--logo a:focus-visible { outline: 3px solid var(--tv2-black, #000); outline-offset: 3px; }
/* FVスライダーのドット：フォーカス位置を見えるようにする */
.tv2-fv .swiper-pagination-bullet:focus-visible { outline: 2px solid #000; outline-offset: 3px; border-radius: 50%; }
/* 動きを減らす設定：ヘッダーの表示・非表示とメニューの開閉の動きを省く（A-027⑦） */
@media (prefers-reduced-motion: reduce) {
	.tv2-page .header_wrap, .tv2-page .g_nav_wrap, .tv2-page .over_ray { transition: none !important; }
}

/* ----------------------------------------------------------
   F-01：公開時のヘッダーナビ（新TOPの通常表示だけ。確認用の全表示 .tv2-preview-all ではすべて表示）
   - 表示：WORKS（/works/）・CONTACT（/contact/）
   - 非表示：ABOUT・SERVICE・INTERVIEW・INSIGHTS・COMPANY（有効な独立ページができるまで）
   - display:none のためキーボードのフォーカスも移らない。既存TOP・下層ページには読み込まれない
   ---------------------------------------------------------- */
body.tv2-page:not(.tv2-preview-all) .g_nav--item:has(> a[href*="#about"]),
body.tv2-page:not(.tv2-preview-all) .g_nav--item:has(> a[href*="#service"]),
body.tv2-page:not(.tv2-preview-all) .g_nav--item:has(> a[href*="#interview"]),
body.tv2-page:not(.tv2-preview-all) .g_nav--item:has(> a[href*="#insights"]),
body.tv2-page:not(.tv2-preview-all) .g_nav--item:has(> a[href*="#company"]),
body.tv2-page:not(.tv2-preview-all) .g_nav--item:has(> a[href*="/company"]) { display: none; }
/* :has() が使えない古いブラウザ向け：リンク自体を隠す */
body.tv2-page:not(.tv2-preview-all) .g_nav a[href*="#about"],
body.tv2-page:not(.tv2-preview-all) .g_nav a[href*="#service"],
body.tv2-page:not(.tv2-preview-all) .g_nav a[href*="#interview"],
body.tv2-page:not(.tv2-preview-all) .g_nav a[href*="#insights"],
body.tv2-page:not(.tv2-preview-all) .g_nav a[href*="#company"],
body.tv2-page:not(.tv2-preview-all) .g_nav a[href*="/company"] { display: none; }

/* ----------------------------------------------------------
   FVスライダーのドット：押せる範囲（WCAG 2.5.8）
   - 見た目のドットはそのまま、透明な24×24の範囲を重ねる
   - SPの狭い画面（320px前後）でもドットの中心どうしを26px以上離し、押せる範囲が重ならないようにする
   ---------------------------------------------------------- */
.tv2-fv .swiper-pagination-bullet::before {
	content: ""; position: absolute; left: 50%; top: 50%; width: 24px; height: 24px; transform: translate(-50%, -50%);
}
@media (max-width: 767px) {
	.tv2-fv .mv_slide .swiper-pagination { gap: max(2.4rem, 24px); }
}

/* WORKSカードのタグ（新WORKSと同じ登録内容。最大2件。Figma 92:487／A-045）。タグがなくても高さをそろえる */
.tv2-wcard__tags { display: flex; flex-wrap: wrap; gap: 0.8rem; min-height: 2.6rem; }
.tv2-wcard__tag { display: inline-flex; padding: 0.4rem 1rem; border-radius: 999px; background: #EDEDF0; color: var(--tv2-sub); font-size: 1.1rem; font-weight: 500; line-height: 1.6; }
@media (min-width: 768px) { .tv2-wcard__tag { font-size: 1.2rem; } }

/* ----------------------------------------------------------
   品質改善 Ver.1.2（2026-11-16）
   ---------------------------------------------------------- */
/* ① カルーセル：吸着位置に左の余白（0.4rem）を含める。読み込み直後に4px自動スクロールして、LCPが記録されなくなっていた */
.tv2-carousel { scroll-padding-left: 0.4rem; }
/* ① TOPのFVスライダーは最初から表示する（テーマ共通の .swiper の1.2秒フェードインを、TOPのFVだけやめる。LCP対策） */
.tv2-fv .swiper { opacity: 1; transition: none; }
/* ② FVのドット：押せる範囲を44×44にし、ドットの中心どうしを44px離す（見た目のドットの形・大きさは変えない） */
.tv2-fv .swiper-pagination-bullet::before { width: 44px; height: 44px; }
.tv2-fv .mv_slide .swiper-pagination { gap: calc(44px - var(--custom-rem) * 1.8); }
/* 停止・再生ボタン（44×44）はドットの押せる範囲（中央から66px）の外側に6px離して置く */
.tv2-fv__toggle { right: calc(50% + 72px); }
@media (min-width: 768px) {
	.tv2-fv__toggle { right: auto; left: calc(50% + 72px); }
}

/* SERVICE のカード：見出し・リンク・タグを言葉の途中で折り返さない（「ホームページ制作・／リニューアル」など。2026-11-26・A-079） */
.tv2-scard__title, .tv2-scard .tv2-textlink, .tv2-scard .tv2-tags li { word-break: keep-all; overflow-wrap: anywhere; }
.tv2-scard__num { word-break: normal; overflow-wrap: normal; white-space: nowrap; }
/* CONTACT の呼びかけ：「、」「・」など区切りの位置で折り返す（A-079） */
.tv2-contact__lead { word-break: keep-all; overflow-wrap: anywhere; }
/* CONTACT の呼びかけ：両端そろえだと折り返した行の字間が広がるため左そろえ（A-080） */
.tv2-contact__lead { text-align: left; }
/* スマホ：CONTACT の「お問い合わせフォームへ」が「…フォーム／へ」と2行になるため、左右の余白を詰めて1行に（A-081） */
@media (max-width: 767px) {
	.tv2-contact .tv2-btn { padding-left: 2.4rem; padding-right: 2.4rem; }
	.tv2-contact .tv2-btn > span:first-child { white-space: nowrap; }
}
