@charset "utf-8";
/* ==================================================
   共通パーツ：ヘッダー・半円見出し・関連バナー・フッター
   基本設定 → 画面幅別の調整 → パーツ別の追加調整の順。
   同じ指定が複数ある場合は、後にある条件・指定も確認する。
   読み込み順と編集先の一覧：README.md「CSSの修正方法」
================================================== */
/* File: common.css | Version: 1.0.0 | Update: 2026-10-20
   Author: https://flowlab.co.jp | (c)2026 Flowlab inc. */
/* ===================================================
   ヘッダーとメニューボタン
=================================================== */
/* --- 固定ヘッダーとメニューボタン --- */
.siteHeader {
	position: fixed;
	pointer-events: none;
	top: 0;
	left: 0;
	z-index: 10;
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: 25px 30px;
}

.siteHeader > * {
	pointer-events: auto;
}

.headerLogo {
	width: 250px;
	max-width: calc(100% - 70px);
}

.headerLogo img {
	display: block;
	width: 100%;
	height: auto;
}

.menuButton {
	position: relative;
	z-index: 12;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
	width: 50px;
	height: 50px;
	padding: 12px;
	border: 0;
	background: #000;
	cursor: pointer;
}

.menuButton span {
	width: 24px;
	height: 1px;
	background: #fff;
	transition: transform .2s, opacity .2s;
}

.menuButton[aria-expanded="true"] span:first-child {
	transform: translateY(7px) rotate(45deg);
}

.menuButton[aria-expanded="true"] span:nth-child(2) {
	opacity: 0;
}

.menuButton[aria-expanded="true"] span:last-child {
	transform: translateY(-7px) rotate(-45deg);
}

/* ===================================================
   下層ページの半円見出しとFAQ導入
=================================================== */
/* --- 下層ページ共通の半円見出し --- */
.companyHero {
	position: relative;
	height: min(36vw, 468px);
}

.heroPhoto {
	animation: heroPhotoDrop 1s cubic-bezier(.22,1,.36,1) both;
	position: absolute;
	bottom: 0;
	left: 50%;
	width: min(80vw, 1040px);
	aspect-ratio: 1;
	border-radius: 50%;
	transform: translateX(-50%);
}

/* Solid circle first, then its photograph, then the heading. */
.pageCompany,.pageData,.pageFaq {
	--hero-solid: #ff9acc;
}

.pageFlow,.pageJob {
	--hero-solid: #0c5085;
}

.pageInterview {
	--hero-solid: #4eb9fa;
}

.pageCross {
	--hero-solid: #ff7f00;
}

.pageEntry {
	--hero-solid: #1eaa39;
}

