/*
Theme Name: Suimil
Theme URI: https://suimil.com/
Author: hedydayo17
Description: 株式会社スイミル コーポレートサイト用オリジナルテーマ
Version: 1.0
*/

/* ==========================================================================
   Reset & Base
   ========================================================================== */

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

:root {
	--color-text: #1a1a1a;
	--color-bg: #ffffff;
	--color-line: #cccccc;
	--color-placeholder: #e5e5e5;
	--color-muted: #8c8c8c;
	--color-divider-dark: #4d4d4d;
	/* ロゴの「i」の点と同じ青。ブランドカラーとして全体のアクセントに使う */
	--color-accent: #1e60f2;
	/* 暗い背景の上では上の青だとコントラストが足りないため、明るい方を使う */
	--color-accent-light: #7da8ff;
	--font-base: "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", sans-serif;
	--font-display: "BIZ UDPGothic", "Hiragino Kaku Gothic ProN", sans-serif;
	--gutter: 10px;
	--radius-media: 10px;
	--radius-btn: 5px;
	--section-gap: 200px;
}

html {
	/* Lenisが有効な時はJSでスクロールを制御するため、CSSのsmoothは切る。
	   （両方効くと二重制御でカクつく）。Lenis無効時のフォールバックとして
	   .lenis クラスが付かない場合のみ smooth を活かす。 */
	scroll-behavior: smooth;
	/* 固定ヘッダーの下に見出しが隠れないように（JS無効時のアンカー用フォールバック） */
	scroll-padding-top: 120px;
}

/* Lenis 稼働時の推奨スタイル */
html.lenis,
html.lenis body {
	height: auto;
}

.lenis.lenis-smooth {
	scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
	overscroll-behavior: contain;
}

.lenis.lenis-stopped {
	overflow: hidden;
}

body {
	margin: 0;
	font-family: var(--font-base);
	font-size: 14px;
	font-weight: 500;
	line-height: 1.714;
	color: var(--color-text);
	background: var(--color-bg);
	-webkit-font-smoothing: antialiased;
}

img {
	max-width: 100%;
	display: block;
}

a {
	color: inherit;
	text-decoration: none;
}

ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

h1, h2, h3, p {
	margin: 0;
	font-size: inherit;
	font-weight: inherit;
}

/* ==========================================================================
   Layout
   ========================================================================== */

.index__section {
	width: calc(100% - var(--gutter) * 2);
	margin: var(--section-gap) auto 0;
}

/* ヒーロー直後だけは詰める（200pxはセクション同士の間隔のため） */
.hero + .index__section {
	margin-top: 100px;
}

.collage + .index__section {
	margin-top: 60px;
}

/* ヒーロー・コラージュ直後の見出しは区切り罫線を出さない */
.hero + .index__section .sectionheading,
.collage + .index__section .sectionheading {
	border-top: none;
	padding-top: 0;
}

/* ==========================================================================
   Section heading（日本語小見出しが上・英字が下に巨大）
   ========================================================================== */

.sectionheading {
	width: 100%;
	border-top: 1px solid var(--color-line);
	padding: 28px 20px 0;
}

/* ロゴの「i」の点に呼応させ、小見出しの先頭に青い四角を置く */
.sectionheading__title {
	position: relative;
	padding-left: 22px;
	font-size: 14px;
	font-weight: 500;
}

.sectionheading__title::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.45em;
	width: 10px;
	height: 10px;
	background: var(--color-accent);
}

.sectionheading--right .sectionheading__title {
	padding-left: 0;
	padding-right: 22px;
}

.sectionheading--right .sectionheading__title::before {
	left: auto;
	right: 0;
}

.sectionheading__label {
	margin-top: 10px;
	font-size: 72px;
	font-weight: 500;
	letter-spacing: -0.025em;
	line-height: 1;
}

