/*
====>> サイトの共通パーツに関するデフォルトスタイリング <<====

・このファイルはベースのスタイルに加え、サイト(案件)毎にスタイルを記述していく
・ヘッダー、ナビゲーション、フッター、パンくずなどの各ページに対して1つのパーツをスタイルするファイル

*/

/*		独自追加
-----------------------------------------------------*/

@font-face {
  font-family: "MPLUSRounded-bold-subset";
  font-style: normal;
  font-weight: 700;
  src: url("../fonts/MPLUSRounded-bold-subset.woff2") format("woff2"), url("../fonts/MPLUSRounded-bold-subset.woff") format("woff"), url("../fonts/MPLUSRounded-bold-subset.ttf") format("truetype");
}
:root {
  --w-solid-base: 1060px;
  --w-solid-wide: 1240px;
  --w-solid-short: 940px;
  --base-sans-serif: "Noto Sans JP", "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", "Hiragino Sans", "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro",
    "メイリオ", Meiryo, sans-serif;
  --mplus-font: MPLUSRounded-bold-subset, sans-serif;
  --Jaggy-clear: rotate(0.03deg); /* WEBフォントのシャギーを防ぐ指定 */
}
.font-mplus {
  font-family: var(--mplus-font);
  transform: var(--Jaggy-clear);
  font-weight: bold;
}

/*		基本設定
-----------------------------------------------------*/
body {
  font-family: var(--base-sans-serif);
  color: var(--color-black);
  line-height: 1.75;
  margin: 0 auto;
  padding: 0;
}
a {
  color: inherit;
  text-decoration: none;
  transition: 0.3s linear;
  &[target="_blank"].is-external::after {
    content: "";
    background: url("../img/common/icon_external.svg") no-repeat center center / contain;
    display: inline-block;
    height: 1.2rem;
    width: 1.2rem;
    vertical-align: middle;
    margin-left: 0.3em;
  }
}
@media (max-width: 600px) {
  .is-pc {
    display: none !important;
  }
}
@media (min-width: 601px) {
  .is-sp {
    display: none !important;
  }
}
input {
  font-size: 1.6rem; /*iOSズームアップ対策サイズ*/
}
textarea {
  font-size: 1.6rem; /*iOSズームアップ対策サイズ*/
  resize: vertical; /* 縦方向のリサイズを許可 */
}
/* フォーカスが当たった時の青枠を表示しない */
*:focus {
  outline: none;
}
::-moz-selection {
  /*ハイライトカラー指定*/
  color: #fff;
  background: cyan;
  background: var(--color-base);
}
::selection {
  /*ハイライトカラー指定*/
  color: #fff;
  background: cyan;
  background: var(--color-base);
}
@media (min-width: 601px) {
  a[href^="tel:"] {
    pointer-events: none;
  }
}

/* Padding Classes */
.p-0 {
  padding: 0;
}
.p-10 {
  padding: 10px;
}
.p-15 {
  padding: 15px;
}
.p-20 {
  padding: 20px;
}
.p-30 {
  padding: 30px;
}
.p-40 {
  padding: 40px;
}
.p-50 {
  padding: 50px;
}
.p-80 {
  padding: 80px;
}
.p-100 {
  padding: 100px;
}

.px-0 {
  padding-left: 0;
  padding-right: 0;
}
.px-10 {
  padding-left: 10px;
  padding-right: 10px;
}
.px-15 {
  padding-left: 15px;
  padding-right: 15px;
}
.px-20 {
  padding-left: 20px;
  padding-right: 20px;
}
.px-30 {
  padding-left: 30px;
  padding-right: 30px;
}
.px-40 {
  padding-left: 40px;
  padding-right: 40px;
}
.px-50 {
  padding-left: 50px;
  padding-right: 50px;
}
.px-80 {
  padding-left: 80px;
  padding-right: 80px;
}
.px-100 {
  padding-left: 100px;
  padding-right: 100px;
}

.py-0 {
  padding-top: 0;
  padding-bottom: 0;
}
.py-10 {
  padding-top: 10px;
  padding-bottom: 10px;
}
.py-15 {
  padding-top: 15px;
  padding-bottom: 15px;
}
.py-20 {
  padding-top: 20px;
  padding-bottom: 20px;
}
.py-30 {
  padding-top: 30px;
  padding-bottom: 30px;
}
.py-40 {
  padding-top: 40px;
  padding-bottom: 40px;
}
.py-50 {
  padding-top: 50px;
  padding-bottom: 50px;
}
.py-80 {
  padding-top: 80px;
  padding-bottom: 80px;
}
.py-100 {
  padding-top: 100px;
  padding-bottom: 100px;
}

