:root {
	--color-bg: #F4E8B0;       /* レトロイエロー */
	--color-teal: #2F8875;     /* ティールグリーン */
	--color-red: #C8462B;      /* テラコッタレッド */
	--color-blue: #709CB5;     /* スモーキーブルー */
	--color-white: #FFFFFF;
	--color-text: #1E232A;
	--color-line: #1E232A;

	--font-heading: 'Syne', sans-serif;
	--font-body: 'Noto Sans JP', sans-serif;
	--font-mono: 'Space Mono', monospace;

	--border: 3px solid var(--color-line);
}

/* ==========================================
   1. 基本設定（リセット・ベーススタイル）
   ========================================== */
* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: var(--font-body);
	color: var(--color-text);
	line-height: 1.6;
	background-color: var(--color-bg);
	text-align: center;
	overflow-x: hidden;
}

a {
	text-decoration: none;
	color: inherit;
}

/* ==========================================
   2. 共通レイアウト & 見出し・ボタンパーツ
   ========================================== */
section {
	max-width: 1100px;
	margin: 0 auto;
	padding: 60px 20px;
	text-align: left;
}

.section-meta {
	font-family: var(--font-mono);
	font-size: 0.85rem;
	letter-spacing: 0.1em;
	color: var(--color-text);
	margin-bottom: 4px;
}

.section-title, h2 {
	font-family: var(--font-heading);
	font-size: clamp(3rem, 7vw, 4.5rem);
	font-weight: 800;
	color: var(--color-red);
	text-align: left;
	margin-bottom: 30px;
	line-height: 1;
	letter-spacing: -0.03em;
}

/* 共通サブボタン */
.btn {
	display: inline-block;
	padding: 10px 22px;
	background-color: var(--color-blue);
	color: var(--color-white);
	font-weight: bold;
	border: var(--border);
	border-radius: 0;
	box-shadow: 4px 4px 0 var(--color-line);
	transition: transform 0.1s, box-shadow 0.1s;
}

.btn:hover {
	transform: translate(-2px, -2px);
	box-shadow: 6px 6px 0 var(--color-line);
}

/* 共通メインボタン */
.btn-main {
	display: inline-block;
	font-size: 1.1rem;
	font-weight: bold;
	padding: 16px 36px;
	background-color: var(--color-blue);
	color: var(--color-white);
	border: var(--border);
	border-radius: 0;
	box-shadow: 4px 4px 0 var(--color-line);
	transition: transform 0.1s, box-shadow 0.1s;
	margin-bottom: 50px;
}

.btn-main:hover {
	transform: translate(-2px, -2px);
	box-shadow: 6px 6px 0 var(--color-line);
}

/* ==========================================
   3. ヘッダー (Header)
   ========================================== */
.site-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-top: 20px;
	padding-bottom: 10px;
	background-color: var(--color-bg);
}

.site-header .logo {
	font-family: var(--font-body);
	font-weight: bold;
	font-size: 1.2rem;
}

.header-btn {
	padding: 6px 16px;
	font-size: 0.85rem;
}

/* ==========================================
   4. メインビジュアル (Hero Section)
   ========================================== */
.site-container {
	width: 100%;
	max-width: 1200px;
	margin-inline: auto;
	padding-left: clamp(16px, 4vw, 40px);
	padding-right: clamp(16px, 4vw, 40px);
}

.hero {
	position: relative;
	overflow: hidden;
	width: 100%;
	padding-top: 20px;
	padding-bottom: 60px;
	background-color: var(--color-bg);
}

.hero-inner {
	position: relative;
	width: 100%;
}

.hero-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 24px;
	margin-bottom: 20px;
	font-family: var(--font-mono);
	font-size: 12px;
	letter-spacing: 0.08em;
}

.hero-title {
	position: relative;
	z-index: 2;
	width: 100%;
	margin: 0;
	font-family: var(--font-heading);
	font-weight: 800;
	line-height: 0.9;
	letter-spacing: -0.03em;
	text-transform: uppercase;
	color: var(--color-red);
	text-align: left;
	
}

