/*
Theme Name: jiritsu_gaku
Version: 1.0.0a
*/

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

@media (max-width: 1024px) {
  html {
    scroll-padding-top: 96px;
  }
}

/* --------------------------------------------------------------
   Fixed page motion
   -------------------------------------------------------------- */
body.has-page-motion {
  overflow-x: hidden;
  overflow-x: clip;
}

.has-page-motion [data-reveal] {
  --reveal-delay: 0ms;
  opacity: 0;
  transform: translate3d(0, 32px, 0);
  transition:
    opacity 0.72s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay),
    transform 0.82s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay);
  will-change: opacity, transform;
}

.has-page-motion [data-reveal="left"] {
  transform: translate3d(-42px, 0, 0);
}

.has-page-motion [data-reveal="right"] {
  transform: translate3d(42px, 0, 0);
}

.has-page-motion [data-reveal="scale"] {
  transform: scale(0.965);
}

.has-page-motion [data-reveal="soft"] {
  transform: translate3d(0, 14px, 0);
  transition-duration: 0.82s, 0.88s;
}

.has-page-motion [data-reveal-timing="late"] {
  transition-duration: 0.88s, 1.04s;
}

.has-page-motion [data-reveal="hero-copy"] {
  transform: translate3d(0, 24px, 0);
  transition-duration: 0.9s, 1s;
}

.has-page-motion [data-reveal="content-hero-copy"] {
  transform: translate3d(0, 52px, 0);
  transition:
    opacity 1.3s cubic-bezier(0.22, 0.65, 0.35, 1) var(--reveal-delay),
    transform 1.48s cubic-bezier(0.22, 0.65, 0.35, 1) var(--reveal-delay);
}

.has-page-motion [data-reveal="hero-type"] {
  opacity: 1;
  transform: none;
  transition: none;
  will-change: auto;
}

.has-page-motion [data-reveal="hero-type"] .motion-character {
  display: inline-block;
  opacity: 0;
  transform: translate3d(0, 0.22em, 0);
  white-space: pre;
}

.has-page-motion [data-reveal="hero-type"].is-revealed .motion-character {
  animation: hero-character-in 0.2s ease-out forwards;
  animation-delay: var(--character-delay);
}

.has-page-motion [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
  will-change: auto;
}

@media (max-width: 767px) {
  .has-page-motion [data-reveal] {
    transform: translate3d(0, 20px, 0);
  }

  .has-page-motion [data-reveal="left"] {
    transform: translate3d(-24px, 0, 0);
  }

  .has-page-motion [data-reveal="right"] {
    transform: translate3d(24px, 0, 0);
  }

  .has-page-motion [data-reveal="scale"] {
    transform: scale(0.98);
  }

  .has-page-motion [data-reveal="soft"] {
    transform: translate3d(0, 10px, 0);
  }

  .has-page-motion [data-reveal="content-hero-copy"] {
    transform: translate3d(0, 34px, 0);
  }
}

@keyframes hero-character-in {
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .has-page-motion [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

.page-content {
  width: 100%;
  color: #fff;

  & .page-content__eyecatch {
    position: relative;
    width: 100%;
    aspect-ratio: 1440 / 570;
    overflow: hidden;
    background: white;
  }

  & .page-content__eyecatch-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  & .page-content__eyecatch-picture {
    display: block;
    width: 100%;
    height: 100%;
  }

  & .page-content__eyecatch-inner {
    position: absolute;
    top: 15%;
    left: max(40px, calc((100% - 1184px) / 2));
    z-index: 1;
  }

  & .page-content__eyecatch-title {
    margin: 0;
    font-size: clamp(32px, 4.722vw, 68px);
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: 0;
  }

  & .page-content__eyecatch-subtitle {
    margin: 2px 0 0;
    font-size: clamp(14px, 1.667vw, 24px);
    font-weight: 700;
    line-height: 1.6;
    letter-spacing: 0;
  }

  & .page-content__challenges {
    padding: 92px 32px 82px;
    background: #fff;
    color: #222;
  }

  & .page-content__challenges-inner {
    width: min(100%, 1040px);
    margin: 0 auto;
  }

  & .page-content__challenges-title {
    margin: 0 0 74px;
    font-size: 32px;
    font-weight: 400;
    line-height: 1.6;
    text-align: center;
    letter-spacing: 0;
  }

  & .page-content__challenge-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }

  & .page-content__challenge-card {
    min-height: 205px;
    padding: 23px 30px;
    border: 1px solid #c8c8c8;
    border-radius: 6px;
  }

  & .page-content__challenge-card h3 {
    margin: 0 0 24px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
    letter-spacing: 0;
    white-space: nowrap;
  }

  & .page-content__challenge-card p {
    margin: 0;
    font-size: 14px;
    line-height: 1.75;
    letter-spacing: 0;
  }

  & .page-content__challenges-visual {
    display: block;
    width: min(100%, 430px);
    height: auto;
    margin: 12px auto 52px;
  }

  & .page-content__support-copy {
    margin: 0 auto;
  }

  & .page-content__support-copy h2 {
    margin: 0 0 34px;
    font-size: 32px;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: 0;
    span {
      border-bottom: 2px solid #222;
      display: inline-block;
      margin-right: 16px;
    }
    @media (width <= 768px) {
      font-size: 24px;
    }
  }
  #workshop {
    font-size: 32px;
    @media (width <= 768px) {
      font-size: 24px;
    }
    span {
      border-bottom: 2px solid #222;
      display: inline-block;
      margin-right: 16px;
    }
  }
  & .page-content__support-copy p {
    margin: 0;
    font-size: 14px;
    line-height: 1.75;
    letter-spacing: 0;
  }

  & .page-content__steps {
    padding: 112px 32px 96px;
    background: #303030;
    color: #f5f5f5;
  }

  & .page-content__steps-inner {
    width: min(100%, 1160px);
    margin: 0 auto;
  }

  & .page-content__steps-title {
    margin: 0 0 50px;
    font-size: 30px;
    font-weight: 400;
    line-height: 1.5;
    text-align: center;
    letter-spacing: 0;
  }

  & .page-content__step {
    display: grid;
    grid-template-columns: 360px minmax(0, 1fr);
    align-items: center;
    gap: 68px;
    min-height: 290px;
    padding: 0 24px 68px;
    border-bottom: 1px solid #aaa;
  }

  & .page-content__step + .page-content__step {
    padding-top: 68px;
  }

  & .page-content__step:last-child {
    padding-bottom: 0;
    border-bottom: 0;
  }

  & .page-content__step--reverse .page-content__step-image {
    grid-column: 2;
  }

  & .page-content__step--reverse {
    grid-template-columns: minmax(0, 1fr) 360px;
  }

  & .page-content__step--reverse .page-content__step-copy {
    grid-row: 1;
    grid-column: 1;
  }

  & .page-content__step-image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 10px;
  }

  & .page-content__step-copy h3 {
    margin: 0 0 42px;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.55;
    letter-spacing: 0;
  }

  & .page-content__step-copy p {
    margin: 0;
    font-size: 16px;
    line-height: 1.7;
    letter-spacing: 0;
  }

  & .page-content__growth {
    padding: 92px 32px 28px;
    background: #fff;
    color: #333;
  }

  & .page-content__growth-inner {
    width: min(100%, 1160px);
    margin: 0 auto;
  }

  & .page-content__growth-intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 470px;
    align-items: center;
    gap: 72px;
    width: min(100%, 1010px);
    margin: 0 auto 76px;
  }

  & .page-content__growth-copy h2 {
    margin: 0 0 48px;
    font-size: 24px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0;
  }

  & .page-content__growth-copy p {
    margin: 0;
    font-size: 16px;
    line-height: 1.7;
    letter-spacing: 0;
  }
  & .page-content__workshop-copy .dl-work {
    padding: 24px;
    background-color: #d9d9d9;
    margin-top: 24px;
  }

  & .page-content__growth-image,
  & .page-content__workshop-image {
    display: block;
    width: 100%;
    height: auto;
  }

  & .page-content__workshop {
    padding: 76px 56px 66px;
    /* background: #f3f3f3; */
  }

  & .page-content__workshop-overview {
    display: grid;
    grid-template-columns: 420px minmax(0, 1fr);
    align-items: center;
    gap: 24px;
  }
  & .page-content__workshop-copy {
    h3 {
      display: flex;
      align-items: center;
      gap: 14px;
      margin: 0 0 42px;
      font-size: 23px;
      font-weight: 500;
      line-height: 1.5;
      letter-spacing: 0;
      span {
        flex: 0 0 24px;
        width: 24px;
        height: 24px;
        background: #3b3b3b;
      }
    }
    p {
      margin: 0;
      font-size: 15px;
      line-height: 1.7;
      letter-spacing: 0;
      span {
        font-size: 13px;
        a {
          color: #333333;
        }
      }
    }
  }

  & .page-content__workshop-programs {
    display: grid;
    grid-template-columns: minmax(260px, 38%) minmax(0, 1fr);
    align-items: center;
    gap: 64px;
    margin-top: 64px;
  }

  & .page-content__workshop-programs-visual img {
    display: block;
    width: 100%;
    height: auto;
  }

  & .page-content__workshop-programs-list {
    display: grid;
    align-self: stretch;
    align-content: space-between;
  }

  & .page-content__workshop-program {
    --program-line-overhang: 100px;

    position: relative;

    & h3 {
      position: relative;
      margin: 7px 0 6px;
      font-size: 18px;
      font-weight: 500;
      line-height: 1.5;
    }

    & > p:last-child {
      margin: 0;
      font-size: 14px;
      line-height: 1.7;
    }
  }

  & .page-content__workshop-program:nth-child(2) {
    --program-line-overhang: 40px;
  }

  & .page-content__workshop-program:nth-child(3) {
    --program-line-overhang: 100px;
  }

  & .page-content__workshop-program-label {
    display: inline-block;
    margin: 0;
    padding: 3px 10px;
    background: #333;
    color: #fff;
    font-size: 11px;
    line-height: 1.4;
  }

  & .page-content__individual {
    margin-top: 100px;
  }

  & .page-content__individual-header h3 {
    margin: 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #333;
    font-size: 22px;
    font-weight: 500;
    line-height: 1.5;
  }

  & .page-content__individual-header p {
    margin: 8px 0 0;
    font-size: 12px;
    line-height: 1.4;
  }

  & .page-content__individual-intro {
    margin: 34px 0 0;
    font-size: 15px;
    line-height: 1.8;
  }

  & .page-content__individual-overview {
    display: grid;
    grid-template-columns: minmax(260px, 38%) minmax(0, 1fr);
    align-items: center;
    gap: 64px;
    margin-top: 38px;
  }

  & .page-content__individual-visual img {
    display: block;
    width: 90%;
    height: auto;
  }

  & .page-content__individual-list {
    display: grid;
    align-self: stretch;
    align-content: space-around;
  }

  & .page-content__individual-program {
    --individual-line-overhang: 20px;

    & h3 {
      position: relative;
      margin: 7px 0 6px;
      font-size: 18px;
      font-weight: 500;
      line-height: 1.5;
    }

    & > p:last-child {
      margin: 0;
      font-size: 14px;
      line-height: 1.7;
    }
  }

  & .page-content__program-connector {
    position: absolute;
    top: 50%;
    right: calc(100% + 14px);
    width: calc(
      64px + var(--program-line-overhang, var(--individual-line-overhang))
    );
    height: 1px;
    background: #777;
    transform: translateY(-50%);

    & > span {
      position: absolute;
      top: 50%;
      right: -8px;
      width: 7px;
      height: 7px;
      border: 1px solid #777;
      border-radius: 50%;
      background: #fff;
      transform: translateY(-50%);
    }
  }

  & .page-content__individual-label {
    display: inline-block;
    margin: 0;
    padding: 3px 10px;
    background: #333;
    color: #fff;
    font-size: 11px;
    line-height: 1.4;
  }

  & .page-content__seminars {
    margin-top: 30px;
    padding: 0 38px;
  }

  & .page-content__seminars h4 {
    margin: 0 0 4px;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.5;
    margin-bottom: 12px;
  }

  & .page-content__seminars ul {
    margin: 0;
    padding-left: 18px;
    font-size: 16px;
    line-height: 1.45;
    li {
      padding-bottom: 12px;
      font-size: 16px;
    }
  }

  & .page-content__activity-link {
    padding: 72px 32px 84px;
    background: #fff;
    color: #333;
  }

  & .page-content__contact-inner {
    width: min(100%, 1160px);
    margin: 0 auto;
  }

  & .page-content__contact-eyebrow {
    margin: 0;
    font-size: 18px;
    line-height: 1.5;
    letter-spacing: 0;
  }

  & .page-content__contact-inner h2 {
    margin: 2px 0 0;
    font-family: "Josefin Sans", sans-serif;
    font-size: 64px;
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: 0;
  }

  & .page-content__contact-description {
    margin: 32px 0 58px;
    font-size: 16px;
    line-height: 1.8;
    letter-spacing: 0;
  }

  & .page-content__activity-link a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
    width: 320px;
    min-height: 68px;
    margin: 0 auto;
    padding: 14px 26px 14px 32px;
    border: 1px solid #333;
    background: #333;
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.4;
    text-decoration: none;
    transition:
      background-color 0.2s ease,
      color 0.2s ease;
  }

  & .page-content__activity-link a:hover,
  & .page-content__activity-link a:focus-visible {
    background: #fff;
    color: #333;
  }

  & .page-content__activity-arrow {
    position: relative;
    flex: 0 0 54px;
    width: 40px;
    height: 8px;
    overflow: hidden;
  }

  & .page-content__activity-arrow::before,
  & .page-content__activity-arrow::after {
    content: "";
    position: absolute;
    inset: 0;
    background-color: currentColor;
    -webkit-mask: url("asset/img/c-arrow.webp") center / contain no-repeat;
    mask: url("asset/img/c-arrow.webp") center / contain no-repeat;
  }

  & .page-content__activity-arrow::after {
    transform: translateX(-120%);
  }

  @media (hover: hover) and (pointer: fine) {
    &
      .page-content__activity-link
      a:hover
      .page-content__activity-arrow::before,
    &
      .page-content__activity-link
      a:focus-visible
      .page-content__activity-arrow::before {
      animation: link-arrow-out 1s ease-in-out infinite;
    }

    & .page-content__activity-link a:hover .page-content__activity-arrow::after,
    &
      .page-content__activity-link
      a:focus-visible
      .page-content__activity-arrow::after {
      animation: link-arrow-in 1s ease-in-out infinite;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    &
      .page-content__activity-link
      a:hover
      .page-content__activity-arrow::before,
    & .page-content__activity-link a:hover .page-content__activity-arrow::after,
    &
      .page-content__activity-link
      a:focus-visible
      .page-content__activity-arrow::before,
    &
      .page-content__activity-link
      a:focus-visible
      .page-content__activity-arrow::after {
      animation: none;
    }
  }
}

