
:root,
body.light {
  --primary: #04328B;
  --on-primary: #ffffff;
  --primary-container: #0D6BCE;
  --on-primary-container: #22005d;
  --secondary: #0F8BFF;
  --on-secondary: #ffffff;
  --secondary-container: #e8def8;
  --on-secondary-container: #1e192b;
  --tertiary: #566ECB;
  --on-tertiary: #ffffff;
  --tertiary-container: #ffd9e3;
  --on-tertiary-container: #31101d;
  --error: #ba1a1a;
  --on-error: #ffffff;
  --error-container: #ffdad6;
  --on-error-container: #410002;
  --background: #fffbff;
  --on-background: #1c1b1e;
  --surface: #fdf8fd;
  --on-surface: #1c1b1e;
  --surface-variant: #e7e0eb;
  --on-surface-variant: #49454e;
  --outline: #7a757f;
  --outline-variant: #cac4cf;
  --shadow: #000000;
  --scrim: #000000;
  --inverse-surface: #313033;
  --inverse-on-surface: #f4eff4;
  --inverse-primary: #cfbcff;
  --surface-dim: #ddd8dd;
  --surface-bright: #fdf8fd;
  --surface-container-lowest: #ffffff;
  --surface-container-low: #f7f2f7;
  --surface-container: #f2ecf1;
  --surface-container-high: #ece7eb;
  --surface-container-highest: #e6e1e6;
}

:root {
  --_round: 1rem;
  /* To use your custom font */
  --font: "Noto Sans JP", sans-serif;

  /* To remove default icons */
  /* --font-icon: none; */

  /* To use default outlined icons */
  --font-icon: "Material Symbols Outlined";

  /* To use default rounded icons */
  /* --font-icon: "Material Symbols Rounded"; */

  /* To use default sharp icons */
  /* --font-icon: "Material Symbols Sharp"; */

  /* To only use minimal subset of icons required in checkbox, radio and switch */
  /* --font-icon: "Material Symbols Subset"; */
}


html {
  scroll-behavior: smooth;
  @media screen and (width >= 768px) {
    scroll-padding-top: 100px;
  }
  @media screen and (width < 768px) {
    scroll-padding-top: 40px;
  }
}

body {
  background-color: #F6F6F6;
  border-bottom: 20px solid #092462;
}


.menu-btn {
  position: fixed;
  top: 16px;
  right: 10px;
  display: flex;
  height: 40px;
  width: 40px;
  justify-content: center;
  align-items: center;
  z-index: 102;
  background-color: #fff;
  border-radius: 4px;
  @media screen and (width >= 768px) {
    display: none;
  }
  span {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
    &::before,
    &::after {
      content: '';
      display: block;
      height: 2px;
      width: 16px;
      border-radius: 2px;
      background-color: #0D6BCE;
      position: absolute;
      left: 12px;
    }
    &::before {
      bottom: 12px;
    }
    &::after {
      top: 12px;
    }
  }
}

.menu-content {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 100vw;
  opacity: 0;
  z-index: 101;
  background-color: #fff;
  transition: opacity 0.3s ease;
  .entry-buttons {
    display: flex;
    justify-content: center;
    align-items: start;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    position: static;
    translate: 0 0;
    margin-block: auto 2rem;
    article {
      margin: 0;
      max-width: 100%;
      width: 100%;
      height: auto;
      text-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
    }
    a {
      display: flex;
      align-items: center;
      flex-direction: row;
      height: 100%;
      padding: 1rem;
      &:hover {
        background-color: #FECC0C;
      }
    }
    .button-career {
      background-color: #7ACFFF;
      color: #fff;
    }
    .button-potential {
      background-color: #0F8BFF;
      color: #fff;
    }
    .button-text-arrow {
      margin-top: auto;
    }
    i {
      color: var(--secondary);
    }
    
  }
}
#menu-btn-check:checked ~ .menu-content {
  left: 0;
  opacity: 1;
}

#menu-btn-check {
  display: none;
}
#menu-btn-check:checked ~ .menu-btn span::before {
  bottom: 19px;
  transform: rotate(45deg);
}
#menu-btn-check:checked ~ .menu-btn span::after {
  top: 19px;
  transform: rotate(-45deg);
}


header {
  overflow: hidden;
  height: 410px;
  background: url(../img/common/bg-header.webp) no-repeat center center;
  background-size: cover;
  @media screen and (width < 768px) {
    height: 225px;
    justify-content: flex-end;
    .site-title {
      margin-block-end: 2rem;
      gap: 0.5rem;
    }
  }
  .entry-buttons {
    position: absolute;
    bottom: 0;
    right: 0;
    translate: 0 130%;
    width: 100%;
  }
  .header-nav {
    will-change: transform;
    display: flex;
    flex-direction: row;
    max-width: calc(1200px + 2rem);
    width: 100%;
    margin: 26px auto 0;
    padding: 0 1rem;
    gap: 10px;
    position: fixed;
    top: 10px;
    left: 50%;
    translate: -50% 0;
    z-index: 100;
    transition: translate 0.5s ease;
    @media screen and (width >= 768px) {
      &.is-hide {
        translate: -50% -200%;
      }
    }
    @media screen and (width < 768px) {
      align-items: center;
      margin-top: 0;
      top: 0;
      position: absolute;
      background-color: #fff;
    }
  }
  .site-logo {
    font-size: 1rem;
    .site-logo-link {
      display: flex;
      align-items: flex-end;
      justify-content: flex-start;
      gap: 1rem;
      padding: 13px;
    }
    .site-logo-img {
      width: 107px;
      @media screen and (width < 768px) {
        width: 80px;
      }
    }
    .site-name {
      color: var(--primary);
      font-size: 0.75rem;
      font-weight: 500;
      @media screen and (width < 768px) {
        font-size: 0.625rem;
      }
    }
  }
  .menu-content-inner {
    /* width: 80vw; */
    padding-inline: 10vw;
    margin-inline: auto;
    height: 100%;
    overflow: auto;
    display: flex;
    flex-direction: column;
    
  }
  .global-nav {
    background-color: #fff;
    flex: 1;
    padding-inline: 27px;
    height: 72px;
    position: relative;
    @media screen and (width < 768px) {
      box-shadow: none !important;
      padding-inline: 0;
    }
    /* box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px; */
  }
  .global-nav_sp {
    flex-direction: column;
    width: 100%;
    margin-block: 2rem;
    .spnav_title {
      border-bottom: 1px solid #04328B;
    }
    ul {
      display: flex;
      flex-direction: column;
      align-items: stretch;
      gap: 20px;
      list-style-type: none;
    }
    .spnav_title {
      color: var(--primary);
      span {
        display: inline-block;
      }
      .ja {
        font-size: 0.9375rem;
        font-weight: 500;
        width: 8em;
      }
      .en {
        font-size: 0.8125rem;
      }
    }
    details {
      summary {
        display: flex;
        align-items: center;
        &::after {
          content: "";
          display: block;
          width: 20px;
          aspect-ratio: 1;
          background: url(../img/common/spnav-plus.svg) no-repeat center center;
          background-size: contain;
          margin-inline-start: auto;
        }
      }
      &[open] {
        summary {
          &::after {
            width: 20px;
            background: url(../img/common/spnav-minus.svg) no-repeat center center;
            background-size: contain;
          }
        }
      }
    }
    .submenu {
      font-size: 0.8125rem;
      font-weight: 500;
      color: var(--primary);
      gap: 0.5rem;
    }


  }
  
  .header-nav-list {
    margin: 0 44px 0 auto;
    justify-content: flex-end;
    position: static;
    @media screen and (width < 768px) {
      display: none;
    }
    > li {
      height: 100%;
    }
    a {
      color: var(--primary);
      &:hover {
        color: var(--secondary);
      }
    }
    .header-nav-link {
      height: 100%;
      padding: 13px;
      font-size: 0.875rem;
      font-weight: 500;
    }
  }
  .header-lower-content-upper {
    border-top: 1px solid #D1D1D1;
    padding: .5rem;
    ul {
      flex-direction: column;
      align-items: flex-start;
      gap: 0.5rem;
      color: var(--primary);
      font-weight: 500;
      font-size: 0.75rem;
    }
  }
  .header-lower-content-bottom {
    padding: 1rem .5rem;
    ul {
      flex-direction: column;
      align-items: flex-start;
      font-size: 0.75rem;
      gap: 0.5rem;
    }
  }
  
  .header-nav-sub {
    margin: 0;
    background-color: rgba(255, 255, 255, 0.85);
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 100%;
    padding: 1.5rem 2rem;
    z-index: 100;
    display: none;
    @media screen and (width < 768px) {
      width: auto;
    }
    .header-nav-sub-content {
      display: flex;
      align-items: flex-start;
    }
    .header-nav-sub-title {
      width: 40%;
      display: flex;
      flex-direction: column;
      gap: 1rem;
      line-height: 1;
      padding-inline-start: 10%;
      .en {
        color: #0D6BCE;
      }
      .jp, .ja {
        font-size: 1.1875rem;
        font-weight: 500;
      }
    }
    .header-nav-sub-list {
      display: flex;
      gap: 1rem;
      list-style: none;
      padding: 0;
      margin: 0;
    }
    .header-thumnail {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      justify-content: center;
      img {
        border-radius: 8px;
        width: 100%;
        height: 100%;
        object-fit: cover;
      }
      figcaption {
        margin-top: 0.5rem;
        font-size: 0.75rem;
        color: var(--primary);
      }
    }
  }

  .header-entry {
    @media screen and (width < 768px) {
      margin-right: 40px;
    }
    .header-nav-sub {
      padding: 0.5rem;
    }
    &.is-hover {
      .header-entry-trigger {
        background-color: #FECC0C;
      }
    }
    .header-entry-trigger {
      transition: background-color 0.2s ease;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      width: 163px;
      height: 72px;
      background-color: #7ACFFF;
      color: #fff;
      font-size: 1.25rem;
      font-family: "Lato", sans-serif;
      font-weight: 700;
      font-style: italic;
      text-transform: uppercase;
      line-height: 1;
      @media screen and (width < 768px) {
        width: 90px;
        height: 40px;
        font-size: 0.75rem;
      }
      &::after {
        content: "";
        background: url(../img/common/chevron-down-2p.svg) no-repeat center center;
        background-size: contain;
        display: block;
        width: 12px;
        height: 7px;
        margin-inline-start: 14px;
      }
    }
    .header-entry-list {
      list-style: none;
      padding: 0;
      margin: 0;
      font-size: 0.75rem;
      font-weight: 500;
      a {
        color: #454545;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0.5rem;
        white-space: nowrap;
        &:hover {
          color: var(--secondary);
        }
        &.disabled {
          opacity: 0.5;
          pointer-events: none;
        }
        &:not(.disabled) {
          &::after {
            content: "";
            background: url(../img/common/arrow.svg) no-repeat center center;
            background-size: contain;
            display: block;
            width: 16px;
            height: 10px;
            margin-inline-start: 0.5rem;
          }
        }
      }
    }
  }
  
}