.hero-title__main {
	display: block;
	font-size: clamp(1.6rem, 8.5vw, 6.5rem);
	white-space: normal;
}

.hero-title__sub {
	display: block;
	font-size: clamp(1.8rem, 9.5vw, 7rem);
	white-space: normal;
}

.hero-copy {
	position: relative;
	z-index: 3;
	max-width: 520px;
	margin: 24px 0 0 clamp(0px, 5vw, 80px);
	padding: 24px;
	border: var(--border);
	background: var(--color-blue);
	color: var(--color-white);
	text-align: left;
	box-shadow: 4px 4px 0 var(--color-line);
}

.hero-copy p {
	margin: 0;
	line-height: 1.7;
}

/* 右上の装飾枠 */
.hero-decor {
	position: absolute;
	right: 2%;
	top: 5%;
	width: clamp(180px, 28vw, 320px);
	aspect-ratio: 1;
	background: var(--color-teal);
	border: var(--border);
	transform: rotate(7deg);
	z-index: 1;
}

.hero-decor::after {
	content: '';
	position: absolute;
	inset: 15px;
	border: var(--border);
	background: var(--color-bg);
	transform: rotate(-10deg);
}

/* ==========================================
   5. サービス内容 (#service)
   ========================================== */
#service {
	padding: 60px 20px;
	overflow: hidden;
	background-color: var(--color-bg);
}

.service__container {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 24px;
}

#service article {
	flex: 1 1 calc(33.333% - 24px);
	max-width: 310px;
	min-width: 260px;
	background-color: var(--color-white);
	padding: 28px 20px;
	border: var(--border);
	box-shadow: 5px 5px 0 var(--color-line);
	text-align: left;
	border-radius: 0;
}

#service article:nth-child(1) { transform: rotate(-1.5deg); }
#service article:nth-child(2) { transform: rotate(1.5deg); }
#service article:nth-child(3) { transform: rotate(-1deg); }

#service article h3 {
	font-size: 1.15rem;
	font-weight: bold;
	color: var(--color-text);
	margin-bottom: 12px;
	padding-bottom: 8px;
	border-bottom: 2px dashed var(--color-line);
}

#service article p {
	font-size: 0.95rem;
	color: var(--color-text);
	line-height: 1.6;
}

/* ==========================================
   6. 制作の流れ (#flow)
   ========================================== */
#flow ol {
	list-style: none;
	padding: 0;
	max-width: 600px;
	margin: 0 auto;
}

#flow li {
	background-color: var(--color-white);
	border: var(--border);
	box-shadow: 4px 4px 0 var(--color-line);
	padding: 20px;
	margin-bottom: 20px;
	text-align: left;
	border-radius: 0;
}

#flow li span {
	display: inline-block;
	background-color: var(--color-text);
	color: var(--color-white);
	font-size: 0.85rem;
	font-weight: bold;
	padding: 4px 12px;
	border: 2px solid var(--color-line);
	margin-right: 10px;
	border-radius: 0;
}

#flow li h3 {
	display: inline-block;
	font-size: 1.1rem;
	color: var(--color-text);
	margin: 0;
	vertical-align: middle;
}

#flow li p {
	font-size: 0.95rem;
	color: var(--color-text);
	margin-top: 10px;
	line-height: 1.6;
}

/* ==========================================
   7. 制作実績 (#works)
   ========================================== */
#works {
	padding: 60px 20px;
	background-color: var(--color-bg);
}

.works__container {
	max-width: 1100px;
	margin: 0 auto;
	display: flex;
	gap: 24px;
	justify-content: center;
	align-items: stretch;
}

.works__card {
	flex: 1 1 calc(50% - 12px);
	background-color: var(--color-white);
	border: var(--border);
	box-shadow: 5px 5px 0 var(--color-line);
	padding: 24px;
	text-align: left;
	display: flex;
	flex-direction: column;
	border-radius: 0;
}

