/* ===========11==========8=======================================12=========
   common.css - ヘッダー / フッター / ボタン / 共通セクションタイトル
   ========================================================================== */

/* ---- header ---------------------------------------------------------- */

.header {
	position: sticky;
	top: 0;
	z-index: 100;
	width: 100%;
	transition: transform 0.3s ease;
}

.header--hidden {
	transform: translateY(-100%);
}

.header::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: rgba(255, 255, 255, 0.7);
	backdrop-filter: blur(15px);
	-webkit-backdrop-filter: blur(15px);
}

.header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-inline: clamp(16px, 4vw, 32px) clamp(16px, 4vw, 41px);
	height: var(--header-height);
}

.header__logo img {
	width: auto;
	height: clamp(42px, 5.5vw, 58px);
}

.header__nav {
	display: flex;
	align-items: center;
	gap: 36px;
}

.header__links {
	display: flex;
	align-items: center;
	gap: 36px;
}

.header__links a {
	font-weight: 700;
	font-size: 16px;
	letter-spacing: 0.1em;
	color: var(--color-heading);
	transition: color 0.3s ease;
}

.header__links a:hover {
	color: var(--color-primary);
}

.header__toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 32px;
	height: 32px;
}

.header__toggle-bar {
	display: block;
	width: 100%;
	height: 2px;
	background: var(--color-heading);
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.header__toggle.is-open .header__toggle-bar:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.header__toggle.is-open .header__toggle-bar:nth-child(2) {
	opacity: 0;
}

.header__toggle.is-open .header__toggle-bar:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

/* ---- button ------------------------------------------------------------ */

.btn--cta {
	display: inline-flex;
	align-items: center;
	gap: 24px;
	background: var(--color-primary);
	color: #ffffff;
	font-weight: 500;
	font-size: 18px;
	letter-spacing: 0.03em;
	padding: 10px 10px 10px 40px;
	border-radius: 999px;
	border: 1px solid var(--color-primary);
	box-shadow: var(--shadow-cta);
	white-space: nowrap;
	transition: background-color 0.3s ease, color 0.3s ease;
}

.btn--cta:hover {
	background: #ffffff;
	color: var(--color-primary);
}

.btn--cta__icon {
	display: inline-block;
	width: 60px;
	height: 60px;
	flex-shrink: 0;
	background: url("../images/common/icon_white.png") center / contain no-repeat;
}

.btn--cta:not(.btn--cta--outline):hover .btn--cta__icon,
.btn--cta--outline .btn--cta__icon {
	background-image: url("../images/common/icon_blue.png");
}

.btn--cta--outline:hover .btn--cta__icon {
	background-image: url("../images/common/icon_white.png");
}

.btn--cta--small {
	padding: 15px 40px;
	font-size: 16px;
	font-weight: 700;
	gap: 0;
}

.btn--cta--small .btn--cta__icon {
	display: none;
}

.btn--cta--outline {
	background: #ffffff;
	color: var(--color-primary);
	box-shadow: none;
	padding: 15px 40px;
	font-size: 16px;
	font-weight: 700;
	gap: 8px;
}

.btn--cta--outline:hover {
	background: var(--color-primary);
	color: #ffffff;
}

.btn--cta__external {
	display: inline-block;
	width: 19px;
	height: 19px;
	flex-shrink: 0;
	background: url("../images/common/link_white.svg") center / contain no-repeat;
}

.btn--cta:not(.btn--cta--outline):hover .btn--cta__external,
.btn--cta--outline .btn--cta__external {
	background-image: url("../images/common/link.svg");
}

.btn--cta--outline:hover .btn--cta__external {
	background-image: url("../images/common/link_white.svg");
}

/* ---- section heading ----------------------------------------------- */

.section-heading__eyebrow {
	display: flex;
	align-items: center;
	gap: 8px;
	font-weight: 700;
	font-size: 18px;
	letter-spacing: 0.06em;
	color: var(--color-heading);
	margin-bottom: 8px;
}

.section-heading__icon {
	width: 32px;
	height: 32px;
}

.section-heading__title {
	font-family: var(--font-en);
	font-weight: 500;
	font-size: clamp(28px, 4vw, 40px);
	letter-spacing: 0.18em;
	color: var(--color-heading);
	margin: 0 0 32px;
}

/* 下層ページ共通のヒーロー見出し（英語タイトルと日本語ラベル・リード文の間隔を詰める） */
.page-hero .section-heading__eyebrow {
	margin-bottom: 4px;
}

.page-hero .section-heading__title {
	margin-bottom: 16px;
}

/* ページ内のサブ見出し（会社概要・事業内容などの下層ページで使用） */
.section-heading__eyebrow--sub {
	font-size: 16px;
}

.section-heading__title--sub {
	font-size: 30px;
}

/* ---- footer ------------------------------------------------------------ */

.footer {
	padding-top: clamp(12px, 1.5vw, 24px);
	background-color: #ffffff;
	background-image: url("../images/common/grain_noise.png"),
		linear-gradient(rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.55)),
		url("../images/common/top_main_background.png");
	background-repeat: repeat, no-repeat, no-repeat;
	background-size: 160px 160px, cover, cover;
	background-position: 0 0, center 18%, center 18%;
	background-blend-mode: overlay, normal, normal;
}