footer {
  position: relative;
  background-color: #fff;
  border-radius: 32px 32px 0 0;
  padding: 0;
  
  .footer-logo {
    @media screen and (width < 768px) {
      padding-inline: 1rem;
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-block-end: 2rem;
    }
  }
  .site-logo {
    margin-block-end: 2rem;
    @media screen and (width < 768px) {
      margin-block-end: 0;
    }
  }
  .site-logo-img {
    width: 156px;
    @media screen and (width < 768px) {
      width: 100px;
    }
  }
  i {
    color: var(--primary);
  }
  .footer-upper-content {
    background-color: var(--primary-container);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-block: 95px 87px;
    @media screen and (width < 768px) {
      padding-block: 2rem;
    }
    .btn-faq {
      margin-top: 1.5rem;
      width: 220px;
      height: 64px;
      border: 1px solid #fff;
      background-color: inherit;
      color: #fff;
      border-radius: 32px;
      
    }
    @media screen and (width < 768px) {
      .row {
        flex-direction: column;
        gap: 20px;
      }
      .middle-align {
        justify-content: center !important;
      }
      
    }
    .entry-buttons {
      @media screen and (width < 768px) {
        i {
          display: none;
        }
      }
    }
  }

  .footer-lower-content {
    .row {
      padding-block: 77px 40px;
      justify-content: space-between;
      @media screen and (width < 768px) {
        padding-block: 2rem;
        flex-direction: column;
        gap: 20px;
      }
    }
  }
  .footer-lower-content-bottom {
    font-size: 0.875rem;
    border-top: 1px solid #D1D1D1;
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
    padding-block: 20px;
    border-radius: 0;
    @media screen and (width < 768px) {
      padding-inline: 1rem;
    }
    i {
      color: inherit;
    }
    a {
      &:hover {
        color: var(--secondary);
      }
    }
    @media screen and (width < 768px) {
      flex-direction: column;
      align-items: flex-start;
      gap: 1rem;
      * {
        font-size: 0.8125rem;
      }
      ul {
        flex-direction: column;
        align-items: flex-start;
      }
    }
    .copyright {
      font-size: clamp(0.688rem, 0.602rem + 0.36vw, 0.875rem);
    }
  }

  .footer-nav {
    @media screen and (width < 768px) {
      padding-inline: 1rem;
    }
    .footer-nav-title {
      color: var(--primary);
      font-size: 0.875rem;
      font-weight: 500;
    }
    .footer-nav-item {
      display: flex;
      flex-direction: column;
      gap: 0.5rem;
      align-items: flex-start;
      a {
        &:hover {
          color: var(--secondary);
        }
      }
      @media screen and (width < 768px) {
        gap: 0.25rem;
        width: calc(50% - 10px);
        font-size: 0.8125rem;
        &:last-child {
          width: 100%;
          display: flex;
          flex-direction: row;
          flex-wrap: wrap;
          a {
            justify-content: flex-start;
            width: 46%;
          }
        }
      }
    }
    .footer-nav-sub-item {
      font-size: clamp(0.75rem, 0.693rem + 0.24vw, 0.875rem);
    }
    .footer-nav-list {
      align-items: flex-start;
      gap: 40px;
      @media screen and (width < 768px) {
        gap: 10px 0px;
        flex-wrap: wrap;
      }
    }
    .footer-nav-sub-list {
      margin: 0;
      list-style-type: disc;
      padding-inline-start: 1.5rem;
      @media screen and (width < 768px) {
        font-size: 0.75rem;
      }
    }
  }
  .footer-copy {
    font-size: clamp(1.25rem, 1.023rem + 0.97vw, 1.75rem);
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    @media screen and (width < 768px) {
      justify-content: flex-start;
      p {
        padding-inline: 1rem;
      }
    }
  }
}

.entry-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
  &.--ver {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  article {
    margin: 0;
    max-width: 275px;
    width: 100%;
    height: 144px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
    @media screen and (width < 768px) {
      height: auto;
    }
  }
  a {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    height: 100%;
    padding: 1rem;
    @media screen and (width < 768px) {
      padding: 0.5rem .75rem;
    }
    &:hover {
      background-color: #FECC0C;
    }
    .ja {
      font-size: clamp(0.875rem, 0.761rem + 0.48vw, 1.125rem);
      font-weight: 700;
    }
    .en {
      font-size: clamp(0.813rem, 0.727rem + 0.36vw, 1rem);
    }
  }
  .button-career {
    background-color: #7ACFFF;
    color: #fff;
  }
  .button-potential {
    background-color: #0F8BFF;
    color: #fff;
  }
  .button-text-arrow {
    margin-top: auto;
    align-items: center;

  }
  i {
    color: var(--secondary);
  }
  &.--sticky {
    position: sticky;
    bottom: 0;
    gap: 0;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s, opacity 0.3s ease-in-out;
    &.is-show {
      visibility: visible;
      opacity: 1;
    }
    article {
      border-radius: 0 !important;
    }
    a {
      align-items: center;
    }
    .button-text-arrow {
      margin-inline: auto;
    }
  }
}

.site-title {
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  line-height: 1;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
  .en {
    font-family: "Lato", sans-serif;
    font-size: clamp(1rem, 0.659rem + 1.45vw, 1.75rem);
  }
  .ja {
    font-weight: 500;
    font-size: clamp(1.375rem, 0.864rem + 2.18vw, 2.5rem);
  }
}

