*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#f7f7f5;color:#171a1a;font-family:-apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif;line-height:1.8}a{color:inherit;text-decoration:none}a:focus-visible,button:focus-visible{outline:3px solid #f78a21;outline-offset:4px}img{display:block;width:100%;object-fit:cover}h1,h2,h3,p{margin:0} .hero{position:relative;isolation:isolate;background:#17282a;color:white;min-height:clamp(470px,43vw,740px);overflow:hidden;display:flex;flex-direction:column;justify-content:center}.hero-photo{position:absolute;inset:0 0 0 29%;z-index:-2;background:url('../img/hero3.jpg') center/cover no-repeat}.hero:after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#101c20 0%,rgba(16,28,32,.96) 22%,rgba(16,28,32,.55) 43%,transparent 70%),linear-gradient(0deg,rgba(0,0,0,.55),transparent 32%)}.nav{position:absolute;top:0;left:0;right:0;display:flex;align-items:center;justify-content:space-between;padding:20px 3.5%;gap:24px;z-index:2;background:linear-gradient(#101c2088,transparent)}.brand{font:bold 30px/1 Arial,sans-serif;white-space:nowrap}.brand span,.fun{color:#f58220;font-family:Georgia,serif;font-style:italic}.brand small{display:block;font:10px/1.6 sans-serif;margin-top:6px;letter-spacing:.08em}.links{display:flex;gap:clamp(14px,2.4vw,38px);font-size:14px;font-weight:600}.links a:hover{color:#ffac62}.menu{display:none}.hero-copy{padding:100px 6% 70px;max-width:660px}.eyebrow{font-size:13px;letter-spacing:.13em;font-weight:700;color:#a7d9c6}.hero h1{font-family:"Yu Mincho","Hiragino Mincho ProN",serif;font-weight:500;font-size:clamp(40px,5.5vw,86px);line-height:1.28;letter-spacing:.04em;margin:14px 0}.accent{width:52px;height:4px;background:#f58220;margin:22px 0}.hero-copy>p:last-child{font-size:clamp(14px,1.3vw,19px)}.hero-project{position:absolute;right:4%;bottom:24px;font-weight:bold;font-size:20px;text-shadow:0 2px 6px #000}.hero-project small{font-size:12px;font-weight:400}.about{display:grid;grid-template-columns:1fr 1.65fr;align-items:center;gap:4%;padding:45px 7%;background:#fff}.about h2{font-size:clamp(25px,3vw,48px);text-align:center;line-height:1.3}.about>div{border-left:1px solid #777;padding-left:6%}.about h3{font-size:17px;margin-bottom:12px}.about p{font-size:15px}.gallery-row{display:grid;gap:4px;margin-bottom:4px}.first{grid-template-columns:4fr 2.8fr 3.2fr}.second{grid-template-columns:3.5fr 2.2fr 2.3fr 2fr}.gallery-row img{height:clamp(140px,19vw,330px)}.second img{height:clamp(120px,14vw,240px)}.contents{padding:42px 3.5% 36px;max-width:1600px;margin:auto}.section-title{display:flex;align-items:center;justify-content:center;gap:24px;font-size:clamp(19px,2.6vw,36px);line-height:1.4;text-align:center;margin-bottom:28px}.section-title:before,.section-title:after{content:'';height:1px;background:#aaa;flex:1}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.cards article{background:white;border-radius:12px;overflow:hidden;box-shadow:0 4px 18px #0000000d;display:flex;flex-direction:column}.card-photo{position:relative;isolation:isolate;min-height:190px;aspect-ratio:1.6;display:flex;align-items:end;padding:20px;color:white}.card-photo img{position:absolute;inset:0;height:100%;z-index:-2}.card-photo:after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(transparent 20%,#081211e8)}.card-photo h3{font-size:clamp(16px,1.5vw,23px);line-height:1.5}.card-body{padding:20px;display:flex;flex:1;flex-direction:column;gap:18px;font-size:14px}.status{margin-top:auto;color:#24786c;font-size:12px;letter-spacing:.12em;font-weight:bold}.news{font-size:13px;margin-top:24px}.project{display:grid;grid-template-columns:minmax(180px,300px) 1fr;align-items:center;gap:5%;padding:35px 8%;background:#17282a;color:white}.project img{height:220px;object-fit:contain;background:#e7e7e4;border-radius:8px}.project h2{font-size:clamp(22px,3vw,40px);line-height:1.3;margin:10px 0}.project p{margin:10px 0}.soon{min-height:350px;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;color:white;background:linear-gradient(#0002,#0007),url('../img/sunset.jpg') center/cover;position:relative;padding:40px 20px;text-shadow:0 2px 10px #0009}.coming{font:italic clamp(58px,9vw,130px)/1.2 Georgia,serif}.soon>p:nth-child(2){font-size:clamp(18px,2.4vw,30px);letter-spacing:.1em;margin-top:20px}.soon small{position:absolute;bottom:10px;right:15px;font-size:10px}footer{display:flex;justify-content:space-between;gap:20px;background:#101c20;color:#ddd;padding:20px 4%;font-size:12px}@media(max-width:800px){.menu{display:block;background:transparent;border:1px solid #fff8;color:white;padding:8px 12px;border-radius:6px}.links{display:none;position:absolute;top:75px;right:4%;background:#17282a;padding:20px;flex-direction:column}.links.open{display:flex}.hero{min-height:620px;justify-content:end}.hero-photo{inset:0 0 32%;background-position:center}.hero:after{background:linear-gradient(0deg,#101c20 12%,#101c20ee 32%,transparent 75%)}.hero-copy{padding:270px 6% 75px}.hero-project{font-size:13px;bottom:15px;left:6%;right:auto}.hero-project small{font-size:11px}.about{grid-template-columns:1fr;padding:30px 6%;gap:20px}.about>div{border:0;padding:0}.cards{grid-template-columns:1fr}.first,.second{grid-template-columns:repeat(2,1fr)}.first img:last-child{grid-column:span 2}.gallery-row img,.second img{height:160px}.project{grid-template-columns:1fr;padding:30px 6%}.project img{max-width:280px;margin:auto}.section-title{gap:8px}.soon{min-height:280px}footer{flex-wrap:wrap}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}


