@charset "utf-8";

/* ↓↓↓ common ↓↓↓ */
:root {
  --black: #000;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

@media (max-width: 768px) {
  html {
    scroll-padding-top: 72px;
  }
}

html.-noscroll {
  overflow: clip;
}

body {
  -webkit-text-size-adjust: 100%;

  @media (max-width: 768px) {
    min-width: 100%;
  }
}

.-pc {
  display: block !important;
}

.-sp {
  display: none !important;
}

@media (max-width: 768px) {
  .-pc {
    display: none !important;
  }

  .-sp {
    display: block !important;
  }
}

#main {
  width: 100%;
  padding: 0;
}

.ck-contens img {
  display: block;
  width: 100%;
  height: auto;
}

.ck-contens figure {
  margin: 0;
}

@media (max-width: 768px) {
  #topicpathArea {
    display: none;
  }
}

.ck-contens .topicpath {
  display: none;

  @media (max-width: 768px) {
    display: flex;
    width: calc(100% - 40px);
    margin: 32px auto 64px;
    overflow-x: scroll;
    line-height: 1.75;
    color: #4d4d4d;
    word-break: keep-all;

    a,
    li {
      font-size: 12px;
      position: relative;
    }

    li:not(:first-of-type) {
      margin-left: 25px;

      &::after,
      &::before {
        position: absolute;
        left: -16px;
        display: block;
        width: 7px;
        height: 1px;
        font-size: 0;
        content: "";
        background: #999;
      }

      &::after {
        top: 12px;
        transform: rotate(-35deg);
      }

      &::before {
        top: 7px;
        transform: rotate(35deg);
      }

    }
  }
}

/* ↑↑↑ common ↑↑↑ */

/* ↓↓↓ l-hero ↓↓↓ */
.l-hero {
  background-color: #FFF9E3;
  overflow: hidden;
}

.l-hero__inner {
  width: 1280px;
  margin: 0 auto;
  display: grid;
  place-content: center;

  @media (max-width: 768px) {
    width: 100%;
  }
}

.l-hero__ttl {
  width: 100%;
}

/* ↑↑↑ l-hero ↑↑↑ */


/* ↓↓↓ ck-contens ↓↓↓ */
.ck-contens {
  position: relative;
  color: #000;
}

/* ↑↑↑ ck-contens ↑↑↑ */

/* ↓↓↓ parts ↓↓↓ */
.ck-parts__ttl {
  position: absolute;
  top: -63px;
  left: 50%;
  translate: -50% 0;
  font-size: 32px;
  font-weight: bold;
  letter-spacing: 0.06em;
  line-height: 1;
  padding-top: 45px;

  @media (max-width: 768px) {
    width: 100%;
    max-width: 375px;
    margin: 0 auto;
    top: -57px;
    font-size: 28px;
    text-align: center;
  }

  &::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    translate: -50% 0;
    width: 66px;
    height: 27px;
    background: url(../img/ck_parts__ttl_orange.png)no-repeat;
  }
}

.ck-parts__ttl.green {
  &::before {
    background: url(../img/ck_parts__ttl_green.png)no-repeat;
  }
}

/* ↑↑↑ parts ↑↑↑ */

/* ↓↓↓ ck-gotop ↓↓↓ */
.ck-gotop {
  position: fixed;
  bottom: 64px;
  right: 80px;
  width: 70px;
  height: 70px;
  font-size: 0;
  color: transparent;
  background: rgba(0, 171, 235, 0.5);
  border-radius: 50%;
  z-index: 999;
  transition: background .2s;

  @media (max-width: 768px) {
    bottom: 68px;
    right: 15px;
    width: 56px;
    height: 56px;
  }

  @media (min-width: 769px) {
    &:hover {
      background: #00aaeb;
    }
  }

  &::before {
    position: absolute;
    top: 2px;
    right: 0;
    left: -12px;
    bottom: 0;
    display: block;
    width: 22px;
    height: 4px;
    margin: auto;
    background: #fff;
    border-radius: 2px;
    content: "";
    transform: rotate(134deg);

    @media (max-width: 768px) {
      left: -8px;
      width: 13px;
      height: 2px;
    }
  }

  &::after {
    position: absolute;
    top: 2px;
    right: 0;
    left: 13px;
    bottom: 0;
    display: block;
    width: 22px;
    height: 4px;
    margin: auto;
    background: #fff;
    border-radius: 2px;
    content: "";
    transform: rotate(-134deg);

    @media (max-width: 768px) {
      left: 8px;
      width: 13px;
      height: 2px;
    }
  }
}

/* ↑↑↑ ck-gotop ↑↑↑ */

/* ↓↓↓ modal ↓↓↓ */
.js-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 30;
}

.modal__bg {
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  position: absolute;
}

.modal__content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 656px;
  height: 284px;
  background: #fff;

  @media (max-width: 768px) {
    width: 91%;
    max-width: 400px;
    height: 208px;

    &.slc {
      padding-bottom: 30px;
      height: auto;

      .btn-wrap button {
        width: 190px;
      }
    }
  }

  .text {
    display: block;
    margin: 80px auto 0;
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 0;
    line-height: 1;
    text-align: center;
    position: relative;

    @media (max-width: 768px) {
      margin: 50px auto 0;
      font-size: 18px;
    }
  }

  .text-err {
    display: block;
    margin: 60px auto 0;
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 0;
    line-height: 1;
    text-align: center;
    position: relative;

    @media (max-width: 768px) {
      margin: 50px auto 0;
      font-size: 16px;
    }
  }

  .text-err + .text-err {
    margin-top: 10px;
  }

  .btn-wrap {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 16px;

    @media (max-width: 768px) {
      align-items: center;
      padding-inline: 20px;
    }

    button {
      display: block;
      width: 190px;
      height: 64px;
      border-radius: 5px;
      border: 0;
      font-size: 16px;
      font-weight: bold;
      letter-spacing: 0;
      line-height: 1;
      cursor: pointer;

      @media (max-width: 768px) {
        width: 100px;
      }
    }

    button:nth-of-type(1) {
      color: #fff;
      background-color: #F57C31;
      transition: background-color 300ms 0s ease;

      @media (min-width: 769px) {
        &:hover {
          background-color: #f79b62;
        }
      }

      span::before {
        background-color: #fff;
      }
    }

    button:nth-of-type(2) {
      color: #000;
      background-color: #D9D9D9;
      transition: background-color 300ms 0s ease;

      span::before {
        background-color: #000;
      }

      @media (min-width: 769px) {
        &:hover {
          background-color: #eeeeee;
        }
      }
    }
  }

  .modal-close-btn {
    position: absolute;
    top: -14px;
    right: -14px;
    width: 48px;
    height: 48px;
    background-color: #000;
    border: 0;
    border-radius: 48px;
    cursor: pointer;

    &::before,
    &::after {
      content: '';
      position: absolute;
      top: 50%;
      left: 50%;
      translate: -50% -50%;
      width: 2px;
      height: 16px;
      background-color: #fff;
    }

    &::before {
      rotate: 45deg;
    }

    &::after {
      rotate: -45deg;
    }
  }
}

/* ↑↑↑ modal ↑↑↑ */

@media (min-width: 1281px) {}

@media (max-width: 1280px) {}

@media (max-width: 850px) {}

@media (max-width: 768px) {}

@media (max-width: 480px) {}

@media (max-width: 375px) {}