@charset "UTF-8";
/* common */
body {
  color: #333;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

:root {
  --maincolor: #00008b;
}

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

.container {
  max-width: 1300px;
  padding: 0 5%;
  margin: 0 auto 100px auto;
}

a:hover {
  color: var(--maincolor);
}

.section_ttl {
  text-align: center;
}

.section_ttl::after {
  content: "";
  width: 60px;
  height: 2px;
  background-color: var(--maincolor);
  display: block;
  margin: 20px auto 40px auto;
}

.en {
  font-family: "Noto Serif", serif;
  display: block;
  font-size: 1.2rem;
}

.ja {
  font-family: "Noto Serif JP", serif;
  display: block;
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--maincolor);
}

.btn {
  display: block;
  width: 180px;
  height: 70px;
  margin: 60px auto;
  border: solid 1px var(--maincolor);
  border-radius: 5px;
  background-color: var(--maincolor);
  color: #fff;
  font-size: 1.15rem;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.5s 0s ease;
}

.btn:hover {
  background-color: #fff;
  color: var(--maincolor);
}

.line {
  display: block;
  width: 200px;
  height: 50px;
  margin: 0 auto;
  border-radius: 5px;
  color: #fff;
  background-color: #32cd32;
  border: solid 1px #32cd32;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all .5s;
}

.line:hover {
  color: #fff;
}

.marker {
  background: linear-gradient(transparent 60%, #ff6 60%);
}

.pagetop {
  height: 50px;
  width: 50px;
  position: fixed;
  right: 10px;
  bottom: 70px;
  background: #fff;
  border: solid 2px var(--maincolor);
  border-radius: 50%;
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2;
  cursor: pointer;
}

.pagetop_arrow {
  display: block;
  height: 10px;
  width: 10px;
  border-top: 3px solid var(--maincolor);
  border-right: 3px solid var(--maincolor);
  transform: translateY(20%) rotate(-45deg);
}

.sp_intro {
  font-size: 1.2rem;
  width: 50%;
  height: 60px;
  background-color: #ffa500;
  color: #fff;
  line-height: 60px;
  text-align: center;
  position: fixed;
  bottom: 0;
  left: 0;
}

.sp_line {
  font-size: 1.2rem;
  width: 50%;
  height: 60px;
  background-color: #32cd32;
  color: #fff;
  line-height: 60px;
  text-align: center;
  position: fixed;
  bottom: 0;
  right: 0;
}

.sp_intro:hover, .sp_line:hover {
  color: #fff;
}

/* subpage_common */
.subpage {
  margin-top: 80px;
}

.bg {
  width: 100%;
  height: 300px;
  background-position: center;
  background-size: cover;
}

.wrapper {
  max-width: 900px;
  margin: 80px auto 0 auto;
  padding: 0 5%;
}

.cnt {
  margin-bottom: 60px;
}

.subpage_ttl {
  font-family: "Noto Serif JP", serif;
  font-weight: 500;
  background-color: rgba(0, 0, 0, 0.4);
  color: #fff;
  width: 100%;
  height: 300px;
  font-size: 2.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.subpage_ttl_2 {
  font-size: 1.5rem;
  color: var(--maincolor);
  position: relative;
  margin-bottom: 60px;
}

.subpage_ttl_2::after {
  content: "";
  display: block;
  width: 80px;
  height: 1px;
  background-color: var(--maincolor);
  position: absolute;
  bottom: -30px;
}

.subpage_text {
  margin-bottom: 60px;
}

.link {
  text-decoration: underline;
  color: var(--maincolor);
}

.attention {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px;
  margin: 20px 0;
  background-color: #fff3cd;
  border-radius: 10px;
}

.fa-solid {
  display: block;
  font-size: 1.2rem;
  margin-right: 5px;
}

.fees {
  display: flex;
  flex-wrap: wrap;
  border-bottom: solid 1px #dcdcdc;
}

.fees dt {
  font-weight: normal;
  width: 50%;
  padding: 10px;
  border-top: solid 1px #dcdcdc;
}

.fees dd {
  width: 50%;
  padding: 10px;
  border-top: solid 1px #dcdcdc;
  text-align: right;
}

/* header */
header {
  background-color: #fff;
  width: 100%;
  height: 80px;
  padding: 0 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  right: 0;
  z-index: 20;
  box-shadow: 0px 10px 10px -5px #aaa;
}

.pc_ttl {
  width: 800px;
}

.sp_ttl {
  display: none;
}

.header_menu {
  display: flex;
  background-color: #fff;
  flex-direction: column;
  padding: 80px 60px 60px 60px;
  height: 100vh;
  gap: 50px;
  position: fixed;
  top: 0;
  right: -1000px;
  transition: all 0.5s;
  z-index: 20;
  overflow: auto;
}

.header_menu.active {
    right: 0;
}

.h_btn {
    display: block;
    z-index: 20;
}

#mask.active {
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    cursor: pointer;
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
}

.h_btn {
  position: relative;
  width: 35px;
  height: 30px;
  cursor: pointer;
}

.h_btn span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: #333;
  border-radius: 4px;
}