.footer__contact {
	position: relative;
	margin-inline: clamp(12px, 1.5vw, 24px);
	padding-block: clamp(32px, 8vw, 90px);
	border-radius: 16px;
	overflow: hidden;
	background-color: #00bfd3;
	background-image: url("../images/common/grain_noise.png"),
		linear-gradient(165deg, rgba(0, 191, 211, 0.85) 15%, rgba(0, 191, 211, 0.55) 60%),
		url("../images/common/top_main_background.png");
	background-repeat: repeat, no-repeat, no-repeat;
	background-size: 160px 160px, cover, cover;
	background-position: 0 0, center 18%, center 18%;
	background-blend-mode: overlay, normal, normal;
}

.footer__contact-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 40px;
	flex-wrap: wrap;
}

.footer__contact-eyebrow {
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 700;
	font-size: 18px;
	letter-spacing: 0.06em;
	color: #ffffff;
	margin-bottom: 4px;
}

.footer__contact-eyebrow-icon {
	flex-shrink: 0;
}

.footer__contact-title {
	font-family: var(--font-en);
	font-weight: 500;
	font-size: clamp(28px, 4vw, 40px);
	letter-spacing: 0.18em;
	color: #ffffff;
	margin-bottom: 16px;
}

.footer__contact-body {
	font-size: 16px;
	line-height: 2;
	letter-spacing: 0.1em;
	color: #ffffff;
}

.footer__contact-cta {
	display: inline-flex;
	align-items: center;
	gap: 20px;
	background: #ffffff;
	color: var(--color-primary);
	font-weight: 500;
	font-size: 22px;
	letter-spacing: 0.03em;
	padding: 30px 48px;
	border-radius: 999px;
	border: 1px solid var(--color-primary);
	box-shadow: var(--shadow-cta-lg);
	white-space: nowrap;
	transition: background-color 0.3s ease, color 0.3s ease;
}

.footer__contact-cta:hover {
	background: var(--color-primary);
	color: #ffffff;
}

.footer__contact-cta__icon {
	display: inline-block;
	width: 52px;
	height: 52px;
	flex-shrink: 0;
	background: url("../images/common/icon_blue.png") center / contain no-repeat;
}

.footer__contact-cta:hover .footer__contact-cta__icon {
	background-image: url("../images/common/icon_white.png");
}

.footer__main {
	padding-block: 50px;
}

.footer__main-inner {
	display: flex;
	flex-direction: column;
	gap: 30px;
}

.footer__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 24px;
}

.footer__logo img {
	width: 203px;
	height: auto;
}