@media screen and (max-width: 767px) {
  .page-content {
    & .page-content__eyecatch {
      min-height: 300px;
      aspect-ratio: auto;
    }

    & .page-content__eyecatch-image {
      object-position: 58% center;
    }

    & .page-content__eyecatch-inner {
      top: 42px;
      left: 24px;
      width: calc(100% - 48px);
    }

    & .page-content__eyecatch-title {
      font-size: 32px;
      line-height: 1.4;
      @media (width <= 375px) {
        font-size: 28px;
      }
    }

    & .page-content__eyecatch-subtitle {
      max-width: 340px;
      margin-top: 6px;
      font-size: 13px;
      line-height: 1.7;
    }

    & .page-content__challenges {
      padding: 60px 20px 64px;
    }

    & .page-content__challenges-title {
      margin-bottom: 42px;
      font-size: 18px;
    }

    & .page-content__challenge-cards {
      grid-template-columns: 1fr;
      gap: 16px;
    }

    & .page-content__challenge-card {
      min-height: 0;
      padding: 22px 24px;
    }

    & .page-content__challenge-card h3 {
      margin-bottom: 14px;
      font-size: 15px;
      white-space: normal;
    }

    & .page-content__challenges-visual {
      width: min(100%, 360px);
      margin-top: 20px;
      margin-bottom: 42px;
    }

    & .page-content__support-copy h3 {
      margin-bottom: 24px;
      font-size: 18px;
    }

    & .page-content__support-copy p {
      font-size: 15px;
    }

    & .page-content__support-copy br {
      display: none;
    }

    & .page-content__steps {
      padding: 64px 20px;
    }

    & .page-content__steps-title {
      margin-bottom: 42px;
      font-size: 22px;
      text-align: left;
    }

    & .page-content__step,
    & .page-content__step + .page-content__step {
      grid-template-columns: 1fr;
      gap: 28px;
      min-height: 0;
      padding: 0 0 48px;
    }

    & .page-content__step + .page-content__step {
      padding-top: 48px;
    }

    & .page-content__step:last-child {
      padding-bottom: 0;
    }

    & .page-content__step--reverse .page-content__step-image,
    & .page-content__step--reverse .page-content__step-copy {
      grid-row: auto;
      grid-column: auto;
    }

    & .page-content__step--reverse {
      grid-template-columns: 1fr;
    }

    & .page-content__step-image {
      width: min(100%, 420px);
      margin: 0 auto;
    }

    & .page-content__step-copy h3 {
      margin-bottom: 24px;
      font-size: 20px;
    }

    & .page-content__step-copy p {
      font-size: 15px;
    }

    & .page-content__growth {
      padding: 58px 20px 20px;
    }

    & .page-content__growth-intro {
      grid-template-columns: 1fr;
      gap: 34px;
      margin-bottom: 52px;
    }

    & .page-content__growth-copy h2 {
      margin-bottom: 28px;
      font-size: 21px;
    }

    & .page-content__growth-image {
      width: min(100%, 480px);
      margin: 0 auto;
    }

    & .page-content__workshop {
      padding: 36px 20px 40px;
    }

    & .page-content__workshop-overview {
      grid-template-columns: 1fr;
      gap: 30px;
    }

    & .page-content__workshop-image {
      width: min(100%, 440px);
      margin: 0 auto;
    }

    & .page-content__workshop-copy h3 {
      align-items: flex-start;
      gap: 10px;
      margin-bottom: 24px;
      font-size: 19px;
    }

    & .page-content__workshop-copy h3 span {
      flex-basis: 19px;
      width: 19px;
      height: 19px;
      margin-top: 5px;
    }

    & .page-content__workshop-copy p {
      font-size: 16px;
    }

    & .page-content__workshop-programs {
      grid-template-columns: 1fr;
      gap: 40px;
      margin-top: 48px;
    }

    & .page-content__workshop-programs-visual {
      width: min(80%, 360px);
      margin: 0 auto;
    }

    & .page-content__workshop-programs-list {
      align-self: auto;
      align-content: normal;
      gap: 32px;
    }

    & .page-content__workshop-program {
      & h3 {
        padding-left: 0;
        font-size: 17px;
      }

      & > p:last-child {
        font-size: 14px;
      }
    }

    & .page-content__individual {
      margin-top: 72px;
    }

    & .page-content__individual-header h3 {
      font-size: 20px;
    }

    & .page-content__individual-intro {
      margin-top: 26px;
      font-size: 14px;
    }

    & .page-content__individual-overview {
      grid-template-columns: 1fr;
      gap: 40px;
      margin-top: 34px;
    }

    & .page-content__individual-visual {
      width: min(80%, 360px);
      margin: 0 auto;
    }

    & .page-content__individual-list {
      align-self: auto;
      align-content: normal;
      gap: 32px;
    }

    & .page-content__individual-program h3 {
      padding-left: 0;
      font-size: 17px;
    }

    & .page-content__program-connector {
      display: none;
    }

    & .page-content__seminars {
      margin-top: 32px;
      padding: 0;
    }

    & .page-content__seminars ul {
      font-size: 11px;
      line-height: 1.55;
    }

    & .page-content__activity-link {
      padding: 52px 20px 60px;
    }

    & .page-content__contact-eyebrow {
      font-size: 15px;
    }

    & .page-content__contact-inner h2 {
      font-size: 48px;
    }

    & .page-content__contact-description {
      margin: 26px 0 40px;
      font-size: 14px;
    }

    & .page-content__activity-link a {
      width: min(100%, 280px);
      min-height: 60px;
      font-size: 16px;
    }
  }
}

body {
  margin: 0;
  font-family: "Zen Kaku Gothic New", sans-serif;
}

a {
  word-break: break-all;
}

.page {
  .entry-title {
    text-align: center;
  }
}

