/*------------------------------------------------------------------------------
  PC or ALL
------------------------------------------------------------------------------*/
.header-inner {
  padding: 0 100px 0 20px;
}
.header-nav>ul#menu-header-nav>li>a::before{
  background: url(/mwp/wp-content/themes/mwp-theme/assets/images/nav-icon1.png) no-repeat center center;
  display: inline-block;
  content: '';
  width: 32px;
  height: 45px;
}
.header-nav>ul#menu-header-nav>li>a{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 5px;
}
.header-nav>ul#menu-header-nav>li:nth-child(2)>a::before{
  background: url(/mwp/wp-content/themes/mwp-theme/assets/images/nav-icon2.png) no-repeat center center;
  width: 33px;
  height: 47px;
}
.header-nav>ul#menu-header-nav>li:nth-child(3)>a::before{
  background: url(/mwp/wp-content/themes/mwp-theme/assets/images/nav-icon3.png) no-repeat center center;
  width: 49px;
  height: 53px;
}
.header-nav>ul#menu-header-nav>li:nth-child(4)>a::before{
  background: url(/mwp/wp-content/themes/mwp-theme/assets/images/nav-icon4.png) no-repeat center center;
  width: 41px;
  height: 41px;
}
.header-nav>ul#menu-header-nav>li:nth-child(5)>a::before{
  background: url(/mwp/wp-content/themes/mwp-theme/assets/images/nav-icon5.png) no-repeat center center;
  width: 31px;
  height: 44px;
}
.header-nav>ul#menu-header-nav>li:nth-child(6)>a::before{
  background: url(/mwp/wp-content/themes/mwp-theme/assets/images/nav-icon6.png) no-repeat center center;
  width: 38px;
  height: 44px;
}
.header-nav>ul#menu-header-nav>li:nth-child(7)>a::before{
  background: url(/mwp/wp-content/themes/mwp-theme/assets/images/nav-icon7.png) no-repeat center center;
  width: 48px;
  height: 47px;
}
.header-nav > ul{
  align-items: baseline;
}

.mainvisual-catch{
  left: 50%;
  bottom: 50%;
  transform: translate(-50%, 50%);
  width: 100%;
  text-align: center;
}
.page-content{
  max-width: 1240px;
}


.box-wrap.sm{
  max-width: 1140px;
  padding: 0;
}
.title-type01:before, .title-type03:before,
.title-type02:before, .title-type04:before{
  display: none;
}
.box h2.box-h2{
  font-size: 4.5rem;
}
.title-type01 span:nth-child(2), .title-type03 span:nth-child(2),
.title-type02 span:nth-child(2), .title-type04 span:nth-child(2){
  opacity: 1;
  color: #136abb;
  font-size: 2.2rem;
}
.box .btn a{
  color: #333;
}

.box-wrap.sm.main-banner1{
  .banner-type01 ul li a{
    padding: 80px 20px 20px;
  }
  .ja{
    text-align: center;
    font-size: 3.7rem;
  }
  .en{
    font-size: 2rem;
    text-align: center;
    padding: 5px;
    background: #fff;
    border-radius: 20px;
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: 700;
    font-style: normal;
    letter-spacing: 0.02em;
    letter-spacing: -1px;
    margin-top: 50px;
  }
  .banner-type01 ul li a:after{
    display: none;
  }
}

.box-wrap.bg.main-about{
  margin: 0 auto 0 auto;
  max-width: 1100px;
  .col:nth-child(1){
    position: relative;
    z-index: 2;
  }
  .col:nth-child(1) img{
    clip-path: polygon(9% 0, 100% 0%, 91% 100%, 0% 100%);
  }
  .col:nth-child(1):before{
    content: '';
    position: absolute;
    top: -40px;
    left: -40px;
    width: 100%;
    height: 100%;
    background: #fcb44e;
    clip-path: polygon(9% 0, 100% 0%, 91% 100%, 0% 100%);
  }
  .col:nth-child(2){
    max-width: 400px;
    h4{
      font-size: 2.6rem;
    }
  }
}