.home {
  .page-branch {
    color: #fff;
  }
  video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;

    object-fit: cover;

  }
  header {
    position: relative;
    background: none;
    height: 768px;
    /* background: url(../img/home/bg-header.svg) no-repeat center center; */
    /* background-size: cover; */
    @media screen and (width < 768px) {
      justify-content: center;
      height: 640px;
    }
  }
  .site-title {
    .en {
      font-size: clamp(1.375rem, 1.006rem + 1.58vw, 2.188rem);
    }
    .ja {
      font-size: clamp(2rem, 1.545rem + 1.94vw, 3rem);
    }
  }

  .section-title {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    .en {
      font-size: clamp(1rem, 0.659rem + 1.45vw, 1.75rem);
  
    }
    .ja {
      font-size: clamp(1.25rem, 0.909rem + 1.45vw, 2rem);
      font-weight: 600;
    }
  }
  .title-lead {
    @media screen and (width < 768px) {
      font-size: 0.8125rem;
    }
    color: #454545;
  }

  @media screen and (width < 768px) {
    .title-wrap {
      flex-direction: column;
      align-items: flex-start !important;
      gap: 0.5rem;
    }
  }


  .site-catchcopy {
    white-space: nowrap;
    margin: 0 calc(50% - 50vw);
    width: 100vw;
    margin-top: 2rem;
    font-family: "freight-text-pro", serif;
    font-weight: 300;
    font-style: normal;
    font-size: clamp(3.75rem, 3.409rem + 1.45vw, 4.5rem);
    color: #D1D1D1;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
    span {
      display: inline-block;
      animation: marquee-left 16s linear infinite;
    }
  }
  main {
    padding-block: 0;
    section {
      padding-block: 100px;
      margin-block: 0;
      @media screen and (width < 768px) {
        padding-block: 50px;
      }
      &:not(.events) {
        background-color: rgba(246, 246, 246, .95);
      }
      &:latest-news {
        padding-block: 7.5rem 0;
      }
    }
  }
  .list-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-end;
    .button-text-arrow {
      margin-top: 0;
    }
    a {
      display: block;
      max-width: 470px;
      width: 100%;
      
      &:hover {
        article {
          background-color: var(--secondary);
          color: #fff;
          i {
            background-color: #fff;
            color: var(--secondary);

          }
        }
      }
    }
    article {
      height: 120px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding-inline: 2rem;
      background-color: #fff;
      border-radius: 12px;
      font-size: clamp(1rem, 0.773rem + 0.97vw, 1.5rem);
      color: #092462;
      @media screen and (width < 768px) {
        height: auto;
      }
    }
    i {
      background-color: var(--secondary);
      color: #fff;
    }
  }

  .interviews {
    background-color: #fff !important;
    .grid {
      margin-block: 2rem;
    }
    .swiper {
      margin-inline: -1rem;
      padding-inline: 1rem;
    }
    .grid {
      @media screen and (width < 768px) {
        gap: 0;
      }
      > div {
        @media screen and (width >= 768px) {
          width: calc((100% - 4rem) / 3);
        }
        
      }
    }
    .swiper-slide {
      @media screen and (width < 768px) {
        width: calc(69.33333333vw + 2rem);
        padding-inline: 1rem;
      }
    }
    article {
      aspect-ratio: 342 / 396;
      @media screen and (width < 768px) {
        margin-top: 0;
        width: 69.33333333vw;
      }
      a {
        display: flex;
        width: 100%;
        height: 100%;
        img {
          block-size: 100%;
        }
      }
    }
    .card-category {
      position: absolute;
      top: 16px;
      left: 16px;
      background-color: #fff;
      border-radius: 20px;
      color: #454545;
      font-size: 0.75rem;
      font-weight: 500;
      padding: 0.25rem 1rem;
      @media screen and (width < 768px) {
        font-size: 0.5rem;
      }
    }
    .card-title {
      text-wrap: balance;
      font-size: clamp(1.125rem, 1.068rem + 0.24vw, 1.25rem);
      font-weight: 600;
    }
    .card-name {
      font-size: clamp(0.938rem, 0.795rem + 0.61vw, 1.25rem);
    }
    .card-career {
      font-size: clamp(0.563rem, 0.506rem + 0.24vw, 0.688rem);
    }
    i {
      color: #fff;
      background-color: var(--secondary);
    }
    .swiper-buttons {
      margin-top: 20px;
      display: flex;
      gap: 0;
      justify-content: flex-start;
      @media screen and (width >= 768px) {
        visibility: hidden;
      }
    }
    .swiper-button-prev, .swiper-button-next {
      width: auto;
      position: static;
      background-color: #fff;
      &::after {
        content: none;
      }
      button {
        background-color: #fff;
        border-radius: 30px;
        border: 1px solid var(--secondary);
      }
      i {
        color: var(--secondary);
        background-color: #fff;
      }
    }
  }

  .careertalks {
    background-color: #EEF8FF !important;
    .grid {
      margin-block: 2rem;
    }
    article {
      aspect-ratio: 534 / 293;
      a {
        display: flex;
        width: 100%;
        height: 100%;
        img {
          block-size: 100%;
        }
      }
    }
    .card-category {
      position: absolute;
      top: 16px;
      left: 16px;
      background-color: #fff;
      border-radius: 20px;
      color: #454545;
      font-size: 0.75rem;
      font-weight: 500;
      padding: 0.25rem 1rem;
    }
    .card-title {
      text-wrap: balance;
      font-size: clamp(1.125rem, 1.068rem + 0.24vw, 1.25rem);
      font-weight: 600;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .card-name {
      font-size: clamp(0.938rem, 0.795rem + 0.61vw, 1.25rem);
    }
    .card-career {
      font-size: clamp(0.563rem, 0.506rem + 0.24vw, 0.688rem);
    }
    i {
      color: #fff;
      background-color: var(--secondary);
    }
  }
  .events {
    margin-bottom: -90px;
    padding-bottom: 150px;
    /* background: url(../img/home/bg-header.svg) no-repeat center center; */
    background-size: cover;
    .title-wrap {
      margin-bottom: 2rem;
      color: #fff !important;
      span {
        color: #fff !important;
      }
    }
    .title-lead {
      color: #fff !important;
    }
    .event-list {
      --_gap: 1rem;
      article {
        height: 100%;
        i {
          color: var(--secondary);
        }
        .event-meta {
          display: flex;
          align-items: center;
          justify-content: space-between;
          border-bottom: 1px solid #D1D1D1;
          padding-inline: 10px;
          border-radius: 0;
          padding-bottom: 0.5rem;
          .event-category {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            color: #566ECB;
            font-size: 0.8125;
            font-weight: 700;
            gap: 4px;
            &::before {
              content: "";
              display: block;
              width: 12px;
              height: 12px;
              background-color: #FECC0C;
              border-radius: 50%;
            }
          }
          .event-date {
            font-size: 0.6875rem;
            color: #444;
          }
          .event-data {
            font-size: 0.875rem;
          }
        }
        .event-title {
          margin: 0.75rem 1rem 2rem;
          @media screen and (width < 768px) {
            font-size: 0.8125rem;
          }
        }
        .event-data {
          margin-inline: 1rem;
          @media screen and (width < 768px) {
            font-size: 0.8125rem;
          }
        }
      }
    }
    
  }
}

.card-tags {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  button {
    font-size: 0.75rem;
    padding-inline: 0.75rem;
  }
  .card-hash {
    line-height: 1;
    @media screen and (width < 768px) {
      font-size: 0.5rem;
      height: 14px;
    }
  }
}


@keyframes marquee-left {
  0% {
    transform: translateX(100vw);
  }
  100% {
    transform: translateX(-100%);
  }
}

.latest-news {
  article {
    background-color: #fff;
    padding: 5%;
  }
  h2 {
    font-size: clamp(1.063rem, 0.75rem + 1.33vw, 1.75rem);
    font-weight: 400;
  }
}

.news-list {
  list-style-type: none;
  padding: 0;
  margin: 1rem 0 0;
  border-top: 1px solid #D1D1D1;
  @media screen and (width < 768px) {
    margin-top: .25rem;
  }
  li {
    border-bottom: 1px solid #D1D1D1;
  }
  a {
    display: flex;
    flex-wrap: wrap !important;
    gap: 0.5rem 1rem;
    align-items: center;
    justify-content: flex-start;
    padding: 1rem;
    time {
      font-size: clamp(0.813rem, 0.727rem + 0.36vw, 1rem);
    }
    .news-category {
      font-size: clamp(0.563rem, 0.506rem + 0.24vw, 0.688rem);
      border: 1px solid #707070;
      border-radius: 4px;
      padding: 0 1rem;
    }
    .news-title {
      width: 100%;
      font-size: clamp(0.813rem, 0.727rem + 0.36vw, 1rem);
    }
    &[href="#"] {
      pointer-events: none;
      cursor: default;
    }
  }
}

