@charset "utf-8";

/* ========================================
   カラー変数
   ======================================== */
:root {
	--white: #fff;
	--black: #0f1011;
	--gray-dark: #333;
	--gray-medium: #666;
	--gray: #8a8a8a;
	--gray-light: #aeaeae;
	--gray-lighter: #d7d7d7;
	--gray-lightest: #e0e0e0;
	--gray-pale: #f8f8f8;
	--primary: #00C1C8;
	--primary-dark: #0057C8;
	--accent: #ff4f35;
	--accent-light: #ff6b35;
	--red: #d32f2f;
	--line-green: #06C755;
	--grad-start: #667eea;
	--grad-end: #e6653e;

	/* ナロー幅 */
	--narrow-width: 480px;
	--narrow-padding: 20px;
}


/* ========================================
   リセット（最小限）
   ======================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 10px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
	font-family: "Noto Sans JP", sans-serif;
	font-size: 1.6rem;
	line-height: 1.6;
	color: var(--black);
	background: var(--grad-end);
	overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
input, textarea, button, select { font: inherit; }
button { cursor: pointer; border: none; }


/* ========================================
   ヘッダー
   ======================================== */
header {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: rgba(255,255,255,0.97);
	box-shadow: 0 2px 10px rgba(0,0,0,0.08);
	transition: transform 0.3s;
}
.header-inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 10px 20px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.header-logo img { height: 22px; width: auto; }
.header-contact { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.header-phone-label { font-size: 11px; color: var(--gray-medium); }
.header-phone {
	font-size: 17px;
	font-weight: bold;
	color: var(--red);
	display: flex;
	align-items: center;
	gap: 4px;
}
.header-phone::before {
	font-family: 'Material Symbols Rounded';
	content: '\e0b0';
	font-size: 18px;
	font-variation-settings: 'FILL' 1, 'wght' 500, 'GRAD' 0, 'opsz' 24;
}


/* ========================================
   フローティングボタン
   ======================================== */
.floating-contact {
	position: fixed;
	bottom: 10px;
	left: 0; right: 0;
	z-index: 999;
	display: flex;
	gap: 10px;
	padding: 10px;
	justify-content: center;
	transition: opacity 0.3s;
}
.floating-contact.stop { position: absolute; bottom: 0; opacity: 0; }
.floating-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 20px;
	border-radius: 50px;
	font-weight: bold;
	font-size: 13px;
	box-shadow: 0 4px 15px rgba(0,0,0,0.2);
	transition: transform 0.3s, box-shadow 0.3s;
	color: var(--white);
	min-width: 130px;
}
.floating-btn > span { line-height: 1.2; }
.floating-btn::before {
	font-family: 'Material Symbols Rounded';
	font-size: 20px;
	font-variation-settings: 'FILL' 1, 'wght' 500, 'GRAD' 0, 'opsz' 24;
}
.btn-line { background: var(--line-green); }
.btn-line::before { content: "\e0ca"; }
.btn-email { background: var(--accent-light); }
.btn-email::before { content: "\e158"; }
@media (any-hover: hover) {
	.floating-btn:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,0.3); }
}


/* ========================================
   ヒーローセクション（フル幅・固定背景）
   GSAP が pin するため position:relative が必須。
   背景画像レイヤーを分離し、scale でズーム可能に。
   ======================================== */
.hero {
	position: relative;
	z-index: 1;
	width: 100%;
	min-height: 900px;
	overflow: hidden;
	background: var(--black);
}
/* 背景画像レイヤー */
.hero-bg {
	position: absolute;
	inset: 0;
	background: url(../img/big-garage/fv.webp) no-repeat center center / cover;
}
/* オーバーレイ：下部を#0f1011にフェードさせてシームレスに繋げる */
.hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to bottom,
		rgba(15, 16, 17, 0) 0%,
		rgba(15, 16, 17, 0.1) 75%,
		rgba(15, 16, 17, 0.6) 90%,
		rgba(15, 16, 17, 1) 100%
	);
}
.hero-content {
	position: relative;
	z-index: 2;
	color: var(--white);
	text-align: center;
	max-width: 800px;
	will-change: transform, opacity;
}
.hero-title {
	font-size: 2.5rem;
	font-weight: 900;
	line-height: 1.4;
    margin-top: 50px;
	margin-bottom: 24px;
}
.hero-sub {
	font-size: 1.5rem;
	line-height: 2;
	margin-bottom: 36px;
    width: 320px;
    max-width: 100%;
    margin: 0 auto;
}
.hero-cta { display: flex; justify-content: center; }