.sectionheading--right {
	text-align: right;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.rectbtn {
	position: relative;
	display: flex;
	align-items: center;
	width: fit-content;
	min-width: 180px;
	height: 55px;
	padding: 10px 75px 10px 20px;
	background: var(--color-text);
	color: #fff;
	border-radius: var(--radius-btn);
	font-size: 14px;
	font-weight: 500;
}

.rectbtn::before {
	content: "";
	position: absolute;
	right: 55px;
	top: 0;
	width: 1px;
	height: 100%;
	background: var(--color-divider-dark);
}

.rectbtn::after {
	content: "";
	position: absolute;
	right: 23.5px;
	top: 50%;
	width: 8px;
	height: 8px;
	transform: translateY(-50%);
	background: #fff;
	clip-path: polygon(0 0, 100% 50%, 0 100%);
	transition: transform 0.3s cubic-bezier(0.19, 1, 0.22, 1);
}

.rectbtn {
	transition: background 0.3s ease;
}

.rectbtn:hover {
	background: var(--color-accent);
}

.rectbtn:hover::before {
	background: rgba(255, 255, 255, 0.4);
}

.rectbtn:hover::after {
	transform: translateY(-50%) translateX(4px);
}

.rectbtn--wh {
	background: #fff;
	color: var(--color-text);
	border: 1px solid var(--color-line);
}

.rectbtn--wh::before {
	background: var(--color-line);
}

.rectbtn--wh::after {
	background: var(--color-text);
}

.rectbtn--center {
	margin-left: auto;
	margin-right: auto;
}

/* ==========================================================================
   Header
   ========================================================================== */

/* キーボード操作でTabすると現れる「本文へスキップ」リンク */
.skip-link {
	position: fixed;
	top: 8px;
	left: 8px;
	z-index: 2000;
	padding: 10px 18px;
	background: var(--color-text);
	color: #fff;
	border-radius: var(--radius-btn);
	font-size: 14px;
	transform: translateY(-150%);
	transition: transform 0.2s ease;
}

.skip-link:focus {
	transform: translateY(0);
	outline: 2px solid var(--color-accent);
	outline-offset: 2px;
}

.site-header {
	position: fixed;
	top: var(--gutter);
	left: var(--gutter);
	right: var(--gutter);
	z-index: 1000;
	background: transparent;
}

/* 開いた時に現れる白い帯 */
.site-header__bg {
	position: absolute;
	inset: 0;
	background: #fff;
	border-radius: var(--radius-media);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s ease;
	z-index: 0;
}

.site-header.open .site-header__bg {
	opacity: 1;
	pointer-events: auto;
}

.site-header__inner {
	position: relative;
	z-index: 10;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	height: 104px;
	padding: 0 40px;
}

.site-logo {
	position: relative;
	display: flex;
	align-items: center;
}

.site-logo__img {
	display: block;
	height: 30px;
	width: auto;
	flex-shrink: 0;
}

.site-nav ul {
	display: flex;
	gap: 26px;
	align-items: center;
	flex-wrap: nowrap;
}

.site-nav li {
	flex-shrink: 0;
}

.site-nav a {
	font-size: 14px;
	font-weight: 500;
	color: #fff;
	transition: opacity 0.2s ease;
}

.site-nav a:hover {
	opacity: 0.7;
}

/* メニューを開くとヘッダーが白帯になるため、文字は黒に戻す */
.site-header.open .site-nav a {
	color: var(--color-text);
}

/* 下層ページはヒーロー動画がないため、常に白帯＋黒文字にする */
.site-header--solid .site-header__bg {
	opacity: 1;
}

.site-header--solid .site-nav a {
	color: var(--color-text);
}

/* スクロールしたら白帯を出し、文字を濃くして常に読めるようにする */
.site-header.is-scrolled .site-header__bg {
	opacity: 1;
}

.site-header.is-scrolled .site-nav a {
	color: var(--color-text);
}

/* Menu / Close ボタン */
.site-menu-btn {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 44px;
	min-width: 108px;
	padding: 0 28px;
	background: var(--color-text);
	color: #fff;
	border: none;
	border-radius: 999px;
	font-family: inherit;
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	transition: background 0.2s ease;
}

.site-menu-btn:hover {
	background: var(--color-accent);
}

.site-menu-btn__text2 {
	display: none;
}

.site-header.open .site-menu-btn__text1 {
	display: none;
}

.site-header.open .site-menu-btn__text2 {
	display: block;
}

/* ==========================================================================
   Menu panel
   ========================================================================== */

.menupanel {
	position: fixed;
	top: calc(var(--gutter) + 104px);
	left: var(--gutter);
	right: var(--gutter);
	z-index: 999;
	background: #fff;
	border-radius: 0 0 var(--radius-media) var(--radius-media);
	opacity: 0;
	transform: translateY(-8px);
	transition: opacity 0.3s ease, transform 0.3s ease;
}

.menupanel.open {
	opacity: 1;
	transform: translateY(0);
}

.menupanel__inner {
	padding: 20px 40px 50px;
}

.menupanel__list {
	border-top: 1px solid var(--color-line);
}

.menupanel__list li {
	border-bottom: 1px solid var(--color-line);
}

.menupanel__list a {
	display: flex;
	align-items: baseline;
	gap: 24px;
	padding: 22px 4px;
	font-family: var(--font-display);
	font-size: 26px;
	font-weight: 400;
	transition: opacity 0.2s ease;
}

.menupanel__list a:hover {
	opacity: 0.55;
}

.menupanel__en {
	flex: 0 0 130px;
	font-family: var(--font-base);
	font-size: 12px;
	font-weight: 500;
	color: var(--color-muted);
}

.menupanel__btn {
	margin-top: 40px;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
	position: relative;
	top: var(--gutter);
	width: calc(100% - var(--gutter) * 2);
	height: calc(100svh - var(--gutter) * 2);
	min-height: 640px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	overflow: hidden;
	border-radius: var(--radius-media);
	color: #fff;
}

.hero__video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 0;
}

/* 映像が明るいため、上下を暗く落として文字の可読性を確保する */
.hero__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(20, 24, 32, 0.45) 0%, rgba(20, 24, 32, 0.12) 35%, rgba(20, 24, 32, 0.12) 65%, rgba(20, 24, 32, 0.4) 100%);
	z-index: 1;
}

.hero__content {
	position: relative;
	z-index: 3;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	padding: 0 30px;
}

.hero__title {
	font-size: 44px;
	font-weight: 500;
	font-family: var(--font-display);
	line-height: 1.4;
	letter-spacing: 0.02em;
	max-width: 30%;
	text-shadow: 0 2px 20px rgba(20, 24, 32, 0.5);
}

.hero__meta {
	font-size: 14px;
	line-height: 1.9;
	text-align: right;
	max-width: 25%;
	text-shadow: 0 2px 16px rgba(20, 24, 32, 0.75), 0 0 5px rgba(20, 24, 32, 0.6);
}

/* ==========================================================================
   Problem / Value（3カラム）
   ========================================================================== */

.businesslist {
	display: flex;
	flex-flow: row wrap;
	align-items: flex-start;
	gap: var(--gutter);
	margin-top: 70px;
}

.businesslist__block {
	flex: 0 0 calc(33.3333% - 6.667px);
}

.businesslist--4col .businesslist__block {
	flex: 0 0 calc(25% - 7.5px);
}

.businesslist__block__thumb {
	aspect-ratio: 3 / 2;
	border-radius: var(--radius-media);
	overflow: hidden;
	background: var(--color-placeholder);
}

.businesslist__block__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}

.businesslist__block:hover .businesslist__block__thumb img {
	transform: scale(1.04);
}

/* 写真の代わりに大きな番号を置くカード（Value の 04〜06） */
.businesslist__block__thumb--num {
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(30, 96, 242, 0.07);
	border: 1px solid rgba(30, 96, 242, 0.18);
}