.h_btn,
.h_btn span {
  transition: all 0.5s;
  box-sizing: border-box;
}

.h_btn span:nth-of-type(1) {
  top: 0;
}

.h_btn span:nth-of-type(2) {
  top: 13.5px;
}

.h_btn span:nth-of-type(3) {
  bottom: 0;
}

#h_btn.active span:nth-of-type(1) {
  -webkit-transform: translateY(13.5px) rotate(-45deg);
  transform: translateY(13.5px) rotate(-45deg);
}

#h_btn.active span:nth-of-type(2) {
  opacity: 0;
}

#h_btn.active span:nth-of-type(3) {
  -webkit-transform: translateY(-13.5px) rotate(45deg);
  transform: translateY(-13.5px) rotate(45deg);
}

#mask {
  display: none;
   transition: 0.5s;
}

/* kv */
.kv {
  margin-top: 80px;
  margin-bottom: 100px;
  position: relative;
}

.swiper-slide img {
  width: 100%;
  height: calc(100vh - 80px);
  object-fit: cover;
}

.kv_1024, .kv_600 {
  display: none;
}

.kv_logo_text {
  position: absolute;
  text-align: center;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -70%);
  z-index: 10;
}

.kv_logo {
  max-width: 500px;
  margin-bottom: 3px;
}

h1 {
  color: #fff;
  font-weight: 600;
}

/* about */
.tfy_logo {
  font-size: 1.8rem;
  font-weight: 900;
  font-family: "Roboto", sans-serif;
  font-style: italic;
  margin-bottom: 20px;
  text-decoration: underline;
}
.about_text {
  max-width: 958px;
}

.about_text p {
  margin-bottom: 15px;
}

.about_text .marker {
  font-weight: 700;
}

.blue_text {
  text-align: center;
  color: var(--maincolor);
  margin-bottom: 15px;
}

.about_card {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
}

.about_card li {
  width: calc(100%/3);
  box-shadow: 0 0 8px 5px #dcdcdc;
  position: relative;
}

.about_thumb {
  width: 100%;
}

