#mainImage {
  width: calc(100% - 88px);
  aspect-ratio: 1112 / 460;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #78438F;
  transition: background-color 6s ease-in-out;
  @media (max-width: 999px) {
    width: calc(100% - 20px);
    aspect-ratio: 355 / 252;
  }
  .icon-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    transition: transform 12s ease-in-out;
    transform: rotate(0deg);
    &.swing-left {
      transform: rotate(-45deg);
    }
    &.swing-right {
      transform: rotate(45deg);
    }
    img {
      align-self: center;
    }
  }

  .icon {
    position: absolute;
    width: auto;
    height: calc(524 / 709 * 100%);
    opacity: 1;
    z-index: 10;
    offset-path: var(--dynamic-path, path('M756.5,0c0,208.76-169.24,378-378,378S.5,547.24,.5,756'));
    offset-distance: 0%;
    offset-rotate: 60deg;
    transition: offset-distance 0.1s ease-out, offset-rotate 0.1s ease-out;
  }

  .icon.icon-1[data-icon-index="0"] {
    animation: icon-animation 12s cubic-bezier(.73,.76,.23,.12) infinite;
  }
  .icon.icon-2[data-icon-index="1"] {
    animation: icon-animation 12s cubic-bezier(.73,.76,.23,.12) infinite 6s;
  }
}

@keyframes icon-animation {
  0% {
    offset-distance: 0%;
    offset-rotate: -30deg;
  }
  100% {
    offset-distance: 100%;
    offset-rotate: 30deg;
  }
}

@keyframes icon-animation-from-10 {
  0% {
    offset-distance: 10%;
    offset-rotate: -30deg;
  }
  100% {
    offset-distance: 110%;
    offset-rotate: 30deg;
  }
}
main {
  section {
    &.breadcrumbs{
      margin: 44px var(--margin) 42px;
      @media (max-width: 999px) {
        margin: 19px 16px 68px;
      }
    }
    &:not(.breadcrumbs) {
      padding-bottom: 160px;
      @media (max-width: 999px) {
        padding-bottom: 70px;
      }
    }
    h1 {
      margin-top: 90px;
      font-size: 36.836px;
      line-height: 1.5;
      letter-spacing: 2.579px;
      text-align: center;
      margin-bottom: 89px;
      @media (max-width: 999px) {
        margin-top: 48px;
        font-size: 28px;
        line-height: 1.6;
        letter-spacing: 1.12px;
        margin-bottom: 50px;
      }
    }

    p {
      font-size: 26px;
      line-height: 2;
      letter-spacing: 1.04px;
      @media (max-width: 999px) {
        font-size: 18px;
        letter-spacing: 0.72px;
      }
    }

    p+p {
      margin-top: 53px;
    }

    h2.wave {
      text-align: center;
      font-size: 13px;
      line-height: 2.3;
      letter-spacing: 2.6px;
      margin-top: 66px;
      margin-bottom: 64px;
      @media (max-width: 999px) {
        margin-top: 34px;
        margin-bottom: 0;
      }

      &:before {
        content: url(../image/about/vertical-wave.svg);
        margin: 0 auto;
        display: block;
        margin-bottom: 37px;
        @media (max-width: 999px) {
          content: url(../image/about/vertical-wave-sp.svg);
          margin-bottom: 39px;
        }
      }
    }
  }
}
section#introduction {
  h1 {
    @media (max-width: 999px) {
      margin-bottom: 39px;
    }
  }
}
section#introduction,
section#concept {
  padding-bottom: 0;
}
section#concept {
  h3 {
    display: block;
    margin: 76px auto 71px;
    display: flex;
    justify-content: center;
    align-items: center;
    @media (max-width: 999px) {
      margin: 39px auto 43px;
    }
    > img {
      @media (max-width: 999px) {
        width: 270px;
        height: auto;
      }
    }
  }
}
section#message {
  h3 {
    margin-bottom: 86px;
    text-align: center;
    font-family: "MFW-FutoGoB101Pr6N-Bold";
    font-size: 60px;
    line-height: 1.45;
    letter-spacing: 7.2px;
    @media (max-width: 999px) {
      margin-top: 41px;
      font-size: 36px;
      line-height: 1.5;
      letter-spacing: 4.32px;
      margin-bottom: 46px;
      display: flex;
      justify-content: center;
    }
    > img {
      &.pc {
        @media (max-width: 999px) {
          display: none;
        }
      }
      &.sp {
        display: none;
        @media (max-width: 999px) {
          display: block;
        }
      }
    }
  }
  p {
    font-size: 26px;
    line-height: 2;
    letter-spacing: 1.04px;
    @media (max-width: 999px) {
      font-size: 18px;
      line-height: 2;
      letter-spacing: 0.72px;
    }
  }
}

