*{
   box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Noto Serif JP", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

/* header nav */
.mv__header{
width: 100%;
  height: auto;
  position: absolute;
  z-index: 9999;
  top: 5%;
  right: 0;
}
.mv__header_nav{
  width: 100%;
  padding: 16px;
  position: fixed;
  display: flex;
  justify-content: space-between;
  
}

.mv__header_nav-list{
  
  height: 350px;
  list-style: none;
  padding: 21px;
  flex-direction: column;
  background-color: rgba(250, 250, 254, 0.7);;
  border-radius: 2px;
}
.logo img{
  width: 80px;
  height: 80px;
}
.mv__header_nav ul{
display: flex;
align-items: center;
list-style: none;
}

.mv__header_nav ul li{
  padding-top: 16px;
  padding-bottom: 16px;
}

.mv__header_nav ul li a{
  font-size: 21px;
  color: #070c26;
  text-decoration: none;
}

/* mv */
.mv_section{
  width: 100%;
  height: auto;
 position: relative;
  overflow: hidden;
  
}
.mv_inner{
 width: 100%;
 height: auto;
  display: flex;
  /* 拡大しても画像の枠の大きさそのまま */
  background-size: cover;
   
   
 /* forwardsで1回だけ */
    animation: animationZoom 5s ease-in-out forwards;
}
@keyframes animationZoom {
    100% {
        transform: scale(1.1)
    }
}


.mv_inner img{
 display: block;
 width: 100%;
 height: auto;
}

.name h1{
 width: 100%;
 position: absolute;
 top: 50%;
 left: 50%;
 transform: translate(-50%,-50%);
 -ms-transform: translate(-50% , -50%);
  -webkit-transform:translate(-50% , -50%);
 text-align: center;
 color: #ffffff;
 font-size: 60px;
}
.name h1 span{
  font-size: 72px;
}
/* about */
#about{
    width: 100%;
  height: 500px;
position: relative;
overflow: hidden;
}
.about_inner{

 
}
.about_inner_img1{
  width: 100%;
  height: 500px;
  background-image: url(image/about2.png);
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  /* object-fit: cover; */
}

.about_inner_text{
  width: 100%;
  height: 500px;
  background-color: rgba(255, 255, 255, 0.5);
  padding: 40px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50% , -50%);
  
}
.about_inner_text h2{
  font-size: 40px;
  color: #070c26;
  padding-top: 60px;
  
  text-align: center;
}
.text1{
  max-width: 620px;
  width: 100%;
  height: auto;
  padding: 32px 80px;
  margin: 0 auto;
  text-align: left;
  line-height: 1.8em;
  letter-spacing: 0.1em;
  font-size: 18px;
  font-weight: 400;
  color: #070c26;
}

/* menu */
.menu{
  height: auto;
  padding: 40px;
  /* position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50% , -50%);
  -ms-transform: translate(-50% , -50%);
  -webkit-transform:translate(-50% , -50%); */
  background-color: #070c26;
}
.fontawsome{
  text-align: center;
  color: #ffffff;
  font-size: 18px;
}
.menu h4{
  font-size: 40px;
  color: #ffffff;
  text-align: center;
  padding: 24px;
}
.menu_inner{
  display:grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 8px;
  border: solid 1px #070c26;
  padding: 32px; 
}
.menu-name{
  
/* 追記 */
  opacity: 0;
  /* transition: opacity 0.5s; */
}

.menu-name.show {
  opacity: 1;
}


  /* 非表示状態のクラス */
  .menu-name.is-hidden {
    opacity: 0;
  }


.menu-name img:hover{
  transform: translateY(-5px);
}
.menu-name2 img:hover{
  transform: translateY(-5px);
}
.menu-name3 img:hover{
  transform: translateY(-5px);
}
.menu-name4 img:hover{
  transform: translateY(-5px);
}
.menu-name5 img:hover{
  transform: translateY(-5px);
}
.menu-name6 img:hover{
  transform: translateY(-5px);
}
.menu_inner img{
  display: block;
  margin: 0 auto;
  padding: 24px;
}

.menu_inner a{
     text-decoration: none;
}
.menu_inner p{
  color: #ffffff;
  text-align: center;
  
}

/* map */