.about_thumb img {
  aspect-ratio: 1024/684;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tfy_text { 
  padding: 30px;
}

.tfy_text_ttl {
  text-align: center;
  margin-bottom: 10px;
  color: var(--maincolor);
  font-size: 1.1rem;
}

.about_btn {
  position: absolute;
  font-style: italic;
  text-align: right;
  text-decoration: underline;
  bottom: 3px;
  right: 10px;
  opacity: .7;
  font-size: 0.9rem;
}

/* class */
.top_class {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  color: #fff;
}

.top_class li {
  width: 25%;
  position: relative;
}

.class_name {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.5rem;
  font-family: "Roboto", sans-serif;
  text-shadow: 1px 1px 3px #333;
}

.top_class li a:hover {
  color: #fff;
}

.top_class .class_img {
  margin-bottom: 0;
} 

.bg_class {
  background-image: url(../img/subpage/sub_class.jpg);
}

.class_flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.class_category {
  margin-bottom: 60px;
  width: 48%;
}

.class_img {
  margin-bottom: 20px;
  width: 100%;
  overflow: hidden;
}

.class_img img {
  aspect-ratio: 1024/684;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all .5s;
}

.class_flow {
  margin-bottom: 30px;
}

.class_step_1::before {
  content: "\02776";
  margin-right: 5px;
}

.class_step_2::before {
  content: "\02777";
  margin-right: 5px;
}

.class_step_3::before {
  content: "\02778";
  margin-right: 5px;
}

.video {
  margin-top: 20px;
  width: 100%;
}

.vsc-controller {
  display: none;
}

.kids table {
  margin: 0 auto;
  width: 100%;
}

.kids table td {
  border: solid 1px #dcdcdc;
  padding: 5px;
}

.table_ttl {
  width: 35%;
}

.table_cnt {
  width: 65%;
}

.kids_ttl {
  font-size: 1.25rem;
  color: var(--maincolor);
  margin-bottom: 20px;
}

.kids_photo {
  margin: 30px 0;
}

/* schedule */
.schedule_sec {
  margin-bottom: 100px;
}

.time_table {
  text-align: center;
  margin-bottom: 10px;
}

.schedule_attention {
  position: relative;
}

.schedule_attention li {
  margin-left: 32px;
}

.no1:before {
  content: "※1";
  position: absolute;
  left: -2px;
}

.no2:before {
  content: "※2";
  position: absolute;
  left: -2px;
}

.bg_schedule {
  background-image: url(../img/subpage/sub_schedule.jpg);
}

/* staff */
.staff_sec {
  background-image: url(../img/introduction/matspace.jpg);
  background-size: cover;
  background-position: center;
  padding: 60px;
  margin-bottom: 100px;
}

.staff_text_bg {
  background-color: #fff;
  max-width: 800px;
  margin: 0 auto;
  padding: 40px;
  opacity: .9;
}

.head_instructor {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 800px;
  margin: 0 auto;
}

.itou_text {
  padding: 40px;
  width: 55%;
  margin: 0 auto;
}

.itou_name {
  margin-bottom: 20px;
  font-weight: 600;
}

.staff_sec .btn {
  margin-bottom: 10px;
}

.itou_img,
.staff_img {
  width: 40%;
}

.itou_img img,
.staff_img img {
  aspect-ratio: 2/3;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.itou_comment {
  margin-top: 40px;
}

.bg_staff {
  background-image: url(../img/subpage/sub_staff.jpg);
}

.staff_wrapper {
  max-width: 1100px;
  margin: 80px auto 0 auto;
  padding: 0 5%;
}

.staff_cnt {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
  margin-bottom: 40px;
}

.staff_text {
  width: 55%;
}

.staff_name {
  margin-bottom: 20px;
}

.name_ja {
  display: block;
  font-size: 1.5rem;
  color: var(--maincolor);
}

.name_en {
  display: block;
}

.belt {
  margin-bottom: 10px;
}

.record {
  margin-bottom: 80px;
}

.record:last-child {
  margin-bottom: 60px;
}

.record_list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.record_list dt {
  width: 10%;
  font-weight: normal;
  margin-bottom: 10px;
}

.record_list dd {
  width: 90%;
  margin-bottom: 10px;
}

/* voice */
.voice {
  max-width: 900px;
  margin: 0 auto 100px auto;
}

.voice_balloon img,
.voice_cnt img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
}

.voice_balloon {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 50px;
}

.voice_balloon.reverse {
  flex-direction: row-reverse;
}

.balloon_left {
  position: relative;
  display: block;
  padding: 20px;
  min-width: 120px;
  max-width: 700px;
  color: #555;
  background: #e0edff;
  border-radius: 15px;
}

.balloon_left:before {
  content: "";
  position: absolute;
  top: 50%;
  left: -30px;
  margin-top: -15px;
  border: 15px solid transparent;
  border-right: 15px solid #e0edff;
}

.balloon_left p,
.balloon_right p {
  margin: 0;
  padding: 0;
}

.balloon_right {
  position: relative;
  display: inline-block;
  padding: 20px;
  min-width: 120px;
  max-width: 700px;
  color: #555;
  background: #e0edff;
  border-radius: 15px;
}

.balloon_right:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 100%;
  margin-top: -15px;
  border: 15px solid transparent;
  border-left: 15px solid #e0edff;
}

.bg_voice {
  background-image: url(../img/subpage/sub_voice.jpg);
}

.voice_wrapper {
  max-width: 1000px;
  margin: 80px auto 0 auto;
  padding: 0 5%;
}

.voice_cnt {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 80px;
}

.age {
  margin-top: 5px;
}

/* news */
.news_sec {
  background-image: url(../img/news/top_news.jpg);
  background-size: cover;
  background-position: center;
  padding: 60px;
  margin-bottom: 100px;
}

.news_text_bg {
  background-color: #fff;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px;
  opacity: .9;
}

.news_list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 600px;
  margin: 0 auto;
  border-top: solid 1px #333;
}

.news_list dt {
  width: 30%;
  padding: 20px;
  border-bottom: solid 1px #333;
}

.news_list dd {
  width: 70%;
  padding: 20px;
  border-bottom: solid 1px #333;
}

.news_sec .btn {
  margin: 40px auto 0 auto;
}

.bg_news {
  background-image: url(../img/subpage/sub_news.jpg);
}

