/* ============================================================
 * Sound Collective — NYC Custom Music Programs ページ 専用CSS
 * Figma "/nyc-custom-music-programs"  PC: 1831:8879 / 1831:10922  SP: 1498:18788 / 1822:41639
 * デザイントークンは sc-design-tokens.css の :root を利用。クラスは sc-cmp-* で衝突回避
 * (catalog ページの .sc-cat 衝突の反省を踏まえ、他ファイルに存在しないユニーク接頭辞を使う)。
 * ============================================================ */

.sc-cmp {
	--sc-cmp-margin: 80px;      /* PC ページ左右マージン (1440→内容1280) */
	--sc-cmp-ink: #0b0d27;      /* 明色ボタン上の濃色文字 */
	background: var(--sc-bg);
	color: var(--sc-fg);
	font-family: var(--sc-font);
	font-weight: var(--sc-fw-medium);
	line-height: var(--sc-lh);
}
.sc-cmp *, .sc-cmp *::before, .sc-cmp *::after { box-sizing: border-box; }
.sc-cmp h1, .sc-cmp h2, .sc-cmp h3, .sc-cmp p { margin: 0; }
.sc-cmp img { max-width: 100%; display: block; }

/* ===== 汎用ボタン ===== */
.sc-cmp-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 6px;
	min-height: 36px; padding: 7px 12px; width: max-content;
	border-radius: var(--sc-radius-pill); text-decoration: none; cursor: pointer;
	font-size: 14px; font-weight: var(--sc-fw-bold); line-height: 1.2;
	border: 1px solid var(--sc-border-invert); color: var(--sc-fg); background: transparent;
	transition: background-color .15s ease, color .15s ease;
}
.sc-cmp-btn:hover { background: var(--sc-bg-hover-strong); color: var(--sc-primary); }
.sc-cmp-btn i { font-size: 14px; }

/* ============================== Hero ============================== */
.sc-cmp-hero {
	position: relative; overflow: hidden;
	display: flex; flex-direction: column; align-items: center; justify-content: center;
	min-height: 320px; padding: 96px 16px 48px;
}
.sc-cmp-hero__bg {
	position: absolute; inset: -40px 0; z-index: 0;
	background: #4d4d4d center/cover no-repeat;
	filter: blur(4px); mix-blend-mode: lighten; opacity: .3; pointer-events: none;
}
.sc-cmp-hero__title {
	position: relative; z-index: 1;
	max-width: 900px; text-align: center;
	font-size: 40px; font-weight: var(--sc-fw-bold); line-height: 1.2; color: var(--sc-white);
}

