@charset "utf-8";
/* パスワードフォーム全体のスタイル */
.post-password-form {
  max-width: 420px;
  margin: 60px auto;
  padding: 30px;
  background-color: #fdfdfd;
  border: 2px solid #ccc;
  border-radius: 10px;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* パスワード入力説明テキスト */
.post-password-form p:first-of-type {
  font-size: 16px;
  color: #333;
  margin-bottom: 20px;
}

/* パスワード入力ラベル */
.post-password-form label {
  font-size: 14px;
  color: #444;
}

/* パスワード入力欄 */
.post-password-form input[type="password"] {
  width: 100%;
  padding: 10px 12px;
  font-size: 16px;
  margin-top: 5px;
  margin-right: 10px;
  border: 1px solid #bbb;
  border-radius: 6px;
  box-sizing: border-box;
}

/* 送信ボタン */
.post-password-form input[type="submit"] {
  background-color: #0073aa;
  color: #fff;
  border: none;
  padding: 10px 16px;
  font-size: 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

/* 送信ボタンのホバー時 */
.post-password-form input[type="submit"]:hover {
  background-color: #005f8d;
}


.mainvisual {
	position: relative;
	padding: 0;
}

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

.slider-dots {
	width: 100%;
	margin: 0;
	padding: 0;
	text-align: center;
	list-style: none;
	position: absolute;
	bottom: 15px;
}

.slider-dots li {
    display: inline-block;
    width: calc(5% - 8px);
    margin: 0 2px;
}

.slider-dots  button {
    position: relative;
    width: 100%;
    height: 4px;
    border: 0;
    background-color: #ccc;
	font-size: 0;
}

.slider-dots button::after {
      position: absolute;
      top: 0;
      left: 0;
      content: "";
      display: block;
      width: 0%;
      height: 100%;
}

.slider-dots .slick-active button:after {
	background-color: #6592A7;
	animation: progress 5.5s linear forwards;
}

@keyframes progress {
  from {
    width: 0%;
  }

  to {
    width: 100%;
  }
}

.slick-dotted.slick-slider {
	margin-bottom: 0 !important;
}

.mainslider {
  line-height: 0;
  font-size: 0;
}

.top_vision {
	padding: 100px 0;
}

.imganimation figure {
  opacity: 0;
  transform: translateY(30px); /* 最初は下に30pxずらす */
  transition: all 0.8s ease; /* ゆっくりふわっと */
  will-change: opacity, transform;
}

.imganimation figure.fadeInUp {
  opacity: 1;
  transform: translateY(0); /* 元の位置に戻す */
}

.en_title {
	font-weight: bold;
	color: #8C8C8C;
	font-size: clamp(2rem, 1.6rem + 2vw, 4rem);
}

.ja_title {
	color: #8C8C8C;
	font-size: clamp(1.2rem, 1.12rem + 0.4vw, 1.6rem);
	position: absolute;
	z-index: 2;
	writing-mode: vertical-rl;
	margin: 0;
	line-height: 1;
	height: fit-content;
}

.ja_title::before {
	content: "";
	display: block;
	position: absolute;
	top: -60px;
	left: 50%;
	width: 1px;
	height: 50px;
	background-color: #8C8C8C;
}

.top_vision p {
	text-align: center;
	font-size: clamp(1.2rem, 1.14rem + 0.3vw, 1.5rem);
	margin-bottom: 50px;
}

.top_vision strong {
	font-size: clamp(1.4rem, 1.32rem + 0.4vw, 1.8rem);
}

.parent {
	display: grid;
	grid-template-columns: repeat(8, 1fr);
	grid-template-rows: repeat(5, 1fr);
	grid-column-gap: 30px;
	grid-row-gap: 30px;
}

.parent picture {
	opacity: 0;
	transform: translateY(10px);
	transition: opacity 0.8s ease, transform 0.8s ease;
	box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.35)
}

.parent picture.visible {
  opacity: 1;
  transform: translateY(0);
}

.parent img {
	height: 100%;
}

.gridimg1 { grid-area: 1 / 1 / 4 / 3; }
.gridimg2 { grid-area: 4 / 1 / 6 / 3; }
.gridimg3 { grid-area: 1 / 3 / 6 / 5; }
.gridimg4 { grid-area: 1 / 5 / 3 / 9; }
.gridimg5 { grid-area: 3 / 5 / 6 / 9; }

.top_features {
	background-color: #627962;
	padding: 100px 0 200px;
}

.top_features_box {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 30px;
	position: relative;
}

.top_features_box figure {
	width: 50%;
	z-index: 2;
	position: relative;
}

.top_features_text {
	width: calc(50% - 60px);
	position: relative;
	margin: 0 auto auto 0;
}

.top_features_text h3,
.top_features_text p {
	position: relative;
	z-index: 2;
}

.top_features_text .en_title {
	line-height: 1;
	color: #fff;
	margin-bottom: 100px;
}

.top_features_box::before {
	content: "";
	display: block;
	position: absolute;
	width: 70%;
	height: 100%;
	top: 75px;
	right: 0;
	background-color: #fff;
}

.top_features .ja_title {
	right: 20px;
	top: -75px;
	color: #fff;
}

.top_features_ponits_number {
	font-weight: bold;
	margin-bottom: 0;
	padding-left: 30px;
	position: relative;
}

.top_features_ponits_number::before {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	margin: auto;
	background-color: #6592A7;
    width: 30px;
	height: fit-content;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-weight: bold;
    font-size: 1.4rem;
}

.top_features_ponits div:nth-of-type(1) .top_features_ponits_number::before {
	content: "1";
}

.top_features_ponits div:nth-of-type(2) .top_features_ponits_number::before {
	content: "2";
}

.top_features_ponits div:nth-of-type(3) .top_features_ponits_number::before {
	content: "3";
}

.top_features_ponits div:nth-of-type(4) .top_features_ponits_number::before {
	content: "4";
}

.top_features_ponits p {
	padding-left: 40px;
}

.top_course {
	background-color: #6592A7;
	padding: 100px 0;
}

.top_course_main {
	margin: 0 0 100px auto;
}

.top_course p,
.top_course h3 {
	color: #fff;
}

.top_course .en_title{
	padding-left: 70px;
	color: #fff;
}

.top_course .ja_title {
	top: 0;
	left: 0px;
	color: #fff;
}

.top_course .ja_title::before {
	background-color: #fff;
}

.parent2 {
	display: grid;
	grid-template-columns: repeat(8, 1fr);
	grid-template-rows: repeat(4, 1fr);
	grid-column-gap: 30px;
	grid-row-gap: 30px;
	margin-bottom: 30px;
}

.parent2 img {
	height: 100%;
}

.parent2 a {
	position: relative;
	box-shadow: 0px 10px 10px -6px rgba(0, 0, 0, 0.2);
}

.parent2 p {
	position: absolute;
	bottom: 0;
	right: 0;
	left: 0;
	width: 100%;
	padding: 10px 0;
	text-align: center;
	color: #333;
	background-color: rgba(255,255,255,0.7);
	margin: 0;
	font-weight: bold;
}

.top_courselink1 { grid-area: 1 / 1 / 5 / 3; }
.top_courselink2 { grid-area: 1 / 3 / 5 / 5; }
.top_courselink3 { grid-area: 1 / 5 / 3 / 7; }
.top_courselink4 { grid-area: 1 / 7 / 3 / 9; }
.top_courselink5 { grid-area: 3 / 5 / 5 / 7; }
.top_courselink6 { grid-area: 3 / 7 / 5 / 9; }

.top_coursewrap {
	flex-wrap: wrap;
	justify-content: inherit !important;
	gap: 0 !important;
}

.top_coursewrap figure {
	width: 100% !important;
}

.top_coursewrap figure img {
	aspect-ratio: 3 / 2 !important;
	width: auto !important;
	height: auto !important;
}

.coursetext {
	width: 30%;
	margin: 0 5% 30px 0 !important;
	padding: 0 !important;
}

.coursetext h3 {
	text-align: center;
	font-size: clamp(0.8rem, 0.7rem + 0.5vw, 1.3rem);
}

.coursetext:nth-of-type(3),
.coursetext:nth-of-type(6) {
	margin-right: 0 !important;
}

.top_result {
	padding: 100px 0;
}

.top_result .en_title {
	text-align: center;
}

.top_result .ja_title,
.top_school .ja_title {
	top: 0;
	right: 0;
}

.top_result_box {
	display: flex !important;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
}

.resulttext {
	width: 23%;
	text-align: center;
	background-color: #6592A7;
	padding: 15px 0 !important;
	margin-bottom: 30px !important;
}

.resultswrap .mb150 .ja_title {
	top: -30px;
}

.resultswrap .minwidth:nth-of-type(2) .ja_title {
	top: -75px;
	right: 0;
}

.resulttext p {
	color: #fff;
	margin: 0;
}

.top_voice .en_title {
	padding-left: 100px;
}

.top_voice .ja_title {
	top: 0;
	left: 0;
}

.top_voice_box {
	display: flex;
	flex-wrap: wrap;
}

.top_voice_text {
	width: 48%;
	border: 1px solid #6592A7;
	padding: 10px;
	margin-bottom: 30px;
	display: flex;
	flex-direction: column;
}

.top_voice_text:nth-child(odd) {
	margin-right: 4%;
}

.top_voice_inner {
	display: flex;
	align-items: center;
	gap: 30px;
}

.top_voice_inner figure {
	width: 100%;
}

.top_voice_text p {
	color: #6592A7;
	margin: 0;
	padding-bottom: 10px;
	margin-bottom: 5px;
}

.courseicon {
	padding: 10px 0 0 50px !important;
	margin: auto 0 0 0 !important;
	position: relative;
}

.courseicon::before {
	content: "";
	display: block;
	position: absolute;
	top: 10px;
	bottom: 0;
	left: 0;
	margin: auto;
	background-image: url("common/images/man.svg");
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	width: 30px;
	height: 30px;
}

.courseicon {
	border-top: 1px solid #6592A7;
}

.top_school .maxwidth {
	display: flex;
	gap: 30px;
}

.top_school .maxwidth figure {
	width: 65%;
}

.visual {
	padding: 0;
}

.main_message {
	background-color: #627962;
	padding: 30px 0;
}

.main_message .en_title {
	color: #fff;
}

.contents .en_title {
	text-align: center;
}

.main_message .ja_title {
	top: 0;
	bottom: 0;
	right: 0;
	margin: auto;
	color: #fff;
	height: fit-content;
}

.main_message p {
	font-size: clamp(1rem, 0.94rem + 0.3vw, 1.3rem);
}

.choose,
.teacher,
.resultswrap,
.schoolwrap,
.coursewrap {
	padding: 100px 0;
}

.contents.courselist article {
	padding: 0 !important;
}

.choose .ja_title,
.detail_timetable .ja_title {
	top: 0;
	left: 0;
}

.choose .ja_title {
	top: -30px;
}

.flexbox {
	display: flex !important;
	justify-content: space-between;
	align-items: center;
	gap: 30px;
}

.flexbox figure img {
	aspect-ratio: 1 / 1;
	width: 400px;
	height: 400px;
}

.wp-block-media-text {
	gap: 30px !important;
}

.wp-block-media-text > div {
	width: 70%;
}

.wp-block-media-text>.wp-block-media-text__content {
	padding: 0 !important;
}

.key {
	background-color: #8C8C8C;
	padding: 100px 0;
}

.key h2,
.key p {
	color: #fff;
}

.key .ja_title {
	right: 0;
}

.key .ja_title::before {
	background-color: #fff;
}

.detail {
	padding: 100px 0;
}

.detail_price .ja_title,
.access .ja_title,
.video .ja_title {
	top: 0;
	right: 0;
}

.detail_price,
.detail_timetable {
	position: relative;
}

.detail_price .tablewrap {
	margin-bottom: 100px;
}

.decoration_title {
	background: #6592A7;
	background: linear-gradient(90deg,rgba(101, 146, 167, 1) 0%, rgba(255, 255, 255, 1) 95%);
	padding: 5px 0 5px 15px;
	color: #fff;
}

.teacherswrap .flexbox {
	margin-bottom: 30px;
}

.teacherswrap ul {
	margin-bottom: 30px;
}

.teacherswrap h3 {
	margin: 0;
}

.schoolwrap table tr {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.schoolwrap table td:nth-of-type(1) {
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
    border-bottom: 1px solid #6592A7 !important;
    padding: 10px;
    width: 300px;
    display: block;
    color: #6592A7;
}

.schoolwrap table td:nth-of-type(2) {
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
    border-bottom: 1px solid #333 !important;
    padding: 10px;
    width: calc(100% - 330px);
    display: block;
}

.flexbox iframe {
	width: 100%;
	aspect-ratio: 16 / 9;
}

.videobox {
	width: 50%;
}

.video {
	padding: 100px 0 0;
}

.slider .slick-slide img {
  height: auto;
  opacity: .3;
  transform: scale(.8);
  transition: opacity .5s, transform .5s;
  width: 100%;
}

.slider .slick-center img {
  opacity: 1;
  transform: scale(1);
}

.slider,
.mainslider {
  display: none;
}

/* ページ読み込み時に、一瞬縦並びになるのを防止 */
/* slick-initializedが付与されたら表示 */
.slider.slick-initialized,
.mainslider.slick-initialized {
  display: block;
	z-index: 1;
}

.mainvisual h1 {
	position: absolute;
	top: 0;
	bottom: 0;
	right: 0;
	left: 0;
	margin: auto;
	width: 100%;
	height: fit-content;
	z-index: 2;
	text-align: center;
	color: #055707;
    text-shadow: 2px 2px 1px rgba(255, 255, 255, 0.4);
    font-size: clamp(2rem, 1.74rem + 1.3vw, 3.3rem);
}

.schoolname {
	font-size: 1.7rem;
}

.mainslider .slick-slide img,
.visual img {
	height: 600px;
}

.contents.teachers .flexbox figure img {
	width: 300px;
    height: 300px;
}

@media only screen and (max-width: 1350px) and (min-width: 1px) {
	.mainslider .slick-slide img,
	.visual img {
		height: 400px;
	}
	
	.top_features_box img {
		aspect-ratio: 1 / 1;
	}
}

@media screen and (max-width: 1024px) and (min-width: 1px) {
	.ja_title {
		position: relative;
		writing-mode: initial;
		padding-left: 70px;
		height: auto;
	}
	
	.pc.ja_title::before {
		content: none;
	}
	
	.ja_title::before {
		width: 30px;
		height: 1px;
		top: 50%;
		left: 25px;
	}
	
	.resultswrap .mb150 .ja_title,
	.resultswrap .minwidth:nth-of-type(2) .ja_title {
		top: 0;
	}
	
	.sp1024 {
		display: block;
	}
	
	.en_title {
		line-height: 1;
	}
	
	.top_result .en_title {
		text-align: left;
	}
	
	.top_course .en_title,
	.top_voice .en_title {
		padding-left: 0;
	}
	
	.ja_title {
		padding-left: 40px;
	}
	
	.ja_title::before {
		left: 0;
	}
	
	.top_features .ja_title {
		padding-left: 70px;
		top: 0;
	}
	
	.choose .ja_title, .detail_timetable .ja_title {
		top: 0 !important;
	}
	
	.top_features .ja_title::before {
		left: 25px;
	}
	
	.maxwidth .minwidth {
		width: 100% !important;
		margin: 0 auto;
	}
	
	.top_course_main {
		margin-bottom: 50px !important;
	}
}

@media screen and (max-width: 768px) and (min-width: 1px) {
	.mainslider .slick-slide img,
	.visual img {
		height: auto;
	}
	
	.top_features_box {
		display: block;
	}
	
	.top_features_box figure,
	.top_features_text {
		width: calc(100% - 30px);
		margin: 0 auto;
	}
	
	.top_features_box figure,
	.en_title {
		margin-bottom: 30px;
	}
	
	.top_features_box figure img {
		height: auto;
		aspect-ratio: auto;
	}
	
	.top_features {
		padding: 50px 0;
		overflow: hidden;
	}
	
	.top_course .imganimation {
		margin: 100px 15px;
	}
	
	.top_school .maxwidth {
		display: block;
	}
	
	.top_school .maxwidth figure {
		width: 100%;
		margin-bottom: 30px;
	}
	
	.mv05 .fraction {
		bottom: 50%;
	}
	
	.cta_text {
		width: 200px;
	}
	
	.imganimation {
		gap: 15px;
	}
	
	.contents .en_title {
		text-align: left;
	}
	
	.flexbox {
		display: block !important;
	}
	
	.flexbox figure,
	.flexbox_text {
		width: 100%;
	}
	
	.detail .tablewrap {
		overflow: scroll;
	}
	
	.detail table {
		width: 800px !important;
		max-width: inherit !important;
	}
	
	.detail .wp-block-flexible-table-block-table {
		overflow: scroll;
	}
	
	.schoolwrap table tr {
        display: block;
    }
	
	.schoolwrap table td:nth-of-type(1) {
        text-align: left;
        background-color: #6592A7;
        color: #fff;
		width: 100%;
    }
	
	.schoolwrap table td:nth-of-type(2) {
        border-bottom: none !important;
		width: 100%;
    }
	.visual img {
		height: auto;
	}
	
	.videobox {
		width: 100%;
	}
	
	.choose,
	.teacher,
	.resultswrap,
	.schoolwrap,
	.key,
	.detail,
	.top_vision,
	.top_course,
	.top_result,
	.f_nav {
		padding: 50px 0;
	}
	
	.top_features .ja_title {
		color: #8C8C8C;
	}
	
	.top_voice,
	.top_school {
		padding-bottom: 50px;
	}
	
	.top_features_text .en_title {
		margin-bottom: 25px;
		color: #8C8C8C;
		z-index: 1;
		position: relative;
	}
	
	.video {
		padding: 50px 0 0 ;
	}
	
	.top_coursewrap {
		display: flex !important;
	}
	
	.coursetext,
	.coursetext:nth-of-type(3) {
		width: 48% !important;
		margin-right: 4% !important;
	}
	
	.coursetext:nth-of-type(2),
	.coursetext:nth-of-type(4),
	.coursetext:nth-of-type(6) {
		margin-right: 0 !important;
	}
	
	.top_features_box::before {
		content: none;
	}
	
	.top_features_text {
		position: relative;
	}
	
	.top_features_text::before {
		content: none;
	}
	
	.top_features_box::before {
		content: "";
		display: block;
		position: absolute;
		width: 150%;
		height: 380px;
		top: inherit;
		bottom: 0;
		right: -20px;
		background-color: #fff;
	}
	
	.top_course .imgbox a {
		width: 48%;
		margin-right: 4% !important;
	}
	
	.top_course .imgbox a:nth-of-type(even) {
		margin-right: 0 !important;
	}
	
	.top_course_main {
		width: 100%;
		margin: 0 auto;
	}
	
	.flexbox figure img {
		aspect-ratio: 2 / 1;
		width: 100%;
		height: 100%;
	}
	
	.wp-block-media-text > div {
		width: 100%;
	}
	
	.parent {
		grid-template-columns: repeat(5, 1fr);
		grid-template-rows: repeat(3, 1fr);
		grid-column-gap: 10px;
		grid-row-gap: 10px;
	}
	
	.gridimg1 { grid-area: 1 / 1 / 2 / 4; }
	.gridimg2 { grid-area: 2 / 1 / 3 / 4; }
	.gridimg3 { grid-area: 1 / 4 / 3 / 6; }
	.gridimg4 { grid-area: 3 / 1 / 4 / 4; }
	.gridimg5 { grid-area: 3 / 4 / 4 / 6; }
	
	.gridimg3 img {
		height: 100% !important;
	}
	
	.parent2 {
		display: flex;
		justify-content: space-around;
		flex-wrap: wrap;
		gap: 15px;
	}
	
	.parent2 a {
		width: 47%;
	}
	
	.parent2 p {
		padding: 0;
	}

}

@media screen and (max-width: 500px) and (min-width: 1px) {
	.top_features_box::before {
		height: 66%;
	}
}

@media screen and (max-width: 425px) and (min-width: 1px) {
	.cta_text {
		width: 155px;
	}
	
	.imganimation figure:nth-of-type(1) {
		padding-top: 100px;
	}
	
	.top_course .imganimation {
		margin: 50px 15px;
	}
	
	.top_voice_text {
		width: 100%;
	}
	
	.top_voice_text {
		margin-right: 10%;
	}
	
	.top_voice_text:nth-child(odd) {
		margin-right: 0;
	}
	
	.top_voice_text:nth-of-type(2),
	.top_voice_text:nth-of-type(4),
	.top_voice_text:nth-of-type(6) {
		margin-right: 0;
	}
	
	.courseicon::before {
		width: 20px;
		height: 20px;
	}
	
	.resulttext {
		width: 45%;
	}
	
	.courseicon {
		padding: 0 0 0 25px !important;
	}
	
	.parent img {
		height: 140px;
	}
	
	.detail table {
		width: 450px !important;
		max-width: inherit !important;
	}
}

@media screen and (max-width: 768px) and (min-width: 1px) {
	.top_voice_text {
		width: 100%;
		margin-right: 0 !important;
	}
	
	.cta {
		display: block;
	}
	
	.cta a {
		width: 100%;
	}
	
	.f_navlist {
		display: block;
	}
	
	.cta_text {
		width: 200px;
	}
	
	.top_features_box::before {
		height: 74%;
	}
}