.pagination {
  text-align: center;
  margin-top: 40px;
}

.current {
  margin-right: 10px;
  position: relative;
}

.current::after {
  content: '';
  position: absolute;
  bottom: 0;
  background-color: #333;
  width: 10px;
  height: 1px;
  right: 0;
  left: 0;
}

.inactive {
  margin-right: 10px;
}

.inactive:hover {
  opacity: .6;
}

.date {
  margin-bottom: 25px;
}

.figure {
  margin: 25px 0 25px 0;
}

/* blog */
.blog_list {
  display: flex;
  justify-content: center;
  gap: 30px;
}

.blog_list li {
  width: calc(100% / 3);
}

.scale:hover {
  color: inherit;
}

.scale:hover img {
  transform: scale(1.1);
}

.thumbnail {
  overflow: hidden;
  width: 100%;
}

.thumbnail img {
  object-fit: cover;
  aspect-ratio: 1024/684;
  width: 100%;
  height: 100%;
  transition: all .5s ease;
}

.blog_ttl {
  color: var(--maincolor);
  margin-bottom: 10px;
}

.blog_list li {
  box-shadow: 0 0 8px 5px #dcdcdc;
}

.blog_text {
  padding: 30px;
}

.blog_text p {
  font-size: 0.8rem;
}

/* instagram */
.insta_logo {
  width: 26px;
  margin-right: 6px;
  display: inline-block;;
}

#sb_instagram #sbi_images {
  padding: 0 0 12px 0 !important;
}

/* access */
.address_map {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
}

.address_text {
  width: 30%;
}

.address_text p {
  margin-bottom: 30px;
}

.top_map {
  width: 60%;
}

.top_map iframe {
  aspect-ratio: 600/450;
  width: 100%;
  height: auto;
}

.google_map iframe {
  width: 100%;
}

.bg_access {
  background-image: url(../img/subpage/sub_access.jpg);
}

.access_sentence {
  margin-bottom: 30px;
}

.access_list li {
  margin-bottom: 30px;
}

.access_text {
  margin-bottom: 5px;
}

.map {
  margin-bottom: 60px;
}

/* introduction */
.bg_introduction {
  background-image: url(../img/subpage/sub_introduction.jpg);
}

.introduction_wrapper {
  max-width: 1200px;
  margin: 80px auto 0 auto;
  padding: 0 5%;
}

.introduction_cnt {
  margin-bottom: 80px;
}

.philosophy {
  margin-bottom: 20px;
}

.movie {
  text-align: center;
  margin-bottom: 30px;
}

.movie iframe {
  aspect-ratio: 560/315;
  width: 80%;
  height: auto;
}

.facility_list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
}

.facility_list li {
  width: 47%;
}

.facility_img {
  width: 100%;
}

.facility_img img {
  aspect-ratio: 1440/960;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.facility_text {
  margin-top: 5px;
}

.entry_cnt {
  margin-bottom: 80px;
  max-width: 770px;
  margin: 0 auto 60px auto;
  padding: 60px 80px;
  background-color: #e0edff;
  border-radius: 5px;
}

.entry_cnt .btn {
  margin-bottom: 0;
}

.entry_flow {
  margin-bottom: 40px;
}

.entry_step {
  font-size: 1.2rem;
  margin-bottom: 10px;
  font-weight: 500;
}

.entry_text {
  margin-bottom: 20px;
}

.entry_trial li {
  margin-left: 40px;
  position: relative;
}

.entry_trial li::before {
  content: "●";
  position: absolute;
  left: -25px;
}

/* price */
.bg_price {
  background-image: url(../img/subpage/sub_price.jpg);
}

.price_type {
  margin-bottom: 20px;
}

.memo {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px;
  margin: 20px 0;
  background-color: #e0edff;
  border-radius: 10px;
}

.documents {
  margin-bottom: 60px;
}

.documents {
  padding-left: 40px;
}

.documents li {
  position: relative;
  margin-top: 10px;
}

.documents li:first-of-type {
  margin-top: 0;
}

.documents li::after {
  content: "";
  display: block;
  position: absolute;
  top: 0.5em;
  left: -1.5em;
  width: 10px;
  height: 5px;
  border-left: 2px solid #25af01;
  border-bottom: 2px solid #25af01;
  transform: rotate(-45deg);
}

/* contact */
.form_area {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 10px;
  margin-top: 60px;
  border: solid 1px #333;
}

.form_area dt {
  width: 20%;
  background-color: #dcdcdc;
  margin-bottom: 2px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.form_area dd {
  width: 80%;
  background-color: #fff;
  padding: 22px 15px 20px 15px;
  margin-bottom: 2px;
}

.form_area label {
  display: block;
  margin-bottom: 5px;
}

.form_area label:last-of-type {
  margin-bottom: 0;
}

.radio {
  appearance: revert;
  margin-left: 10px;
  margin-right: 5px;
  display: inline-block;
}

/* #name,
#email,
#message {
  width: 100%;
}

.form_area .name_email,
.form_area textarea {
  background-color: #f2f2f2;
  padding: 8px 10px;
} */

.form_area textarea {
  height: 160px;
  width: 100%;
}

.wpcf7-form-control-wrap {
  display: inline-block;
  width: 100%;
  background-color: #f2f2f2;
  padding: 8px 10px;
}

.form_btn {
  text-align: center;
}

#submit, .wpcf7-submit {
  background-color: #dcdcdc;
  border-radius: 5px;
  font-size: 1.25rem;
  font-weight: bold;
  padding: 20px 40px;
  text-align: center;
  display: block;
  margin: 0 auto;
}

#submit:hover {
  opacity: 0.7;
}