.site-header {
  position: relative;
  z-index: 10;
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #e8e8e8;

  & .site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    width: 100%;
    min-height: 96px;
    padding: 14px 32px;
    max-width: 1440px;
    margin-inline: auto;
  }

  & .site-branding {
    flex: 0 0 auto;
  }

  & .site-branding__link {
    display: inline-flex;
    align-items: center;
    color: #17212b;
    text-decoration: none;
    .s-logo {
      max-width: 80px;
    }
  }

  & .custom-logo-link {
    display: inline-flex;
    align-items: center;
  }

  & .custom-logo {
    display: block;
    width: auto;
    max-width: 180px;
    max-height: 72px;
  }

  & .site-title {
    display: block;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
  }

  & .site-description {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    line-height: 1.4;
  }

  & .site-navigation {
    display: flex;
    justify-content: flex-end;
    flex: 1 1 auto;
  }

  & .site-menu {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 60px;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;

    & li {
      position: relative;
      margin: 0;
      @media (width <= 1024px) {
        border-bottom: 1px solid #eeeeee;
      }
      &:last-child {
        background-color: #333333;
        height: 100%;
        display: flex;
        align-items: center;
        border: 1px solid #fdfdfd00;
        transition: background-color 0.3s ease;
        @media (width <= 1024px) {
          align-items: left !important;
          color: #333333;
          background-color: #ffffff;
          border-bottom: 1px solid #eeeeee;
        }
        &:hover {
          background-color: #f4f5f4;
          border: 1px solid #333333;
          a {
            color: #333333;
          }
        }
      }

      &:hover > .sub-menu,
      &:focus-within > .sub-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
      }
    }

    & a {
      display: flex;
      align-items: center;
      padding: 0 18px;
      padding-bottom: 3px;
      width: fit-content;
      color: #111;
      font-size: 13px;
      font-weight: 500;
      line-height: 1.4;
      text-decoration: none;
      padding-bottom: 3px; /* テキストと下線の間隔 */
      background-image: linear-gradient(#000, #000);
      background-repeat: no-repeat;
      background-position: bottom right; /* 下線の初期位置 */
      background-size: 0 1px; /* 下線のサイズ（横幅、高さ） */
      transition: background-size 0.3s;

      &:hover {
        background-position: bottom left; /* 下線のホバー時位置 */
        background-size: 100% 1px; /* 下線の横幅を100%にする */
      }
      &:focus-visible {
        background: #f4f5f4;
        color: #000;
      }
    }

    & > li:last-child > a {
      min-width: 96px;
      justify-content: center;
      color: #fff;
      text-align: center;
      background-image: none;
      height: 100%;
      &:hover,
      &:focus-visible {
        color: #333333;
        background-image: none;
      }
    }
  }

  & .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    margin: 0;
    padding: 8px 0;
    list-style: none;
    background: #fff;
    border: 1px solid #e8e8e8;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition:
      opacity 0.2s ease,
      transform 0.2s ease,
      visibility 0.2s ease;

    & a {
      min-height: auto;
      padding: 10px 16px;
      white-space: nowrap;
    }
  }

  & .site-nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
    background: #fff;
    cursor: pointer;
    border: none;
  }

  & .site-nav-toggle__line {
    display: block;
    width: 30px;
    height: 2px;
    margin: 10px auto;
    background: #17212b;
  }

  & .site-navigation-backdrop {
    display: none;
  }
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.front-page__eyebrow {
  margin: 0 0 18px;
  color: #111;
  font-size: clamp(16px, 2.222vw, 24px);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.front-page__link,
.front-page__work-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  color: #111;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  gap: 10px;
  padding-bottom: 12px;
}

.front-page__link-arrow {
  position: relative;
  width: 30px;
  height: 10px;
  overflow: hidden;
  flex: 0 0 auto;
}

.front-page__link-arrow::before,
.front-page__link-arrow::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: currentColor;
  -webkit-mask: url("asset/img/c-arrow.webp") center / contain no-repeat;
  mask: url("asset/img/c-arrow.webp") center / contain no-repeat;
}

.front-page__link-arrow::after {
  transform: translateX(-120%);
}

@media (hover: hover) and (pointer: fine) {
  .front-page__link:hover .front-page__link-arrow::before,
  .front-page__link:focus-visible .front-page__link-arrow::before,
  .front-page__work-link:hover .front-page__link-arrow::before,
  .front-page__work-link:focus-visible .front-page__link-arrow::before {
    animation: link-arrow-out 1s ease-in-out infinite;
  }

  .front-page__link:hover .front-page__link-arrow::after,
  .front-page__link:focus-visible .front-page__link-arrow::after,
  .front-page__work-link:hover .front-page__link-arrow::after,
  .front-page__work-link:focus-visible .front-page__link-arrow::after {
    animation: link-arrow-in 1s ease-in-out infinite;
  }
}

@media (prefers-reduced-motion: reduce) {
  .front-page__link:hover .front-page__link-arrow::before,
  .front-page__link:hover .front-page__link-arrow::after,
  .front-page__link:focus-visible .front-page__link-arrow::before,
  .front-page__link:focus-visible .front-page__link-arrow::after,
  .front-page__work-link:hover .front-page__link-arrow::before,
  .front-page__work-link:hover .front-page__link-arrow::after,
  .front-page__work-link:focus-visible .front-page__link-arrow::before,
  .front-page__work-link:focus-visible .front-page__link-arrow::after {
    animation: none;
  }
}

.front-page__link--light {
  color: #fff;
}

.front-page__section-header {
  margin-bottom: 56px;

  & h2 {
    margin: 0 0 18px;
    color: #111;
    font-family: "Josefin Sans", sans-serif;
    font-size: clamp(32px, 7vw, 96px);
    font-weight: 400;
    line-height: 0.92;
    letter-spacing: 0;
  }

  & p:not(.front-page__eyebrow) {
    max-width: 560px;
    margin: 0;
    color: #333;
    font-size: 15px;
    line-height: 2;
  }
}

.front-page__hero {
  width: 100%;
  min-height: clamp(380px, 43vw, 620px);
  background: #fff;
  color: #111;

  & .front-page__hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
    align-items: center;
    gap: 80px;
    width: min(1280px, calc(100% - 64px));
    min-height: clamp(380px, 43vw, 620px);
    margin: 0 auto;
  }

  & .front-page__hero-card {
    padding: 72px 0;
  }

  & .front-page__hero-copy {
    display: grid;
    gap: 30px;
    max-width: 700px;
  }

  & .front-page__hero-title {
    margin: 0;
    color: #111;
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-size: clamp(36px, 4.2vw, 58px);
    font-weight: 900;
    line-height: 1.35;
    letter-spacing: 0;
  }

  & .front-page__hero-text {
    margin: 0;
    color: #222;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.8;
    letter-spacing: 0;
  }

  & .front-page__hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  & .front-page__hero-visual img {
    display: block;
    width: min(100%, 360px);
    height: auto;
    object-fit: contain;
  }
}

.front-page__about-apl {
  --text-color: #333333;
  --sub-text-color: #4a4a4a;
  --line-color: #9c9c9c;

  max-width: 1245px;
  margin: 0 auto;
  padding: clamp(72px, 9.64vw, 120px) clamp(16px, 4.42vw, 55px)
    clamp(104px, 14.46vw, 180px);
  position: relative;

  .front-page__about-apl-card {
    border: 1px solid var(--line-color);
    margin: 0 clamp(0px, 4.23vw, 90px);
    display: flex;
    align-items: flex-start;
    padding: clamp(18px, 3.05vw, 38px) clamp(14px, 3.62vw, 45px);
    gap: clamp(12px, 2.81vw, 35px);

    .front-page__about-apl-label {
      flex: 0 0 clamp(72px, 10.44vw, 130px);
      min-width: 0;
      font-size: clamp(12px, 1.8vw, 17px);
      line-height: 1.6;
      color: var(--sub-text-color);
      border-right: 1px solid var(--line-color);
      padding-right: clamp(10px, 2.81vw, 35px);
      align-self: stretch;
    }

    .front-page__about-apl-text {
      flex: 1;
      min-width: 0;
      font-size: clamp(12px, 1.8vw, 17px);
      line-height: 1.9;
      letter-spacing: 0.02em;
      color: var(--text-color);
    }
  }

  .front-page__about-apl-title-row {
    position: relative;
    margin: -1px clamp(0px, 7.23vw, 90px) 0;

    .front-page__about-apl-line {
      border-top: 1px solid var(--line-color);
    }

    .front-page__about-apl-title-large {
      position: absolute;
      top: 0;
      left: 50%;
      transform: translate(-50%, -50%);
      background: #ffffff;
      padding: 0 clamp(10px, 2.81vw, 35px);
      font-family: "Josefin Sans", sans-serif;
      font-size: clamp(25px, 5.14vw, 64px);
      line-height: 1;
      font-weight: 600;
      letter-spacing: clamp(0.16em, 1.64vw, 0.32em);
      color: #2b2b2b;
      white-space: nowrap;
    }
  }
}

.front-page__self-practice {
  width: 100%;
  background: #333333;
  color: #fff;

  & .front-page__self-practice-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 440px);
    column-gap: 64px;
    row-gap: 42px;
    align-items: center;
    width: min(1280px, calc(100% - 64px));
    margin: 0 auto;
    padding: 112px 0;
  }

  & .front-page__self-practice-heading {
    display: grid;
    grid-column: 1;
    grid-row: 1;
    justify-items: start;
    gap: 12px;
  }

  & .front-page__self-practice-heading-line {
    display: inline-flex;
    min-height: 56px;
    align-items: center;
    padding: 0 22px;
    background: #fff;
    color: #333333;
    font-size: clamp(24px, 3.2vw, 42px);
    font-weight: 400;
    line-height: 1.25;
    letter-spacing: 0;
  }

  & .front-page__self-practice-body {
    display: grid;
    grid-column: 1;
    grid-row: 2;
    gap: 20px;
    max-width: 700px;
  }

  & .front-page__self-practice-body p {
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 15px;
    line-height: 2.18;
  }

  & .front-page__self-practice-visual {
    grid-column: 2;
    grid-row: 1 / span 2;
    justify-self: end;
    width: 100%;
  }

  & .front-page__self-practice-image-frame {
    width: 100%;
    aspect-ratio: 1.28;
    background: #f4f4f0;
    clip-path: polygon(0 7%, 100% 0, 100% 92%, 0 100%);
    overflow: hidden;
  }

  & .front-page__self-practice-image-frame img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

.front-page__work {
  width: min(1280px, calc(100% - 64px));
  margin: 0 auto;
  padding: 120px 0;
  background: #fff;

  & .front-page__work-body {
    display: block;
  }

  & .front-page__work-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
  }

  & .front-page__work-card {
    position: relative;
    display: grid;
    grid-template-rows: auto auto auto 1fr auto;
    min-height: 372px;
    padding: 32px;
    border: 1px solid #333;
    background: #fff;
    @media (width <= 1024px) {
      padding: 24px 12px;
    }
  }

  & .front-page__work-meta {
    display: inline-flex;
    width: fit-content;
    flex-direction: column;
    gap: 8px;
    margin: 0 0 22px;
    color: #111;
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1;
    align-items: center;
  }

  & .front-page__work-meta::after {
    content: "";
    display: block;
    width: 26px;
    height: 1px;
    background: #333;
  }

  & .front-page__work-card h3 {
    max-width: 300px;
    margin: 0 0 28px;
    color: #111;
    font-size: clamp(25px, 2.222vw, 32px);
    font-weight: 400;
    line-height: 1.45;
    letter-spacing: 0.04em;
    white-space: nowrap;
    @media (width <= 1024px) {
      font-size: clamp(18px, 2.222vw, 20px);
      max-width: calc(100% - 120px);
    }
  }

  & .front-page__work-card h3::after {
    content: "";
    display: block;
    width: 26px;
    height: 1px;
    margin-top: 24px;
    background: #333;
  }

  & .front-page__work-icon {
    position: absolute;
    top: 54px;
    right: 30px;
    display: block;
    width: clamp(100px, 28%, 170px);
    height: auto;
  }

  & .front-page__work-card p {
    max-width: 340px;
    margin: 0 0 36px;
    color: #111;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.9;
    letter-spacing: 0.04em;
  }

  & .front-page__work-link {
    align-self: end;
    padding-bottom: 8px;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.04em;
    border-bottom-color: #888;
  }
}

