/*
 * デザイン「スタンダード」
 * 白基調・ネイビー。上部に細い帯、全幅のスライダー。見出しは明朝で落ち着いた印象に。
 * 中小企業・士業・メーカーなど、信頼感を重視する会社向け。
 */
@layer base, design;

@layer design {
	:root {
		--color-bg: #ffffff;
		--color-surface: #f3f5f8;
		--color-text: #1f2633;
		--color-muted: #5a6474;
		--color-border: #dde2ea;
		--color-heading: #14213d;
		--color-accent: #1f3a68;
		--color-accent-contrast: #ffffff;
		--font-body: var(--font-noto-sans), sans-serif;
		--font-heading: var(--font-noto-serif), serif;
		--radius: 2px;
		--header-h: 76px;
	}

	.btn { border-radius: var(--radius); }

	/* ヘッダー */
	.site-header { box-shadow: 0 1px 0 var(--color-border); }
	.site-header__top { background: var(--color-heading); color: #fff; font-size: .75rem; }
	.site-header__top-inner { display: flex; justify-content: space-between; gap: 16px; padding-block: 6px; }
	.site-header__tagline { opacity: .85; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
	.site-header__admin { color: #fff; }
	.site-logo { font-family: var(--font-heading); font-size: 1.3rem; color: var(--color-heading); }
	.site-nav__link { position: relative; }
	.site-nav__link::after {
		content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px;
		background: var(--color-accent); transform: scaleX(0); transition: transform .2s;
	}
	.site-nav__link:hover::after, .site-nav__link[aria-current="page"]::after { transform: scaleX(1); }
	.site-nav__cta { margin-left: 12px; min-height: 44px; }

	/* スライダー：全幅、写真の上に文字 */
	.hero { position: relative; overflow: hidden; background: var(--color-heading); }
	.hero__track { display: grid; }
	.hero__slide { grid-area: 1 / 1; position: relative; min-height: clamp(420px, 70vh, 680px); display: grid; }
	.hero__media, .hero__overlay { grid-area: 1 / 1; }
	.hero__media img { width: 100%; height: 100%; object-fit: cover; }
	.hero__slide.is-active .hero__media img { animation: standard-zoom 9s ease-out both; }
	@keyframes standard-zoom { from { transform: scale(1.06); } to { transform: scale(1); } }
	.hero__overlay {
		display: flex; align-items: center; color: #fff;
		background: linear-gradient(90deg, rgb(10 20 40 / .78) 0%, rgb(10 20 40 / .45) 55%, rgb(10 20 40 / .1) 100%);
	}
	.hero__content { padding-block: 64px; }
	.hero__heading { font-family: var(--font-heading); color: #fff; font-size: clamp(1.8rem, 4.6vw, 3.2rem); font-weight: 700; line-height: 1.45; white-space: pre-line; max-width: 18em; }
	.hero__sub { margin-top: 20px; max-width: 34em; font-size: clamp(.95rem, 1.6vw, 1.1rem); opacity: .92; }
	.hero .btn { margin-top: 32px; }
	.hero__dots { position: absolute; left: 0; right: 0; bottom: 24px; display: flex; justify-content: center; gap: 10px; }
	.hero__dot { width: 40px; height: 4px; padding: 0; border: 0; background: rgb(255 255 255 / .45); }
	.hero__dot[aria-current="true"] { background: #fff; }
	.hero--empty { padding-block: 120px; color: #fff; }

	/* 見出し：英字の小見出し＋明朝 */
	.section-head__eyebrow { display: flex; align-items: center; gap: 12px; }
	.section-head__eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--color-accent); }
	.page-header { background: var(--color-surface); border-bottom: 1px solid var(--color-border); }
	.page-header__eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .2em; color: var(--color-accent); margin-bottom: 4px; }

	/* カード：白い面に影 */
	.card__link { background: #fff; box-shadow: 0 1px 3px rgb(20 33 61 / .08), 0 8px 24px rgb(20 33 61 / .06); transition: box-shadow .2s, transform .2s; }
	.card__link:hover { box-shadow: 0 4px 12px rgb(20 33 61 / .12), 0 16px 40px rgb(20 33 61 / .1); transform: translateY(-2px); }
	.card__body { padding: 20px 24px 24px; }
	.card__num {
		position: absolute; left: 0; top: 0; padding: 6px 14px; background: var(--color-accent); color: #fff;
		font-family: var(--font-heading); font-weight: 700;
	}
	.section--alt .card__link { background: #fff; }

	/* お知らせ（トップは見出しを左に） */
	@media (min-width: 960px) {
		.news-layout { display: grid; grid-template-columns: 240px 1fr; gap: 48px; }
		.news-layout .section-head { flex-direction: column; align-items: start; }
	}
	.news-item__link { background: transparent; }

	/* 会社紹介の帯 */
	.section--about { background: var(--color-heading); color: #fff; }
	.section--about .about-band__title, .section--about .link-more { color: #fff; }
	.section--about .section-head__eyebrow { color: #c9d4e8; }
	.section--about .section-head__eyebrow::before { background: #c9d4e8; }

	/* 採用の帯 */
	.recruit-band { padding: clamp(32px, 5vw, 56px); border: 1px solid var(--color-border); background: var(--color-surface); }
	.recruit-band .btn--ghost { color: var(--color-accent); }

	/* お問い合わせの帯 */
	.cta-band { background: var(--color-accent); color: #fff; }
	.cta-band__title { color: #fff; }
	.cta-band__btn { background: #fff; color: var(--color-accent); }

	/* 本文の見出し */
	.prose h2 { border-bottom: 0; padding: 0 0 0 16px; border-left: 4px solid var(--color-accent); }
	.section-title-sm { padding-left: 14px; border-left: 4px solid var(--color-accent); }

	/* フッター */
	.site-footer { background: var(--color-heading); color: #dfe5ef; }
	.site-footer .site-logo { color: #fff; }
	.site-footer__bottom { border-top: 1px solid rgb(255 255 255 / .12); }
}
