*,
::before,
::after {
  box-sizing: border-box;
  border-style: solid;
  border-width: 0;
  margin: 0;
}

body {
  font-family: 'Noto Serif JP', serif;
  /* font-family: YuMincho,'Yu Mincho', serif; */
  font-weight:lighter;
  line-height: 1.875rem;
  overflow-x: hidden;/*-----------水平方向のオーバーフローを非表示に*/
  
}

ul {
  /* padding: 0; */
  list-style: none;
}

a {
  background: transparent;
  text-decoration: none;
  color: inherit;/* リンク要素カラーを親要素から継承*/
}
.container_s{
    margin: 0 40px;
}
iframe{
    width: 100%;
}
section{
    padding-top: 80px;
}
.midashi-box{             
    /* padding-top: 80px; */
    font-family: serif;
    font-size: 1.17rem;
    color: #707070;
}
@media(min-width:768px){
    .midashi-box h2{
        text-align: center;
}
.container_s{
    width: 600px;
    margin: 0 auto;
}
section#Menu{
    padding-top: 150px;
}

}
@media(min-width:1024px){
    .container_s{
        width: 780px;
        margin: 0 auto;
    }
    
}
/* ========body  ぺーじ移行時フェードイン========== */
body{
    animation: fadein 2s forwards;
}

@keyframes fadein {
	0% {opacity: 0}
	100% {opacity: 1}
}
/* =======メニューをクリックした時にスムースに移動 */
html{
    scroll-behavior: smooth;
    scroll-padding-top: 70px;
}


/* =============================================
ヘッダーのCSSはここから
============================================= */
/* ヘッダー01 */
header#header01 {
  padding: 1rem;
  background-color: #fff;
    width: 100%;
    position: fixed;
    z-index: 9;
    top: 0;
    /* 最初は不透明度０ */
    opacity: 0;
    /* 最初は70px上に配置 */
    transform: translateY(-70px);
    /* トランジション */
    transition: all 0.5s;
}
#header01.fall{
    opacity: 1;
    transform: none;
}
@media(max-width:767px){
    header#header01{
        display: none;
    }

}

nav.nav {
    display: flex;
    justify-content: center;
  max-width: 660px;
  margin: 0 auto;
  font-size: 1rem;
}

nav.nav ul.item {
  display: flex;
  align-items: center;
  padding-left: 0;
}

nav.nav ul.item li.list {
  padding: 0 1rem;
}

nav.nav ul.item li.list a {
  font-weight: normal;
  color:rgb(127,124,124);
  transition-duration: 1s;
}
nav.nav ul.item li.list a:hover{
    opacity: 0.5;
}


nav.nav ul.item li.logo {
  margin: 0 auto;
  padding: 0 2rem;
}

nav.nav ul.item li.logo img {
  width: 80px;
  height: 30px;
  object-fit: contain;
}


/*-----------------------
  ハンバーガーアイコン(スマホ時)
  ------------------------*/

  .menu_btn{
    width: 50px;
    height: 50px;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgb(214 3 63 / 26%);
    /* 位置を固定 */
  position: fixed;
  top: 5px;
  right: 5px;
  /* カーソルを指差しマークにする */
  cursor: pointer;
  /* メニューボタンの重なり順を一番上にする */
  z-index: 999;  /*---------------------------z-index:999---*/
}
/* 三本線の真ん中 */
.menu__line {
    background-color: white;
    display: block;
    width: 30px;
    height: 2px;
    position: relative;
    /*3秒かけて変化する*/
   transition: all 0.3s;
}

/*三本線の上下*/
.menu__line::before,
.menu__line::after{
    content: "";
    display: block;
    width: 30px;
    height: 2px;
    position: absolute;

    /*3秒かけて変化*/
   transition: all 0.3s
}
/* 三本線の上 */
.menu__line::before {
    top: -10px;
    background-color: white;   
}
/* 三本線の下 */
.menu__line::after {
    top: 10px;
    background-color: white;

}
@media(min-width:768px){
    .menu_btn{
        display: none;
    }
}
/* ------------------------
クラスactiveがつくとハンバーガーアイコンが「×」になる
------------------------ */
/* 三本線の真ん中にクラスactiveが付いたとき */
.menu__line.active {
    background: transparent;
  }
  /* 三本線の上にクラスactiveが付いたとき */
  .menu__line.active::before {
    transform: rotate(45deg);
    top: 0;
  }
  /* 三本線の下にクラスactiveが付いたとき */
  .menu__line.active::after {
    transform: rotate(-45deg);
    top: 0;
  }    
  /* ------------------------
      オーバーレイ
------------------------ */
.overlay{
    /*背景色　白*/
    background-color: white;
    position: fixed;
    top: 0;
    /*全画面表示*/
    width: 100%;
    height:100%;
    /*子要素のoverlay_listを天地左右の中央揃え*/
    display: flex;
    justify-content: center;
    align-items: center;
    /* 不透明度0% */
    opacity: 0;
    /* 自分の横幅分、右に移動 */
    transform: translateY(-100%);
    /* 自分の横幅分、右に移動 */
    transition: all 0.3s;
    /* オーバーレイの重なり順を、mainより上、メニューボタンより下にする */
    z-index: 99;/*-----------------------------------------------z-index:99-------*/
}
.overlay_column{
    display: flex;
    flex-direction: column;
}
.overlay_logo{
    width: 160px;
    height: 50px;
    object-fit: contain;
}
.overlay_logo img{
    width: 100%;
    height: 50px;
    object-fit: contain;
}
overlay-box{
    display: flex;
    justify-content: center;
}
.overlay_list{
    display: flex;
    flex-direction: column;
    padding-top: 30px;
}
.overlay__item{
    list-style: none;
    font-size: 20px;
    gap: 10px;
    color:  rgb(247, 243, 245);
    padding: 5px 0;
}
.overlay__item:hover{
    transform: scale(1.1);
}
/* ------------------------
クラスshowがつくとオーバーレイ部分が表示される
------------------------ */
.overlay.show {
    /* 不透明度100% */
    opacity: 1;
    /* 移動なし */
    transform: none;
}
.overlay__item a{
     color:  rgb(127,124,124);
   
}
/* --------------------------
        Menu
-----------------------------*/
dd.long-text{
    font-size: 0.86rem;
}
.small-text{
    font-size:0.63rem
}
.long-text{
    line-height: 1.35rem;
}
section#Menu{
    padding-bottom: 0;
    padding-top: 0;
}
.midashi__Menu{
    position: relative;
    z-index: 1;
}