.box-wrap.bg.main-point{
  padding: 0 0 var(--box-margin) 0;
  .list-number-type02 ol{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 45px 35px;
  }
  .list-number-type02 ol li:before{
    border: none;
    width: 92px;
    height: 92px;
    text-align: center;
    line-height: 102px;
    color: #fff;
    font-family: "Josefin Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
    letter-spacing: 0.04em;
    background: url(/mwp/wp-content/themes/mwp-theme/assets/images/number-bg.png) no-repeat center center / contain;
  }
  .box .copy{
    font-size: 2.8rem;
  }
}

.box-wrap.lg.main-banner3,
.box-wrap.lg.main-banner2{
  margin: 0 calc(50% - var(--vw) * 50) 20px;
  .banner-type01 ul li a:after{
    content: '';
    width: 70px;
    height: 70px;
    background: url(/mwp/wp-content/themes/mwp-theme/assets/images/banner-before.png) no-repeat center center / contain;
    bottom: 0;
    right: 0;
  }
  .en{
    font-size: 5.2rem;
    line-height: 1;
  }
  .ja{
    font-size: 3rem;
  }
}
.box-wrap.lg.main-banner3{
  margin: 0 calc(50% - var(--vw) * 50) 90px;
  .en{
    font-size: 4rem;
  }
  .ja{
    font-size: 2.2rem;
  }
}

.box-wrap.sm.main-staff{
  margin: 0 auto 140px auto;
  max-width: 1100px;
  .col:nth-child(2){
    position: relative;
    z-index: 2;
  }
  .col:nth-child(2) img{
    clip-path: polygon(9% 0, 100% 0%, 91% 100%, 0% 100%);
  }
  .col:nth-child(2):before{
    content: '';
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 100%;
    height: 100%;
    background: #97dfd6;
    clip-path: polygon(9% 0, 100% 0%, 91% 100%, 0% 100%);
  }
  .col:nth-child(1){
    max-width: 400px;
    h4{
      font-size: 2.6rem;
    }
  }
  .title-type01{
    padding: 0;
    margin: 0 auto 30px auto;
  }
}

.box-wrap.bg.main-school{
  .banner-type01 ul li a:after{
    content: '';
    width: 70px;
    height: 70px;
    background: url(/mwp/wp-content/themes/mwp-theme/assets/images/banner-before.png) no-repeat center center / contain;
    bottom: 0;
    right: 0;
  }
  .box-ul .en{
    font-size: 4rem;
    line-height: 1;
  }
  .box-ul .ja{
    font-size: 2.8rem;
  }
  .banner-type01 ul li a{
    padding: 70px 50px;
  }
}

