@charset "UTF-8";
/* =========================================================
   STELLAの強み / strengths-page.css
   対応テンプレート: page-strengths.php （スラッグ: strengths）

   ※ レイアウトを決めるセレクタは .st-strengths を前置して
     詳細度を上げています。テーマ側のCSSに負けないための措置です。
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@600;700&display=swap');

.st-strengths {
	--st-orange : #F2561C;
	--st-teal   : #17B3BB;
	--st-green  : #76BF43;
	--st-yellow : #F5B01E;

	--st-ink    : #333333;
	--st-ink-sub: #4A4A4A;
	--st-card-bg: #FFF9F4;

	--st-wrap   : 1120px;
	--st-gutter : 24px;
	--st-radius : 24px;

	position: relative;
	overflow-x: clip;
	color: var(--st-ink);
	font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
	line-height: 1.9;
}

.st-strengths *,
.st-strengths *::before,
.st-strengths *::after { box-sizing: border-box; }

.st-strengths img { max-width: 100%; height: auto; display: block; }
.st-strengths ol  { list-style: none; }


/* =========================================================
   共通の装飾（ドット / ストライプ）
   ========================================================= */
.st-strengths .st-dots,
.st-strengths .st-stripe {
	position: absolute;
	pointer-events: none;
	z-index: 0;
}

