@charset "utf-8";

/* ↓↓↓ common ↓↓↓ */
:root {
  --text-sans: 'Noto Sans JP', sans-serif;
  --text-lato: 'Lato', sans-serif;
}

body {
  font-size: 1.6rem;
  font-family: var(--text-sans);
}

.-noscroll {
  overflow: hidden;
}

.-pc {
  display: block;
}

.-sp {
  display: none;
}

@media (max-width: 768px) {
  .-pc {
    display: none;
  }

  .-sp {
    display: block;
  }
}

.-wb {
  display: inline-block;
}

/* ↑↑↑ common ↑↑↑ */

/* ↓↓↓ header ↓↓↓ */
header {
  position: fixed;
  display: flex;
  top: 0;
  left: 0;
  width: 100%;
  height: min(100px, 7.8125vw);
  padding: min(13px, 1.015625vw) min(40px, 3.125vw) min(13px, 1.015625vw) min(40px, 3.125vw);
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(4, 142, 197, 0.1);
  z-index: 10;

  @media (max-width: 768px) {
    height: 96px;
    padding: 16px 10px 15px 20px;
  }

  .logo {
    display: block;
    position: relative;
    width: min(54px, 4.21875cqw);
    aspect-ratio: 54 / 74;
    margin-right: min(40px, 3.125cqw);
    @media (max-width: 768px) {
      width: 47px;
      aspect-ratio: 47 / 64;
      margin-right: 0;
    }
    .blue {
      display: block;
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
    }

    .white {
      display: block;
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
    }
  }

  .menu-box {
    @media (max-width: 768px) {
      display: grid;
      display: none;
      align-content: space-between;
      row-gap: 40px;
      position: fixed;
      width: 100%;
      height: calc(100dvh - 96px);
      top: 96px; 
      left: 0;
      z-index: 5;
      overflow-y: scroll;
      background-color: #fff;
      .menu-box_inner {
        display: flex;
        flex-direction: column;
      }
    }
    .txt {
      font-size: min(1.2rem, 0.9375cqw);
      letter-spacing: 0.08em;
      margin-top: min(18px, 1.40625cqw);

      @media (max-width: 768px) {
        font-size: 1.2rem;
        margin-top: 40px;
        order: 2;
        padding-inline: 24px;
      }

      a {
        font-weight: 600;
        color: #0090BA;
        border-bottom: 1px solid #0090BA;
        transition: opacity 300ms ease;
        @media (min-width: 769px) {
          &:hover {
            opacity: 0.5;
          }
        }
      }
    }

    .menu {
      display: flex;
      gap: min(32px, 2.5cqw);
      margin-top: min(12px, 0.9375cqw);

      @media (max-width: 768px) {
        flex-direction: column;
        margin-top: 32px;
        padding-left: 24px;
        gap: 24px;
        order: 1;
      }
      
      li {
        display: block;
        height: fit-content;
        &.-sp {
          display: none;
          @media (max-width: 768px) {
            display: block;
          }
        }
        .item {
          display: block;
          font-size: min(1.4rem, 1.09375cqw);
          font-weight: 600;
          letter-spacing: 0.08em;
          transition: color 300ms ease;
          @media (max-width: 768px) {
            width: fit-content;
            position: relative;
            font-size: 1.6rem;
            padding-left: 22px;

            &::before {
              content: '';
              position: absolute;
              translate: 0 -50%;
              top: 50%;
              left: 0;
              width: 10px;
              height: 10px;
              border-radius: 50%;
              background-color: #0090BA;
            }
          }

          &[target="_blank"] {
          position: relative;
          padding-right: min(21px, 1.640625cqw);

          @media (max-width: 768px) {
            padding-right: 23px;
          }

          &::after {
            content: '';
            position: absolute;
            translate: 0 -50%;
            top: 50%;
            right: 0;
            width: min(15px, 1.171875cqw);
            height: min(12px, 0.9375cqw);
            background: url(../img/common/ex-link.svg) no-repeat;
            background-size: min(15px, 1.171875cqw) min(12px, 0.9375cqw);

            @media (max-width: 768px) {
              width: 15px;
              height: 12px;
              background-size: 15px 12px;
            }
          }
        }

          @media (min-width: 769px) {
            &:hover {
              color: #0090BA;
            }
          }
        } 
      }
    }
    .btn {
      display: none;
      @media (max-width: 768px) {
        display: block;
        position: relative;
        width: 100%;
        height: 106px;
        background-color: #0090BA;
        .btn-inner {
          width: 231px;
          position: absolute;
          translate: -50% -50%;
          top: 50%;
          left: 50%;
          display: flex;
          align-items: center;
          gap: 24px;
          padding-right: 28px;
          img {
            width: 64px;
          }
          p {
            font-size: 1.8rem;
            letter-spacing: 0.08em;
            font-weight: 700;
            color: #fff;
          }
        }
      }
    }
  } 
  .r-box {
    display: flex;
    align-items: center;
    gap: min(8px, 0.625cqw);
    margin-left: auto;

    @media (max-width: 768px) {
      gap: 0;
    }

    .contact-btn {
      position: relative;
      display: flex;
      width: min(140px, 10.9375cqw);
      height: fit-content;
      align-items: center;
      aspect-ratio: 140 / 40;
      font-size: min(1.4rem, 1.09375cqw);
      font-weight: 600;
      letter-spacing: 0.08em;
      border: 1px solid #0090BA;
      border-radius: 20px;
      padding-left: min(36px, 2.8125cqw);
      transition: color 300ms ease, background-color 300ms ease;
      @media (max-width: 768px) {
        width: 130px;
        height: 48px;
        font-size: 1.2rem;
        padding-left: 38px;
        border-radius: 30px;
        margin-right: 11px;
      }

      &::after {
        content: '';
        position: absolute;
        translate: 0 -50%;
        top: 50%;
        left: min(12px, 0.9375cqw);
        width: min(16px, 1.25cqw);
        height: min(12px, 0.9375cqw);
        mask-image: url(../img/common/h-contact-icon.svg);
        mask-repeat: no-repeat;
        mask-size: min(16px, 1.25cqw) min(12px, 0.9375cqw);
        background-color: #0090BA;
        transition: background-color 300ms ease;

        @media (max-width: 768px) {
          left: 16px;
          width: 14px;
          height: 10px;
          mask-size: 14px 10px;
        }
      }
      @media (min-width: 769px) {
        &:hover {
          color: #fff;
          background-color: #0090BA;
          &::after {
            background-color: #fff;
          }
        }
      }
    }

    .kajitaku-logo {
      display: block;
      width: min(70px, 5.46875cqw);
      height: fit-content;
      transition: opacity 300ms ease;
      @media (min-width: 769px) {
        &:hover {
          opacity: 0.5;
        }
      }

      @media (max-width: 768px) {
        width: 62px;
      }
    }

    .menu-btn {
      display: none;
      @media (max-width: 768px) {
        position: relative;
        display: block;
        padding: 25px 10px;
        width: 60px;
        height: 72px;
        cursor: pointer;
        span {
          position: absolute;
          width: 40px;
          height: 1px;
          background-color: #0090BA;
          transition: rotate 300ms ease, top 300ms ease;
          &:nth-of-type(1) {
            top: 25px;
            left: 10px;
          }
          &:nth-of-type(2) {
            top: 50%;
            left: 10px;
          }
          &:nth-of-type(3) {
            bottom: 25px;
            left: 10;
          }
        }
      }
      &.-active {
        span {
          &:nth-of-type(1) {
            top: 50%;
            left: 10px;
            rotate: 22deg;
          }
          &:nth-of-type(2) {
            top: 50%;
            left: 10px;
            rotate: -22deg;
          }
          &:nth-of-type(3) {
            display: none;
          }
        }
      }
    }
  }
}
/* ↑↑↑ header ↑↑↑ */

