@charset "UTF-8";

/**
 * 育成プログラムLP（page-training.php）
 */

/* 共通
	 ========================================================================== */

.tlp {
	color: #333;
	line-height: 1.8;
	word-break: normal;
	overflow-wrap: anywhere;
}

.tlp-inner {
	max-width: 960px;
	margin: 0 auto;
}

/* コース紹介以降のセクションは左右に余白 */
.tlp-course .tlp-inner,
.tlp-teacher .tlp-inner,
.tlp-contact .tlp-inner {
	padding: 0 20px;
}

.tlp-pc {
	display: none;
}

/* SPのみ改行 */
.tlp-sp {
	display: inline;
}

.tlp img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* 画像未配置時のダミー枠 */
.tlp-noimage {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	min-height: 200px;
	background: repeating-linear-gradient(45deg, #f6e3ea, #f6e3ea 10px, #fbeff3 10px, #fbeff3 20px);
	color: #b07a8c;
	font-size: 13px;
}

.tlp-btn {
	display: block;
	padding: 18px 20px;
	border-radius: 10px;
	background: #c2386f;
	color: #fff;
	font-size: 17px;
	font-weight: bold;
	text-align: center;
	text-decoration: none;
	transition: opacity .2s;
}

/* テーマ側のa:visited/hover/focus（下線・灰色）を打ち消す */
.tlp .tlp-btn,
.tlp .tlp-btn:visited,
.tlp .tlp-btn:hover,
.tlp .tlp-btn:focus,
.tlp .tlp-btn:active {
	color: #fff;
	text-decoration: none;
}

.tlp .tlp-btn:hover {
	opacity: .8;
}

.tlp-btn-line {
	background: #06c755;
}

/* セクション共通 */
.tlp-section {
	padding: 64px 0;
}

.tlp-section-en {
	margin: 0 0 4px;
	color: #a8607a;
	font-size: 13px;
	letter-spacing: .15em;
	text-align: center;
}

.tlp-section-title {
	margin: 0 0 40px;
	font-size: 24px;
	font-weight: bold;
	line-height: 1.5;
	text-align: center;
}

/* メインビジュアル
	 ========================================================================== */

.tlp-hero {
	padding: 24px 0 40px;
}

.tlp-hero .tlp-inner {
	padding: 40px 28px;
	border-radius: 24px;
	background: linear-gradient(180deg, #fdeef3 0%, #fdf6f8 100%);
}

.tlp-hero-en {
	margin: 0 0 12px;
	color: #a8607a;
	font-size: 14px;
	letter-spacing: .05em;
}

.tlp-hero-title {
	margin: 0 0 16px;
	color: #222;
	font-size: 30px;
	font-weight: bold;
	line-height: 1.45;
}

.tlp-hero-catch {
	margin: 0 0 16px;
	color: #c2386f;
	font-size: 21px;
	font-weight: bold;
	line-height: 1.6;
}

.tlp-hero-text {
	margin: 0 0 24px;
	font-size: 16px;
}

.tlp-hero-image {
	overflow: hidden;
	margin: 0 0 24px;
	border-radius: 16px;
	aspect-ratio: 16 / 9;
}

/* 魅力と導入メリット
	 ========================================================================== */

.tlp-merit-list {
	display: grid;
	grid-template-columns: 1fr;
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.tlp-merit-item {
	padding: 24px;
	border: 1px solid #f1d6df;
	border-radius: 16px;
	background: #fff;
}

.tlp-merit-no {
	display: inline-block;
	margin: 0 0 8px;
	color: #c2386f;
	font-size: 22px;
	font-weight: bold;
	line-height: 1;
}

.tlp-merit-title {
	margin: 0 0 8px;
	font-size: 17px;
	font-weight: bold;
}

.tlp-merit-text {
	margin: 0;
	font-size: 14px;
}

/* 施術時間の比較
	 ========================================================================== */

/* メインビジュアル直下のため上の余白を詰める */
.tlp-compare {
	padding-top: 24px;
	padding-bottom: 0;
}

.tlp-compare-image {
	max-width: 840px;
	margin: 0 auto;
}

/* 図は切り抜かず全体を表示 */
.tlp .tlp-compare-image img {
	height: auto;
	object-fit: contain;
}

/* コース紹介
	 ========================================================================== */

/* 背景色を画面幅いっぱいに（.site-contentの左右マージンを打ち消す） */
.tlp-course,
.tlp-contact {
	margin: 0 -5vw;
	padding-right: 5vw;
	padding-left: 5vw;
}

.tlp-course {
	background: #fdf6f8;
}

.tlp-course-item {
	display: grid;
	grid-template-columns: 34% 1fr;
	align-items: start;
	gap: 0 20px;
	padding: 32px 0;
	border-bottom: 1px solid #e5e5e5;
}

.tlp-course-item:first-of-type {
	padding-top: 0;
}

.tlp-course-item:last-child {
	border-bottom: none;
}

.tlp-course-image {
	grid-row: 1 / 3;
	overflow: hidden;
	border-radius: 16px;
	aspect-ratio: 3 / 4;
}

/* 仕様表は本文の下（PCは右カラム、SPは全幅） */
.tlp-course-spec {
	grid-column: 2;
}

.tlp-course-title {
	margin: 0 0 8px;
	font-size: 22px;
	font-weight: bold;
	line-height: 1.4;
}

.tlp-course-no {
	margin-right: .6em;
}

.tlp-tag {
	display: inline-block;
	margin: 0 0 12px;
	padding: 2px 14px;
	border-radius: 999px;
	font-size: 14px;
}

.tlp-tag-green {
	background: #e3f4e6;
	color: #3c8c4c;
}

.tlp-tag-purple {
	background: #ece5f8;
	color: #6a4bb0;
}

.tlp-course-lead {
	margin: 0 0 12px;
	font-size: 16px;
}

.tlp-course-points {
	margin: 0 0 16px;
	padding-left: 1.4em;
	font-size: 15px;
}

.tlp-course-spec,
.tlp-teacher-spec {
	display: grid;
	grid-template-columns: 6em 1fr;
	margin: 0;
	border-top: 1px solid #f1d6df;
	font-size: 14px;
}

.tlp-course-spec dt,
.tlp-course-spec dd,
.tlp-teacher-spec dt,
.tlp-teacher-spec dd {
	margin: 0;
	padding: 10px 0;
	border-bottom: 1px solid #f1d6df;
}

.tlp-course-spec dt,
.tlp-teacher-spec dt {
	color: #a8607a;
	font-weight: bold;
}

/* 「モデル1人追加」が収まるようコースの項目名列を広げる */
.tlp-course-spec {
	grid-template-columns: 7em 1fr;
}

/* 講師紹介
	 ========================================================================== */

.tlp-teacher-card {
	display: flex;
	gap: 32px;
	padding: 32px;
	border-radius: 24px;
	background: #fff;
	box-shadow: 0 4px 20px rgba(194, 56, 111, .08);
}

.tlp-teacher-image {
	flex: 0 0 240px;
	align-self: flex-start;
	overflow: hidden;
	border-radius: 25%;
}

/* 写真は切り抜かず元の縦横比のまま全体を表示 */
.tlp-teacher-image img {
	height: auto;
}

.tlp-teacher-image .tlp-noimage {
	min-height: 0;
}

.tlp-teacher-body {
	flex: 1;
}

.tlp-teacher-role {
	margin: 0 0 4px;
	color: #c2386f;
	font-size: 13px;
	font-weight: bold;
}

.tlp-teacher-name {
	margin: 0 0 16px;
	font-size: 22px;
	font-weight: bold;
}

/* 講師の項目名は長いため列幅を広げる */
.tlp-teacher-spec {
	grid-template-columns: 12em 1fr;
}

/* 講師紹介の最後の項目は下線なし */
.tlp-teacher-spec dd:last-child {
	border-bottom: none;
}

/* 見出し無しの補足文（得意な技術の続き）は右列に配置 */
.tlp-teacher-spec .tlp-teacher-message {
	grid-column: 2;
}

/* Instagramリンクは単独行で中央寄せ */
.tlp-insta-wrap {
	display: block;
	margin-top: 8px;
	text-align: center;
}

/* Instagramリンク */
.tlp .tlp-insta,
.tlp .tlp-insta:visited {
	color: #c2386f;
	text-decoration: underline;
}

.tlp-teacher-name span {
	display: inline-block;
	margin-left: 12px;
	color: #999;
	font-size: 13px;
	font-weight: normal;
}

/* お問い合わせ・お申し込み
	 ========================================================================== */

.tlp-contact {
	margin-bottom: -40px;
	background: #fdeef3;
}

@media screen and (min-width: 87.5em) {
	.tlp-course,
	.tlp-contact {
		margin-right: calc(640px - 50vw);
		margin-left: calc(640px - 50vw);
		padding-right: calc(50vw - 640px);
		padding-left: calc(50vw - 640px);
	}
}

.tlp-contact-text {
	margin: 0 0 32px;
	text-align: center;
}

.tlp-contact-btns {
	display: flex;
	gap: 16px;
	max-width: 720px;
	margin: 0 auto 40px;
}

.tlp-contact-btns .tlp-btn {
	flex: 1;
}

/* お問い合わせフォーム */
.tlp-form-wrap {
	max-width: 720px;
	margin: 0 auto 40px;
	padding: 32px;
	border-radius: 24px;
	background: #fff;
	box-shadow: 0 4px 20px rgba(194, 56, 111, .08);
}

/* ページ内リンクの着地点（右上のMENUに重ならないよう80px上にずらす） */
.tlp-anchor {
	display: block;
	position: relative;
	top: -80px;
}

.tlp-form {
	margin: 0;
}

.tlp-form-row {
	display: grid;
	grid-template-columns: 11em 1fr;
	gap: 8px 16px;
	padding: 14px 0;
	border-bottom: 1px solid #f1d6df;
}

.tlp-form-label {
	padding-top: 10px;
	color: #a8607a;
	font-size: 14px;
	font-weight: bold;
}

.tlp-form-req {
	display: inline-block;
	margin-left: 6px;
	padding: 0 6px;
	border-radius: 4px;
	background: #c2386f;
	color: #fff;
	font-size: 11px;
	line-height: 1.8;
	vertical-align: 1px;
}

.tlp-form input[type="text"],
.tlp-form input[type="email"],
.tlp-form input[type="tel"],
.tlp-form select,
.tlp-form textarea {
	box-sizing: border-box;
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #e3c4cf;
	border-radius: 8px;
	background-color: #fff;
	color: #333;
	font-family: inherit;
	font-size: 16px;
}

/* セレクトはテーマの矢印画像を残し、右側に矢印分の余白 */
.tlp-form select {
	padding-right: 2.86em;
}

.tlp-form input:focus,
.tlp-form select:focus,
.tlp-form textarea:focus {
	border-color: #c2386f;
	outline: none;
	box-shadow: 0 0 0 3px rgba(194, 56, 111, .2);
}

.tlp-form input[type="checkbox"]:focus {
	box-shadow: none;
}

.tlp-form input[type="checkbox"]:focus-visible {
	outline: 2px solid #c2386f;
	outline-offset: 2px;
}

/* テーマの textarea { height: 5em } を解除し rows を有効に */
.tlp-form textarea {
	height: auto;
	resize: vertical;
}

.tlp-form-error {
	margin: 6px 0 0;
	color: #d0021b;
	font-size: 13px;
}

.tlp-form-alert {
	margin: 0 0 8px;
	padding: 12px 16px;
	border-radius: 8px;
	background: #fdecee;
	color: #d0021b;
	font-size: 14px;
}

.tlp-form-agree {
	margin: 24px 0;
	font-size: 13px;
	text-align: center;
}

.tlp-form-agree p {
	margin: 0 0 12px;
	text-align: left;
}

.tlp-form-agree label {
	font-size: 15px;
	cursor: pointer;
}

.tlp-form-agree input {
	margin-right: 6px;
}

.tlp .tlp-form-submit {
	width: 100%;
	max-width: 360px;
	margin: 0 auto;
	border: none;
	font-family: inherit;
	line-height: inherit;
	cursor: pointer;
}

/* ハニーポット（ボット対策の罠項目）は画面外へ */
.tlp-form-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* 送信完了メッセージ */
.tlp-form-done {
	text-align: center;
}

.tlp-form-done p:last-child {
	margin-bottom: 0;
}

.tlp-form-done-title {
	margin: 0 0 12px;
	color: #c2386f;
	font-size: 18px;
	font-weight: bold;
}

/* PC
	 ========================================================================== */

@media screen and (min-width: 768px) {
	.tlp-pc {
		display: inline;
	}

	.tlp-sp {
		display: none;
	}

	.tlp-hero .tlp-inner {
		padding: 56px 56px;
	}

	.tlp-hero-title {
		font-size: 42px;
	}

	.tlp-hero-catch {
		font-size: 26px;
	}

	.tlp-hero .tlp-btn {
		max-width: 480px;
		margin: 0 auto;
	}

	.tlp-merit-list {
		grid-template-columns: 1fr 1fr;
		gap: 24px;
	}

	.tlp-section-title {
		font-size: 28px;
	}
}

/* 料金下の交通費の注記 */
/* 交通費の注記は表の最後に、左端から横幅いっぱいで配置（上下とも線なし） */
.tlp-course-spec .tlp-course-note {
	grid-column: 1 / -1;
	border-bottom: none;
	font-size: 12px;
	line-height: 1.6;
}

/* 注記の直前の行（項目名・内容）は下線なしにして、注記と続けて表示 */
.tlp-course-spec > :nth-last-child(2),
.tlp-course-spec > :nth-last-child(3) {
	border-bottom: none;
}

/* アコーディオン（コース紹介・講師紹介）
	 ========================================================================== */

.tlp-acc {
	border-bottom: 1px solid #e5e5e5;
}

.tlp-acc-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 20px 0;
	cursor: pointer;
	list-style: none;
}

.tlp-acc-head::-webkit-details-marker {
	display: none;
}

.tlp-acc-head .tlp-course-title {
	margin: 0;
}

.tlp-acc-sub {
	display: block;
	margin-top: 4px;
	color: #a8607a;
	font-size: 13px;
	font-weight: normal;
}

/* 開閉アイコン（＋／－） */
.tlp-acc-head::after {
	content: "";
	flex: 0 0 auto;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background:
		linear-gradient(#fff, #fff) center / 12px 2px no-repeat,
		linear-gradient(#fff, #fff) center / 2px 12px no-repeat,
		#c2386f;
}

.tlp-acc[open] > .tlp-acc-head::after {
	background:
		linear-gradient(#fff, #fff) center / 12px 2px no-repeat,
		#c2386f;
}

.tlp .tlp-acc .tlp-course-item {
	padding: 0 0 28px;
	border-bottom: none;
}

.tlp-acc .tlp-teacher-card {
	margin-bottom: 28px;
}

/* 比較図の上下の余白をなくす */
.tlp .tlp-hero {
	padding-bottom: 16px;
}

.tlp .tlp-section.tlp-compare {
	padding: 0;
}

.tlp .tlp-compare + .tlp-merit {
	padding-top: 24px;
}

/* SP
	 ========================================================================== */

@media screen and (max-width: 767px) {
	/* 講師紹介はカード内にも余白があるため、スマホでは外側の余白を外す */
	.tlp-teacher .tlp-inner {
		padding: 0;
	}

	.tlp-section {
		padding: 48px 0;
	}

	.tlp-hero .tlp-inner {
		margin: 0;
		padding: 32px 20px;
	}

	.tlp-hero-title {
		font-size: 26px;
	}

	.tlp-hero .tlp-btn {
		padding: 16px 12px;
		font-size: 15px;
	}

	.tlp-course-item {
		grid-template-columns: 30% 1fr;
		gap: 0 14px;
	}

	.tlp-course-image {
		grid-row: auto;
	}

	.tlp-course-title {
		font-size: 19px;
	}

	.tlp-course-spec {
		grid-column: 1 / -1;
		grid-template-columns: 7em 1fr;
		margin-top: 4px;
		font-size: 13px;
	}

	.tlp-teacher-card {
		flex-direction: column;
		align-items: center;
		gap: 20px;
		padding: 24px 20px;
	}

	.tlp-teacher-image {
		flex: none;
		align-self: center;
		width: 240px;
	}

	.tlp-teacher-body {
		width: 100%;
	}

	.tlp-teacher-spec {
		grid-template-columns: 1fr;
	}

	.tlp-teacher-spec dt {
		padding-bottom: 0;
		border-bottom: none;
	}

	.tlp-teacher-spec dd {
		padding-top: 4px;
	}

	.tlp-teacher-spec .tlp-teacher-message {
		grid-column: auto;
		padding-top: 10px;
	}

	.tlp-contact-btns {
		flex-direction: column;
	}

	.tlp-form-wrap {
		padding: 24px 20px;
	}

	.tlp-form-row {
		grid-template-columns: 1fr;
		gap: 6px;
	}

	.tlp-form-label {
		padding-top: 0;
	}
}
