.mv{
  position:relative;
}
.mv h1{
  position:absolute;
  width:100%;
  text-align: center;
  font-size:6rem;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%);
  color:#fff;
  z-index: 1;
}
/* .mv img{
  width:100%;
} */
.main-visual {
  position: relative;
  width: 100%;
  height: 70vh; /* 高さは任意（例：画面の70%） */
  overflow: hidden;
  z-index: 0;
}

.main-visual .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.5s ease; /* フェードの時間 */
}

.main-visual .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 画像をはみ出さずに全幅表示 */
}

.main-visual .slide.active {
  opacity: 1;
  z-index: 1;
}

/* sec_1 */
.sec_1 h2{
  font-size:3rem;
  margin:3em auto;
}
.sec_1_content{
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}
.sec_1_content h3{
  font-size:3rem;
  margin-bottom:1.5em;
  font-family: var(--kozuka);
}
.sec_1_content p{
  font-size:2rem;
  text-align: right;
  padding:0 32px 1em 0;
  box-sizing: border-box;
  line-height: 2;
}
.sec_1 ul{
  display: flex;
  justify-content: space-between;
  margin:90px auto;
  flex-wrap: wrap;
}

/* service */
.service{
  margin:96px auto 0;
}
.service h3{
  font-size:3.6rem;
  position:relative
}
.service h3::after{
  position:absolute;
  content:"";
  width:360px;
  height:8px;
  left:0;
  bottom:20px;
  background-color: #e0e0e0;
  z-index: -1;
}
.service_head{
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding:0 5%;
  margin-bottom:24px;
}
.service_head h4{
  color:#3eb151;
  font-size:3.6rem;
  font-weight:bold;
}
.service_wrap{
  display: flex;
  gap: 24px;
}
.service_detail{
  padding:24px 48px;
  border:1px solid #3eb151;
  width:calc(50% - 12px);
}
.service_detail dl{
  display: flex;
  flex-wrap: wrap;
  width:100%;
}
.service_detail dl dt{
  width:10%;
}
.service_detail dl dd{
  width:90%;
}
.service_detail p{
  margin-top:12px;
  padding:12px 24px;
  border:1px solid #3eb151;
}
.service_image{
  width:calc(50% - 12px);
  background-color: #e0e0e0;
  text-align: center;
  padding:24px 48px;
}
.course{
  margin-top:1.5em;
  font-size:1.6rem;
}
.service_detail p.course_title{
  border:none;
}
.course ul{
  display: flex;
  justify-content: space-between;
}
.course ul li{
  width:32%;
  font-size:1.4rem;
  text-align: center;
  border:1px solid #3eb151;
  padding:1.5em;
  font-weight:bold;
}
.course ul li span{
  font-size:1.2em;
}
/* sec_5 */
.sec_5{
  margin-top:96px;
  position:relative;
}
.sec_5 img{
  position:absolute;
  top:0;
  left:0;
}
.sec_5_detail{
  width:30%;
  margin:-24px 0 0 auto;
}
.sec_5_detail h3{
  font-size:3.6rem;
  font-weight:bold;
  position:relative;
  text-align: right;
}
.sec_5_detail h3::after{
  position:absolute;
  content:"";
  width:120%;
  left:-10%;
  bottom:8px;
  height:16px;
  background-color: #e0e0e0;
  z-index: -1;
}
.sec_5_detail p{
  width:80%;
  margin:36px auto;
  font-size:2rem;
}
.sec_5_detail ul{
  position:relative;
  padding:60px 0;
  background-color: #e0e0e0;
  z-index: -2;
}
.sec_5_detail ul::before{
  width:35%;
  content:"";
  position:absolute;
  left:-35%;
  top:0;
  height:100%;
  background-color: #e0e0e0;
  z-index: -2;
}
.sec_5_detail ul li{
  width:90%;
  line-height: 2;
  font-size:2rem;
}
/* sec_6 */
.sec_6{
  margin-top:96px;
}
.sec_6_wrap{
  display: flex;
  justify-content: space-between;
}
.sec_6_detail p{
  margin-top:36px;
  padding:86px 0 86px 24px;
  font-size:1.8rem;
  background-color: #e0e0e0;
  position:relative;
}
.sec_6_detail p::after{
  width:45%;
  content:"";
  position:absolute;
  right:-45%;
  top:0;
  height:100%;
  background-color: #e0e0e0;
  z-index: -2;
}
img.sec_6_image{
  height:fit-content;
}
/* profile */
.profile{
  margin-top:144px;
  margin-left: calc(50% - 50vw);
  padding-bottom:144px;
  margin-bottom:144px;
  position:relative;
  padding-top:24px;
  padding-right:24px;
}
.profile::after{
  position:absolute;
  content:"";
  width:100%;
  height: 100%;
  background: url(../images/index/profile_bg.jpg) center center no-repeat;
  background-size: cover;
  z-index: -2;
  top:0;
  left:0;
}
.profile_wrap{
  width:100%;
  max-width: 1280px;
  margin:0 0 0 auto;
}
.profile_head{
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
}
.profile_head h3{
  font-size:3.6rem;
  font-weight:bold;
  position:relative;
  height:min-content;
  text-align: right;
  width:500px;
}
.profile_head h3::after{
  position:absolute;
  content:"";
  width:120%;
  left:-20%;
  bottom:8px;
  height:16px;
  background-color: #e0e0e0;
  z-index: -1;
}
p.profile_detail{
  padding:1em;
  font-size:2rem;
  text-align: right;
  width:55%;
  margin:-300px 0 0 auto;
  background-color: rgba(192, 192, 192, 0.7);
  position:relative;
  z-index: 1;
  line-height: 1.6;
}
.price,.contact{
  margin-top:60px;
}
.price h3,.contact h3{
  font-size:3.6rem;
  position:relative
}
.price h3::after,.contact h3::after{
  position:absolute;
  content:"";
  width:360px;
  height:8px;
  left:0;
  bottom:20px;
  background-color: #e0e0e0;
  z-index: -1;
}
.price p{
  font-size:2.4rem;
}
.price ul{
  margin-top:1rem;
}
.price ul,
.price p.attention{
  font-size:2rem;
}
.contact dl{
  display: flex;
  margin-top:1em;
  font-size:2rem;
}
.contact dl dd{
  padding-left:1em;
}
.contact a{
  text-decoration: none;
  color:#3e3e3e;
}
.contact .btn{
  display: block;
  width:300px;
  height:80px;
  border-radius: 40px;
  background-color: #fff;
  text-align: center;
  line-height: 80px;
  font-size:2rem;
  font-family: var(--english-font);
  font-weight:bold;
  margin-top:24px;
}
.contact a:hover{
  text-decoration: underline;
}
/* 問い合わせフォーム */
.mw_wp_form{
  padding:30px 5%;
  background-color: #f1f1f1;
}
.contact_form{
  margin:50px auto 150px;
  width:100%;
  max-width:880px;
  padding:0 5%;
}
.contact_head{
  margin-bottom:100px;
}
.contact_head h3{
  font-size:36px;
  font-weight:bold;
  color:rgb(38,97,52);
  margin-bottom:50px;
  text-align: center;
  background: url(../images/index/recruit_bg.jpg) center center no-repeat;
  background-size: cover;
  padding-top:130px;
  padding-bottom:130px;
  box-sizing: border-box;
  font-family: var(--english-font);
}

