﻿@charset "UTF-8";

/*--------------------------------------------------------------
	School Page Styles
	
	Table of Contents:
	1. 挨拶（Greeting）
	2. 特色（Features）
	3. 施設（Facilities）
	4. ニュース（News）
	5. 講師（Lecturers）
	6. 講座（Seminars）
	7. カタログ・フォーム（Catalog/Form）
	8. セミナーリスト（Seminar List）
	9. ユーティリティ（Utilities）
	10. Media Queries (SP)
-------------------------------------------------------------- */


/*--------------------------------------------------------------
	1. 挨拶（Greeting）
-------------------------------------------------------------- */
#btm_w {
	margin-top: 2em;
}

#greeting {
	width: 960px;
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

#greeting h1,
#greeting h2 {
	font-weight: bold;
	color: #ff4500;
	margin: 20px 0;
}

#greeting h1 {
	font-size: 1.8em;
}

#greeting h2 {
	font-size: 1.5em;
}

.marker-orange {
	display: inline-block;
	width: 10px;
	height: 1.25em;
	background-color: #ff8c00;
	margin-right: 0.75rem;
	border-radius: 2px;
	vertical-align: text-top;
}

#greeting article {
	width: 700px;
	padding-bottom: 2em;
	border-bottom: 2px dotted #ccc;
	border-top: 2px dotted #ccc;
}

#port {
	max-width: 150px;
	width: 100%;
	height: fit-content;
}

#pre_info {
	width: 700px;
	display: flex;
	gap: 2em;
	margin-bottom: 1em;
}

#greeting .contact-info {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 30px;
	padding: 20px;
	background: #f9f9f9;
	border-radius: 5px;
}

#greeting .contact-text p {
	margin: 5px 0;
}


/*--------------------------------------------------------------
	1-1. サイドメニュー（Side Menu）
-------------------------------------------------------------- */
#side_menu {
	width: 234px;
	order: 1;
}

#side_menu a:hover img {
	opacity: 0.6;
}

#list li {
	line-height: 3;
	border-bottom: 2px dotted #ccc;
}

#list .current {
	color: #ff8c00;
	font-weight: bold;
	pointer-events: none;
}

#ad li {
	margin-bottom: 1em;
}


/*--------------------------------------------------------------
	2. 特色（Features）
-------------------------------------------------------------- */
#tokushoku img {
	margin-right: 1em;
}

#tokushoku h2 {
	margin-top: 1.5em;
	margin-bottom: 0.5em;
}

#tokushoku p {
	line-height: 1.8;
}


/*--------------------------------------------------------------
	3. 施設（Facilities）
-------------------------------------------------------------- */
.room {
	width: 700px;
	padding-bottom: 1.5em;
	border-bottom: 2px dotted #ccc;
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 10px;
}

.room h2 {
	font-size: 1.2em;
	margin-bottom: 0.5em;
	width: 100%;
	order: -1;
}

.room>img:first-of-type {
	margin-right: 15px;
}

.room img {
	margin-right: 5px;
}


/*--------------------------------------------------------------
	4. ニュース（News）
-------------------------------------------------------------- */
.news {
	width: 960px;
	padding: 0;
}

.news td {
	padding: 10px;
	width: 230px;
	border: 1px solid #eee;
	color: #555;
}

.news td+td+td {
	width: 460px;
}

.news input {
	margin: 1em 0 0 0;
}

.huki {
	position: relative;
	padding-left: 20px;
	font-weight: bold;
	font-size: 22px;
	line-height: 38px;
}

.huki:before {
	content: '';
	height: 12px;
	width: 12px;
	display: block;
	background: #00A8FF;
	box-shadow: 0 0 5px rgba(255, 255, 255, 0.3) inset;
	position: absolute;
	top: 0;
	left: 5px;
	transform: rotate(-50deg);
}

.huki:after {
	content: '';
	height: 8px;
	width: 6px;
	display: block;
	background: #00A8FF;
	box-shadow: 0 0 5px rgba(255, 255, 255, 0.3) inset;
	position: absolute;
	top: 16px;
	left: 2px;
	transform: rotate(-90deg);
}


/*--------------------------------------------------------------
	5. 講師（Lecturers）
-------------------------------------------------------------- */
#lecture {
	width: 100%;
	max-width: 960px;
}

