:root {
  --color-primary: #0A106E;
  --color-secondary: #009DDA;
  --max-width: 1220px;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  line-break: strict;
  letter-spacing: 0.1em;
}

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

html {
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  font-size: clamp(0.75rem, 0.56rem + 0.56vw, 1rem);
  @media screen and (width < 768px) {
    scroll-padding-top: 50px;
  }
}

body, h1, h2, h3, h4, p,
figure, blockquote, dl, dd {
  margin: 0;
}

ul[role='list'],
ol[role='list'] {
  list-style: none;
}

body {
  min-height: 100dvh;
  line-height: 1.7;
}

h1, h2, h3, h4,
button, input, label {
  line-height: 1.1;
}

sup {
  font-style: normal;
  scale: .7;
  display: inline-block;
}

p {
  font-size: 1rem;
  line-height: 2;
  margin-block-start: 1rem;
  .large {
    font-size: 1.25rem;
  }
  .small {
    font-size: 0.875rem;
  }
}



img {
  height: auto;
}

a:not([class]) {
  text-decoration-skip-ink: auto;
  color: currentColor;
}

img,
picture {
  max-width: 100%;
  display: block;
}

input, button,
textarea, select {
  font: inherit;
}

textarea:not([rows]) {
  min-height: 10em;
}

:target {
  scroll-margin-block: 5ex;
}

.inner {
  max-width: calc(var(--max-width) + 2rem);
  margin-inline: auto;
  padding-inline: 1rem;
  position: relative;
}


@media screen and (width < 768px) {
  .pc-cont {
    display: none !important;
  }
}

@media screen and (768px <= width) {
  .sp-cont {
    display: none !important;
  }
}

a {
  &:hover {
    color: var(--color-secondary);
  }

  .material-symbols-outlined {
    font-size: 1rem;
    vertical-align: middle;
    margin-left: 0.25rem;
  }
}


header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  background-color: rgba(255, 255, 255, 0.88);
  @media screen and (width < 768px) {
    gap: 0.5rem;
    flex-direction: column;
    padding-bottom: 0;
  }

  .logo {
    width: 228px;
    img {
      filter: invert(52%) sepia(41%) saturate(6742%) hue-rotate(169deg) brightness(98%) contrast(101%);
    }
  }
  .global-nav {
    ul {
      padding: 0;
      margin: 0;
      display: flex;
      list-style-type: none;
      gap: 1rem;
    }
    a {
      display: inline-block;
      padding: 0.5rem;
      text-decoration: none;
      font-size: 0.875rem;
      font-weight: 500;

    }
  }
}

.mainvisual {
  img {
    width: 100%;
  }
  .swiper {
    width: 100%;
    height: auto;
  }

  .swiper-slide {
    height: auto;
  }

  .swiper-slide img {
    width: 100%;
    height: auto;
  }

  .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.9);
    opacity: 0.6;
  }

  .swiper-pagination-bullet-active {
    opacity: 1;
    background: rgba(255, 255, 255, 1);
  }
}

.hero {
  background-color: var(--color-primary);
  color: #fff;
  position: relative;
  padding-block-end: 0;
  .hero-text {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding-block-end: 80px;
  }
  h2 {
    font-size: clamp(1.75rem, 1.154rem + 1.76vw, 2.5rem);
    font-weight: 700;
    margin-block: 2em 1.5em;
  }
  p {
    font-size: clamp(1.125rem, 0.827rem + 0.88vw, 1.5rem);
    font-weight: 700;
  }
}


.home {
  .hero-bg {
    position: absolute;
    place-self: end center;
    inset: 0;
    opacity: .37;
    width: 100%;
    img {
      width: 100%;
    }
  }
}
.page-second {
  .hero-bg {
    padding: 1.5rem;
    margin-inline: auto;
    max-width: 370px;
  }
}

section {
  padding: 80px 0;
  @media screen and (width < 768px) {
    padding: 2.5rem 0;
  }
}

