/*
Theme Name: theme-wings
Author: s-gate
Version: 1.0

*/

/* css 読み込み */
@import url("assets/css/style.css");

html {
	-webkit-text-size-adjust: 100%;
}

/* ニュース　スマホフォント調整 */
@media screen and (max-width: 640px){
	.news__detail-content p {
		font-size: 1.3em;
		line-height: 1.8;
	}
	.news__detail-content h2,
	.news__detail-content h3,
	.news__detail-content h4,
	.news__detail-content h5{
		line-height: 1.8;
	}
	.news__detail-content h2 {
		font-size: 1.8em;		
	}
	.news__detail-content h3 {
		font-size: 1.6em;
	}
	.news__detail-content h4 {
		font-size: 1.4em;
	}
	.news__detail-content h5 {
		font-size: 1.3em;
	}
	.news__detail-content #ez-toc-container ul li{
		font-size: 14px;
	}
}
/* 講師プロフィールに動画挿入 */
.page .teacher__box01-txt .dougaprf{
	position: relative;
	padding-top: 56.25%;
}
.page .teacher__box01-txt .dougaprf iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* フローティングボタン：初回非表示、スクロールで表示 */
.floating {
	display: none;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity .4s, visibility .4s;
}
.floating.scroll {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}
@media screen and (min-width: 641px) {
	.floating {
		display: block;
		width: 120px;
		position: fixed;
		z-index: 999;
		bottom: 10px;
		right: 10px;
		border-radius: 50%;
	}
	.floating a {
		display: block;
	}
}
@media screen and (max-width: 640px) {
	.floating {
		display: block;
		width: 120px;
		position: fixed;
		z-index: 999;
		bottom: 10px;
		right: 10px;
		border-radius: 50%;
	}
	.floating a {
		display: block;
	}
}
.news__list .meta {
	white-space: nowrap;
}
.news__list .cat {
	border: 1px solid #C2BCBA;
	font-size: 0.75rem;
	align-self: center;
	margin-right: 15px;
	display: inline-block;
	text-align: center;
	width: 4rem;
}






/* 2024/10/8 */

iframe {
	max-width: 100%;
}

.page__blog {
	max-width: 1188px;
	padding: 2rem 1.5rem 0;
	margin: 0 auto;
	display: flex;
	align-items: flex-start;
	flex-wrap: wrap;
	gap: 0 3rem;
}
.page__blog .news__side {
	width: 250px;
	position: -webkit-sticky;
	position: sticky;
	top: 120px;
}
.page__blog .news__detail .meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.25rem 1rem;
	font-size: 0.875rem;
	margin-block: 1rem;
}
.page__blog .news__detail .meta .news__detail-date {
	border: none;
	padding: 0;
}
.page__blog .news__detail .cat {
	display: flex;
	gap: 0.5rem;
}
.page__blog .news__detail .cat a {
	padding: 0em 0.5em;
	border: 1px solid #C2BCBA;
	color: inherit;
	text-decoration: none;
}
.page__blog .news__detail .tag {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 0.5rem;
}
.page__blog .news__detail .tag a {
	color: inherit;
	text-decoration: none;
}
.page__blog .blog__thumb {
	width: 100%;
	margin-top: 1.5rem;
}
.page__blog .blog__thumb img {
	width: 100%;
}
.page__blog .news__sort {
	padding-block: 20px;
}
.page__blog .news__sort h3 {
	margin-bottom: 1rem;
}
.page__blog .news__sort li {
	line-height: 1;
}
.page__blog .news__sort li + li {
	margin-top: 0.5rem;
}
@media (max-width: 1024px) {
	.page__blog {
		gap: 0 1.5rem;
	}
	.page__blog .news__side {
		flex: 1 0 100%;
	}
}
@media (max-width: 1024px) {
	.page__blog .news__side {
		margin-top: 2rem;
	}
}

@media (max-width: 768px) {
	.page__blog {
		flex-direction: column;
	}
	.page__blog .news__detail,
	.page__blog .news__side {
		flex: none;
		width: 100%;
	}

}