.title-pattern {
  display: inline-block;
  background: url(../img/common/mask-catchcopy.avif) no-repeat left center;
  background-size: cover;
  background-clip: text;
  color: transparent;
}

.section-catchcopy {
  span {
    font-size: clamp(2.375rem, 1.636rem + 3.15vw, 4rem);
  }
}



.page-branch {
  width: 100%;
  margin: 0 auto 10px;
  font-size: 0.875rem;
  /* position: absolute;
  top: -2.5rem; */
  ol {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  li {
    & + li {
      &::before {
        content: "〉";
      }
    }
  }
}

.index {
  header {
    > .inner {
      @media screen and (width >= 768px) {
        margin-block: auto 72px;
      }
    }
  }
  .section-title {
    font-size: clamp(1.375rem, 0.864rem + 2.18vw, 2.5rem);
    font-weight: 700;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .5rem;
    .subtitle {
      color: var(--primary-container);
      font-size: clamp(0.813rem, 0.727rem + 0.36vw, 1rem);
    }
  }
  main {
    padding-top: 40px;
  }
}

.page-copy {
  font-size: clamp(2.375rem, 0.841rem + 6.55vw, 5.75rem);
  color: #7ACFFF;
  line-height: 1;
  margin-bottom: 2rem;
  display: flex;
  align-items: flex-end;
  gap: 1rem;
  @media screen and (width < 768px) {
    flex-direction: column;
    align-items: flex-start;
    margin-block-end: .5rem;
    gap: 1rem;
  }
  .sub {
    color: var(--primary);
    font-size: clamp(0.875rem, 0.818rem + 0.24vw, 1rem);
    translate: 0 -0.5rem;
    line-height: 1.5;
  }
}


.message {
  nav.tabbed {
    margin-bottom: 66px;
    background-color: #fff;
    a {
      color: var(--primary-container);
      &:hover {
        color: #fff;
        background-color: var(--primary-container);
      }
      
    }
  }
  .main-photo {
    margin-block: 4rem;
    @media screen and (width < 768px) {
      margin-block: 2rem;
      margin-inline: calc(50% - 50vw);
      width: 100vw;
      figure {
        border-radius: 0;
      }
    }
    img {
      display: block;
      margin-inline: auto;
    }
    dl {
      position: absolute;
      bottom: -1rem;
      left: 0;
      color: #fff;
      background: #0D6BCE;
      background: linear-gradient(180deg,rgba(13, 107, 206, 1) 0%, rgba(114, 187, 255, 1) 100%);
      border-radius: 0;
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      justify-content: center;
      padding: 2rem 4rem 1rem;
      gap: 0.25rem;
      clip-path: polygon(15px 0, 100% 0, calc(100% - 15px) 100%, 0 100%);
      min-height: 155px;
      @media screen and (width < 768px) {
        min-height: inherit;
        padding: .5rem 1.5rem .5rem 4rem;
        display: inline-flex;
        position: static;
        margin-top: -80px;
        translate: -40px 0;
      }
    }
    dt {
      font-size: clamp(1.25rem, 1.193rem + 0.24vw, 1.375rem);
      font-weight: 500;
    }
    dd {
      font-size: clamp(0.688rem, 0.659rem + 0.12vw, 0.75rem);
    }
  }
  section {
    p {
      & + p {
        margin-block: 2rem;
      }
    }
  }
  .section-footer {
    .cols-2 {
      gap: 1.5rem;
      justify-content: center;
    }
    h3 {
      margin-bottom: 3rem;
    }
    .title-pattern {
      font-size: clamp(1.625rem, 1.227rem + 1.7vw, 2.5rem);
      font-style: italic;
    }
    .ja {
      margin-top: 1rem;
      font-size: clamp(1rem, 0.886rem + 0.48vw, 1.25rem);
      color: #092462;
    }



  }
  @media screen and (width >= 768px) {
    .pc-pos-right {
      translate: 40px 0;
    }
  }
}

.section-contents {
  margin-block: 4rem;
  @media screen and (width < 768px) {
    margin-block: 2rem;
  }
}

.photo {
  &.--center {
    margin-inline: auto;
  }
}

.numbers {
  .section-title {
    .en {
      font-size: clamp(0.75rem, 0.693rem + 0.24vw, 0.875rem);
      font-weight: 500;
      color: var(--secondary);
    }
    .ja {
      font-weight: 500;
      font-size: clamp(1.375rem, 1.318rem + 0.24vw, 1.5rem);
      color: var(--primary);
    }
    .sub {
      font-size: 0.75rem;
      color: var(--primary);
    }
  }
  .about-section {
    margin-block-start: 3.75rem;
    display: flex;
    align-items: flex-start;
    @media screen and (width < 768px) {
      flex-direction: column;
      gap: 1rem;
    }
    .section-title {
      width: 11rem;
    }
  }
  .about-cont {
    width: 100%;
    flex: 1;
    article {
      position: relative;
      display: flex;
      flex-direction: column;
      min-height: 200px;
      background-color: #fff;
      box-shadow: none;
      padding-block: 2rem 12px;
      &:has(.data-detail) {
        &::after {
          content: "i";
          font-size: 0.8125rem;
          font-weight: 500;
          width: 18px;
          height: 18px;
          border-radius: 50%;
          background-color: #E7E7E7;
          display: flex;
          line-height: 1;
          align-items: center;
          justify-content: center;
          position: absolute;
          bottom: 12px;
          right: 12px;
        }
      }
      &:hover {
        .data-detail {
          opacity: 1;
          visibility: visible;
        }
      }
    }
    .note {
      position: absolute;
      top: 10px;
      right: 20px;
      line-height: 1;
      font-size: 0.625rem;;
      color: var(--primary);
    }
  }
  .data-wrap {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    flex: 1;
    figure {
      border-radius: 0;
    }
  }
  .data-main {
    /* flex: 1; */
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 0.5rem;
    line-height: 1;
    opacity: 0;
    transition: opacity 0.2s ease;
    &.is-show {
      opacity: 1;
    }
    .data-num {
      font-family: "Lato", sans-serif;
      font-size: 4.5rem;
      font-weight: 300;
      color: var(--primary);
      letter-spacing: -0.04em;
      .countup {
        display: inline-block;
      }
      .--number-length-1 {
        width: .7em;
      }
      .--number-length-2 {
        width: 1em;
      }
      .--number-length-2h {
        width: 1.4em;
      }
      .--number-length-3 {
        width: 1.6em;
      }
      .--number-length-4 {
        width: 2.1em;
      }
    }
    .unit {
      font-size: 1.5rem;
      font-weight: 500;
      color: var(--primary);
      translate: 0 -0.5rem;
      &.--vertical {
        writing-mode: vertical-rl;
      }
    }
  }
  .data-title {
    text-align: center;
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--primary);
    margin: 1rem 20px 0;
    line-height: 1;
  }
  .data-detail {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: #fff;
    background-color: rgba(15, 139, 255, .9);
    padding: 40px 20px;
    transition: all 0.2s ease;
    font-size: 0.9375rem;
    line-height: 1.6;
  }
}

.culture {
  .round-box {
    padding-block: 3rem;
    @media screen and (width < 768px) {
      padding-block: 2rem;
    }
  }
  .culture-section {
    max-width: 1012px;
    margin-inline: auto;
    & + .culture-section {
      padding-block-start: 3.75rem;
    }
    display: flex;
    align-items: flex-start;
    @media screen and (width < 768px) {
      flex-direction: column;
      gap: 1rem;
    }
    .section-title {
      width: 11rem;
    }
    .culture-cont {
      flex: 1;
      @media screen and (width >= 768px) {
        padding-left: 20px;
      }
      h3 {
        font-size: clamp(1rem, 0.773rem + 0.97vw, 1.5rem);
        font-weight: 700;
        color: var(--primary-container);
        display: flex;
        gap: 0.5rem;
        align-items: center;
        @media screen and (width >= 768px) {
          translate: -20px 0;
        }
        &::before {
          content: '';
          display: block;
          width: 12px;
          aspect-ratio: 1;
          background-color: var(--primary-container);
        }
        &:not(:first-child) {
          margin-block-start: 3rem;
        }
      }
      h4 {
        color: #707070;
        font-size: clamp(0.875rem, 0.761rem + 0.48vw, 1.125rem);
        font-weight: 700;
      }
      dt {
        font-weight: 700;
        font-size: clamp(0.875rem, 0.761rem + 0.48vw, 1.125rem);
      }
      dd {
        margin-inline: 0;
        margin-block: 0 1rem;
        font-size: clamp(0.875rem, 0.818rem + 0.24vw, 1rem);
      }
    }
  }
  .section-title {
    .en {
      font-size: clamp(0.75rem, 0.693rem + 0.24vw, 0.875rem);
      font-weight: 500;
      color: var(--secondary);
    }
    .ja {
      font-weight: 500;
      font-size: clamp(1.375rem, 1.318rem + 0.24vw, 1.5rem);
      color: var(--primary);
    }
    .sub {
      font-size: 0.75rem;
      color: var(--primary);
    }
  }
  .workspace {
    margin-block: 10rem 5rem;
    margin-inline: calc(50% - 50vw);
    width: 100vw;
    overflow: hidden;
    h2 {
      margin-block-end: 3rem;
      display: flex;
      flex-direction: column;
      gap: 0.5rem;
      align-items: flex-start;
      color: var(--primary);
      font-weight: 500;
      line-height: 1.33333333;
      .ja {
        font-size: clamp(0.875rem, 0.79rem + 0.36vw, 1.063rem);
      }
      .en {
        font-weight: 700;
        font-size: clamp(1.75rem, 1.295rem + 1.94vw, 2.75rem);
      }
    }
    .infiniteslide {
      .swiper-slide {
        border-radius: 1rem;
        padding-inline: .5rem;
      }
    }
  }
}

