/*
 * SaCの強みページ（2026-10-19）
 * 参考：SEOLEO のブランドストーリーページの構成（背景の上に白いカードを重ね、写真と文章を交互に置く）。
 * 寸法・構成を参考にし、文章・画像・コードは SaC 用に新規に作成した。
 */
:root { --fs-ink: #003040; --fs-blue: #0599d9; --fs-pink: #e96a8f; --fs-navy: #1f3f73; --fs-ease: cubic-bezier(.2, .7, .2, 1); }
body.page-template-page-feature { background: transparent; }
@media (max-width: 1024px) { body.page-template-page-feature .site-main { max-width: none !important; width: 100% !important; } }   /* custom.css が .site-main を 100vw にし、スクロールバー分(15px)横にはみ出すのを防ぐ */
.fs-bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: linear-gradient(135deg, #bfd9ec 0%, #dce9f3 45%, #f3dde3 100%); }
/* 背景の動画（雲が流れる）。下のグラデーションは、読み込み前と、動きを減らす設定の人用 */
.fs-bg__v { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.4s ease-in-out; pointer-events: none; }
.fs-bg__v.is-on { opacity: 1; }
.fs-bg__wash { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(191, 217, 236, .5) 0%, rgba(220, 233, 243, .38) 45%, rgba(243, 221, 227, .5) 100%); }   /* 白いカードと文字を読みやすくする淡い膜 */
.fs-bg.is-static .fs-bg__v { display: none; }
.fs-bg.is-static .fs-bg__wash { display: none; }
.fs-wrap { width: min(1180px, 100% - 48px); margin: 0 auto; padding: 152px 0 96px; color: var(--fs-ink); font-weight: 500; }
.fs-crumb { margin: 0 0 16px; }
.fs-crumb ol { display: inline-flex; gap: 10px; margin: 0; padding: 6px 18px; list-style: none; background: rgba(255, 255, 255, .88); border-radius: 999px; font-size: 13px; line-height: 20px; }
.fs-crumb li + li::before { content: "›"; margin-right: 10px; color: #97a8c6; }
.fs-crumb a { color: inherit; text-decoration: none; }
.fs-crumb a:hover { text-decoration: underline; text-underline-offset: 4px; }
.fs-card { background: #fff; border-radius: 24px; overflow: hidden; box-shadow: 0 20px 60px rgba(31, 63, 115, .16); }
.fs-head { padding: clamp(56px, 9vw, 120px) 24px clamp(48px, 7vw, 92px); text-align: center; }
.fs-head h1 { margin: 0; color: var(--fs-navy); font-size: clamp(30px, 3.6vw, 44px); letter-spacing: .14em; line-height: 1.5; font-weight: 700; }
.fs-en { margin: 8px 0 0; color: #97a8c6; font-weight: 700; font-size: 17px; letter-spacing: .06em; }
.fs-photo { background: linear-gradient(135deg, #e4eef7, #f3e4ea); }
.fs-photo img { display: block; width: 100%; height: auto; }

/* 選ばれる理由 */
.fs-intro { padding: clamp(56px, 8vw, 104px) clamp(24px, 6vw, 80px) clamp(24px, 4vw, 48px); background: #fff; }
.fs-intro-title { display: flex; flex-direction: column; align-items: center; margin: 0 0 clamp(32px, 5vw, 64px); text-align: center; }
.fs-intro-en { color: var(--fs-navy); font-weight: 700; font-size: clamp(28px, 5.2vw, 56px); line-height: 1.2; letter-spacing: .08em; }
.fs-intro-ja { margin-top: 12px; color: var(--fs-ink); font-size: clamp(14px, 1.3vw, 16px); letter-spacing: .5em; font-weight: 500; }
.fs-intro-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); gap: clamp(24px, 4vw, 56px); align-items: center; }
.fs-intro-text { margin: 0; font-size: clamp(16px, 1.4vw, 17px); line-height: 2.2; letter-spacing: .04em; }
.fs-intro-logo img { display: block; width: 100%; height: auto; }

/* 本文 */
.fs-body { padding: clamp(56px, 9vw, 112px) clamp(24px, 12vw, 160px) 0; }
.fs-body h2 { margin: 0 0 clamp(28px, 4vw, 48px); color: var(--fs-navy); font-size: clamp(26px, 3.8vw, 52px); line-height: 1.5; letter-spacing: .05em; font-weight: 700; }
.fs-body p { margin: 0 0 .35em; font-size: 16px; line-height: 1.95; letter-spacing: .08em; }
.fs-body .fs-gap { margin-top: .85em; }
.fs-em { color: var(--fs-blue); font-weight: 700; }

/* 帯画像つきブロック */
.fs-band { position: relative; display: block; margin-top: clamp(40px, 5vw, 64px); padding: clamp(32px, 4vw, 56px) clamp(24px, 12vw, 160px) clamp(160px, 24vw, 290px); background: #fff; }
.fs-band::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; aspect-ratio: 2048 / 768; background: linear-gradient(90deg, #fff 0%, #fff 34%, rgba(255, 255, 255, .55) 52%, rgba(255, 255, 255, 0) 74%), var(--band) center 30% / cover no-repeat; }
.fs-band-text { position: relative; z-index: 1; max-width: 72%; }
.fs-band h2, .fs-feature h2 { margin: 0 0 clamp(20px, 2.6vw, 32px); color: var(--fs-navy); font-size: clamp(24px, 3vw, 38px); line-height: 1.65; letter-spacing: .05em; font-weight: 700; }
.fs-band p, .fs-feature p, .fs-message p { margin: 0 0 .35em; font-size: clamp(16px, 1.5vw, 18px); line-height: 1.95; letter-spacing: .08em; }
.fs-band-text p { word-break: auto-phrase; text-wrap: balance; }   /* 改行は「。」の位置だけ。長い文は、文節で、バランスよく折り返す */
.fs-band p { font-size: 16px; }
.fs-band h2 { white-space: nowrap; }
/* 広い画面では、文章の幅を広げ、1文を必ず1行にする（写真の上まで文字がかかるので、写真の左側を白く薄くして読みやすくする） */
@media (min-width: 1280px) {
	.fs-band { padding-right: 56px; }
	.fs-band-text { max-width: none; }
	.fs-band-text p { white-space: nowrap; text-wrap: nowrap; }
	.fs-band::before { background: linear-gradient(90deg, #fff 0%, #fff 48%, rgba(255, 255, 255, .72) 66%, rgba(255, 255, 255, .12) 100%), var(--band) center 30% / cover no-repeat; }
}

/* 区切りの点 */
.fs-dots { display: flex; justify-content: center; gap: 5px; margin: clamp(56px, 8vw, 96px) 0; }
.fs-dots span { width: 3px; height: 3px; border-radius: 50%; background: var(--fs-navy); }

/* 写真と文章を交互に置く */
.fs-feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: center; padding: 0 clamp(24px, 12vw, 160px); }
.fs-feature-rev { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.fs-feature h2 { font-size: clamp(20px, 2.5vw, 32px); white-space: nowrap; }
.fs-feature-photo { overflow: hidden; border-radius: 14px; aspect-ratio: 1125 / 1398; background: linear-gradient(135deg, #e4eef7, #f3e4ea); }
.fs-feature-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.fs-nowrap p { white-space: nowrap; }

/* メッセージ */
.fs-message { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; padding: 0 clamp(24px, 12vw, 160px); }
.fs-message h2 { margin: 0; color: var(--fs-navy); font-size: clamp(26px, 3.5vw, 44px); line-height: 1.5; letter-spacing: .05em; font-weight: 700; white-space: nowrap; }
.fs-message p { font-size: 14px; }

/* 写真モザイク */
.fs-mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(3, auto); gap: 12px; padding: clamp(56px, 8vw, 104px) 12px 12px; }
.fs-mosaic > * { min-height: 0; }
.fs-ph { position: relative; overflow: hidden; border-radius: 12px; background: linear-gradient(135deg, #e4eef7, #f3e4ea); min-height: 200px; height: 100%; }
.fs-ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fs-m1 { grid-column: 1; grid-row: 1 / 3; }
.fs-m2 { grid-column: 2; grid-row: 1; }
.fs-m3 { grid-column: 3 / 5; grid-row: 1; }
.fs-m-logo { grid-column: 2 / 4; grid-row: 2; display: grid; place-items: center; padding: 24px; }
.fs-m-logo img { display: block; width: min(60%, 320px); height: auto; }
.fs-m4 { grid-column: 4; grid-row: 2 / 4; }
.fs-m5 { grid-column: 1 / 3; grid-row: 3; }
.fs-m6 { grid-column: 3; grid-row: 3; }

/* 事業 */
.fs-biz { padding: clamp(72px, 9vw, 120px) clamp(24px, 12vw, 160px) clamp(72px, 11vw, 140px); }
.fs-biz-mark { display: flex; align-items: center; gap: 6px; margin: 0 0 22px; }
.fs-biz-mark span:first-child { width: 34px; height: 3px; background: var(--fs-navy); }
.fs-biz-mark span:last-child { width: 12px; height: 3px; background: var(--fs-pink); }
.fs-biz h2 { margin: 0; color: var(--fs-navy); font-size: clamp(28px, 3.2vw, 40px); line-height: 1.4; letter-spacing: .04em; font-weight: 700; }
.fs-biz-lead { margin: 32px 0 0; font-size: clamp(16px, 1.5vw, 18px); line-height: 2.1; letter-spacing: .06em; }
.fs-biz-item { display: grid; grid-template-columns: minmax(0, 1.14fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 68px); align-items: center; margin-top: clamp(56px, 8vw, 104px); }
.fs-biz-thumb { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 12px; box-shadow: 0 14px 40px rgba(31, 63, 115, .14); background: #e4eef7; }
.fs-biz-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--fs-ease); }
.fs-biz-item:hover .fs-biz-thumb img { transform: scale(1.04); }
.fs-biz-tab { position: absolute; right: 0; bottom: 0; display: grid; place-items: center; width: 56px; height: 56px; background: linear-gradient(45deg, #e96a8f, #009ada); color: #fff; border-radius: 12px 0 0 0; transition: width .6s var(--fs-ease); }
.fs-biz-item:hover .fs-biz-tab { width: 68px; }
.fs-biz-text h3 { margin: 0 0 20px; color: var(--fs-navy); font-size: clamp(20px, 2vw, 26px); line-height: 1.5; letter-spacing: .04em; font-weight: 700; }
.fs-biz-text p { margin: 0 0 26px; font-size: clamp(15px, 1.4vw, 17px); line-height: 2; letter-spacing: .05em; }
.fs-biz-more { display: inline-flex; align-items: center; gap: 12px; color: var(--fs-ink); font-weight: 700; text-decoration: none; }
.fs-biz-icon { display: inline-grid; place-items: center; width: 22px; height: 22px; background: var(--fs-pink); color: #fff; border-radius: 50%; transition: transform .6s var(--fs-ease); }
.fs-biz-more:hover { text-decoration: underline; text-underline-offset: 5px; }
.fs-biz-more:hover .fs-biz-icon { transform: translateX(5px); }

/* もっと知る */
.fs-more { padding: 0 clamp(24px, 12vw, 160px) clamp(72px, 10vw, 128px); }
.fs-more-title { margin: 0; padding-bottom: 14px; color: var(--fs-navy); font-size: clamp(22px, 2.4vw, 30px); letter-spacing: .04em; border-bottom: 2px solid #c9d6e3; font-weight: 700; }
.fs-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; margin: 32px 0 0; padding: 0; list-style: none; }
.fs-cardlink { position: relative; display: flex; align-items: center; gap: 28px; min-height: 200px; padding: 28px 84px 28px 28px; overflow: hidden; border-radius: 16px; background: #f4f8fc; color: var(--fs-ink); text-decoration: none; transition: transform .5s var(--fs-ease), box-shadow .5s var(--fs-ease); }
.fs-cardlink:hover { transform: translateY(-6px); box-shadow: 0 18px 48px rgba(31, 63, 115, .14); }
.fs-card-text { display: flex; flex-direction: column; gap: 6px; min-width: 0; white-space: nowrap; }   /* 「会社概要」などを途中で折り返さない */
.fs-icon { flex: none; }
.fs-card-ja { color: var(--fs-navy); font-weight: 700; font-size: clamp(22px, 2vw, 28px); line-height: 1.4; letter-spacing: .04em; }
.fs-card-en { color: #6f84a8; font-weight: 700; font-size: 16px; letter-spacing: .04em; }
.fs-tab { position: absolute; right: 0; bottom: 0; display: grid; place-items: center; width: 64px; height: 64px; background: linear-gradient(45deg, #e96a8f, #009ada); color: #fff; border-radius: 16px 0 0 0; transition: width .5s var(--fs-ease); }
.fs-cardlink:hover .fs-tab { width: 76px; }

/* スクロールで現れる（js/main.js が .is-in を付ける） */
.js-on .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1.1s var(--fs-ease), transform 1.1s var(--fs-ease); }
.js-on .reveal.is-in { opacity: 1; transform: none; }
.js-on .fs-cards > .reveal:nth-child(2) { transition-delay: .12s; }

@media (max-width: 960px) {
	.fs-intro-inner { grid-template-columns: 1fr; gap: 16px; }
	.fs-intro-logo { max-width: 240px; margin-inline: auto; }
	.fs-band h2, .fs-feature h2, .fs-message h2 { white-space: normal; }
	.fs-nowrap p { white-space: normal; }
}
@media (max-width: 760px) {
	.fs-wrap { width: calc(100% - 24px); padding: 116px 0 64px; }
	.fs-band { padding: 40px 24px 130px; }
	.fs-band::before { background: linear-gradient(90deg, rgba(255, 255, 255, .7), rgba(255, 255, 255, .15)), var(--band) center / cover no-repeat; }
	.fs-band-text { max-width: none; }
	.fs-feature, .fs-feature-rev, .fs-message { grid-template-columns: 1fr; padding-inline: 24px; }
	.fs-feature-rev .fs-feature-text { order: -1; }
	.fs-mosaic { grid-template-columns: repeat(2, 1fr); grid-template-rows: none; padding-inline: 12px; }
	.fs-mosaic > * { grid-column: auto; grid-row: auto; }
	.fs-m3, .fs-m5, .fs-m-logo { grid-column: 1 / -1; }
	.fs-ph { min-height: 160px; }
	.fs-biz-item { grid-template-columns: 1fr; }
	.fs-cards { grid-template-columns: 1fr; gap: 20px; }
	.fs-cardlink { min-height: 150px; padding: 20px 80px 20px 20px; gap: 18px; }
}
@media (prefers-reduced-motion: reduce) { .js-on .reveal { opacity: 1; transform: none; transition: none; } }