.footer__nav {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 36px;
	flex-wrap: wrap;
}

.footer__links {
	display: flex;
	align-items: center;
	gap: 36px;
	flex-wrap: wrap;
}

.footer__links a {
	font-weight: 700;
	font-size: 16px;
	letter-spacing: 0.1em;
	color: var(--color-heading);
	transition: color 0.3s ease;
}

.footer__links a:hover {
	color: var(--color-primary);
}

.footer__divider {
	height: 3px;
	width: 100%;
	background-image: radial-gradient(circle, var(--color-primary) 1.5px, transparent 1.6px);
	background-repeat: repeat-x;
	background-size: 12px 3px;
	background-position: left center;
}

.footer__divider--gray {
	display: none;
}

.footer__bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 16px;
}

.footer__copyright {
	font-family: var(--font-en);
	font-size: 10px;
	letter-spacing: 0.1em;
	color: var(--color-subtext);
}

.footer__policy {
	display: flex;
	align-items: center;
	gap: 18px;
	flex-wrap: wrap;
}

.footer__policy a {
	font-weight: 500;
	font-size: 14px;
	letter-spacing: 0.1em;
	color: var(--color-subtext);
	transition: color 0.3s ease;
}

.footer__policy a:hover {
	color: var(--color-primary);
}

.footer__sep {
	width: 1px;
	height: 10px;
	background: var(--color-gray-light);
}

.footer__group {
	background: var(--color-bg);
	border-top: 1px solid var(--color-border);
	padding-block: 50px;
}

.footer__group-inner {
	display: flex;
	justify-content: space-between;
	gap: 40px;
	flex-wrap: wrap;
}

.footer__group-name {
	font-weight: 700;
	font-size: 20px;
	color: var(--color-heading);
	margin-bottom: 8px;
}

.footer__group-tagline {
	font-family: var(--font-en);
	font-weight: 600;
	font-size: 16px;
	letter-spacing: 0.02em;
	color: var(--color-primary);
	margin-bottom: 4px;
}

.footer__group-catch {
	font-weight: 500;
	font-size: 14px;
	color: var(--color-subtext);
	max-width: 400px;
}

.footer__group-links {
	display: flex;
	flex-direction: column;
	gap: 20px;
	align-items: flex-end;
}

.footer__group-row {
	display: flex;
	gap: 30px;
	flex-wrap: wrap;
}

.footer__group-row a {
	font-weight: 700;
	font-size: 16px;
	letter-spacing: 0.06em;
	color: #333333;
	transition: color 0.3s ease;
}

.footer__group-row a:hover {
	color: var(--color-primary);
}

.footer__group-row--muted {
	gap: 24px;
}

.footer__group-row--muted a {
	font-weight: 500;
	font-size: 14px;
	color: var(--color-subtext);
}

/* ---- utility ------------------------------------------------------------ */

.u-br-pc {
	display: inline;
}

/* ==========================================================================
   レスポンシブ対応（メディアクエリ）
   ========================================================================== */

/* ---- レスポンシブ（〜900px） ---- */