.interviews {
  .tabbed {
    span {
      @media screen and (width < 768px) {
        font-size: 0.8125rem;
      }
      
    }
  }
  @media screen and (width < 768px) {
    .page {
      padding: 0 !important;
    }
  }
  .entry-wrap {
    opacity: 0;
  }
  #page-staff {
    article {
      aspect-ratio: 342 / 396;
    }
  }
  @media screen and (width < 768px) {
    .round-box {
      margin-inline: -1rem;
    }
  }
  
  article {
    margin-top: 2rem;
    
    a {
      display: flex;
      width: 100%;
      height: 100%;
      img {
        block-size: 100% !important;
        object-fit: cover;
      }
    }
  }
  .filter-wrap {
    background-color: #F6F6F6;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    max-width: 994px;
    margin: 3rem auto 1rem;
    padding: 2rem 3rem;
    @media screen and (width < 768px) {
      padding: 1rem;
    }
  }
  .filters {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 1rem;
    @media screen and (width < 768px) {
      flex-direction: column;
      align-items: flex-start;
    }
  }
  .filter-name {
    font-size: clamp(0.75rem, 0.58rem + 0.73vw, 1.125rem);
    color: #6A93BE;
    line-height: 1;
  }
  .filter-list {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    flex-direction: row;
    span {
      background-color: #fff;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 44px;
      padding-inline: 20px;
      font-size: clamp(0.688rem, 0.602rem + 0.36vw, 0.875rem);
      color: var(--primary-container);
      cursor: pointer;
      border-radius: 30px;
      &:hover, &.active {
        background-color: #D8F0FF;
      }
    }
  }
  .list-posts {
    max-width: 994px;
    margin-inline: auto;
    @media screen and (width < 768px) {
      .grid {
        --_gap: .5rem;
        .padding {
          padding: .5rem !important;
          .button-text-arrow {
            margin-top: 0;
          }
        }
      }
      
    }
  }
  article {
    img {
      block-size: 100%;
    }
  }
  .card-title {
    text-wrap: balance;
    font-size: clamp(0.813rem, 0.67rem + 0.61vw, 1.125rem);
  }
  .card-category {
    background-color: rgba(216, 240, 255, 0.6);
    padding-inline: 1rem;
    color: #092462;
    border-radius: 30px;
    font-size: 0.625rem;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    @media screen and (width < 768px) {
      font-size: 0.5rem;
      height: 14px;
    }
  }
  .article-footer {
    margin-block: 1rem 0;
    padding-inline: 1rem;
    color: #092462;
    font-weight: 500;
    border-radius: 0;
    @media screen and (width < 768px) {
      margin-block: .5rem 0;
      padding-inline: 0;
    }
    .card-name {
      padding-inline: 0.5rem;
      border-bottom: 1px solid #092462;
      font-size: clamp(0.813rem, 0.67rem + 0.61vw, 1.125rem);
      font-weight: 500;
    }
    .card-career {
      font-size: clamp(0.5rem, 0.415rem + 0.36vw, 0.688rem);
      text-align: right;
      span {
        display: block;
        /* & + span {
          &::before {
            content: ' / ';
          }
        } */
      }
    }
    
  }
  .list-careertalks {
    max-width: 994px;
    margin-inline: auto;
    margin-block-start: 5.25rem;
    @media screen and (width < 768px) {
      margin-block-start: 3.5rem;
      margin-inline: -1rem;
    }
    .button-text-arrow {
      @media screen and (width >= 768px) {
        padding-right: 4rem;
      }
    }
    .article {
      margin-inline: 100px 0;
      margin-block-start: 60px;
      border-radius: 0;
      @media screen and (width < 768px) {
        margin-block-start: 2.5rem;
        margin-inline: 0;
      }
      > a {
        display: flex;
        flex-direction: column;
        position: relative;
        padding: 46px 0 2rem 0;
        @media screen and (width < 768px) {
          padding: 1rem 1rem .75rem;
        }
        > * {
          position: relative;
          z-index: 2;
        }
        &::before, &::after {
          content: "";
          display: block;
          height: 100%;

        }
        &::before {
          width: 100%;
          position: absolute;
          top: 0;
          left: 0;
          clip-path: polygon(0 0, 100% 0, calc(100% - 40px) 100%, 0 100%);
          background: #0D6BCE;
          background: linear-gradient(180deg,rgba(13, 107, 206, 1) 0%, rgba(114, 187, 255, 1) 100%);
          z-index: 0;
        }
        &::after {
          width: calc(50% + 100px);
          height: calc(100% + 2px);
          clip-path: polygon(40px 0, 100% 0, 100% 100%, 0 100%);
          background-color: #fff;
          position: absolute;
          bottom: -1px;
          right: 0;
          z-index: 1;
          @media screen and (width < 768px) {
            width: calc(60% + 100px);
            height: 70%;
          }
        }
        &:hover {
          &::after {
            opacity: 0.9;
          }
        }
      }
      figure {
        border-radius: 1rem;
        max-width: 450px;
        position: absolute;
        top: -30px;
        left: -100px;
        @media screen and (width < 768px) {
          position: static;
        }
      }
    }
  }
  .article-texts {
    width: calc(50% + 40px);
    margin-left: auto;
    padding-block: 0 0.25rem;
    @media screen and (width < 768px) {
      margin-block-start: 0.75rem;
      width: 100%;
    }
    .ct-meta {
      display: flex;
      .ct-num {
        color: var(--primary-container);
        font-weight: 700;
      }
      .ct-tag {
        color: #6A93BE;
        background-color: #D3EDFF;
        font-size: 0.75rem;
        font-weight: 500;
        line-height: 1;
        display: inline-flex;
        align-items: center;
        padding-inline: 1rem;
        margin-left: 0.5rem;
        /* translate: 0 -1rem; */
      }
    }
    .ct-title {
      display: flex;
      flex-direction: column;
      gap: 0.5rem;
      align-items: flex-start;
      position: relative;
      padding-inline-start: 1rem;
      margin-bottom: 1rem;

      @media screen and (width < 768px) {
        margin-bottom: 0;
      }
      &::before {
        content: "";
        display: block;
        width: 28px;
        height: 26px;
        background: url(../img/common/icon-dq.svg) no-repeat center center;
        background-size: contain;
        position: absolute;
        top: -10px;
        left: -3px;
        z-index: 0;
      }
      .main-title {
        text-wrap: balance;
        font-size: clamp(1.063rem, 0.92rem + 0.61vw, 1.375rem);
        font-weight: 500;
        color: var(--primary);
        position: relative;
      }
      .sub-title {
        font-size: clamp(0.875rem, 0.818rem + 0.24vw, 1rem);
        font-weight: 500;
        color: var(--primary);
        &::before {
          content: "——";
        }
      }
    }
    .talkmembers {
      margin-block: 2rem 0;
      @media screen and (width < 768px) {
        display: none;
      }
      .row {
        align-items: flex-start;
        font-size: 0.8125rem;
        dt {
          font-weight: 700;
          
          color: var(--primary-container);
        }
      }
    }
  }

  .iv-header {
    position: relative;
    margin: 2rem 1rem;
    padding-right: calc(50% + 1rem);
    min-height: 380px;
    @media screen and (width < 768px) {
      padding-right: 0;
      margin: 0;
      figure {
        margin-top: 1rem;
      }
    }
    .title-pattern {
      text-wrap: balance;
      font-weight: 700;
      font-size: clamp(1.375rem, 0.977rem + 1.7vw, 2.25rem);
      line-height: 1.33333333;
      padding-inline-start: 1rem;
    }
    .iv-meta {
      margin-top: 1.5rem;
      h4 {
        font-size: 0.8125rem;
        color: var(--primary-container);
        line-height: 1;
        border-left: 4px solid var(--primary-container);
        border-radius: 0;
        padding-left: 0.5rem;
      }
      .list-members {
        margin: 1rem 0;
        padding: 0;
        list-style: none;
        display: flex;
        flex-wrap: wrap;
        gap: .5rem 2rem;
        line-height: 1;
        color: var(--primary);
        li {
          display: flex;
          align-items: baseline;
          gap: 1rem;
        }
        .name {
          font-size: clamp(1rem, 0.943rem + 0.24vw, 1.125rem);
          font-weight: 500;
        }
        .occupation {
          font-size: clamp(0.625rem, 0.54rem + 0.36vw, 0.813rem);
        }
      }
    }
    .iv-name {
      margin-bottom: 1rem;
      display: flex;
      align-items: baseline;
      gap: 1rem;
      line-height: 1;
      color: var(--primary);
      .ja {
        font-size: clamp(1.25rem, 1.193rem + 0.24vw, 1.375rem);
      }
      .en {
        font-size: clamp(0.75rem, 0.693rem + 0.24vw, 0.875rem);
        
      }
    }
    .iv-section, .iv-occupation {
      font-size: clamp(0.688rem, 0.602rem + 0.36vw, 0.875rem);
      color: var(--primary);
      font-weight: 500;
      span {
        display: inline-block;
        & + span {
          &::before {
            display: inline-block;
            content: "/";
            margin-inline: 0.5rem;
          }
        }
      }
    }
    .recruit-type {
      color: var(--primary-container);
      margin-top: 1.5rem;
      background-color: #F6F6F6;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 0.5rem 1rem;
      border-radius: 30px;
      font-size: 0.8125rem;
      
    }
    .sub-title {
      color: #04328B;
      font-weight: 500;
      margin-top: 0;
      font-size: clamp(1rem, 0.83rem + 0.73vw, 1.375rem);
      &::before {
        content: "——";
      }
    }
    .iv-header-category {
      display: flex;
      gap: 0.25rem;
      font-size: clamp(0.938rem, 0.455rem + 2.06vw, 2rem);
      font-weight: 700;
      line-height: 1;
      position: relative;
      .iv-header-category-name {
        white-space: nowrap;
        display: flex;
        justify-content: space-between;
        align-items: flex-end;
        position: static;
        .theme {
          display: inline-flex;
          flex-direction: column;
          justify-content: flex-start;
          align-items: flex-start;
          gap: 0.25rem;
          @media screen and (width < 768px) {
            position: absolute;
            right: 0;
            top: -3rem;
          }
          .label {
            height: 30px;
            font-size: 0.625rem;
            color: var(--secondary);
            background-color: #D3EDFF;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding-inline: 0.5rem;
            translate: -2rem 0;
          }
          .tag {
            font-size: clamp(0.813rem, 0.699rem + 0.48vw, 1.063rem);
            color: var(--secondary);
          }
        }
      }
      
      &::after {
        content: "";
        display: block;
        width: 100%;
        height: 2px;
        background-color: var(--primary);
      }
      @media screen and (width >= 768px) {
        flex-direction: column;
      }
      @media screen and (width < 768px) {
        align-items: center;
      }
    }
    @media screen and (width >= 768px) {

      figure {
        position: absolute;
        top: 0;
        right: 0;
        max-width: 590px;
        width: 50%;
      }
    }
    
    &.type-iv {
      .iv-header-category {
        color: var(--primary);
      }
    }
    &.type-ct {
      .iv-header-category {
        margin-block: 1.5rem;
        color: var(--secondary);
        &::after {
          background-color: var(--secondary);
        }
      }
    }
  }
  .iv-body {
    position: relative;
    &::before {
      content: "";
      display: block;
      width: calc(100% + 3rem);
      height: 314px;
      background: url(../img/interviews/wave-blue.png) no-repeat center top;
      margin-inline: -1.5rem;
      position: absolute;
      top: 0;
      left: 0;
      z-index: 0;
      @media screen and (width < 768px) {
        background-position: left top;
        background-size: 150%;
        width: calc(100% + 2rem);
        margin-inline: -1rem;
      }
    }
    h2, h3, h4, p, ul, ol {
      max-width: 830px;
      margin-inline: auto;
    }
    &.type-ct {
      &::before {
        background: url(../img/interviews/wave-gray.png) no-repeat center top;
      }
      h2 {
        position: relative;
        counter-increment: number;
        &::before {
          content: counter(number) ".";
          position: absolute;
          bottom: 0;
          left: 0;
          z-index: 0;
          line-height: 1;
          color: #D3EDFF;
          font-family: "freight-text-pro", serif;
          font-weight: 300;
          font-style: italic;
          font-size: clamp(4.5rem, 3.705rem + 3.39vw, 6.25rem);
          translate: -130% 1rem;
        }
        @media screen and (width < 768px) {
          &::before {
            position: static;
            display: block;
            translate: 0 0;
          }
        }
      }
      .talks-wrap {
        max-width: 830px;
        margin-inline: auto;
      }
      p {
        margin-block: 0.5rem;
        strong {
          color: #0D6BCE;
        }
      }
    }
    h2 {
      padding-block: 100px 0;
      margin-bottom: 2rem;
      color: #092462;
      font-size: clamp(1.25rem, 1.023rem + 0.97vw, 1.75rem);
      font-weight: 500;
      @media screen and (width < 768px) {
        padding-block: 50px 0;
      }
    }
    h3 {
      margin-block: 2rem 1rem;
      font-size: clamp(1rem, 0.943rem + 0.24vw, 1.125rem);
      font-weight: 400;
      color: var(--primary-container);
      &::before {
        content: "——";
      }
    }
    figure {
      margin-block: 20px;
    }
    .is-layout-grid {
      justify-items: start;
      max-width: 830px;
      margin-inline: auto;
      * {
        max-width: inherit;
        margin-inline: 0;
      }
    }

    .bx-talkmember {
      max-width: 690px;
      margin: 3.5rem auto 2rem;
      h4 {
        font-family: "Lato", sans-serif;
        font-weight: 700;
        font-size: clamp(1.25rem, 1.193rem + 0.24vw, 1.375rem);
        color: var(--primary);
        padding-inline: 3.75rem;
      }
      dl {
        border-top: 2px solid var(--primary-container);
        border-bottom: 2px solid var(--primary-container);
        border-radius: 0;
        padding: 1.5rem 3.75rem;
        color: var(--primary);
      }
      dt {
        font-weight: 500;
      }
      dd {
        font-size: 0.8125rem;
        & + dt {
          margin-top: 1rem;
        }
      }
    }

  }
  .other-interviews {
    margin-block: 100px;
    h2 {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      justify-content: center;
      gap: 0.5rem;
      .ja {
        font-size: clamp(0.875rem, 0.79rem + 0.36vw, 1.063rem);
      }
      .en {
        font-size: clamp(1.75rem, 1.295rem + 1.94vw, 2.75rem);
        font-weight: 700;
      }
    }
    .article-texts {
      margin-top: 1.5rem;
      width: 100%;
      .ct-num {
        color: #D3EDFF;
      }
      .ct-tag {
        translate: 0 -0.5rem;
        background-color: #fff;
        color: #04328B;
      }
      .main-title {
        text-wrap: balance;
        font-size: clamp(1rem, 0.943rem + 0.24vw, 1.125rem);
      }
      .sub-title {
        font-size: 0.8125rem;
      }
    }
    .button-text-arrow {
      padding-right: 0 !important;
      div {
        line-height: 1;
        display: inline-flex;
        align-items: flex-end;
        gap: 0.5rem;
        .card-career {
          font-size: 0.5rem;
        }
      }
      i {
        background-color: var(--secondary);
        color: #fff;
      }
    }
    .ct-title {
      margin-bottom: 2rem;
      display: flex;
      flex-direction: column;
      gap: 0.5rem;
      align-items: flex-start;
      justify-content: center;
      padding-left: 0;
      .ja {
        font-size: clamp(0.875rem, 0.79rem + 0.36vw, 1.063rem);
      }
      .en {
        font-size: clamp(1.75rem, 1.295rem + 1.94vw, 2.75rem);
        font-weight: 700;
      }
      &::before {
        content: none;
      }
    }
    .row {
      flex: 1;
      width: 100%;
      article {
        margin: 0;
        overflow: hidden;
        
      }
      &.show-3 {
        @media screen and (width < 768px) {
          margin: 0 calc(50% - 50vw);
          width: 100vw;
          padding-inline: 1rem;
        }
        article {
          aspect-ratio: 1;
          /* width: calc((100% - 2rem) / 3); */
          width: 250px;
          @media screen and (width < 768px) {

          }
          
        }
      }
    }
    &.type-ct {
      position: relative;
      padding-block: 100px;
      @media screen and (width < 768px) {
        padding-block: 50px;
      }
      &::before {
        content: "";
        display: block;
        margin: 0 calc(50% - 50vw);
        width: 100vw;
        height: 100%;
        background: #0D6BCE;
        background: linear-gradient(180deg,rgba(13, 107, 206, 1) 0%, rgba(114, 187, 255, 1) 100%);
        position: absolute;
        top: 0;
        left: 0;
        z-index: 0;
        clip-path: polygon(50px 20px, 100% 0, calc(100% - 50px) calc(100% - 20px), 0 100%);
        translate: -100px 0;
      }
      @media screen and (width < 768px) {
        &::before {
          clip-path: polygon(0 20px, 100% 0, 100% calc(100% - 20px), 0 100%);
          translate: 0 0;
        }
      }
      h2 {
        color: #fff;
      }
      article {
        aspect-ratio: 376 / 230;
        margin-top: 0;
      }
    }
  }
}