.error_text {
  color: #de3f2e;
  margin-top: 2px;
}

.bg_contact {
  background-image: url(../img/subpage/sub_contact.jpg);
}

.subpage .container {
  margin: 80px 0 60px 0;
}

.privacy_link {
  margin-bottom: 30px;
}

/* technique */
.bg_technique {
  background-image: url(../img/subpage/sub_technique.jpg);
}

.basic_ttl {
  font-size: 1.2rem;
  margin-top: 20px;
  margin-bottom: 10px;
  font-weight: 600;
  color: var(--maincolor);
}

.test_right {
  margin: 10px 0;
}

.test_list {
  margin-top: 20px;
}

.test_list li {
  margin-bottom: 5px;
  margin-left: 25px;
  position: relative;
}

.test_list li::before {
  content: "●";
  position: absolute;
  left: -25px;
}

/* privacy policy */
.bg_privacy {
  background-image: url(../img/subpage/sub_privacy.jpg);
}

/* english */
.bg_english {
  background-image: url(../img/subpage/sub_english.jpg);
}

.bg_black {
  background-color: #000;
  color: #fff;
  padding: 80px 0 60px 0;
}

.bg_black .wrapper {
  margin-top: 0;
}

.bg_black .subpage_ttl_2 {
  color: #fff;
}

.bg_black .subpage_ttl_2::after {
  background-color: #fff;
}

.bg_black .btn {
  margin-bottom: 0;
}

.cnt .fees {
  margin-bottom: 10px;
}

/* footer */
footer {
  height: 230px;
  background-color: #fff;
  border-top: solid 1px #333;
  margin-bottom: 60px;
}

.footer {
  padding: 50px 5% 0 5%;
  display: flex;
  justify-content: space-between;
}

.pc_footer {
  width: 500px;
}

.sp_footer {
  display: none;
}

.address {
  margin-top: 20px;
}

.sns li {
  display: inline-block;
  margin-right: 10px;
  font-size: 30px;
}

.sns li a {
  transition: all 0.5s 0s ease;
}

.sns li a:hover {
  opacity: 0.7;
  color: inherit;
}

.footer .btn {
  margin: 20px 0;
}

.copyright {
  display: flex;
  justify-content: center;
}


@media screen and (max-width: 1360px) {
  .top_class {
    flex-wrap: wrap;
  }

  .top_class li {
    width: 45%;
  }
}

@media screen and (max-width: 1150px) {
  .about_flex {
    flex-direction: column;
  }

  .about_cnt {
    width: 100%;
  }

  .about_img {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 20px;
  }

  .about_img_1 {
    margin-bottom: 0;
  }
}


@media screen and (max-width: 1024px) {
  .pc_ttl {
   width: 600px;
  }

  .kv_pc {
    display: none;
  }

  .kv_1024 {
    display: block;
  }
}


@media screen and (max-width: 919px) {
  .head_instructor {
    flex-direction: column-reverse;
    max-width: 400px;
  }

  .itou_img,
  .itou_text {
    width: 100%;
  }

  .itou_img img {
    aspect-ratio: 1;
  }

  .itou_text {
    padding: 40px 20px 40px 20px;
  }

  .staff_text_bg {
    max-width: 600px;
  }

  .staff_sec .btn {
    margin-top: 10px;
  }

  .address_map {
    flex-direction: column;
    text-align: center;
  }

  .top_map {
    width: 100%;
  }

  .address_text {
    width: 100%;
  }

  .address_text .btn {
    margin-bottom: 0;
  }

  .staff_cnt {
    flex-direction: column;
  }

  .staff_img {
    width: 60%;
  }

  .staff_text {
    width: 100%;
  }
}

