/**
* common
*/
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap');

:root {
  /**
  * color
  */
  --main-bg-color: #f7ebd5;
  --main-color: #535353;
  --color-white: #ffffff;
  --color-orange: #ec8f0b;
}

.sp-only {
  @media screen and (min-width:769px) {
    display: none;
  }
}
.tb-only {
  @media screen and (min-width:961px) {
    display: none;
  }
}
.pc-only {
  @media screen and (max-width:768px) {
    display: none;
  }
}

.mb-10 { margin-bottom: 10px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-40 { margin-bottom: 40px; }

.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-orange {
  color: var(--color-orange);
}
.text-bold {
  font-weight: bold;
}
.text-22 {
  font-size: 22px;
}

a {
  color: currentColor;
  text-decoration: none;
}

figure {
  margin: 0 auto;
}
img {
  max-width: 100%;
  height: auto;
}


/**
* contents幅
*/
.contents-1080 {
  margin-inline: auto;
  padding-inline: 20px;
  width: 100%;
  max-width: calc(1080px + 40px);
}
.contents-797 {
  margin-inline: auto;
  padding-inline: 20px;
  width: 100%;
  max-width: calc(797px + 40px);
}
.contents-637 {
  margin-inline: auto;
  padding-inline: 20px;
  width: 100%;
  max-width: calc(637px + 40px);
}
.contents-615 {
  margin-inline: auto;
  padding-inline: 20px;
  width: 100%;
  max-width: calc(615px + 40px);
}

/**
* body
*/
body {
  margin: 0;
  padding: 0;
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  color: var(--main-color);
  text-align: justify;
  text-justify: inter-ideograph;
  background-color: var(--main-bg-color);
  overflow-x: hidden;
}

/**
* header
*/
header {
  background-color: var(--color-white);
  @media screen and (max-width:768px) {
    padding: 8px 0;
  }
  a {
    color: var(--color-orange);
    text-decoration: none;
  }
  .logo {
    width: 200px;
  }
  .contents-1080 {
    list-style-type: none;
    @media screen and (min-width:769px) {
      display: flex;
      flex-flow: row;
      justify-content: space-between;
      align-items: center;
      padding-top: 20px;
    }
    .pc-menu {
      display: flex;
      flex-flow: row;
      justify-content: flex-end;
      align-items: center;
      column-gap: 6%;
      margin: 0;
      padding: 0;
      list-style-type: none;
      li {
        white-space: nowrap;
      }
    }
  }
  &.sp-only {
    padding-left: 20px;
  }
}

/**
* スマホメニューボタン
*/
.sp-menu {
  position: fixed;
  top: 16px;
  right: 16px;
  background-color: var(--color-orange);
  cursor: pointer;
  width: 50px;
  height: 50px;
  border-radius: 5px;
  z-index: 999;
  .openbtn-area {
    transition: all 0.6s;
    width: 50px;
    height: 50px;
  }
  span {
    display: inline-block;
    transition: all 0.4s;
    position: absolute;
    left: 14px;
    height: 3px;
    border-radius: 2px;
    background: var(--color-white);
    width: 45%;
    &:nth-of-type(1) {
      top: 15px;
    }
    &:nth-of-type(2) {
      top: 23px;
    }
    &:nth-of-type(3) {
      top: 31px;
    }
  }
  &.active {
    background-color: transparent;
    .openbtn-area {
      transform: rotate(360deg);
    }
    span {
      background-color: var(--color-white);
      &:nth-of-type(1) {
        top: 18px;
        left: 18px;
        transform: translateY(6px) rotate(-45deg);
        width: 30%;
      }
      &:nth-of-type(2) {
        opacity: 0;
      }
      &:nth-of-type(3) {
        top: 30px;
        left: 18px;
        transform: translateY(-6px) rotate(45deg);
        width: 30%;
      }
    }
  }
}

/**
* スマホメニュー
*/
.sp-nav {
  position: fixed;
  z-index: 500;
  top: 0;
  right: -120%;
  padding-top: 24px;
  width: 88%;
  height: 100vh;
  color: var(--color-white);
  background: var(--color-orange);
  transition: all 0.6s;
  filter: drop-shadow(2px 0 6px rgba(0, 0, 0, 0.88));
  .sp-nav-logo {
    position: absolute;
    top: 16px;
    left: 16px;
    width: 72%;
  }
  &.panelactive {
    right: 0;
    #sp-g-nav-list {
      position: fixed;
      z-index: 999;
      width: 100%;
      height: 100vh;
      overflow: auto;
      -webkit-overflow-scrolling: touch;
    }
  }
  h2 {
    img {
      max-width: 64%;
    }
  }
  ul {
    position: absolute;
    z-index: 999;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    li {
      list-style: none;
      text-align: center;
      a {
        color: var(--color-white);
        text-decoration: none;
        padding: 10px;
        display: block;
        text-transform: uppercase;
        letter-spacing: 0.1em;
      }
    }
  }
}