.pageCareer {
	--hero-solid: var(--accent,#8dc63f);
}

.pageMessage {
	--hero-solid: #ea5550;
}

.companyHero > .heroPhoto[aria-hidden="true"] {
	background: var(--hero-solid,#ff9acc);
}

.companyHero .heroPhoto > img {
	animation: heroPhotoReveal .65s 1s ease-out both;
}

.companyTitle {
	animation: heroTitleAppear .65s 1.7s ease-out both;
	position: absolute;
	right: 0;
	bottom: 62px;
	left: 0;
	text-align: center;
	font-weight: 800;
}

.companyTitle span:first-child {
	display: block;
	font-family: "Fraunces", var(--font-serif);
	font-size: clamp(2.5rem, 5.85vw, 4.75rem);
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: .03em;
}

.companyTitle span:last-child {
	font-family: "Zen Kaku Gothic New", var(--font-jp);
	font-weight: 700;
	display: block;
	padding-top: 12px;
	font-size: 1.2rem;
}

.dotContents {
	padding: 96px 0 110px;
	background-color: #fff;
	background-image: radial-gradient(circle, rgb(255 159 213 / 20%) 4.45px, transparent 4.95px), radial-gradient(circle, rgb(255 159 213 / 20%) 4.45px, transparent 4.95px);
	background-size: 52px 52px;
	background-position: 0 0, 26px 26px;
}

/* ===================================================
   Related contents
=================================================== */
.relatedContents {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
	width: min(calc(100% - 48px), 1040px);
	margin: 135px auto 0;
	scroll-margin-top: 24px;
}

.relatedCard {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	height: 180px;
	padding: 28px 10px;
	border: 0;
	color: #000;
	font-size: .875rem;
	font-weight: 800;
	line-height: 1.4;
	text-align: center;
	text-decoration: none;
}

.relatedCard > span {
	position: relative;
}

.cardLabel {
	font-family: "Zen Kaku Gothic New", var(--font-jp);
	font-size: 1.0625rem;
	font-weight: 700;
	line-height: 1.6;
}

.cardTitle {
	font-family: "Fraunces", var(--font-serif);
	font-size: 1.5rem;
	font-weight: 800;
	line-height: 1.05;
	letter-spacing: .03em;
}

.relatedCard .cardArrow {
	position: absolute;
	right: 12px;
	bottom: 4px;
	width: 50px;
	height: 50px;
}

.cardArrow img {
	display: block;
	width: 100%;
	height: auto;
}

/* ===================================================
   Footer
=================================================== */
/* --- フッター --- */
.siteFooter {
	background: #000;
	color: #fff;
	letter-spacing: .05em;
}

.footerInner {
	position: relative;
	width: min(86%, 1120px);
	margin: 0 auto;
	padding: 55px 0 32px;
}

.footerLogo {
	width: 324px;
	max-width: 100%;
}

.footerLogo img {
	display: block;
	width: 100%;
	height: auto;
}

.companyName {
	padding-top: 60px;
	font-size: 1.5625rem;
	font-weight: 700;
}

.footerContact {
	min-height: 102px;
	padding-top: 20px;
	font-size: 1.125rem;
	font-style: normal;
	line-height: 2;
}

.footerContact > span {
	display: block;
}

.contactNumber {
	display: inline-block;
}

.footerLinks {
	display: flex;
	align-items: center;
	gap: 22px;
	padding-top: 60px;
}

.footerLinks .corporateLink {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 0;
	border: 0;
	background: transparent;
	color: #fff;
	text-decoration: none;
	font-size: 1.125rem;
	font-weight: 700;
}

.corporateLink img {
	width: 60px;
	height: 50px;
}

.socialLink img {
	display: block;
	width: 50px;
	height: 50px;
}

.entryButton {
	position: fixed;
	right: max(32px, env(safe-area-inset-right));
	--entry-base-bottom: max(24px, env(safe-area-inset-bottom));
	bottom: var(--entry-base-bottom);
	transform: translateY(calc(-1 * var(--entry-stop-offset, 0px)));
	z-index: 20;
	display: block;
	width: 135px;
	aspect-ratio: 1;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
}

.entryButton img {
	display: block;
	width: 100%;
	height: auto;
}

.copyright {
	padding-top: 50px;
	text-align: center;
	font-family: Arial, sans-serif;
}

.copyright small {
	font-size: .75rem;
}

/* ===================================================
   Tablet
=================================================== */
/* 画面幅・操作環境の条件：screen and (min-width: 897px) and (max-width: 1299px) */
@media screen and (min-width: 897px) and (max-width: 1299px) {
	.cardTitle {
		font-size: 1.125rem;
	}

	.relatedCard {
		font-size: .75rem;
	}

}

/* 画面幅・操作環境の条件：screen and (max-width: 896px) */
@media screen and (max-width: 896px) {
	.siteHeader {
		padding: 14px 18px;
	}

	.headerLogo {
		width: 220px;
		max-width: calc(100% - 60px);
	}

	.menuButton {
		width: 44px;
		height: 44px;
	}

	.companyHero {
		height: 260px;
	}

	.heroPhoto {
		width: max(88vw, 440px);
	}

	.companyTitle {
		bottom: 42px;
	}

	.companyTitle span:first-child {
		font-size: 2.75rem;
	}

	.companyTitle span:last-child {
		padding-top: 8px;
		font-size: 1.2rem;
	}

	.dotContents {
		padding: 48px 0 60px;
		background-size: 52px 52px;
		background-position: 0 0, 26px 26px;
		background-image: radial-gradient(circle, rgb(255 159 213 / 20%) 3px, transparent 3.5px), radial-gradient(circle, rgb(255 159 213 / 20%) 3px, transparent 3.5px);
	}

	.relatedContents {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 16px;
		width: 88%;
		margin-top: 64px;
	}

	.cardTitle {
		font-size: clamp(.9rem, 4.4vw, 1.5rem);
	}

	.relatedCard {
		height: auto;
		aspect-ratio: 242 / 180;
		padding: 14px 8px;
		font-size: .75rem;
	}

	.relatedCard .cardArrow {
		right: 8px;
		width: 28px;
		height: 28px;
	}

	.cardLabel {
		font-size: 1rem;
	}

	.footerInner {
		width: 86%;
		padding-top: 36px;
		padding-bottom: max(16px, env(safe-area-inset-bottom));
	}

	.footerLogo {
		width: 260px;
	}

	.companyName {
		padding-top: 44px;
		font-size: 1.375rem;
	}

	.footerContact {
		min-height: 80px;
		padding-top: 16px;
		font-size: 1rem;
	}

	.footerLinks {
		flex-wrap: wrap;
		gap: 20px;
		padding-top: 24px;
	}

	.footerLinks .corporateLink {
		font-size: 1rem;
	}

	.corporateLink img {
		width: 48px;
		height: 40px;
	}

	.socialLink img {
		width: 40px;
		height: 40px;
	}

	.entryButton {
		right: max(16px, env(safe-area-inset-right));
		bottom: max(16px, env(safe-area-inset-bottom));
		width: 100px;
	}

	.copyright {
		padding-top: 140px;
	}

	.copyright small {
		font-size: .625rem;
	}

}

/* 画面幅・操作環境の条件：(prefers-reduced-motion: reduce) */
@media (prefers-reduced-motion: reduce) {
	.menuButton span {
		transition: none;
	}

	.heroPhoto {
		animation: none;
		transform: translateX(-50%);
	}

	.companyTitle {
		animation: none;
		opacity: 1;
		transform: none;
	}

	.companyHero .heroPhoto > img {
		animation: none;
		opacity: 1;
	}

}

/* 画面幅・操作環境の条件：screen and (max-width: 360px) */
@media screen and (max-width: 360px) {
	.cardTitle {
		font-size: .8rem;
	}

	.cardLabel {
		font-size: .875rem;
	}

}

/* 会社情報の日本語ラベルはページ間で文字間を揃える。 */
.pageCompany .companyTitle > span:last-child,
.pageFaq .companyTitle > span:last-child,
.pageData .companyTitle > span:last-child {
	letter-spacing: .12em;
}

/* フッターの社名・連絡先・サイトリンクの書体 */
.companyName, .footerContact, .corporateLink {
	font-family: "Zen Kaku Gothic New", var(--font-jp);
}

.siteFooter .corporateLink {
	letter-spacing: inherit;
}

/* SVG自体の余白を含め、リンクとSNSアイコンの見た目の間隔を揃える。 */
.footerLinks .corporateLink {
	gap: 2px;
}

.footerSocialLinks {
	display: flex;
	align-items: center;
	gap: 4px;
}

/* 色の半円 → 写真 → タイトルの順に表示する。 */
@keyframes heroPhotoReveal {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}

}

@keyframes heroPhotoDrop {
	from {
		transform: translate(-50%,-100%);
	}

	to {
		transform: translate(-50%,0);
	}

}

@keyframes heroTitleAppear {
	from {
		opacity: 0;
		transform: translateY(12px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}

}

/* 外周の文字と線だけを回し、中央とリンク領域は固定する。 */
.entryButton .entryButtonRing {
	position: absolute;
	inset: 0;
	transform-origin: 50% 50%;
	animation: entryRingRotate 30s linear infinite;
	pointer-events: none;
}

@keyframes entryRingRotate {
	from {
		transform: rotate(0deg);
	}

	to {
		transform: rotate(360deg);
	}

}

/* 画面幅・操作環境の条件：(prefers-reduced-motion: reduce) */
@media (prefers-reduced-motion: reduce) {
	.entryButton .entryButtonRing {
		animation: none;
	}

}

.contactPhoneMobile {
	display: none;
	text-decoration: none;
}

/* 画面幅・操作環境の条件：screen and (max-width: 896px) */
@media screen and (max-width: 896px) {
	.contactPhoneDesktop {
		display: none;
	}

	.contactPhoneMobile {
		display: inline-block;
	}

}

/* M PLUS 1p: FAQと同じ横92%の長体。背景・下線は親要素に残す。 */
.mplusCondensed {
	display: block;
	transform: scaleX(.92);
	transform-origin: left center;
	letter-spacing: .05em;
}

.mplusCondensedCenter {
	transform-origin: center;
}

.flowLead > .mplusCondensed {
	letter-spacing: .07em;
}

/* 英語見出し：原画に合わせ、高さを保って横幅を少し絞る。 */
.companyTitle span:first-child,
.cardTitle,
.introHeading h1 > span:first-child,
.dataIntroduction h1 > span:first-child,
.flowIntroInner h1 > span:first-child,
.flowStepNumber,
.jobIntroduction h1 > span:first-child,
.jobBackdropTrack > span,
.crossEnglish,
.crossGroupEnglish,
.interviewNextText {
	transform: scaleX(.92);
	transform-origin: center;
}

.introHeading h1 > span:first-child,
.dataIntroduction h1 > span:first-child,
.flowIntroInner h1 > span:first-child,
.jobIntroduction h1 > span:first-child,
.jobBackdropTrack > span {
	transform-origin: left center;
}

/* Shared right-side navigation drawer, based on top_guide. */
.menuOpen .siteHeader {
	z-index: 30;
}

.menuOpen .menuButton {
	position: fixed;
	top: 25px;
	right: 30px;
}

.menuOpen .entryButton {
	visibility: hidden;
}

.menuBackdrop {
	position: fixed;
	z-index: 10;
	inset: 0;
	width: 100%;
	height: 100%;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: default;
}

/* --- ハンバーガーメニュー展開時 --- */
.siteMenu {
	position: fixed;
	z-index: 11;
	top: 0;
	right: 0;
	width: clamp(340px,27vw,420px);
	height: 100dvh;
	max-height: none;
	padding: 112px 36px 46px;
	overflow-y: auto;
	overscroll-behavior: auto;
	background: #f6f6f6;
	border: 0;
	box-shadow: none;
	animation: menuDrawerIn .25s ease-out both;
}

.siteMenuList,.menuChildren {
	margin: 0;
	padding: 0;
	list-style: none;
}

.siteMenuItem + .siteMenuItem {
	margin-top: 30px;
}

.siteMenu .menuMain {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	padding: 0;
	color: var(--ink);
	font-weight: 700;
	text-decoration: none;
}

.menuArrow {
	display: grid;
	place-items: center;
	width: 31px;
	height: 31px;
	flex: 0 0 31px;
	border-radius: 50%;
	background: var(--menu-color);
}

.menuArrow img {
	display: block;
	width: 19px;
	height: 19px;
}

.menuLabels {
	display: block;
	min-width: 0;
	padding-top: 2px;
}

.menuEnglish {
	display: block;
	color: var(--menu-color);
	font-family: "Jost",sans-serif;
	font-size: 1.6rem;
	font-weight: 500;
	line-height: 1.16;
	letter-spacing: .01em;
}

.menuJapanese {
	display: block;
	margin-top: 5px;
	font-family: "Zen Kaku Gothic New",var(--font-jp);
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: .01em;
}

.menuChildren {
	margin: 14px 0 0 47px;
}

.menuChildren li + li {
	margin-top: 7px;
}

.menuChildren a {
	display: flex;
	align-items: baseline;
	gap: 6px;
	color: var(--menu-color);
	font-family: "Zen Kaku Gothic New",var(--font-jp);
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.65;
	text-decoration: none;
}

.menuChildren a::before {
	content: "";
	width: 0;
	height: 0;
	flex: 0 0 auto;
	border-top: 5px solid transparent;
	border-bottom: 5px solid transparent;
	border-left: 5px solid var(--ink);
}

.siteMenu a[aria-current="page"] .menuJapanese,.menuChildren a[aria-current="page"] {
	text-decoration: underline;
	text-underline-offset: 4px;
}

@keyframes menuDrawerIn {
	from {
		opacity: 0;
		transform: translateX(35px);
	}

	to {
		opacity: 1;
		transform: translateX(0);
	}

}

/* 画面幅・操作環境の条件：(max-width:896px) */
@media(max-width:896px) {
	.menuOpen .menuButton {
		top: 14px;
		right: 18px;
	}

	.siteMenu {
		padding-top: 92px;
	}

}

/* 画面幅・操作環境の条件：(max-width:599px) */
@media(max-width:599px) {
	.siteMenu {
		width: 100%;
		padding: 90px 28px 40px 44px;
	}

	.siteMenuItem + .siteMenuItem {
		margin-top: 25px;
	}

}

/* 画面幅・操作環境の条件：(prefers-reduced-motion:reduce) */
@media(prefers-reduced-motion:reduce) {
	.siteMenu {
		animation: none;
	}

}

/* Same one-time entrance as FAQ, without changing banners or the hero sequence. */
.contentReveal {
	opacity: 0;
	transform: translateY(24px);
}

.contentReveal.isRevealed,
.contentReveal:focus-within {
	opacity: 1;
	transform: translateY(0);
	transition: opacity .75s ease,transform .75s cubic-bezier(.22,1,.36,1);
}

/* 画面幅・操作環境の条件：(prefers-reduced-motion:reduce) */
@media (prefers-reduced-motion:reduce) {
	.contentReveal {
		opacity: 1;
		transform: none;
		transition: none;
	}

}