section#director {
  --photo-width: 210px;
  margin-top: -10px;
  margin-bottom: 10px;
  display: grid;
  grid-template-columns: 1fr var(--photo-width);
  column-gap: var(--margin);
  @media (max-width: 999px) {
    margin-top: 75px;
    --photo-width: 134px;
  }
  .photo {
    grid-column: 2 / 3;
    grid-row: 1 / 5;
    @media (max-width: 999px) {
      width: var(--photo-width);
      height: auto;
      grid-row: 1 / 3;
    }
  }
  .label {
    font-size: 13px;
    line-height: 2.3;
    letter-spacing: 2.6px;
    @media (max-width: 999px) {
      font-size: 13px;
      line-height: 2.3;
      letter-spacing: 2.6px;
    }
  }
  .name {
    margin-top: 51px;
    @media (max-width: 999px) {
      margin-top: 12px;
    }
    .kanji {
      display: block;
      font-size: 30px;
      letter-spacing: 1.2px;
      @media (max-width: 999px) {
        font-size: 24px;
        letter-spacing: 2.88px;
      }
    }
    .furigana {
      margin-top: 11px;
      display: block;
      color: #858585;
      font-size: 11px;
      letter-spacing: 2.2px;
    }
  }
  .katagari {
    margin-top: 45px;
    font-size: 18px;
    line-height: 2.3;
    letter-spacing: 1.8px;
    @media (max-width: 999px) {
      font-size: 13px;
      line-height: 2.3;
      letter-spacing: 1.3px;

      margin-top: 27px;
      grid-column: 1 / 3;
      grid-row: 3 / 4;
    }
  }
  .profile {
    grid-column: 1 / 3;
    margin-top: 43px;
    font-size: 18px;
    line-height: 2.3;
    letter-spacing: 1.8px;
    @media (max-width: 999px) {
      margin-top: 31px;
      font-size: 13px;
      line-height: 2.3;
      letter-spacing: 1.3px;
    }
  }
}
section.border-top {
  > h2 {
    border-top: 1px solid #D9D9D9;
    color: #757575;
    font-size: 16px;
    line-height: 1;
    letter-spacing: 1.92px;
    padding: 80px 0;
    text-align: center;
    @media (max-width: 999px) {
      padding: 66px 0;
    }
  }
  p {
    font-size: 18px;
    line-height: 2.3;
    letter-spacing: 1.8px;
    @media (max-width: 999px) {
      font-size: 15px;
      line-height: 2.3;
      letter-spacing: 1.5px;
    }
  }
}
html[lang="ja"] {
  section#kaiki,
  section#taisei {
    h2 {
      margin-bottom: -15px;
      @media (max-width: 999px) {
        margin-bottom: 0;
      }
    }
  }

  section#kaiki {
    br.sp {
      display: none;
    }
    table {
      tr {
        position: relative;
        height: 49px;
      }
      th, td {
        text-align: left;
      }
      th {
        font-size: 18px;
        line-height: 2;
        letter-spacing: 2.16px;
        position: relative;
        padding-right: 32px;
        &:after {
          content: '';
          display: block;
          width: 100%;
          height: 1px;
          position: absolute;
          top: 50%;
          background-color: #000;
          z-index: 0;
        }
        span {
          position: relative;
          display: inline-block;
          background-color: #fff;
          padding-right: 10px;
          z-index: 1;
        }
      }
      td {
        padding-left: 15px;
        font-size: 22px;
        line-height: 2;
        letter-spacing: 2.64px;
      }
      sup {
        font-size: 13px;
        position: relative;
        left: 5px;
      }
    }
    .note {
      margin-top: 40px;
      color: #757575;
      font-size: 14px;
      line-height: 2;
      letter-spacing: 1.68px;
    }
    h3 {
      margin-top: 54px;
      font-size: 18px;
      letter-spacing: 2.16px;
      padding: 35px 0;
    }
  }
}
@media (max-width: 999px) {
  html[lang="ja"] {
    section#kaiki {
      br.sp {
        display: inline;
      }
      h2 {
        padding-bottom: 55px;
      }
      table {
        td,
        th {
          display: block;
          padding: 0;
        }
        th:after {
          display: none;
        }
        th {
          font-size: 14px;
          letter-spacing: 1.68px;
        }
        td {
          margin-top: 3px;
          margin-bottom: 23px;
          font-size: 19px;
          line-height: 1.7;
          letter-spacing: 2.28px;
        }
        sup {
          font-size: 11px;
          top: 1px;
        }
      }
      .note {
        margin-top: 3px;
        font-size: 13px;
        line-height: 2;
        letter-spacing: 1.56px;
      }
      h3 {
        margin-top: 43px;
      }
      h3 + p {
        line-height: 1.8;
      }
    }
  }
}
html[lang="en"] {
  section#kaiki {
    .figure {
      display: block;
      max-width: 100%;
      height: auto;
      margin: 0 auto;
      &.sp {
        display: none;
      }
      @media (max-width: 808px) {
        &.sp {
          display: block;
          max-width: 400px;
          width: 100%;
        }
        &.pc {
          display: none;
        }
      }
    }
  }
}
section#syusai {
  h4 {
    text-align: center;
    font-size: 22px;
    line-height: 2.3;
    letter-spacing: 2.64px;
    margin-top: -18px;
    margin-bottom: 14px;
    @media (max-width: 999px) {
      font-size: 20px;
      letter-spacing: 2.4px;
    }
  }
}
section#taisei {
  h2 {
    @media (max-width: 999px) {
      padding-bottom: 57px;
    }
  }
  .figure {
    display: block;
    margin: 50px auto 66px;
    max-width: 100%;
    height: auto;
    &.sp {
      display: none;
    }

    @media (max-width: 808px) {
      &.sp {
        display: block;
        max-width: 400px;
        margin: 45px auto 36px;
        width: 100%;
      }

      &.pc {
        display: none;
      }
    }
  }
  .items {
    display: flex;
    max-width: 950px;
    width: 100%;
    margin: 94px auto 0;
    @media (max-width: 999px) {
      margin-top: 35px;
      flex-direction: column;
    }
    .item {
      width: calc((100% - 122px) / 3);
      --padding: 53px;
      @media (max-width: 999px) {
        width: 100%;
        padding: 24px 0 !important;
        border: 0 !important;
        border-top: 1px solid #D9D9D9 !important;
      }
      h5 {
        line-height: 1.8;
        height: 74px;
        font-size: 18px;
        letter-spacing: 1.62px;
        @media (max-width: 999px) {
          height: auto;
          font-size: 15px;
          letter-spacing: 1.35px;
          margin-bottom: 16px;
          br {
            display: none;
          }
        }
        /* 総合ディレクター+3331（合同会社コマンドA） の最後の閉じカッコの右マージンがあるせいで改行指定まうので無視 */
        .adjusted-punctuation {
          margin-right: 0;
        }
      }
      p {
        color: #757575;
        font-size: 14px;
        line-height: 2;
        letter-spacing: 1.26px;
        @media (max-width: 999px) {
          font-size: 13px;
          letter-spacing: 1.17px;
        }
      }
    }
    .item:first-child {
      padding-right: var(--padding);
    }
    .item:nth-child(2) {
      padding-left: var(--padding);
      padding-right: var(--padding);
      border-left: 1px solid #D9D9D9;
      border-right: 1px solid #D9D9D9;
    }
    .item:nth-child(3) {
      padding-left: var(--padding);
    }

  }
}
section#team {
  .items {
    max-width: 1080px;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 60px;
    margin: 0 auto;
    @media (max-width: 999px) {
      padding: 0;
      gap: 23px;
      grid-template-columns: repeat(auto-fill, minmax(152px, 1fr));
    }
    .item {
      h5 {
        font-size: 22px;
        line-height: 2.3;
        letter-spacing: 2.64px;
        @media (max-width: 999px) {
          font-size: 16px;
          line-height: 2.3;
          letter-spacing: 1.92px;
        }
      }
      p {
        color: #757575;
        font-size: 12px;
        line-height: 1.8;
        letter-spacing: 1.2px;
        @media (max-width: 999px) {
          font-size: 11px;
          line-height: 1.8;
          letter-spacing: 1.1px;
          br {
            display: none;
          }
        }
      }
    }
  }
}
section#sponsors {
  .imageSponsors {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    @media (max-width: 999px) {
      gap: 23px;
    }
    > a {
      border: 1px solid #D9D9D9;
      width: 520px;
      height: 170px;
      transition: opacity 0.3s;
      .image {
        width: 100%;
        height: 100%;
        object-fit: contain;
      }
      &[href]:hover {
        opacity: 0.8;
      }
    }
    &.large {
      > a {
        width: 518px;
        height: 168px;
        @media (max-width: 999px) {
          width: 325px;
          height: 105px;
        }
      }
    }
    &.medium {
      /* flex-direction: column;
      align-items: center; */
      > a {
        width: 331px;
        height: 131px;
        @media (max-width: 999px) {
          width: 234px;
          height: 92px;
        }
      }
    }
    &.small {
      > a {
        width: 238px;
        height: 91px;
        @media (max-width: 999px) {
          width: 150px;
          height: 56px;
        }
      }
    }
  }
  .imageSponsors+.imageSponsors {
    margin-top: 40px;

    @media (max-width: 999px) {
      margin-top: 23px;
    }
  }
  .withoutImages {
    max-width: 700px;
    width: 100%;
    margin: 70px auto;
    font-size: 16px;
    line-height: 2.3;
    letter-spacing: 1.92px;
    a {
      text-decoration: none;
    }
    .adjusted-punctuation {
      margin-right: 0;
    }
    @media (max-width: 999px) {
      margin: 56px auto;
      font-size: 15px;
      letter-spacing: 1.5px;
    }
  }
}