/* =================================
   Hero : 写真とコピーを上下に分離
   ================================= */

.hero {
	display: flex;
	flex-direction: column;
	min-height: 0;
	background: #17282a;
}

/* ナビゲーション */
.hero .nav {
	position: relative;
	background: #101c20;
	order: 0;
}

/* メインビジュアル */
.hero-photo {
	position: relative;
	inset: auto;
	width: 100%;
	aspect-ratio: 16 / 9;
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
	z-index: auto;
	order: 1;
}

/* グラデーションを完全撤廃 */
.hero::after {
	display: none;
}

/* ヘッドコピー */
.hero-copy {
	order: 2;
	width: 100%;
	max-width: none;
	padding: 36px 5% 24px;
	text-align: center;
	text-shadow: none;
}

.hero h1 {
	font-size: clamp(28px, 4vw, 64px);
	line-height: 1.4;
	overflow-wrap: normal;
}

.hero h1 br {
	display: none;
}

.hero-copy .accent {
	margin: 20px auto;
}

/* プロジェクト表記 */
.hero-project {
	position: relative;
	inset: auto;
	order: 3;
	text-align: center;
	padding: 0 5% 30px;
	font-size: 16px;
	text-shadow: none;
}

@media (max-width: 800px) {
	.hero-copy {
		padding: 25px 5%;
	}

	.hero-project {
		font-size: 13px;
	}
}

/* ヒーロー画像の上下の余白を解消 */
.hero-photo {
	aspect-ratio: 2.7 / 1;
	height: auto;
	min-height: 0;
	background-size: contain;
	margin: 0;
	padding: 0;
}

/* TAITEC.fun 正式ロゴ */

/* ヘッダー */
.brand-logo {
	display: block;
	width: 220px;
	max-width: 100%;
	height: auto;
}

/* セクション見出し共通 */
.heading-logo {
	display: inline-block;
	width: auto;
	height: 1em;
	vertical-align: -0.05em;
	margin-right: 0.2em;
}

/* コンテンツ見出し */
.heading-group {
	display: inline-block;
	color: inherit;
	font: inherit;
}

/* スマートフォン */
@media (max-width: 800px) {
	.brand-logo {
		width: 180px;
	}
}