.lec-row {
	display: flex;
	gap: 20px;
	flex-wrap: wrap;
}

.lec-item {
	display: flex;
	gap: 15px;
	padding-bottom: 20px;
	width: calc(50% - 10px);
	flex-shrink: 0;
}

.lec-item img {
	width: 150px;
	height: 150px;
	object-fit: cover;
	flex-shrink: 0;
}

.lec-item .lec-bio {
	flex: 1;
}

.lec-item h3 {
	font-size: 1em;
	margin-bottom: 0.5em;
	color: #333;
	display: flex;
	align-items: center;
	border-bottom: 1px solid #ccc;
}

.lec-item .name-en {
	font-size: 0.85em;
	color: #666;
}

.lec-item .role {
	font-weight: bold;
	color: #ff4500;
	margin-bottom: 0.5em;
}

.lec-item p {
	font-size: 0.9em;
	line-height: 1.6;
}

#pagetop {
	position: fixed;
	bottom: 20px;
	right: 20px;
}

#pagetop a {
	display: block;
	padding: 10px 15px;
	background: #ff8c00;
	color: #fff;
	text-decoration: none;
	border-radius: 5px;
}


/*--------------------------------------------------------------
	6. 講座（Seminars）
-------------------------------------------------------------- */
#seminar {
	width: 700px;
}

#seminar article {
	line-height: 2;
	padding-top: 2em;
	margin-bottom: 1em;
}

#fee {
	width: 700px;
	border-collapse: separate;
	border-spacing: 0;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

#fee thead th {
	background: linear-gradient(135deg, #3353b2 0%, #4a6bc9 100%);
	color: #fff;
	font-weight: 600;
	padding: 16px 20px;
	text-align: center;
	font-size: 0.95em;
	letter-spacing: 0.5px;
}

#fee tbody tr {
	transition: all 0.2s ease;
}

#fee tbody tr:hover {
	background-color: #f8faff;
	transform: scale(1.005);
}

#fee td {
	padding: 16px 20px;
	border-bottom: 1px solid #ccc;
	color: #444;
	line-height: 1.6;
}


#fee tbody tr:nth-child(even) {
	background-color: #fafbfd;
}

#fee td input[type="button"] {
	background: linear-gradient(135deg, #ff9f40 0%, #ff8c00 100%);
	border: none;
	color: #fff;
	padding: 10px 24px;
	border-radius: 6px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.25s ease;
	box-shadow: 0 2px 8px rgba(255, 140, 0, 0.3);
}

#fee td input[type="button"]:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(255, 140, 0, 0.4);
}

.bg {
	background-color: #f0f4ff !important;
}

#seminar a:hover img {
	opacity: 0.6;
}

/* シューマスター紹介 */
.shoe-master-intro {
	display: flex;
	gap: 20px;
	margin: 20px 0;
	align-items: flex-start;
}

.shoe-master-intro img {
	flex-shrink: 0;
}

.shoe_master {
	flex: 1;
}

.shoe_master h3 {
	font-weight: bold;
	margin-bottom: 10px;
}

.shoe_master p {
	line-height: 1.8;
}

#master {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	margin-top: 20px;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

#master th {
	background: linear-gradient(135deg, #3353b2 0%, #4a6bc9 100%);
	color: #fff;
	font-weight: 600;
	font-size: 0.9em;
	padding: 14px 16px;
	text-align: center;
	letter-spacing: 0.3px;
}

#master tbody tr {
	transition: all 0.2s ease;
}

#master tbody tr:hover {
	background-color: #f8faff;
	transform: scale(1.002);
}

#master td {
	border-bottom: 1px solid #eef2f7;
	font-size: 0.9em;
	padding: 14px 16px;
	color: #444;
	line-height: 1.5;
}

#master tbody tr:last-child td {
	border-bottom: none;
}

#master tbody tr:nth-child(even) {
	background-color: #fafbfd;
}

#master td a {
	color: #3353b2;
	font-weight: 500;
	transition: color 0.2s ease;
}

#master td a:hover {
	color: #ff8c00;
}

/* 進路ページ */
.course-intro {
	display: flex;
	gap: 20px;
	margin-bottom: 20px;
}

.course-intro .course-text {
	flex: 1;
}