html[lang="en"] {
  main {
    section {
      h1 {
        margin-top: 85px;
        font-size: 36px;
        line-height: 1.7;
        letter-spacing: 1.08px;
        margin-bottom: 68px;
      }

      p {
        font-size: 26px;
        line-height: 2.1;
        letter-spacing: 0.52px;
      }

      h2.wave {
        font-size: 13px;
        line-height: 2.3;
        letter-spacing: 0.39px;

        &:before {
          margin-bottom: 57px;
        }
      }
    }
  }

  section#director {
    margin-top: 110px;

    .label {
      font-size: 13px;
      line-height: 2.3;
      letter-spacing: 0.39px;
    }

    .name {
      .alphabet {
        font-size: 30px;
        letter-spacing: 0.9px;
      }
    }

    .katagari {
      margin-top: 47px;
      font-size: 18px;
      line-height: 2.1;
      letter-spacing: 0.36px;
    }

    .profile {
      margin-top: 50px;
      font-size: 18px;
      line-height: 2.1;
      letter-spacing: 0.36px;
    }
  }

  .w1200 {
    > h2 {
      font-size: 16px;
      letter-spacing: 0.48px;
      padding-bottom: 75px;
    }

    p {
      font-size: 18px;
      line-height: 2.1;
      letter-spacing: 0.36px;
    }
  }

  section#syusai,
  section#taisei {
    p {
      font-size: 18px;
      line-height: 2.1;
      letter-spacing: 0.36px;
    }
  }

  section#syusai {
    h4 {
      font-size: 22px;
      line-height: 2.3;
      letter-spacing: 0.66px;
    }
  }

  section#taisei {
    h2 {
      margin-bottom: -10px;
    }

    .figure {
      margin-top: 70px;
    }

    .items {
      .item {
        --padding: 49px;

        h5 {
          height: 84px;
          font-size: 20px;
          line-height: 1.3;
          letter-spacing: 0.6px;
        }

        p {
          font-size: 14px;
          letter-spacing: 0.28px;
        }
      }
    }
  }

  section#team {
    .items {
      row-gap: 36px;

      .item {
        h5 {
          font-size: 21px;
          line-height: 2.3;
          letter-spacing: 0.63px;
        }

        p {
          margin-top: 4px;
          font-size: 12px;
          letter-spacing: 0.24px;
        }
      }
    }
  }
}

