@charset "UTF-8";

/* ==========================================================================
   1. 基本設定（1rem以上徹底）
   ========================================================================= */
html,
body {
	width: 100%;
	overflow-x: hidden;
	font-size: 16px;
	font-family: 'DIN', 'Hiragino Kaku Gothic Pro', 'Meiryo', sans-serif;
	line-height: 1.7;
	color: #333;
	background-color: #fff;
	-webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   2. ヘッダー・ナビゲーション（グローバルレイアウト）
   ========================================================================= */
#top-head {
	font-size: 1rem;
	top: 0;
	position: fixed;
	width: 100%;
	margin: 0;
	padding: 20px 0;
	line-height: 1;
	z-index: 999;
	background-color: transparent;
	transition: background-color 0.4s ease, padding 0.4s ease;
}

/* 基本設定：PCではリンクとして反応させない */
.tel-link {
	pointer-events: none;
	/* クリックを無効化 */
	color: inherit;
	/* 文字色を周りに合わせる */
	text-decoration: none;
	/* 下線を消す */
	cursor: default;
	/* カーソルを指マークにしない */
}

/* スマホ（画面幅639px以下など）の場合のみ有効化 */
@media screen and (max-width: 639px) {
	.tel-link {
		pointer-events: auto;
		/* クリックを有効化 */
		color: #0000ee;
		/* 必要ならスマホ時だけ色を変えてリンクだと分かりやすくする */
	}
}

#top-head a {
	color: #fff;
	text-decoration: none;
	text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

#top-head .inner {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 20px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	position: relative;
	width: 100%;
	box-sizing: border-box;
}

#mobile-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	z-index: 1001;
}

#top-head .logo {
	font-size: 24px;
	margin: 0;
}

#top-head .logo img {
	height: 32px;
	width: auto;
	display: block;
	filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.3));
}

#global-nav {
	display: none;
}

#top-head.scrolled {
	background-color: rgba(26, 61, 22, 0.9);
	padding: 15px 0;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* ==========================================================================
   3. メインビジュアル・オーバーレイ
   ========================================================================= */
#main-visual {
	position: relative;
	width: 100%;
	height: 100vh;
	background: #000;
	overflow: hidden;
}

#main-visual img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

#main-visual .hero-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(to bottom, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.1) 25%, rgba(0, 0, 0, 0.1) 75%, rgba(0, 0, 0, 0.45) 100%);
	z-index: 5;
}

#main-visual .hero-text {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 90%;
	text-align: center;
	color: #fff;
	z-index: 10;
}

#main-visual .hero-main {
	font-size: clamp(1.6rem, 5vw, 2.6rem);
	font-weight: 900;
	line-height: 1.5;
	text-shadow: 0 2px 15px rgba(0, 0, 0, 0.8);
}

/* ==========================================================================
   4. セクション共通設計
   ========================================================================= */
#top-content .section {
	padding: 80px 0;
	width: 100%;
}

#top-content .container {
	width: 95%;
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 20px;
}

#top-content .reasons {
	background-color: #f8f9f8;
}

#top-content .philosophy {
	background-color: #ffffff;
}

#top-content .business {
	background-color: #f0f4f2;
}

#top-content .access {
	background-color: #ffffff;
}

#top-content .en-title {
	font-family: 'DIN', sans-serif;
	font-size: clamp(1.8rem, 6vw, 2.2rem);
	color: #00BFA5;
	font-weight: 700;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	margin-bottom: 0;
	line-height: 1.1;
	display: flex;
	align-items: center;
}

#top-content .en-title::after {
	content: "";
	flex-grow: 1;
	height: 2px;
	background: linear-gradient(to right, #00BFA5, transparent);
	margin-left: 25px;
	opacity: 0.5;
}

#top-content .jp-title {
	font-size: 1rem;
	font-weight: 500;
	letter-spacing: 0.1em;
	color: #888;
	margin-top: 0;
	border-left: none;
	margin-bottom: 30px;
}

#top-content .reasons .jp-title {
	margin-bottom: 75px;
}

#top-content .text-link {
	text-align: right;
	margin-top: 25px;
}

#top-content .text-link a {
	color: #00BFA5;
	font-size: 1.1rem;
	font-weight: 700;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	transition: 0.3s;
}