/* スクロールインジケーター */
.scroll-indicator {
	position: absolute;
	bottom: 28px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	color: rgba(255,255,255,0.7);
	font-size: 1.1rem;
	letter-spacing: 0.15em;
}
.scroll-line {
	width: 1px;
	height: 40px;
	background: linear-gradient(to bottom, rgba(255,255,255,0.7), transparent);
	animation: scrollPulse 1.8s ease-in-out infinite;
}
@keyframes scrollPulse {
	0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
	50% { opacity: 1; transform: scaleY(1); }
}


/* ========================================
   ナローボディ
   ヒーローの上に被さるようにスライドアップ。
   角丸のトップが「シートが持ち上がる」感を演出。
   ======================================== */
.narrow-body {
	position: relative;
	z-index: 2;
	display: flex;
	justify-content: center;
    margin-top: 3%;
}
@media screen and (max-width: 480px) {
	.narrow-body {
		margin-top: 0;
	}
}
.narrow-bg {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100svh;
	object-fit: cover;
	z-index: -1;
	pointer-events: none;
}
.narrow-bg-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100svh;
	background: #0f1011;
	z-index: -1;
	pointer-events: none;
	opacity: 0.95;
	transition: opacity 0.4s ease;
}
.narrow-container {
	width: 100%;
	max-width: var(--narrow-width);
	background: var(--black);
	box-shadow: 0 0 60px rgba(0,0,0,0.1);
	overflow: clip;
	overflow-clip-margin: 120px;
}
.narrow-container::after {
	content: '';
	display: block;
	height: 0;
}
.truss-wrapper {
	/* stickyの滞在スクロール量 = 200vh - 要素高さ分 */
	height: 200vh;
	position: relative;
}
.truss-structure {
	position: relative;
	overflow: visible;
	background: var(--black);
	padding: 30px;
	z-index: 2;
}
.truss-structure .move-content {
	background: url(../img/big-garage/truss-structure.png) no-repeat center center / cover;
	background-color: var(--black);
	z-index: 5;
	min-height: 400px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 10px solid var(--black);
}
.truss-structure .move-content p {
	color: var(--white);
	font-size: 1.6rem;
	font-weight: bold;
	text-align: center;
	line-height: 2;
	text-shadow: 2px 2px 8px rgba(0,0,0,0.9);
}

/* ========================================
   共通ボタン
   ======================================== */
.btn-primary {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	background: var(--accent);
	color: var(--white);
	padding: 18px 28px;
	font-size: 1.5rem;
	font-weight: bold;
	border-radius: 6px;
	transition: all 0.3s;
	text-align: center;
	width: 100%;
	max-width: 340px;
}
.btn-badge {
	display: inline-block;
	padding: 5px 14px;
	font-size: 1.2rem;
	font-weight: 700;
	border-radius: 4px;
	background: var(--white);
	color: var(--accent);
}
@media (any-hover: hover) {
	.btn-primary:hover {
		filter: brightness(1.1);
		transform: translateY(-2px);
		box-shadow: 0 4px 16px rgba(255,79,53,0.4);
	}
}


/* ========================================
   セクション共通
   ======================================== */
.narrow-container section,
.narrow-container .cta-mid {
	padding: 48px var(--narrow-padding);
}
.cta-top {
	background: none;
	padding: 0 0 20px;
}
.sec-title {
	text-align: center;
	line-height: 1.7;
	padding: 50px 0;
    display: flex;
    justify-content: center;
}
.sec-title .em-dot {
	border-bottom: 4px dotted var(--gray);
	padding-bottom: 2px;
}


/* ========================================
   ライフスタイルセクション
   ======================================== */
