.dFlex {
  display: flex; justify-content: space-between; flex-wrap: wrap;
}
body {
  height: auto !important;
}

.official-header {
  position: sticky; width: 100%; top: 0; left: 0; background-color: #fff; z-index: 1999; font-family: 'Noto Sans JP', sans-serif; font-weight: bold;
  & .btn-bar {
    display: none;
  }
  & .member {
    padding: 8px 20px; border: 1px solid #b7a35c; border-radius: 20px; line-height: 1; margin-right: 10px; color: #b7a35c; 
  }
  & .login {
    padding: 8px 20px; border-radius: 20px; background-color: #e60012; line-height: 1; color: #ffffff;
  }
  & h1 {
    width: 6%;
  }
  & .logoBox {
    width: 6%;
  }
  & .menu {
    width: 92%; display: flex; justify-content: flex-end; 
    & img {
      margin: 0 10px 0 0;     
    }
    & .navbar {
      align-self: center;
    }
  }
  & a:hover, & a:focus {
    opacity: 0.7;
  }
  & .sub-menu {
    display: none;
  }
  & .content {
    display: flex; align-items: center; padding: 16px; justify-content: space-between;
  }
}
.group__logo {
  border-bottom: #e7e7e7 solid 1px; padding: 8px 16px;
  & a {
    display: block; width: 75%; max-width: 240px; line-height: 1;
  }
}

.nav {
  align-items: center; display: flex; justify-content: flex-end; gap:0 30px; list-style: none; margin:0 30px 0 0;
  & li {
    list-style: none;
    & a {
      font-size: 0.9375rem;
      &:hover, &:focus {
        color: #b7a35c; opacity: 1;
      }
      &.isActive {
        color: #b7a35c;
      }
    }
  }
}

.btn-link {
  transition: all 0.4s; max-width: 350px; margin: 0 auto; background-color: #595959; padding: 12px 0; border-radius: 10px; box-shadow: 0 4px #e5e5e5; display: block; font-size: 2.2rem; font-weight: bold; color: #fff; line-height: 1.5; text-align: center; font-family: 'Noto Sans JP', sans-serif; 
  &.yclidLink:after {
    content: '※会員登録が必要です'; display: block; font-size: 1.2rem; text-align: center; line-height: 1; 
  }
  & span {
    background-image: url("/taqsie/assets/images/top/arrow.webp"); background-repeat: no-repeat; background-position: center right; padding-right: 30px;
    &.small {
      background: none; padding: 0; font-size: 81.8%;
    }
  }
  &:hover, &:focus {
    opacity: 0.7; background-position: center right 5%; 
  }
}

.voiceWrap {
  & .container {
    width: calc( 100% - 40px); max-width: 1240px; margin: 40px auto 40px auto; padding: 0 0 40px 0;
    & li {
      display: block; margin: 0 20px;
      & .voice-item {
        display: block;
        & .img {
          margin: 0 0 20px 0;
        }
        & .inner {
          & .add {
            font-size: 0.875rem; margin: 0 0 10px 0;
          }
          & .txt {
            font-size: 1.25rem;; font-weight: bold;
          }
        }
        & .btn {
          margin: 20px 0 0 0; color:#917F33;
        }
      }
    }
  }
  & + .btn-link {
    background: #917F33; color:#fff;font-size: 1.2rem;
  }
}

.cta__box {
  padding: 40px; box-sizing: border-box; border: #f8ab88 solid 2px; margin: 60px auto 0 auto;
  & .text__box {
    position: relative; padding: 0 0 0 calc(132px + 20px ); margin: 0 0 30px 0;
    & .img {
      position: absolute; left: 0; top:50%; transform: translateY(-50%);
    }
    & p {
      &:nth-of-type(1) {
        font-size: 2.25rem; font-weight: bold;
        & span {
          color: #f84325;
        }
      }
      &:nth-of-type(2) {
        font-size: 1rem; margin: 10px 0 0 0;
      }
    }
  }
  & .img__box {
    & figure {
      display: block;
      & img {
        display: block;
        &:nth-of-type(1) {
          width: 28.5%; float: left;
        }
        &:nth-of-type(2) {
          width: 68.8%; float: right;
        }
      }
      & figcaption {
        display: block; width: 100%; text-align: right; clear: both;font-size: 12px;
      }
    }
  }
}