.section-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  .ja {
    font-size: clamp(1.5rem, 0.904rem + 1.76vw, 2.25rem);
    font-weight: 700;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    &::after {
      content: '';
      display: block;
      width: 80px;
      height: 5px;
      background-color: var(--color-primary);
      margin-block: 1rem;
    }
  }
  .en {
    font-size: 0.75rem;
    font-weight: 500;
  }
}

.list-card {
  list-style-type: none;
  margin-block: 3rem 2rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap:  3rem 2.25rem;
  @media screen and (640px <= width < 900px) {
    grid-template-columns: repeat(3, 1fr);
    gap:  2rem 1.5rem;
  }
  @media screen and (width < 640px) {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1rem;
    &.type-members {
      grid-template-columns: repeat(2, 1fr);
      margin-inline: 2rem;
    }
  }
  figure {
    img {
      border-radius: 1rem;
      box-shadow: 7px 7px 0 2px var(--color-primary);
      transition: all 0.2s ease;
    }
  }
  .member-img {
    border-radius: 1rem;
  }
  a {
    text-decoration: none;
    &:hover {
      color: var(--color-primary);
      figure img {
        box-shadow: 0 0 0 2px var(--color-primary);
      }
    }
  }
  .member-name {
    margin-block: 1rem 0.5rem;
    font-weight: 700;
    display: inline-flex;
    flex-direction: column;
    line-height: 1.5;
    .kanji {
      font-size: 1.5rem;
    }
    .kana {
      font-size: 0.875rem;
    }
  }
  .member-info {
    p {
      margin: 0;
      line-height: 1.5;
      font-weight: 500;
      font-size: 0.875rem;
    }
  }
}

.news {
  background-color: #F6F6F6;
  .inner {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .list-news {
    list-style-type: none;
    padding: 0;
    margin: 2rem auto 0;
    li {
      display: grid;
      grid-template-columns: auto auto 1fr;
      align-items: center;
      gap: 1.5rem;
      margin-block: .5rem;
    }
    p {
      margin: 0;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .category {
      line-height: 1;
      width: 75px;
      background-color: #B3EFFF;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border-radius: 20px;
      font-size: 0.875rem;
      padding: 0.25rem 0.5rem;
    }
  }
}

.activity-list {
  counter-reset: activity;
  margin-block-start: 3rem;
  display: flex;
  flex-direction: column;
  gap: 80px;
  @media screen and (width < 768px) {
    gap: 40px;
  }
  .activity-item {
    display: flex;
    gap: 1.5rem;
    padding: 20px;
    border-radius: 12px;
    background: linear-gradient(90deg, rgba(255, 153, 69, 0.18) 0%, rgba(179, 239, 255, 0.18) 76.44%, rgba(10, 16, 110, 0.18) 100%);
    figure {
      border-radius: 8px;
      overflow: hidden;
    }
    @media screen and (width < 768px) {
      flex-direction: column;
    }
  }
  .activity-img {
    width: 35%;
    img {
      width: 100%;
      height: 100%;
      aspect-ratio: 417 / 380;
      object-fit: cover;
    }
    @media screen and (width < 768px) {
      width: 100%;
    }
  }
  .activity-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    h3 {
      background-color: #fff;
      padding: 6px 10px;
      border-radius: 8px;
      font-size: clamp(1.25rem, 1.051rem + 0.59vw, 1.5rem);
      font-weight: 500;
      display: flex;
      align-items: stretch;
      line-height: 1.5;
      &::before {
        content: '';
        display: block;
        width: 7px;
        background-color: var(--color-primary);
      }
      span {
        display: inline-flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        font-size: 0.5625rem;
        line-height: 1;
        margin-inline: 10px 1.5rem;
        &::after {
          counter-increment: activity;
          content: counter(activity, decimal-leading-zero);
          font-size: 1.5rem;
          font-weight: 700;
        }
      }
    }
    p {
      font-size: 0.875rem;
      text-indent: 1em;
      padding-inline: .5rem;
    }
  }
  .activity-text {
    flex: 1;
  }
}

.btn-wrap {
  margin-block-start: 1rem;
  display: flex;
  justify-content: flex-end;
}

.btn {
  border-radius: 8px;
  padding: 0.25rem .5rem;
  text-decoration: none;
  background-color: #000;
  color: #fff;
  min-width: 170px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  &:hover {
    background-color: var(--color-secondary);
    color: #fff;
  }
}

.report-img {
  img {
    border: 2px solid var(--color-primary);
    padding: 0.5rem;
  }
}

footer {
  background-color: var(--color-primary);
  color: #fff;
  .inner {
    padding-block: 4.5rem 5rem;
    @media screen and (width < 768px) {
      padding-block: 2.5rem 3rem;
    }
  }
  .copyright {
    background-color: #B3EFFF;
    color: var(--color-primary);
    text-align: center;
    padding: 0.5rem;
    font-size: clamp(0.75rem, 0.551rem + 0.59vw, 1rem);
  }
  .logo {
    margin-block-start: 16%;
    max-width: 510px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-inline: auto;
    gap: 2.5rem;
    .letter-img {
      padding-inline: 1rem;
    }
  }
  .footer-content {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    @media screen and (width < 768px) {
      flex-direction: column;
    }
  }
  .footer-nav {
    ul {
      padding: 0;
      margin: 0;
      display: flex;
      list-style-type: none;
      flex-direction: column;
      gap: 1rem;
      @media screen and (width < 768px) {
        display: flex;
        justify-content: center;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.5rem 1rem;
      }
    }
    a {
      display: inline-block;
      padding: 0.5rem;
      text-decoration: none;
      font-size: 0.875rem;
      font-weight: 500;

    }
  }
  .banner-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }
}

