/* 

サイト外に配置したページとのスタイルの共有のため、
主にヘッダフッタなど共通CSSを切り出してWordPress外に置いた

*/

/* 本CSSファイルで使用する設定値 */
:root {
  --hmn2025-color-black: #403e3e;
  --hmn2025-color-red: #d21c30;
}

/******************************************
 *           新ヘッダー
 ******************************************/
/* セレクタそのままでやると過去のスタイルが効きすぎて打ち消しに手間どるので、
上書きではなくセレクタを振り直してスタイルを書き直した */

@media screen and (max-width: 768px) {
  .hmn_1907 .hide_sp,
  .hmn_1907.hide_sp {
    display: none !important;
  }
}

.hmn_2025 {
  .header-top {
    position: relative;
    width: 100%;
    height: 75px;
    padding-top: 15px;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    @media screen and (max-width: 768px) {
      padding-top: 9px;
      height: auto;
    }
  }
  .header-top__logo {
    max-width: 389px;
    width: 22%;
    position: absolute;
    left: 20px;
    top: 15px;
  }

  @media screen and (min-width: 1024px) {
    .header-top__logo {
      width: 33%;
    }
  }

  @media screen and (min-width: 769px) {
    .header-top__logo {
      height: 100%;
      display: flex;
      align-items: center;
      padding-bottom: 16px;
    }
  }

  @media screen and (max-width: 768px) {
    .header-top__logo {
      width: 33%;
      max-width: 250px;
      top: 18px;
      left: 15px;
    }
  }

  @media screen and (max-width: 568px) {
    .header-top__logo {
      width: 185px;
      top: 24px;
    }
  }

  @media screen and (max-width: 414px) {
    .header-top__logo {
      width: 170px;
      left: 10px;
    }
  }

  .header-top__buttons {
    margin-inline-start: auto;
    display: flex;
    flex-wrap: nowrap;
    gap: 16px;

    a {
      border: none;
      color: var(--hmn2025-color-black);
      font-size: clamp(10px, 1vw, 14px);
      padding: 8px 0;
      border-radius: 4px;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
    }
    a::before {
      content: "";
      display: inline-block;
      width: 18px;
      height: 18px;
      background-image: url(/assets/img/2025/circle_arrow_red.png);
      background-size: contain;
      background-repeat: no-repeat;
    }
    a:hover {
      background: none;
    }
    @media screen and (max-width: 768px) {
      .access {
        display: inline-block;
        margin-right: 72px;
        span {
          display: block;
          font-size: 9px;
          text-align: center;
          padding: 30px 0 0;
          background-position: top center;
          background-size: auto 25px;
          background-image: url(/assets/img/2025/icon_access_r.png);
          line-height: 1.4;
          color: var(--hmn2025-color-red);
        }
        a {
          display: inline-block;
          width: auto;
          padding: 7px 7px 4px;
          border: 1px solid #d21c30;
          background-color: #fff;
          line-height: 1;
          border-radius: 0;
        }
        a::before {
          content: none;
        }
      }
    }
  }
  .header-top__assist {
    margin-left: 24px;
    display: inline-block;
    a {
      padding: 8px;
      border: 1px solid #666;
      color: #666;
      background-color: #f4f4f4;
      border-radius: 4px;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 4px;
      font-size: clamp(10px, 1vw, 16px);
      line-height: 1;
      span {
        line-height: 1;
      }
    }
    a::before {
      content: "";
      display: inline-block;
      width: 18px;
      height: 18px;
      background-image: url(/assets/img/2025/user.svg);
      background-size: contain;
      background-repeat: no-repeat;
    }
  }
  .header-top__search {
    margin-left: 24px;
    display: flex;
    align-items: center;
    form {
      display: flex;
      align-items: center;
      input.search-field {
        padding: 7px;
        border: 1px solid #666;
        color: #666;
        border-radius: 4px 0 0 4px;
        font-size: 14px;
        line-height: 1;
        width: clamp(120px, 20vw, 240px);
        max-width: 100%;
      }
      button.search-submit {
        background-color: #666;
        border: none;
        padding: 6px 14px 7px;
        margin-left: 0;
        border-radius: 0 4px 4px 0;
        img {
          width: 24px;
          height: 24px;
        }
      }
    }
  }

  .header-bottom {
    height: calc(100% - 75px);
    position: relative;
    right: initial;
    bottom: initial;
    width: 100%;
    display: -webkit-flex;
    display: flex;
    gap: 16px;
    -webkit-flex-direction: row;
    flex-direction: row;
    -webkit-justify-content: flex-start;
    justify-content: flex-start;
    padding: 0 0 0 20px;
    .nav_pc {
      margin: auto auto 0 0;
      align-self: flex-end;
    }
  }
  .header-bottom__cv {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    align-self: flex-start;
  }
  .header-bottom__tel {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: clamp(10px, 1vw, 12px);
    text-align: center;
    li {
      line-height: 1;
    }
    dl {
      display: flex;
      align-items: center;
      gap: 8px;
      dt {
        color: #fff;
        font-size: clamp(10px, 1vw, 12px);
        font-weight: bold;
        background-color: #636060;
        padding: 3px 7px;
        line-height: 1;
      }
      dd {
        font-size: clamp(10px, 1vw, 18px);
        font-weight: bold;
        color: var(--hmn2025-color-black);
        line-height: 1;
      }
      a {
        color: inherit;
        text-decoration: none;
        &:hover {
          text-decoration: underline;
        }
      }
    }
  }
  .header-bottom__btn {
    align-self: flex-start;
    a {
      display: flex;
      gap: 8px;
      align-items: center;
      justify-content: center;
      padding: clamp(4px, 1.2vw, 16px);
      background-color: var(--hmn2025-color-red);
      color: #fff;
      font-size: clamp(12px, 1vw, 18px);
      font-weight: bold;
      border-radius: 4px;
      line-height: 1;
    }
    a::before {
      content: "";
      display: inline-block;
      width: 30px;
      height: 21px;
      background-image: url(/assets/img/2025/icon_mail_red.svg);
      background-size: contain;
      background-repeat: no-repeat;
    }
  }
}
@media screen and (max-width: 1000px) {
  .hmn_1907 nav.nav_pc > ul > li > a,
  .hmn_1907 nav.nav_pc > ul > li > span {
    font-size: clamp(12px, 1vw, 15px);
    padding: 0 20px 25px;
  }
}
@media screen and (max-width: 1000px) {
  header.hmn_1907 div.inner {
    height: 150px;
  }
}
@media screen and (max-width: 768px) {
  header.hmn_1907 div.inner {
    height: 73px;
  }
}