@media (min-width: 768px) {
  .only-sp {
    display: none !important; 
  } 
}
@media (max-width: 767px) {
  .only-pc {
    display: none !important; 
  }
}
@media (min-width: 1040px) {
  .only-sp1040 {
    display: none !important; 
  } 
}
@media (max-width: 1039px) {
  .only-pc1040 {
    display: none !important; 
  }
}

@media (max-width: 1400px) {
  .official-header {
    padding: 0 0 0 0;
    & .content {
      padding: 0 0 0 16px;
    }
    & .btn-bar {
      padding: 0px 5px; display: flex; align-items: center; justify-content: center; width: 65px; cursor: pointer; flex-direction: column; font-size: 0.75rem; color: #fff; background-color: #000; padding-top: 2px;
      & .box-line {
        width: 30px; height: 30px; position: relative; margin-bottom: 0;
      }
      & span {
        background-color: #fff; width: 100%; height: 3px; display: block; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); transition: all 0.4s;
        &.line-1 {
          transform: translate(-50%, -11px); transition: all 0.4s; 
        }
        &.line-3 {
          transform: translate(-50%, 8px); transition: all 0.4s;
        }
      }
      & .close {
        display: none;
      }
      &.isActive {
        & span {
          &.line-1 {
            transform: translate(-50%, -50%) rotate(-45deg);
          }
          &.line-2 {
            width: 0;
          }
          &.line-3 {
            transform: translate(-50%, -50%) rotate(45deg);
          }
        }
        & .close {
          display: block;
        }
        & .open { 
          display: none;
        }
      }
    }
    & .navbar {
      display: none; position: absolute; width: 100%; height: 100vh; top: 102px; background-color: #fff; border-top: 1px solid #e0e0e0; flex-wrap: wrap; justify-content: space-between; padding: 20px;
    }
    & .nav {
      flex-wrap: wrap; justify-content: space-between;
      & li {
        margin-right: 0; border: 1px solid #e0e0e0; width: 48%; margin-bottom: 10px; border-radius: 10px; padding-left: 40px; background-image: url("/taqsie/assets/images/top/arr_left.webp"); background-repeat: no-repeat; background-position: center left 10px; display: flex; align-items: center;
        & a {
          display: block; padding: 10px 0; font-size: 0.875rem; width: 100%;
        }
      }
    }
    & .menu {
      height: 65px;
      & img {
        margin-right: 0; width: 20px; height: 30px;
      }
    }
    & .login {
      border-radius: 0; flex-direction: column; align-items: center; padding: 8px; width: 65px; font-size: 0.75rem; white-space: nowrap;
    }
    & .member {
      border-radius: 0; flex-direction: column; align-items: center; margin-right: 0; border: none; border-left: 2px solid #e7e7e7; color: #bba866; padding: 8px; width: 65px; font-size: 0.75rem; white-space: nowrap;
    }
    & .sub-menu {
      width: 100%; justify-content: flex-start; display: flex;
      & li {
        font-weight: 400; border: none; width: unset; margin-right: 10px;
        & a {
          white-space: nowrap;
        }
      }
    }
  }
}
@media ( max-width:1000px) {

  .voiceWrap {
    & .container {
      & li {
        margin: 0 20px;
        & .voice-item {
          & .img {
          }
          & .inner {
            & .add {
              font-size: 0.875rem; margin: 0 0 10px 0;
            }
            & .txt {
              font-size: 1.25rem;; font-weight: bold;
            }
          }
          & p.btn {
            font-size: 1.15rem !important; text-align: left; width: 100%; padding: 0 !important; margin: 20px 0 0 0;
          }
        }
      }
    }
    & + .btn-link {
      background: #917F33; color:#fff;font-size: 1.2rem;
    }
  }
}
@media (max-width: 767px) {
  .official-header {
    & h1 , & .logoBox {
      width: unset;
    }
    & .nav {
      gap:0 4%; margin:0;
      & li {
        flex-basis: 48%; width: auto;
        & a {
          line-height: 1.4;
        }
        & > ul {
          padding-top: 8px;
          & li {
            & a {
              padding: 3px 0;
            }
          }
        }
        &:nth-of-type(7) {
          height: 72px;
        }
      }
    }
    & .navbar {
      top:110px;
    }
  }
  .group__logo {
    padding: 12px 16px;
    & a {
      display: block; max-width: 240px; width: 75%;
    }
  }
  .btn-link {
    max-width: 295px; font-size: 1.8rem;
  }
  .cta__box {
    width: calc( 100% - 40px ); padding: 20px;
    & .text__box { 
      padding: 0 0 0 calc( 20% + 10px);
      & .img {
        width: 20%;
      }
      & p {
        &:nth-of-type(1) {
          font-size: 4vw;
        }
        &:nth-of-type(2) {
          font-size:12px;
        }
      }
    }
    & .img__box {
      figure {
        & img {
          &:nth-of-type(1) {
            width: 60%; float: none; margin: 0 auto 10px auto;
          }
          &:nth-of-type(2) {
            width: 100%; float: none; margin: 0 0 0 0;
          }
        }
        & figcaption {
          margin: 10px 0 0 0;
        }
      }
      
    }
  }
}
@media (max-width: 435px) {
  .official-header {
    & .menu {
      height: 65px;
    }
    & .nav {
      & li {
        background-image: url("/taqsie/assets/images/common/arr_left_menu_sp.webp");
      }
    }
  }    
}