.front-page__research-notes {
  width: 100%;
  padding: 112px 0;
  background: #333333;
  color: #fff;

  & .front-page__section-header,
  & .front-page__research-grid {
    width: min(1280px, calc(100% - 64px));
    margin-right: auto;
    margin-left: auto;
  }

  & .front-page__section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 64px;
    .fsr {
      display: flex;
      flex-direction: column;
    }
  }

  & .front-page__section-header--light h2,
  & .front-page__eyebrow {
    color: #fff;
  }

  & .front-page__research-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
  }

  & .front-page__research-card {
    display: grid;
    grid-template-rows: auto auto auto 1fr auto;
    min-height: 100%;
    padding-bottom: 36px;
    background: #fff;
    color: #111;
  }

  & .front-page__research-image {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    height: auto;
  }

  & .front-page__research-image--empty {
    background: #e7e7e7;
  }

  & .front-page__research-meta,
  & .front-page__research-card h3,
  & .front-page__research-excerpt,
  & .front-page__research-card a {
    margin-right: 30px;
    margin-left: 30px;
  }

  & .front-page__research-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 30px;
    margin-bottom: 34px;
  }

  & .front-page__tag {
    display: inline-flex;
    width: fit-content;
    min-height: 30px;
    align-items: center;
    padding: 3px 14px;
    background: #333333;
    color: white;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
  }

  & .front-page__research-date {
    margin-top: 0;
    margin-bottom: 0;
    color: #222;
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-size: 16px;
    line-height: 1.4;
  }

  & .front-page__research-card h3 {
    display: -webkit-box;
    min-height: 3.3em;
    margin-top: 0;
    margin-bottom: 28px;
    overflow: hidden;
    color: #111;
    font-size: 22px;
    font-weight: 500;
    line-height: 1.65;
    letter-spacing: 0;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  & .front-page__research-excerpt {
    margin-top: 0;
    margin-bottom: 44px;
    color: #222;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.8;
    letter-spacing: 0;
  }

  & .front-page__research-card a {
    align-self: end;
    color: #333333;
  }

  & .front-page__research-empty {
    grid-column: 1 / -1;
    margin: 0;
    text-align: center;
  }
}

.front-page__founder-message {
  width: min(1168px, calc(100% - 64px));
  margin: 0 auto;
  padding: 120px 0 96px;
  background: #fff;

  & .front-page__founder-header {
    margin-bottom: 34px;
  }

  & .front-page__founder-copy {
    display: grid;
    gap: 18px;
  }

  & .front-page__founder-body {
    display: grid;
    grid-template-columns: minmax(0, 500px) minmax(420px, 1fr);
    gap: 58px;
    align-items: start;
  }

  & .front-page__eyebrow {
    margin-bottom: 12px;
    font-size: 24px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.04em;
  }

  & h2 {
    margin: 0 0 22px;
    color: #333;
    font-family: "Josefin Sans", sans-serif;
    font-size: clamp(56px, 7vw, 76px);
    font-weight: 400;
    line-height: 0.9;
    letter-spacing: 0;
  }

  & h2::after {
    content: "";
    display: block;
    width: 106px;
    height: 1px;
    margin-top: 28px;
    background: #333;
  }

  & .front-page__founder-copy p {
    max-width: 500px;
    margin: 0;
    color: #111;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.04em;
  }

  & p.front-page__founder-quote {
    max-width: 500px;
    margin: 14px 0 10px;
    padding: 0 0 0 20px;
    color: #111;
    font-size: 24px;
    font-weight: 400;
    line-height: 1.55;
    letter-spacing: 0.04em;
    border-left: 1px solid #333;
    @media (width <= 680px) {
      font-size: 18px !important;
    }
  }

  & .front-page__founder-image {
    position: relative;
    margin-top: 18px;
    background: #f4f4f0;
  }

  & .front-page__founder-image::before,
  & .front-page__founder-image::after {
    content: "";
    position: absolute;
    background: #333;
    pointer-events: none;
  }

  & .front-page__founder-image::before {
    right: -50px;
    bottom: -27px;
    width: 275px;
    height: 1px;
  }

  & .front-page__founder-image::after {
    right: -25px;
    bottom: -51px;
    width: 1px;
    height: 275px;
  }

  & .front-page__founder-image img {
    display: block;
    width: 100%;
    aspect-ratio: 0.735;
    object-fit: cover;
  }
}

@media (max-width: 820px) {
  .front-page__hero {
    & .front-page__hero-inner {
      grid-template-columns: minmax(0, 1fr) minmax(240px, 0.6fr);
      gap: 40px;
    }

    & .front-page__hero-card {
      padding: 64px 0;
    }
  }

  .front-page__self-practice {
    & .front-page__self-practice-inner {
      grid-template-columns: 1fr;
    }

    & .front-page__self-practice-heading {
      grid-column: 1;
      grid-row: 1;
    }

    & .front-page__self-practice-visual {
      grid-column: 1;
      grid-row: 2;
      justify-self: center;
      max-width: 480px;
    }

    & .front-page__self-practice-body {
      grid-column: 1;
      grid-row: 3;
    }
  }

  .front-page__work {
    & .front-page__work-grid {
      gap: 24px;
    }
  }

  .front-page__research-notes {
    & .front-page__research-grid {
      grid-template-columns: 1fr;
    }
  }

  .front-page__founder-message {
    & .front-page__founder-body {
      grid-template-columns: 1fr;
    }

    & .front-page__founder-copy {
      grid-row: 2;
      width: 100%;
    }

    & .front-page__founder-copy p {
      max-width: none;
    }

    & .front-page__founder-image {
      grid-row: 1;
      justify-self: center;
      width: min(100%, 480px);
      max-width: none;
      margin-top: 0;
    }

    & .front-page__founder-image::before,
    & .front-page__founder-image::after {
      display: none;
    }
  }
}

@media (max-width: 680px) {
  .front-page__hero {
    min-height: 0;

    & .front-page__hero-inner {
      grid-template-columns: 1fr;
      gap: 28px;
      width: calc(100% - 32px);
      min-height: 0;
      padding: 54px 0 48px;
    }

    & .front-page__hero-card {
      padding: 0;
    }

    & .front-page__hero-title {
      font-size: 32px;
      @media (width <= 400px) {
        font-size: 28px;
      }
    }

    & .front-page__hero-text {
      font-size: 16px;
    }

    & .front-page__hero-visual img {
      width: min(72%, 280px);
    }
  }

  .front-page__work,
  .front-page__founder-message {
    width: calc(100% - 32px);
    padding: 72px 0;
  }

  .front-page__founder-message {
    & .front-page__founder-header {
      margin-bottom: 28px;
    }

    & .front-page__founder-body {
      gap: 32px;
    }

    & .front-page__founder-image {
      margin-top: 0;
    }

    & .front-page__eyebrow {
      font-size: 18px;
    }

    & h2 {
      font-size: 32px;
      line-height: 0.96;
    }

    & .front-page__founder-copy p {
      max-width: none;
      font-size: 15px;
      line-height: 1.8;
    }

    & .front-page__founder-quote {
      max-width: none;
      font-size: 22px;
    }
  }

  .front-page__self-practice {
    & .front-page__self-practice-inner {
      width: calc(100% - 32px);
      padding: 72px 0;
    }

    & .front-page__self-practice-heading-line {
      min-height: 46px;
      padding: 0 14px;
      font-size: 24px;
    }
  }

  .front-page__work {
    & .front-page__work-grid {
      grid-template-columns: 1fr;
    }

    & .front-page__work-card {
      min-height: 0;
      padding: 28px 24px 32px;
    }

    & .front-page__work-meta {
      margin-bottom: 20px;
    }

    & .front-page__work-icon {
      width: 92px;
      margin: -8px 0 20px auto;
    }
  }

  .front-page__research-notes {
    display: flex;
    flex-direction: column;
    padding: 72px 0;

    & .front-page__research-grid {
      order: 2;
      width: calc(100% - 32px);
    }

    & .front-page__section-header {
      display: contents;
    }

    & .front-page__section-header .fsr {
      order: 1;
      width: calc(100% - 56px);
      margin: 0 auto 64px;
    }

    & .front-page__section-header > .front-page__link {
      order: 3;
      align-self: flex-end;
      margin: 40px 16px 0 0;
    }
  }
}
h2.f-et {
  @media (max-width: 480px) {
    font-weight: 700;
  }
}
.single-post {
  & .single-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 48px;
    width: min(1120px, calc(100% - 40px));
    margin: 56px auto;
  }
  h3 {
    font-size: 24px;
    @media (width <= 480px) {
      font-size: 20px;
    }
  }
  & .single-layout__content {
    min-width: 0;
  }

  & .entry-meta {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 18px;
    margin-bottom: 40px;
    font-size: 14px;
    line-height: 1.4;
  }

  & .entry-meta__category {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 24px;
    padding: 4px 16px;
    background: #333333;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
  }

  & .entry-meta__category:hover,
  & .entry-meta__category:focus-visible {
    background: #333;
    color: #fff;
  }

  & .entry-meta__date {
    color: #111;
    font-size: 14px;
  }

  & .post-navigation {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 56px;
    padding-top: 32px;
    border-top: 1px solid #e5e5e5;
  }

  & .post-navigation__link {
    display: block;
    min-height: 96px;
    padding: 18px;
    color: #111;
    text-decoration: none;
    border: 1px solid #e5e5e5;
    transition:
      background-color 0.2s ease,
      border-color 0.2s ease;

    &:hover,
    &:focus-visible {
      background: #f7f7f7;
      border-color: #cfcfcf;
    }
  }

  & .post-navigation__link--next {
    text-align: right;
  }

  & .post-navigation__label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
  }

  & .post-navigation__title {
    display: block;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.6;
  }

  & .single-sidebar {
    min-width: 0;
  }

  & .sidebar-section {
    margin-bottom: 28px;
    .s-sb {
      font-size: 14px;
    }
  }

  & .sidebar-section:not(:last-child) {
    padding-bottom: 28px;
    border-bottom: 1px solid #b0b0b0;
  }

  & .sidebar-heading {
    margin: 0 0 20px;
    padding: 0px;
    color: black;
    font-size: 32px;
    font-weight: 400;
    line-height: 1.3;
    font-family: "Josefin Sans", sans-serif;
  }

  & .recent-posts {
    display: grid;
    gap: 28px;
  }

  & .recent-post {
    margin: 0;
  }

  & .recent-post__thumbnail {
    display: block;
    margin-bottom: 8px;
    background: #f0f0f0;
    text-decoration: none;

    & img {
      display: block;
      width: 100%;
      height: auto;
      aspect-ratio: 16 / 9;
      object-fit: cover;
    }
  }

  & .recent-post__meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.4;
  }

  & .recent-post__category {
    display: inline-flex;
    align-items: center;
    min-height: 20px;
    padding: 3px 8px;
    background: #000;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
  }

  & .recent-post__category:hover,
  & .recent-post__category:focus-visible {
    background: #333;
    color: #fff;
  }

  & .recent-post__date {
    color: #111;
    font-size: 12px;
  }

  & .recent-post__title {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.55;

    & a {
      color: #111;
      text-decoration: none;
    }

    & a:hover,
    & a:focus-visible {
      text-decoration: underline;
    }
  }

  & .sidebar-list {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 14px;
    line-height: 1.5;

    & a {
      color: #111;
      text-decoration: none;
    }

    & a:hover,
    & a:focus-visible {
      text-decoration: underline;
    }
  }
}