.businesslist__block__bignum {
	font-family: var(--font-display);
	font-size: 96px;
	font-weight: 400;
	line-height: 1;
	color: var(--color-accent);
	transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.businesslist__block:hover .businesslist__block__bignum {
	transform: translateY(-6px);
}

.businesslist__block__detail {
	width: calc(100% - 36px);
	margin: 30px auto 0;
}

.businesslist__block__num {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	color: var(--color-accent);
}

.businesslist__block__title {
	margin-top: 8px;
	font-family: var(--font-display);
	font-size: 34px;
	font-weight: 400;
	line-height: 1.3;
}

.businesslist--4col .businesslist__block__title {
	font-size: 26px;
}

/* 「属人化」のような固い言葉に、やさしい言い換えを添える */
.businesslist__block__note {
	display: block;
	margin-top: 6px;
	font-family: var(--font-base);
	font-size: 13px;
	font-weight: 500;
	color: var(--color-muted);
}

.businesslist__block__text {
	margin-top: 22px;
}

.strength__text strong {
	color: #fff;
	font-weight: 700;
	border-bottom: 2px solid var(--color-accent-light);
	padding-bottom: 1px;
}

/* ==========================================================================
   About / Difference（右寄せの本文ブロック）
   ========================================================================== */

.index__about__main {
	width: 710px;
	max-width: 100%;
	margin: 60px 0 0 auto;
	padding-right: 20px;
}

.index__about__tagline {
	font-family: var(--font-display);
	font-size: 48px;
	font-weight: 400;
	line-height: 1.208;
}

.index__about__text {
	margin-top: 50px;
}

.index__about__btn {
	margin-top: 35px;
}

/* ==========================================================================
   Works（4カラム・正方形）
   ========================================================================== */

.workslist {
	margin-top: 70px;
}

.workslist__main {
	display: flex;
	flex-flow: row wrap;
	gap: var(--gutter);
}

.workslist__block {
	position: relative;
	flex: 0 0 calc(25% - 7.5px);
}

.workslist__block__thumb {
	position: relative;
	aspect-ratio: 1;
	border-radius: var(--radius-media);
	overflow: hidden;
	background: var(--color-placeholder);
}

.workslist__block__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.workslist__block__thumb::before {
	content: "";
	position: absolute;
	right: 10px;
	bottom: 10px;
	width: 55px;
	height: 55px;
	background: #fff;
	border-radius: var(--radius-btn);
	visibility: hidden;
}

.workslist__block__thumb::after {
	content: "";
	position: absolute;
	right: 33.5px;
	bottom: 33.5px;
	width: 8px;
	height: 8px;
	background: var(--color-text);
	clip-path: polygon(0 0, 100% 50%, 0 100%);
	visibility: hidden;
}

.workslist__block:hover .workslist__block__thumb::before,
.workslist__block:hover .workslist__block__thumb::after {
	visibility: visible;
}

.workslist__block__title {
	margin-top: 25px;
	font-family: var(--font-display);
	font-size: 26px;
	font-weight: 400;
	text-align: center;
}

.workslist__block__name {
	margin-top: 10px;
	font-size: 14px;
	text-align: center;
}

.workslist__btn {
	margin: 60px auto 0;
}

/* ==========================================================================
   Company / Recruit（テキストと正方形画像の左右分割）
   ========================================================================== */

.index__company__main {
	display: flex;
	flex-flow: row nowrap;
	align-items: center;
	justify-content: space-between;
	gap: 40px;
	margin-top: 70px;
}

.index__company__body {
	flex: 0 0 620px;
	max-width: 620px;
	padding-left: 20px;
}

.index__company__tagline {
	font-family: var(--font-display);
	font-size: 48px;
	font-weight: 400;
	line-height: 1.208;
}

.index__company__text {
	margin-top: 50px;
}

.index__company__btn {
	margin-top: 35px;
}

.index__company__image {
	flex: 0 0 auto;
	width: 705px;
	max-width: 50%;
	aspect-ratio: 1;
	border-radius: var(--radius-media);
	overflow: hidden;
	background: var(--color-placeholder);
}

.index__company__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	/* 縦長のポートレートでも頭が切れないよう上寄せで表示する */
	object-position: center top;
}

/* 2つ目（Recruit）は左右反転 */
.index__company--mirror .index__company__body {
	order: 2;
	padding-left: 0;
	padding-right: 20px;
}

.index__company--mirror .index__company__image {
	order: 1;
}

/* ==========================================================================
   Scroll reveal
   ==========================================================================
   JSが動く環境でのみ隠す。JS無効／未対応時は最初から見えたままにする。
   ========================================================================== */

/* GSAPが動く時だけ隠す。GSAPは opacity / y を直接操作するため transition は持たせない */
.has-reveal [data-reveal] {
	opacity: 0;
	transform: translateY(24px);
	will-change: opacity, transform;
}

/* Value カードはGSAPで派手に登場させるので、初期は隠しておく */
.has-reveal [data-value-card] {
	opacity: 0;
	will-change: opacity, transform;
}

.has-reveal [data-reveal].is-revealed {
	will-change: auto;
}

/* ==========================================================================
   SplitText（文字を1つずつ動かすための下準備）
   ========================================================================== */

/* 行ごとにマスクをかけ、文字が下からせり上がって見えるようにする */
.splitline {
	overflow: hidden;
	padding-bottom: 0.08em;
}

/* 文字の回転を立体的に見せる */
.hero__title {
	perspective: 600px;
}

/* 巨大な英字ラベルは、マスクの下からせり上げる */
.sectionheading__label {
	overflow: hidden;
	padding-bottom: 0.06em;
}