.is-hidden {
  display: none !important;
}

.privacy-policy {
  h3 {
    font-weight: 500;
    font-size: 1rem;
    margin: 0;
  }
  p {
    margin: 0;
  }
}

hr {
  margin-block: 2rem 4rem;
}

.member-info-detail {
  margin-block: 6.25rem 10rem;
  display: flex;
  gap: 4.625rem;
  align-items: flex-start;
  @media screen and (width < 768px) {
    padding-inline: 1rem;
    margin-block: 3rem 5rem;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
  }
  .member-img {
    width: 42%;
    @media screen and (width < 768px) {
      width: 80%;
    }
    img {
      border-radius: 1rem;
      border: 2px solid var(--color-primary);
      /* box-shadow: 14px 14px 0 2px var(--color-primary); */
    }
  }
  .member-data {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    @media screen and (width < 768px) {
      gap: 1rem;
    }
    font-weight: 700;
    .member-role {
      font-size: clamp(1.5rem, 1.121rem + 1.12vw, 2rem);
    }
    .member-name {
      margin-block: .5em;
      font-size: clamp(2rem, 1.242rem + 2.25vw, 3rem);
      @media screen and (width < 768px) {
        margin: 0 0 1rem;
      }
      rt {
        font-size: 1.5rem;
      }
    }
  }
}

.member-sns {
  margin-top: 0;
  font-size: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1rem;
  align-items: center;
  a {
    &:hover {
      color: var(--color-secondary);
    }
  }
}

/* 単一投稿ページ */
.single-content {
  max-width: 800px;
  margin-inline: auto;
  padding-block: 60px;
  .post-thumbnail {
    margin-block-end: 2rem;
    img {
      width: 100%;
      border-radius: 8px;
    }
  }
  .entry-title {
    font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
    font-weight: 700;
    margin-block-end: 1rem;
  }
  .entry-meta {
    font-size: 0.875rem;
    color: #666;
    margin-block-end: 2rem;
  }
  .entry-content {
    p {
      margin-block-start: 1.5rem;
    }
    img {
      border-radius: 8px;
      margin-block: 1rem;
    }
  }
}

/* 404ページ */
.error-404 {
  text-align: center;
  padding-block: 120px;
  h2 {
    font-size: 4rem;
    font-weight: 700;
    color: var(--color-primary);
  }
  p {
    font-size: 1.125rem;
  }
}