.second {
  header {
    height: 210px;
    justify-content: flex-end;
  }
  .site-title {
    @media screen and (width >= 768px) {
      flex-direction: row;
      align-items: baseline;
    }
    margin-bottom: 1rem;
    
    .en {
      font-size: clamp(1rem, 0.318rem + 2.91vw, 2.5rem);
    }
    .ja {
      font-size: 1.25rem;
    }
  }
  main {
    padding-top: 40px;
  }
  
}

.icon-dq {
  position: relative;
  &::before {
    content: "";
    display: block;
    width: 28px;
    height: 26px;
    background: url(../img/common/icon-dq.svg) no-repeat center center;
    background-size: contain;
    position: absolute;
    top: -10px;
    left: -3px;
    z-index: 0;
  } 
}

body.event {
  header {
    background: url(../img/event/bg-header.webp) no-repeat center center;
    background-size: cover;
  }
  .nav-list {
    h6 {
      font-size: clamp(1rem, 0.886rem + 0.48vw, 1.25rem);
      color: #092462;
    }
    a {
      .circle {
        transition: translate 0.2s ease-in-out;
      }
      &:hover {
        h6 {
          color: #fff;
        }
        
        article {
          background-color: var(--secondary);
          color: #fff;
          .circle {
            background-color: #fff;
            translate: 3px 0;
          }
          i {
            color: var(--secondary);
          }
        }
        
      }
    }
    
  }
  &.second {
    header {
      height: 210px;
    }
    .event-header {
      .event-category {
        font-size: clamp(0.813rem, 0.67rem + 0.61vw, 1.125rem);
      }
      .event-date {
        font-size: clamp(0.688rem, 0.545rem + 0.61vw, 1rem);
      }
      .event-title {
        font-size: clamp(1.25rem, 1.023rem + 0.97vw, 1.75rem);
        font-weight: 700;
      }

      figure {
        margin-top: 2rem;
      }
    }
  }
  .site-title {
    color: var(--primary-container);
  }
}