.works__body {
	display: flex;
	flex-direction: column;
	flex: 1;
}

.works__body h3 {
	font-size: 1.15rem;
	font-weight: bold;
	color: var(--color-text);
	margin-bottom: 12px;
	padding-bottom: 8px;
	border-bottom: 2px dashed var(--color-line);
	text-align: center;
}

.works__image {
	margin-bottom: 16px;
	text-align: center;
}

.works__image img {
	width: 100%;
	height: 220px;
	object-fit: cover;
	object-position: top;
	border: 2px solid var(--color-line);
	border-radius: 0; /* 直角に統一 */
}

.works__desc, .works__meta {
	font-size: 0.9rem;
	color: var(--color-text);
	line-height: 1.6;
	margin-bottom: 12px;
}

.works__card .btn {
	margin-top: auto;
	align-self: center;
}

/* ==========================================
   8. プロフィール & スキル (ABOUT)
   ========================================== */
.about-section {
	max-width: 1100px;
	margin: 0 auto;
	padding: 60px 20px;
	text-align: left;
}

.about-card {
	display: flex;
	border: var(--border);
	background-color: var(--color-white);
	box-shadow: 6px 6px 0 var(--color-line);
}

.about-card__left {
	flex: 0 0 42%;
	background-color: var(--color-teal);
	color: var(--color-white);
	padding: 40px 32px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	border-right: var(--border);
}

.about-name {
	font-family: var(--font-heading);
	font-size: clamp(2rem, 4vw, 3rem);
	font-weight: 800;
	color: var(--color-bg);
	margin-bottom: 12px;
	line-height: 1.1;
}

.about-sub {
	font-family: var(--font-mono);
	font-size: 0.85rem;
	font-weight: bold;
	letter-spacing: 0.05em;
	margin-bottom: 32px;
	opacity: 0.95;
}

.about-catch {
	font-size: 0.95rem;
	line-height: 1.7;
	font-weight: 500;
}

.about-card__right {
	flex: 1;
	padding: 40px 36px;
	background-color: var(--color-white);
	color: var(--color-text);
	display: flex;
	flex-direction: column;
	gap: 32px;
}

.about-heading {
	font-family: var(--font-heading);
	font-size: 1.25rem;
	font-weight: 800;
	color: var(--color-text);
	margin-bottom: 12px;
	letter-spacing: 0.05em;
}

.about-text {
	font-size: 0.95rem;
	line-height: 1.8;
	color: var(--color-text);
}

.skills-list {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	list-style: none;
	padding: 0;
	margin: 0;
}

.skills-list li {
	font-family: var(--font-mono);
	font-size: 0.85rem;
	padding: 6px 14px;
	border: 1.5px solid var(--color-line);
	background-color: var(--color-white);
	color: var(--color-text);
	border-radius: 0;
}

/* ==========================================
   9. フッター (Footer)
   ========================================== */
footer {
	text-align: center;
	padding: 30px 20px;
	background-color: var(--color-bg);
	border-top: var(--border);
	font-size: 0.9rem;
	color: var(--color-text);
}

/* ==========================================
   10. レスポンシブ対応 (768px / 820px 以下)
   ========================================== */
@media (max-width: 820px) {
	.about-card {
		flex-direction: column;
	}

	.about-card__left {
		flex: 1 1 100%;
		border-right: none;
		border-bottom: var(--border);
		padding: 32px 24px;
	}

	.about-card__right {
		padding: 32px 24px;
	}
}

@media (max-width: 768px) {
	.hero-copy {
		margin-left: 0;
	}

	.hero-decor {
		top: 0;
		opacity: 0.6;
	}

	#service article {
		flex: 0 0 100%;
		max-width: 100%;
		transform: none !important;
	}

	.works__container {
		flex-direction: column;
	}

	.works__card {
		flex: 1 1 100%;
	}
}