/* オレンジのドットパターン */
.st-strengths .st-dots {
	background-image: radial-gradient(var(--st-orange) 30%, transparent 31%);
	background-size: 14px 14px;
	opacity: .55;
}
.st-strengths .st-dots--top {
	top: 60px; left: 8px;
	width: 110px; height: 90px;
	-webkit-mask-image: linear-gradient(200deg, #000 20%, transparent 85%);
	        mask-image: linear-gradient(200deg, #000 20%, transparent 85%);
}
.st-strengths .st-dots--bottom {
	bottom: 40px; left: -10px;
	width: 130px; height: 120px;
	-webkit-mask-image: linear-gradient(160deg, #000 20%, transparent 85%);
	        mask-image: linear-gradient(160deg, #000 20%, transparent 85%);
}

/* 斜線ストライプ */
.st-strengths .st-stripe {
	background-image: repeating-linear-gradient(
		-45deg,
		currentColor 0 6px,
		transparent  6px 15px
	);
	opacity: .85;
	border-radius: 999px 0 0 999px;
	-webkit-mask-image: radial-gradient(circle at 100% 50%, #000 55%, transparent 72%);
	        mask-image: radial-gradient(circle at 100% 50%, #000 55%, transparent 72%);
}
.st-strengths .st-stripe--orange {
	color: var(--st-orange);
	top: 46%; right: -46px;
	width: 110px; height: 130px;
}
.st-strengths .st-stripe--green {
	color: var(--st-green);
	top: 58%; right: -40px;
	width: 100px; height: 120px;
}


/* =========================================================
   ヒーロー
   ========================================================= */
.st-strengths .st-hero {
	position: relative;
	padding: 56px 0 40px;
}

.st-strengths .st-hero__inner {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: var(--st-wrap);
	margin: 0 auto;
	padding: 0 var(--st-gutter);
	display: grid;
	grid-template-columns: minmax(0, 46%) minmax(0, 54%);
	align-items: center;
	gap: 0;
}

.st-strengths .st-hero__title {
	margin: 0;
	font-size: clamp(30px, 3.4vw, 46px);
	font-weight: 700;
	letter-spacing: .04em;
	line-height: 1.3;
}
.st-strengths .st-hero__en {
	margin: 10px 0 0;
	color: var(--st-orange);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .18em;
}
.st-strengths .st-hero__en::after {
	content: "";
	display: block;
	width: 46px;
	height: 2px;
	margin-top: 6px;
	background: var(--st-orange);
}
.st-strengths .st-hero__lead {
	margin: 28px 0 0;
	font-size: 15px;
	line-height: 2.1;
	color: var(--st-ink-sub);
}

/* --- ブロブ型の集合写真 --- */
.st-strengths .st-hero__visual { position: relative; }

/* 右端まで裁ち落とす（フロントページのFVと同じ処理） */
@media (min-width: 1025px) {
	.st-strengths .st-hero__visual {
		margin-right: calc((100vw - var(--st-wrap)) / -2 - var(--st-gutter));
	}
}

.st-strengths .st-hero__photo {
	position: relative;
	z-index: 1;
	width: 100%;
	aspect-ratio: 1372 / 1125;
	background-size: cover;
	background-position: center 38%;
	background-repeat: no-repeat;

	/* マスク画像のURLは page-strengths.php から --st-blob で渡しています */
	-webkit-mask-image: var(--st-blob, none);
	        mask-image: var(--st-blob, none);
	-webkit-mask-size: 100% 100%;
	        mask-size: 100% 100%;
	-webkit-mask-repeat: no-repeat;
	        mask-repeat: no-repeat;
}

/* --- ヒーロー内の手描き装飾（写真に重ねる） --- */
.st-strengths .st-hero__script {
	position: absolute;
	z-index: 3;
	top: 4%;
	left: -13%;
	width: 31%;
	transform: rotate(-9deg);
}
.st-strengths .st-hero__curve {
	position: absolute;
	z-index: 3;
	bottom: -4%;
	left: -9%;
	width: 29%;
}
.st-strengths .st-hero__stars {
	position: absolute;
	z-index: 3;
	top: 3%;
	right: 6%;
	width: 8%;
}
.st-strengths .st-hero__mascot {
	position: absolute;
	z-index: 4;
	bottom: -7%;
	right: 5%;
	width: 23%;
}

/* --- 写真の左脇に散らす丸ドット --- */
.st-strengths .st-spot {
	position: absolute;
	z-index: 2;
	border-radius: 50%;
}
.st-strengths .st-spot--1 {
	top: 1%;  left: -4%;
	width: 13px; height: 13px;
	background: var(--st-orange);
}
.st-strengths .st-spot--2 {
	top: 8%;  left: -9%;
	width: 19px; height: 19px;
	background: var(--st-yellow);
}
.st-strengths .st-spot--3 {
	top: 15%; left: -3%;
	width: 9px;  height: 9px;
	background: var(--st-yellow);
}


/* =========================================================
   OUR BELIEF
   ========================================================= */
.st-strengths .st-belief {
	padding: 70px var(--st-gutter) 56px;
	text-align: center;
}
.st-strengths .st-belief__title {
	margin: 0;
	font-size: clamp(22px, 2.6vw, 32px);
	font-weight: 700;
	letter-spacing: .22em;
	text-indent: .22em;
}
.st-strengths .st-belief__en {
	position: relative;
	display: inline-block;
	margin: 14px 0 0;
	padding-bottom: 12px;
	color: var(--st-orange);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .18em;
}
.st-strengths .st-belief__en::after {
	content: "";
	position: absolute;
	left: 50%; bottom: 0;
	transform: translateX(-50%);
	width: 150px;
	height: 2px;
	background: var(--st-orange);
}


/* =========================================================
   強みカード
   ========================================================= */
.st-strengths .st-list {
	position: relative;
	padding-bottom: 90px;
}

/* ← 左寄せの原因だった箇所。margin/padding をここで明示します */
.st-strengths .st-list__inner {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: var(--st-wrap);
	margin: 0 auto;
	padding: 0 var(--st-gutter);
	list-style: none;
	display: grid;
	gap: 26px;
}

.st-strengths .st-card {
	display: grid;
	grid-template-columns: 170px minmax(0, 1fr) 300px;
	align-items: center;
	gap: 28px;
	margin: 0;
	padding: 30px 30px 30px 20px;
	background: var(--st-card-bg);
	border-radius: var(--st-radius);
}

/* テーマカラー */
.st-strengths .st-card--orange { --st-accent: var(--st-orange); }
.st-strengths .st-card--teal   { --st-accent: var(--st-teal);   }
.st-strengths .st-card--green  { --st-accent: var(--st-green);  }
.st-strengths .st-card--yellow { --st-accent: var(--st-yellow); }

/* --- 番号バッジ + アイコン --- */
.st-strengths .st-card__badge {
	position: relative;
	width: 132px;
	margin-inline: auto;
	padding-top: 14px;
}
.st-strengths .st-card__num {
	position: absolute;
	top: 0; left: 0;
	z-index: 2;
	display: grid;
	place-items: center;
	width: 54px; height: 54px;
	border-radius: 50%;
	background: var(--st-accent);
	color: #fff;
	font-size: 21px;
	font-weight: 700;
	letter-spacing: .02em;
	line-height: 1;
}
.st-strengths .st-card__icon {
	display: grid;
	place-items: center;
	width: 116px; height: 106px;
	margin-left: 16px;
	background: #fff;
	border: 1px solid color-mix(in srgb, var(--st-accent) 28%, transparent);
	border-radius: 36px 26px 30px 26px;
}
.st-strengths .st-card__icon img {
	width: 56%;
	max-height: 56%;
	object-fit: contain;
}

/* --- テキスト --- */
.st-strengths .st-card__title {
	margin: 0 0 12px;
	font-size: clamp(17px, 1.7vw, 21px);
	font-weight: 700;
	letter-spacing: .02em;
	line-height: 1.5;
}
.st-strengths .st-card__text {
	margin: 0;
	font-size: 14px;
	line-height: 1.95;
	color: var(--st-ink-sub);
}

/* --- 写真 --- */
.st-strengths .st-card__photo {
	overflow: hidden;
	border-radius: 16px;
	aspect-ratio: 3 / 2;
}
.st-strengths .st-card__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
/* 画像が未配置のときのプレースホルダ */
.st-strengths .st-card__photo.is-empty {
	background: repeating-linear-gradient(
		-45deg,
		#F0E6DE 0 8px,
		#F7F0EA 8px 16px
	);
}


/* =========================================================
   CTA帯
   ========================================================= */
.st-strengths .st-cta {
	background: var(--st-orange);
	color: #fff;
}
.st-strengths .st-cta__inner {
	position: relative;
	width: 100%;
	max-width: var(--st-wrap);
	margin: 0 auto;
	padding: 42px var(--st-gutter);
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 32px;
}
.st-strengths .st-cta__script {
	margin: 0 0 6px;
	font-family: "Caveat", cursive;
	font-size: 30px;
	font-weight: 700;
	line-height: 1;
	transform: rotate(-4deg);
	transform-origin: left center;
}
.st-strengths .st-cta__lead {
	margin: 0;
	font-size: clamp(16px, 1.8vw, 20px);
	font-weight: 700;
	line-height: 1.8;
}

.st-strengths .st-cta__btn {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	padding: 17px 34px;
	background: #fff;
	color: var(--st-orange);
	border-radius: 999px;
	font-size: 15px;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
	transition: transform .2s ease, box-shadow .2s ease;
}
.st-strengths .st-cta__btn:hover,
.st-strengths .st-cta__btn:focus-visible {
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, .16);
	color: var(--st-orange);
}
.st-strengths .st-cta__arrow { transition: transform .2s ease; }
.st-strengths .st-cta__btn:hover .st-cta__arrow { transform: translateX(4px); }

.st-strengths .st-cta__mascot {
	position: absolute;
	right: 12px; bottom: 0;
	width: 150px;
}


/* =========================================================
   レスポンシブ
   ========================================================= */
@media (max-width: 1024px) {
	.st-strengths .st-hero__inner {
		grid-template-columns: 1fr;
		gap: 44px;
	}
	.st-strengths .st-hero__text { text-align: center; }
	.st-strengths .st-hero__en::after { margin-inline: auto; }
	.st-strengths .st-hero__visual {
		max-width: 620px;
		margin-inline: auto;
	}
	.st-strengths .st-hero__script { left: -6%; width: 30%; }
	.st-strengths .st-hero__curve  { left: -4%; width: 28%; }
	.st-strengths .st-spot--1 { left: 0; }
	.st-strengths .st-spot--2 { left: -4%; }
	.st-strengths .st-spot--3 { left: 2%; }

	.st-strengths .st-card {
		grid-template-columns: 140px minmax(0, 1fr);
		grid-template-areas:
			"badge body"
			"photo photo";
		gap: 20px 24px;
	}
	.st-strengths .st-card__badge { grid-area: badge; }
	.st-strengths .st-card__body  { grid-area: body;  }
	.st-strengths .st-card__photo { grid-area: photo; aspect-ratio: 16 / 7; }

	.st-strengths .st-stripe--orange,
	.st-strengths .st-stripe--green { display: none; }
}

@media (max-width: 767px) {
	.st-strengths { --st-gutter: 20px; }
	.st-strengths .st-hero { padding: 28px 0 24px; }
	.st-strengths .st-hero__lead { font-size: 14px; }

	.st-strengths .st-hero__script { top: -4%; left: -2%; width: 34%; }
	.st-strengths .st-hero__curve  { bottom: -2%; left: -2%; width: 30%; }
	.st-strengths .st-hero__stars  { width: 11%; }
	.st-strengths .st-spot--3 { display: none; }

	.st-strengths .st-dots--top    { width: 70px; height: 60px; }
	.st-strengths .st-dots--bottom { display: none; }

	.st-strengths .st-belief { padding: 50px var(--st-gutter) 36px; }
	.st-strengths .st-belief__title { letter-spacing: .12em; text-indent: .12em; }

	.st-strengths .st-list__inner { gap: 20px; }

	.st-strengths .st-card {
		grid-template-columns: 1fr;
		grid-template-areas:
			"badge"
			"body"
			"photo";
		justify-items: center;
		text-align: center;
		padding: 26px 20px;
	}
	.st-strengths .st-card__badge { width: 118px; }
	.st-strengths .st-card__num   { width: 46px; height: 46px; font-size: 18px; }
	.st-strengths .st-card__icon  { width: 100px; height: 92px; }
	.st-strengths .st-card__photo { width: 100%; aspect-ratio: 3 / 2; }

	.st-strengths .st-cta__inner {
		grid-template-columns: 1fr;
		justify-items: center;
		text-align: center;
		padding: 36px var(--st-gutter) 40px;
		gap: 24px;
	}
	.st-strengths .st-cta__script { transform: rotate(-4deg); transform-origin: center; }
	.st-strengths .st-cta__mascot { display: none; }
/* 共通CTA帯 (cta-band.php) のマスコットをスマホで非表示 */
	.st-strengths .cta-band .cta-mascot,
	.st-strengths .cta-band img[src*="mascot"] { display: none !important; }
}


/* =========================================================
   アクセシビリティ
   ========================================================= */
.st-strengths a:focus-visible {
	outline: 3px solid #fff;
	outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
	.st-strengths .st-cta__btn,
	.st-strengths .st-cta__arrow { transition: none; }
	.st-strengths .st-cta__btn:hover,
	.st-strengths .st-cta__btn:focus-visible { transform: none; }
}