@charset "UTF-8";

/* 共通 */

body{
  color: #27303d;
  font-size: 16px;
  font-family: 'Noto Sans JP', sans-serif;
}

section{
  margin: 120px auto;
}

.under .ttl{
  border-bottom: solid 3px #eff3f9;
  padding-bottom: 30px;
}

a{
    text-decoration: none;
}

p{
  color: #27303d;
  font-size: 16px;
  font-family: 'Noto Sans JP', sans-serif;
}

.sp{
  display: none;
}

.pc{
  display: block;
}


.ttl{
  text-align: center;
  margin: 60px auto 50px;
}

.ttl h2{
    color: #27303d;
    font-family: 'Noto Serif JP', serif;
    font-size: 40px;
    font-weight: 500;
    margin-bottom: 10px;
}

.ttl .ja{
    color: #618abc;
    font-family: 'Noto Serif JP', serif;
    font-size: 15px;
    font-weight: 400;
}

.wrap{
  width: 900px;
  margin: 0 auto;
}

h3{
  text-align: center;
  margin-bottom: 50px;
  font-family: 'Noto Serif JP', serif;
}

/* ヘッダー */

header{
  display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    width: 95%;
    margin: 0 auto;
}

  nav.globalMenuSp ul {
    margin: 0 ;
    padding: 0;
    width: 100%;
    display: flex;
    padding: 0px;
    justify-content: space-around;
  }
  
  nav.globalMenuSp ul li {
    list-style-type: none;
    padding: 0 0 0 2em;
    width: 100%;
    transition: .4s all;
    display: flex;
    justify-content: space-around;
    align-items: center;
    color: #27303d;
  }

  nav.globalMenuSp ul li img{
    width: 1.2em;
    height: 1.2em;
    display: block;
    margin-right: 10px;
  }

  nav.globalMenuSp ul li:last-child {
    padding-bottom: 0;
  }
  nav.globalMenuSp ul li:hover{
    opacity: 0.6;
  }
  
  nav.globalMenuSp ul li a {
    display: block;
    color: #27303d;
    padding: 1em 0;
    text-decoration :none;
  }

  nav.globalMenuSp .menu-logo{
    display: none;
  }

  header .logo {
    position: relative;
  }

  header .logo img{
    width: 270px;
  }

/* このクラスを、jQueryで付与・削除する */
nav.globalMenuSp.active {
  opacity: 100;
  z-index : 2;

}


/* フッター */

footer{
  padding: 60px 0 50px;
}

footer .footer-flex{
  display: flex;
  width: 520px;
  margin: 0 auto 50px;
  justify-content: space-between;
  flex-direction: row-reverse;
}

footer img{
  width: 330px;
  margin-bottom: 30px;
  display: block;
}

footer ul a{
  display: block;
  margin: 0 0 20px;
  color: #27303d;
}

footer ul a:hover{
  opacity: 0.6;
}

footer ul li{
  list-style: square;
}

footer li:last-child{
  margin: 0;
}

footer li::marker {
color:#7296c1;
}

footer p a{
  color: #27303d;
}

footer .copy-right{
  text-align: center;
  font-size: 12px;
}



  /* mv */

  #mv{
    margin: 0 0 60px;
  }

  #mv h1{
    font-family: 'Noto Serif JP', serif;         
    color: #fff;
    font-size: 80px;
    line-height: 140px;
    letter-spacing: 0.5em;
    text-shadow: 2px 3px 2px #313e51;
    font-weight: 500;
    text-align: center;
    background-image: url(../img/mv.jpg);
    padding: 30vh 0;
    background-size: cover;
  }

  .scroll-fade{
    animation-name: fadein;
    animation-duration: 5s;
  }

  
@keyframes fadein{
    from{
    opacity: 0;
    transform: translatey(-500px);
    }
    to{
    opacity: 1;
    transform: translatey(0);
    }
}

  /* TOP */

  .overlap{
    display: flex;
    width: fit-content;
    margin: 0 auto 120px;
    transform: translateX(2vw);
    justify-content: space-around;
  }

  .overlap .bg-bl{
    background-color: #eff3f9;
    padding: 80px 140px;
  }

  .overlap .bg-bl .medium{
    color: #27303d;
    font-family: 'Noto Serif JP', serif;
    font-size: 40px;
    font-weight: 500;
    margin-bottom: 30px;
  }

  .overlap  .img{
    position: relative;
    z-index: 2;
    top: 120px;
    right: 3vw;
  }

  .text-list{
    width: fit-content;
    margin: 0 auto 60px;
  }

  .text-list .medium{
    color: #27303d;
    font-family: 'Noto Serif JP', serif;
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 10px;
    display: block;
  }

  .text-list li{
    list-style: square;
    margin: 0 0 30px;
  }

  .text-list li:last-child{
    margin: 0;
  }

  .text-list li::marker {
  color:#7296c1;
}

.bnr{
  display: flex;
}