@media (max-width: 999px) {
  html[lang="en"] {
    main {
      section {
        h1 {
          margin-top: 48px;
          font-size: 24px;
          line-height: 1.7;
          letter-spacing: 0.72px;
        }
        p {
          font-size: 15px;
          line-height: 2.1;
          letter-spacing: 0.3px;
        }

        h2.wave {
          margin-top: 55px;

          &:before {
            margin-bottom: 45px;
          }
        }
      }
      section#concept {
        h3 {
          margin: 56px auto 51px;
          > img {
            width: 309px;
          }
        }
      }
      section#message {
        h3 {
          margin: 56px auto 51px;
        }
        p {
          font-size: 15px;
          line-height: 2.1;
          letter-spacing: 0.3px;
        }
      }
      section#director {
        margin-top: 70px;
        .name  {
          margin-top: 28px;
          .alphabet {
            font-size: 24px;
            line-height: 1.4;
            letter-spacing: 0.72px;
          }
        }
        .katagari,
        .profile {
          font-size: 13px;
          line-height: 2.1;
          letter-spacing: 0.26px;
        }
        .profile {
          margin-top: 26px;
        }
      }
      section#syusai,
      section#taisei {
        p {
          font-size: 13px;
          line-height: 2.1;
          letter-spacing: 0.26px;
        }
      }
      section#syusai {
        h4 {
          margin-top: -50px;
          font-size: 20px;
          line-height: 1.8;
          letter-spacing: 0.6px;
          margin-bottom: 21px;
        }
      }
      section#taisei {
        h2 {
          margin-bottom: 10px;
        }
        .items .item {
          h5 {
            font-size: 15px;
            line-height: 2;
            letter-spacing: 0.45px;
            height: initial;
          }
          p {
            font-size: 13px;
            line-height: 1.8;
            letter-spacing: 0.26px;
          }
        }
      }
      section#team {
        .items {
          row-gap: 46px;
          .item {
            h5 {
              font-size: 16px;
              line-height: 2.3;
              letter-spacing: 0.48px;
            }
            p {
              font-size: 11px;
              line-height: 1.8;
              letter-spacing: 0.22px;
            }
          }
        }
      }
    }
  }
}