/******************************************
 *           ハンバーガーメニュー
 ******************************************/

nav.hmn_1907.nav_sp {
  ul > li.btn_menu div.icon_btn_monitor {
    margin: 0 auto;
    display: block;
    width: 100%;
    padding: 0 2em;
    a {
      padding: 1em;
      border: 1px solid #666;
      color: #666;
      background-color: #f4f4f4;
      border-radius: 4px;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 4px;
      font-size: 16px;
      line-height: 1;
    }
    a::before {
      content: "";
      display: inline-block;
      width: 18px;
      height: 18px;
      background-image: url(/assets/img/2025/user.svg);
      background-size: contain;
      background-repeat: no-repeat;
    }
  }
  ul.btn_list {
    padding-top: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
  .menu_search {
    padding: 0 2em;
    .search_wrapper {
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      width: 100%;
    }
    form {
      width: 100%;
      display: flex;
      align-items: center;
      > *:first-child {
        flex: 1 1 0%;
        min-width: 0;
      }
      > *:nth-child(2) {
        flex: 0 0 auto;
      }
      input.search-field {
        padding: 14px;
        border: 1px solid #666;
        color: #666;
        border-radius: 4px 0 0 4px;
        font-size: 14px;
        line-height: 1;
        width: 100%;
      }
      button.search-submit {
        background-color: #666;
        border: none;
        padding: 14px;
        margin-left: 0;
        border-radius: 0 4px 4px 0;
        img {
          width: 24px;
          height: 24px;
        }
      }
    }
  }
  .inquiry_wrapper {
    background-color: #fff6f6;
    padding-top: 1em;
    .tel_area {
      h3 {
        color: var(---Red, #d21c30);
        font-family: YuMincho;
        font-size: 22px;
        font-style: normal;
        font-weight: 800;
        line-height: 160%; /* 35.2px */
      }
      .open_time {
        color: var(---Text, #333);
        text-align: center;
        font-family: YuGothic;
        font-size: 16px;
        font-style: normal;
        font-weight: 500;
        line-height: 160%; /* 25.6px */
        margin-bottom: 1em;
      }
      dl {
        dt {
          background: #636060;
          display: flex;
          padding: var(--spacing--half, 4px) var(--spacing-1, 8px);
          justify-content: center;
          align-items: center;
          align-self: stretch;
          color: #fff;
          font-family: YuGothic;
          font-size: 14px;
          font-style: normal;
          font-weight: 700;
          line-height: 100%; /* 14px */
        }
        dd {
          color: var(---Black, #403e3e);
          font-family: YuGothic;
          font-size: 30px;
          font-style: normal;
          font-weight: 700;
          line-height: 100%; /* 30px */
        }
      }
      a {
        display: block;
      }
      a:last-child {
        margin: 1em auto;
      }
    }
  }
  ul > li.btn_menu div.icon_btn_mail {
    align-self: flex-start;
    padding: 0 2em;
    a {
      display: flex;
      gap: 12px;
      align-items: center;
      justify-content: center;
      padding: 2em 1em;
      background-color: var(--hmn2025-color-red);
      color: #fff;
      font-size: clamp(12px, 1vw, 18px);
      font-weight: bold;
      border-radius: 4px;
      line-height: 1;

      span {
        all: unset;
        padding: 0;
        width: fit-content;
        color: var(---White, #fff);
        font-family: YuGothic;
        font-size: 24px;
        font-style: normal;
        font-weight: 700;
        line-height: 100%; /* 24px */
      }
    }
    a::before {
      content: "";
      display: inline-block;
      width: 30px;
      height: 21px;
      background-image: url(/assets/img/2025/icon_mail_red.svg);
      background-size: contain;
      background-repeat: no-repeat;
    }
  }
}

div.front div.top_view div.kv_slider .slick-dots li button {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background-color: #fff;
  border: 1px solid #403E3E;
}

div.front div.top_view div.kv_slider .slick-dots li.slick-active button {
  background-color: #403E3E;
  border: 1px solid #403E3E;
}