/* 共通スタイル */
body {
	font-family: 'Zen Kaku Gothic New', sans-serif;
	background-color: #e8ebf0;
	color: #1a1a1a;
	line-height: 1.0;
	/* ドットパターン */
    background-image: radial-gradient(#d1d5db 1px, transparent 1px);
    background-size: 20px 20px;
}
/* 英語・見出し用フォント */
.font-en {
    font-family: 'M PLUS Rounded 1c', sans-serif;
    letter-spacing: 0.02em;
}
.content-container {
	background-color: #ffffff;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
	border: 1px solid #dcdfe3;
	max-width: 1024px;
	width: 100%;
}

/* ヘッダー/フッターのフォント */
.header-logo-text {
	font-family: 'M PLUS Rounded 1c', sans-serif;
	font-weight: 800;
	font-size: 2.5rem;
	line-height: 1;
	letter-spacing: -0.03em;
	color: #1f2937;
}
.logo-in-footer {
	font-family: 'M PLUS Rounded 1c', sans-serif;
	font-weight: 800;
	font-size: 1.8rem;
	color: #1f2937;
}
header nav a {
	font-family: 'M PLUS Rounded 1c', sans-serif;
	font-weight: 700;
}
.nav-link {
	transition: all 0.2s ease;
}
.nav-link:hover {
	color: #000;
	text-decoration: underline;
}

/* メインコンテンツのモダンリファイン */
.gyao-lead {
	font-size: 15px;
	color: #34495e;
	margin-top: 1rem;
	border-left: 5px solid #1a75ff;
	padding-left: 1.5rem;
}

.section-wrapper {
	padding: 1rem 0;
	margin-bottom: 0;
	transition: background-color 0.3s ease;
    background-color: #ffffff; 
}
.section-header {
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #1a75ff;
    margin-top: 1rem;
}
.section-number {
	font-family: 'Rajdhani', sans-serif;
	font-size: 2.5rem;
	font-weight: 700;
	color: #1a75ff;
	margin-right: 0.8rem;
	line-height: 1;
	display: inline-block;
	vertical-align: baseline;
}
.section-title {
	font-family: 'Rajdhani', sans-serif;
	font-weight: 700;
	font-size: 24px;
	color: #2c3e50;
	text-transform: uppercase;
	display: inline-block;
	vertical-align: baseline;
}

/* 修正箇所: デフォルトではマージンを0にし、displayを削除 */
.section-subtitle {
	font-family: 'Rajdhani', sans-serif;
	font-size: 20px;
	color: #7f8c8d;
	margin-left: 0; /* PC版のためのマージンをデフォルトで0に設定 */
	/* display: inline-block; は親要素のFlexboxに任せるため削除 */
	vertical-align: baseline;
	padding-bottom: 0px;
	font-weight: normal;
}

/* カードスタイル (ホバーアニメーション強化) */
.design-card {
	background: #fcfcfc;
	border: 2px solid #e0e0e0;
	border-radius: 4px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
	overflow: hidden;
	cursor: zoom-in;
}
.design-card:hover {
	transform: translateY(-8px) scale(1.02);
	box-shadow: 0 15px 25px rgba(26, 117, 255, 0.3);
	border-color: #1a75ff;
}
.card-header {
	background-color: #eef1f4;
	padding: 0.75rem 1rem;
	border-bottom: 1px solid #dcdde1;
	font-family: 'Rajdhani', sans-serif;
	font-size: 22px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.model-name {
	font-weight: 700;
	color: #2c3e50;
}
.model-type {
	font-size: 0.6em;
	font-weight: 700;
	padding: 0.2rem 0.5rem;
	border-radius: 4px;
	border: 2px solid currentColor;
	line-height: 1;
	text-transform: uppercase;
}
.card-image-area {
	padding: 0.2rem;
	background-color: #fff;
	text-align: center;
}
.card-footer {
	padding: 0.75rem;
	font-size: 1rem;
	color: #7f8c8d;
	border-top: 1px solid #ecf0f1;
	background-color: #fff;
}
.design-card img {
	width: 100%;
	height: auto;
	display: block;
}

/* 企画の目標 (インバースカラーで強調) */
.sketch-info-box {
	background-color: #2c3e50;
	color: #ecf0f1;
	border: 1px solid #1a75ff;
	padding: 1.5rem;
	border-radius: 4px;
	box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.3);
}
.sketch-info-box strong {
	color: #1a75ff;
}
.sketch-info-box ul {
	list-style-type: disc;
	list-style-position: inside;
}

/* 04, 05セクションの統合カード用スタイル */
.unify-card {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: zoom-in;
    /* 背景色を白に明示的に設定（Tailwindのユーティリティが万が一抜けても大丈夫なように） */
    background-color: #fff; 
}

.unify-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 25px rgba(26, 117, 255, 0.3);
    border-color: #1a75ff;
}

/* --- スマートフォン向けのセクションタイトル調整 (640px以下) --- */
@media (max-width: 640px) {
    /* gyao-leadの文字サイズを小さくする */
    .gyao-lead {
        font-size: 13px;
    }

    /* セクションのサブタイトルをタイトル下に表示 (縦並び) */
    .section-title{
		font-size: 1.3rem;
	}
	.section-subtitle {
        margin-left: 0; /* マージンなし */
        margin-top: 0rem; /* タイトルとの間隔 */
        font-size: 1rem; /* スマホで見やすいサイズに調整 */
    }
	.text-base {
        font-size: 14px; /* 16pxから15pxに縮小 */
    }
}

/* --- PC表示時 (640px以上) の横マージンを復活させる --- */
@media (min-width: 640px) {
    .section-subtitle {
        margin-left: 0.8rem; /* PC版では横並びのためにマージンを復活 */
        margin-top: 0;
    }
}