.map_section{
  text-align: center;
  background-color: rgba(219, 221, 252, 0.5);
  
}

.map__inner{
  position: relative;
  overflow: hidden;
}
.map__inner-image iframe{
  max-width: 800px;
  width: 100%;
  height: 500px;
  /* background-image: url(image/about2.png);
  background-size: cover; */
}
.map_section h4{
  font-size: 40px;
  color: #070c26;
  text-align: center;
  padding: 24px;
}
.map__inner-text{
  padding: 24px;
}
.map__inner-text dl{
  font-size: 18px;
  color: #070c26;
  
}
.map__inner-text dt{
  margin-bottom: 4px;
  
}
.map__inner-text dd{
  margin-bottom: 8px;
}

/* menu_introduction */



.menu_introduction{
width: 100%;
height: 580px;
background-color: #ffffff;
display: flex;
justify-content: center;
text-align: center;
}

.menu_introduction_inner{
  max-width: 600px;
  width: 100%;
  height: 400px;
  border-top: 0.8px solid #070c26;
  border-bottom: 0.8px solid #070c26;
  margin-top: 60px;
}
.menu_introduction_inner_image img{
  display: block;
  width: 240px;
  height: 240px;
  background-repeat: no-repeat;
  background-size: cover;
  margin: 0 auto;
}
.menu_description{
  color: #070c26;
}

.menu_description dt{
  font-size: 40px;
  text-align: center;
}
.menu_description dd{
  font-size: 18px;
  text-align: center;
  padding: 16px;
}


.return{
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #ffffff;
}

.return a{
  text-decoration: none;
}
.return p{
color: #070c26;
font-size: 18px;
}


/* footer */
.footer{
  margin: 0;
}
.footer_inner{
  text-align: center;
  background-color: #070c26;
}

.footer_logo h3{
  padding: 24px;
}
.footer_logo h3 a{
  font-size: 24px;
  color: #ffffff;
  text-decoration: none;
}

.footer_text{
  padding-bottom: 12px;
  color: #ffffff;
}
.footer_sns ul{
  display: flex;
  justify-content: center;
  text-align: center;
  padding-bottom: 12px;
  
}
.footer_sns a{
  padding: 4px;
color: #ffffff;
list-style: none;
}

.footer_copyright{
  color: #ffffff;
  padding-bottom: 24px;
}

/* contact page */
.contact_section{
  background-color: rgba(219, 221, 252, 0.5);
}
.contact_section_logo{
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.contact_section_logo a {
  display: block;
  padding: 24px;
  text-decoration: none;
  color: #070c26;
}
.contact_section_logo img{
  display: block;
  width: 80px;
  height: 80px;
}

.contact_section_wapper{
  width: 100%;
  height:880px;
  padding: 32px;
}

.contact_section_wapper h2{
  font-size: 40px;
  text-align: center;
  margin-bottom: 32px;
}

.contact_section_inner{
  width: 100%;
  max-width: 600px;
  font-size: 18px;
  text-align: center;
  margin: 0 auto;
}
.form-item{
  padding: 21px;
}

.form-item dt{
font-size: 24px;
padding-bottom: 18px;
}

input[type="text"],
input[type="email"],select,textarea{
  width: 100%;
  padding: 0.6em;
  border-bottom:1px solid #070c26 ;
  border-top: none;
  border-right: none;
  border-left: none;
}
.label-radio{
  padding-right: 18px;
}
/* select[name="messageType"] */
#messagetype{
  text-align: center;
}

input[type="submit"]{
  font-size: 18px;
  padding: 8px 16px;
}

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