.sec-lifestyle {
	background: var(--black);
	color: var(--white);
}
.top-logo {
    display: flex;
    justify-content: center;
}
.top-logo img {
    height: 80px;
    width: auto;
}
.lifestyle-text {
    font-size: 1.4rem;
    line-height: 1.8;
    color: var(--white);
    margin-bottom: 40px;
}
.lifestyle-text p { margin-bottom: 16px; }
.sec-lifestyle .sec-title { color: var(--white); }
.lifestyle-list {
	display: flex;
	flex-direction: column;
	gap: 32px;
}
.lifestyle-card { text-align: center; }
.lifestyle-img {
	border-radius: 8px;
	overflow: hidden;
	margin-bottom: 14px;
	aspect-ratio: 16 / 10;
}
.lifestyle-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
@media (any-hover: hover) {
	.lifestyle-card:hover .lifestyle-img img { transform: scale(1.05); }
}
.lifestyle-name {
	font-family: 'Teko', sans-serif;
	font-size: 2.8rem;
	color: var(--primary);
	margin: 0 0 6px;
}
.lifestyle-desc { font-size: 1.4rem; line-height: 1.7; }


/* ========================================
   CTA 中間
   ======================================== */
.cta-mid {
	background: var(--black);
	text-align: center;
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
}
.cta-mid-tooltip {
	color: var(--white);
	font-size: 1.3rem;
	position: relative;
}
.cta-mid-tooltip::before { content: '＼ '; }
.cta-mid-tooltip::after { content: ' ／'; }


/* ========================================
   問題セクション
   ======================================== */
.problem-list {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin-bottom: 28px;
}
.problem-card {
	background: var(--white);
	padding: 20px;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}
.problem-label {
	font-size: 1.6rem;
	font-weight: bold;
	color: var(--primary);
	margin-bottom: 8px;
	padding-left: 2.4rem;
	position: relative;
}
.problem-label::before {
	position: absolute;
	left: 0;
	font-family: 'Material Symbols Rounded';
	content: '\e834';
	font-variation-settings: 'FILL' 1, 'wght' 500, 'GRAD' 0, 'opsz' 24;
}
.problem-card p { font-size: 1.4rem; line-height: 1.7; color: var(--gray-dark); }
.problems-summary {
	font-size: 2rem;
	font-weight: bold;
	line-height: 1.8;
}


/* ========================================
   理由セクション
   ======================================== */