.course-intro img {
	flex-shrink: 0;
}

.course-charts {
	display: flex;
	gap: 20px;
	margin: 20px 0;
	flex-direction: column;
}

.course-charts img {
	flex: 1;
	max-width: 100%;
}

.voice-list {
	margin: 20px 0;
}

.voice-item {
	display: flex;
	gap: 20px;
	padding: 20px 0;
	border-bottom: 1px solid #ddd;
}

.voice-item img {
	width: 150px;
	height: 190px;
	object-fit: cover;
	flex-shrink: 0;
}

.voice-content {
	flex: 1;
}

.voice-content strong {
	display: block;
	margin-bottom: 10px;
	color: #333;
}

.voice-content p {
	line-height: 1.8;
}

.voice-name {
	margin-top: 10px;
	font-size: 0.9em;
	color: #666;
}


/*--------------------------------------------------------------
	7. カタログ・フォーム（Catalog/Form）
-------------------------------------------------------------- */
#catalog {
	max-width: 960px;
	margin: 0 auto;
	padding: 2em;
}

#catalog .page-header h1 {
	font-size: 1.5em;
	margin-bottom: 1em;
	border-bottom: 2px solid #ccc;
	padding-bottom: 0.5em;
}

#catalog .form-intro {
	margin-bottom: 2em;
	line-height: 1.8;
}

/* フォームグループ（2カラムレイアウト） */
.catalog-form .form-group {
	display: flex;
	gap: 1em;
	padding: 1em;
	border: 1px solid #ccc;
	background: ghostwhite;
	margin-bottom: -1px;
}

.catalog-form .form-group>label {
	min-width: 200px;
	font-weight: bold;
	display: flex;
	align-items: flex-start;
	gap: 5px;
	line-height: 2;
}

.catalog-form .form-input {
	flex: 1;
	line-height: 2;
}

.catalog-form .required {
	color: red;
	font-size: 0.9em;
	margin-left: 5px;
}

.catalog-form .note {
	color: red;
	font-size: 0.9em;
	margin-left: 5px;
}

/* ラジオボタン・チェックボックス */
.catalog-form .radio-label,
.catalog-form .checkbox-label {
	display: inline-block;
	margin-right: 1em;
	font-weight: normal;
	cursor: pointer;
}

.catalog-form .checkbox-group {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5em 1em;
}

/* 住所グループ */
.catalog-form .address-group .address-row {
	margin-bottom: 0.5em;
}

.catalog-form .address-group .address-label {
	display: inline-block;
	min-width: 80px;
}

/* 入力要素 */
.catalog-form input[type="text"],
.catalog-form input[type="email"],
.catalog-form input[type="tel"],
.catalog-form select,
.catalog-form textarea {
	padding: 8px;
	border: 1px solid #ccc;
	border-radius: 4px;
	font-size: 1em;
}

.catalog-form select {
	height: 40px;
	width: 100%;
}

.catalog-form textarea {
	width: 100%;
	max-width: 400px;
}

/* 送信ボタン */
.catalog-form .form-submit {
	text-align: center;
	padding: 2em;
	border: 1px solid #ccc;
	background: ghostwhite;
}

#catalog #submit {
	background: linear-gradient(to bottom, #7fdbff, #00a8ff);
	color: #fff;
	font-size: 1.2em;
	font-weight: bold;
	height: 70px;
	width: 200px;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
	transition: all 0.2s;
}

#catalog #submit:hover {
	background: linear-gradient(to bottom, #00a8ff, #0077cc);
	transform: translateY(-2px);
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}


/*--------------------------------------------------------------
	8. セミナーリスト（Seminar List）
-------------------------------------------------------------- */
.seminar-list.news {
	width: 960px;
	margin-top: 20px;
}

.seminar-item {
	width: 100%;
	display: flex;
	gap: 20px;
	margin-bottom: 1em;
	padding: 1em 0;
}

.seminar-image {
	width: 230px;
	flex-shrink: 0;
}

.seminar-content {
	flex: 1;
}

.seminar-image h3 {
	font-size: 1.2em;
	margin-bottom: 0.5em;
	border-bottom: none;
}

.seminar-date {
	font-weight: bold;
	margin-bottom: 0.5em;
}

