@charset "UTF-8";

/* =============================================================================
   E-COMMERCE 固定ページ
   Figma: デザインコピー広場 / node 598:36（アートボード幅 1440 / コンテンツ幅 1200）

   PC はデザインの寸法をそのまま再現する。1100px 以下で 2 カラムを解き、
   767px 以下で「3つの軸」「3つの領域」を 1 枚ずつのカルーセルに切り替える。
   ========================================================================== */

/* テーマ側が border-box を敷いていないので、このページの中だけ揃えておく。
   枠線や内側余白を幅に含めないと、SP で吹き出しなどが画面からはみ出す。 */
.ec,
.ec *,
.ec *::before,
.ec *::after {
	box-sizing: border-box;
}

.ec {
	/* Figma のスタイル定義より。Color/Brand/Black = #404041 */
	--ec-brand: #404041;
	--ec-text: #333;
	--ec-muted: #666;
	--ec-disabled: #a3a29b;
	--ec-line: #e9e9e9;
	--ec-bg-muted: #f7f7f5;
	--ec-content: 1200px;

	color: var(--ec-text);
	font-family: "NotoSans", "Noto Sans JP", sans-serif;
	overflow-x: hidden;
}

.ec-inner {
	width: min(100% - 48px, var(--ec-content));
	margin-inline: auto;
}

/* =============================================================================
   セクション共通パーツ
   ========================================================================== */

/* 「01 SERVICE」のような通し番号＋英字ラベル */
.ec-eyebrow {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0;
	font-size: 12px;
	font-weight: 700;
	line-height: 22.8px;
	letter-spacing: 1.92px;
}

.ec-eyebrow__no {
	color: var(--ec-text);
}

.ec-eyebrow__label {
	color: var(--ec-muted);
}

/* 番号を持たないラベル単独（PLATFORM） */
.ec-eyebrow--solo {
	color: var(--ec-muted);
}

.ec-eyebrow--center {
	justify-content: center;
}

.ec-heading {
	margin: 0;
	font-size: 28px;
	font-weight: 700;
	line-height: 42px;
	color: var(--ec-text);
}

.ec-heading--center {
	text-align: center;
}

