@charset "UTF-8";


* {
    margin: 0;
    padding: 0;
    text-decoration: none;
    list-style-type: none;
}

@font-face {
    font-family: Dela_Gothic_One;
    src: url(../font/Dela_Gothic_One/DelaGothicOne-Regular.ttf);
}

body {
    width: 100%;
    background-image: url(../images/backphoto.jpg);
}

header {
    height: 10vw;
    text-align: center;
    background-color:#4a2400;
    font-family: Dela_Gothic_One;
}

header img {
    width: 10%;
    margin-bottom: 3%;
}

/*ナビメニューのスタイルを指定*/
nav.NavMenu2 {
	position: fixed; /*表示位置を固定*/
	z-index: 11; /*重ね順を変更*/
	top: 0; /*表示位置を指定*/
	left: 0; /*表示位置を指定*/
	width: 100%; /*全幅表示*/
	transform: translateY(-100%); /*ナビを上に隠す上から出したい場合は、transform: translateYを使う。*/
	transition: all 0.6s; /*アニメーションの時間を指定*/
}

nav.NavMenu2 ul {
	list-style-type: none;
	background: white; /*背景をグレーにする*/
}

nav.NavMenu2 ul li {
	width: 100%;
	
}

nav.NavMenu2 ul li:last-child {
	border-bottom: none; /*最後のメニュー項目のみ下線を消す*/
}

nav.NavMenu2 ul li a {
	display: block; /*クリックできる領域を広げる*/
	text-align: center; /*テキストを中央揃え*/
	text-decoration: none;
	line-height: 3;
	color: #4a2400;
	font-size: 1.1em;
}

/*トグルボタンが押されたときに付与するクラス*/
nav.NavMenu2.active {
	transform: translateY(0%);/*上から出したい場合は、transform: translateYを使う。*/
}

/*トグルボタンのスタイルを指定*/
.Toggle {
	position: fixed;/* bodyに対しての絶対位置指定 */
	right: 13px;
	top: 12px;
	width: 42px;
	height: 42px;
	cursor: pointer;/*divだけどカーソルが変わるようにしている*/
	z-index: 3;/*ボタンを一番上にしている(押せなくなるから)*/
}

.Toggle span {
	display: block;
	position: absolute;
	left: 6px;
	width: 30px;
	border-bottom: solid 3px #000;
	transition: .35s ease-in-out;/*変化の速度を指定*/
}

.Toggle span:nth-child(1) {
	top: 9px;
}

.Toggle span:nth-child(2) {
	top: 18px;
}

.Toggle span:nth-child(3) {
	top: 27px;
}

/* 最初のspanをマイナス45度に */
.Toggle.active span:nth-child(1) {
	top: 18px;
	left: 6px;
	transform: rotate(-45deg);
}

/* 2番目と3番目のspanを45度に */
.Toggle.active span:nth-child(2),
.Toggle.active span:nth-child(3) {
	top: 18px;
	transform: rotate(45deg);
}

nav ul li:hover 
 {
        animation:shake 1s ease;
    }
     
    @keyframes shake {
        0%   { transform:rotate(0); }
        16%  { transform:rotate(12deg); }
        32%  { transform:rotate(/*-10deg*/); }
        48%  { transform:rotate(8deg); }
        64%  { transform:rotate(-6deg); }
        80%  { transform:rotate(4deg); }
        96%  { transform:rotate(-2deg); }
        100% { transform:rotate(0deg); }
    }

nav ul {
    display: flex;

}

nav ul li {
    margin-top: 5%;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.5vw;
}

nav ul li a {
   color: aliceblue
}

h1 {
width: 100%;
}

h1 img {
    margin-top: 4%;
    width: 100%;
}

/*h1 {
    display: block;
    font-size: 2em;
    margin-block-start: 0.67em;
    margin-block-end: 0.67em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
    unicode-bidi: isolate;
}*/


/*スムーススクロール*/