/* ハンバーガーメニュー*/
.hamburger-menu {
  /* width: 100%; */
  height: 32px;
  position: absolute;
}
.menu-btn {
  height: 32px;
  width: 32px;
  display: block;
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
}
.menu-btn span,
.menu-btn span:before,
.menu-btn span:after {
  /* 32x3 の白線 */
  content: '';
  display: block;
  height: 3px;
  width: 32px;
  border-radius: 3px;
 
  background-color: rgba(249, 230, 230, 0.8);
  position: absolute;
  transition: 0.3s;
}
.menu-btn span {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.menu-btn span:before {
  bottom: 12px;
}
.menu-btn span:after {
  top: 12px;
}
.menu-btn.open span {
  background-color: rgba(255, 255, 255, 0);
}
.menu-btn.open span::before {
  bottom: 0;
  transform: rotate(45deg);
  width: 34px;
}
.menu-btn.open span::after {
  top: 0;
  transform: rotate(-45deg);
  width: 34px;
}
/* メニュー装飾 */
.mv__header_nav {
  align-items: flex-start;
  width: 60%;
  height: 100%;
  position: fixed;
  top: 0;
  right: -100%;
  z-index: 9990;
  background-color: rgb(251, 255, 249,0.5);
  transition: all 1s;
}

.mv__header_nav ul li {
  font-size: 18px;
  list-style: none;
  text-align: center;
  padding-bottom: 16px;
}

.mv__header_nav .mv__header_nav-list{
  flex-flow: column;
  flex-basis: 90%;
  padding: 40px 0;
  
}
.mv__header_nav ul li a {
  display: block;
  width: 100%;
  font-size: 16px;
  box-sizing: border-box;
  text-decoration: none;
  color:#4c4d4b;;
  font-weight: bold;
  /* padding: 8px 8px 10px 0; */
  position: relative;
  
  
 
}
/* メニューの出し入れ */
.mv__header_nav.open {
  right: 0;
}

.bg-btn {
  pointer-events: none;
  width: 100%;
  height: 100vh;
  position: fixed;
  top: 0;
  z-index: -9999;
  background-color: #333;
  opacity: 0;
  transition: all 0.3s;
}
/* メニュー表示と共に背景部分.bg-btnをクリック可能にする */
.bg-btn.open {
  pointer-events: auto;
  z-index: 9900;
  opacity: 0.3;
}

/* mv */

.mv_section{
  width: 100%;
  /* height: 100vh; */
 position: relative;
  overflow: hidden;
  
}
.mv_inner{
 width: 100%;
 /* height: 100vh; */
  display: flex;
  /* 拡大しても画像の枠の大きさそのまま */
  background-size: cover;
}

.mv_section h1{
  font-size: 32px;
}

/* menu */
#about{
  width: auto;
  height: auto;
}

.about_inner{
  width: 100%;
  height:auto;
  position: relative;
}
.about_inner_img1{
  display: block;
  width: 100%;
  max-height:400px;
  height: 100vh;
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  
}




.about_inner_text{
  width: 100%;
  max-height:400px;
  height: 100vh;
  background-color: rgba(255, 255, 255, 0.5);
  padding: 8px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50% , -50%);
}
.about_inner_text h2{
  font-size: 24px;
  color: #070c26;
  padding-top: 24px;
  padding-bottom: 40px;
  text-align: center;
}
.text1{
  height: auto;
  padding: 12px 20px;
  line-height: 1.8em;
  letter-spacing: 0.1em;
  font-size: 16px;
  color: #070c26;
}

/* map */
.map__inner{
  position: relative;
  overflow: hidden;
}
.map__inner-image iframe{
  max-width: 400px;
  width: 100%;
  height: 500px;
  background-image: url(image/about2.png);
  background-size: cover;
}



/* menu */

.menu_inner{
  display:flex;
 flex-direction: column;
  gap: 8px;
  border: solid 1px #070c26;
}

}




/* ポップアップ*/
.modal {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.8); 
    opacity: 0; 
    visibility: hidden; 
    transition: opacity 0.5s, visibility 0.5s; 
}
.modal-content {
    display: block;
    width: 80%;
    max-width: 700px;
     margin: auto; 
    margin-top: 5%; 
}
#close {
    position: absolute;
    z-index: 1001; 
    top: 15px;
    right: 35px;
    color: #c8c5c5;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
}



/* 上に戻るボタン */


.move_top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 140px;
    background-color: rgba(254, 255, 255, 0.8);
    border-radius: 4px;
    align-items: center;
    padding: 8px 6px;
    font-size: 15px;
}

.move_top span{
color: #070c26;
vertical-align: middle;

}
/* .move_top i{
    color: #070c26;
} */


.move_top:hover{      
    transform: translateY(-3px);
    border-radius: 4px;
    /* border-bottom:2px solid #070c26; */
}