.sec-reasons { margin-bottom: 50px; }
.sec-title--box {
	position: relative;
	padding: 14px 16px 20px;
	border: 3px solid var(--primary);
	background: var(--primary);
	color: var(--white);
	font-weight: bold;
	line-height: 1.6;
    margin-bottom: 40px;
    text-align: center;
}
.sec-title--box::after {
	content: '';
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%);
	clip-path: polygon(100% 0, 0 0, 50% 100%);
	width: 20px;
	height: 14px;
	background: var(--primary);
}
.sec-title--box span { font-size: 1.2em; }
.reason-list {
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.reason-card {
	position: relative;
	padding-left: 64px;
	padding-bottom: 28px;
}
.reason-num {
	position: absolute;
	left: 0; top: 0;
	font-family: 'Teko', sans-serif;
	font-size: 5rem;
	font-weight: bold;
	color: var(--primary);
	line-height: 1;
}
.reason-heading {
	font-size: 1.7rem;
	font-weight: bold;
	margin-bottom: 10px;
	line-height: 1.7;
    color: var(--white);
}
.reason-heading > span {
	background-image: linear-gradient(to right, var(--gray-light) 0%, var(--gray-light) 100%);
	background-size: 100% 2px;
	background-position: 0 calc(100% - 2px);
	background-repeat: repeat-x;
	box-decoration-break: clone;
	-webkit-box-decoration-break: clone;
	padding-bottom: 6px;
}
.reason-card p { font-size: 1.4rem; line-height: 1.8; color: var(--white); }


/* ========================================
   ギャラリー（ばらばらレイアウト）
   ======================================== */
.gallery {
	position: relative;
	padding: 40px var(--narrow-padding);
	min-height: min(520px, 135vw);
    transform: scale(1.2);
    z-index: 5;
    margin: 0 0 25px;
}
.gallery-item {
	position: absolute;
	border-radius: 6px;
	overflow: hidden;
	box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.gallery-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.gallery-item--1 {
	width: 65%;
	top: 20px;
	left: 10px;
	rotate: -3deg;
	z-index: 1;
}
.gallery-item--2 {
	width: 55%;
	top: 180px;
	right: 10px;
	rotate: 2.5deg;
	z-index: 2;
}
.gallery-item--3 {
	width: 50%;
	top: 62%;
	left: 30px;
	rotate: -1.5deg;
	z-index: 3;
}

.sec-problems {
    color: var(--white);
}
.sec-problems-header {
    display: flex;
    justify-content: center;
}

/* ========================================
   信頼セクション
   ======================================== */
.sec-trust { background: var(--black); padding-top: 0 !important; }
.sec-trust .sec-title { color: var(--white); padding-bottom: 10px; }
.trust-list {
	display: flex;
	flex-direction: column;
	align-items: center;
}
.trust-card {
	background: var(--white);
	padding: 24px 20px;
	border-radius: 8px;
	width: 100%;
}
.trust-card h3 { font-size: 1.8rem; font-weight: bold; margin-bottom: 10px; }
.trust-card p { font-size: 1.4rem; line-height: 1.8; color: var(--gray-dark); }
.trust-card--primary { border: 2px solid var(--primary); box-shadow: 0 0 20px -9px var(--primary); }
.trust-card--accent { border: 2px solid var(--accent); box-shadow: 0 0 20px -9px var(--accent); }
.trust-plus { font-size: 32px; color: var(--black); text-align: center; color: var(--white);}


/* ========================================
   エンディングセクション
   ======================================== */
.sec-ending {
	background: linear-gradient(180deg, var(--grad-start) 0%, var(--grad-end) 100%);
	color: var(--white);
	text-align: center;
	min-height: 100dvh;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: center;
	overflow: hidden;
	padding-bottom: 56px !important;
}
.sec-ending .sec-title { color: var(--white); }
.ending-body {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}
.ending-text {
	font-size: 1.5rem;
	line-height: 2;
	max-width: 360px;
	margin: 0 auto;
}
.ending-staff {
	width: 85%;
	max-width: 380px;
	flex-shrink: 0;
}


/* ========================================
   お問い合わせフォーム
   ======================================== */
.sec-contact { background: var(--white); }
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { display: flex; align-items: center; gap: 6px; font-weight: 500; font-size: 1.4rem; }
.tag-required {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	font-size: 10px;
	padding: 2px 6px;
	color: var(--white);
	background: var(--accent);
	border-radius: 2px;
}
.contact-form input,
.contact-form textarea {
	width: 100%;
	border: 1px solid var(--gray-lightest);
	border-radius: 5px;
	padding: 10px 12px;
	font-size: 1.6rem;
	line-height: 1.5;
	transition: border-color 0.2s;
}
.contact-form input:focus,
.contact-form textarea:focus {
	outline: none;
	border-color: var(--primary);
}
.form-submit {
	display: flex;
	justify-content: center;
	padding-top: 8px;
}


/* ========================================
   サイド要素（PC のみ表示）
   narrow-body 内で左右固定配置
   ======================================== */
.side-left,
.side-right {
	position: fixed;
	top: 0;
	height: 100vh;
	z-index: 100;
	display: none;                         /* モバイルは非表示 */
	pointer-events: none;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.5s ease, visibility 0.5s;
}
.side-left.is-visible,
.side-right.is-visible {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

/* ---- 左サイド：ロゴ ---- */
.side-left {
	left: 0;
	width: calc((100vw - var(--narrow-width)) / 2);
	display: none;
	align-items: center;
	justify-content: center;
}
.side-logo {
	height: auto;
	max-width: 300px;
}

/* ---- 右サイド：ナビ＋ボタン ---- */
.side-right {
	right: 0;
	width: calc((100vw - var(--narrow-width)) / 2);
	display: none;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 40px;
}

/* ナビリンク */
.side-nav {
	display: flex;
	flex-direction: column;
	gap: 8px;
	align-items: center;
}
.side-nav-link {
	font-family: 'Teko', sans-serif;
	font-size: 3rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--white);
	position: relative;
	padding: 4px 0;
	transition: color 0.3s;
}
.side-nav-link::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	width: 0;
	height: 2px;
	background: var(--primary);
	transition: width 0.3s ease, left 0.3s ease;
}
.side-nav-link:hover,
.side-nav-link.is-active {
	color: var(--white);
}
.side-nav-link.is-active::after {
	width: 100%;
	left: 0;
}

/* サイドボタン共通 */
.side-buttons {
	display: flex;
	flex-direction: column;
	gap: 10px;
	align-items: center;
	width: 100%;
	max-width: 250px;
}
.side-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	font-size: 2rem;
	font-weight: 700;
	padding: 10px 18px;
	border-radius: 50px;
	color: var(--white);
	transition: transform 0.25s, box-shadow 0.25s;
	white-space: nowrap;
	width: 100%;
    border: 2px solid #fff;
}
.side-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 14px rgba(0,0,0,0.25);
}
.side-btn .material-symbols-rounded { font-size: 18px; }
.side-btn--contact { background: var(--accent); }
.side-btn--line { background: var(--line-green); }
.icon-line { flex-shrink: 0; }