.box {
  cursor: pointer;
  width: 50vw;
  overflow: hidden;
  position: relative;
  width: 100%;
  display: block;
}
.box-bg {
  background-image: url(../img/bnr-contact.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 350px;
  transition: transform .6s ease;
  width: 100%;
}

.recruit .box-bg {
  background-image: url(../img/bnr-recruit.jpg);
}

.box:hover .box-bg {
  transform: scale(1.1);
}
.box p {
  bottom: 0;
  color: #fff; /* テキストの色 */
  left: 0;
  margin: auto;
  position: absolute;
  right: 0;
  top: 0;
  width: 90%; /* テキストを横幅いっぱいにならないようにする */
  z-index: 2;
  font-size: 25px;
  text-align: center;
  top: -50%;
  transform: translateY(60%);
}

.box p span{
  font-size: 16px;
}


/* マスク */
.box::before {
  background: rgba(0, 48, 91, 0.3); 
  bottom: 0;
  content: '';
  height: auto;
  left: 0;
  opacity: 0; /* 最初は透明（非表示） */
  position: absolute;
  right: 0;
  top: 0;
  transition: opacity .6s ease; /* ゆっくりopacityのみへ変化させる */
  width: 100%;
  z-index: 1;
}
.box:hover::before {
  opacity: 1;
}

.item-list{
  display: flex;
  width: 100%;
  margin: 0 auto;
 margin-bottom: 10px;
}

.item-list .item{
 width: 30%;
 padding:2em 10px;
 border-bottom: 3px solid #7ea0c8;
}

.item-list .data{
 width: 70%;
 padding:2em 10px;
 border-bottom: 3px solid #bbb;
}

.item-list .data a{
  color: #27303d;
 }
 
 .under .bg-bl{
  background-color: #eff3f9;
  padding: 50px 0;
}

.bg-whi{
  background-color: #fff;
  width: 600px;
  margin: 0 auto;
  padding: 60px 30px 20px;
}

.bg-whi ul li:last-child{
  margin-bottom: 0;
}

.ttl-co{
  text-align: center;
  margin: 60px auto 0px;
}

.under .no-ul{
  border: none;
}

#formWrap p{
  color: #f14000;
}

/* お問い合わせ */

.formTable{
  margin: 30px 0 80px;
}

.formTable li{
  list-style: none;
  display: flex;
  margin: 0 auto 35px;
  width: 100%;
}

.formTable li .concent{
  border-left: 6px solid #618abc;
  height: 26px;
  width: 25%;
  padding: 0 0 0 5px;
}

.formTable li .input{
  width: 75%;
}



input, textarea{
  border: solid 1px #ccc;
  width: 100%;
  padding: 10px;
}

textarea{
 height: 100px;
}

.contact-btn{
  display: flex;
  justify-content: space-around;
}

.contact-btn input{
  width: 300px;
  padding: 1em;
}

.contact-btn .submit{
  background-color: #27303d!important;
  color: #fff!important;
  border: 4px solid #27303d!important;
}


.mfp_element_textarea{
  width: 100%!important;
  height: 100%!important;
}

.mfp_element_reset{
  background-color: #7ea0c8!important;
  border: 4px solid #7ea0c8!important;
}










































































































































































































































































































@media screen and (max-width: 1365px) {

  .overlap{
    width: 90%;
  }
  .overlap .bg-bl {
    padding: 40px 70px;
}

.overlap .img {
  top: 60px;
  right: 3vw;
}

}

@media screen and (max-width: 1300px) {

  .overlap .bg-bl {
    padding: 40px 40px;
}

.overlap .img{
  width: 35vw;
    right: 5vw;
    top: 100px;
}

.overlap .img img{
width: 100%;
}

}

@media screen and (max-width: 1227px) {

  .overlap {
    transform: translateX(1vw);
}

  .overlap .img {
    width: 35vw;
    right: 3vw;
    top: 16vw;
}
}

@media screen and (max-width: 1055px) {
  .overlap .img {
    top: 21vw;
}

.wrap {
  width: 75%;
  margin: 0 auto;
}

}

@media screen and (max-width: 955px) {
  .overlap .img {
    top: 28vw;
}
}

@media screen and (max-width: 940px) {

  .overlap {
    display: block;
    transform: translateX(0);
    margin: 0 auto -95px;
}

.overlap .bg-bl {
  padding: 20px 70px 120px;
  width: fit-content;
}

.overlap .img {
  top: -10vw;
  left: 35vw;
  width: 50vw;
}

}

@media screen and (max-width: 850px) {

  .sp{
    display: block;
  }

  .pc{
    display: none;
  }

  header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 0;
    width: 95%;
    margin: 0 auto;
}

   /*　ハンバーガーボタン　*/
.hamburger {
  display : block;
  position: absolute;
  z-index : 3;
  right : 13px;
  top   : 12px;
  width : 65px;
  height: 65px;
  cursor: pointer;
  text-align: center;
  background-color: #354f70;
}
.hamburger span {
  display : block;
  position: absolute;
  width   : 30px;
  height  : 3px ;
  left    : 17px;
  background : #fff;
  -webkit-transition: 0.3s ease-in-out;
  -moz-transition   : 0.3s ease-in-out;
  transition        : 0.3s ease-in-out;
}
.hamburger span:nth-child(1) {
  top: 20px;
}
.hamburger span:nth-child(2) {
  top: 30px;
}
.hamburger span:nth-child(3) {
  top: 40px;
}