.list-events {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 0 0 150px;
  padding: 0;
  list-style-type: none;
  @media screen and (width < 768px) {
    margin-block-end: 100px;
  }
  li {
    a {
      display: block;
    }
    article {
      background-color: #fff;
    }
  }
  &:not(:has(article)) {
    &::before {
      content: '現在、開催予定のイベントはありません';
      margin-block-start: 3rem;
      text-align: center;
      font-size: 1.25rem;
      font-weight: 700;
      color: #777;
    }
  }
}

.event-header {
  .event-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    .event-category {
      font-size: 0.8125rem;
      color: var(--primary-container);
      font-weight: 700;
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      &::before {
        content: "";
        display: block;
        width: 12px;
        height: 12px;
        background-color: #FECC0C;
        border-radius: 50%;
      }
    }
    .event-date {
      font-size: 0.8125rem;
      color: #444;
      font-weight: 400;
      display: inline-flex;
      align-items: center;
      &::before {
        content: "投稿日：";
      }
    }
  }
  .event-title {
    font-size: clamp(1rem, 0.886rem + 0.48vw, 1.25rem);
  }
  .event-data {
    margin-top: 2rem;
    dl {
      font-size: clamp(0.875rem, 0.818rem + 0.24vw, 1rem);
      dt {
        clear: left;
        float: left;
        font-weight: 500;
        color: #777;
        margin-right: 1rem;
      }
    }
  }
  .event-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0 0;
    padding: 0;
    list-style-type: none;
    li {
      font-size: 0.8125rem;
      color: #0D6BCE;
      border: 1px solid #0D6BCE;
      padding: 0.25rem .5rem;
      border-radius: .25rem;
      font-size: 0.75rem;
    }
  }
}

.event-body {
  h3 {
    font-size: 1.125rem;
    font-weight: 700;
    border-bottom: 1px solid #D1D1D1;
    border-radius: 0;
    margin-block: 3rem 1rem;
    padding: .5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    &::before {
      content: "";
      display: block;
      width: 12px;
      height: 12px;
      background-color: #FECC0C;
      border-radius: 50%;
    }
  }
  h4 {
    font-size: 1.125rem;
    font-weight: 500;
  }

  .button, button {
    box-sizing: border-box;
    width: 110px;
    background-color: #0D6BCE;
    &.disabled {
      background-color: #D1D1D1 !important;
      pointer-events: none;
    }
  }
  .entry-btn {
    a {
      box-sizing: border-box;
      width: 110px;
      background-color: var(--secondary);
      --_padding: 1rem;
      --_size: 2.5rem;
      box-sizing: content-box;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      block-size: var(--_size);
      font-size: .875rem;
      font-weight: 500;
      color: var(--on-primary);
      padding: 0 var(--_padding);
      margin: 0 .5rem;
      border-radius: var(--_size);
      transition: transform var(--speed3), border-radius var(--speed2), padding var(--speed3);
      -webkit-user-select: none;
      user-select: none;
      gap: .5rem;
      line-height: normal;

    }
    &.disabled {
      a {
        background-color: #D1D1D1 !important;
        pointer-events: none;
      }
    }
  }
}



