@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 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: 20%;
}

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-box1 {
    display: flex;
}

.flex-box2 {
    margin-top: 10%;
    margin-left: 10%;
    width: 45%;
    height: 30vw;
    border: solid 2px #4a2400;
    background-color: white;
}

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

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

.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;
}

p:nth-of-type(3) {
    margin-top: 5%;
    margin-left: 12%;
    font-size: 2vw;
    color: #eec362;
    font-family: Dela_Gothic_One;
}

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;
    
}

.img-box1 {
    display: flex;
    margin-bottom: 3%;
    margin-left: 23%;
}

.img-box9 {
    display: flex;
    margin-left: 11%;
    margin-bottom: 10%;
}

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

  .item_image {
    margin-right: 5%;
  }

  .item_image img {
    width: 100%;
    vertical-align: top;
  }

  .item_mask {
    width: 95%;
    height: 100%;
    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;
  }

  .flex-box3 {
    display: flex;
    width: 58%;
    height: 20%;
    background-color: white;
    margin-left: 23%;
    border: solid 2px #120901;
}

.flex-box3:nth-of-type(1) ul:nth-child(1) {
    margin-left: 2%;
  margin-right: 20%;
  color: #120901;
}

.flex-box3:nth-of-type(1) ul:nth-child(2) {
    color:#c53d43
  }

.flex-box3 ul li {
    font-size: 1.8vw;
    font-weight: bold;
}

section:nth-of-type(4) {
    margin-top: 5%;
    margin-left: auto;
    margin-right: auto;
    width: 58%;
}

section:nth-of-type(4) {
    margin-bottom: 5%;
}

section:nth-of-type(4) img {
    margin-top: 5%;
    margin-left: 4%;
    width: 100%;
}


  .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 {
    margin-left: 5%;
}

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

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