.site-footer {
  padding: 56px 40px 22px;
  background: #fff;
  color: #111;
  border-top: 1px solid #333333;
  hr {
    width: 80%;
  }

  & .site-footer__inner {
    display: flex;
    justify-content: space-between;
    gap: 48px;
    width: min(1120px, 100%);
    margin: 0 auto;
    max-height: 320px;
    border-bottom: solid 1px;
    .f-m-text {
      flex: 1;
      display: flex;
      align-items: center;
      p {
        font-size: clamp(24px, 6.667vw, 96px);
        text-align: left;
        width: fit-content;
        font-weight: 400;
        font-family: "Josefin Sans", sans-serif;
        color: #3333331f;
        margin-inline: auto;
        @media (width <= 480px) {
          font-size: clamp(56px, 14.884vw, 64px);
        }
      }
    }
  }

  & .site-footer__brand {
    flex: 0 1 420px;
    max-width: 200px;
  }

  & .site-footer__logo {
    align-items: center;
    margin-bottom: 18px;
    text-decoration: none;
    margin-inline: auto;
    display: block;
    width: fit-content;
    display: flex;
    align-items: center;

    & img {
      display: block;
      width: 160px;
      max-width: 100%;
      height: auto;
    }
  }

  & .site-footer__name {
    margin: 0 0 22px;
    font-size: 14px;
    line-height: 1.6;
  }

  & .site-footer__address {
    margin: 0;
    font-style: normal;
    font-size: 13px;
    line-height: 1.8;
  }

  & .site-footer__navigation {
    flex: 0 0 230px;
  }

  & .footer-menu {
    display: grid;
    gap: 22px;
    margin: 0;
    padding: 0;
    list-style: none;

    & a {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
      width: 100%;
      color: #111;
      font-size: 15px;
      line-height: 1.5;
      text-decoration: none;
    }

    & a::after {
      content: "";
      flex: 0 0 54px;
      width: 54px;
      height: 6px;
      background-color: currentColor;
      -webkit-mask: url("asset/img/c-arrow.webp") center / contain no-repeat;
      mask: url("asset/img/c-arrow.webp") center / contain no-repeat;
      transition: transform 0.3s ease;
    }

    @media (hover: hover) and (pointer: fine) {
      & a:hover::after,
      & a:focus-visible::after {
        transform: translateX(5px);
      }
    }
  }

  & .site-footer__copyright {
    margin: 48px 0 0;
    text-align: center;
    font-size: 14px !important;
    line-height: 1.5;
  }
}

@media (max-width: 1024px) {
  body.has-open-navigation {
    overflow: hidden;
  }

  .site-main {
    padding-top: 72px;
  }

  .site-header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.18);

    & .site-header__inner {
      flex-wrap: wrap;
      gap: 0;
      min-height: 72px;
      padding: 10px 16px;
    }

    & .custom-logo {
      max-width: 148px;
      max-height: 52px;
    }

    & .site-nav-toggle {
      display: block;
      position: relative;
      z-index: 13;
    }

    & .site-nav-toggle__line {
      transition:
        transform 0.25s ease,
        opacity 0.2s ease;
    }

    &
      .site-nav-toggle[aria-expanded="true"]
      .site-nav-toggle__line:nth-child(1) {
      transform: translateY(7px) rotate(45deg);
    }

    &
      .site-nav-toggle[aria-expanded="true"]
      .site-nav-toggle__line:nth-child(2) {
      opacity: 0;
    }

    &
      .site-nav-toggle[aria-expanded="true"]
      .site-nav-toggle__line:nth-child(3) {
      transform: translateY(-16px) rotate(-45deg);
    }

    & .site-navigation {
      position: fixed;
      inset: 0 0 0 auto;
      z-index: 12;
      display: block;
      width: min(420px, 100vw);
      height: 100vh;
      height: 100dvh;
      padding: 88px 24px 32px;
      overflow-x: hidden;
      overflow-y: auto;
      background: #fff;
      visibility: hidden;
      transform: translateX(100%);
      transition:
        transform 0.35s ease,
        visibility 0.35s ease;

      &.is-open {
        visibility: visible;
        transform: translateX(0);
      }
    }

    & .site-navigation-backdrop {
      position: fixed;
      inset: 0;
      z-index: 11;
      display: block;
      width: 100%;
      height: 100%;
      padding: 0;
      border: 0;
      background: rgba(0, 0, 0, 0.42);
      opacity: 0;
      visibility: hidden;
      pointer-events: none;
      transition:
        opacity 0.3s ease,
        visibility 0.3s ease;
    }

    &.is-nav-open .site-navigation-backdrop {
      opacity: 1;
      visibility: visible;
      pointer-events: auto;
    }

    & .site-menu {
      display: block;
      width: 100%;
      height: auto;
      min-height: 0;
      padding-top: 10px;
      border-top: 1px solid #e8e8e8;

      & a {
        min-height: 48px;
        padding: 12px 4px;
        font-size: 15px;
        border-bottom: 1px solid #eeeeee;
      }

      & > li:last-child,
      & > li:last-child:hover {
        display: block;
        height: auto;
        background: transparent;
        border: 0;
      }

      & > li:last-child > a {
        width: 100%;
        min-width: 0;
        margin-top: 10px;
        padding-right: 16px;
        padding-left: 6px;
        border-bottom: 0;
        text-align: left;
        color: #333333;
        justify-content: start;
      }

      & > li:last-child > a:hover,
      & > li:last-child > a:focus-visible {
        background: #f4f5f4;
        color: #333;
        outline: 1px solid #333;
      }
    }

    & .sub-menu {
      position: static;
      min-width: 0;
      padding: 0 0 0 14px;
      border: 0;
      box-shadow: none;
      opacity: 1;
      visibility: visible;
      transform: none;

      & a {
        white-space: normal;
      }
    }
  }
}

@media (max-width: 1024px) and (min-width: 783px) {
  body.admin-bar .site-header {
    top: 32px;
  }
}

@media (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}

@media (max-width: 767px) {
  .single-post {
    & .single-layout {
      display: block;
      width: min(100% - 32px, 640px);
      margin: 36px auto;
    }

    & .entry-meta {
      gap: 14px;
      margin-top: 14px;
      margin-bottom: 24px;
      font-size: 13px;
    }

    & .entry-meta__category {
      min-height: 22px;
      padding: 4px 12px;
      font-size: 12px;
    }

    & .entry-meta__date {
      font-size: 13px;
    }

    & .post-navigation {
      grid-template-columns: 1fr;
      gap: 12px;
      margin-top: 40px;
      padding-top: 24px;
    }

    & .post-navigation__link {
      min-height: 0;
      padding: 14px;
    }

    & .post-navigation__link--next {
      text-align: left;
    }

    & .post-navigation__title {
      font-size: 15px;
    }

    & .single-sidebar {
      margin-top: 40px;
    }

    & .sidebar-heading {
      font-size: 24px;
    }

    & .recent-post__title {
      font-size: 15px;
    }
  }

  .site-footer {
    padding: 40px 24px 20px;

    & .site-footer__inner {
      display: flex;
      flex-direction: column;
      gap: 0;
      max-height: none;
    }

    & .site-footer__brand {
      order: 1;
      flex: none;
      margin-bottom: 36px;
    }

    & .site-footer__navigation {
      order: 2;
      flex: none;
      width: 100%;
    }

    & .f-m-text {
      order: 3;
      flex: none;
      margin-top: 36px;
      margin-bottom: 36px;
      & p {
        margin-top: 0;
        margin-bottom: 0;
      }
    }

    & .site-footer__logo {
      margin-bottom: 14px;

      & img {
        width: 132px;
      }
    }

    & .site-footer__name {
      margin-bottom: 16px;
      font-size: 13px;
    }

    & .site-footer__address {
      font-size: 12px;
    }

    & .footer-menu {
      gap: 14px;
    }

    & .site-footer__copyright {
      margin-top: 36px;
    }
  }
}

.page-contact {
  h1 {
    display: none;
  }
  form {
    padding: 0 24px;
    box-sizing: border-box;
    margin-bottom: 64px;
    @media (width <= 480px) {
      margin-bottom: 32px;
    }
    h3 {
      margin-top: 64px;
      text-align: center;
      font-size: clamp(24px, 2.222vw, 80px);
      font-family: "Josefin Sans", sans-serif;
    }
    .c-lead {
      text-align: center;
      margin-bottom: 32px;
    }
    .custom-contact-form {
      max-width: 520px;
      margin: 0 auto;

      /* 各行のレイアウト（PCでは横並び） */
      .form-row {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        margin-bottom: 28px;
        flex-direction: column;
        align-items: flex-start;

        /* テキストエリアの行は上揃えにする */
        &.align-top {
          align-items: flex-start;
        }
      }

      /* 左側のラベル部分 */
      dt {
        width: 100%;
        padding-right: 20px;
        box-sizing: border-box;
        font-weight: normal;
        display: flex;
        align-items: center;
        margin-bottom: 8px;
        p {
          margin: 0px;
        }
      }

      /* 右側の入力エリア部分 */
      dd {
        width: 100%;
        margin: 0;
        p {
          margin: 0px;
        }
      }

      /* 必須・任意ラベルの共通スタイル */
      .label-req,
      .label-opt {
        display: inline-block;
        font-size: 18px;
        padding: 4px;
        white-space: nowrap;
        color: #333;
      }

      /* 入力フィールドのスタイル */
      input[type="text"],
      input[type="email"],
      input[type="tel"],
      select,
      textarea {
        width: 100%;
        padding: 10px;
        border: none;
        background-color: #e0e0e0; /* ワイヤーフレームのようなグレー背景 */
        box-sizing: border-box;
      }

      textarea {
        min-height: 200px;
        resize: vertical;
      }

      /* 送信ボタンのレイアウト */
      .form-submit {
        text-align: center;
        margin-top: 40px;

        p {
          position: relative;
          display: inline-block;
          width: min(100%, 200px);
          margin: 0;
          color: #222;
          text-align: left;
          transition: color 0.2s ease;
        }

        p::after {
          content: "";
          position: absolute;
          top: 50%;
          right: 22px;
          width: 54px;
          height: 8px;
          background-color: currentColor;
          -webkit-mask: url("asset/img/c-arrow.webp") center / contain no-repeat;
          mask: url("asset/img/c-arrow.webp") center / contain no-repeat;
          pointer-events: none;
          transform: translateY(-50%);
        }

        p:hover,
        p:focus-within {
          color: #fff;
        }

        @media (hover: hover) and (pointer: fine) {
          p:hover::after,
          p:focus-within::after {
            animation: form-submit-arrow 1s ease-in-out infinite;
          }
        }

        input[type="submit"] {
          display: block;
          width: 100%;
          min-height: 56px;
          padding: 12px 88px 12px 24px;
          border: 1px solid #888;
          background: #fff;
          color: inherit;
          font-family: inherit;
          font-size: 18px;
          font-weight: 500;
          line-height: 1.4;
          text-align: left;
          cursor: pointer;
          transition:
            background-color 0.2s ease,
            color 0.2s ease;

          &:hover,
          &:focus-visible {
            background: #303030;
          }
        }

        input[type="submit"]:disabled {
          cursor: wait;
          opacity: 0.65;
        }

        .wpcf7-spinner {
          position: absolute;
          top: calc(100% + 8px);
          left: 50%;
          margin: 0;
          transform: translateX(-50%);
        }

        @media (prefers-reduced-motion: reduce) {
          p:hover::after,
          p:focus-within::after {
            animation: none;
          }
        }

        @media screen and (max-width: 767px) {
          p {
            width: min(100%, 240px);
          }

          input[type="submit"] {
            font-size: 16px;
          }
        }
      }

      /* スマホ表示対応（縦並びに切り替え） */
      @media screen and (max-width: 768px) {
        dt {
          width: 100%;
          margin-bottom: 10px;
        }

        dd {
          width: 100%;
          p {
            margin: 0px;
          }
        }
      }
    }
  }
}