/* 電話ボタン */
.side-btn-tel {
	display: block;
	width: 90%;
	transition: transform 0.25s;
    margin-top: 10px;
}
.side-btn-tel img {
	width: 100%;
	height: auto;
}
.side-btn-tel:hover {
	transform: translateY(-2px);
}


/* ========================================
   お問い合わせモーダル
   ======================================== */
.modal-overlay {
	position: fixed;
	inset: 0;
	z-index: 9999;
	background: rgba(0,0,0,0.6);
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.35s ease, visibility 0.35s;
}
.modal-overlay.is-open {
	opacity: 1;
	visibility: visible;
}
.modal {
	position: relative;
	background: var(--white);
	width: 90%;
	max-width: 480px;
	max-height: 85vh;
	overflow-y: auto;
	border-radius: 16px;
	padding: 40px 28px 36px;
	box-shadow: 0 20px 60px rgba(0,0,0,0.3);
	transform: translateY(30px) scale(0.95);
	transition: transform 0.35s ease;
}
.modal-overlay.is-open .modal {
	transform: translateY(0) scale(1);
}
.modal-close {
	position: absolute;
	top: 12px;
	right: 12px;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--gray-pale);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s;
}
.modal-close:hover { background: var(--gray-lightest); }
.modal-close .material-symbols-rounded { font-size: 22px; color: var(--gray-dark); }
.modal-title {
	font-size: 2rem;
	font-weight: bold;
	text-align: center;
	margin-bottom: 24px;
}


/* ========================================
   フッター
   ======================================== */
footer {
	background: var(--white);
	padding: 12px 20px;
	text-align: center;
}
.footer-inner { font-size: 1.1rem; color: var(--gray-medium); }


/* ========================================
   固定フッターバー（モバイル用）
   ======================================== */
.fixed-bottom-bar {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	display: flex;
	z-index: 900;
	transform: translateY(100%);
	transition: transform 0.4s ease;
}
.fixed-bottom-bar.is-visible {
	transform: translateY(0);
}
.fixed-bottom-btn {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 16px 10px;
	font-size: 1.5rem;
	font-weight: bold;
	color: var(--white);
	background: var(--accent);
	border: none;
	cursor: pointer;
	transition: opacity 0.2s;
}
.fixed-bottom-btn:hover {
	opacity: 0.85;
}
.fixed-bottom-btn .material-symbols-rounded {
	font-size: 20px;
}
.fixed-bottom-btn--line {
	background: var(--line-green);
}

/* ========================================
   レスポンシブ：サイドナビ表示（1280px以上）
   ======================================== */
@media screen and (min-width: 1280px) {
	.side-left {
		display: flex;
	}
	.side-right {
		display: flex;
	}
	.fixed-bottom-bar {
		display: none;
	}
	.sec-ending {
		padding-bottom: 0 !important;
	}
}

/* ========================================
   レスポンシブ：768px以上
   ======================================== */
@media screen and (min-width: 768px) {
	.header-logo img { height: 32px; }
	.header-phone {
		font-size: 22px;
		pointer-events: none;
		cursor: default;
	}
}
