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

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

*/

/*		独自追加
-----------------------------------------------------*/
:root {
  --w-solid-base: 1100px;
  --w-solid-wide: 1200px;
  --w-solid-short: 940px;
}

.noto-serif-jp {
  font-family: "Noto Serif JP", serif;
  font-weight: 600;
  font-style: normal;
}

main{
  padding-top:87px;
}
@media (max-width: 1200px){/*SP以下 表示*/
  main{
    padding-top:60px;
  }
}/*END SP以下 表示*/

/*		基本設定
-----------------------------------------------------*/
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;
  }
}

.c-title_l {
  text-align: center;
  font: 600 4.2rem "Noto Serif JP", serif;
  letter-spacing: 0.14em;
  line-height: 1.75;
  position: relative;
  padding-bottom: 18px;
  margin-bottom: 115px;
  &::after {
    content: "";
    width: 1px;
    height: 52px;
    display: block;
    background-color: #d9d4c9;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
  }
}
@media (max-width: 600px) {
  /*SP以下 表示*/
  .c-title_l {
    font-size: 2.6rem;
    padding-bottom: 18px;
    margin-bottom: 62px;
    &::after {
      height: 42px;
    }
  }
} /*END SP以下 表示*/
.c-link_btn {
  min-width: 340px;
  font: 600 1.8rem "Noto Serif JP", serif;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  text-align: center;
  padding: 27px;
  background-color: #8CC2DA;
  border-radius: 100px;
  border: 0;
  &::after {
    display: none;
  }
  &:hover{
    color: #fff;
    background-color: #5EA5C4;
  }
  &.is-arrow{
    padding-right:34px;
    padding-left: 34px;
    &::after {
      content:"";
      display: block;
      top:calc(50% - 6px);
      right: 26px;
      width: 12px;
      height: 12px;
      border-top:3px solid #fff;
      border-right: 3px solid #fff;
      rotate: 45deg;
      transform-origin: center center;
    }    
  }
  &.is-ander{
    padding-right:34px;
    padding-left: 34px;
    &::after {
      content:"";
      display: block;
      top:calc(50% - 6px);
      right: 26px;
      width: 12px;
      height: 12px;
      border-top:3px solid #fff;
      border-right: 3px solid #fff;
      rotate: 135deg;
      transform-origin: center center;
    }    
  }
  &.is-mail {
    background-color: var(--color-gray);
    &::before {
      content: "";
      display: inline-block;
      width: 26px;
      height: 26px;
      background: url("../img/icon_mail.svg") no-repeat center center / contain;
    }
    &:hover {
      background-color: #374147;      
    }
  }
  &.is-line {
    gap: 12px;
    background-color: var(--color-green);
    &::before {
      content: "";
      display: inline-block;
      width: 30px;
      height: 30px;
      background: url("../img/icon_mobile.svg") no-repeat center center / contain;
    }
    &:hover {
      background-color: #30AC62;
    }
  }
} /*.c-link_btn*/
@media (max-width: 600px) {
  /*SP以下 表示*/
  .c-link_btn {
    min-width: unset;
    width: 95%;
    &::after {
      display: none;
    }
  } /*.c-link_btn*/
} /*END SP以下 表示*/
/* 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;
}
/*==========フェードイン==========*/
.js-scroll-up {
  opacity: 0;
  visibility: hidden;
  transform: translateY(50px);
  transition: all 1s;
}
/*
.js-scroll-up + .js-scroll-up {
  transition-delay: 0.3s;
}

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

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

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

#header {
  position: fixed;
  top: 0;
  z-index: 999;
  background: rgba(255, 255, 255, 0.9);
  padding: 0 20px;

  &.l-header {
    width: var(--w-liquid);
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    .l-container,
    .l-container_wide {
      max-width: 1400px;
      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;
      }
    }
  } /* END &.l-header */
} /* END #header */
@media (max-width: 1200px) {
  #header.l-header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    padding: 0 5%;
    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 {
    gap: 30px;
    & ul {
      display: flex;
      flex-flow: row wrap;
      justify-content: space-between;
      align-items: center;
      gap: 30px;

      & li {
        font-family: var(--mplus-font);
        transform: var(--Jaggy-clear);
        text-align: center;
        color: var(--color-black);
        font-size: 1.4rem;
        letter-spacing: 0.05em;
      }

      & li a {
        display: block;
        color: var(--color-black);
        line-height: 1.3;
        position: relative;
      }
    } /* END & ul */
  } /* END .l-nav */
} /* END #global-nav */
@media (min-width: 1200px) {
  /*PC VIEW 表示*/
  #global-nav {
    &.l-nav {
      & ul {
        & li a {
          padding: 4px 4px 11px;
          &::before {
            content: "";
            display: block;
            width: 0px;
            height: 3px;
            background-color: transparent;
            position: absolute;
            bottom: 0;
            left: 0;
            transition: all 0.3s linear;
          }
          &:hover::before {
            width: 100%;
            background-color: var(--color-blue);
          }
        }
        & li a.is-current::before {
          content: "";
          display: block;
          width: 100%;
          height: 3px;
          background-color: var(--color-blue);
          position: absolute;
          bottom: 0;
          left: 0;
        }
      } /* END & ul */
    } /* END .l-nav */
  } /* END #global-nav */
} /*END PC VIEW 表示*/
@media (max-width: 1200px) {
  #global-nav {
    flex-flow: column nowrap;
    position: absolute;
    top: 0px;
    left: 100%;
    z-index: 900;
    width: 100%;
    width: 100%;
    width: 100dvw;
    height: 100dvh;
    height: 100dvh;
    overflow: scroll;
    padding: 50px 0;
    opacity: 0;
    background-color: #fff;
    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: 20px;
        padding-top: 30px;
        & li {
          text-align: center;
          max-width: 600px;
          width: 90%;
        }
        & li a {
          display: flex;
          flex-direction: column;
          align-items: center;
          justify-content: center;
          gap: 20px;
          position: relative;
          color: var(--color-black);
          text-align: center;
          font-size: 1.4rem;
          letter-spacing: 0.08em;
          padding: 0 20px;
          transition: all 0.2s linear;
          &::before {
            pointer-events: none;
            content: "";
            display: inline-block;
            width: 20px;
            height: 1px;
            background-color: var(--color-blue);
            transform: rotate(140deg);
          }
        }
      }
    }
  }
} /*  END Break Point  */