.contact_head h3 span{
  font-size:18px;
}
.contact_head p{
  text-align: center;
  font-size:14px;
  margin-top:100px;
}
.mw_wp_form h3{
  margin-bottom:8px;
}
.mw_wp_form h3 span{
  display: inline-block;
  padding:3px 5px;
  background-color: rgb(38,97,52);
  color:#fff;
  font-size:1.2rem;
}
.contact_form form p{
  font-size:14px;
  margin-bottom:8px;
}
.contact_form form p span.form_label{
  padding:3px 5px;
  background-color: #808080;
  color:#fff;
}
.contact_form form p span.red{
  padding:3px 5px;
  margin-left:3px;
  font-size:10px;
  background-color: #29abe2;
  color:#fff;
}
.contact_form form select{
  box-sizing: border-box;
  appearance: none;
  border:none;
}
.contact_form form input[name="name"],
.contact_form form input[name="rubi"],
.contact_form form input[name="address"],
.contact_form form input[type="email"],
.contact_form form textarea,
.contact_form form select{
  width:50%;
  padding:8px;
  font-size:14px;
  border:none;
  background-color: rgb(250, 250, 250);
  border-radius:7px;
}
.contact_form form input[type="text"]{
  padding:8px;
  border:none;
  background-color: rgb(250, 250, 250);
  border-radius:7px;
}
.contact_form form input[name="tel"],
.contact_form form input[name="add_number"]{
  width:20px;
}
.contact_form form input[type=submit]{
  padding:15px 0;
  width:200px;
  border:none;
  background-color: rgb(161, 161, 161);
  color:#fff;
}
.mw_wp_form .error{
  margin-top:5px;
}