.page-about-us {
  --about-concept-card-width: 260px;
  --about-concept-card-height: 190px;

  & .about-us__eyecatch {
    background: #fff;
    padding: 126px 0 44px;
  }

  & .about-us__eyecatch-inner,
  & .about-us__autonomy-inner {
    width: min(1280px, calc(100% - 96px));
    margin: 0 auto;
  }

  & .about-us__autonomy-inner {
    width: min(1320px, calc(100% - 96px));
  }

  & .about-us__eyecatch-label-row {
    display: flex;
    align-items: center;
    gap: 32px;
    width: 100%;
  }

  & .about-us__eyecatch-label {
    flex: 0 0 auto;
    margin: 0;
    color: #333;
    font-family: "Josefin Sans", sans-serif;
    font-size: 44px;
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: 0;
    white-space: nowrap;
  }

  & .about-us__eyecatch-line {
    display: block;
    flex: 0 1 365px;
    height: 1px;
    margin-top: 5px;
    background: #d1d1d1;
  }

  & .about-us__eyecatch-title {
    margin: 64px 0 0;
    color: #333;
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-size: 60px;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0;
  }

  & .about-us__autonomy {
    background: #fff;
    padding: 34px 0 112px;
  }

  & .about-us__autonomy-heading {
    margin: 0 0 64px;
    color: #333;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.7;
    letter-spacing: 0.03em;
  }

  & .about-us__autonomy-diagram {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    gap: 18px;
    align-items: center;
  }

  & .about-us__autonomy-flow {
    display: flex;
    align-items: center;
    gap: 18px;
    min-width: 0;
  }

  & .about-us__current-branch {
    display: grid;
    grid-template-columns: var(--about-concept-card-width) minmax(0, 1fr);
    align-items: center;
    min-width: 0;
  }

  & .about-us__concept-slot {
    flex: 0 0 auto;
    width: var(--about-concept-card-width);
    height: var(--about-concept-card-height);
  }

  & .about-us__concept-card {
    display: flex;
    width: 100%;
    height: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 16px 16px 14px;
    border: 1px solid #d4d4d4;
    border-radius: 10px;
    background: #fff;
    text-align: center;

    & h3 {
      margin: 0;
      color: #222;
      font-size: 16px;
      font-weight: 700;
      line-height: 1.35;
      letter-spacing: 0.02em;
    }

    & p {
      margin: 0;
      color: #222;
      font-size: 14px;
      font-weight: 700;
      line-height: 1.65;
      letter-spacing: 0.02em;
    }

    & img {
      display: block;
      width: 78px;
      height: 78px;
      object-fit: contain;
    }
  }

  & .about-us__flow-arrow {
    display: block;
    flex: 0 0 42px;
    width: 42px;
    height: auto;
  }

  & .about-us__points-area {
    position: relative;
    min-width: 0;
    padding-left: 86px;
  }

  & .about-us__points-connector {
    position: absolute;
    top: 12px;
    left: -1px;
    width: 92px;
    height: calc(100% - 24px);
    object-fit: fill;
    pointer-events: none;
  }

  & .about-us__points-list {
    display: grid;
    width: min(100%, 500px);
    gap: 28px;
  }

  & .about-us__point-card {
    display: grid;
    grid-template-columns: 135px 2px minmax(0, 1fr) 92px;
    gap: 20px;
    align-items: center;
    min-height: 90px;
    padding: 16px 16px 16px 20px;
    border: 1px solid #d4d4d4;
    border-radius: 7px;
    background: #fff;
  }

  & .about-us__point-title {
    display: grid;
    grid-column: 1;
    gap: 6px;
    color: #333;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: 0.02em;
    justify-content: center;

    & span,
    & strong {
      display: block;
      font: inherit;
      text-align: center;
    }
  }

  & .about-us__point-card ul {
    display: grid;
    grid-column: 3;
    gap: 8px;
    margin: 0;
    padding: 0 0 0 22px;
    color: #222;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.55;
    letter-spacing: 0.02em;
    .m-none {
      li::marker,
      li::before {
        display: none;
      }
    }
  }

  & .about-us__point-card li::marker {
    font-size: 1.25em;
  }

  & .about-us__point-divider {
    display: block;
    grid-column: 2;
    width: 2px;
    height: 100%;
    max-height: 128px;
    object-fit: fill;
    align-self: center;
    justify-self: center;
  }

  & .about-us__point-visual {
    display: block;
    grid-column: 4;
    width: 82px;
    height: 64px;
    object-fit: contain;
    justify-self: center;
  }

  & .about-us__key-concept {
    background: #333;
    color: #fff;
    padding: 92px 0 88px;
  }

  & .about-us__key-concept-inner {
    width: min(1130px, calc(100% - 172px));
    margin: 0 auto;
  }

  & .about-us__key-concept-label-row {
    display: flex;
    align-items: center;
    gap: 18px;
    width: min(500px, 100%);
  }

  & .about-us__key-concept-label {
    flex: 0 0 auto;
    margin: 0;
    color: #fff;
    font-family: "Josefin Sans", sans-serif;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 0;
  }

  & .about-us__key-concept-line {
    display: block;
    flex: 1 1 auto;
    height: 1px;
    background: rgba(255, 255, 255, 0.28);
  }

  & .about-us__key-concept-title {
    margin: 34px 0 20px;
    color: #fff;
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-size: 31px;
    font-weight: 500;
    line-height: 1.45;
    letter-spacing: 0.04em;
  }

  & .about-us__key-concept-title-line {
    display: block;
    width: 66px;
    height: 1px;
    margin-bottom: 28px;
    background: rgba(255, 255, 255, 0.36);
  }

  & .about-us__key-concept-list {
    position: relative;
    display: grid;
  }

  & .about-us__key-concept-item {
    position: relative;
    display: grid;
    grid-template-columns: 38px 92px minmax(0, 1fr);
    gap: 24px;
    align-items: center;
    min-height: 108px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  }

  & .about-us__key-concept-item:last-child {
    border-bottom: 0;
  }

  & .about-us__key-concept-item::before {
    content: "";
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 0;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 0 4px #333;
    transform: translateY(-50%);
  }

  & .about-us__key-concept-item::after {
    content: "";
    position: absolute;
    z-index: 0;
    top: 0;
    bottom: 0;
    left: 7px;
    width: 1px;
    background: rgba(255, 255, 255, 0.24);
  }

  & .about-us__key-concept-item:first-child::after {
    top: 50%;
  }

  & .about-us__key-concept-item:last-child::after {
    bottom: 50%;
  }

  & .about-us__key-concept-icon {
    grid-column: 2;
    width: 74px;
    height: 74px;

    & img {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: contain;
    }
  }

  & .about-us__key-concept-item p {
    grid-column: 3;
    margin: 0;
    color: rgba(255, 255, 255, 0.92);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.9;
    letter-spacing: 0.02em;
  }

  & .about-us__reference {
    margin-top: 48px;

    & h3 {
      margin: 0 0 16px;
      color: #fff;
      font-size: 30px;
      font-weight: 700;
      line-height: 1.3;
      letter-spacing: 0.02em;
    }
  }

  & .about-us__reference-box {
    width: min(920px, 100%);
    padding: 16px 18px;
    background: #ffffff;

    & p {
      margin: 0;
      color: #333333;
      font-size: 13px;
      font-weight: 700;
      line-height: 1.8;
      text-decoration: underline;
      a {
        color: #333333;
      }
    }

    & p + p {
      margin-top: 8px;
    }
  }

  & .about-us__work {
    background: #fff;
    padding: 120px 0 120px;
    color: #333;
  }

  & .about-us__work-inner {
    width: min(960px, calc(100% - 64px));
    margin: 0 auto;
    text-align: center;
  }

  & .about-us__work-label {
    margin: 0 0 8px;
    color: #333;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.03em;
  }

  & .about-us__work-title {
    margin: 0 0 60px;
    color: #333;
    font-family: "Josefin Sans", sans-serif;
    font-size: 80px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0;
  }

  & .about-us__work-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  & .about-us__work-card {
    display: grid;
    grid-template-columns: 72px 120px minmax(0, 1fr);
    grid-template-rows: 1fr auto;
    gap: 12px 20px;
    align-items: center;
    min-height: 170px;
    padding: 22px 26px 22px 18px;
    border: 1px solid #9e9e9e;
    border-radius: 5px;
    background: #fff;
    text-align: left;
  }

  & .about-us__work-number {
    align-self: start;
    color: #333;
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-size: 44px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;
    border-bottom: 1px solid currentColor;
    width: fit-content;
    padding-bottom: 4px;
  }

  & .about-us__work-card img {
    grid-column: 2;
    grid-row: 1 / -1;
    display: block;
    width: 104px;
    height: 104px;
    object-fit: contain;
    align-self: start;
    justify-self: center;
  }

  & .about-us__work-card h3 {
    grid-column: 3;
    grid-row: 1;
    align-self: start;
    margin: 0;
    color: #333;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.45;
    letter-spacing: 0.02em;
    margin-top: 12px;
  }

  & .about-us__work-link {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    grid-column: 3;
    grid-row: 2;
    justify-self: start;
    align-self: start;
    color: #333;
    width: min(100%, 150px);
    padding-bottom: 8px;
    border-bottom: 1px solid currentColor;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.08em;
    text-decoration: none;
  }

  & .about-us__work-arrow {
    position: relative;
    width: 30px;
    height: 10px;
    overflow: hidden;
    flex: 0 0 auto;
  }

  & .about-us__work-arrow::before,
  & .about-us__work-arrow::after {
    content: "";
    position: absolute;
    inset: 0;
    background-color: currentColor;
    -webkit-mask: url("asset/img/c-arrow.webp") center / contain no-repeat;
    mask: url("asset/img/c-arrow.webp") center / contain no-repeat;
  }

  & .about-us__work-arrow::after {
    transform: translateX(-120%);
  }

  @media (hover: hover) and (pointer: fine) {
    & .about-us__work-link:hover .about-us__work-arrow::before,
    & .about-us__work-link:focus-visible .about-us__work-arrow::before {
      animation: link-arrow-out 1s ease-in-out infinite;
    }

    & .about-us__work-link:hover .about-us__work-arrow::after,
    & .about-us__work-link:focus-visible .about-us__work-arrow::after {
      animation: link-arrow-in 1s ease-in-out infinite;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    & .about-us__work-link:hover .about-us__work-arrow::before,
    & .about-us__work-link:hover .about-us__work-arrow::after,
    & .about-us__work-link:focus-visible .about-us__work-arrow::before,
    & .about-us__work-link:focus-visible .about-us__work-arrow::after {
      animation: none;
    }
  }

  & .about-us__directors {
    background: #fff;
    padding: 26px 0 96px;
    color: #333;
  }

  & .about-us__directors-inner {
    width: min(1200px, calc(100% - 96px));
    margin: 0 auto;
  }

  & .about-us__directors-heading-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 22px;
    align-items: center;
    margin-bottom: 38px;

    & span {
      display: block;
      height: 1px;
      background: #bcbcbc;
    }

    & h2 {
      margin: 0;
      color: #333;
      font-size: 80px;
      font-weight: 400;
      line-height: 1.3;
      letter-spacing: 0.06em;
      white-space: nowrap;
    }
  }

  & .about-us__director-profile {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 42px;
    row-gap: 0;
    align-items: start;
    padding-bottom: 44px;
    border-bottom: 1px solid #bab9b9;

    & .about-us__director-heading {
      grid-column: 2;
      grid-row: 1;
    }

    & .about-us__director-photo {
      grid-column: 1;
      grid-row: 1 / span 2;
    }

    & .about-us__director-body {
      grid-column: 2;
      grid-row: 2;
    }
  }

  & .about-us__director-profile + .about-us__director-profile {
    margin-top: 44px;
  }

  & .about-us__director-profile--large {
    grid-template-columns: 360px minmax(0, 1fr);
    gap: 42px;

    & .about-us__director-photo {
      & img {
        aspect-ratio: 1;
        object-position: center center;
      }
    }

    & .about-us__director-heading {
      padding-top: 8px;
    }

    & .about-us__director-position {
      font-size: 15px;
      line-height: 1.5;
    }
  }

  & .about-us__director-profile--reverse {
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 42px;

    & .about-us__director-photo {
      grid-column: 2;
      grid-row: 1 / span 2;
    }

    & .about-us__director-heading,
    & .about-us__director-body {
      grid-column: 1;
    }

    & .about-us__director-heading {
      grid-row: 1;
    }

    & .about-us__director-body {
      grid-row: 2;
    }
  }

  & .about-us__director-photo {
    margin: 0;
    background: #f3f4f7;

    & img {
      display: block;
      width: 100%;
      aspect-ratio: 0.66;
      object-fit: cover;
      object-position: center top;
    }
  }

  & .about-us__director-heading,
  & .about-us__director-body {
    color: #333;
  }

  & .about-us__director-heading {
    padding-top: 4px;

    & h3 {
      margin: 8px 0 34px;
      padding-bottom: 24px;
      color: #333;
      font-size: 64px;
      font-weight: 500;
      line-height: 1.25;
      letter-spacing: 0.08em;
      border-bottom: 1px solid #bab9b9;
    }
  }

  & .about-us__director-body {
    & p {
      margin: 0;
      font-size: 20px;
      font-weight: 500;
      line-height: 1.85;
      letter-spacing: 0.02em;
    }

    & > p + p {
      margin-top: 12px;
    }
  }

  & .about-us__director-position {
    margin: 0;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.02em;
  }

  & .about-us__director-meta {
    margin-top: 20px;

    & h4 {
      margin: 0 0 4px;
      color: #333;
      font-size: 20px;
      font-weight: 700;
      line-height: 1.5;
    }

    & p + p {
      margin-top: 2px;
    }
  }

  & .about-us__corporate {
    background: #fff;
    padding: 18px 0 104px;
    color: #07366e;
  }

  & .about-us__corporate-inner {
    width: min(1160px, calc(100% - 140px));
    margin: 0 auto;
  }

  & .about-us__corporate h2 {
    margin: 0;
    padding-bottom: 42px;
    color: #333;
    font-size: 43px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: 0.02em;
    border-bottom: 1px solid #333;
  }

  & .about-us__corporate-table {
    width: min(990px, calc(100% - 96px));
    margin: 60px auto 0;
    border-top: 1px solid #555;
    border-left: 1px solid #555;
  }

  & .about-us__corporate-row {
    display: grid;
    grid-template-columns: 335px minmax(0, 1fr);
    min-height: 112px;
  }

  & .about-us__corporate-row dt,
  & .about-us__corporate-row dd {
    display: flex;
    align-items: center;
    margin: 0;
    border-right: 1px solid #555;
    border-bottom: 1px solid #555;
  }

  & .about-us__corporate-row dt {
    justify-content: center;
    padding: 26px;
    color: #333333;
    font-size: 23px;
    font-weight: 700;
    line-height: 1.45;
    letter-spacing: 0.04em;
    text-align: center;
  }

  & .about-us__corporate-row dd {
    padding: 26px 46px;
    color: #333333;
    font-size: 22px;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0.02em;
  }
}