/* ==========================================================================
   Parallax（参考サイトの .prlximg 相当。枠内で画像をゆっくり動かす）
   ========================================================================== */

[data-parallax] {
	position: relative;
	overflow: hidden;
}

/* 枠より縦に大きく（125%）しておき、その余剰分をスクロールに応じて動かす。
   個別セクションの height:100% 指定に負けないよう詳細度を上げている。
   GSAPが transform を上書きするため、中央寄せは transform ではなく top で行う。 */
[data-parallax] img,
.collage__item[data-parallax] img,
.strength__visual[data-parallax] img,
.index__company__image[data-parallax] img {
	position: absolute;
	top: -12.5%;
	left: 0;
	width: 100%;
	height: 125%;
	object-fit: cover;
}

/* ==========================================================================
   Collage（ヒーロー直下の画像の見せ場）
   ========================================================================== */

.collage {
	position: relative;
	width: calc(100% - var(--gutter) * 2);
	margin: 60px auto 0;
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: var(--gutter);
	align-items: start;
}

.collage__item {
	margin: 0;
	border-radius: var(--radius-media);
	overflow: hidden;
	background: var(--color-placeholder);
}

.collage__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.collage__item--main {
	aspect-ratio: 3 / 2;
}

.collage__item--sub {
	aspect-ratio: 1;
	margin-top: 60px;
}

/* ==========================================================================
   Problem（左に写真・右にお悩みリストの2カラム）
   ========================================================================== */

.problem {
	display: grid;
	grid-template-columns: 0.85fr 1fr;
	gap: 56px;
	margin-top: 70px;
	align-items: center;
}

.problem__visual {
	margin: 0;
	aspect-ratio: 4 / 5;
	border-radius: var(--radius-media);
	overflow: hidden;
	background: var(--color-placeholder);
}

.problem__visual img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.problem__body .problemlist {
	margin-top: 0;
}

@media (max-width: 899px) {
	.problem {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.problem__visual {
		aspect-ratio: 16 / 10;
	}
}

/* ==========================================================================
   全幅の画像バンド（視差付き・セクションの合間の見せ場）
   ========================================================================== */

.imageband {
	position: relative;
	width: calc(100% - var(--gutter) * 2);
	margin: var(--section-gap) auto 0;
	height: 60vh;
	min-height: 420px;
	border-radius: var(--radius-media);
	overflow: hidden;
	display: flex;
	align-items: flex-end;
}

.imageband::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(0deg, rgba(7, 20, 55, 0.6) 0%, rgba(7, 20, 55, 0.1) 50%, rgba(7, 20, 55, 0.25) 100%);
	z-index: 1;
}

.imageband__caption {
	position: relative;
	z-index: 2;
	padding: 48px;
	font-family: var(--font-display);
	font-size: 32px;
	font-weight: 400;
	line-height: 1.5;
	color: #fff;
	text-shadow: 0 2px 20px rgba(7, 20, 55, 0.5);
}

@media (max-width: 767px) {
	.imageband {
		height: 44vh;
		min-height: 300px;
	}

	.imageband__caption {
		padding: 24px;
		font-size: 22px;
	}
}

/* ==========================================================================
   Problem list（お悩みの箇条書き）
   ========================================================================== */

.problemlist {
	margin-top: 70px;
	border-top: 1px solid var(--color-line);
}

.problemlist__item {
	position: relative;
	padding: 26px 20px 26px 56px;
	border-bottom: 1px solid var(--color-line);
	font-family: var(--font-display);
	font-size: 20px;
	font-weight: 400;
	line-height: 1.6;
}

/* チェックマーク */
.problemlist__item::before {
	content: "";
	position: absolute;
	left: 20px;
	top: 34px;
	width: 14px;
	height: 8px;
	border-left: 2px solid var(--color-accent);
	border-bottom: 2px solid var(--color-accent);
	transform: rotate(-45deg);
}

.problem__closing {
	margin-top: 40px;
	padding-left: 20px;
	font-family: var(--font-display);
	font-size: 22px;
	color: var(--color-accent);
}

/* ==========================================================================
   Service（提供サービス一覧・番号+テキストの行リスト）
   ========================================================================== */

.servicelead {
	margin-top: 44px;
	padding: 0 28px;
	max-width: 640px;
	font-size: 15px;
	line-height: 1.9;
	color: var(--color-text);
}

.servicelist {
	margin-top: 44px;
	border-top: 1px solid var(--color-line);
}

.servicecard {
	position: relative;
	display: grid;
	grid-template-columns: 90px 1fr 40px;
	align-items: center;
	gap: 32px;
	padding: 36px 28px;
	border-bottom: 1px solid var(--color-line);
	color: var(--color-text);
	transition: background 0.3s ease, color 0.3s ease, padding 0.3s ease;
}

.servicecard:hover {
	background: var(--color-text);
	color: #fff;
	padding-left: 40px;
	padding-right: 16px;
}

/* AI業務改善は主力。常時青く塗って先頭で際立たせる */
.servicecard--lead {
	background: var(--color-accent);
	color: #fff;
	border-bottom-color: var(--color-accent);
}

.servicecard--lead:hover {
	background: #1652d8;
	color: #fff;
}

.servicecard__num {
	font-family: var(--font-display);
	font-size: 32px;
	font-weight: 400;
	color: var(--color-accent);
	transition: color 0.3s ease;
}

.servicecard--lead .servicecard__num,
.servicecard:hover .servicecard__num {
	color: rgba(255, 255, 255, 0.75);
}

.servicecard__title {
	font-family: var(--font-display);
	font-size: 26px;
	font-weight: 400;
	line-height: 1.4;
}

.servicecard__text {
	grid-column: 2;
	margin-top: 8px;
	font-size: 14px;
	max-width: 46em;
	color: var(--color-muted);
	transition: color 0.3s ease;
}