@media screen and (max-width: 850px) {
  .pc_footer {
    display: none;
  }

  .sp_footer {
    display: inline-block;
    height: 50px;
  }
}


@media screen and (max-width: 768px) {
  .pc_ttl {
    width: 500px;
  }

  .kv_logo {
    max-width: 400px;
  }

  .about_card {
    flex-direction: column;
    align-items: center;
  }

  .about_card li {
    width: 100%;
  }

  .blog_list {
    flex-direction: column;
  }

  .blog_list li {
    width: 100%;
  }

  .movie iframe {
    width: 100%;
  }

  .facility_list {
    flex-direction: column;
    align-items: center;
  }

  .facility_list li {
    width: 100%;
  }

  .top_class {
    flex-direction: column;
  }

  .top_class li {
    width: 100%;
  }

  .class_flex {
    flex-direction: column;
    align-items: center;
  }

  .class_category {
    width: 100%;
  }
}


@media screen and (max-width: 670px) {
  .pc_ttl {
    display: none;
  }

  .sp_ttl {
    display: block;
    height: 60px;
  }

  h1 {
    font-size: 0.8rem;
  }

  .news_list {
    flex-direction: column;
  }

  .news_list dt {
    width: 100%;
    padding: 10px;
    border-bottom: none;
  }

  .news_list dd {
    width: 100%;
    padding: 0 10px 10px 10px;
  }
 
  .form_area {
    flex-direction: column;
  }

  .form_area dt {
    width: 100%;
    padding: 20px;
  }

  .form_area dd {
    width: 100%;
    padding: 10px;
  }

  footer {
    height: 365px;
    text-align: center;
  }

  .footer {
    flex-direction: column;
  }

  .address {
    margin-bottom: 20px;
  }

  .footer .btn {
    margin: 20px auto;
  }
}


@media screen and (max-width: 600px) {
  .container {
    margin-bottom: 80px;
  }

  .kv {
    margin-bottom: 60px;
  }

   .kv_1024 {
    display: none;
  }

  .kv_600 {
    display: block;
  }
  
  .staff_img {
    width: 80%;
  }

  .sp_intro {
    font-size: 1rem;
  }

  .sp_line {
    font-size: 1rem;
  }
}


@media screen and (max-width: 540px) {
  .kv_logo {
    max-width: 350px;
  }

  .staff_sec {
    padding: 30px;
  }

  .news_sec {
    padding: 30px;
  }

  .entry_cnt {
    padding: 30px 40px;
  }

  .voice_cnt {
    flex-direction: column;
  }
}


@media screen and (max-width: 438px) {
  .sp_ttl {
    display: block;
    height: 50px;
  }

  .h_btn {
    width: 30px;
    height: 20px;
  }

  .h_btn span {
    height: 2px;
  }

  .h_btn span:nth-of-type(2) {
    top: 8.5px;
  }

  #h_btn.active span:nth-of-type(1) {
  -webkit-transform: translateY(9.5px) rotate(-45deg);
  transform: translateY(9.5px) rotate(-45deg);
  }

  #h_btn.active span:nth-of-type(3) {
  -webkit-transform: translateY(-8.5px) rotate(45deg);
  transform: translateY(-8.5px) rotate(45deg);
  }

  .header_menu {
    padding: 80px 60px 60px 60px;
    gap: 30px;
    justify-content: normal;
    align-items: normal;
  }

  .wrapper,
  .introduction_wrapper,
  .staff_wrapper {
    margin-top: 60px;
  }

  .tfy_logo {
    text-align: center;
  }

  .en {
    font-size: 1.1rem;
  }

  .ja {
    font-size: 1.5rem;
  }

  .bg {
    height: 250px;
  }

  .btn {
    width: 140px;
    height: 60px;
    font-size: 1rem;
  }

  .subpage_ttl {
    height: 250px;
    font-size: 2rem;
  }

  .subpage_ttl_2 {
    font-size: 1.25rem;
  }

  .entry_step {
    font-size: 1.1rem;
  }

  .blog_text {
    padding: 20px;
  }

  .bg_black {
    padding-top: 60px;
  }

  footer {
    height: 380px;
  }
}