@charset "UTF-8";

/* ===== 変数・リセット ===== */
:root {
	--color-bg: #ffffff;
	--color-text: #1a1a1a;
	--color-muted: #6b7280;
	--color-accent: #1f6feb;
	--color-line: #e5e7eb;
	--color-soft: #f6f7f9;
	--max-width: 1120px;
	--gutter: 5vw;
	--radius: 12px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
	color: var(--color-text);
	background: var(--color-bg);
	line-height: 1.8;
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* ===== 共通レイアウト ===== */
section { padding: 80px var(--gutter); }
.section-title {
	font-size: clamp(1.6rem, 4vw, 2.4rem);
	letter-spacing: .08em;
	text-align: center;
	margin-bottom: 48px;
	font-weight: 700;
}
.section-more { text-align: center; margin-top: 40px; }

.btn {
	display: inline-block;
	padding: 14px 32px;
	border: 1px solid var(--color-text);
	border-radius: 999px;
	font-size: .9rem;
	letter-spacing: .05em;
	transition: background .3s, color .3s;
}
.btn:hover { background: var(--color-text); color: #fff; }

/* ===== ヘッダー ===== */
.site-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(255,255,255,.9);
	backdrop-filter: blur(8px);
	border-bottom: 1px solid var(--color-line);
}
.site-header__inner {
	max-width: var(--max-width); margin: 0 auto;
	padding: 16px var(--gutter);
	display: flex; align-items: center; justify-content: space-between;
}
.site-header__logo a { font-size: 1.2rem; font-weight: 700; letter-spacing: .08em; }
.global-nav__list { display: flex; gap: 28px; list-style: none; }
.global-nav__list a { font-size: .9rem; transition: color .2s; }
.global-nav__list a:hover { color: var(--color-accent); }

/* ===== ファーストビュー ===== */
.fv { position: relative; padding: 0; min-height: 80vh; display: flex; align-items: center; }
.fv__image { position: absolute; inset: 0; z-index: -1; }
.fv__image img { width: 100%; height: 100%; object-fit: cover; }
.fv__text {
	max-width: var(--max-width); margin: 0 auto; width: 100%;
	padding: 0 var(--gutter); color: #fff;
	text-shadow: 0 2px 12px rgba(0,0,0,.4);
}
.fv__catch { font-size: clamp(2rem, 6vw, 4rem); font-weight: 700; line-height: 1.3; }
.fv__sub { margin-top: 20px; font-size: clamp(.95rem, 2vw, 1.1rem); }

/* ===== お知らせバー ===== */
.news-bar { padding: 0; border-bottom: 1px solid var(--color-line); }
.news-bar__link {
	max-width: var(--max-width); margin: 0 auto;
	padding: 16px var(--gutter);
	display: flex; align-items: center; gap: 16px;
	font-size: .9rem;
}
.news-bar__label {
	font-weight: 700; letter-spacing: .1em; color: var(--color-accent);
	flex-shrink: 0;
}
.news-bar__date { color: var(--color-muted); flex-shrink: 0; }
.news-bar__title {
	overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.news-bar__link:hover .news-bar__title { color: var(--color-accent); }

/* ===== コンセプト ===== */
.concept__inner {
	max-width: var(--max-width); margin: 0 auto;
	display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
}
.concept__image img { border-radius: var(--radius); }
.concept__title { font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: 24px; }
.concept__text { color: #333; margin-bottom: 32px; }

/* ===== サービス（自動横スクロール） ===== */
.service { background: var(--color-soft); overflow: hidden; }
.service-slider { overflow: hidden; width: 100%; }
.service-slider__track {
	display: flex; width: max-content;
	animation: service-scroll 40s linear infinite;
}
.service:hover .service-slider__track { animation-play-state: paused; }
.service-slider__item {
	flex-shrink: 0; width: 220px; margin: 0 16px;
	background: #fff; border-radius: var(--radius);
	padding: 32px 20px; text-align: center;
	box-shadow: 0 4px 20px rgba(0,0,0,.04);
}
.service-slider__icon { width: 56px; height: 56px; object-fit: contain; margin: 0 auto 16px; }
.service-slider__en {
	font-size: .8rem; letter-spacing: .12em; color: var(--color-accent);
	text-transform: uppercase; font-weight: 700;
}
.service-slider__ja { font-size: 1.05rem; margin-top: 6px; font-weight: 700; }

@keyframes service-scroll {
	from { transform: translateX(0); }
	to   { transform: translateX(-50%); }
}

/* ===== カード（実績・コラム共通） ===== */
.card-list {
	max-width: var(--max-width); margin: 0 auto;
	display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
}
.card__thumb {
	aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius);
	background: var(--color-soft);
}
.card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card__link:hover .card__thumb img { transform: scale(1.05); }
.card__cat {
	display: inline-block; margin-top: 14px;
	font-size: .75rem; color: #fff; background: var(--color-accent);
	padding: 3px 12px; border-radius: 999px;
}
.card__title { font-size: 1rem; margin-top: 10px; line-height: 1.6; }

/* ===== フロー ===== */
.flow__list {
	max-width: var(--max-width); margin: 0 auto;
	display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px;
}
.flow__item {
	background: var(--color-soft); border-radius: var(--radius);
	padding: 24px 16px; text-align: center;
}
.flow__num {
	display: inline-block; font-size: .75rem; font-weight: 700;
	letter-spacing: .1em; color: var(--color-accent); margin-bottom: 12px;
}
.flow__image { margin-bottom: 14px; }
.flow__image img { border-radius: 8px; aspect-ratio: 1/1; object-fit: cover; width: 100%; }
.flow__title { font-size: 1rem; margin-bottom: 8px; }
.flow__text { font-size: .85rem; color: var(--color-muted); }

/* ===== FAQ ===== */
.faq__list { max-width: 800px; margin: 0 auto; }
.faq__item { border-bottom: 1px solid var(--color-line); }
.faq__q {
	width: 100%; text-align: left; background: none; border: none; cursor: pointer;
	padding: 24px 48px 24px 0; position: relative;
	font-size: 1rem; font-weight: 600; color: var(--color-text);
	font-family: inherit; line-height: 1.6;
}
.faq__q::before { content: "Q."; color: var(--color-accent); font-weight: 700; margin-right: 10px; }
.faq__q::after {
	content: ""; position: absolute; right: 8px; top: 50%;
	width: 12px; height: 12px;
	border-right: 2px solid var(--color-muted); border-bottom: 2px solid var(--color-muted);
	transform: translateY(-70%) rotate(45deg); transition: transform .3s;
}
.faq__q[aria-expanded="true"]::after { transform: translateY(-30%) rotate(-135deg); }
.faq__a { padding: 0 0 24px 28px; color: #333; }

/* ===== 会社概要 ===== */
.company__table {
	max-width: 800px; margin: 0 auto; width: 100%; border-collapse: collapse;
}
.company__table th, .company__table td {
	text-align: left; padding: 18px 16px; border-bottom: 1px solid var(--color-line);
	vertical-align: top;
}
.company__table th { width: 160px; font-weight: 700; }

/* ===== お問い合わせ ===== */
.contact__form { max-width: 720px; margin: 0 auto; }

/* ===== フッター ===== */
.site-footer { background: var(--color-text); color: #fff; padding: 56px var(--gutter); }
.site-footer__inner { max-width: var(--max-width); margin: 0 auto; text-align: center; }
.footer-nav__list {
	display: flex; gap: 24px; justify-content: center; list-style: none; margin-bottom: 24px; flex-wrap: wrap;
}
.footer-nav__list a { font-size: .85rem; opacity: .85; transition: opacity .2s; }
.footer-nav__list a:hover { opacity: 1; }
.site-footer__copy { font-size: .8rem; opacity: .6; }

/* ===== レスポンシブ ===== */
@media (max-width: 768px) {
	section { padding: 56px var(--gutter); }
	.global-nav { display: none; } /* SPメニューは後で実装 */
	.concept__inner { grid-template-columns: 1fr; gap: 32px; }
	.card-list { grid-template-columns: 1fr; gap: 24px; }
	.flow__list { grid-template-columns: 1fr; }
	.news-bar__link { flex-wrap: wrap; gap: 8px 12px; }
	.company__table th { width: 110px; }
}