.blog__list {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem;
}
.blog__list li {
	width: calc(33.3333333333% - 1rem);
	display: flex;
}
.blog__list li a {
	width: 100%;
	display: flex;
	flex-direction: column;
	flex: 1;
	font-size: 1.5rem;
	line-height: 1.7;
	box-shadow: 0px 0px 29.9348678589px 0px rgba(107, 128, 183, 0.25);
}
.blog__list li a .img {
	position: relative;
	width: 100%;
}
.blog__list li a .img::before {
	content: "";
	display: block;
	width: 100%;
	padding-top: 66.66666%;
}
.blog__list li a .img:empty {
	background: #c6c6c6;
}
.blog__list li a .img img {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	-o-object-fit: cover;
	object-fit: cover;
}
.blog__list li a .body {
	padding: 1rem;
	flex: 1;
}
.blog__list li a .title {
	margin-top: 0.5rem;
	font-size: 0.875rem;
}
.blog__list li a .text {
	margin-top: 0.5rem;
	font-size: 0.75rem;
	overflow: hidden;
	display: -webkit-box;
	text-overflow: ellipsis;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}
.blog__list li a .meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.25rem 1rem;
	font-size: 0.75rem;
}
.blog__list li a .cat {
	padding: 0em 0.5em;
	border: 1px solid #C2BCBA;
}
@media (max-width: 1024px) {
	.blog__list li {
		width: calc(50% - 0.75rem);
	}
}
@media (max-width: 768px) {
	.blog__list li a .meta {
		gap: 0.25rem 0.5rem;
	}
}
@media (max-width: 640px) {
	.blog__list li {
		width: 100%;
	}
}

.blog__relation {
	margin-top: 6rem;
}
.blog__relation .blog__list li {
	width: calc(25% - 1.125rem);
}
.blog__relation .blog__list li a {
	color: inherit;
	text-decoration: none;
}
.blog__relation .blog__list li a .title {
	margin: 0;
}
@media (max-width: 768px) {
	.blog__relation {
		margin-top: 3rem;
	}
	.blog__relation .blog__list li {
		width: calc(50% - 0.75rem);
	}
}
@media (max-width: 640px) {
	.blog__relation .blog__list {
		gap: 0.5rem;
	}
	.blog__relation .blog__list li {
		width: calc(50% - 0.25rem);
	}
	.blog__relation .blog__list li a .body {
		padding: 0.5rem;
	}
	.blog__relation .blog__list li a .title {
		font-size: 0.8125rem;
	}
}

.news__search-form {
	display: flex;
	justify-content: space-between;
	align-items: center;
	overflow: hidden;
	border: 1px solid #777777;
	border-radius: 3px;
}
.news__search-form input {
	width: 100%;
	height: 45px;
	padding: 5px 15px;
	border: none;
	box-sizing: border-box;
	font-size: 16px;
	outline: none;
}
.news__search-form input::-moz-placeholder {
	color: #8e8e8e;
}
.news__search-form input::placeholder {
	color: #8e8e8e;
}
.news__search-form button {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 50px;
	height: 45px;
	border: none;
	background-color: transparent;
	cursor: pointer;
}
.news__search-form button::after {
	width: 24px;
	height: 24px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18.031 16.6168L22.3137 20.8995L20.8995 22.3137L16.6168 18.031C15.0769 19.263 13.124 20 11 20C6.032 20 2 15.968 2 11C2 6.032 6.032 2 11 2C15.968 2 20 6.032 20 11C20 13.124 19.263 15.0769 18.031 16.6168ZM16.0247 15.8748C17.2475 14.6146 18 12.8956 18 11C18 7.1325 14.8675 4 11 4C7.1325 4 4 7.1325 4 11C4 14.8675 7.1325 18 11 18C12.8956 18 14.6146 17.2475 15.8748 16.0247L16.0247 15.8748Z' fill='%23777777'%3E%3C/path%3E%3C/svg%3E");
	background-repeat: no-repeat;
	content: "";
}

.news__sort--blog {
	padding-block: 20px;
}
.news__sort--blog ul {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}
.news__sort--blog ul li a {
	display: flex;
	align-items: center;
	gap: 1rem;
	transition: 0.3s;
}
.news__sort--blog ul li a .img {
	position: relative;
	max-width: 40%;
	width: 8rem;
	overflow: hidden;
}
.news__sort--blog ul li a .img::before {
	content: "";
	display: block;
	width: 100%;
	padding-top: 66.6666%;
}
.news__sort--blog ul li a .img img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	-o-object-fit: cover;
	object-fit: cover;
}
.news__sort--blog ul li a .body {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}
.news__sort--blog ul li a .meta {
	line-height: normal;
	font-weight: 400;
}
.news__sort--blog ul li a .title {
	font-size: 0.875rem;
	font-weight: 400;
	line-height: 1.5;
	overflow: hidden;
	display: -webkit-box;
	text-overflow: ellipsis;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}