/* ナビ開いてる時のボタン */
.hamburger.active{
  background-color: #fff;
}
.hamburger.active span:nth-child(1) {
  top: 31px;
  left: 17px;
  background :#354f70;
  -webkit-transform: rotate(-45deg);
  -moz-transform   : rotate(-45deg);
  transform        : rotate(-45deg);
}

.hamburger.active span:nth-child(2),
.hamburger.active span:nth-child(3) {
  top: 31px;
  background :#354f70;
  -webkit-transform: rotate(45deg);
  -moz-transform   : rotate(45deg);
  transform        : rotate(45deg);
}

  nav.globalMenuSp {
    position: absolute;
    z-index : -5;
    top  : 0;
    left : 0;
    color: #27303d;
    background: #fff;
    width: 100%;
    opacity: 0;
    transition: opacity .6s ease, visibility .6s ease;
    padding-bottom: 80px;
  }
  
  nav.globalMenuSp ul {
    margin: 0 auto;
    padding: 0;
    width: 60%;
    display: flex;
    padding: 80px 0 100px;
    justify-content: space-around;
  }
  
  nav.globalMenuSp ul li {
    list-style-type: none;
    padding: 0;
    width: 100%;
    transition: .4s all;
    display: flex;
    justify-content: space-around;
    align-items: center;
    color: #27303d;
  }

  nav.globalMenuSp ul li img{
    width: 1.2em;
    height: 1.2em;
    display: block;
    margin-right: 10px;
  }

  nav.globalMenuSp ul li:last-child {
    padding-bottom: 0;
  }
  nav.globalMenuSp ul li:hover{
    opacity: 0.6;
  }
  
  nav.globalMenuSp ul li a {
    display: block;
    color: #27303d;
    padding: 1em 0;
    text-decoration :none;
  }

  nav.globalMenuSp .menu-logo{
    text-align: center;
    display: block;
  }

  header .logo {
    position: absolute;
    z-index: 1;
    top: 8px;
    left: 8px;
  }
}



@media screen and (max-width: 805px) {
  .formTable li {
    display: block;
}

.formTable li .concent {
  width: 100%;
  margin: 0 0 10px;
}

.formTable li .input {
  width: 100%;
}

.contact-btn input {
  width: 230px;
}

}

@media screen and (max-width: 685px) {

  #mv h1 {
    font-size: 4em;
}

  .overlap .bg-bl {
    padding: 20px 35px 120px;
    width: fit-content;
}

  .overlap .img {
    top: -12vw;
    left: 0;
    width: 80vw;
    margin: 0 auto;
}

nav.globalMenuSp ul {
  display: block;
  width: fit-content;
}

nav.globalMenuSp ul li {
  justify-content: start;
}

nav.globalMenuSp ul li:last-child {
  padding-bottom: 0;
  margin-bottom: 30px;
}

.bnr {
  display: block;
}

.box {
    height: 150px;
}

.box p {
    top: -80%;
    transform: translateY(60%);
}

.bnr-section{
  margin: 120px auto 0;
}

footer .footer-flex {
  display: block;
}

footer .footer-flex ul{
  margin: 0 0 60px 2em;
}

.item-list {
  display: block;
}

.item-list .item {
  width: 100%;
    padding: 0 0px;
    border: none;
    font-weight: 700;
    font-size: 18px;
    margin: 0 0 3px;
}

.item-list .data {
width: 100%;
padding: 0em 0px 1em;
border-bottom: 2px solid #7ea0c8;
}

.bg-whi {
  width: 85%;
}

.bg-whi .text-list {
  margin: 0 auto 60px;
  width: 90%;
}



}

@media screen and (max-width: 625px) {
  .contact-btn {
    display: block;
  }

  .contact-btn input {
    width: 80%;
    display: block;
}

.contact-btn input {
  width: 80%;
  display: block;
  margin: 0px auto 30px;
}

}


@media screen and (max-width: 540px) {
section {
  margin: 100px auto;
}

header .logo img {
  width: 230px;
}

.hamburger {
width: 54px;
height: 54px;
}
.hamburger span:nth-child(1) {
top: 17px;
left: 12px;
}

.hamburger span:nth-child(2) {
top: 27px;
left: 12px;
}

.hamburger.active span:nth-child(2), .hamburger.active span:nth-child(3) {
top: 31px;
left: 17px;
}

.hamburger span:nth-child(3) {
top: 36px;
left: 12px;
}


#mv h1 {
  font-size: 2em;
  line-height: 70px;
}

.overlap .bg-bl .medium {
  font-size: 23px;
}

.text-list {
  margin: 0 auto 2em 60px;
  width: 80%;
}

.wrap .text-list {
  margin: 0 auto;
  width: 100%;
}

footer .footer-flex{
  width: 80%;
}



}

@media screen and (max-width: 385px) {

  .text-list {
    margin: 0 auto 60px;
  }

  .overlap .img {
    top: -25vw;
}

footer img {
  width: 100%;
}

}