@charset "utf-8";
/* -------
 ●base
 ●header
 ●footer
------- */

/* ------------------------------------------------------
●base setting
------------------------------------------------------ */
* {
  box-sizing: border-box;
}
:root {
  --brown: #2C0909;
  --yellow: #F5D021;
  --pink: #EE869A;
  --pink_dark: #F02457;
  --blue: #5DC2D0;
  --orange: #F39800;
}
html {
  height: 100%;
}
body {
  color: var(--brown);
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
  overflow-wrap: break-word;
  word-wrap: break-word;
  margin: 0;
}
main {
  display: block;
}
h1, h2, h3, h4, p, figure {
  margin: 0;
}
h1, h2, h3, h4 {
  text-align: center;
  line-height: 1;
}
img {
  backface-visibility: hidden;
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}
a {
  overflow: hidden;
  transition: 0.5s ;
  backface-visibility: hidden;
  text-decoration: none;
  color: inherit;
}
ul[role="list"] {
  list-style: none;
  padding-inline-start: 0;
  margin: 0;
}
label {
  cursor: pointer;
}

@media screen and (min-width : 769px ){
  body {
    min-width: 1100px;
  }
  .sp {
    display: none;
  }
}
@media screen and (max-width:768px) {
  html>/**/body {
    font-size: 3.5vw; /* Except IE */
  }
  .pc {
    display: none;
  }
}
@media screen and (min-width:481px) and (max-width:768px) {
  .sp.tab {
    display: none;
  }
}

.btn {
  background-color: #fff;
  border: 2px solid var(--brown);
  border-radius: 5em;
  color: var(--brown);
  font-weight: 700;
  flex-grow: 0;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 1.1em 14px;
  transition: .3s ease;
  .text {
    flex-grow: 1;
    text-align: center;
    text-indent: 18px;
  }
  svg {
    flex-basis: 20px;
  }
  &:hover {
    background-color: var(--brown);
    color: #fff;
    transition: .3s ease;
    svg path {
      fill: #fff;
    }
  }
}


/*===============================================
●header
===============================================*/
header {
  position: fixed;
  left: 0px;
  top: 0px;
  right: 0px;
  width: 100%;
  z-index: 9999;
  .inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1300px;
    margin-left: auto;
    margin-right: auto;
  }
}
@media screen and (min-width : 769px ){
  header {
    min-width: 1100px;
    padding: 45px 20px;
  }
  .header_logo {
    flex-grow: 1;
    padding-left: 25%;
    text-align: center;
  }
  .header_nav {
    flex-basis: 25%;
    display: flex;
    justify-content: flex-end;
    ul {
      display: flex;
      gap: 30px;
      li {
        a {
          text-decoration: none;
          &:hover {
            text-decoration: underline;
          }
        }
      }
    }
  }
}
@media screen and (max-width:768px) {
  header {
    background-color: var(--yellow);
  }
  .header_logo {
    width: calc(100% - 80px);
    padding-left: 10px;
  }
  #gnav {
    position: absolute;
    z-index: 1;
    display: none;
    width: 100%;
    background-color: #FFFCDF;
    height: 100vh;
    ul {
      text-align: center;
      overflow-y: scroll;
      li {
        margin: 40px 0;
        a {
          display: block;
          height: 32px;
          img {
            height: 100%;
          }
        }
      }
    }
  }
  #gnavbtn02 {
    background-color: transparent;
    border: none;
    position: relative;
    width: 64px;
    height: 64px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    span {
      display: block;
      width: 24px;
      height: 2px;
      background-color: var(--brown);
      transform-origin: left;
      &:first-of-type {
        top: 20px;
      }
      &:nth-of-type(2) {
        margin: 6px 0;
      }
      &:last-of-type {
        top: 40px;
      }
    }
  }
  #gnavbtn02.on {
    background-color: #fff;
    span {
      &:first-of-type {
        transform: rotate(45deg);
        translate: 5px;
      }
      &:nth-of-type(2) {
        visibility: hidden;
      }
      &:last-of-type {
        transform: rotate(-45deg);
        translate: 5px;
      }
    }
  }
}

/*===============================================
●footer
===============================================*/
footer {
  background-color: var(--yellow);
  border-radius: 80px 80px 0 0;
  margin-top: 250px;
  padding: 70px 0 80px;
  text-align: center;
  position: relative;
  &::before {
    content: '';
    display: block;
    background-image: url(../images/footer.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 648px;
    left: 50%;
    top: 0;
    translate: -50% -100%;
    position: absolute;
    height: 130px;
  }
  .kouen {
    margin-top: 36px;
  }
  .btn {
    width: 190px;
    height: 60px;
  }
}
.copyright {
  display: inline-block;
  font-size: 12px;
  font-weight: 400;
  margin-top: 30px;
}

@media screen and (min-width: 769px) {
  .footer_right {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    bottom: 30px;
    right: 30px;
  }
}

@media screen and (max-width:768px) {
  footer {
    border-radius: 40px 40px 0 0;
    margin-top: 37vw;
    padding: 40px 0;
    &::before {
      width: 80%;
      height: 16vw;
    }
  }
  .footer_logo {
    width: 90%;
  }
  .footer_right {
    margin-top: 40px;
    .btn {
      margin: auto;
    }
  }
}