@media (max-width: 1024px) {
	.news__sort--blog ul li a .img {
		width: 35%;
	}
}
.news__sort--tag {
	padding-block: 20px;
}
.news__sort--tag ul {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5em 1em;
	padding: 0;
}
.news__sort--tag ul li {
	font-size: 14px;
	line-height: 1.25 !important;
	margin: 0 !important;
}

.pn-links {
	display: flex;
	align-items: stretch;
	justify-content: space-between;
	margin-top: 3rem;
}
@media (max-width: 640px) {
	.pn-links {
		flex-direction: column;
	}
}
.pn-links__item {
	position: relative;
	width: 49%;
}
.pn-links__item.-prev .pn-links__link {
	padding-left: 1.5em;
}
.pn-links__item.-prev .pn-links__link::before {
	position: absolute;
	content: "";
	width: 6px;
	height: 6px;
	border-bottom: 1px solid;
	border-left: 1px solid;
	top: 50%;
	left: 12px;
	transform: translate(-50%, -50%) rotate(45deg);
}
.pn-links__item.-next .pn-links__link {
	padding-right: 1.5em;
}
.pn-links__item.-next .pn-links__link::before {
	position: absolute;
	content: "";
	width: 6px;
	height: 6px;
	border-top: 1px solid;
	border-right: 1px solid;
	top: 50%;
	right: 12px;
	transform: translate(50%, -50%) rotate(45deg);
}
.pn-links__item a {
	position: relative;
	display: flex;
	align-items: center;
	width: 100%;
	height: 100%;
	padding: 0.5rem 1rem;
	text-decoration: none;
	color: inherit;
	gap: 0.5rem;
}
@media (max-width: 640px) {
	.pn-links__item {
		width: 100%;
	}
}
.pn-links__img {
	position: relative;
	width: min(30%, 100px);
}
.pn-links__img::before {
	content: "";
	display: block;
	width: 100%;
	padding-top: 66.66666%;
}
.pn-links__img img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	-o-object-fit: cover;
	object-fit: cover;
	font-family: "object-fit: cover;";
}
.pn-links__title {
	position: relative;
	font-size: 0.875rem;
	overflow: hidden;
	display: -webkit-box;
	text-overflow: ellipsis;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	flex: 1;
}

/* 2024/12/6 */
.header__inner {
	position: relative;
}

.header__list--s {
	position: absolute;
	top: .25rem;
	right: 2rem;
	display: flex;
	align-items: center;
	flex: none;
	line-height: 1;
}

.header__list .pcNone {
	display: none;
}

.header__list--s li a {
	font-size: 1rem;
}

.gloabal__sp-nav {
	position: relative;
	top: .75rem;
}

.line-link a {
	position: relative;
	padding: .2em 2em .3em 0.6em;
	background: #4cc764;
	border-radius: 6.25rem;
	display: flex;
	flex-direction: row-reverse;
	align-items: center;
	justify-content: center;
	gap: 0.1em;
	color: #fff;
}

.line-link a img {
	width: 2em;
}

.line-link a::after {
	position: absolute;
	content: "";
	top: 50%;
	right: 1.3em;
	transform: rotate(45deg) translateY(-50%);
	width: .4em;
	height: .4em;
	border-top: 2px solid #ffffff;
	border-right: 2px solid #ffffff;
}

.follow-btn {
	width: 100%;
	background: linear-gradient(273.4deg, rgba(188, 205, 255, 0.85) 14.66%, rgba(254, 197, 231, 0.85) 84.87%);
	padding: 1.125rem 1.25rem calc(env(safe-area-inset-bottom) + 1.125rem);
	z-index: 99;
	position: fixed;
	bottom: 0;
	left: 0;
	opacity: 0;
	visibility: hidden;
	transform: translateY(100%);
	transition: opacity .6s, transform .6s, visibility .6s;
}

.follow-btn.scroll {
	transform: translateY(0);
	opacity: 1;
	visibility: visible;
}

.overflowHidden .follow-btn.scroll {
	opacity: 0;
	transform: translateY(100%);
}

.follow-btn a {
	display: block;
	width: fit-content;
	margin-inline: auto;
}

.cta-button__text {
	position: relative;
	background: #fff;
	padding: .2em 1.6em;
	border-radius: 6.25em;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.75rem;
	font-weight: 400;
}