.servicecard--lead .servicecard__text {
	color: rgba(255, 255, 255, 0.85);
}

.servicecard:hover .servicecard__text {
	color: rgba(255, 255, 255, 0.85);
}

.servicecard__arrow {
	justify-self: end;
	width: 10px;
	height: 10px;
	border-top: 2px solid currentColor;
	border-right: 2px solid currentColor;
	transform: rotate(45deg);
	transition: transform 0.3s cubic-bezier(0.19, 1, 0.22, 1);
}

.servicecard:hover .servicecard__arrow {
	transform: rotate(45deg) translate(3px, -3px);
}

@media (max-width: 767px) {
	.servicecard {
		grid-template-columns: 48px 1fr;
		gap: 12px 16px;
		padding: 24px 16px;
	}

	.servicecard__num {
		font-size: 22px;
	}

	.servicecard__title {
		font-size: 20px;
	}

	.servicecard__text {
		grid-column: 1 / -1;
	}

	.servicecard__arrow {
		display: none;
	}

	.servicecard:hover {
		padding-left: 16px;
		padding-right: 16px;
	}
}

/* ==========================================================================
   Value（もたらす価値・広い画面では横スクロール）
   ========================================================================== */

/* 横スクロールさせるため、はみ出しを隠す枠 */
.valuewrap {
	margin-top: 70px;
	overflow: hidden;
}

/* デスクトップ: カードを横一列に並べる（固定幅） */
.valuewrap .businesslist {
	margin-top: 0;
	flex-wrap: nowrap;
	align-items: stretch;
}

.valuewrap .businesslist__block {
	flex: 0 0 420px;
}

/* モバイル: 従来通り縦積みに戻す */
@media (max-width: 899px) {
	.valuewrap {
		overflow: visible;
	}

	.valuewrap .businesslist {
		flex-wrap: wrap;
	}

	.valuewrap .businesslist__block {
		flex: 0 0 100%;
	}
}