@media (min-width: 768px) {
  .page-about-us {
    --about-concept-card-height: 264px;

    & .about-us__concept-card img {
      width: 112px;
      height: 112px;
    }

    & .about-us__point-card {
      grid-template-columns: 92px 2px minmax(0, 1fr) 88px;
      gap: 12px;
      min-height: 154px;
      padding: 14px;
    }

    & .about-us__points-connector {
      top: 70px;
      height: calc(100% - 140px);
    }

    & .about-us__point-visual {
      width: 100px;
      height: 100px;
    }
  }
}

@media (hover: none), (pointer: coarse) {
  .front-page__link-arrow::before,
  .page-content .page-content__activity-arrow::before,
  .page-about-us .about-us__work-arrow::before,
  .site-footer .footer-menu a::after {
    transition: transform 0.2s ease;
  }

  .front-page__link:active .front-page__link-arrow::before,
  .front-page__work-link:active .front-page__link-arrow::before,
  .page-content
    .page-content__activity-link
    a:active
    .page-content__activity-arrow::before,
  .page-about-us .about-us__work-link:active .about-us__work-arrow::before,
  .site-footer .footer-menu a:active::after {
    transform: translateX(5px);
  }

  .page-contact form .custom-contact-form .form-submit p::after {
    transition:
      opacity 0.2s ease,
      transform 0.2s ease;
  }

  .page-contact form .custom-contact-form .form-submit p:active::after {
    transform: translate(5px, -50%);
  }
}

@keyframes link-arrow-out {
  0% {
    transform: translateX(0);
  }
  45%,
  100% {
    transform: translateX(120%);
  }
}

@keyframes link-arrow-in {
  0%,
  45% {
    transform: translateX(-120%);
  }
  100% {
    transform: translateX(0);
  }
}

@keyframes form-submit-arrow {
  0% {
    opacity: 1;
    transform: translate(0, -50%);
  }
  45% {
    opacity: 0;
    transform: translate(16px, -50%);
  }
  46% {
    opacity: 0;
    transform: translate(-16px, -50%);
  }
  100% {
    opacity: 1;
    transform: translate(0, -50%);
  }
}

@media (max-width: 1279px) {
  .page-about-us {
    & .about-us__autonomy-diagram {
      grid-template-columns: 1fr;
      justify-items: center;
      gap: 18px;
    }

    & .about-us__autonomy-flow {
      flex-direction: column;
      justify-content: flex-start;
      gap: 16px;
    }

    & .about-us__flow-arrow {
      transform: rotate(90deg);
    }

    & .about-us__current-branch {
      grid-template-columns: 1fr;
      justify-items: center;
      gap: 0;
      width: min(100%, 820px);
      margin: 0 auto;
    }

    & .about-us__points-area {
      position: relative;
      width: 100%;
      max-width: 820px;
      padding: 80px 0 0;
    }

    & .about-us__points-area::before {
      content: "";
      position: absolute;
      top: 0;
      left: 50%;
      width: 1px;
      height: 40px;
      background: #333;
      transform: translateX(-50%);
    }

    & .about-us__points-area::after {
      content: "";
      position: absolute;
      top: 0;
      left: 50%;
      width: 9px;
      height: 9px;
      border-radius: 50%;
      background: #333;
      transform: translate(-50%, -50%);
    }

    & .about-us__points-connector {
      display: none;
    }

    & .about-us__points-list {
      position: relative;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      width: 100%;
      gap: 12px;
    }

    & .about-us__points-list::before {
      content: "";
      position: absolute;
      top: -40px;
      left: calc(100% / 6);
      right: calc(100% / 6);
      height: 1px;
      background: #333;
    }

    & .about-us__point-card {
      position: relative;
      display: flex;
      flex-direction: column;
      align-items: stretch;
      gap: 16px;
      min-height: 320px;
      padding: 20px 16px 16px;
    }

    & .about-us__point-card::before {
      content: "";
      position: absolute;
      top: -40px;
      left: 50%;
      width: 1px;
      height: 40px;
      background: #333;
    }

    & .about-us__point-card::after {
      content: "";
      position: absolute;
      top: 0;
      left: 50%;
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: #333;
      transform: translate(-50%, -50%);
    }

    & .about-us__point-title {
      display: block;
      width: 100%;
    }

    & .about-us__point-title span,
    & .about-us__point-title strong {
      text-align: left;
    }

    & .about-us__point-card ul {
      width: 100%;
      padding-left: 20px;
      font-size: 14px;
    }

    & .about-us__point-divider {
      display: none;
    }

    & .about-us__point-visual {
      width: 88px;
      height: 76px;
      margin-top: auto;
      align-self: center;
    }
  }
}

@media (max-width: 1180px) {
  .page-about-us {
    & .about-us__eyecatch-inner,
    & .about-us__autonomy-inner,
    & .about-us__key-concept-inner {
      width: calc(100% - 64px);
    }
  }
}