/*		メニューボタン
-----------------------------------------------------*/
.l-header_toggle {
  display: none;
  width: 36px;
  height: 36px;
  color: #fff;
  text-align: center;
  background-color: #333;
  background-color: var(--color-blue);
  position: absolute;
  top: 12px;
  right: 20px;
  z-index: 999;
  padding: 5px;
  box-sizing: border-box;
  transition: all 0.2s linear;
  cursor: pointer;
  border-radius: 50%;
  & > span {
    display: block;
    position: relative;
    width: 14px;
    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: 14px;
      height: 2px;
      background-color: #fff;
      border-radius: 100px;
      transition: all 0.2s linear;
    }
    &::before {
      top: -6px;
    }
    &::after {
      top: 6px;
    }
  }
  & > 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: -4.65px;
        left: 1.35px;
        transform: rotate(45deg);
        transform-origin: left bottom;
      }
      &::after {
        background-color: #fff;
        bottom: 4.65px;
        left: 1.35px;
        transform: rotate(-45deg);
        transform-origin: left top;
      }
    }
  }
}

@media (max-width: 1200px) {
  .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: 80px 0;
  position: relative;
  &::before {
    content: "";
    display: block;
    width: 100%;
    aspect-ratio: 100 / 33.59;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    background: url("../img/footer_bg.png") no-repeat center bottom / 100% auto;
  }
  .l-container {
    width: var(--w-liquid);
  }
  .l-footer_logo {
    margin-bottom: 20px;
  }
  .c-copyright {
    .c-copyright__txt {
      font-size: 1.4rem;
      letter-spacing: 0.04em;
    }
  }
} /*  END #footer  */

@media (max-width: 600px) {
  #footer.l-footer {
    padding: 20px 0;
    margin-bottom:60px;/*固定CTAの為の余白*/
    &::before{
      aspect-ratio: 100 / 475.38;
    }
    .c-copyright {
      .c-copyright__txt {
        font-size: 1.4rem;
      }
    }
  } /*  END #footer  */
} /*  END Break Point  */