/* Margin Classes */
.m-0 {
  margin: 0;
}
.m-10 {
  margin: 10px;
}
.m-15 {
  margin: 15px;
}
.m-20 {
  margin: 20px;
}
.m-30 {
  margin: 30px;
}
.m-40 {
  margin: 40px;
}
.m-50 {
  margin: 50px;
}
.m-80 {
  margin: 80px;
}
.m-100 {
  margin: 100px;
}

.mx-0 {
  margin-left: 0;
  margin-right: 0;
}
.mx-10 {
  margin-left: 10px;
  margin-right: 10px;
}
.mx-15 {
  margin-left: 15px;
  margin-right: 15px;
}
.mx-20 {
  margin-left: 20px;
  margin-right: 20px;
}
.mx-30 {
  margin-left: 30px;
  margin-right: 30px;
}
.mx-40 {
  margin-left: 40px;
  margin-right: 40px;
}
.mx-50 {
  margin-left: 50px;
  margin-right: 50px;
}
.mx-80 {
  margin-left: 80px;
  margin-right: 80px;
}
.mx-100 {
  margin-left: 100px;
  margin-right: 100px;
}

.my-0 {
  margin-top: 0;
  margin-bottom: 0;
}
.my-10 {
  margin-top: 10px;
  margin-bottom: 10px;
}
.my-15 {
  margin-top: 15px;
  margin-bottom: 15px;
}
.my-20 {
  margin-top: 20px;
  margin-bottom: 20px;
}
.my-30 {
  margin-top: 30px;
  margin-bottom: 30px;
}
.my-40 {
  margin-top: 40px;
  margin-bottom: 40px;
}
.my-50 {
  margin-top: 50px;
  margin-bottom: 50px;
}
.my-80 {
  margin-top: 80px;
  margin-bottom: 80px;
}
.my-100 {
  margin-top: 100px;
  margin-bottom: 100px;
}


/* .l-container{
  max-width: 1400px;
} */
/*==========フェードイン==========*/
.scroll-up {
  opacity: 0;
  visibility: hidden;
  transform: translateY(50px);
  transition: all 1s;
}

.scroll-up2 {
  max-height: 0px;
  opacity: 0;
  /* visibility: hidden; */
  transform: translateY(-300px);
  transition: all 1s linear;
}

.scroll-up + .scroll-up {
  transition-delay: 0.3s;
}

.scroll-up + .scroll-up + .scroll-up {
  transition-delay: 0.6s;
}

.scroll-up + .scroll-up + .scroll-up + .scroll-up {
  transition-delay: 0.9s;
}
.scroll-up.is-show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0px);
}

.scroll-up2.is-show {
max-height: 100%;
  opacity: 1;
  visibility: visible;
  transform: translateY(0px);
  transition: all 1s linear;
}

/*		ヘッダー
-----------------------------------------------------*/