.valuepunch {
	position: relative;
	min-height: 100vh;
	margin-top: 0;
	padding: 24px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.valuepunch__text {
	position: relative;
	z-index: 1;
	margin: 0;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: clamp(20px, 3vw, 40px);
	line-height: 1.5;
	text-align: center;
	color: var(--color-accent);
	transform-origin: 50% 50%;
	will-change: transform, opacity;
}

.valuepunch__br {
	display: block;
}

/* JSが動く時だけ隠す（失敗時に本文が消えたままにならないように） */
.has-reveal .valuepunch__text {
	opacity: 0;
}

/* ==========================================================================
   Strength（差別化・最重要セクション）
   ========================================================================== */

.index__section--strength .sectionheading {
	border-color: var(--color-text);
}

.strength {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 64px;
	align-items: start;
	margin-top: 70px;
	padding: 60px 48px;
	background: var(--color-text);
	color: #fff;
	border-radius: var(--radius-media);
}

.strength__tagline {
	font-family: var(--font-display);
	font-size: 42px;
	font-weight: 400;
	line-height: 1.4;
}

.strength__text {
	margin-bottom: 1.6em;
	color: rgba(255, 255, 255, 0.85);
}

.strength__text:last-child {
	margin-bottom: 0;
}

.strength__text--emphasis {
	font-family: var(--font-display);
	font-size: 22px;
	color: var(--color-accent-light);
}

.strength__visual {
	margin: var(--gutter) 0 0;
	aspect-ratio: 21 / 9;
	border-radius: var(--radius-media);
	overflow: hidden;
	background: var(--color-placeholder);
}

.strength__visual img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* ==========================================================================
   Flow（5ステップ・広い画面では横スクロール）
   ========================================================================== */

/* 横スクロールさせるため、はみ出した分を隠す枠 */
/* ご支援の流れ：縦のタイムライン（上から下へ、線でつながる） */
.flowline {
	position: relative;
	margin-top: 56px;
	max-width: 760px;
}

/* ドットをつなぐ縦線 */
.flowline::before {
	content: '';
	position: absolute;
	left: 11px;
	top: 10px;
	bottom: 14px;
	width: 2px;
	background: linear-gradient(#1e60f2, #bcd3ff);
}

.flowstep {
	position: relative;
	padding: 0 0 40px 56px;
}

.flowstep:last-child {
	padding-bottom: 0;
}

/* 縦線の上に乗るドット */
.flowstep__dot {
	position: absolute;
	left: 4px;
	top: 5px;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: var(--color-accent);
	border: 3px solid #fff;
	outline: 2px solid rgba(30, 96, 242, 0.25);
}

.flowstep__num {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	color: var(--color-accent);
}

.flowstep__title {
	margin-top: 4px;
	font-family: var(--font-display);
	font-size: 26px;
	font-weight: 400;
	line-height: 1.4;
	color: var(--color-text);
}

.flowstep__text {
	margin-top: 10px;
	font-size: 15px;
	line-height: 1.9;
	color: #4a4a4a;
}

/* STEP 02 が一番の特徴。ドットを大きく、本文を薄青のパネルで際立たせる */
.flowstep--highlight .flowstep__dot {
	width: 20px;
	height: 20px;
	left: 2px;
	top: 3px;
	outline: 5px solid rgba(30, 96, 242, 0.15);
}

.flowstep--highlight .flowstep__body {
	background: rgba(30, 96, 242, 0.05);
	border: 1px solid rgba(30, 96, 242, 0.2);
	border-radius: var(--radius-media);
	padding: 20px 24px;
}

.flowstep__badge {
	display: inline-block;
	margin-top: 14px;
	padding: 5px 14px;
	background: var(--color-accent);
	color: #fff;
	border-radius: 5px;
	font-size: 12px;
	font-weight: 700;
}

@media (max-width: 899px) {
	.flowstep {
		padding-bottom: 34px;
	}

	.flowstep__title {
		font-size: 22px;
	}

	.flowstep--highlight .flowstep__body {
		padding: 16px 18px;
	}
}

/* ==========================================================================
   代表紹介
   ========================================================================== */

.message__role {
	font-size: 13px;
	color: var(--color-muted);
}

.message__name {
	margin-top: 6px;
	font-family: var(--font-display);
	font-size: 36px;
	line-height: 1.3;
}

.message__name + .index__company__text {
	margin-top: 32px;
}

/* 代表メッセージ：リード文＋本文＋署名 */
.message__lead {
	margin-top: 28px;
	font-family: var(--font-display);
	font-size: 26px;
	font-weight: 400;
	line-height: 1.6;
	color: var(--color-text);
}

.message__text {
	margin-top: 26px;
}

.message__text p {
	font-size: 15px;
	line-height: 2;
	color: #4a4a4a;
}

.message__text p + p {
	margin-top: 20px;
}

.message__sign {
	margin-top: 28px;
	font-family: var(--font-display);
	font-size: 15px;
	color: var(--color-text);
	text-align: right;
}

/* 本文が長くなるので、画像は上揃えにする */
#message .index__company__main {
	align-items: flex-start;
}

@media (max-width: 899px) {
	.message__lead {
		font-size: 21px;
	}
}

/* ==========================================================================
   FAQ
   ========================================================================== */

.faqlist {
	margin-top: 70px;
	border-top: 1px solid var(--color-line);
}

.faqlist__item {
	padding: 32px 20px;
	border-bottom: 1px solid var(--color-line);
}

.faqlist__q {
	position: relative;
	padding-left: 40px;
	font-family: var(--font-display);
	font-size: 20px;
	font-weight: 400;
	line-height: 1.5;
}

.faqlist__q::before {
	content: "Q.";
	position: absolute;
	left: 0;
	top: 0;
	font-family: var(--font-display);
	font-size: 20px;
	color: var(--color-accent);
}

.faqlist__a {
	position: relative;
	margin: 16px 0 0;
	padding-left: 40px;
	max-width: 68em;
	line-height: 1.9;
	color: var(--color-text);
}

.faqlist__a::before {
	content: "A.";
	position: absolute;
	left: 0;
	top: 0;
	font-family: var(--font-display);
	font-size: 20px;
	color: var(--color-muted);
}

/* FAQアコーディオン（5問目以降・クリックで開閉） */
.faqlist__item--toggle > summary {
	display: block;
	cursor: pointer;
	list-style: none;
	padding-right: 34px;
}

.faqlist__item--toggle > summary::-webkit-details-marker {
	display: none;
}

/* 右端のシェブロン（閉＝下向き／開＝上向き） */
.faqlist__item--toggle > summary::after {
	content: "";
	position: absolute;
	right: 8px;
	top: 0.35em;
	width: 8px;
	height: 8px;
	border-right: 2px solid var(--color-accent);
	border-bottom: 2px solid var(--color-accent);
	transform: rotate(45deg);
	transition: transform 0.3s ease;
}

.faqlist__item--toggle[open] > summary::after {
	transform: rotate(-135deg);
}

.faqlist__item--toggle > summary:hover {
	color: var(--color-accent);
}

/* 中間CTAバンド（Strengthの後・問い合わせへの誘導） */
.ctaband {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 32px;
	padding: 80px 20px;
	background: var(--color-text);
	color: #fff;
	text-align: center;
}

.ctaband__text {
	font-family: var(--font-display);
	font-size: clamp(22px, 3.4vw, 30px);
	font-weight: 500;
	line-height: 1.6;
}

.ctaband__btn {
	margin: 0 auto;
}

/* ==========================================================================
   News marquee（サムネ付きカードが右から左へ流れる）
   ========================================================================== */

.newsmarquee {
	margin-top: 70px;
	overflow: hidden;
	/* 左右の端をフェードさせて、流れが途切れて見えないようにする */
	mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
	-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}

.newsmarquee__track {
	display: flex;
	gap: 20px;
	width: max-content;
	animation: newsmarquee 45s linear infinite;
}

.newsmarquee:hover .newsmarquee__track {
	animation-play-state: paused;
}

@keyframes newsmarquee {
	from {
		transform: translateX(0);
	}
	to {
		/* 2セット出力しているため、半分動かすと元の位置に戻る */
		transform: translateX(calc(-50% - 10px));
	}
}

.newscard {
	flex: 0 0 320px;
	width: 320px;
}

.newscard__thumb {
	aspect-ratio: 3 / 2;
	border-radius: var(--radius-media);
	overflow: hidden;
	background: var(--color-placeholder);
}

.newscard__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.newscard:hover .newscard__thumb img {
	transform: scale(1.05);
}

.newscard__meta {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 18px;
}

.newscard__date {
	font-size: 14px;
}

.newscard__title {
	margin-top: 10px;
	font-size: 15px;
	line-height: 1.7;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.newscard:hover .newscard__title {
	opacity: 0.6;
}

/* アニメーションを控えたい利用者の設定を尊重する */
@media (prefers-reduced-motion: reduce) {
	.newsmarquee__track {
		animation: none;
	}

	.newsmarquee {
		overflow-x: auto;
	}
}

/* ==========================================================================
   News list
   ========================================================================== */

.newslist {
	margin-top: 70px;
	border-top: 1px solid var(--color-line);
}

.newslist__entry {
	position: relative;
	display: flex;
	align-items: center;
	gap: 30px;
	padding: 20px 4px 20px 24px;
	border-bottom: 1px solid var(--color-line);
	transition: opacity 0.2s ease;
}

.newslist__entry::after {
	content: "";
	position: absolute;
	left: 4px;
	top: 50%;
	width: 8px;
	height: 8px;
	transform: translateY(-50%);
	background: var(--color-accent);
	clip-path: polygon(0 0, 100% 50%, 0 100%);
	opacity: 0;
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.newslist__entry:hover::after {
	opacity: 1;
	transform: translateY(-50%) translateX(3px);
}

.newslist__entry:hover {
	opacity: 0.6;
}

.newslist__entry__date {
	flex: 0 0 80px;
	font-size: 14px;
}

.newslist__entry__title {
	flex: 1 1 auto;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.newslist__btn {
	margin-top: 50px;
}

.termitem {
	flex: 0 0 auto;
	min-width: 80px;
	min-height: 22px;
	padding: calc(5px - 1px) 10px;
	border: 1px solid var(--color-accent);
	border-radius: 99999px;
	font-size: 10px;
	line-height: 1.4;
	text-align: center;
	color: var(--color-accent);
}

/* ==========================================================================
   Contact
   ========================================================================== */

/* 会社概要：定義リストの表組み */
.companyinfo {
	margin-top: 56px;
	max-width: 820px;
	border-top: 1px solid var(--color-line);
}

.companyinfo__row {
	display: grid;
	grid-template-columns: 200px 1fr;
	gap: 24px;
	padding: 22px 4px;
	border-bottom: 1px solid var(--color-line);
}

.companyinfo__label {
	font-size: 14px;
	font-weight: 700;
	color: var(--color-text);
}

.companyinfo__value {
	font-size: 15px;
	line-height: 1.8;
	color: #4a4a4a;
}

.companyinfo__value a {
	color: var(--color-accent);
	text-decoration: underline;
	text-underline-offset: 2px;
}

@media (max-width: 899px) {
	.companyinfo__row {
		grid-template-columns: 1fr;
		gap: 6px;
		padding: 18px 2px;
	}
}

/* お問い合わせ：左に濃紺パネル（キャッチ＋安心ポイント）、右に白いフォームカード */
.contact {
	margin-top: 60px;
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	border: 1px solid var(--color-line);
	border-radius: var(--radius-media);
	overflow: hidden;
}

.contact__panel {
	background: linear-gradient(160deg, #0a2fb0, #1e60f2);
	color: #fff;
	padding: 56px 48px;
	display: flex;
	flex-direction: column;
}

.contact__tagline {
	font-family: var(--font-display);
	font-size: 32px;
	font-weight: 400;
	line-height: 1.5;
}

.contact__lead {
	margin-top: 24px;
	font-size: 15px;
	line-height: 1.9;
	color: rgba(255, 255, 255, 0.9);
}

.contact__points {
	margin-top: 32px;
	padding-top: 28px;
	border-top: 1px solid rgba(255, 255, 255, 0.25);
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.contact__points li {
	position: relative;
	padding-left: 30px;
	font-size: 15px;
	line-height: 1.6;
}

/* CSSで描くチェックマーク */
.contact__points li::before {
	content: '';
	position: absolute;
	left: 6px;
	top: 3px;
	width: 6px;
	height: 12px;
	border-right: 2px solid #fff;
	border-bottom: 2px solid #fff;
	transform: rotate(45deg);
}

.contact__note {
	margin-top: auto;
	padding-top: 36px;
	font-size: 13px;
	line-height: 1.8;
	color: rgba(255, 255, 255, 0.7);
}

.contact__formwrap {
	background: #fff;
	padding: 48px 44px;
}

.contact__formtitle {
	font-family: var(--font-display);
	font-size: 20px;
	margin-bottom: 24px;
}

.contact__form p {
	margin-bottom: 20px;
}

@media (max-width: 899px) {
	.contact {
		grid-template-columns: 1fr;
	}

	.contact__panel {
		padding: 40px 28px;
	}

	.contact__tagline {
		font-size: 26px;
	}

	.contact__formwrap {
		padding: 36px 24px;
	}
}

/* 短い項目は2カラムに並べる（お名前／会社名、メール／電話） */
.contact__form .cf7-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px 20px;
}

.contact__form .cf7-field {
	margin-bottom: 20px;
}

.contact__form .cf7-grid .cf7-field {
	margin-bottom: 0;
}

.contact__form label {
	display: block;
	font-size: 13px;
	font-weight: 700;
	margin-bottom: 8px;
	color: var(--color-text);
}

/* 必須／任意バッジ */
.cf7-req,
.cf7-opt {
	display: inline-block;
	margin-left: 8px;
	padding: 1px 8px;
	border-radius: 4px;
	font-size: 11px;
	font-weight: 700;
	vertical-align: 1px;
}

.cf7-req {
	background: var(--color-accent);
	color: #fff;
}

.cf7-opt {
	background: #eef1f6;
	color: var(--color-muted);
}

.cf7-submit {
	margin-top: 8px;
	margin-bottom: 0;
}

@media (max-width: 899px) {
	.contact__form .cf7-grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}
}

.contact__form input[type="text"],
.contact__form input[type="email"],
.contact__form input[type="tel"],
.contact__form textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid var(--color-line);
	border-radius: var(--radius-btn);
	font-family: inherit;
	font-size: 14px;
	background: #fff;
	color: var(--color-text);
}

.contact__form input:focus,
.contact__form textarea:focus {
	outline: 2px solid var(--color-text);
	outline-offset: -2px;
}

.contact__form textarea {
	min-height: 180px;
	resize: vertical;
}

.contact__form input[type="submit"] {
	width: 100%;
	height: 56px;
	padding: 0 32px;
	margin-top: 4px;
	background: var(--color-text);
	color: #fff;
	border: none;
	border-radius: var(--radius-btn);
	font-family: inherit;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.04em;
	cursor: pointer;
	transition: background 0.2s ease;
}

.contact__form input[type="submit"]:hover {
	background: var(--color-accent);
}

/* ==========================================================================
   下層ページ
   ========================================================================== */

.lower {
	padding-top: 104px;
}

.pagehero {
	width: calc(100% - var(--gutter) * 2);
	margin: 60px auto 0;
}

.entry {
	margin-top: 50px;
	max-width: 800px;
}

.entry p {
	margin-bottom: 1.8em;
}

.entry h2 {
	margin: 2.4em 0 0.8em;
	font-family: var(--font-display);
	font-size: 28px;
	font-weight: 400;
	line-height: 1.4;
}

.entry h3 {
	margin: 2em 0 0.6em;
	font-size: 18px;
	font-weight: 700;
}

.entry ul,
.entry ol {
	margin: 0 0 1.8em 1.4em;
}

.entry ul li {
	list-style: disc;
	margin-bottom: 0.4em;
}

.entry ol li {
	list-style: decimal;
	margin-bottom: 0.4em;
}

.entry a {
	color: var(--color-accent);
	text-decoration: underline;
}

.entry img {
	border-radius: var(--radius-media);
	margin: 1.5em 0;
}

.entry blockquote {
	margin: 1.8em 0;
	padding: 20px 24px;
	background: var(--color-placeholder);
	border-radius: var(--radius-media);
}

.single__meta {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-top: 30px;
	font-size: 14px;
}

.single__thumb {
	margin-top: 40px;
	border-radius: var(--radius-media);
	overflow: hidden;
}

.single__nav {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 30px;
	margin-top: 80px;
	padding-top: 40px;
	border-top: 1px solid var(--color-line);
	font-size: 14px;
}

.pagination {
	margin-top: 50px;
}

.pagination .nav-links {
	display: flex;
	justify-content: center;
	gap: 12px;
}

.pagination .page-numbers {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	border: 1px solid var(--color-line);
	border-radius: var(--radius-btn);
	font-size: 14px;
}

.pagination .page-numbers.current {
	background: var(--color-accent);
	color: #fff;
	border-color: var(--color-accent);
}

.notfound {
	margin-top: 70px;
}

.notfound__text {
	margin-bottom: 32px;
}

/* ==========================================================================
   Placeholder
   ========================================================================== */

.placeholder-box {
	margin-top: 70px;
	padding: 80px 20px;
	background: var(--color-placeholder);
	border-radius: var(--radius-media);
	text-align: center;
	color: var(--color-muted);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
	width: calc(100% - var(--gutter) * 2);
	margin: var(--section-gap) auto 0;
	border-top: 1px solid var(--color-line);
	padding: 50px 20px 30px;
}

.footer__inner {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 32px;
}

.footer__logo {
	height: 22px;
	width: auto;
}

.footer__tagline {
	margin-top: 16px;
	font-size: 12px;
	color: var(--color-muted);
}

.footer nav ul {
	display: flex;
	gap: 28px;
	flex-wrap: wrap;
}

.footer nav a {
	font-size: 14px;
}

.footer__copyright {
	margin-top: 60px;
	font-size: 10px;
	color: var(--color-muted);
}

/* ==========================================================================
   Responsive（参考サイト同様、767px の1ブレイクポイントのみ）
   ========================================================================== */

@media (max-width: 767px) {
	:root {
		--section-gap: 100px;
	}

	.site-nav {
		display: none;
	}

	.menupanel__list a {
		font-size: 20px;
		gap: 12px;
	}

	.menupanel__en {
		flex: 0 0 80px;
	}

	.menupanel__inner {
		padding: 16px 20px 40px;
	}

	.sectionheading__label {
		font-size: 40px;
	}

	/* モバイルは動画のワードマークと文字が重なりやすいので、背景を少し濃くして可読性を上げる */
	.hero__overlay {
		background: linear-gradient(180deg, rgba(20, 24, 32, 0.5) 0%, rgba(20, 24, 32, 0.4) 45%, rgba(20, 24, 32, 0.4) 60%, rgba(20, 24, 32, 0.6) 100%);
	}

	.hero__content {
		flex-flow: column;
		align-items: flex-start;
		gap: 20px;
	}

	.hero__title,
	.hero__meta {
		max-width: 100%;
	}

	.hero__title {
		font-size: 30px;
	}

	.hero__meta {
		text-align: left;
	}

	.businesslist__block,
	.businesslist--4col .businesslist__block,
	.workslist__block {
		flex: 0 0 100%;
	}

	.problemlist__item,
	.faqlist__q {
		font-size: 16px;
	}

	.problemlist__item {
		padding: 20px 12px 20px 44px;
	}

	.problemlist__item::before {
		left: 12px;
		top: 28px;
	}

	.strength {
		grid-template-columns: 1fr;
		gap: 32px;
		padding: 40px 24px;
	}

	.collage {
		grid-template-columns: 1fr;
	}

	.collage__item--sub {
		margin-top: 0;
	}

	.strength__visual {
		aspect-ratio: 3 / 2;
	}

	.strength__tagline {
		font-size: 28px;
	}

	.valuepunch {
		min-height: auto;
		padding: 72px 20px;
	}

	.message__name {
		font-size: 28px;
	}

	.index__about__main {
		width: 100%;
		padding-right: 0;
	}

	.index__about__tagline,
	.index__company__tagline {
		font-size: 30px;
	}

	.index__company__main {
		flex-flow: column;
		align-items: stretch;
	}

	.index__company__body,
	.index__company--mirror .index__company__body {
		flex: 0 0 auto;
		max-width: 100%;
		padding: 0;
		order: 1;
	}

	.index__company__image,
	.index__company--mirror .index__company__image {
		max-width: 100%;
		width: 100%;
		order: 2;
	}

	.newslist__entry {
		flex-wrap: wrap;
		gap: 8px 16px;
		padding-left: 16px;
	}

	.newslist__entry__title {
		flex: 0 0 100%;
		white-space: normal;
	}

	.single__nav {
		flex-direction: column;
		gap: 16px;
	}
}
