* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@font-face {
  font-family: "LIFULL Font";
  src: url("../fonts/LIFULLFont-Regular.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: "LIFULL Font";
  src: url("../fonts/LIFULLFont-Bold.woff2") format("woff2");
  font-weight: bold;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: "LIFULL Font";
  src: url("../fonts/LIFULLFont-ExtraBold.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: block;
}

body {
  font-family: "LIFULL Font", "游ゴシック", YuGothic, "ヒラギノ角ゴ Pro W3",
    "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック",
    "MS PGothic", sans-serif;
  font-size: 14px;
  line-height: 2;
  color: #1f1f1f;
}

a,
a:hover,
a:focus,
a:active,
a:visited {
  text-decoration: none !important;
  outline: none !important;
}

.without-pc {
  display: block;

  @media (min-width: 961px) {
    display: none;
  }
}

.without-tb {
  display: block;

  @media (min-width: 768px) and (max-width: 960px) {
    display: none;
  }
}

.without-sp {
  display: block;

  @media (width < 768px) {
    display: none;
  }
}

span.without-sp {
  display: inline;

  @media (width < 768px) {
    display: none;
  }
}

.with-pc {
  display: none;

  @media (min-width: 961px) {
    display: block;
  }
}

.with-tb {
  display: none;

  @media (min-width: 768px) and (max-width: 960px) {
    display: block;
  }
}

.with-sp {
  display: none;

  @media (width < 768px) {
    display: block;
  }
}

.bold {
  font-weight: bold;
}

.primary-text {
  color: #ed6103;
}

.wp-block-button__link {
  display: inline-block;
}

.delay-500 {
  animation-delay: 500ms;
}

.delay-1000 {
  animation-delay: 1000ms;
}

.delay-1500 {
  animation-delay: 1500ms;
}

.delay-2000 {
  animation-delay: 2000ms;
}

.delay-2500 {
  animation-delay: 2500ms;
}

.delay-3000 {
  animation-delay: 3000ms;
}

.delay-3500 {
  animation-delay: 3500ms;
}

.delay-4000 {
  animation-delay: 4000ms;
}

.delay-4500 {
  animation-delay: 4500ms;
}

.delay-5000 {
  animation-delay: 5000ms;
}

.duration-500 {
  animation-duration: 500ms;
}

.duration-1000 {
  animation-duration: 1000ms;
}

.duration-1500 {
  animation-duration: 1500ms;
}

.duration-2000 {
  animation-duration: 2000ms;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fadeIn {
  animation: fadeIn 0.5s ease-in-out forwards;
}

.animate-fadeInUp {
  animation: fadeInUp 0.5s ease-in-out forwards;
}

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  background-color: #ffffff;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;

  .nav {
    /* max-width: 1400px; */
    margin: 0 auto;
    padding: 0 40px;
    height: 96px;
    display: flex;
    align-items: center;
    justify-content: space-between;

    @media (width < 768px) {
      padding: 0 16px;
      height: 62px;
    }

    @media (width >= 768px) and (width <= 960px) {
      padding: 0 16px;
    }

    .logo {
      line-height: 0;

      img {
        width: 180px;
        height: 40px;

        @media (width < 768px) {
          width: 126px;
          height: 28px;
          object-fit: contain;
        }
      }
    }

    .primary-button {
      @media (width < 768px) {
        padding: 0;
        width: 104px;
        height: 31px;
        font-size: 14px;
      }
    }

    .menu {
      display: flex;
      gap: 64px;
      height: 100%;

      @media (width < 768px) {
        display: none;
      }

      @media (width >= 768px) and (width <= 960px) {
        gap: 40px;
      }

      .link {
        color: #1f1f1f;
        display: flex;
        align-items: center;
        font-size: 18px;
        font-weight: bold;
        line-height: 32px;
        letter-spacing: 0;

        &:hover {
          color: #ed6103;
        }
      }
    }

    .humberger-menu {
      width: 24px;
      height: 24px;
      background-image: url(../images/icons/bar-3.svg);
      display: none;

      @media (width < 768px) {
        display: block;
      }
    }
  }

  .humberger-menu-dropdown {
    position: fixed;
    top: 62px;
    left: 0;
    width: 100%;
    background: #ffffff;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s ease;
    z-index: 90;

    &.is-open {
      max-height: 526px;
      border-bottom: solid 1px #d9d9d9;
    }

    @media (width >= 768px) {
      display: none;
    }

    .links {
      .link {
        display: block;
        width: 100%;
        padding: 24px 0;
        text-align: center;
        border-bottom: solid 1px #d9d9d9;
        color: #1f1f1f;
        font-size: 16px;
        font-weight: bold;
        line-height: 1;
        letter-spacing: 0.05em;

        &.sub-menu {
          position: relative;

          &::after {
            content: "";
            display: inline-block;
            background-image: url(../images/icons/arrow-down.svg);
            width: 24px;
            height: 24px;
            position: absolute;
            top: calc(50% - 12px);
            right: 20px;
            transition: transform 0.3s ease;
          }
        }

        &.sub {
          background-color: #f7f7f7;
          overflow: hidden;
          max-height: 0;
          padding: 0 0 0 calc(50% - 92px);
          opacity: 0;
          transition: max-height 0.5s ease, padding 0.5s ease,
            opacity 0.35s ease;
          text-align: left;

          &.partner,
          &.client,
          &.local {
            position: relative;

            &::before {
              content: "";
              display: block;
              background-size: contain;
              background-repeat: no-repeat;
              background-position: center;
              width: 58px;
              height: 47px;
              position: absolute;
              top: calc(50% - 27px);
              left: calc(50% - 160px);
            }
          }

          &.partner::before {
            background-image: url(../images/icon_partner_logo.png);
          }

          &.client::before {
            background-image: url(../images/icon_client_logo.png);
          }

          &.local::before {
            background-image: url(../images/icon_local_logo.png);
          }
        }
      }

      &.open-sub {
        .link.sub {
          max-height: 70px;
          padding-top: 24px;
          padding-bottom: 24px;
          opacity: 1;
        }
        .link.sub-menu::after {
          transform: rotate(180deg);
        }
      }

      .close-button {
        width: 100%;
        padding: 56px 0;
        margin: 0 auto;
        color: #1f1f1f;
        font-size: 16px;
        font-weight: bold;
        text-align: center;
        line-height: 1;
        letter-spacing: 0.05em;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;

        &::before {
          content: "";
          display: inline-block;
          background-image: url(../images/icons/close.svg);
          background-size: contain;
          width: 24px;
          height: 24px;
        }
      }
    }
  }

  .service-menu-link {
    .service-menu-dropdown {
      opacity: 0;
      visibility: hidden;
      width: 362px;
      height: 200px;
      position: absolute;
      border-radius: 12px;
      top: 96px;
      right: 66px;
      background-color: white;
      box-shadow: 5px 4px 9px rgba(0, 0, 0, 0.15);
      z-index: 100;
      padding: 24px 28px;
      transition: opacity 0.3s ease, visibility 0.3s ease;

      @media (width >= 1400px) {
        right: calc(50% - 634px);
      }

      .row {
        display: flex;
        align-items: center;
        padding-bottom: 12px;
        color: #1f1f1f;

        img {
          width: 56px;
          height: 40px;
          margin-right: 12px;
          object-fit: contain;
        }

        .text {
          font-size: 16px;
          font-weight: bold;
          letter-spacing: 0.05em;
        }

        &:hover {
          color: #ed6103;
        }
      }
    }
    &:hover {
      .service-menu-dropdown {
        opacity: 1;
        visibility: visible;
      }
    }
  }
}

.breadcrumb {
  display: flex;
  justify-content: flex-start;
  padding: 16px 42px;
  border-top: 1px solid #e8e8e8;

  &.bb {
    border-bottom: 1px solid #e8e8e8;
  }

  @media (width <= 960px) {
    padding: 16px;
  }

  .link {
    color: #1f1f1f;
    font-size: 14px;
    letter-spacing: 0.15em;

    &.active {
      font-weight: bold;
    }
  }

  .link:not(:last-child)::after {
    content: "＞";
    margin: 0 8px;
  }
}

.container {
  > .body {
    max-width: 878px;
    margin: 0 auto;

    @media (width < 768px) {
      margin: 0 16px;
    }

    @media (width >= 768px) and (width <= 960px) {
      margin: 0 40px;
    }

    .page-info {
      display: flex;
      justify-content: space-between;
      padding-top: 68px;
      padding-bottom: 36px;

      @media (width <= 960px) {
        padding-top: 32px;
      }

      .left-column {
        display: flex;
        align-items: center;
        gap: 24px;

        @media (width < 768px) {
          gap: 16px;
        }

        .created-at {
          font-size: 14px;
          letter-spacing: 0.1em;

          @media (width < 768px) {
            font-size: 12px;
          }
        }

        .category {
          font-size: 14px;
          font-weight: bold;
          line-height: 1;
          letter-spacing: 0.1em;
          color: #ed6103;
          border: 1px solid #ed6103;
          border-radius: 4px;
          padding: 4px 12px;
        }
      }

      .right-column {
        display: flex;
        align-items: center;
        gap: 16px;

        @media (width < 768px) {
          gap: 8px;
        }

        .sns-share {
          font-size: 14px;
          letter-spacing: 0.15em;
          margin-right: 10px;

          @media (width < 768px) {
            font-size: 12px;
            margin-right: 0;
          }
        }

        .sns-facebook,
        .sns-x {
          width: 32px;
          height: 32px;
          background-size: contain;
          background-repeat: no-repeat;

          @media (width < 768px) {
            width: 24px;
            height: 24px;
          }
        }

        .sns-facebook {
          background-image: url(../images/icons/icon_facebook.svg);
        }

        .sns-x {
          background-image: url(../images/icons/icon_x.svg);
        }
      }
    }

    > .title h1 {
      font-size: 40px;
      font-weight: bold;
      line-height: 1.6;
      letter-spacing: 0.15em;
      margin-bottom: 40px;

      @media (width <= 960px) {
        font-size: 28px;
        letter-spacing: 0.1em;
        margin-bottom: 32px;
      }
    }

    > .content {
      font-size: 14px;
      line-height: 2;
      letter-spacing: 0.1em;

      @media (width < 768px) {
        letter-spacing: 0.05em;
      }

      h1 {
        color: #ed6103;
        font-size: 32px;
        font-weight: bold;
        line-height: 1.6;
        letter-spacing: 0.1em;
        margin: 54px 0 24px 0;

        @media (width <= 960px) {
          font-size: 24px;
          margin-top: 40px;
        }
      }

      h2 {
        font-size: 24px;
        font-weight: bold;
        line-height: 1.6;
        letter-spacing: 0.1em;
        margin: 54px 0 20px 0;
        padding-bottom: 16px;
        border-bottom: 1px solid;
        border-image: linear-gradient(to right, #ed6103 80px, #a5a5a5 0) 1;

        @media (width <= 960px) {
          font-size: 20px;
          margin-top: 40px;
        }
      }

      h3 {
        font-size: 20px;
        font-weight: bold;
        line-height: 1.6;
        letter-spacing: 0.1em;
        margin: 24px 0;

        @media (width <= 960px) {
          font-size: 18px;
          margin: 12px 0;
        }
      }

      img {
        border-radius: 16px;
      }
    }

    .relation {
      margin-top: 54px;
      margin-bottom: 134px;

      @media (width <= 960px) {
        margin-bottom: 64px;
      }

      .to-index {
        margin-bottom: 96px;

        .secondary-button {
          width: 237px;
          margin: 0 auto;
        }
      }

      .relation-post {
        .relation-title {
          color: #ed6103;
          font-size: 32px;
          font-weight: bold;
          line-height: 1.6;
          letter-spacing: 0.1em;
          margin-bottom: 33px;

          @media (width < 768px) {
            margin-bottom: 20px;
          }

          @media (width >= 768px) and (width <= 960px) {
            margin-bottom: 24px;
          }

          @media (width <= 960px) {
            font-size: 24px;
            letter-spacing: 0.05em;
          }
        }

        > .list {
          display: flex;
          gap: 24px;

          @media (width < 768px) {
            flex-direction: column;
            gap: 32px;
            align-items: center;
          }

          @media (width >= 768px) and (width <= 960px) {
            gap: 20px;
          }

          > .post {
            > .link {
              > .image {
                line-height: 0;

                > img {
                  border-radius: 16px;
                  width: 417px;
                  height: 240px;
                  object-fit: cover;

                  @media (width <= 960px) {
                    width: 100%;
                    max-width: 417px;
                    height: auto;
                    aspect-ratio: 16 / 9;
                  }
                }
              }

              > .info {
                margin-top: 24px;

                @media (width < 768px) {
                  margin-top: 20px;
                }

                @media (width >= 768px) and (width <= 960px) {
                  margin-top: 16px;
                }

                .date {
                  color: #1f1f1f;
                  font-size: 14px;
                  letter-spacing: 0.1em;

                  @media (width < 768px) {
                    font-size: 12px;
                  }

                  @media (width >= 768px) and (width <= 960px) {
                    letter-spacing: 0;
                  }
                }

                .category {
                  display: inline-block;
                  margin-left: 14px;
                  font-size: 14px;
                  font-weight: bold;
                  line-height: 1;
                  letter-spacing: 0.1em;
                  color: #ed6103;
                  border: 1px solid #ed6103;
                  border-radius: 4px;
                  padding: 4px 12px;

                  @media (width >= 768px) and (width <= 960px) {
                    letter-spacing: -0.02em;
                  }

                  @media (width <= 960px) {
                    font-size: 12px;
                  }
                }
              }

              > .title {
                margin-top: 10px;
                color: #1f1f1f;
                font-size: 16px;
                font-weight: bold;
                line-height: 1.8;
                letter-spacing: 0.1em;

                @media (width <= 960px) {
                  margin-top: 8px;
                  font-size: 14px;
                  line-height: 2;
                }
              }
            }
          }
        }
      }
    }
  }
}

.fam-links {
  display: flex;
  gap: 2px;
  background-color: white;
  margin: 0 2px;

  @media (width <= 960px) {
    flex-direction: column;
    gap: 2px;
  }

  .partner-link {
    background-color: #fbf4f4;
    display: block;
    position: relative;
    z-index: 1;
    width: calc((100vw / 3) - 1px);
    height: 200px;

    &::before {
      content: "";
      display: block;
      position: absolute;
      z-index: -1;
      top: -15px;
      left: calc(15400vw / 1440);
      background-color: #ffffff;
      background-size: contain;
      border-radius: 100%;
      width: 232px;
      height: 232px;

      @media (width <= 960px) {
        width: 242px;
        height: 242px;
        left: calc(50% - 121px);
      }

      @media (width < 768px) {
        width: 232px;
        height: 232px;
        left: calc(50% - 116px);
      }
    }

    &::after {
      content: "";
      display: block;
      position: absolute;
      z-index: -1;
      top: calc(50% - calc(14000vw / 1440) / 2 + 4px);
      left: calc(4200vw / 1440);
      background-image: url(../images/image_partner.png);
      background-size: contain;
      width: calc(14700vw / 1440);
      height: calc(14000vw / 1440);

      @media (width < 768px) {
        width: 126px;
        height: 120px;
        top: 34px;
        left: calc(50% - 175px);
      }

      @media (width >= 768px) and (width <= 960px) {
        top: 22px;
        left: calc(50% - 214px);
        width: 160px;
        height: 152px;
      }

      @media (width >= 1440px) {
        width: 147px;
        height: 140px;
        top: 34px;
        left: 42px;
      }
    }

    &:hover,
    &:active {
      box-shadow: 0 0 0 2px #fcd700;
    }

    .sub-title {
      color: #ffffff;
      font-size: 12px;
      font-weight: bold;
      line-height: 1;
      letter-spacing: 0.1em;
      background-color: #fcd700;
      padding: 4px 12px;
      position: absolute;
      top: 54px;
      left: calc(21800vw / 1440);

      @media (width <= 960px) {
        left: 50%;
      }
    }

    .title {
      color: #ed6103;
      font-size: calc(2400vw / 1440);
      font-weight: bold;
      line-height: 1.5;
      letter-spacing: 0.1em;
      position: absolute;
      top: 84px;
      left: calc(21800vw / 1440);

      @media (width <= 960px) {
        left: 50%;
        font-size: 24px;
      }

      @media (width < 768px) {
        font-size: 20px;
      }

      @media (width >= 1440px) {
        font-size: 24px;
      }
    }

    .more {
      font-size: 14px;
      font-weight: bold;
      letter-spacing: 0;
      color: #ed6103;
      position: absolute;
      top: 12px;
      right: 36px;
      z-index: 2;

      @media (width >= 768px) and (width <= 960px) {
        top: 34px;
        right: 56px;
      }

      &::before {
        content: "";
        display: block;
        background-color: #fdeb80;
        width: 24px;
        height: 24px;
        border-radius: 100%;
        position: absolute;
        top: 2px;
        left: -20px;
        z-index: -1;

        @media (width >= 768px) and (width <= 960px) {
          width: 40px;
          height: 40px;
          top: -8px;
          left: -28px;
        }
      }

      &::after {
        content: "";
        display: block;
        background-image: url(../images/icons/arrow-right.svg);
        width: 24px;
        height: 24px;
        border-radius: 100%;
        position: absolute;
        top: 0;
        right: -28px;
        z-index: -1;
      }
    }
  }

  .client-link {
    background-color: #edeff3;
    display: block;
    position: relative;
    z-index: 1;
    width: calc((100vw / 3) - 1px);
    height: 200px;

    &::before {
      content: "";
      display: block;
      position: absolute;
      z-index: -1;
      top: 30px;
      left: calc(14300vw / 1440);
      background-color: #ffffff;
      background-size: contain;
      border-radius: 6px;
      width: 176px;
      height: 187px;

      @media (width < 768px) {
        height: 177px;
        top: 46px;
        left: calc(50% - 67px);
      }

      @media (width >= 768px) and (width <= 960px) {
        top: 18px;
        left: calc(50% - 102px);
        width: 204px;
        height: 205px;
      }
    }

    &::after {
      content: "";
      display: block;
      position: absolute;
      z-index: -1;
      top: calc(50% - calc(14100vw / 1440) / 2);
      left: calc(3100vw / 1440);
      background-image: url(../images/image_client.png);
      background-size: contain;
      width: calc(14600vw / 1440);
      height: calc(14100vw / 1440);

      @media (width < 768px) {
        width: 124px;
        height: 120px;
        top: 49px;
        left: calc(50% - 160px);
      }

      @media (width >= 768px) and (width <= 960px) {
        width: 131px;
        height: 127px;
        top: 32px;
        left: calc(50% - 194px);
      }

      @media (width >= 1440px) {
        width: 146px;
        height: 141px;
        top: 29.5px;
        left: 31px;
      }
    }

    &:hover,
    &:active {
      box-shadow: 0 0 0 2px #003fa3;
    }

    .sub-title {
      color: #ffffff;
      font-size: 12px;
      font-weight: bold;
      line-height: 1;
      letter-spacing: 0.1em;
      background-color: #003fa3;
      padding: 4px 12px;
      position: absolute;
      top: 58px;
      left: calc(19600vw / 1440);

      @media (width <= 960px) {
        left: 50%;
      }
    }

    .title {
      color: #ed6103;
      font-size: calc(2400vw / 1440);
      font-weight: bold;
      line-height: 1.5;
      letter-spacing: 0em;
      position: absolute;
      top: 88px;
      left: calc(19600vw / 1440);

      @media (width <= 960px) {
        left: 50%;
        font-size: 24px;
      }

      @media (width < 768px) {
        font-size: 20px;
      }

      @media (width >= 1440px) {
        font-size: 24px;
      }
    }

    .more {
      font-size: 14px;
      font-weight: bold;
      letter-spacing: 0;
      color: #ed6103;
      position: absolute;
      top: 12px;
      right: 36px;
      z-index: 2;

      @media (width >= 768px) and (width <= 960px) {
        top: 34px;
        right: 56px;
      }

      &::before {
        content: "";
        display: block;
        background-color: #b2c5e3;
        width: 24px;
        height: 24px;
        border-radius: 2px;
        position: absolute;
        top: 2px;
        left: -20px;
        z-index: -1;

        @media (width >= 768px) and (width <= 960px) {
          width: 30px;
          height: 30px;
          top: -2px;
          left: -18px;
        }
      }

      &::after {
        content: "";
        display: block;
        background-image: url(../images/icons/arrow-right.svg);
        width: 24px;
        height: 24px;
        border-radius: 100%;
        position: absolute;
        top: 0;
        right: -28px;
        z-index: -1;
      }
    }
  }

  .local-link {
    background-color: #f3eee8;
    display: block;
    position: relative;
    z-index: 1;
    width: calc((100vw / 3) - 1px);
    height: 200px;

    &::before {
      content: "";
      display: block;
      position: absolute;
      z-index: -1;
      top: -15px;
      left: calc(13200vw / 1440);
      background-image: url(../images/local/triangle_1.svg);
      background-size: contain;
      width: 262px;
      height: 177px;

      @media (width < 768px) {
        width: 290px;
        height: 196px;
        top: -15px;
        left: calc(50% - 98px);
      }

      @media (width >= 768px) and (width <= 960px) {
        width: 309px;
        height: 209px;
        top: -26px;
        left: calc(50% - 154.5px);
      }
    }

    &::after {
      content: "";
      display: block;
      position: absolute;
      z-index: -1;
      top: calc(50% - calc(13000vw / 1440) / 2 + 13px);
      left: calc(4000vw / 1440);
      background-image: url(../images/image_local.png);
      background-size: contain;
      background-repeat: no-repeat;
      width: calc(19100vw / 1440);
      height: calc(13000vw / 1440);

      @media (width < 768px) {
        width: 148px;
        height: 101px;
        top: 62px;
        left: calc(50% - 170px);
      }

      @media (width >= 768px) and (width <= 960px) {
        top: 23px;
        left: calc(50% - 236px);
        width: 203px;
        height: 138px;
      }

      @media (width >= 1440px) {
        width: 191px;
        height: 130px;
        top: 48px;
        left: 40px;
      }
    }

    &:hover,
    &:active {
      box-shadow: 0 0 0 2px #187f50;
    }

    .sub-title {
      color: #ffffff;
      font-size: 12px;
      font-weight: bold;
      line-height: 1;
      letter-spacing: 0.1em;
      background-color: #187f50;
      padding: 4px 12px;
      position: absolute;
      top: 54px;
      left: calc(23100vw / 1440);

      @media (width <= 960px) {
        left: 50%;
      }
    }

    .title {
      color: #ed6103;
      font-size: calc(2400vw / 1440);
      font-weight: bold;
      line-height: 1.5;
      letter-spacing: 0.1em;
      position: absolute;
      top: 84px;
      left: calc(23100vw / 1440);

      @media (width <= 960px) {
        left: 50%;
        font-size: 24px;
      }

      @media (width < 768px) {
        font-size: 20px;
      }

      @media (width >= 1440px) {
        font-size: 24px;
      }
    }

    .more {
      font-size: 14px;
      font-weight: bold;
      letter-spacing: 0;
      color: #ed6103;
      position: absolute;
      top: 12px;
      right: 36px;
      z-index: 2;

      @media (width >= 768px) and (width <= 960px) {
        top: 34px;
        right: 56px;
      }

      &::before {
        content: "";
        display: block;
        background-image: url(../images/local/triangle_2.svg);
        background-size: contain;
        background-repeat: no-repeat;
        width: 36px;
        height: 28px;
        position: absolute;
        top: 0;
        left: -20px;
        z-index: -1;

        @media (width >= 768px) and (width <= 960px) {
          width: 48px;
          height: 30px;
          top: -4px;
          left: -25px;
        }
      }

      &::after {
        content: "";
        display: block;
        background-image: url(../images/icons/arrow-right.svg);
        width: 24px;
        height: 24px;
        border-radius: 100%;
        position: absolute;
        top: 0;
        right: -28px;
        z-index: -1;
      }
    }
  }

  > .link {
    overflow: hidden;
    transition: box-shadow 0.3s ease;

    @media (width <= 960px) {
      transition: none;
      width: 100%;
    }

    .more::after {
      transition: transform 0.3s ease;
    }

    .text {
      display: none;
    }
  }

  > .link:hover .more::after {
    transform: translateX(8px);
  }
}

.primary-button {
  display: flex;
  background-color: #ed6103;
  color: white;
  font-size: 16px;
  font-weight: bold;
  letter-spacing: 0.1em;
  border-radius: 9999px;
  padding: 0 32px;
  height: 54px;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease, color 0.3s ease;

  &:hover {
    background-color: #d24e00;
  }
}

.secondary-button {
  display: flex;
  background-color: white;
  color: #ed6103;
  font-size: 16px;
  font-weight: bold;
  letter-spacing: 0;
  border-radius: 9999px;
  border: solid 2px #ed6103;
  padding: 0 32px;
  height: 54px;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease, color 0.3s ease;

  &:hover {
    background-color: #ed6103;
    color: white;
  }
}

.white-button {
  display: flex;
  background-color: white;
  color: #ed6103;
  font-size: 16px;
  font-weight: bold;
  letter-spacing: 0.1em;
  border-radius: 9999px;
  padding: 0 32px;
  height: 54px;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease, color 0.3s ease;

  &:hover {
    background-color: #d24e00;
    color: white;
  }
}

.pause-button {
  background: url("../images/icons/pause-circle.svg") no-repeat center;
  width: 20px;
  height: 20px;
  cursor: pointer;

  &:hover {
    background: url("../images/icons/pause-circle-hover.svg") no-repeat center;
  }

  &.is-paused {
    background: url("../images/icons/pause-circle-play.svg") no-repeat center;

    &:hover {
      background: url("../images/icons/pause-circle-play-hover.svg") no-repeat
        center;
    }
  }
}

.fadeup-image {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease-in-out, transform 1s ease-in-out;

  &.only-pc {
    @media (width <= 960px) {
      opacity: 1;
      transform: translateY(0);
    }
  }

  &.active {
    opacity: 1;
    transform: translateY(0);
  }
}

.heading {
  position: relative;
  display: inline-block;

  &::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    background-image: url(../images/lifull_focus.svg);
    background-size: contain;
    width: 39px;
    height: 39px;

    opacity: 0;
    transform: translate(-10px, -10px);
    transition: opacity 300ms ease-in-out 500ms,
      transform 300ms ease-in-out 500ms;

    @media (width < 768px) {
      width: 28px;
      height: 28px;
    }
  }

  &.active::before {
    opacity: 1;
    transform: translate(0);
  }

  &::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    background-image: url(../images/lifull_focus.svg);
    background-size: contain;
    rotate: -90deg;
    width: 39px;
    height: 39px;

    opacity: 0;
    transform: translate(-10px, -10px);
    transition: opacity 300ms ease-in-out 500ms,
      transform 300ms ease-in-out 500ms;

    @media (width < 768px) {
      width: 28px;
      height: 28px;
    }
  }

  &.active::after {
    opacity: 1;
    transform: translate(0);
  }

  @media (width <= 960px) {
    width: 100%;
  }

  .heading-body {
    position: relative;
    color: #ed6103;
    font-weight: bold;
    padding: 50px 80px 62px 80px;

    &::before {
      content: "";
      position: absolute;
      top: 0;
      right: 0;
      background-image: url(../images/lifull_focus.svg);
      background-size: contain;
      rotate: 90deg;
      width: 39px;
      height: 39px;

      opacity: 0;
      transform: translate(-10px, -10px);
      transition: opacity 300ms ease-in-out 500ms,
        transform 300ms ease-in-out 500ms;

      @media (width < 768px) {
        width: 28px;
        height: 28px;
      }
    }

    &.active::before {
      opacity: 1;
      transform: translate(0);
    }

    &::after {
      content: "";
      position: absolute;
      bottom: 0;
      right: 0;
      background-image: url(../images/lifull_focus.svg);
      background-size: contain;
      rotate: 180deg;
      width: 39px;
      height: 39px;

      opacity: 0;
      transform: translate(-10px, -10px);
      transition: opacity 300ms ease-in-out 500ms,
        transform 300ms ease-in-out 500ms;

      @media (width < 768px) {
        width: 28px;
        height: 28px;
      }
    }

    &.active::after {
      opacity: 1;
      transform: translate(0);
    }

    @media (width < 768px) {
      display: flex;
      justify-content: center;
      padding: 44px 0 44px 0;
    }

    @media (width >= 768px) and (width <= 960px) {
      display: flex;
      justify-content: center;
      padding: 50px 0 62px 0;
    }

    .heading-text {
      opacity: 0;
      transform: translateY(10px);
      transition: opacity 500ms ease-in-out, transform 500ms ease-in-out;

      &.active {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .sub-text {
      font-size: 14px;
      letter-spacing: 0.03em;
      line-height: 1.2;
      margin-bottom: 8px;
    }

    .main-text {
      font-size: 44px;
      letter-spacing: 0.1em;
      line-height: 1.6;

      @media (width < 768px) {
        font-size: 28px;
        line-height: 1.6;
        letter-spacing: 0.1em;
      }

      @media (width >= 768px) and (width <= 960px) {
        font-size: 40px;
        letter-spacing: 0.08em;
        line-height: 1.4;
      }
    }
  }
}

.heading2 {
  position: relative;
  z-index: 1;
  color: #ed6103;
  font-weight: bold;

  @media (width < 768px) {
    padding-left: 27px;
  }

  @media (width >= 768px) and (width <= 960px) {
    padding-left: 43px;
  }

  .sub-text {
    font-size: 14px;
    letter-spacing: 0.03em;
    line-height: 1.2;
    margin-bottom: 8px;

    opacity: 0;
    transform: translateY(20px);
    transition: opacity 500ms ease-in-out, transform 500ms ease-in-out;

    @media (width < 768px) {
      margin-bottom: 2px;
    }

    &.active {
      opacity: 1;
      transform: translate(0);
    }
  }

  .main-text {
    font-size: 40px;
    letter-spacing: 0.1em;
    line-height: 1.4;

    opacity: 0;
    transform: translateY(20px);
    transition: opacity 500ms ease-in-out, transform 500ms ease-in-out;

    @media (width < 768px) {
      font-size: 28px;
      line-height: 1.4;
    }

    @media (width >= 768px) and (width <= 960px) {
      line-height: 1.4;
    }

    &.active {
      opacity: 1;
      transform: translate(0);
    }
  }
}

.heading-section {
  background-color: #f7f7f7;
  padding: 50px 0;
  display: flex;
  justify-content: center;

  @media (width < 768px) {
    padding: 32px 0;
  }

  @media (width >= 768px) and (width <= 960px) {
    padding: 40px 0;
  }

  .sections-heading {
    display: inline-block;
    position: relative;

    &::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      background-image: url(../images/lifull_focus.svg);
      background-size: contain;
      width: 39px;
      height: 39px;

      @media (width <= 960px) {
        width: 28px;
        height: 28px;
      }
    }

    &::after {
      content: "";
      position: absolute;
      bottom: 0;
      left: 0;
      background-image: url(../images/lifull_focus.svg);
      background-size: contain;
      rotate: -90deg;
      width: 39px;
      height: 39px;

      @media (width <= 960px) {
        width: 28px;
        height: 28px;
      }
    }

    .heading-body {
      position: relative;
      color: #ed6103;
      font-weight: bold;
      padding: 28px 100px;

      &::before {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        background-image: url(../images/lifull_focus.svg);
        background-size: contain;
        rotate: 90deg;
        width: 39px;
        height: 39px;

        @media (width <= 960px) {
          width: 28px;
          height: 28px;
        }
      }

      &::after {
        content: "";
        position: absolute;
        bottom: 0;
        right: 0;
        background-image: url(../images/lifull_focus.svg);
        background-size: contain;
        rotate: 180deg;
        width: 39px;
        height: 39px;

        @media (width <= 960px) {
          width: 28px;
          height: 28px;
        }
      }

      @media (width < 768px) {
        display: flex;
        justify-content: center;
        padding: 40px 80px;
      }

      @media (width >= 768px) and (width <= 960px) {
        display: flex;
        justify-content: center;
        padding: 28px 80px;
      }

      .title {
        display: inline-block;
        font-size: 40px;
        font-weight: bold;
        line-height: 1.5;
        letter-spacing: 0.1em;

        @media (width < 768px) {
          font-size: 28px;
          line-height: 1.2;
        }

        @media (width >= 768px) and (width <= 960px) {
          font-size: 28px;
        }
      }
    }
  }
}

.news-list-body {
  max-width: 1060px;
  margin: 64px auto 144px auto;

  @media (width < 768px) {
    margin: 16px 16px 64px 16px;
  }

  @media (width >= 768px) and (width <= 960px) {
    margin: 0 40px 64px 40px;
  }

  @media (width > 960px) and (width <= 1140px) {
    margin: 64px 40px 144px 40px;
  }

  .news-list {
    .news-item {
      display: flex;
      justify-content: flex-start;
      align-items: center;
      gap: 24px;
      padding: 32px 0;
      border-bottom: 1px solid #e8e8e8;
      transition: border-bottom 0.3s ease;

      @media (width < 768px) {
        padding: 24px 0;
        gap: 12px;
        flex-direction: column;
        align-items: flex-start;
      }

      &:hover {
        border-bottom: 2px solid #ed6103;

        .created-on {
          color: #ed6103;
        }

        .title {
          color: #ed6103;
        }
      }

      .created-on {
        font-size: 14px;
        line-height: 1;
        letter-spacing: 0;
        color: #1f1f1f;
        transition: color 0.3s ease;
      }

      .category {
        width: 124px;
        font-size: 12px;
        font-weight: bold;
        line-height: 1;
        letter-spacing: -0.02em;
        color: #ed6103;
        border: 1px solid #ed6103;
        padding: 6px 0;
        border-radius: 4px;
        text-align: center;
      }

      .title {
        font-size: 14px;
        line-height: 1;
        letter-spacing: 0.1em;
        color: #1f1f1f;
        transition: color 0.3s ease;

        @media (width < 768px) {
          margin-top: 4px;
        }
      }
    }
  }
}

.recruit-area {
  background: linear-gradient(white 50%, transparent 50%),
    linear-gradient(transparent 50%, #fbf4f4 50%);

  .recruit {
    width: 100%;
    max-width: 1070px;
    background-color: #ed6103;
    border-radius: 20px 0 0 20px;
    position: relative;
    z-index: 1;
    margin-left: auto;

    &::before {
      content: "";
      position: absolute;
      top: 40px;
      left: 40px;
      background-image: url(../images/lifull_focus_white.svg);
      background-size: contain;
      width: 39px;
      height: 39px;
      z-index: 2;

      opacity: 0;
      transform: translate(-10px, -10px);
      transition: opacity 300ms ease-in-out 500ms,
        transform 300ms ease-in-out 500ms;

      @media (width < 768px) {
        top: 16px;
        left: 16px;
      }

      @media (width <= 960px) {
        width: 28px;
        height: 28px;
      }
    }

    &.active::before {
      opacity: 1;
      transform: translate(0);
    }

    &::after {
      content: "";
      position: absolute;
      bottom: 40px;
      left: 40px;
      background-image: url(../images/lifull_focus_white.svg);
      background-size: contain;
      rotate: -90deg;
      width: 39px;
      height: 39px;
      z-index: 2;

      opacity: 0;
      transform: translate(-10px, -10px);
      transition: opacity 300ms ease-in-out 500ms,
        transform 300ms ease-in-out 500ms;

      @media (width < 768px) {
        bottom: 16px;
        left: 16px;
      }

      @media (width <= 960px) {
        width: 28px;
        height: 28px;
      }
    }

    &.active::after {
      opacity: 1;
      transform: translate(0);
    }

    @media (width <= 960px) {
      border-radius: 0;
    }

    .recruit-body {
      padding: 100px 138px;
      color: white;

      &::before {
        content: "";
        position: absolute;
        top: 40px;
        right: 40px;
        background-image: url(../images/lifull_focus_white.svg);
        background-size: contain;
        rotate: 90deg;
        width: 39px;
        height: 39px;

        opacity: 0;
        transform: translate(-10px, -10px);
        transition: opacity 300ms ease-in-out 500ms,
          transform 300ms ease-in-out 500ms;

        @media (width < 768px) {
          top: 16px;
          right: 16px;
        }

        @media (width <= 960px) {
          width: 28px;
          height: 28px;
        }
      }

      &.active::before {
        opacity: 1;
        transform: translate(0);
      }

      &::after {
        content: "";
        position: absolute;
        bottom: 40px;
        right: 40px;
        background-image: url(../images/lifull_focus_white.svg);
        background-size: contain;
        rotate: 180deg;
        width: 39px;
        height: 39px;

        opacity: 0;
        transform: translate(-10px, -10px);
        transition: opacity 300ms ease-in-out 500ms,
          transform 300ms ease-in-out 500ms;

        @media (width < 768px) {
          bottom: 16px;
          right: 16px;
        }

        @media (width <= 960px) {
          width: 28px;
          height: 28px;
        }
      }

      &.active::after {
        opacity: 1;
        transform: translate(0);
      }

      @media (width < 768px) {
        padding: 60px 36px;
      }

      @media (width >= 768px) and (width <= 960px) {
        padding: 100px 120px;
      }

      .title {
        font-size: 44px;
        font-weight: bold;
        line-height: 1.6;
        letter-spacing: 0.1em;
        margin-bottom: 16px;

        opacity: 0;
        transform: translateY(20px);
        transition: opacity 500ms ease-in-out, transform 500ms ease-in-out;

        @media (width < 768px) {
          font-size: 29px;
          letter-spacing: 0.05em;
        }

        @media (width >= 768px) and (width <= 960px) {
          font-size: 40px;
          line-height: 1.6;
          letter-spacing: 0.05em;
          text-align: center;
        }

        &.active {
          opacity: 1;
          transform: translate(0);
        }
      }

      .text {
        font-size: 16px;
        line-height: 2;
        letter-spacing: 0.1em;
        margin-bottom: 48px;

        opacity: 0;
        transform: translateY(20px);
        transition: opacity 500ms ease-in-out, transform 500ms ease-in-out;

        @media (width <= 960px) {
          margin-bottom: 24px;
        }

        &.active {
          opacity: 1;
          transform: translate(0);
        }
      }

      .white-button {
        width: 282px;

        @media (width <= 960px) {
          width: 310px;
          margin: 0 auto;
        }
      }
    }
  }
}

.footer {
  background-color: white;
  padding-top: 56px;

  @media (width < 768px) {
    padding-top: 64px;
    border-top: none;
  }

  @media (width >= 768px) and (width <= 960px) {
    padding-top: 24px;
  }

  .services {
    max-width: 1100px;
    margin: 0 auto 50px auto;

    @media (width < 768px) {
      margin: 0 auto 24px auto;
      padding: 0 16px;
    }

    @media (width >= 768px) and (width <= 960px) {
      padding: 0 40px;
      margin-bottom: 24px;
    }

    @media (width >= 961px) and (width <= 1180px) {
      margin-left: 40px;
      margin-right: 40px;
    }

    .title {
      font-size: 18px;
      font-weight: bold;
      line-height: 26px;
      letter-spacing: 0;
      margin-bottom: 10px;

      @media (width <= 960px) {
        font-size: 14px;
        margin-bottom: 4px;
      }
    }

    .list {
      display: flex;

      @media (width < 768px) {
        display: block;
        font-size: 12px;
        letter-spacing: 0;
      }

      a {
        color: #1f1f1f;
      }

      a::after {
        content: "｜";
      }
    }
  }

  .copyright {
    background-color: #ed6103;
    padding: 24px 0;

    @media (width < 768px) {
      padding: 24px 16px;
    }

    @media (width >= 768px) and (width <= 960px) {
      padding: 24px 40px;
    }

    @media (width >= 961px) and (width <= 1180px) {
      padding-left: 40px;
      padding-right: 40px;
    }

    .content {
      max-width: 1100px;
      margin: 0 auto;
      color: white;
      display: flex;
      justify-content: space-between;
      align-items: center;

      @media (width < 768px) {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
      }

      .footer-logo-link {
        display: flex;
        align-items: center;

        .footer-logo {
          width: 166px;
          height: 40px;

          @media (width < 768px) {
            width: 116px;
            height: 28px;
          }
        }
      }

      .text {
        text-align: right;

        @media (width < 768px) {
          text-align: left;
          font-size: 12px;
        }

        .list a {
          color: white;
        }

        .list a:not(:last-child)::after {
          content: "｜";
        }
      }
    }
  }
}

.navigation.pagination {
  display: flex;
  justify-content: center;
  margin: 100px 0;

  @media (width <= 960px) {
    margin-top: 40px;
    margin-bottom: 64px;
  }

  .nav-links {
    display: flex;
    align-items: center;
    gap: 16px;

    @media (width < 768px) {
      gap: 8px;
    }

    .page-numbers {
      font-size: 16px;
      font-weight: bold;
      line-height: 1;
      letter-spacing: 0;
      width: 40px;
      height: 40px;
      display: flex;
      align-items: center;
      justify-content: center;
      border: 1px solid #d2d2d2;
      border-radius: 4px;
      color: #1f1f1f;
      transition: background-color 0.3s ease, color 0.3s ease,
        background-image 0.3s ease, border 0.3s ease;

      @media (width < 768px) {
        font-size: 14px;
        width: 32px;
        height: 32px;
      }

      &.current {
        color: #ed6103;
        border-color: #ed6103;
      }

      &.dots {
        border: none;
        &:hover {
          border: none;
          background-color: transparent;
          color: #1f1f1f;
        }
      }

      &:hover {
        background-color: #ed6103;
        border-color: #ed6103;
        color: white;
      }

      &.prev {
        color: transparent;
        background-image: url(../images/icons/arrow-right-black.svg);
        background-repeat: no-repeat;
        background-position: center;
        transform: scaleX(-1);

        &:hover {
          background-image: url(../images/icons/arrow-right-white.svg);
        }
      }

      &.next {
        color: transparent;
        background-image: url(../images/icons/arrow-right-black.svg);
        background-repeat: no-repeat;
        background-position: center;

        &:hover {
          background-image: url(../images/icons/arrow-right-white.svg);
        }
      }
    }
  }
}

.recently-news-list {
  margin: 130px 40px 0 40px;

  @media (width < 768px) {
    margin: 14px 0 0 0;
    padding: 50px 16px 0 16px;
  }

  @media (width >= 768px) and (width <= 960px) {
    margin: 14px 0 0 0;
    padding: 50px 40px 64px 40px;
  }

  .content {
    width: 100%;
    max-width: 1060px;
    margin: 0 auto 96px auto;
    display: grid;
    grid-template-columns: 224px 1fr;
    grid-template-areas:
      "head body"
      "bottom bottom";
    column-gap: 40px;
    row-gap: 40px;

    @media (width <= 960px) {
      grid-template-columns: 1fr;
      grid-template-areas:
        "head"
        "body"
        "bottom";
      column-gap: 0;
      row-gap: 32px;
      margin-bottom: 0;
    }

    .head {
      grid-area: head;

      @media (width > 960px) {
        width: 224px;
      }

      .secondary-button {
        width: 176px;

        @media (width < 768px) {
          margin-left: 40px;
        }
      }
    }

    .body {
      grid-area: body;
      width: 100%;
      max-width: 780px;
      border-top: 1px solid #e8e8e8;

      @media (width <= 960px) {
        width: 100%;
      }

      .card {
        color: #1f1f1f;
        display: flex;
        align-items: center;
        padding: 30px 0;
        gap: 25px;
        border-bottom: 1px solid #e8e8e8;

        @media (width < 768px) {
          flex-direction: column;
          align-items: flex-start;
          gap: 12px;
          padding: 24px 0;
        }

        .date {
          @media (width < 768px) {
            line-height: 1;
          }
        }

        .category {
          width: 124px;
          text-align: center;
          font-size: 12px;
          font-weight: bold;
          line-height: 1;
          letter-spacing: -0.02em;
          color: #ed6103;
          border: 1px solid #ed6103;
          border-radius: 6px;
          padding: 6px;
        }

        .title {
          @media (width >= 768px) and (width <= 960px) {
            letter-spacing: 0.1em;
          }
        }
      }
    }

    .bottom {
      grid-area: bottom;
      width: 100%;

      @media (width <= 960px) {
        margin-top: 8px;
      }

      .secondary-button {
        width: 184px;
        margin: 0 0 0 auto;

        @media (width <= 960px) {
          margin: 0 auto;
        }
      }
    }
  }
}

.wp-block-gallery {
  margin: 54px 0;

  @media (width < 768px) {
    display: flex;
    flex-direction: column;
    gap: 20px;

    .wp-block-image {
      width: 100% !important;
    }
  }

  @media (width <= 960px) {
    margin: 32px 0;
  }
}

.wp-block-image {
  margin: 54px 0;
}