@media (max-width: 767px) {
  .page-about-us {
    --about-concept-card-width: min(340px, calc(100vw - 32px));
    --about-concept-card-height: 132px;

    & .about-us__eyecatch {
      padding: 72px 0 36px;
    }

    & .about-us__eyecatch-inner,
    & .about-us__autonomy-inner {
      width: calc(100% - 32px);
    }

    & .about-us__eyecatch-label-row {
      gap: 18px;
    }

    & .about-us__eyecatch-label {
      font-size: 28px;
    }

    & .about-us__eyecatch-line {
      flex-basis: auto;
      min-width: 48px;
    }

    & .about-us__eyecatch-title {
      margin-top: 44px;
      font-size: min(31px, calc((100vw - 32px) / 12));
      line-height: 1.62;
    }

    & .about-us__eyecatch-title br {
      display: none;
    }

    & .about-us__eyecatch-title-line {
      display: block;
    }

    & .about-us__autonomy {
      padding: 34px 0 72px;
    }

    & .about-us__autonomy-heading {
      margin-bottom: 36px;
      font-size: 18px;
    }

    & .about-us__autonomy-diagram {
      gap: 34px;
    }

    & .about-us__autonomy-flow {
      flex-direction: column;
      gap: 18px;
    }

    & .about-us__current-branch {
      grid-template-columns: 1fr;
      justify-items: center;
      gap: 0px;
      width: 100%;
    }

    & .about-us__concept-card,
    & .about-us__concept-card--current {
      width: 100%;
      height: 100%;
    }

    & .about-us__concept-card {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      grid-template-rows: auto auto;
      align-content: center;
      column-gap: 14px;
      text-align: left;

      & h3,
      & p {
        grid-column: 1;
      }

      & img {
        grid-column: 2;
        grid-row: 1 / 3;
      }
    }

    & .about-us__concept-slot {
      flex-basis: auto;
      width: var(--about-concept-card-width);
      max-width: 100%;
      min-height: var(--about-concept-card-height);
    }

    & .about-us__flow-arrow {
      width: 36px;
      transform: rotate(90deg);
    }

    & .about-us__points-area {
      width: 100%;
      max-width: none;
      padding: 70px 0 0;
    }

    & .about-us__points-connector {
      display: none;
    }

    & .about-us__points-area::before {
      height: 35px;
    }

    & .about-us__points-list {
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 6px;
    }

    & .about-us__points-list::before {
      top: -35px;
    }

    & .about-us__point-card {
      display: flex;
      flex-direction: column;
      align-items: stretch;
      gap: 12px;
      min-height: auto;
      padding: 12px 8px 10px;
    }

    & .about-us__point-card::before {
      top: -35px;
      height: 35px;
    }

    & .about-us__point-title {
      display: block;
      width: 100%;
      font-size: clamp(10px, 3.8vw, 16px);
    }

    & .about-us__point-card ul {
      width: 100%;
      padding: 0 0 0 4px;
      border-top: 0;
      font-size: clamp(9px, 2.7vw, 12px);
      line-height: 1.6;
      list-style: none;
      li {
        position: relative;
        list-style: none;
        padding-left: 8px;
        &::before {
          content: "●";
          position: absolute;
          left: -6px;
          top: 0.2em; /* 上下位置を調整 */
          font-size: 0.7em;
        }
      }
    }

    & .about-us__point-divider {
      display: none;
    }

    & .about-us__point-visual {
      width: min(100%, 80px);
      height: 80px;
      margin-top: auto;
      align-self: center;
    }

    & .about-us__key-concept {
      padding: 72px 0;
    }

    & .about-us__key-concept-inner {
      width: calc(100% - 32px);
    }

    & .about-us__key-concept-title {
      margin-top: 28px;
      font-size: 25px;
    }

    & .about-us__key-concept-item {
      grid-template-columns: 24px 62px minmax(0, 1fr);
      gap: 14px;
      min-height: 0;
      padding: 18px 0;
    }

    & .about-us__key-concept-item::before {
      width: 11px;
      height: 11px;
    }

    & .about-us__key-concept-item::after {
      left: 5.5px;
    }

    & .about-us__key-concept-icon {
      grid-column: 2;
      width: 58px;
      height: 58px;
    }

    & .about-us__key-concept-item p {
      grid-column: 3;
      font-size: 12px;
      line-height: 1.8;
    }

    & .about-us__reference {
      margin-top: 36px;

      & h3 {
        font-size: 25px;
      }
    }

    & .about-us__reference-box {
      padding: 14px;

      & p {
        font-size: 14px;
      }
    }

    & .about-us__work {
      padding: 56px 0 64px;
    }

    & .about-us__work-inner {
      width: calc(100% - 32px);
    }

    & .about-us__work-title {
      font-size: 36px;
    }

    & .about-us__work-cards {
      grid-template-columns: 1fr;
      gap: 14px;
    }

    & .about-us__work-card {
      grid-template-columns: 54px 82px minmax(0, 1fr);
      gap: 8px 14px;
      min-height: 128px;
      padding: 18px 20px 18px 12px;
    }

    & .about-us__work-number {
      font-size: 34px;
    }

    & .about-us__work-card img {
      width: 76px;
      height: 76px;
    }

    & .about-us__work-card h3 {
      font-size: 15px;
    }

    & .about-us__work-link {
      width: min(100%, 130px);
      font-size: 11px;
    }

    & .about-us__directors {
      padding: 12px 0 72px;
    }

    & .about-us__directors-inner {
      width: calc(100% - 32px);
    }

    & .about-us__directors-heading-row {
      gap: 14px;
      margin-bottom: 30px;

      & h2 {
        font-size: 28px;
      }
    }

    & .about-us__director-profile {
      grid-template-columns: 1fr;
      grid-template-rows: auto auto auto;
      gap: 28px;
      padding-bottom: 32px;

      & .about-us__director-heading,
      & .about-us__director-photo,
      & .about-us__director-body {
        grid-column: 1;
      }

      & .about-us__director-heading {
        grid-row: 1;
      }

      & .about-us__director-photo {
        grid-row: 2;
      }

      & .about-us__director-body {
        grid-row: 3;
      }
    }

    & .about-us__director-profile + .about-us__director-profile {
      margin-top: 32px;
    }

    & .about-us__director-profile--large {
      grid-template-columns: 1fr;

      & .about-us__director-heading,
      & .about-us__director-photo,
      & .about-us__director-body {
        grid-column: 1;
      }

      & .about-us__director-heading {
        grid-row: 1;
      }

      & .about-us__director-photo {
        grid-row: 2;
      }

      & .about-us__director-body {
        grid-row: 3;
      }

      & .about-us__director-position {
        font-size: 15px;
      }
    }

    & .about-us__director-photo {
      max-width: 320px;
      margin: 0 auto;
    }

    & .about-us__director-heading,
    & .about-us__director-body {
      padding-top: 0;
    }

    & .about-us__director-heading {
      & h3 {
        margin-bottom: 0;
        padding-bottom: 0;
        font-size: 29px;
        border-bottom: 0;
      }
    }

    & .about-us__director-body {
      & p {
        font-size: 15px;
        line-height: 1.8;
      }
    }

    & .about-us__corporate {
      padding: 10px 0 72px;
    }

    & .about-us__corporate-inner {
      width: calc(100% - 32px);
    }

    & .about-us__corporate h2 {
      padding-bottom: 28px;
      font-size: 34px;
    }

    & .about-us__corporate-table {
      width: 100%;
      margin-top: 38px;
    }

    & .about-us__corporate-row {
      grid-template-columns: 1fr;
      min-height: 0;
    }

    & .about-us__corporate-row dt {
      justify-content: flex-start;
      padding: 18px 20px;
      font-size: 18px;
      text-align: left;
    }

    & .about-us__corporate-row dd {
      padding: 18px 20px 22px;
      font-size: 17px;
    }
  }
}

.page-reports {
  padding: 60px 0;

  & .page-reports__inner {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
  }
  .page-report_head_wrap {
    .page-reports__title {
      margin: 0 0 40px;
      font-size: 14px;
      font-weight: 700;
      text-align: left;
      margin-bottom: 12px;
    }
    .page-reports__label {
      text-align: left;
      font-size: clamp(48px, 6.667vw, 96px);
      font-family: "Josefin Sans", sans-serif;
      margin-top: 0px;
      margin-bottom: 40px;
    }
  }

  & .page-reports__description {
    max-width: 800px;
    margin: -16px 0 48px;
    font-size: 15px;
    line-height: 1.8;

    & > :first-child {
      margin-top: 0;
    }

    & > :last-child {
      margin-bottom: 0;
    }
  }

  .report-filter-section {
    margin: 0 0 48px;
    padding: 36px 0px;
    background-size: 18px 18px;

    & .report-filter-section__inner {
      width: 100%;
    }
  }

  .report-filter {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: clamp(12px, 1.953vw, 20px);

    & .report-filter__button {
      display: flex;
      align-items: center;
      justify-content: center;
      min-height: 40px;
      background: #333333;
      color: #fff;
      font-size: clamp(12px, 1.5625vw, 16px);
      font-weight: 400;
      line-height: 1.4;
      text-align: center;
      text-decoration: none;
      white-space: nowrap;
      transition:
        opacity 0.2s ease,
        transform 0.2s ease;

      &:hover {
        opacity: 0.8;
        transform: translateY(-2px);
        background: white;
        color: #333333;
        border: solid 1px #333333;
      }

      &.is-active {
        background: #333;
        outline: 3px solid #999;
        color: #fff;
      }
    }
  }

  .reports-archive {
    & .reports-archive__list {
      display: grid;
      gap: 32px;
    }

    & .reports-archive__empty {
      margin: 40px 0 0;
      text-align: center;
    }
  }

  .reports-card {
    padding-bottom: 24px;
    border-bottom: 1px solid #ddd;

    & .reports-card__link {
      display: flex;
      gap: 24px;
      color: inherit;
      text-decoration: none;

      &:hover {
        & .reports-card__title {
          text-decoration: underline;
        }
      }
    }

    & .reports-card__thumb {
      width: 220px;
      flex-shrink: 0;

      & img {
        display: block;
        width: 100%;
        height: auto;
      }
    }

    & .reports-card__body {
      flex: 1;
    }

    & .reports-card__title {
      margin: 0 0 8px;
      font-size: 22px;
      font-weight: 700;
      line-height: 1.5;
    }

    & .reports-card__date {
      display: block;
      margin: 0 0 12px;
      font-size: 14px;
      color: #777;
    }

    & .reports-card__excerpt {
      margin: 0;
      font-size: 15px;
      line-height: 1.8;
    }
  }

  .reports-pagination {
    margin: 48px 0 0;
    text-align: center;

    & .page-numbers {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-width: 36px;
      height: 36px;
      margin: 0 4px;
      padding: 0 10px;
      border: 1px solid #ccc;
      color: inherit;
      text-decoration: none;

      &.current {
        background: #000;
        color: #fff;
        border-color: #000;
      }
    }
  }

  @media screen and (max-width: 767px) {
    padding: 40px 0;

    & .page-reports__inner {
      width: min(100% - 32px, 1120px);
    }

    & .page-report_head_wrap .page-reports__title {
      margin-bottom: 12px;
      font-size: 14px;
    }

    & .page-report_head_wrap .page-reports__label {
      margin-bottom: 32px;
      font-size: 48px;
    }

    & .page-reports__description {
      margin-top: -8px;
      margin-bottom: 36px;
      font-size: 14px;
    }

    .report-filter-section {
      margin-bottom: 0px !important;
      padding-top: 0px !important;
    }

    .report-filter {
      grid-template-columns: repeat(3, 1fr);
      gap: 16px;

      & .report-filter__button {
        min-height: 36px;
        font-size: 14px;
        white-space: normal;
      }
    }

    .reports-card {
      & .reports-card__link {
        display: block;
      }

      & .reports-card__thumb {
        width: 100%;
        margin-bottom: 12px;
      }

      & .reports-card__title {
        font-size: 18px;
      }
    }
  }
}