.ec-sectionhead {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.ec-sectionhead__desc {
	margin: 0;
	font-size: 16px;
	font-weight: 500;
	line-height: 30.4px;
	color: var(--ec-text);
}

/* DOMAIN のリード文だけ一段小さく、色も落ちている */
.ec-sectionhead__desc--sm {
	font-size: 14px;
	font-weight: 700;
	line-height: 25.2px;
	color: var(--ec-muted);
}

/* -----------------------------------------------------------------------------
   お問い合わせボタン（吹き出しバッジ付き）
   ヒーロー = テクスチャ地に白文字 / 下部 CTA バンド = 白地に黒文字
   -------------------------------------------------------------------------- */
.ec-cta {
	position: relative;
	display: inline-flex;
	/* バッジはボタンの 10px 左に出て、下端 2px がボタンに重なる */
	padding: 25px 0 0 10px;
}

.ec-cta__badge {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	/* 吹き出しのしっぽを含めた画像サイズ */
	width: 130px;
	height: 27px;
	padding-top: 3px;
	background: url("../img/e-commerce/v2/badge-balloon.svg") no-repeat center / 130px 27px;
	font-size: 11px;
	font-weight: 900;
	line-height: 15px;
	letter-spacing: 0.6px;
	color: var(--ec-brand);
	white-space: nowrap;
}

.ec-cta__button {
	position: relative;
	display: inline-flex;
	align-items: center;
	width: 256px;
	max-width: 100%;
	height: 52px;
	padding: 0 21px 0 22px;
	border-radius: 9999px;
	font-size: 16px;
	font-weight: 900;
	line-height: 15px;
	letter-spacing: 0.6px;
	text-decoration: none;
	transition: opacity 0.25s ease;
}

.ec-cta__button:hover,
.ec-cta__button:focus-visible {
	opacity: 0.85;
}

.ec-cta--fill .ec-cta__button {
	background: url("../img/e-commerce/v2/cta-bg.png") no-repeat center / cover;
	color: #fff;
}

.ec-cta--white .ec-cta__button {
	background-color: #fff;
	color: var(--ec-brand);
}

.ec-cta__icon {
	flex: 0 0 28px;
	width: 28px;
	height: 28px;
	/* Figma は吹き出しを左右反転して使っている */
	transform: scaleX(-1);
}

.ec-cta__arrow {
	flex: 0 0 24px;
	width: 24px;
	height: 24px;
}

/* アイコンと矢印は端に固定して、ラベルは残りの幅の中央に置く */
.ec-cta__label {
	flex: 1 1 auto;
	text-align: center;
	white-space: nowrap;
}

/* =============================================================================
   ヒーロー
   ========================================================================== */
.ec-hero {
	/* 固定ヘッダー 150px ＋ デザインの上余白 40px */
	padding: 190px 24px 80px;
}

.ec-hero__inner {
	display: flex;
	flex-direction: column;
	gap: 40px;
}

.ec-breadcrumb {
	display: flex;
	flex-wrap: wrap;
	gap: 0.3em;
	margin: 0;
	font-size: 12px;
	font-weight: 700;
	line-height: 22.8px;
	letter-spacing: 0.48px;
	color: var(--ec-disabled);
}

.ec-breadcrumb a {
	color: inherit;
	text-decoration: none;
}

.ec-breadcrumb a:hover {
	text-decoration: underline;
}

.ec-hero__body {
	display: flex;
	align-items: center;
	gap: 56px;
}

/* h1 はデザイン上 592px 幅で 2 行に収まるので、テキスト側に先に幅を配る */
.ec-hero__text {
	flex: 1 1 592px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 40px;
}

.ec-hero__eyebrow {
	margin: 0;
	font-size: 14px;
	font-weight: 700;
	line-height: 26.6px;
	letter-spacing: 2.24px;
	color: var(--ec-brand);
}

.ec-hero__title {
	margin: 0;
	font-size: 48px;
	font-weight: 900;
	line-height: 68px;
	letter-spacing: 0.72px;
	color: var(--ec-brand);
}

.ec-hero__lead {
	display: flex;
	flex-direction: column;
	gap: 12px;
	max-width: 560px;
}

.ec-hero__lead p {
	margin: 0;
	font-size: 16px;
	font-weight: 500;
	line-height: 30.4px;
	color: var(--ec-brand);
}

/* 本文 592px ＋ gap 56px ＋ ビジュアル 552px でコンテンツ幅 1200px にちょうど収まる */
.ec-hero__visual {
	flex: 0 0 552px;
	min-width: 0;
	display: flex;
	justify-content: center;
}

.ec-hero__visual img {
	width: 552px;
	max-width: 100%;
	height: auto;
}

/* =============================================================================
   対応プラットフォーム
   ========================================================================== */
.ec-platform {
	padding: 64px 24px;
	background-color: var(--ec-bg-muted);
}

.ec-platform__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 40px 64px;
}