#top-content .text-link a i {
	margin-left: 5px;
	display: inline-block;
}

#top-content .text-link a:hover {
	opacity: 0.7;
	transform: translateX(5px);
}

#top-content .access-map {
	position: relative;
	width: 100%;
	padding-top: 90%;
	margin-top: 20px;
}

#top-content .access-map iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: none;
	border-radius: 4px;
}

/* ==========================================================================
   5. 各セクション詳細
   ========================================================================= */
#top-content .reason-block {
	display: flex;
	flex-direction: column;
	gap: 95px;
}

#top-content .reason-item {
	display: flex;
	flex-direction: column;
	background: transparent;
	position: relative;
}

#top-content .step-num {
	font-family: 'DIN', sans-serif;
	font-size: 5.5rem;
	position: absolute;
	top: -12px;
	left: 0;
	color: rgba(0, 191, 165, 0.22);
	font-weight: 900;
	line-height: 1;
	z-index: 1;
	pointer-events: none;
}

#top-content .reason-text {
	padding: 0;
	z-index: 2;
	position: relative;
}

#top-content .reason-text h3 {
	font-size: clamp(1.2rem, 2.5vw, 1.4rem);
	font-weight: 700;
	color: #1a3d16;
	margin-bottom: 20px;
	padding-left: 0;
	border-left: none;
	line-height: 1.4;
	letter-spacing: -0.02em;
}

#top-content .reason-text p {
	font-size: 1rem;
	color: #555;
	line-height: 1.7;
}

#top-content .reason-img img {
	width: 100%;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
	border-radius: 4px;
	margin-top: 35px;
}

#top-content .philosophy-text h3 {
	font-size: clamp(1.1rem, 2.5vw, 1.35rem);
	font-weight: 700;
	color: #1a3d16;
	margin-top: 35px;
	margin-bottom: 20px;
	padding-left: 18px;
	border-left: 3px solid #00BFA5;
	line-height: 1.4;
	letter-spacing: -0.02em;
}

#top-content .philosophy-text p {
	font-size: 1rem;
	color: #555;
	line-height: 1.7;
	padding-left: 21px;
}

#top-content .business-flex {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

#top-content .business-card {
	background: #fff;
	padding: 35px;
	border-radius: 4px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
	border-top: 4px solid #00BFA5;
}

#top-content .business-card h4 {
	font-size: 1.1rem;
	color: #1a3d16;
	font-weight: 700;
	margin-bottom: 20px;
	white-space: nowrap;
}

#top-content .section.cta {
	background-image: url("/images/back-cta.jpg");
	background-size: cover;
	background-position: center top;
	background-repeat: no-repeat;
	background-attachment: fixed;
	padding: 100px 0;
	position: relative;
	overflow: hidden;
}

#top-content .section.cta::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.65);
	z-index: 1;
}

#top-content .section.cta .container {
	position: relative;
	z-index: 2;
	text-align: center;
}

#top-content .section.cta h2 {
	color: #fff;
	font-size: clamp(1.5rem, 4.5vw, 2rem);
	font-weight: 700;
	margin-bottom: 25px;
	line-height: 1.4;
}

#top-content .section.cta p {
	color: rgba(255, 255, 255, 0.8);
	font-size: 1.1rem;
	margin-bottom: 50px;
	padding: 0;
	font-weight: 700;
}

#top-content .btn-contact {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background-color: #FFCC80;
	color: #333;
	padding: 15px 35px;
	font-size: 1.1rem;
	font-weight: 700;
	border-radius: 4px;
	text-decoration: none;
	transition: all 0.3s;
	box-shadow: 0 15px 40px rgba(0, 191, 165, 0.3);
}

#top-content .btn-contact i {
	margin-left: 5px;
}

#top-content .btn-contact:hover {
	background-color: #FFD180;
	transform: translateY(-3px);
	box-shadow: 0 20px 50px rgba(0, 191, 165, 0.5);
}

/* ==========================================================================
   6. レスポンシブ：タブレット（640px〜1023px）
   ========================================================================= */
