html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

.none-pc {
  display: none;
  @media (max-width: 560px) {
    display: block;
  }
}

.none-sp {
  @media (max-width: 560px) {
    display: none;
  }
}

.display-none {
  @media (max-width: 560px) {
    display: none;
  }
}

.support {
  --bg: #f7f4ee;
  --bg-alt: #edeae1;
  --ink: #1c2430;
  --muted: #5b6470;
  --navy: #16324f;
  --navy-deep: #0e1f33;
  --gold: #a06b27;
  --gold-soft: #e7d6b4;
  --line: rgba(22, 50, 79, 0.16);
  --card: #fff;
  --on-navy: #f3f1ea;
  --on-navy-muted: #b9c6d4;
  --teal: #0c6a6c;
  --teal-dark: #095052;
  --teal-deep: #0a3f41;
  --teal-light: #12857f;

  background: var(--bg);
  color: var(--ink);
  font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  margin-top: 80px;

  .white {
    color: #fff !important;
  }

  .self {
    font-family: "Noto Serif JP", serif;
  }

  & *,
  & *::before,
  & *::after {
    box-sizing: border-box;
  }

  & h1,
  & h2,
  & h3 {
    font-family: "Noto Serif JP", serif;
    margin: 0;
    color: var(--ink);
  }

  .tk-section {
    scroll-margin-top: 80px;

    &:last-child {
      border-bottom: none;
    }
  }

  /* eyebrow */
  .tk-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    letter-spacing: 0.14em;
    color: var(--teal);
    font-weight: 600;
    margin-bottom: 14px;
  }

  .cont {
    padding: 80px 40px;

    @media (max-width: 991px) {
      padding: 80px 32px;
    }

    @media (max-width: 560px) {
      padding: 40px 16px;
    }

    .box {
      max-width: 1100px;
      margin: 0 auto;
    }
  }

  .tk-hero {
    background: linear-gradient(180deg, var(--teal-deep), var(--teal-light));

    .cont {
      .box {
        .item {
          display: flex;
          align-items: flex-end;

          @media (max-width: 768px) {
            align-items: flex-start;
            flex-direction: column-reverse;
            gap: 16px;
          }

          .left {
            flex: 1.5;

            @media (max-width: 768px) {
              flex: 1.2;
            }
          }

          .right {
            flex: 1;

            .img {
              position: relative;

              @media (max-width: 768px) {
                width: 100%;
                max-width: 70%;
                margin: 0 auto;
              }

              @media (max-width: 560px) {
                max-width: 100%;
              }

              & img {
                border-radius: 999px;
                display: block;
                width: 100%;
                height: auto;
              }

              .img-txt {
                position: absolute;
                bottom: 0;
                right: 0;
                display: flex;
                flex-direction: column;
                align-items: flex-end;
                gap: 8px;
                width: 100%;

                .num {
                  font-size: clamp(4rem, 2.5rem + 3.125vw, 6.25rem);
                  font-weight: 900;
                  color: #fff;
                  line-height: 1;
                }

                .cap {
                  color: var(--teal);
                  line-height: 2.2;
                  text-align: right;
                  font-weight: 600;
                  white-space: nowrap;

                  & span {
                    background: #fff;
                    padding: 4px 12px;
                    box-decoration-break: clone;
                    -webkit-box-decoration-break: clone;
                    font-size: 14px;
                    font-weight: 700;
                    display: inline;

                    @media (max-width: 991px) {
                      font-size: 12px;
                      padding: 4px 8px;
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }

  .point {
    background: #fff;

    .cont {
      .box {
        .item {
          display: flex;
          align-items: flex-start;
          gap: 32px;

          @media (max-width: 768px) {
            flex-direction: column-reverse;
            gap: 16px;
          }

          .left {
            flex: 1.4;

            .des {
              line-height: 1.8;

              .attention {
                color: #929292;
                font-size: 12px;
              }
            }
          }

          .right {
            flex: 1;

            @media (max-width: 768px) {
              width: 100%;
            }

            .img {
              @media (max-width: 768px) {
                height: 220px;
              }
              & img {
                display: block;
                width: 100%;
                height: 100%;
                max-width: 100%;
                object-fit: cover;
                border-radius: 10px;
              }
            }
          }
        }
      }
    }
  }

  .advantage {
    background: #f5faf9;

    .cont {
      .box {
        .item {
          .tk-grid {
            width: 100%;
            max-width: 800px;
            margin: 0 auto;
          }
        }
      }
    }
  }

  .service {
    background: #fff;

    .cont {
      .box {
        .item {
          .tk-item-t {
            display: block;
            font-size: 14px;
            line-height: 1.5;
          }

          .tk-item-n {
            display: block;
            font-family: "Noto Serif JP", serif;
            color: var(--gold);
            font-size: 14px;
            margin-bottom: 6px;
            font-weight: 500;
          }
        }
      }
    }
  }

  .contact-c {
    background: linear-gradient(var(--teal), var(--teal-dark));

    .cont {
      .box {
        .item {
          display: flex;
          align-items: center;
          gap: 40px;

          @media (max-width: 768px) {
            flex-direction: column-reverse;
            gap: 16px;
          }

          .left {
            flex: 1.4;

            .des {
              color: #b9c6d4;
            }
          }

          .right {
            flex: 1;
            width: 100%;

            .img {
              @media (max-width: 768px) {
                height: 220px;
              }

              & img {
                width: 100%;
                height: 100%;
                max-width: 100%;
                object-fit: cover;
                display: block;
                border-radius: 999px;
              }
            }
          }
        }
      }
    }
  }

  .recruit-c {
    background: #fbf6ec;
  }

  & h1 {
    font-size: clamp(28px, 4.6vw, 42px);
    font-weight: 700;
    line-height: 1.5;
    color: #fff;
  }

  .tk-mark {
    color: var(--gold);
  }

  .tk-sub {
    margin: 20px 0 0;
    color: #ffffff71;
    font-size: 16px;
    max-width: 56ch;

    @media (max-width: 1280px) {
      max-width: 100%;
    }

    @media (max-width: 768px) {
      max-width: 100%;
    }
  }

  .tk-lede {
    margin: 22px 0 0;
    font-size: 15px;
    max-width: 62ch;
    color: #fff;

    @media (max-width: 1280px) {
      max-width: 100%;
    }

    @media (max-width: 768px) {
      max-width: 100%;
    }
  }

  .tk-badge {
    display: inline-block;
    font-size: 12.5px;
    color: var(--navy-deep);
    background: var(--gold-soft);
    border-radius: 100px;
    padding: 5px 14px;
    margin-bottom: 22px;
    letter-spacing: 0.02em;

    @media (max-width: 768px) {
      text-align: center;
      margin: 0 auto 16px;
      display: block;
      width: 80%;
    }
  }

  .tk-hero-figure {
    margin-top: 48px;
    display: flex;
    align-items: baseline;
    gap: 18px;
    border-top: 1px solid var(--line);
    padding-top: 26px;

    .tk-num {
      font-family: "Noto Serif JP", serif;
      font-size: 64px;
      font-weight: 700;
      color: var(--gold);
      line-height: 1;
    }

    .tk-cap {
      font-size: 13.5px;
      color: var(--muted);
      max-width: 34ch;
    }
  }

  /* buttons */
  .tk-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;

    @media (max-width: 768px) {
      margin-top: 16px;
      margin-top: 16px;
      display: flex;
      justify-content: center;
    }
  }

  .tk-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14.5px;
    font-weight: 600;
    padding: 13px 26px;
    border-radius: 4px;
    text-decoration: none;
    border: 1px solid transparent;
    transition:
      background-color 0.3s ease,
      color 0.3s ease,
      border-color 0.3s ease,
      transform 0.3s ease,
      box-shadow 0.3s ease;

    @media (max-width: 560px) {
      padding: 13px 9px;
      max-width: 230px;
      width: 100%;
      text-align: center;
      display: block;
    }

    &:hover {
      text-decoration: none;
      transform: translateY(-3px);
      box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
    }

    &:active {
      transform: translateY(0);
      box-shadow: none;
    }

    @media (prefers-reduced-motion: reduce) {
      transition: none;

      &:hover {
        transform: none;
      }
    }
  }

  .tk-btn-primary {
    background: #fff;
    color: var(--teal-deep);

    &:hover {
      background: var(--teal-deep);
      color: #fff;
    }
  }

  .tk-btn-ghost {
    border-color: #fff;
    color: #fff;

    &:hover {
      background: #fff;
      color: var(--teal-deep);
    }
  }

  .tk-btn-entry {
    background: var(--teal);
    color: #fff;

    &:hover {
      background: var(--teal-deep);
      color: #fff;
    }
  }

  /* headline */
  .tk-headline {
    font-size: clamp(21px, 3vw, 27px);
    font-weight: 600;
    line-height: 1.6;
    margin-bottom: 22px;

    .tk-rule {
      display: block;
      width: 46px;
      height: 3px;
      background: var(--gold);
      margin-bottom: 16px;
    }
  }

  .tk-body {
    font-size: 15px;
    color: var(--ink);
    margin: 0;

    & + .tk-body {
      margin-top: 16px;
    }
  }

  .tk-cite {
    font-size: 12.5px;
    color: var(--muted);
    margin: 14px 0 0;
  }

  .tk-grid {
    margin-top: 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);

    @media (max-width: 600px) {
      grid-template-columns: 1fr;
    }
  }

  .tk-card {
    background: var(--card);
    padding: 26px 24px;

    & h3 {
      font-family: "Noto Sans JP", sans-serif;
      font-size: 15.5px;
      font-weight: 700;
      color: var(--navy);
      margin-bottom: 8px;
    }

    & p {
      font-size: 14px;
      color: var(--muted);
      margin: 0;
    }
  }

  /* support 10 items */
  .tk-items {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;

    @media (max-width: 991px) {
      grid-template-columns: repeat(3, 1fr);
    }

    @media (max-width: 680px) {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  .tk-item {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 16px 10px;
    text-align: center;
    min-height: 108px;
  }

  /* CTA band */
  .tk-cta-band {
    .tk-headline {
      color: var(--on-navy);
    }

    .tk-body {
      color: var(--on-navy-muted);
    }

    .tk-btn-primary {
      background: #fff;
      color: #0c6a6c;

      &:hover {
        background: var(--teal-deep);
        color: #fff;
      }
    }

    .tk-btn-ghost {
      border-color: var(--on-navy-muted);
      color: var(--on-navy);

      &:hover {
        background: #fff;
        color: var(--teal-deep);
      }
    }
  }

  /* job */
  .tk-job-card {
    margin-top: 28px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 28px 26px;

    & dl {
      margin: 0;
      display: grid;
      grid-template-columns: auto 1fr;
      gap: 12px 22px;
    }

    & dt {
      font-size: 13px;
      color: var(--gold);
      font-weight: 700;
      white-space: nowrap;
      padding-top: 2px;
    }

    & dd {
      margin: 0;
      font-size: 14.5px;
    }

    @media (max-width: 600px) {
      padding: 22px 18px;

      & dl {
        grid-template-columns: 1fr;
        gap: 4px;
      }

      & dd {
        margin-bottom: 12px;
      }
    }
  }
}