#page-top {
    z-index: 10;
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 80px;
    height: 80px;
    border-radius: 40px;
    background-image: url(../images/topback2.png);
    background-size: 100% 100%;
    block-size: 100% 100%;
}

#page-top a {
    display: block;
    line-height: 6;
    font-size: 14px;
    color: #fff;
    text-align: center;
    text-decoration: none;
    opacity: 0;
}
#page-top a:hover {
    z-index: 10;
    width: 80px;
    height: 80px;
    border-radius: 40px;
    color: aliceblue;
    font-family: Dela_Gothic_One;
    background-image: url(../images/chocolate.png);
    opacity: 1;
}


.flex-box2 {
    margin-top: 13%;
    width: 100%;
}

.flex-box1 h2 {
    margin-top: 10%;
    width: 100%;
}

.flex-box1 h2 img {
    display: block;
    width: 75%;
    height: 80%;
    margin-left: auto;
    margin-right: auto;
}

.pp {
    margin-bottom: 5%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    font-size: 3vw;
    font-family: Dela_Gothic_One;
    color: #4a2400;
}

p:nth-of-type(2) {
    
text-align: center;
    font-family: Dela_Gothic_One;
    font-size: 2.5vw;
    color: #eec362;
}

section:nth-of-type(1) table {
    margin-left: auto;
    margin-right: auto;
    width: 50%;
    color: #eec362;
    font-size: 2vw;
    font-family: Dela_Gothic_One;
    text-align: center;
    border: solid 2px #eec362;
    background-color:white
}



section:nth-of-type(2) h2 {
    width: 25%;
    padding-top: 8%;
    margin-bottom: 5%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    font-size: 3vw;
    font-family: Dela_Gothic_One;
    color: #4a2400;
    
}


.item_box * {
    box-sizing: border-box;
  }
 
  .item_link {
    display: block;
  }
  
  .item_content {
    position: relative;
    overflow: hidden;
  }

  .item_image img {
    width: 70%;
    margin-left: 15%;
    margin-bottom: 5%;
    vertical-align: top;
  }

  .item_mask {
    width: 70%;
    height: 93%;
    margin-left: 15%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.8);
    opacity: 0;
  }
  
  .item_mask-text {
    width: 95%;
    padding: 0.5em;
    font-size: 1em;
    font-family: serif;
    color: #fff;
    text-align: center;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
  }

  .item_text {
    margin-top: 10px;
    text-align: center;
  }

  .item_box .item_link:hover .item_mask {
    opacity: 1;
  }

  /* -fade-in */
  .item_box.-fade-in .item_mask {
    transition: opacity 1.0s ease;
  }

  .footer-box1 {
    width: 100%;
    height: 30%;
    background-color: #4a2400;
}

.footer-box1 img {
    display: block;
    padding-top: 2%;
    margin-left: auto;
    margin-right: auto;
}

.footer-box1 ul {
    display: flex;
    width: 80%;
    margin-top: 3%;
    margin-left: auto;
    margin-right: auto;
}

.footer-box1 ul li {
    padding-right: 2%;
}

.footer-box1 ul li a {
    text-align: center;
    color: white;
    font-size: 2vw;
    font-family: Dela_Gothic_One;
}

footer p {
    margin-top: 2%;
    color: white;
    font-size: 0.5%;
    font-family: serif;
    text-align: center;
}


.nav01 .navItem {
    opacity: 0;
    flex: 1 1 20%;
    text-align: center;
  }

  .nav01 .navItem:hover a {
    transform: rotateX(360deg);
  }

.nav02 a {
    
  transition: 0.3s;
}

.nav02 .navDrop {
  z-index: 10;
  position: relative;
}
.nav02 .navDrop ul {
  z-index: 10;
  position: absolute;
    left: 15%;
  width: 80%;
  height: 0px;
  overflow: hidden;
  transition: 0.3s;
  display: block;
}
.nav02 .navDrop li {
    z-index: 10;
    height: 10px;
    font-size: 1.5vw;
}
.nav02 .navDrop:hover ul {
    z-index: 10;
    display: block;
    height: 250%;
}