@media (max-width: 900px) {
	.u-br-pc {
		display: none;
	}

	.u-nowrap {
		white-space: nowrap;
	}

	.header__toggle {
		display: flex;
		width: 25px;
    	height: 25px;
	}

	.header__logo img {
		height: clamp(33px, 5.5vw, 58px);
	}

	.header__nav {
		position: fixed;
		inset: var(--header-height) 0 0 0;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		background: rgba(255, 255, 255, 0.85);
		backdrop-filter: blur(15px);
		-webkit-backdrop-filter: blur(15px);
		padding: 24px clamp(20px, 6vw, 40px) 40px;
		transform: translateY(-8px);
		opacity: 0;
		pointer-events: none;
		transition: opacity 0.3s ease, transform 0.3s ease;
		overflow-y: auto;
	}

	.header__nav.is-open {
		opacity: 1;
		transform: translateY(0);
		pointer-events: auto;
	}

	.header__links {
		flex-direction: column;
		align-items: center;
		gap: 0;
		width: 100%;
	}

	.header__links a {
		display: block;
		width: 100%;
		padding: 18px 4px;
		text-align: center;
		font-size: 14px;
	}

	.header .btn--cta {
		margin-top: 24px;
		justify-content: center;
		width: 100%;
	}

	.footer__contact-inner {
		flex-direction: column;
		align-items: flex-start;
		text-align: left;
	}

	.footer__contact-cta {
		width: 100%;
		justify-content: center;
		font-size: 20px;
	}

	.footer__main-inner {
		gap: 20px;
	}

	.footer__row {
		display: contents;
	}

	.footer__logo {
		order: 1;
	}

	.footer__logo img {
		width: 150px;
	}

	.footer__divider {
		order: 4;
	}

	.footer__divider--gray {
		display: block;
		order: 2;
		height: 1px;
		background-image: none;
		background-color: var(--color-border);
	}

	.footer__nav {
		order: 3;
		flex-direction: column;
		align-items: stretch;
		gap: 20px;
	}

	.footer__links {
		flex-direction: column;
		align-items: flex-start;
		gap: 0;
	}

	.footer__links a {
		display: block;
		width: 100%;
		padding: 0 0 15px 0;
		font-size: 14px;
		border-bottom: none;
	}

	.footer .btn--cta {
		justify-content: center;
		width: 100%;
	}

	.footer__bottom {
		display: contents;
	}

	.footer__policy {
		order: 5;
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
	}

	.footer__policy a {
		font-size: 13px;
	}

	.footer__copyright {
		order: 6;
		font-size: 9px;
	}

	.footer__sep {
		display: none;
	}

	.footer__group-inner {
		flex-direction: column;
	}

	.footer__group-links {
		align-items: flex-start;
		gap: 15px;
	}

	.footer__group-row {
		flex-direction: column;
		gap: 10px;
        font-size: 14px;
	}

	.btn--cta {
		font-size: 16px;
	}

	.btn--cta--small {
		font-size: 14px;
	}

	.btn--cta--outline {
		font-size: 14px;
	}

	.section-heading__eyebrow {
		font-size: 14px;
		margin-bottom: 0px;
	}

	.section-heading__icon {
		width: 18px;
		height: 18px;
	}

	.section-heading__eyebrow--sub {
		font-size: 12px;
	}

	.section-heading__title {
		font-size: 22px;
		margin: 0 0 20px;
	}

	.section-heading__title--sub {
		font-size: 20px;
	}

	.footer__contact-eyebrow {
		font-size: 14px;
	}

	.footer__contact-body {
		font-size: 13px;
		line-height: 1.8;
	}

	.footer__contact-title {
		font-size: 22px;
	}

	.footer__group-name {
		font-size: 16px;
	}

	.footer__group-tagline {
		font-size: 13px;
		margin-bottom: 0;
	}

	.footer__group-catch {
		font-size: 11px;
	}

	.footer__group-row a {
		font-size: 14px;
	}

	.footer__group-row--muted a {
		font-size: 12px;
	}

	.footer__main {
		padding-block: 32px;
	}

	.footer__group {
		padding-block: 32px;
	}
}

/* ---- レスポンシブ（〜600px） ---- */

@media (max-width: 600px) {
	.btn--cta {
		gap: 16px;
		font-size: 14px;
        padding: 10px 17px 10px 25px;
	}

	.btn--cta__icon {
		width: 40px;
		height: 40px;
	}

	.btn--cta--small,
	.btn--cta--outline {
		padding: 13px 28px;
		font-size: 14px;
	}

	.footer__contact-cta {
		gap: 16px;
		font-size: 14px;
		padding: 10px 17px 10px 25px;
	}

	.footer__contact-cta__icon {
		width: 36px;
		height: 36px;
	}
}