.ec-platform__intro {
	flex: 1 1 300px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.ec-platform__desc {
	margin: 0;
	max-width: 379px;
	font-size: 14px;
	font-weight: 500;
	line-height: 25.2px;
}

.ec-platform__main {
	flex: 0 1 757px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.ec-platform__list {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ec-platform__item {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 64px;
	padding: 8px;
	border-radius: 8px;
	background-color: #fff;
	font-size: 16px;
	font-weight: 700;
	line-height: 28.5px;
	text-align: center;
}

.ec-platform__note {
	margin: 0;
	font-size: 12px;
	font-weight: 700;
	line-height: 22.8px;
	letter-spacing: 0.48px;
	color: var(--ec-muted);
}

/* =============================================================================
   01 SERVICE｜本気で「売る」EC支援、3つの軸
   ========================================================================== */
.ec-service {
	padding: 80px 24px;
}

.ec-service .ec-inner {
	display: flex;
	flex-direction: column;
	gap: 40px;
}

.ec-service__list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ec-service__card {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 32px;
	border: 1px solid var(--ec-line);
	border-radius: 8px;
	background-color: #fff;
}

.ec-service__icon {
	width: 96px;
	height: 96px;
}

.ec-service__titles {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.ec-service__title {
	margin: 0;
	font-size: 20px;
	font-weight: 700;
	line-height: 32px;
}

.ec-service__sub {
	margin: 0;
	font-size: 12px;
	font-weight: 700;
	line-height: 22.8px;
	letter-spacing: 0.48px;
	color: var(--ec-muted);
}

.ec-service__body {
	margin: 0;
	font-size: 16px;
	font-weight: 400;
	line-height: 25.2px;
}

/* =============================================================================
   02 DOMAIN｜売り上げを作る3つの領域
   ========================================================================== */
.ec-domain {
	padding: 80px 24px;
	border-top: 1px solid var(--ec-line);
}

.ec-domain__inner {
	display: flex;
	flex-direction: column;
	gap: 48px;
}

.ec-domain__list {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ec-domain__item {
	position: relative;
	flex: 0 1 300px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
}

/* 円の間に置く矢印。空き（1200 − 300×3 ＝ 300px）の半分の中央に重ねる */
.ec-domain__item + .ec-domain__item::before {
	content: "";
	position: absolute;
	top: 85px;
	left: -90px;
	width: 30px;
	height: 30px;
	background: url("../img/e-commerce/v2/chevron-step.svg") no-repeat center / contain;
}

.ec-domain__circle {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;
	/* 円なので縮めない */
	flex: 0 0 auto;
	width: 200px;
	height: 200px;
	margin-bottom: 12px;
	border: 1px solid var(--ec-brand);
	border-radius: 50%;
	background-color: #fff;
}

.ec-domain__no {
	font-size: 14px;
	font-weight: 700;
	line-height: 26.6px;
	letter-spacing: 1.12px;
}

.ec-domain__rule {
	width: 64px;
	height: 1px;
	background-color: var(--ec-brand);
}

.ec-domain__icon {
	width: 96px;
	height: 96px;
}

.ec-domain__title {
	margin: 0;
	font-size: 20px;
	font-weight: 700;
	line-height: 32px;
	text-align: center;
}

.ec-domain__body {
	margin: 0;
	font-size: 16px;
	font-weight: 400;
	line-height: 25.2px;
	text-align: center;
}

/* =============================================================================
   03 OWN EC｜自社EC「HOT LOBSTER」
   ========================================================================== */
.ec-proof {
	padding: 80px 24px;
	background-color: var(--ec-bg-muted);
}

.ec-proof .ec-inner {
	display: flex;
	flex-direction: column;
	gap: 48px;
}

.ec-proof__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 48px;
}

.ec-proof__text {
	flex: 1 1 400px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 20px;
}

.ec-proof__lead {
	margin: 0;
	max-width: 560px;
	font-size: 16px;
	font-weight: 700;
	line-height: 30.4px;
}

/* 下線付きのテキストリンク（link_button コンポーネント）。
   文字＋矢印を 357px 幅の中で中央に置き、その下に 1px の罫線を敷く。 */
.ec-proof__link {
	display: flex;
	flex-direction: column;
	gap: 16px;
	width: 357px;
	max-width: 100%;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--ec-brand);
	color: var(--ec-brand);
	text-decoration: none;
	transition: opacity 0.25s ease;
}

.ec-proof__link-row {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 24px;
}

.ec-proof__link-label {
	font-size: 20px;
	font-weight: 700;
	line-height: 26.6px;
}

.ec-proof__link-arrow {
	flex: 0 0 auto;
	width: 20px;
	height: 20px;
}

.ec-proof__link:hover,
.ec-proof__link:focus-visible {
	opacity: 0.7;
}

.ec-proof__visual {
	flex: 1 1 400px;
	min-width: 0;
}

/* 書き出し済みの画像が白地を含んでいるので、カード側に余白は持たせない。
   EWWW の遅延読み込みが 1×1 のプレースホルダを挟むので、比率は CSS で固定する。 */
.ec-proof__visual img {
	display: block;
	width: 100%;
	max-width: 600px;
	height: auto;
	aspect-ratio: 600 / 372;
	object-fit: contain;
	margin-inline: auto;
	border-radius: 8px;
	background-color: #fff;
}

.ec-proof__list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ec-proof__card {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 32px;
	border-radius: 8px;
	background-color: #fff;
}

.ec-proof__card-head {
	display: flex;
	align-items: center;
	gap: 16px;
}

.ec-proof__icon {
	flex: 0 0 auto;
	width: 80px;
	height: 80px;
}

.ec-proof__title {
	margin: 0;
	font-size: 20px;
	font-weight: 700;
	line-height: 32px;
}

.ec-proof__body {
	margin: 0;
	font-size: 16px;
	font-weight: 400;
	line-height: 25.2px;
}

/* =============================================================================
   04 PROBLEM｜こんなお悩みはありませんか
   ========================================================================== */
.ec-worry {
	padding: 80px 24px;
	overflow: hidden;
}

.ec-worry__inner {
	position: relative;
}

.ec-worry__head,
.ec-worry__list,
.ec-band {
	position: relative;
	z-index: 1;
}

.ec-worry__head {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

/* ---------- 手描き風の装飾（Figma の座標そのまま・SP では出さない） ---------- */
.ec-worry__doodle {
	position: absolute;
	z-index: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	pointer-events: none;
	opacity: 0.03;
}

.ec-worry__doodle img {
	display: block;
	height: auto;
}

.ec-worry__doodle--spiral {
	top: -164px;
	left: -53px;
	width: 419.5px;
	height: 419.5px;
}

.ec-worry__doodle--spiral img {
	width: 316.4px;
	transform: rotate(-24.65deg);
}

.ec-worry__doodle--highlight {
	top: -93px;
	left: 436px;
	width: 323px;
	height: 323px;
	opacity: 0.08;
}

.ec-worry__doodle--highlight img {
	width: 323px;
}

.ec-worry__doodle--thinking {
	top: 173px;
	left: -92px;
	width: 286.3px;
	height: 286.3px;
}

.ec-worry__doodle--thinking img {
	width: 214.5px;
	transform: rotate(-25.71deg);
}

.ec-worry__doodle--question {
	top: -47px;
	left: 927px;
	width: 313.4px;
	height: 313.4px;
}

.ec-worry__doodle--question img {
	width: 243px;
	transform: rotate(20.77deg);
}

.ec-worry__doodle--arrow {
	top: 224px;
	left: 977px;
	width: 182px;
	height: 182px;
}

.ec-worry__doodle--arrow img {
	width: 182px;
}

/* ---------- 吹き出し（PC はデザイン通り互い違いに置く） ---------- */
.ec-worry__list {
	/* 吹き出しは absolute なので、箱の高さは手で確保する（最終行 198 + 67） */
	height: 265px;
	margin: 48px 0 0;
	padding: 0;
	list-style: none;
}

.ec-worry__item {
	position: absolute;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 67px;
	padding: 0 24px;
	border: 2px solid var(--ec-brand);
	border-radius: 33.5px;
	background-color: #fff;
	box-shadow: 4px 4px 0 0 var(--ec-brand);
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0.24px;
	color: var(--ec-brand);
	text-align: center;
}

.ec-worry__item:nth-child(1) {
	top: 0;
	left: 206px;
	width: 497px;
}

.ec-worry__item:nth-child(2) {
	top: 99px;
	left: 469px;
	width: 525px;
}

.ec-worry__item:nth-child(3) {
	top: 198px;
	left: 208px;
	width: 497px;
}

/* ---------- CTA バンド ---------- */
.ec-band {
	display: flex;
	align-items: center;
	gap: 40px;
	min-height: 216px;
	margin-top: 80px;
	padding: 48px 128px;
	border-radius: 8px;
	background: url("../img/e-commerce/v2/cta-bg.png") no-repeat center / cover;
}

.ec-band__icon {
	flex: 0 0 auto;
	width: 120px;
	height: 120px;
}

.ec-band__text {
	flex: 1 1 auto;
	min-width: 0;
	text-align: center;
	color: #fff;
}

.ec-band__eyebrow {
	margin: 0;
	font-size: 12px;
	font-weight: 700;
	line-height: 22.8px;
	letter-spacing: 1.92px;
}

.ec-band__copy {
	margin: 8px 0 0;
	font-size: 24px;
	font-weight: 700;
	line-height: 36px;
}

.ec-band .ec-cta {
	flex: 0 0 auto;
}

/* =============================================================================
   カルーセル（SP でのみ横スクロールに切り替える）
   PC では素のグリッド／横並びのままなので、ナビゲーションごと隠しておく。
   ========================================================================== */
.ec-carousel__nav {
	display: none;
}

/* =============================================================================
   タブレット
   ========================================================================== */
@media screen and (max-width: 1100px) {
	.ec-hero {
		padding-top: 210px;
	}

	.ec-hero__body {
		flex-direction: column;
		align-items: flex-start;
		gap: 32px;
	}

	/* 縦並びに変わると flex-basis が「高さ」になってしまうので、
	   2 カラム用に配った basis はここで全部外す。 */
	.ec-hero__text,
	.ec-hero__visual,
	.ec-platform__intro,
	.ec-platform__main,
	.ec-proof__text,
	.ec-proof__visual {
		flex: 0 0 auto;
		width: 100%;
	}

	.ec-hero__title {
		font-size: 36px;
		line-height: 54px;
	}

	.ec-hero__lead p br {
		display: none;
	}

	.ec-platform__inner {
		flex-direction: column;
	}

	.ec-service__list,
	.ec-proof__list {
		grid-template-columns: repeat(2, 1fr);
	}

	.ec-domain__list {
		flex-wrap: wrap;
		justify-content: center;
		gap: 40px;
	}

	.ec-domain__item {
		flex: 0 0 300px;
	}

	/* 折り返しで並びが変わるので矢印は出さない */
	.ec-domain__item + .ec-domain__item::before {
		content: none;
	}

	.ec-proof__head {
		flex-direction: column;
		align-items: stretch;
	}

	.ec-heading br {
		display: none;
	}

	/* 吹き出しは絶対配置をやめて素直に縦積みにする */
	.ec-worry__list {
		height: auto;
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 24px;
	}

	/* PC 用の個別指定（:nth-child）より詳細度を上げて打ち消す */
	.ec-worry__item,
	.ec-worry__item:nth-child(1),
	.ec-worry__item:nth-child(2),
	.ec-worry__item:nth-child(3) {
		position: static;
		width: 100%;
		max-width: 560px;
		height: auto;
		min-height: 67px;
		padding: 14px 28px;
		line-height: 1.75;
	}

	.ec-worry__doodle {
		display: none;
	}

	.ec-band {
		flex-direction: column;
		padding: 48px 32px;
	}
}

/* =============================================================================
   スマートフォン
   ========================================================================== */
@media screen and (max-width: 767px) {
	.ec-inner {
		width: min(100% - 32px, var(--ec-content));
	}

	.ec-hero {
		padding: 150px 16px 56px;
	}

	.ec-hero__title {
		font-size: 28px;
		line-height: 44px;
	}

	.ec-hero__text {
		gap: 24px;
	}

	.ec-heading {
		font-size: 22px;
		line-height: 34px;
	}

	.ec-platform,
	.ec-service,
	.ec-domain,
	.ec-proof,
	.ec-worry {
		padding-inline: 16px;
	}

	.ec-platform {
		padding-block: 48px;
	}

	.ec-service,
	.ec-domain,
	.ec-proof,
	.ec-worry {
		padding-block: 56px;
	}

	.ec-platform__list {
		grid-template-columns: repeat(2, 1fr);
	}

	.ec-platform__item {
		font-size: 14px;
	}

	.ec-service__card,
	.ec-proof__card {
		padding: 24px;
	}

	.ec-proof__card-head {
		gap: 12px;
	}

	.ec-proof__icon {
		width: 64px;
		height: 64px;
	}

	.ec-proof__title,
	.ec-service__title,
	.ec-domain__title {
		font-size: 18px;
		line-height: 28px;
	}

	.ec-proof__list {
		grid-template-columns: 1fr;
	}

	.ec-band {
		gap: 24px;
		padding: 40px 20px;
	}

	.ec-band__copy {
		font-size: 18px;
		line-height: 30px;
	}

	.ec-band__icon {
		width: 88px;
		height: 88px;
	}

	.ec-worry__item {
		font-size: 15px;
		padding: 14px 20px;
	}

	/* =========================================================================
	   カルーセル（3つの軸 / 3つの領域 共通）
	   ====================================================================== */
	.ec-carousel__track {
		display: flex;
		/* タブレット側でグリッドにしているので明示的に戻す */
		flex-wrap: nowrap;
		justify-content: flex-start;
		gap: 16px;
		overflow-x: auto;
		overscroll-behavior-x: contain;
		scroll-snap-type: x mandatory;
		scroll-behavior: smooth;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
	}

	.ec-carousel__track::-webkit-scrollbar {
		display: none;
	}

	.ec-carousel__track > * {
		/* 枠線 / 内側余白を含めてちょうど 1 画面ぶんにする */
		box-sizing: border-box;
		flex: 0 0 100%;
		min-width: 0;
		scroll-snap-align: start;
		scroll-snap-stop: always;
	}

	.ec-carousel__nav {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 19px;
		margin-top: 32px;
	}

	.ec-carousel__arrow {
		flex: 0 0 auto;
		width: 24px;
		height: 24px;
		padding: 0;
		border: 0;
		background: url("../img/e-commerce/carousel-chevron.svg") no-repeat center / 11px 19px;
		cursor: pointer;
		transition: opacity 0.25s ease;
	}

	.ec-carousel__arrow--next {
		transform: rotate(180deg);
	}

	.ec-carousel__arrow[disabled] {
		opacity: 0.3;
		cursor: default;
	}

	.ec-carousel__dots {
		display: flex;
		align-items: center;
		gap: 9.6px;
		margin: 0;
		padding: 0;
		list-style: none;
	}

	.ec-carousel__dots-item {
		display: flex;
	}

	.ec-carousel__dot {
		width: 10px;
		height: 10px;
		padding: 0;
		border: 0;
		border-radius: 50%;
		background-color: var(--ec-line);
		cursor: pointer;
		transition: background-color 0.25s ease;
	}

	.ec-carousel__dot.is-current {
		background-color: var(--ec-brand);
	}
}