.cta-button__text::after {
	content: "";
	position: absolute;
	background: linear-gradient(90deg, #BCCDFF 13.32%, #FEC5E7 89.55%);
	top: -2px;
	left: -2px;
	right: -2px;
	bottom: -2px;
	z-index: -1;
	border-radius: 3rem;
}

@media (max-width: 1024px) {
	.gloabal__sp-nav {
		position: fixed;
		top: 0;
		padding-bottom: 10vh;
	}

	.header__list--s {
		display: none;
	}

	.header__list .pcNone {
		display: block;
	}
}

@media (max-width: 768px) {
	.cta-button__text {
		font-size: 1.425rem;
	}
}

@media (max-width: 480px) {
	.cta-button__text {
		font-size: 1.125rem;
	}
}

@media (max-width: 350px) {
	.cta-button__text {
		font-size: 1rem;
	}
}

/* 修正1: 在籍講師ページ 予約導線 */
.teachers-cta {
	text-align: center;
	margin: 1rem auto -1rem;
	max-width: 1200px;
	width: calc(100% - 40px);
}

.teachers-cta .line-link {
	margin-top: 0;
}

.teachers-cta .linkText {
	margin-top: .5em;
	display: none;
}

/* 修正1: 対面/オンライン表記の縮小 */
.teacher__icon-mean--sm {
	gap: 1rem;
}

.teacher__icon-mean--sm p {
	font-size: 0.875rem;
	font-weight: 350;
}

.teacher__icon-mean--sm p img {
	width: 18px;
}

/* 修正3: 申込みページ LINE予約ボタンを目立たせる */
.contact .line-link {
	font-size: 1.75rem;
	font-weight: 700;
}

@media (max-width: 640px) {
	.contact .line-link {
		font-size: 1.425rem;
	}
}

/* 修正1: 在籍講師ページ LINE予約ボタンも同じサイズに（1行に収まるよう調整） */
.teachers-cta .line-link {
	font-size: 1.75rem;
	font-weight: 700;
}

@media (max-width: 768px) {
	.teachers-cta .line-link {
		font-size: 1.425rem;
	}
}

@media (max-width: 480px) {
	.teachers-cta .line-link {
		font-size: 1.125rem;
	}
}

@media (max-width: 350px) {
	.teachers-cta .line-link {
		font-size: 1rem;
	}
}

/* 修正4: 在籍講師ページ ファーストビューで講師写真を見せるための間隔調整 */
/* ページヘッダーの上下パディングを縮小 (-14px) */
.post-type-archive-teachers .page__header-ttl {
	padding-top: 52px;
	padding-bottom: 64px;
}

/* パンくずリストの上下パディングを縮小 (-8px) */
.post-type-archive-teachers .breadcrumb {
	padding-top: 0.4em;
	padding-bottom: 0.5em;
}

/* 検索ブロックのパディングを縮小 (-6px) */
.post-type-archive-teachers .teacher-search-block {
	padding: 10px 20px;
}

/* LINE予約ボタンエリアの上マージンを縮小 (-4px) */
.post-type-archive-teachers .teachers-cta {
	margin-top: 0.7rem;
}

/* 対面/オンライン表記の上下マージンを縮小 (-4px) */
.post-type-archive-teachers .teacher__icon-mean--sm {
	margin-top: 0;
	margin-bottom: 0.25rem;
}

/* カードエリアの上マージンを縮小 (-4px) */
.post-type-archive-teachers .card-wrap {
	margin-top: 0.75rem !important;
}

@media (max-width: 1024px) {
	.post-type-archive-teachers .page__header-ttl {
		padding-top: 36px;
		padding-bottom: 46px;
	}
}

@media (max-width: 768px) {
	/* ヘッダー上: 24→14px (-10px), 下: 30→18px (-12px) = -22px */
	.post-type-archive-teachers .page__header-ttl {
		padding-top: 14px;
		padding-bottom: 18px;
	}

	/* パンくず上下: -6px */
	.post-type-archive-teachers .breadcrumb {
		padding-top: 0.15em;
		padding-bottom: 0.2em;
	}

	/* 検索ブロック: 8→4px (-8px上下合計) */
	.post-type-archive-teachers .teacher-search-block {
		padding: 4px 16px;
	}

	/* LINE予約: -2px */
	.post-type-archive-teachers .teachers-cta {
		margin-top: 0.35rem;
	}

	/* 対面/オンライン: -1px */
	.post-type-archive-teachers .teacher__icon-mean--sm {
		margin-bottom: 0;
	}

	/* カードエリア: -1px */
	.post-type-archive-teachers .card-wrap {
		margin-top: 0.4rem !important;
	}
}