/* --- 基本設定 --- */
:root {
	--primary-color: #333; /* 基本の文字色 */
	--accent-color: #e63946; /* アクセントカラー(赤) */
	--background-color: #f8f9fa; /* 薄いグレーの背景色 */
	--font-family-base: 'Noto Sans JP', sans-serif; /* 基本フォント */
	--font-family-title: 'Oswald', sans-serif; /* 見出し用フォント */
}

*, *::before, *::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	font-size: 16px;
	scroll-behavior: smooth;
}

body {
	font-family: var(--font-family-base);
	line-height: 1.7;
	color: var(--primary-color);
	background-color: #fff;
	text-align: center;
}

img {
	max-width: 100%;
	height: auto;
	vertical-align: middle;
}

a {
	color: var(--accent-color);
	text-decoration: none;
	transition: opacity 0.3s;
}

a:hover {
	opacity: 0.7;
}

.container {
	width: 90%;
	max-width: 1100px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 15px;
	padding-right: 15px;
}

.section {
	padding: 60px 0;
}

.section-bg {
	background-color: var(--background-color);
}

.section-title {
	font-family: var(--font-family-title);
	font-size: 2.5rem;
	margin-bottom: 30px;
	letter-spacing: 1.5px;
}

.section-lead {
	font-size: 1.1rem;
	margin-bottom: 40px;
	line-height: 1.8;
}

/* --- ボタン --- */
.btn {
	display: inline-block;
	padding: 12px 30px;
	font-family: var(--font-family-base);
	font-weight: bold;
	font-size: 1.1rem;
	border-radius: 50px;
	transition: transform 0.3s, box-shadow 0.3s;
}

.btn-primary {
	background-color: var(--accent-color);
	color: #fff;
	box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.btn-primary:hover {
	color: #fff;
	opacity: 1;
	transform: translateY(-3px);
	box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}


/* --- ヘッダー --- */
.header {
	background-color: #fff;
	padding: 15px 0;
	border-bottom: 1px solid #eee;
	position: sticky;
	top: 0;
	z-index: 100;
}

.header .container {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.header-logo a {
	font-family: var(--font-family-title);
	font-size: 1.5rem;
	letter-spacing: 1px;
	color: var(--primary-color);
}

.nav ul {
	display: flex;
	list-style-type: none;
	gap: 25px;
}

.nav a {
	color: var(--primary-color);
	font-weight: bold;
	padding-bottom: 5px;
	border-bottom: 2px solid transparent;
	transition: border-color 0.3s;
}

.nav a:hover {
	opacity: 1;
	color: var(--accent-color);
	border-bottom-color: var(--accent-color);
}


/* --- ヒーローセクション --- */
.hero {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 60vh;
	min-height: 400px;
	background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url(../images/kick2.jpg);
	background-size: cover;
	background-position: center;
	background-color: #000; /* 背景色が透けないように黒を指定 */
	color: #fff;
	text-align: center;
}

.hero-subtitle {
	font-family: var(--font-family-title);
	font-size: 1.5rem;
}

.hero-title {
	font-family: var(--font-family-title);
	font-size: 3.5rem;
	margin: 10px 0 30px;
	line-height: 1.2;
}

.hero-email {
	display: block;
	margin-top: 15px;
	font-size: 0.9rem;
}

.hero-email a {
	color: #fff;
	text-decoration: underline;
}

/* --- Instagram --- */
.instagram-embed {
	margin: 0 auto;
	padding-bottom: 30px;
}

/* --- About & Price --- */
.price-list {
	max-width: 600px;
	margin: 40px auto 0;
	background-color: #fff;
	border-radius: 10px;
	padding: 30px;
	box-shadow: 0 5px 15px rgba(0,0,0,0.08);
	text-align: left;
}
.price-title {
	text-align: center;
	margin-bottom: 20px;
	font-size: 1.5rem;
}
.price-list ul {
	list-style: none;
}
.price-list li {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 15px 0;
	border-bottom: 1px dashed #ddd;
}
.price-list li:last-child {
	border-bottom: none;
}
.price-list span {
	font-weight: bold;
}
.price-list strong {
	font-size: 1.4rem;
	color: var(--accent-color);
}

/* --- 特徴セクション --- */
.feature-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
	text-align: left;
}
.feature-item {
	background: #fff;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 5px 15px rgba(0,0,0,0.08);
	transition: transform 0.3s;
}
.feature-item:hover {
	transform: translateY(-5px);
}
.feature-item img {
	width: 100%;
	height: 220px;
	object-fit: cover;
}
.feature-content {
	padding: 25px;
}
.feature-content h3 {
	font-size: 1.3rem;
	margin-bottom: 10px;
}

/* --- 練習日・お申し込み --- */
.contact-info .link-underline {
	text-decoration: underline;
}

.schedule-table {
	width: 100%;
	max-width: 800px;
	margin: 40px auto;
	border-collapse: collapse;
	background: #fff;
	box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}
.schedule-table th, .schedule-table td {
	border: 1px solid #e0e0e0;
	padding: 15px;
}
.schedule-table thead {
	background-color: var(--primary-color);
	color: #fff;
	font-family: var(--font-family-title);
	font-size: 1.1rem;
}
.schedule-table tbody th {
	text-align: left;
	width: 40%;
}
.schedule-table tbody td {
	text-align: left;
}

.contact-methods {
	margin-top: 40px;
}
.contact-email {
	margin-top: 20px;
}

.map-container {
	margin-top: 40px;
	position: relative;
	width: 100%;
	padding-top: 56.25%;
}
.map-container iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border-radius: 10px;
}

