/* ↓　ローディング画面　↓ */
/* ローディング画面 */
#loading{
    /* transition(だんだん消えていく): all 1s(1秒); */
    transition: all 5s;
    background-color: #828b3c;
    /* position: fixed(ビューポート(画面左上)から固定される); */
    position: fixed;
    /* z-index: 9999(数字が大きい程画面にかぶる=9999枚の一番上); */
    z-index: 9999;
    inset: 0;
    display: grid;
    place-items: center;
}

.loader {
    color: #dcfb89;
    font-size: 90px;
    text-indent: -9999em;
    overflow: hidden;
    width: 1em;
    height: 1em;
    border-radius: 50%;
    margin: 72px auto;
    position: relative;
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-animation: load6 1.7s infinite ease, round 1.7s infinite ease;
    animation: load6 1.7s infinite ease, round 1.7s infinite ease;
  }
  @-webkit-keyframes load6 {
    0% {
      box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
    }
    5%,
    95% {
      box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
    }
    10%,
    59% {
      box-shadow: 0 -0.83em 0 -0.4em, -0.087em -0.825em 0 -0.42em, -0.173em -0.812em 0 -0.44em, -0.256em -0.789em 0 -0.46em, -0.297em -0.775em 0 -0.477em;
    }
    20% {
      box-shadow: 0 -0.83em 0 -0.4em, -0.338em -0.758em 0 -0.42em, -0.555em -0.617em 0 -0.44em, -0.671em -0.488em 0 -0.46em, -0.749em -0.34em 0 -0.477em;
    }
    38% {
      box-shadow: 0 -0.83em 0 -0.4em, -0.377em -0.74em 0 -0.42em, -0.645em -0.522em 0 -0.44em, -0.775em -0.297em 0 -0.46em, -0.82em -0.09em 0 -0.477em;
    }
    100% {
      box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
    }
  }
  @keyframes load6 {
    0% {
      box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
    }
    5%,
    95% {
      box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
    }
    10%,
    59% {
      box-shadow: 0 -0.83em 0 -0.4em, -0.087em -0.825em 0 -0.42em, -0.173em -0.812em 0 -0.44em, -0.256em -0.789em 0 -0.46em, -0.297em -0.775em 0 -0.477em;
    }
    20% {
      box-shadow: 0 -0.83em 0 -0.4em, -0.338em -0.758em 0 -0.42em, -0.555em -0.617em 0 -0.44em, -0.671em -0.488em 0 -0.46em, -0.749em -0.34em 0 -0.477em;
    }
    38% {
      box-shadow: 0 -0.83em 0 -0.4em, -0.377em -0.74em 0 -0.42em, -0.645em -0.522em 0 -0.44em, -0.775em -0.297em 0 -0.46em, -0.82em -0.09em 0 -0.477em;
    }
    100% {
      box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
    }
  }
  @-webkit-keyframes round {
    0% {
      -webkit-transform: rotate(0deg);
      transform: rotate(0deg);
    }
    100% {
      -webkit-transform: rotate(360deg);
      transform: rotate(360deg);
    }
  }
  @keyframes round {
    0% {
      -webkit-transform: rotate(0deg);
      transform: rotate(0deg);
    }
    100% {
      -webkit-transform: rotate(360deg);
      transform: rotate(360deg);
    }
  }

.loaded{
    opacity: 0;
    visibility: hidden;
}
/* ↑　ローディング画面　↑ */

/*
SLIDE MENU
================================================ */
/* 開閉ボタン */
.btn-menu {
    position: fixed;
    right: 1rem;
    top: 1rem;
    z-index: 4;
    padding: .5rem 1rem;
    border: 1px solid var(--brown);
    border-radius: 50%;
    height: 4rem;
    width: 4rem;
    transition: .4s;
}
.btn-menu svg {
    fill: var(--brown);
    margin-top: .25rem;
    height: 2rem;
    width: 2rem;
}

/* 閉じるボタン */
#menu-close {
    border: 1px solid var(--light-green);
}
#menu-close svg {
    fill: var(--light-green);
}

/* スライドメニューパネル */
#menu-panel {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 4;
    padding: 8rem 2rem 2rem;
    width: max(32vw, 20rem);
    height: 100vh;
    background-color: #c2e08f;
    box-shadow: 0 0 2rem var(--brown);
    font-family: var(--oswald-font);
    translate: 100vw;
}
.menu-list {
    list-style: none;
}
.menu-list li {
    margin: 1.5rem 0;
    opacity: 0;
}
.menu-list a {
    color: var(--light-green);
    text-decoration: none;
    font-size: 2rem;
}
/* ここまでメニューボタン */