.seminar-status {
	margin-bottom: 1em;
}

.seminar-content button {
	padding: 8px 30px;
	background: linear-gradient(to bottom, #ff9f40, #ff8c00);
	border: 1px solid #e67e00;
	color: #fff;
	font-weight: bold;
	cursor: pointer;
	border-radius: 4px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
	transition: all 0.2s;
}

.seminar-content button:hover {
	background: linear-gradient(to bottom, #e67e00, #ff8c00);
	transform: translateY(-1px);
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.seminar-action {
	margin-top: 1.5em;
	text-align: right;
}

.seminar-details {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 5px 15px;
	font-size: 0.95em;
}

.seminar-details dt {
	font-weight: bold;
	color: #555;
	min-width: 60px;
}

.seminar-details dd {
	margin: 0;
}


/*--------------------------------------------------------------
	9. ユーティリティ（Utilities）
-------------------------------------------------------------- */
.page-nav {
	text-align: right;
	margin: 2em 0;
}

.blog-link {
	text-align: right;
	margin: 1em 0;
}


/*--------------------------------------------------------------
	10. Media Queries (SP)
-------------------------------------------------------------- */
@media screen and (max-width: 959px) {
	#btm_w {
		margin-top: 0;
	}

	/* 挨拶 */
	#greeting {
		width: 100%;
		padding: 0 15px;
		box-sizing: border-box;
		flex-direction: column;
	}

	#greeting h1 {
		font-size: 1.5em;
		margin: 10px 0;
	}

	#greeting h2 {
		font-size: 1.2em;
		margin: 10px 0;
	}

	#greeting article {
		width: 100%;
		padding: 10px 0;
		margin-bottom: 10px;
	}

	#greeting main img {
		max-width: 100%;
		height: auto;
	}

	#port {
		text-align: center;
		margin: 0 0 0.5em 0;
	}

	#port img {
		max-width: 200px;
	}

	#pre_info {
		width: 100%;
		height: auto;
		flex-direction: column;
		gap: 1em;
		padding-bottom: 1em;
	}

	#pre_info #port {
		max-width: 150px;
		height: auto;
		margin: 0 auto;
	}

	/* 連絡先: 縦並び */
	#greeting .contact-info {
		flex-direction: column;
		gap: 15px;
		text-align: center;
	}

	/* サイドメニュー: 下に配置 */
	#side_menu {
		width: 100%;
		order: 2;
		margin-top: 20px;
	}

	#ad {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		gap: 10px;
	}

	#ad li {
		margin-bottom: 0;
	}

	#ad li img {
		width: 100%;
		height: auto;
	}

	/* 特色 */
	#tokushoku {
		width: 100%;
	}

	#tokushoku img {
		max-width: 100%;
		height: auto;
		margin: 0 0 1em 0;
		float: none;
		display: block;
	}

	#tokushoku h2 {
		font-size: 1.2em;
		margin-top: 1em;
	}

	#tokushoku p {
		line-height: 1.6;
	}

	.about_images {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		gap: 10px;
	}

	.about_images img {
		margin: 0;
	}

	/* 施設 */
	.room {
		width: 100%;
		border-bottom: none;
		/* 下線の重複調整（任意） */
	}

	.room img {
		width: calc(50% - 5px);
		height: auto;
		margin-right: 0;
		margin-bottom: 0;
	}

	.room>img:first-of-type {
		margin-right: 0;
	}

	/* アクセス */
	#greeting iframe {
		width: 100%;
		height: 300px;
		/* SPでの地図の高さ */
	}

	/* ネットワークなど汎用画像調整 */
	#greeting article img {
		max-width: 100%;
		height: auto;
	}

	/* ニュース */
	.news {
		width: 100%;
	}

	.news td {
		display: block;
		width: 100%;
	}

	/* 講師 */
	.lec-row {
		flex-direction: row;
		flex-wrap: wrap;
		gap: 10px;
	}

	.lec-item {
		width: calc(50% - 5px);
		flex-direction: column;
		align-items: center;
		text-align: center;
		margin-bottom: 20px;
	}

	.lec-item img {
		width: 120px;
		height: 120px;
		object-fit: cover;
		margin-bottom: 10px;
	}

	/* 講座 */
	#seminar,
	#fee {
		width: 100%;
	}

	#fee th,
	#fee td {
		display: block;
		width: 100%;
		box-sizing: border-box;
	}

	#fee td {
		display: flex;
		justify-content: space-between;
		align-items: center;
		flex-wrap: wrap;
		gap: 10px;
	}

	#fee.schedule td {
		justify-content: flex-start;
	}

	#fee tbody tr {
		border-bottom: 2px solid #ccc;
		display: block;
	}

	#fee thead {
		display: none;
	}

	.shoe-master-intro {
		flex-direction: column;
		align-items: center;
	}

	.course-intro {
		flex-direction: column;
	}

	.voice-item {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}

	.voice-item img {
		width: 120px;
		height: 150px;
	}

	/* リンク集（シューマスターのお店） */
	#master {
		width: 100%;
		display: block;
	}

	#master thead {
		display: none;
	}

	#master tbody,
	#master tr,
	#master td {
		display: block;
		width: 100%;
	}

	#master tr {
		border-bottom: 2px solid #ccc;
		padding: 10px 0;
		margin-bottom: 10px;
	}

	#master td {
		padding: 5px 10px;
		border: none;
	}

	#master td:first-child {
		font-weight: bold;
		font-size: 1.1em;
	}

	/* 進路 チャート画像 */
	.course-charts {
		flex-direction: column;
		gap: 15px;
	}

	.course-charts img {
		width: 100%;
	}

	/* カタログ・申込フォーム */
	#catalog {
		width: 100%;
		padding: 15px;
		box-sizing: border-box;
	}

	#catalog .page-header h1 {
		font-size: 1.3em;
	}

	#catalog .form-intro {
		font-size: 0.9em;
		line-height: 1.7;
	}

	.catalog-form .form-group {
		flex-direction: column;
		gap: 8px;
		padding: 12px;
	}

	.catalog-form .form-group>label {
		min-width: auto;
		font-size: 0.95em;
		margin-bottom: 5px;
	}

	.catalog-form .form-input {
		width: 100%;
	}

	/* 入力要素のサイズ調整 */
	.catalog-form input[type="text"],
	.catalog-form input[type="email"],
	.catalog-form input[type="tel"],
	.catalog-form select {
		width: 100%;
		max-width: 100%;
		box-sizing: border-box;
		font-size: 16px;
		/* iOSズーム防止 */
		padding: 12px;
		border-radius: 8px;
	}

	.catalog-form select {
		height: auto;
		padding: 12px;
	}

	.catalog-form textarea {
		width: 100%;
		max-width: 100%;
		box-sizing: border-box;
		font-size: 16px;
		padding: 12px;
		border-radius: 8px;
	}

	/* チェックボックス・ラジオボタンのタップしやすさ向上 */
	.catalog-form .checkbox-group {
		gap: 8px 12px;
	}

	.catalog-form .checkbox-label,
	.catalog-form .radio-label {
		padding: 8px 12px;
		background: #f8f9fa;
		border-radius: 6px;
		font-size: 0.9em;
	}

	/* 住所入力 */
	.catalog-form .address-group .address-row {
		display: flex;
		flex-direction: column;
		gap: 5px;
	}

	.catalog-form .address-group .address-label {
		min-width: auto;
		font-size: 0.85em;
		color: #666;
	}

	.catalog-form .address-group input[type="text"] {
		width: 100%;
	}

	/* 送信ボタン */
	.catalog-form .form-submit {
		padding: 20px 15px;
	}

	#catalog #submit {
		width: 100%;
		max-width: 280px;
		height: 60px;
		font-size: 1.1em;
	}

	/* セミナーリスト */
	.seminar-list.news {
		width: 100%;
	}

	.seminar-item {
		flex-direction: column;
		border-bottom: 0 !important;
	}

	.seminar-image {
		width: 100%;
	}

	.seminar-image img {
		width: 100%;
		height: auto;
	}

	.seminar-details {
		grid-template-columns: 100%;
	}

	.seminar-action {
		text-align: center;
	}

	.mail-icon {
		width: 24px;
		height: auto;
		vertical-align: middle;
	}

	.pc-br {
		display: none;
	}

	/* ページトップ: SP時は下部CTAに重ならないよう調整 */
	#pagetop {
		bottom: 70px;
	}
}