.box-wrap.sm.main-banner2{
  .title-type01{
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .box .btn{
    margin: 0;
  }
}

.form-btn input{
  color: #333;
  font-weight: bold;
}
.btn03 a{
  color: #333;
  font-weight: bold;
}


/* 2024813 added by Fabo */
.mt-s { margin-top: 4vh !important;}
.mt-m { margin-top: 7vh !important;}
.mt-l { margin-top: 10vh !important;}

.mb-s { margin-bottom: 4vh !important;}
.mb-m { margin-bottom: 7vh !important;}
.mb-l { margin-bottom: 10vh !important;}

.page-content .image-text-type01 .text {
    overflow: hidden;
}
.page-content .image-text-type01 h4 {
    margin-top: 0 !important;
}
.page-content  .list-check-type01 {
    display: flex;
    justify-content: flex-start;
}

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

.box-color {
    margin: 0 0 6vh;
    padding: 35px;
    background: #ebfafe;
}
.box-color :first-child {
    margin-top: 0 !important;
}
.box-color :last-child {
    margin-bottom: 0 !important;
}

body:not(.home) .image-text-type01.left .image {
    position: relative;
    z-index: 2;
}
body:not(.home) .image-text-type01.left .image::before {
    content: '';
    position: absolute;
    z-index: 0;
    top: -40px;
    left: -40px;
    width: 100%;
    height: 100%;
    background: #fcb44e;
    clip-path: polygon(9% 0, 100% 0%, 91% 100%, 0% 100%);
}
body:not(.home) .image-text-type01.left .image {
  overflow: visible;
}
body:not(.home) .image-text-type01.left .image img {
    clip-path: polygon(9% 0, 100% 0%, 91% 100%, 0% 100%);
}

body:not(.home) .image-text-type01.right .image {
    position: relative;
    z-index: 2;
}
body:not(.home) .image-text-type01.right .image::before {
    content: '';
    position: absolute;
    z-index: 0;
    top: 40px;
    right: -40px;
    width: 100%;
    height: 100%;
    background: #97dfd6;
    clip-path: polygon(9% 0, 100% 0%, 91% 100%, 0% 100%);
}
body:not(.home) .image-text-type01.right .image {
  overflow: visible;
}
body:not(.home) .image-text-type01.right .image img {
    clip-path: polygon(9% 0, 100% 0%, 91% 100%, 0% 100%);
}


.page-content h2:not([class]):first-letter,
.page-content h3:not([class]):first-letter,
.page-content h4:not([class]):first-letter {
  color: #00a4eb;
}

body:not(.home) .box.image-bg-type01 .copy,
body:not(.home) .box.image-bg-type01 .copy,
body:not(.home) .box.image-bg-type01 .copy,
body:not(.home) .box.image-text-type01 .copy,
body:not(.home) .box.image-text-type02 .copy,
body:not(.home) .box.image-text-type03 .copy,
body:not(.home) .box.list-number-type01 .copy,
body:not(.home) .box.list-number-type02 .copy,
body:not(.home) .box.carousel-type01 .copy,
body:not(.home) .box.lead-type01 .copy {
  color: #136abb;
}

.table-fixed {
    margin-bottom: 25px;
    table-layout: fixed;
    width: 100%;
}
.table-fixed th,
.table-fixed td {
    padding: 12px 15px;
    border: 3px solid #fff;
    text-align: center;
    vertical-align: middle;
}
.table-fixed th {
    color: #fff;
    background: #00c5ed;
}
.table-fixed td {
    background: #f7f7f7;
}

@media screen and (max-width: 599px) {
  .table-wrap {
    overflow-x: auto;
  }
  .table-wrap table {
    min-width: 700px;
    table-layout: fixed;
  }
}
/*------------------------------------------------------------------------------
  TABLET and SHONE
------------------------------------------------------------------------------*/
@media screen and (max-width: 1024px) {
}

/*------------------------------------------------------------------------------
  TABLET ONLY
------------------------------------------------------------------------------*/
@media screen and (min-width: 600px) and (max-width: 1024px) {
  .row{
    flex-wrap: wrap;
  }
  .box-wrap.bg.main-point {
    .list-number-type02 ol{
      display: flex;
    }
  }
  .box-wrap.sm.main-banner1 {
    .ja{
      font-size: 2.8rem;
    }
    .en{
      font-size: 2.2rem;
    }
  }
  .box-wrap.lg.main-banner3, .box-wrap.lg.main-banner2{
    .en{
      font-size: 2.2rem;
    }
    .ja{
      font-size: 1.8rem;
    }
  }
  .box-wrap.sm.main-staff{
    .row{
      flex-direction: column-reverse;
    }
    .title-type01{
      margin-top: 30px;
    }
  }
  .header-link{
    position: fixed;
    top: 0;
    right: 100px;
  }
}

/*------------------------------------------------------------------------------
  SPHONE ONLY
------------------------------------------------------------------------------*/
@media screen and (max-width: 599px) {
  .header-link{
    position: fixed;
    top: 0;
    right: 60px;
  }
  .header-link img{
    max-height: 60px;
  }
  .header-logo{
    width: 50px;
  }
  .mainvisual-catch{
    padding: 0 10px;
  }
  .box h2.box-h2{
    font-size: 2.8rem;
  }
  .box-wrap.sm.main-banner1 {
    .ja{
      font-size: 2.4rem;
    }
    .en{
      font-size: 1.8rem;
    }
  }
  .box-wrap.bg.main-about {
    .col:nth-child(1):before{
      top: -15px;
      left: -15px;
    }
  }
  .box-wrap.bg.main-point {
    .list-number-type02 ol{
      display: flex;
    }
    .box .copy{
      font-size: 2rem;
    }
  }
  .box-wrap.lg.main-banner3, .box-wrap.lg.main-banner2{
    margin: 0 auto 20px;
    .en{
      font-size: 2.2rem;
    }
    .ja{
      font-size: 1.8rem;
    }
  }
  .box-wrap.sm.main-staff{
    .row{
      flex-direction: column-reverse;
    }
    .col:nth-child(2):before{
      bottom: -15px;
      right: -15px;
    }
    .title-type01{
      margin-top: 30px;
    }
  }
  .box-wrap.bg.main-school{
    .box-ul .en{
      font-size: 2.2rem;
      line-height: 1;
    }
    .box-ul .ja{
      font-size: 1.8rem;
    }
    .banner-type01 ul li a{
      padding: 70px 50px;
    }
  }
  .box-wrap.sm.main-banner2{
    .box h2.box-h2{
      font-size: 2.2rem;
    }
    .title-type01 span:nth-child(2){
      font-size: 1.8rem;
    }
  }
  .image-text-type01.right .image {
      margin: 0 0 60px 0;
  }
}


/* schedule */
.table-schedule1{
	border: 1px solid #828282;
	width: 100%;
	border-collapse: collapse;
    border-spacing: 0;
    padding: 0;
	table-layout: fixed;
}
.table-schedule1 th,.table-schedule1 td{
	text-align: center;
	border: 1px solid #828282;
}
.table-schedule1 th{
	width: 6%;
	padding: 3px;
	background-color: #F5F5F5;
}
.table-schedule1 td{
	padding: 5px;
	height: 20px;
	vertical-align: top;
}
.table-schedule1 tr:first-child td{
	text-align: center;
	background-color: #F5F5F5;
}

.table-color-saple{
	width: 60%;
}
.table-color-saple th{
	width: 20px;
}
.table-color-saple td{
	padding-left: 2px;
}

.table-schedule1.table-scheduleOtaki{
	width: 60%;
	margin: auto;
}

.table-schedule1.table-ichinomiya{
	width: 40%;
	margin: auto;
}

.table-schedule1 .th-hight{
	height: 80px;
}

table.table-schedule1.table-ichinomiya th, table.table-schedule1.table-scheduleOtaki th {
    width: 10%;
}

.table-toggle-inner img {
    max-width: 100px;
}

.table-toggle{
  margin-bottom: 30px;
  .table th,
  .table td{
      text-align: center;
      vertical-align: middle;
  }
}
* + .table-toggle{
  margin-top: 30px;
}
.table-toggle-inner{
  display: none;
}
.page-content h3.table-toggle-h3,
.blog-content h3.table-toggle-h3{
  position: relative;
  cursor: pointer;
  padding: 20px 40px 20px 20px;
  font-size: 2rem;
  border: 1px solid var(--border-color);

  &::after{
      content:"\f067";
      position: absolute;
      top: 50%;
      right: 10px;
      transform: translateY(-50%);
      color: var(--main-color);
      font-family: 'Font Awesome 5 Free';
      font-weight: 900;
      -webkit-font-smoothing: antialiased;
      display: inline-block;
      font-variant: normal;
      text-rendering: auto;
      line-height: 1;
  }
  &.opened::after{
      content:"\f068";
  }
}
.page-content h3.table-toggle-h3::before,
.blog-content h3.table-toggle-h3::before{
	content:"";
	display: block;
	width: 4px;
	height: 40px;
	position: absolute;
	top: 50%;
	left: -1px;
	margin-top: -20px;
	background: var(--main-color);
}

/* table-borderd */
.table-bordered th {
	background-color: #f7f7f7;
	text-align:left;
	color:#333;
	font-weight: bold;
}
.table-bordered th, .table-bordered td {
	border: 1px solid var(--border-color);
	vertical-align:middle;
}

.table-bordered td{
	color: #090909;
  padding: .75rem;
}
.table-bordered{
  width: 100%;
}

/* 20250618 narematsu */
table.table.table-bordered {<span data-mce-type="bookmark" style="display: inline-block; width: 0px; overflow: hidden; line-height: 0;" class="mce_SELRES_start">﻿</span>
    width: 100% !important;
}
.table-toggle table.table.table-bordered td p {
    font-size: min(3vw, 18px)!important;
}

.table-toggle table.table.table-bordered td a {
    font-size: min(3vw, 18px)!important;
}