/* ↓↓↓ common ↓↓↓ */
/* ↑↑↑ common ↑↑↑ */

/* ↓↓↓ common ↓↓↓ */
/* ↑↑↑ common ↑↑↑ */

/* ↓↓↓ footer ↓↓↓ */
footer {
  width: 100%;
  container-type: inline-size;
  background-color: #fff;

  .link-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: min(864px, 67.5cqw);
    aspect-ratio: 864 / 248;
    margin: max(-124px, -9.6875cqw) auto 0;
    padding: min(32px, 2.5cqw) min(48px, 3.75cqw);
    background: url(../img/common/f-link-box-image.jpg) no-repeat;
    background-size: cover;

    @media (max-width: 768px) {
      flex-direction: column;
      width: 326px;
      aspect-ratio: 326 / 369;
      margin: -80px auto 0;
      padding: 23px 16px 23px 24px;
      background: url(../img/common/f-link-box-image_sp.jpg) no-repeat;
      background-size: cover;
    }

    .l-box {
      display: flex;
      gap: min(24px, 1.875cqw);
      width: min(357px, 27.890625cqw);

      @media (max-width: 768px) {
        gap: 20px;
        width: 100%;
      }
      
      .logo {
        width: min(128px, 10cqw);
        picture {
          display: block;
        }

        @media (max-width: 768px) {
          width: 94px;
        }
      }

      .head-wrap {
        .en {
          position: relative;
          font-size: min(1.2rem, 0.9375cqw);
          font-family: var(--text-lato);
          font-weight: 700;
          color: #fff;
          letter-spacing: 0.08em;
          padding-left: min(20px, 1.5625cqw);

          @media (max-width: 768px) {
            font-size: 1.2rem;
            padding-left: 20px;
          }

          &::after {
            content: '';
            position: absolute;
            translate: 0 -50%;
            top: 50%;
            left: 0;
            width: min(1.2rem, 0.9375cqw);
            height: min(1.2rem, 0.9375cqw);
            background: url(../img/common/head-en-deco.svg) no-repeat;
            background-size: cover;

            @media (max-width: 768px) {
              width: 12px;
              height: 12px;
            }
          }
        }

        .head {
          font-size: min(2.4rem, 1.875cqw);
          font-weight: 700;
          letter-spacing: 0.08em;
          line-height: 1.5;
          color: #fff;
          filter: drop-shadow(0 0 20px rgba(0, 73, 101, 0.5));
          margin-top: min(8px, 0.625cqw);
          @media (max-width: 768px) {
            font-size: 1.8rem;
            font-weight: 600;
            letter-spacing: 0.08em;
            line-height: 1.6;
            color: #fff;
            filter: drop-shadow(0 0 20px rgba(0, 73, 101, 1));
            margin-top: 8px;
          }
        }
      }
    }
    .r-box {
      .link-btn {
        position: relative;
        display: block;
        width: min(304px, 23.75cqw);
        aspect-ratio: 304 / 56;
        font-size: min(1.6rem, 1.25cqw);
        font-weight: 700;
        letter-spacing: 0.08em;
        color: #14B1E0;
        display: grid;
        align-items: center;
        padding-inline: min(32px, 2.5cqw);
        border-radius: 50px;
        border: 1px solid #14B1E0;
        background-color: #fff;
        transition: color 300ms ease, border 300ms ease, background-color 300ms ease;

        @media (max-width: 768px) {
          width: 278px;
          aspect-ratio: 278 / 56;
          font-size: 1.5rem;
          font-weight: 700;
          padding-inline: 20px;
        }

        + .link-btn {
          margin-top: min(8px, 0.625cqw);
          @media (max-width: 768px) {
            margin-top: 8px;
          }
        }
        
        &::after {
          content: '';
          position: absolute;
          translate: 0 -50%;
          top: 50%;
          right: min(20px, 1.5625cqw);
          width: min(15px, 1.171875cqw);
          height: min(12px, 0.9375cqw);
          mask-image: url(../img/common/ex-link.svg);
          mask-repeat: no-repeat;
          mask-size: min(15px, 1.171875cqw) min(12px, 0.9375cqw);
          background-color: #14B1E0;
          transition: background-color 300ms ease;
          @media (max-width: 768px) {
            right: 16px;
            width: 15px;
            height: 12px;
            mask-size: 15px 12px;
          }
        }
        @media (min-width: 769px) {
          &:hover {
            background-color: transparent;
            border: 1px solid #fff;
            color: #fff;
            &::after {
              background-color: #fff;
            }
          }
        }
      }
    }
  }

  .contact-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: min(864px, 67.5cqw);
    aspect-ratio: 864 / 200;
    padding: min(40px, 3.125cqw) min(48px, 3.75cqw) min(40px, 3.125cqw) min(56px, 4.375cqw);
    margin: min(16px, 1.25cqw) auto 0;
    background-color: #0090BA;
    border: 1px solid #B3DFF0;
    transition: background-color 300ms ease, border 300ms ease;
    @media (max-width: 768px) {
      width: 326px;
      aspect-ratio: 326 / 120;
      padding: 20px 24px;
      margin: 16px auto 0;
      border: 1px solid #0090BA;
    }

    .head-wrap {
      .en {
        position: relative;
        font-size: min(1.2rem, 0.9375cqw);
        font-family: var(--text-lato);
        font-weight: 700;
        color: #fff;
        letter-spacing: 0.08em;
        padding-left: min(19px, 1.484375cqw);
        transition: color 300ms ease;

        @media (max-width: 768px) {
          position: relative;
          font-size: 1.2rem;
          padding-left: 19px;
        }

        &::after {
          content: '';
          position: absolute;
          top: min(5px, 0.390625cqw);
          left: 0;
          width: min(11px, 0.859375cqw);
          height: min(12px, 0.9375cqw);
          mask-image: url(../img/common/en-deco.svg);
          mask-repeat: no-repeat;
          mask-size: min(11px, 0.859375cqw) min(12px, 0.9375cqw);
          background-color: #fff;
          transition: background-color 300ms ease;
          @media (max-width: 768px) {
            top: 5px;
            width: 11px;
            height: 12px;
            mask-size: 11px 12px;
          }
        }
      }

      .head {
        font-size: min(2.4rem, 1.875cqw);
        font-weight: 600;
        letter-spacing: 0.08em;
        color: #fff;
        margin-top: min(8px, 0.625cqw);
        transition: color 300ms ease;
        @media (max-width: 768px) {
          font-size: 1.8rem;
          margin-top: 8px;
        }
      }
    }

    .progress-container {
      position: relative;
      display: block;
      width: min(120px, 9.375cqw);
      height: min(120px, 9.375cqw);
      @media (max-width: 768px) {
        width: 70px;
        height: 70px;
      }
      &::after {
        content: '';
        position: absolute;
        translate: -50% -50%;
        top: 50%;
        left: 50%;
        width: min(46px, 3.5937499999999996cqw);
        height: min(35px, 2.734375cqw);
        mask-image: url(../img/common/letter-icon.svg);
        mask-repeat: no-repeat;
        mask-size: min(46px, 3.5937499999999996cqw), min(35px, 2.734375cqw);
        background-color: #fff;
        transition: background-color 300ms ease;

        @media (max-width: 768px) {
          width: 26px;
          height: 20px;
          mask-size: 26px 20px;
        }
      }
      svg {
        display: block;
        width: 100%;
        height: 100%;
        .base-circle {
          fill: none;
          stroke: #fff;
          stroke-width: 1;
        }
        .progress-circle {
          fill: none;
          stroke: #0090BA;
          stroke-width: 1;
          stroke-linecap: round;

          /* 円周 = 2πr = 約364.4 */
          stroke-dasharray: 364.4;
          stroke-dashoffset: 364.4;

          transform: rotate(-90deg);
          transform-origin: 50% 50%;
          stroke-opacity: 0;
        }
      }
    }
    @media (min-width: 769px) {
      &:hover {
        background-color: #fff;
        border: 1px solid #048EC5;
        .head-wrap {
          .en {
            color: #0090BA;
            &::after {
              background-color: #0090BA;
            }
          }
          .head {
            color: #0090BA;
          }
        }
        .progress-container {
          &::after {
            background-color: #0090BA;
          }
        }
      }
    }
  }

  .icon-box {
    width: 100%;
    aspect-ratio: 1280 / 48;
    background: url(../img/common/icon-growp.svg) repeat-x;
    background-size: min(1238px, 96.71875cqw) min(48px, 3.75cqw);
    margin-top: min(120px, 9.375cqw);

    @media (max-width: 768px) {
      aspect-ratio: unset;
      height: 48px;
      background-size: 1238px 48px;
      margin-top: 64px;
    }
  }

  .menu-box {
    width: fit-content;
    margin: min(44px, 3.4375cqw) auto 0;
    @media (max-width: 768px) {
      width: 326px;
      margin: 32px auto 0;
    }
    .list {
      display: flex;
      gap: min(32px, 2.5cqw);
      width: fit-content;

      @media (max-width: 768px) {
        flex-wrap: wrap;
        gap: 24px 40px;
      }

      @media (max-width: 768px) {
        li:nth-of-type(odd) {
          width: 167px;
        }
      }

      .item {
        font-size: min(1.4rem, 1.09375cqw);
        font-weight: 600;
        letter-spacing: 0.08em;
        transition: opacity 300ms ease;

        @media (min-width: 769px) {
          &:hover {
            opacity: 0.7;
          }
        }

        @media (max-width: 768px) {
          font-size: 1.3rem;
        }

        &[target="_blank"] {
          position: relative;
          padding-right: min(21px, 1.640625cqw);

          @media (max-width: 768px) {
            padding-right: 23px;
          }

          &::after {
            content: '';
            position: absolute;
            translate: 0 -50%;
            top: 50%;
            right: 0;
            width: min(15px, 1.171875cqw);
            height: min(12px, 0.9375cqw);
            background: url(../img/common/ex-link.svg) no-repeat;
            background-size: min(15px, 1.171875cqw) min(12px, 0.9375cqw);

             @media (max-width: 768px) {
              width: 15px;
              height: 12px;
              background-size: 15px 12px;
            }
          }
        }
      }
    }
  }
  .copylight-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    width: min(1200px, 93.75cqw);
    margin: min(40px, 3.125cqw) auto;
    padding-top: min(40px, 3.125cqw);

    @media (max-width: 768px) {
      flex-wrap: wrap;
      justify-content: center;
      width: 326px;
      gap: 32px 80px;
      margin: 32px auto 16px;
      padding-top: 32px;
    }
    
    &::after {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 1px;
      background-color: #B3DFF0;
      @media (max-width: 768px) {
        translate: -50% 0;
        left: 50%;
        width: 100vw;
      }
    }

    .eon-logo {
      width: min(100px, 7.8125cqw);
      @media (max-width: 768px) {
        width: 100px;
        order: 1;
      }
    }

    .copylight {
      font-size: min(1.2rem, 0.9375cqw);
      font-family: var(--text-lato);
      letter-spacing: 0.12em;
      @media (max-width: 768px) {
        font-size: 1.2rem;
        order: 3;
      }
    }

    .wood-logo {
      width: min(146px, 11.40625cqw);
      @media (max-width: 768px) {
        width: 146px;
        order: 2;
      }
    }
  }
}
/* ↑↑↑ footer ↑↑↑ */

@media (min-width: 1281px) {}

@media (max-width: 1280px) {}

@media (max-width: 768px) {}

@media (max-width: 480px) {}

@media (max-width: 375px) {}