body.entry {
  header {
    background: url(../img/event/bg-header.webp) no-repeat center center;
    background-size: cover;
  }
  &.second {
    header {
      height: 210px;
    }
    .event-header {
      .event-category {
        font-size: clamp(0.813rem, 0.67rem + 0.61vw, 1.125rem);
      }
      .event-date {
        font-size: clamp(0.688rem, 0.545rem + 0.61vw, 1rem);
      }
      .event-title {
        font-size: clamp(1.25rem, 1.023rem + 0.97vw, 1.75rem);
        font-weight: 700;
      }

      figure {
        margin-top: 2rem;
      }
    }
  }
  .site-title {
    color: var(--primary-container);
  }
  .entry-wrap {
    opacity: 0;
  }
  .tabs {
    a {
      align-items: flex-start;
      line-height: 1;
      padding-inline: 3.75rem;
      @media screen and (width < 768px) {
        padding-inline: .5rem 1rem;
      }
      &.active::before {
        min-inline-size: 100%;
        height: 4px;
        bottom: -3px;
      }
      &:hover {
        color: var(--primary);
      }
      &:not(.active):not(:hover) {
        color: #BEBEBE;
        .ja {
          &::before {
            background-color: #BEBEBE;
          }
        }
      }
    }
    .ja {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      font-size: clamp(0.688rem, 0.545rem + 0.61vw, 1rem);
      &::before {
        content: "";
        display: block;
        width: 10px;
        height: 10px;
        background-color: #FECC0C;
      }
    }
    .en {
      font-size: clamp(1rem, 0.545rem + 1.94vw, 2rem);
      font-weight: 700;
    }
  }
  .page {
    margin-block: 80px;
    padding-inline: 0 !important;
    @media screen and (width < 768px) {
      margin-block: 20px;
    }
  }
  .filter-entry {
    height: auto;
    border-radius: 1rem !important;
    background-color: #fff;
    padding: 10px 1rem;
    margin-bottom: 20px;
    width: 100%;
    max-width: 100%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: .75rem;
    flex-direction: row !important;
    :is(.button,button):not(.chip).active {
      border-radius: 100px !important;
      color: #D8F0FF;
      background-color: #0D6BCE;
    }
    @media screen and (width < 768px) {
      gap: 0.5rem;
      padding: 10px;
    }
    
    button {
      border-radius: 100px !important;
      box-shadow: none !important;
      background-color: #fff;
      border: 1px solid #D1D1D1;
      color: #707070;
      font-weight: 500;
      padding: 0.25rem 1rem;
      border-radius: 100px;
      font-size: clamp(0.625rem, 0.511rem + 0.48vw, 0.875rem);
      @media screen and (width < 768px) {
        padding: 0 1rem !important;
      }
      &.active {
        background-color: #0D6BCE;
      }
    }
    .border {
      color: #707070;
    }
  }
  .entry-detail {
    .inner-narrow {
      ul, ol, p {
        font-size: clamp(0.875rem, 0.818rem + 0.24vw, 1rem);  
      }
    }
    .page {
      @media screen and (width < 768px) {
        margin-top: 0;
        padding-top: 0;
      }
    }
    h2 {
      margin-block: 2rem 1rem;
      border-bottom: 3px solid #D1D1D1;
      color: #0D6BCE;
      font-weight: 500;
      display: flex;
      align-items: center;
      gap: 0.5rem;
      border-radius: 0;
      font-size: clamp(1rem, 0.773rem + 0.97vw, 1.5rem);
      @media screen and (width < 768px) {
        margin-top: 0;
      }
      &::before {
        content: "";
        display: block;
        width: 12px;
        height: 12px;
        background-color: #FECC0C;
        border-radius: 50%;
      }
    }
    ol, ul {
      padding-inline-start: 1.5rem;
    }
  }
  .nav-wrap {
    margin-top: 3rem;

    .button {
      box-sizing: border-box;
      font-size: clamp(0.813rem, 0.67rem + 0.61vw, 1.125rem);
      padding: 1rem 3rem !important;
      border-radius: 100px;
      height: 92px;
      max-width: 390px;
      width: 100%;
      &:not(.border) {
        background-color: var(--primary-container);
      }
      &.border {
        color: var(--primary-container);
        border-color: var(--primary-container);
      }
    }
  }
}

.faq {
  main {
    .section-title {
      font-size: clamp(1.375rem, 1.318rem + 0.24vw, 1.5rem);
      font-weight: 500;
      color: var(--primary);
    }
    .grid {
      margin-top: 80px;
      @media screen and (width < 768px) {
        margin-top: 40px;
      }
    }
    details {
      border-radius: 1rem;
      background-color: #fff;
      padding: 2rem;
      @media screen and (width < 768px) {
        padding: 1rem;
      }
      & + details {
        margin-top: 20px;
      }
      article {
        padding-inline: 0;
        font-size: 1rem;
        display: flex;
        align-items: flex-start;
        gap: 1rem;
        @media screen and (width < 768px) {
          padding-block: 0;
        }
        &::before {
          content: "A.";
          font-family: "Lato", sans-serif;
          font-weight: 500;
          font-size: 1.5rem;
          color: var(--secondary);
        }
      }
      summary {
        color: var(--primary);
        display: flex;
        align-items: center;
        gap: 1rem;
        font-weight: 500;
        position: relative;
        span {
          font-size: clamp(0.875rem, 0.761rem + 0.48vw, 1.125rem);
        }
        &::before {
          content: "Q. ";
          font-family: "Lato", sans-serif;
          font-weight: 500;
          font-size: 1.5rem;
        }
        &::after {
          content: "";
          display: block;
          width: 36px;
          aspect-ratio: 1;
          background: url(../img/common/plus.svg) no-repeat center center;
          background-size: contain;
          margin-inline-start: auto;
        }
      }
      &[open] {
        summary {
          &::after {
            background: url(../img/common/minus.svg) no-repeat center center;
          }
        }
      }
    }
  
    .btn-wrap {
      margin-top: 40px;
    }
    .center-align {
      @media screen and (width < 768px) {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
      }
    }
    .button {
      max-width: 332px;
      width: 100%;
      height: 92px;
      @media screen and (width < 768px) {
        max-width: 280px;
        height: 64px;
  
      }
    }
    
    .faq-cont {
      flex: 1;
  
      .faq-item {
        background-color: #fff;
        border-radius: 1rem;
        padding: 2rem;
      }
    }
  }
  
}

body.form, body.contact, body.entry_form {
  header {
    > .inner {
      display: none;
    }
  }
  .footer-upper-content {
    display: none;
  }
  @media screen and (width < 768px) {
    main {
      padding-top: 0;
    }
    .inner-narrow {
      padding-inline: 0;
    }
    .grid {
      --_gap: 0;
    }
  }
  .header-nav-list, .header-entry {
    display: none;
  }
  .header-nav {
    position: absolute;
  }
  header {
    height: 144px;
    background: none;
  }
  .page-title {
    margin-block: 4rem;
    display: flex;
    flex-direction: column;
    font-size: clamp(1.25rem, 1.023rem + 0.97vw, 1.75rem);
    color: var(--primary);
    gap: 1rem;
    @media screen and (width < 768px) {
      margin-block: 0 2rem;
    }
  }
  h2 {
    background-color: #E7E7E7;
    font-size: clamp(1rem, 0.886rem + 0.48vw, 1.25rem);
    padding: 0.5em 1em;
    font-weight: 500;
    margin-block: 3rem 2rem;
    @media screen and (width < 768px) {
      margin-block: 2rem 0;
    }
  }
  main {
    .submit-button {
      margin-block-start: 3rem;
    }
    button {
      min-width: 140px;
    }
  }
  

  .l4 {
    padding: 1rem;
  }
  .form-label {
    font-size: clamp(0.875rem, 0.818rem + 0.24vw, 1rem);
    font-weight: 500;
  }
  .field>:is(input,textarea,select) {
    border-color: #D1D1D1;
  }
  .form-cel {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    @media screen and (width < 768px) {
      padding: 0 !important;
      align-items: flex-end;
      margin-block: 0.25rem 0;
      p {
        margin-block: .5rem 0;
      }
    }
    &.required {
      justify-content: space-between;
      @media screen and (width < 768px) {
        justify-content: flex-start;
      }
      &::after {
        content: "必須";
        color: #FF0000;
        margin-right: 0.25rem;
      }
    }
    .form-item {
      p {
        @media screen and (width < 768px) {
          margin-block-start: 0;
        }
      }
      
    }
  }

  .event_data {
    span {
      height: auto;
      margin: 0;
    }
    input {
      padding: 0;
      height: auto;
      outline: none !important;
      border: none !important;
    }
  }
}

.privacy-policy {
  header {
    background: #fff;
  }
  .site-title {
    color: var(--primary);
    .ja {
      font-size: clamp(1.125rem, 0.841rem + 1.21vw, 1.75rem);
    }
  }
  main {
    .inner {
      max-width: 900px;
    }
    h2 {
      margin-block: 3rem .5rem;
      font-size: 1.125rem;
      font-weight: 500;
    }
    ol {
      padding-left: 1.5rem;
    }
  }
    
}

.error404 {
  .l-header {
    height: 144px;
    background: none;
  
    > .inner {
      display: none;
    }
  }
  .error-wrap {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    color: var(--primary-container);
    line-height: 1;
    gap: 1.5rem;
    @media screen and (width < 768px) {
      gap: 0.5rem;
    }
    .error-num {
      font-size: clamp(3.125rem, 2.216rem + 3.88vw, 5.125rem);
      font-weight: 700;

    }
    .error-msg {
      font-size: clamp(0.938rem, 0.653rem + 1.21vw, 1.563rem);
      font-weight: 400;
    }
  }
}

.culture {
  .infiniteslide {
    .swiper-wrapper {
      transition-timing-function: linear;
      .swiper-slide {
        width: 287px !important;
        height: 190px !important;
        img {
          width: auto;
          height: 100%;
        }
      }
    }
  }
}