body.kaisei-harunoumi-regular {
        font-family: "Kaisei HarunoUmi", serif;
        font-weight: 400;
        font-style: normal;
}

h1{
    color:#004d25;
    font-size:200%;
    margin: 20px auto;
}
    
#content{
    max-width:640px;
    margin-right:auto;
    margin-left:auto;
}
    
h1,h2,li,footer{
    text-align:center;
    font-family: "Josefin Slab", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    /* font-style: normal; */
}
    
/* nav li{
    list-style:none;
    width:33%;
    float:left;
} */
    
ul:after{
    content:"";
    display:block;
    clear:both;
}
    
/* ul{
    padding-bottom: 20px;
} */
    
table{
    width:100%;
}
th{
    text-align:left;
}
.price{
    text-align:right;
}
    
li a{
    color: #24140e;
}
li a:hover{
    text-decoration:none;
}
    
header{
    border-top:solid 10px #c2e08f;
}
    
h2{
    background-image:url(../images/bg_h2.png);
    background-repeat:no-repeat;
    background-position:center;
    background-size:220px 28px;
    padding-top:10px;
    padding-bottom: 10px;
}
    
section{
    box-shadow:-0 0 10px #ccc;
    margin-top:40px;
    padding-top:10px;
    padding-right:20px;
    padding-bottom:10px;
    padding-left:20px;
    text-align: center;
}

main{
    margin: 35px auto;
}
    
th img{
    border-radius:20px;
}
    
img{
    max-width:100%;
}
iframe{
    max-width:100%;
}

footer{
    margin: 30px auto;
}

/* ↓　トップ画像の設定　↓ */
#graphic {
    /* width: 640px;
	height: 426px;
	margin: 0 auto 30px auto;
    border:2px solid #866629; */
    /* border-radius: 10px; */
    /* box-shadow: 20px 20px 0 #5f6527; */
    width: auto;
    height: auto;
    border:2px solid #866629;
      /* border-radius: 10px; */
      box-shadow: 20px 20px 0 #5f6527;
}
#graphic ul {
    position: relative;
	list-style: none;
	padding-left: 0;
}
#graphic ul li {
    display: flex;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 0;
	opacity: 0;
	transition: opacity 1s ease-in-out;
}
#graphic ul li.now {
    display: flex;
	position: relative;
	top: 0;
	left: 0;
	z-index: 1;
	opacity: 1;
}
/* ↑　トップ画像の設定　↑ */

/* ↓　コンセプトページの設定　↓ */
#com_img{
    margin: 30px auto;
}

#com_img img{
border-radius:10px;
}
/* ↑　コンセプトページの設定　↑ */

/* ↓　メニューページの設定　↓ */
#allbox{
  display:flex;
  justify-content: center;
  margin-top: 20px;
}

#menubox{
  overflow: hidden;
}

#menubox figure{
  margin: 0 0 10px 20px;
  width: 160px;
  float: left;
}

.zoom{
  width: 150px;
  height: 150px;
  object-fit: cover; /* この一行を追加するだけ！ */
}



/* 親要素をrelativeに */
#menu body{
  position:relative;
}

#zoomback { 
  /* 絶対位置に配置 */
  position:absolute;
  top:0;
  
  /* 画面いっぱいに */
  width:100vw;
  height:100vh;
  
  /* 背景を少し透過 */
  background-color:rgba(0,0,0,0.8);
  
  /* 中のimgを中央揃え */
  display:flex;
  justify-content:center;
  align-items:center;

  display:none;
}

/* 拡大画像のサイズを調整 */
#zoomimg {
  width:50%;
  border:solid 5px #fff;
}


/* ↑　メニューページの設定　↑ */


@media(max-width:640px){
  li{
    width:auto;
    float:none;
  }
  li a{
    padding:none;
    }
}

/*
MOBILE SIZE
================================================ */
@media (max-width: 800px) {
  .title {
      font-size: 4rem;
  }
  p {
      padding: 0 1rem;
  }
  p,
  .menu-list li {
      font-size: 1rem;
  }
  #graphic {
	height: auto;
	margin: auto;
  object-fit: cover;
    border:2px solid #866629;
    margin: auto;
    width: 80%;
    box-shadow: 15px 15px 0 #5f6527;
  }
}
  