/* ============================== Intro (red text + program list) ============================== */
.sc-cmp-intro { display: flex; flex-direction: row; align-items: stretch; }
.sc-cmp-intro__text {
	flex: 1 0 0; min-width: 0;
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px;
	padding: 64px 40px; background: var(--sc-primary); color: var(--sc-white); text-align: center;
}
.sc-cmp-intro__title { font-size: 24px; font-weight: var(--sc-fw-bold); line-height: 1.2; max-width: 367px; }
.sc-cmp-intro__desc { font-size: 18px; font-weight: var(--sc-fw-medium); line-height: 1.4; max-width: 420px; }
.sc-cmp-intro__programs {
	flex: 1 0 0; min-width: 0;
	display: flex; flex-direction: column; gap: 16px; align-items: center;
	padding: 64px 80px;
}
.sc-cmp-program-item {
	display: flex; gap: 16px; align-items: flex-start; width: 100%;
	padding: 20px; background: var(--sc-bg-bright); border-radius: var(--sc-radius-card);
}
.sc-cmp-program-item > i { flex: 0 0 40px; font-size: 32px; line-height: 40px; text-align: center; color: var(--sc-primary); }
.sc-cmp-program-item__info { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.sc-cmp-program-item__title { font-size: 20px; font-weight: var(--sc-fw-bold); line-height: 1.4; color: var(--sc-fg); }
.sc-cmp-program-item__text { font-size: 14px; font-weight: var(--sc-fw-medium); line-height: 1.4; color: var(--sc-fg); }

/* ============================== Comparison ("Hasn't kept up") ============================== */
.sc-cmp-compare {
	background: var(--sc-bg-bright);
	display: flex; flex-direction: column; align-items: center; gap: 16px;
	padding: 64px var(--sc-cmp-margin);
}
.sc-cmp-compare__title {
	position: relative;
	font-size: 32px; font-weight: var(--sc-fw-bold); line-height: 1.2; color: var(--sc-fg);
	text-align: center; max-width: 624px;
}
/* Figma 1831:10641 手描き楕円スクリブル(赤)は「We've Fixed That.」の単語にのみ紐付ける。
 * h2 全体ではなく span に敷くことで、2 行折り返し・SP でも常に単語へ追従する。 */
.sc-cmp-compare__highlight {
	position: relative;
	display: inline-block;
	padding: 0 8px 14px;
	background-image: url("../images/sc-cmp-title-scribble.svg");
	background-repeat: no-repeat;
	background-position: center bottom;
	background-size: 100% auto;
}
.sc-cmp-compare__desc { font-size: 18px; font-weight: var(--sc-fw-medium); line-height: 1.4; color: var(--sc-white); text-align: center; max-width: 720px; }
.sc-cmp-compare__list { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; width: 100%; max-width: 624px; }
.sc-cmp-compare__item { display: flex; gap: 16px; align-items: flex-start; width: 100%; }
.sc-cmp-compare__item i { flex: 0 0 32px; font-size: 32px; line-height: 1; color: var(--sc-primary); }
.sc-cmp-compare__item span { flex: 1 0 0; min-width: 0; font-size: 20px; font-weight: var(--sc-fw-bold); line-height: 1.4; color: var(--sc-fg); }

/* ============================== Programs We Build ============================== */
.sc-cmp-programs { display: flex; flex-direction: column; align-items: center; gap: 24px; padding: 64px 16px; }
.sc-cmp-programs__head { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; color: var(--sc-fg); }
.sc-cmp-programs__title { font-size: 32px; font-weight: var(--sc-fw-bold); line-height: 1.2; }
.sc-cmp-programs__desc { font-size: 18px; font-weight: var(--sc-fw-medium); line-height: 1.4; }
.sc-cmp-programs__grid { display: flex; flex-wrap: wrap; gap: 16px; width: 100%; max-width: 1280px; }

.sc-cmp-pcard {
	position: relative; flex: 1 1 380px; min-width: 0; overflow: hidden;
	display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center;
	padding: 24px 16px; border-radius: var(--sc-radius-card);
	background: #1e1e1e; box-shadow: 0 2px 10px rgba(246,246,246,.1);
}
.sc-cmp-pcard::before { content: ""; position: absolute; inset: 0; background: rgba(2,2,2,.35); pointer-events: none; }
.sc-cmp-pcard > * { position: relative; z-index: 1; }
.sc-cmp-pcard__photo { width: 150px; height: 99px; object-fit: cover; border-radius: 6px; background: #4d4d4d; }
.sc-cmp-pcard__title { font-size: 24px; font-weight: var(--sc-fw-bold); line-height: 1.2; color: var(--sc-white); }
.sc-cmp-pcard__text { font-size: 14px; font-weight: var(--sc-fw-medium); line-height: 1.4; color: var(--sc-white); }

/* イラストカード(DJ / Music Production / Hybrid) — Figma 1831:10656 の白線イラストを使用。
 * 写真用の暗幕(::before)は敷かず、透過PNGをカード背景に馴染ませる。 */
.sc-cmp-pcard--illust { background: #151515; }
.sc-cmp-pcard--illust::before { display: none; }
/* .elementor img { height:auto; max-width:100% }(詳細度0,1,1)に勝つため .sc-cmp-pcard を前置 */
.sc-cmp-pcard .sc-cmp-pcard__illust { width: auto; height: 99px; max-width: 100%; object-fit: contain; background: none; }

.sc-cmp-pcard--icon { padding: 20px 16px; gap: 4px; }
.sc-cmp-pcard--icon .sc-cmp-pcard__icon {
	display: inline-flex; align-items: center; justify-content: center;
	width: 40px; height: 40px; border-radius: 50%; background: var(--sc-white); color: var(--sc-cmp-ink);
	font-size: 18px;
}
.sc-cmp-pcard--icon .sc-cmp-pcard__title { font-size: 18px; }

/* ============================== 3 Steps ============================== */
.sc-cmp-steps { display: flex; flex-direction: column; align-items: center; gap: 24px; padding: 32px var(--sc-cmp-margin) 64px; }
.sc-cmp-steps__title { font-size: 32px; font-weight: var(--sc-fw-bold); line-height: 1.2; color: var(--sc-fg); text-align: center; }
.sc-cmp-steps__list { position: relative; display: flex; flex-direction: column; gap: 24px; width: 100%; max-width: 624px; }
.sc-cmp-step { position: relative; z-index: 1; display: flex; gap: 12px; align-items: flex-start; }
/* 3 Steps のステップ間コネクタ(点線)は #166 クライアント指示(yuria 2026-07-23)で削除。 */
.sc-cmp-step__icon {
	flex: 0 0 48px; width: 48px; height: 48px; border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	background: var(--sc-primary); color: var(--sc-white); font-size: 24px;
}
/* Figma 1831:10697 = flex:[1 0 0](icon の右で残り幅いっぱい)。monolith 用プレーンクラス。
 * Elementor 実ページは sc-nyc-custom-music-programs-elementor.css の .elementor-element.sc-cmp-step__info が支配。#166 */
.sc-cmp-step__info { display: flex; flex-direction: column; gap: 4px; flex: 1 0 0; min-width: 0; color: var(--sc-white); }
.sc-cmp-step__title { font-size: 20px; font-weight: var(--sc-fw-bold); line-height: 1.4; color: var(--sc-white); }
.sc-cmp-step__text { font-size: 14px; font-weight: var(--sc-fw-medium); line-height: 1.4; }

/* ============================== decorative banner strip ============================== */
.sc-cmp-banner { width: 100%; aspect-ratio: 1975 / 326; background: #4d4d4d center/cover no-repeat; }

/* ============================== Case Studies ============================== */
.sc-cmp-cases { display: flex; flex-direction: column; align-items: center; gap: 24px; padding: 64px 16px; }
.sc-cmp-cases__head { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; color: var(--sc-fg); }
.sc-cmp-cases__title { font-size: 32px; font-weight: var(--sc-fw-bold); line-height: 1.2; }
.sc-cmp-cases__desc { font-size: 18px; font-weight: var(--sc-fw-medium); line-height: 1.4; }
.sc-cmp-cases__grid { display: flex; flex-wrap: wrap; gap: 16px; width: 100%; max-width: 1280px; }

.sc-cmp-case {
	flex: 1 1 380px; min-width: 0; min-height: 360px;
	display: flex; flex-direction: column; justify-content: space-between; gap: 16px;
	padding: 20px; border-radius: var(--sc-radius-card); background: var(--sc-bg-bright);
}
.sc-cmp-case__body { display: flex; flex-direction: column; gap: 8px; }
/* ロゴ画像。.sc-cmp-case__body は flex-column(既定 align-items:stretch)なので align-self で
 * 横伸びを止め、.elementor img(詳細度0,1,1)に勝つよう .sc-cmp-case を前置して高さを固定。 */
.sc-cmp-case .sc-cmp-case__logo { display: block; align-self: flex-start; width: auto; height: 48px; max-width: 160px; object-fit: contain; object-position: left center; background: none; border-radius: 0; }
.sc-cmp-case__title { font-size: 20px; font-weight: var(--sc-fw-bold); line-height: 1.4; color: var(--sc-fg); }
.sc-cmp-case__text { font-size: 16px; font-weight: var(--sc-fw-medium); line-height: 1.4; color: var(--sc-white); }

/* ============================== CTA / Booking ============================== */
.sc-cmp-cta { display: flex; flex-direction: column; align-items: center; gap: 20px; padding: 64px 16px; }
.sc-cmp-cta__title { font-size: 32px; font-weight: var(--sc-fw-bold); line-height: 1.2; color: var(--sc-fg); text-align: center; max-width: 1280px; }
.sc-cmp-cta__desc { font-size: 18px; font-weight: var(--sc-fw-medium); line-height: 1.4; color: var(--sc-fg-secondary); text-align: center; max-width: 900px; }
/* Figma 1831:10743「Iframe - Google Calendar Appointment Scheduling」。
 * 本番(soundcollective.com)の「Schedule a Call」モーダル内 iframe と同一 src を直接埋め込む。
 * yuria FB(#166 追い): Google 予約ウィジェットは明色背景前提でダーク下地だと文字が読めないため
 * コンテナ/iframe 背景を白にする。かつ「横いっぱい」要望で max-width 制限を撤去し全幅にする
 * (セクション左右 padding 16px の内側いっぱい)。 */
.sc-cmp-cta__booking {
	width: 100%; min-height: 600px;
	display: flex; overflow: hidden;
	background: #ffffff; border-radius: var(--sc-radius-card);
}
.sc-cmp-cta__cal { display: block; width: 100%; height: 600px; border: 0; background: #ffffff; }

/* ============================== Sticky "Book a Call" (fixedcta) ============================== */
.sc-cmp-fixedcta {
	display: none; position: fixed; z-index: 100; right: 24px; bottom: 24px;
	align-items: center; gap: 8px; padding: 12px 20px; border-radius: var(--sc-radius-pill);
	background: var(--sc-primary); color: var(--sc-white); text-decoration: none;
	font-size: 18px; font-weight: var(--sc-fw-bold); line-height: 1.4;
	box-shadow: 0 4px 36px rgba(0,0,0,.25);
	transition: opacity .2s ease, transform .2s ease;
}
.sc-cmp-fixedcta i { font-size: 18px; }
.sc-cmp-fixedcta--hide { opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(12px); }
@media (min-width: 1025px) {
	.sc-cmp-fixedcta { display: inline-flex; }
}

.sc-cmp-sticky {
	display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 200;
	padding: 12px 8px calc(12px + env(safe-area-inset-bottom,0px));
	background: var(--sc-bg); border-top: 1px solid var(--sc-border-dim, #353c45);
}
.sc-cmp-sticky__btn {
	display: flex; align-items: center; justify-content: center; gap: 8px;
	width: 100%; min-height: 48px; border-radius: var(--sc-radius-pill);
	background: var(--sc-primary); color: var(--sc-white); text-decoration: none;
	font-size: 18px; font-weight: var(--sc-fw-bold); line-height: 1.4;
}
.sc-cmp-sticky__btn i { font-size: 18px; }
.sc-cmp-sticky--hide { display: none !important; }
@media (max-width: 1024px) {
	.sc-cmp-sticky { display: block; }
}

/* ============================================================
 * SP (Figma 1498:18788 / 1822:41639) — max-width:1024px
 * ============================================================ */
@media (max-width: 1024px) {
	.sc-cmp { --sc-cmp-margin: 16px; overflow-x: clip; }

	.sc-cmp-hero { padding: 64px 16px 40px; min-height: 260px; }
	.sc-cmp-hero__title { font-size: 32px; }

	.sc-cmp-intro { flex-direction: column; }
	.sc-cmp-intro__text { padding: 40px 16px; }
	.sc-cmp-intro__programs { padding: 40px 16px; }

	.sc-cmp-compare__title { font-size: 24px; }
	.sc-cmp-compare__item span { font-size: 16px; }

	.sc-cmp-programs__title, .sc-cmp-cases__title, .sc-cmp-steps__title, .sc-cmp-cta__title { font-size: 24px; }
	.sc-cmp-pcard { flex: 1 1 100%; }
	.sc-cmp-case { flex: 1 1 100%; }

	/* Figma SP 1822:37654 = ステップ間 gap 32px(PC は 24px) */
	.sc-cmp-steps { padding: 40px 16px; }
	.sc-cmp-steps__list { gap: 32px; }

	/* SP最下部に固定バーが出るぶん最終セクションが隠れないよう余白を確保 */
	.sc-cmp-cta { padding-bottom: 96px; }
}