#header {
  position: fixed;
  top: 0;
  z-index: 999;

  background: rgba(255, 255, 255, 0.9);
  padding: 25px 0 15px;

  &.l-header {
    width: var(--w-liquid);
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    .l-container,
    .l-container_wide {
      max-width: var(--w-solid-base);
      display: flex;
      align-items: center;
    }

    .l-header_logo {
      font-size: 2.6rem;
      font-weight: bold;
      letter-spacing: 0.05em;
      line-height: 1;
      margin-right:auto;
      a {
        display: flex;
        align-items: center;
        gap: 16px;
      }
    }
    .l-header_btn {
      flex: 1;
      display: flex;
      align-items: center;
      justify-content: flex-end;
      gap: 12px 3%;
      & a {
        display: flex;
        justify-content: center;
        align-items: center;
        color: #fff;
        background-color: #000;
        background-color: var(--color-base);
        padding: 8px 30px;
        border: 3px solid transparent;
        border-radius: 100px;
        transition: all 0.3s ease;
        box-sizing: border-box;
        &:hover {
          color: #000;
          color: var(--color-base);
          background-color: #fff;
          border-color: currentColor;
        }
      }
    }
  } /* END &.l-header */
} /* END #header */
@media (max-width: 900px) {
  #header.l-header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    padding: 5px 0;
    display: flex;
    align-items: center;
    min-height: 60px;
    .l-container,
    .l-container_wide {
      gap: 10px;
      padding: 0 70px 0 10px;
    }
    .l-header_logo {
      max-width: 150px;
      flex-shrink: 0;
      font-size: 5vw;
      & * {
        font-size: 3vw;
      }
    } /* END #header */
  }
}
/*		グローバルナビゲーション
-----------------------------------------------------*/
#global-nav {
  &.l-nav {
    overflow-y: auto;
    gap: 30px;
    .l-nav_logo {
      display: none;
      color: var(--color-black);
    }
    & ul {
      display: flex;
      flex-flow: row wrap;
      justify-content: space-between;
      align-items: center;
      gap: 43px;

      & li {
        font-family: var(--mplus-font);
        transform: var(--Jaggy-clear);
        text-align: center;
        color: var(--color-black);
        font-size: 1.6rem;
        letter-spacing: 0.05em;
        font-weight: bold;
        & span {
          display: block;
        }
      }

      & li a {
        display: block;
        color: var(--color-black);
        line-height: 1.3;
        &:hover {
          color: var(--color-base);
        }
      }
    } /* END & ul */
    .l-nav_contact_tel {
      display: none;
      color: #fff;
      margin-bottom: 15px;

      & span {
        display: block;
        font-size: 4.4rem;
        font-size: clamp(3rem, -0.266rem + 11.667vw, 4.4rem);
        letter-spacing: 0.05em;
        line-height: 1;
        &::before {
          content: "";
          display: inline-block;
          width: 25px;
          width: clamp(16px, -7.333px + 8.333vw, 26px);
          aspect-ratio: 100 / 138;
          margin-right: 0.3em;
          background-color: currentColor;
          -webkit-mask-image: url("../img/common/icon_tel.svg");
          mask-image: url("../img/common/icon_tel.svg");
          -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
          -webkit-mask-position: center;
          mask-position: center;
          -webkit-mask-size: 100% auto;
          mask-size: 100% auto;
        }
      }
      & small {
        display: block;
        font-size: 1.2rem;
        letter-spacing: 0.05em;
        text-align: center;
        padding-top: 7px;
        margin-top: 15px;
        border-top: 1px solid #fff;
      }
    }

    .l-header_btn {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      padding: 10px 20px;
      color:#fff;
      background-color: #333;
      background-color: var(--color-base);
      border: 2px solid transparent;
      border-radius: 100px;
      transition: all 0.2s ease-in-out;
      &:hover {
        color:#333;
        color: var(--color-base);
        border-color: currentColor;
        background-color: #fff;
        &::after {
          transform: translateY(3px);
        }
      }
    }
  } /* END .l-nav */
} /* END #global-nav */

@media (max-width: 900px) {
  #global-nav {
    flex-flow: column nowrap;
    position: absolute;
    top: 60px;
    left: 100%;
    z-index: 900;
    width: 100%;
    width: 100%;
    width: 100dvw;
    height: calc(100vh - 60px);
    height: calc(100dvh - 60px);
    padding: 20px 0 50px;
    opacity: 0;
    background-color: var(--color-blue);
    transition: all 0.1s linear;
    &.is-show {
      left: 0;
      opacity: 1;
    }
    &.l-nav.is-flex {
      flex-direction: column;
      & ul {
        width: 100%;
        margin: auto;
        flex-direction: column;
        gap: 0;
        & li {
          text-align: left;
          max-width: 600px;
          width: 90%;
          padding: 30px 0;
          border-bottom: 1px solid #fff;
        }
        & li a {
          position: relative;
          color: #fff;
          letter-spacing: 0.08em;
          padding: 0 20px;
          transition: all 0.2s linear;
          &::after {
            content: "";
            display: inline-block;
            width: 8px;
            height: 16.5px;
            position: absolute;
            top: calc(50% - 8.25px);
            right: 3%;
            background: url(../img/common/global-nav_arrow.svg) no-repeat center center / 100% auto;
            transition: all 0.2s linear;
          }
        }
        & li a:hover {
          color: var(--color-gold);
          &::after {
            right: 2%;
          }
        }
        & li span {
          display: inline-block;
        }
      }
      .l-header_btn {
        width: 100%;
        max-width: 245px;
        margin:20px 0;
        color: var(--color-black);
        background-color: #fff;
      }
    }
  }
} /*  END Break Point  */