@media all and (min-width: 640px) {
	#global-nav {
		display: block;
	}

	#global-nav ul {
		list-style: none;
		display: flex;
		gap: 5px;
	}

	#global-nav ul li {
		position: relative;
	}

	#global-nav ul li a {
		font-weight: 700;
		white-space: nowrap;
		padding: 0 4px;
		font-size: 0.95rem;
	}

	#global-nav ul li:after {
		position: absolute;
		content: "";
		display: block;
		width: 100%;
		height: 3px;
		bottom: -20px;
		transition: all 0.3s ease;
	}

	#global-nav ul li:hover:after {
		background: #fff;
		bottom: -30px;
	}

	#main-visual {
		height: 70vh;
	}

	#top-content .reason-item {
		flex-direction: row;
		align-items: center;
		gap: 65px;
	}

	#top-content .reason-item.reverse {
		flex-direction: row-reverse;
	}

	#top-content .reason-text {
		flex: 1.3;
		padding-right: 20px;
	}

	#top-content .reason-item.reverse .reason-text {
		padding-right: 0;
		padding-left: 20px;
	}

	#top-content .reason-img {
		flex: 1;
	}

	#top-content .reason-img img {
		margin-top: 0;
	}

	#top-content .philosophy-flex {
		display: flex;
		flex-direction: row;
		align-items: center;
		gap: 60px;
	}

	#top-content .philosophy-img,
	#top-content .philosophy-text {
		flex: 1;
	}

	#top-content .business-flex {
		flex-direction: row;
		align-items: stretch;
		gap: 30px;
	}

	#top-content .business-card {
		flex: 1;
	}

	#top-content .step-num {
		font-size: 6.5rem;
		top: -70px;
		left: 0;
	}

	#top-content .access-map {
		padding-top: 40%;
	}
}

/* ==========================================================================
   7. レスポンシブ：PC（1024px〜1279px）
   ========================================================================= */
@media all and (min-width: 1024px) {
	#main-visual {
		height: auto;
	}

	#main-visual img {
		height: auto;
		object-fit: contain;
		object-position: center top;
	}

	#top-head .inner {
		width: 100%;
		max-width: 1080px;
	}

	#global-nav ul {
		gap: 30px;
	}

	#global-nav ul li a {
		font-size: 1rem;
		padding: 0 10px;
	}

	#top-content .reason-item {
		gap: 80px;
	}

	#top-content .step-num {
		font-size: 7.5rem;
		top: -85px;
		left: 0;
	}

	#top-content .access-map {
		padding-top: 450px;
	}

	#top-content .section.cta {
		padding: 120px 0;
	}
}

/* ==========================================================================
   8. レスポンシブ：ワイドPC（1280px〜）
   ========================================================================= */
@media all and (min-width: 1280px) {
	#top-head .inner {
		width: 100%;
		max-width: 1200px;
	}

	#global-nav ul {
		gap: 40px;
	}

	#global-nav ul li a {
		font-size: 1.1rem;
	}

	#top-content .container {
		max-width: 1200px;
	}
}

/* ==========================================================================
   9. レスポンシブ：スマホ専用調整（〜639px）
   ========================================================================= */
@media screen and (max-width: 639px) {
	#top-head .logo img {
		height: 28px;
	}

	#top-content .section {
		padding: 60px 0;
	}

	#top-content .reason-text h3 {
		letter-spacing: -0.04em;
		font-size: 1.15rem;
	}

	#top-content .step-num {
		font-size: 5rem;
		top: -40px;
		left: 0;
	}

	#top-content .section.cta {
		background-attachment: scroll;
	}
}

/* ==========================================================================
   10. フッター基本設定
   ========================================================================= */
footer {
	background-color: rgba(26, 61, 22, 0.85);
	color: #ffffff;
	padding: 20px 0 15px;
	text-align: center;
	width: 100%;
}

/* ★修正：ワイド画面でも常に2行表示、行間スペースをゼロに */
footer p {
	margin: 0;
	display: block;
	/* flex解除 */
	text-align: center;
	font-size: 1rem;
}

footer .footer-nav,
footer #Copyright {
	display: block;
	width: 100%;
	margin: 0;
	/* 間のスペースを排除 */
	line-height: 1.4;
}

footer p a {
	color: #ffffff;
	text-decoration: none;
	opacity: 0.9;
}

footer p #Copyright {
	font-size: 0.9rem;
	opacity: 0.8;
}