/* SLIDER */
#voiceSlider {
  & .slick-arrow {
    width: 40px; height: 40px; cursor: pointer; border: none; outline: none; font-size: 0; position: absolute; top: 70px; z-index: 1;
    &:before {
      content: ''; display: block; position: absolute; top: 0px;
    }
  }
  & .slick-next {
    position: absolute; top:50%; right: 0;z-index: 2007; transform: translateY(-50%);
    &:before {
      background-image: url("../img/2x/icon_slider_next.png"); background-position: center center; background-repeat: no-repeat; background-size: contain; width: 40px; height: 40px; 
    }
  }
  & .slick-prev {
    position: absolute; top:50%; left: 0;z-index: 2007; transform: translateY(-50%);
    &:before {
      background-image: url("../img/2x/icon_slider_pre.png"); background-position: center center; background-repeat: no-repeat; background-size: contain; width: 40px; height: 40px; 
    }
  }
  & .slick-dotted {
    &.slick-slider {
      margin-bottom: 0;
    }
  }
  & .slick-dots {
    position: absolute; bottom: 20px; display: block; width: 100%; padding: 0; margin: 0; list-style: none; text-align: center; height: 20px !important;
    & li {
      position: relative; display: inline-block !important; width: 10px !important; height: 10px !important; margin: 0 5px; padding: 0; cursor: pointer; 
      & button {
        font-size: 0; line-height: 0; display: block; width: 10px; height: 10px; padding: 5px; cursor: pointer; color: transparent; border: 0; outline: none; background: #ccc; text-indent: -9999px; border-radius: 50%;
        &:hover, &:focus {
          outline: none;
          &:before {
            opacity: 1;
          }
        }
        &:before {
          font-family: 'slick'; font-size: 10px; line-height: 15px; position: absolute; top: 0;left: 0; width: 10px; height: 10px; content: '•'; text-align: center; color: #917F33;     -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
        }
      }
      &.slick-active {
        & button {
          background: #917F33; 
          &:before {
            opacity: .75; color: #666;
          }
        }
      }
    }
  }
}