.midashi__Menu::before{
    content: "Menu";
    color: #EAD0E4;
    font-size: 2.5rem;
    font-weight: normal;
    font-family: 'Pinyon Script', cursive;
    position: absolute;
    text-align: center;
    top: -1.28rem;
    left: -1rem;
    transform: rotate(-17deg);
    z-index: -1;
}
.Menu-textbox{
    padding-top: 80px;
    padding-bottom: 80px;
    background-image: url(../img/kabe_gray_light_2.jpg);
    background-color:rgba(255,255,255,0.5);
    background-blend-mode:darken;
}
.midashi__setumei{
    padding-top: 50px;
}

#Menu img{
    width: 100%;
}

.menu-midashi{
    padding-bottom: 30px;
}
h3,.h3-02,.h3-03{
    position: relative;
    font-family: serif;
}
h3::before{
    content: "";
    width: 200px;
    height: 3px;
    border-radius: 2px;
    background-color: #FAEDF7;
    position: absolute;
    bottom: -0.35rem;
    left: 0;
    right: 0;
}
/* {
    position: relative; 
} */
.h3-02::before{
    content: "";
    width: 117px;
    height: 3px;
    border-radius: 2px;
    background-color: #FAEDF7;
    position: absolute;
    bottom: -0.35rem;
    left: 0;
    right: 0;
}
.h3-03{
    /* position: relative; */
}
.h3-03::before{
    content: "";
    width: 55px;
    height: 3px;
    border-radius: 2px;
    background-color: #FAEDF7;
    position: absolute;
    bottom: -0.35rem;
    left: 0;
    right: 0;
}
dl{
    /* padding-top: 20px; */
    padding-bottom: 30px;
}

.dl-4th{
    padding-bottom: 0;
}
@media(min-width:768px){
    
    .midashi__Menu::before{
        left: 15rem;
    }
    
    .midashi__setumei{
        text-align: center;
    }
    
    .midashi__setumei span{
        display: block;
    }
    .menu-container{
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    .menu-container dl{
        width: 48%;
    }
}
@media(min-width:1024px){
    dd.long-text{
        font-size: 1rem;
    }
    .small-text{
        font-size:0.86rem
    }
    .midashi__Menu::before{
        left: 20.8rem;
    }
    .Menu-syurui{
        padding: 60px 0 150px;
    }
    .midashi__setumei{
        padding-top: 100px;
        padding-bottom: 100px;
    }
}
/* ----------------------------
            footer
------------------------------*/
footer{
    background-image: url(../img/footer.jpg);
    background-size: cover;
    margin: 80px 0 0;
}
/* .nav-footer{
    text-align: center;
} */
.nav-footerlogo{
    text-align: center;
    padding-top: 1rem;
}
.nav-footer .nav-footerlogo img{
    width: 100px;
  height: 40px;
  object-fit: contain;
}
.nav-list ul{
    text-align: center;
    padding: 0 0 1rem 0;
}
.nav-list li{
    color: white;
    line-height: 1.8rem;
}
.nav-footer a{
    transition-duration: 1s;
}
.nav-footer a:hover{
    opacity: 0.5;
}

/* ========page_top btn=============== */
.page_top{
    width: 35px;
    height: 45px;
    cursor: pointer;
    /* 右下に固定 */
    position: fixed;
    right: 10px;
    bottom: 230px;
    /* 最初は不透明度０ */
    opacity: 0;
    /* 最初は100px右に配置 */
    transform: translateX(100px);
    /* トランジション */
    transition: all 0.3s;

}
.page_top img{
    max-width:100%;
}
.page_top.show{
    opacity: 1;
    transform: none;
}
@media(min-width:768px){
    .page_top{
        width: 55px;
        height: 65px;
        right: 20px;
    } 
}
@media(max-width:767px){
    .page_top{
        display: none;
    }
}
@media(min-width:1024px){
    .page_top{
        right:30px;
    }
}

/* =======ふわふわアニメーション=========== */
.page_top{
    animation: fuwafuwa 3s ease-in-out infinite alternate;
  transition: 1.5s ease-in-out;
}
@keyframes fuwafuwa {
    0% {
      transform:translate(0, 0) rotate(-20deg);
    }
    50% {
      transform:translate(0, -20px) rotate(0deg);
    }
    100% {
      transform:translate(0, 0) rotate(20deg);
    }
  }

  /* ========================================
        ** フェードインアニメーション **
========================================== */
/* 基本のフェードイン（変化前） */
.menu-midashi,
.midashi__setumei,
.dl-first,
.dl-4th{
    opacity: 0;
    transition: all 0.5s;
}
/* 下の方から表示 */
.menu-midashi,
.midashi__setumei,
.dl-first,
.dl-4th{
    transform: translateY(50px);
}
/* 基本のフェードイン（変化後） */
.menu-midashi.show,
.midashi__setumei.show,
.dl-first.show,
.dl-4th.show{
    opacity: 1;
    transform: none;
}