/*		メニューボタン
-----------------------------------------------------*/
.l-header_toggle {
  display: none;
  width: 60px;
  height: 60px;
  color: #fff;
  text-align: center;
  background-color: #333;
  background-color: var(--color-base);
  position: absolute;
  top: 0;
  right: 0;
  z-index: 999;
  padding: 10px 5px 5px;
  box-sizing: border-box;
  transition: all 0.2s linear;
  cursor: pointer;
  & > span {
    display: block;
    position: relative;
    width: 24px;
    height: 2px;
    padding:0;
    line-height: 1;
    margin: 10px auto;
    background-color: #fff;
    border-radius: 100px;
    transition: all 0.3s linear;
    &::before,
    &::after {
      content: "";
      display: block;
      position: absolute;
      left: 0;
      width: 24px;
      height: 2px;
      background-color: #fff;
      border-radius: 100px;
      transition: all 0.2s linear;
    }
    &::before {
      top: -8px;
    }
    &::after {
      top: 8px;
    }
  }
  & > small {
    display: block;
    text-transform: uppercase;
    font-size: 1.3rem;
    letter-spacing: 0.08em;
    line-height: 1.3;
    margin-top: 13px;
  }
  &.is-active {
    & > span {
      background-color: transparent;
      &::before {
        background-color: #fff;
        top: -8.8px;
        left: 2.5px;
        transform: rotate(45deg);
        transform-origin: left bottom;
      }
      &::after {
        background-color: #fff;
        top: 8.8px;
        left: 2.5px;
        transform: rotate(-45deg);
        transform-origin: left top;
      }
    }
  }
}

@media (max-width: 900px) {
  .l-header_toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }
} /*  END Break Point  */

/*		ページタイトル
-----------------------------------------------------*/

#page-title {
  margin-top: 10px;
  padding: 60px 0 0;
  box-sizing: border-box;

  & > section h2 {
    font-size: 8rem;
    font-weight: normal;
    color: var(--color-font-base);
  }
} /*  END #page-title  */

@media (max-width: 600px) {
  #page-title {
    padding: 30px 10px;

    & > section h2 {
      font-size: 4rem;
    }
  } /*  END #page-title  */
} /*  END Break Point  */

/*		パンくず
-----------------------------------------------------*/

#breadcrumb {
  width: var(--w-liquid);
  padding: 5px 0;
  box-sizing: border-box;

  & > ul {
    display: flex;
    flex-flow: row wrap;
    justify-content: flex-start;
    align-items: center;

    & > li {
      color: var(--color-font-base);
      font-size: 1.3rem;

      &:first-child:before {
        content: "";
        position: absolute;
        top: auto;
        height: 10px;
        padding-left: 36px;
        flex-grow: 1;
        border-bottom: 1px solid var(--color-border-pale);
        display: inline;
      }

      &:after {
        content: ">";
        margin: 0 5px;
      }

      & > a {
        color: var(--color-font-base);
        display: inline-block;
        font-size: 1.3rem;
      }

      & > a:first-child {
        margin-left: 50px;
      }

      & > a:hover {
        opacity: 1;
      }

      &:last-child:after {
        content: "";
      }
    }

    & > li:nth-child(2) a {
      margin-left: 0;
    }
  } /* END & > ul */
} /* END #breadcrumb */

@media (max-width: 600px) {
  #breadcrumb ul li,
  #breadcrumb ul li a {
    font-size: 1.2rem;
  }
} /*  END Break Point  */

/*		ページトップ
-----------------------------------------------------*/

#page_top {
  position: fixed;
  bottom: 2%;
  right: 3%;
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  align-items: center;
  z-index: 10;

  & > a {
    background: #000;
    width: auto;
    height: auto;
    padding: 12px 20px;
    color: var(--color-theme-base);
    font-weight: bold;

    &:hover {
      text-decoration: none;
    }
  } /*  END & > a  */
} /*  END #page_top  */

/*		フッター
-----------------------------------------------------*/

#footer {
  text-align: center;
  padding-top: 80px;
  background: #fff;
  .l-container {
    width: var(--w-liquid);
  }
  .l-footer_logo {
    margin-bottom: 20px;
  }
  .c-copyright {
    .c-copyright__txt {
      font-size: 1.4rem;
      letter-spacing: 0.01em;
    }
  }
} /*  END #footer  */

@media (max-width: 600px) {
  #footer.l-footer {
    padding: 20px 0;
    .c-copyright {
      .c-copyright__txt {
        font-size: 1.4rem;
      }
    }
  } /*  END #footer  */
} /*  END Break Point  */

:root{
  --w-liquid: 100%;
  --w-solid-base: 1240px;
  --w-solid-wide: 1200px;
  --w-solid-short: 940px;
  --w-2column-main: 700px;
  --w-2column-aside: 290px;
  --w-3column-main: 640px;
  --w-3column-right: 150px;
  --w-3column-left: 150px;
}