/**
* footer
*/
footer {
  padding-top: 80px;
  padding-bottom: 48px;
  color: var(--color-orange);
  text-align: center;
  @media screen and (min-width:769px) {
    padding-top: 160px;
    padding-bottom: 80px;
  }
  .logo {
    margin-bottom: 16px;
    margin-inline: auto;
    padding-inline: 20px;
    width: 100%;
    max-width: calc(388px + 40px);
    img {
      max-width: 100%;
    }
  }
  .copy {
    font-size: 10px;
  }
}

/**
* 見出し
*/
h2 {
  margin-bottom: 32px;
  font-size: 24px;
  font-weight: bold;
  color: var(--color-orange);
  text-align: center;
  @media screen and (min-width:769px) {
    font-size: 38px;
  }
}

/**
* ボタン
*/
.button-orange {
  display: inline-block;
  margin: 0 auto;
  padding: 10px 32px;
  font-size: 18px;
  font-weight: 900;
  color: var(--color-white);
  background-color: var(--color-orange);
  text-decoration: none;
  transition: all 0.3s;
  &:hover {
    opacity: 0.7;
  }
}
.button-orange-border {
  display: inline-block;
  margin: 0 auto;
  padding: 12px 20px;
  font-size: 18px;
  font-weight: 900;
  color: var(--color-orange);
  border: 2px solid var(--color-orange);
  text-decoration: none;
  transition: all 0.3s;
  &:hover {
    color: var(--color-white);
    background-color: var(--color-orange);
  }
}

/**
* マップ
*/
.map-wrap {
  position: relative;
  width: 100%;
  height: 0;
  padding-top: 75%;
  iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
}

/**
* フォーム
*/
.form-wrap {
  dl {
    margin-bottom: 40px;
    font-size: 18px;
    @media screen and (min-width:769px) {
      display: flex;
      flex-flow: row;
      justify-content: space-between;
      align-items: center;
      column-gap: 16px;
    }
    &.label-start {
      align-items: flex-start;
      dt {
        padding-top: 8px;
      }
    }
    dt {
      width: 100%;
      font-weight: 900;
      color: var(--color-orange);
      @media screen and (min-width:769px) {
        width: 24%;
      }
    }
    dd {
      flex: 1;
    }
  }
  .required {
    display: inline-block;
    margin-left: 10px;
    padding: 1px 14px;
    color: var(--color-white);
    font-size: 18px;
    font-weight: 400;
    background-color: var(--color-orange);
  }
}
input[type=text]
, input[type=email]
, input[type=tel]
, input[type=number]
, input[type=date]
, textarea {
  padding: 16px 22px;
  width: 100%;
  background-color: rgba(236, 143, 11, 0.1);
}
input[type=radio] {
  accent-color: #d67d00;
  border: 1px solid #d67d00;
}
.form-buttons {
  text-align: center;
}