/* --- 参加者の声 (Testimonials) --- */
#testimonials {
	background-color: var(--background-color);
}

.testimonial-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: 25px;
}

.testimonial-card {
	background-color: #fff;
	border-radius: 10px;
	padding: 30px;
	box-shadow: 0 5px 15px rgba(0,0,0,0.08);
	text-align: left;
	position: relative;
	padding-top: 40px;
}

.testimonial-card::before {
	content: '“';
	font-family: 'Times New Roman', Times, serif;
	position: absolute;
	top: 0px;
	left: 15px;
	font-size: 5rem;
	color: var(--accent-color);
	opacity: 0.15;
	line-height: 1;
}

.testimonial-text {
	margin-bottom: 20px;
	font-size: 1rem;
	line-height: 1.8;
}

.testimonial-author {
	text-align: right;
	font-weight: bold;
	color: #555;
	font-size: 0.9rem;
}


/* --- フッター --- */
.footer {
	background: var(--primary-color);
	color: #fff;
	padding: 40px 0;
}
.footer .nav a {
	color: #fff;
	font-weight: normal;
}
.footer .nav a:hover {
	color: #fff;
	opacity: 0.7;
	border-bottom-color: transparent;
}
.gotop {
	text-align: center;
	margin-bottom: 30px;
}
.gotop img {
	width: 50px;
}
.copyright {
	margin-top: 30px;
	font-size: 0.9rem;
	opacity: 0.7;
}


/* =======================================================
   ★★★ レスポンシブ対応 (スマートフォン) ★★★
   ======================================================= */
@media (max-width: 767px) {
	html {
		font-size: 15px;
	}

    /* --- 全体的な調整 --- */
	.section {
		padding: 40px 15px;
	}
	.section-title {
		font-size: 1.8rem; 
		line-height: 1.4;
	}
    .container {
        width: 100%; 
        padding-left: 0;
        padding-right: 0;
    }


	/* --- ヘッダーの調整 --- */
	.header .container {
		flex-direction: column;
		gap: 15px;
	}
    .header-logo a {
        font-size: 1.3rem;
    }
	.nav ul {
		gap: 8px 12px;
		flex-wrap: wrap;
		justify-content: center;
	}
	.nav a {
		font-size: 0.85rem;
        padding: 5px;
	}


	/* --- ヒーローセクション（メインタイトル）の調整 --- */
	.hero {
		height: 60vh;
        min-height: 300px;
        
        /* ↓↓↓↓↓↓ 今回の修正点 ↓↓↓↓↓↓ */
        background-size: contain;      /* 画像全体が表示されるように変更 */
        background-repeat: no-repeat;  /* 画像が繰り返されないようにする */
        background-attachment: scroll;   /* iOSでの表示崩れを防ぐ */
        /* ↑↑↑↑↑↑ ここまで ↑↑↑↑↑↑ */
	}
    .hero-content {
        width: 90%;
    }
	.hero-title {
		font-size: 8.5vw;
		line-height: 1.4;
		word-break: keep-all;
		white-space: normal;
	}
    .hero-subtitle {
        font-size: 4vw;
    }
	.btn {
		padding: 12px 20px;
		font-size: 0.95rem; 
        white-space: nowrap;
	}
	

	/* --- 特徴セクション --- */
	.feature-grid {
		grid-template-columns: 1fr;
		gap: 25px;
	}


	/* --- テーブル --- */
	.schedule-table thead {
		display: none;
	}
	.schedule-table tr {
		display: block;
		margin-bottom: 20px;
		border: 1px solid #e0e0e0;
		border-radius: 8px;
		overflow: hidden;
	}
	.schedule-table td, .schedule-table th {
		display: block;
		width: 100%;
		text-align: center !important;
		border: none;
        padding: 12px;
	}
	.schedule-table tbody th {
		background-color: #f7f7f7;
		font-weight: bold;
		border-bottom: 1px solid #e0e0e0;
	}

    /* --- 参加者の声 --- */
    .testimonial-grid {
		grid-template-columns: 1fr;
	}
    .testimonial-card {
        padding: 25px;
        padding-top: 35px;
    }
}