body,
html {
  margin: 0;
  padding: 0;
  font-family: 'Noto Sans JP', sans-serif;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

* {
  box-sizing: border-box;
}
body {
  color: #004da0;
  background: linear-gradient(45deg, #6be2ff, #7ae5ff);
}

/* --------------------------------
* 共通
* -------------------------------- */
/* フェードイン */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: 1.2s ease;
}
.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}
/* --------------------------------
* ユーティリティ U
* -------------------------------- */

/* PCではSP用改行を消す */
.u-sp-only {
  @media (width > 767px) {
    display: none;
  }
}
/* SPではPC用改行を消す */
.u-pc-only {
  @media (width <= 767px) {
    display: none;
  }
}
/* ====== メイン ====== */
main {
  .main-section {
    position: relative;
    font-feature-settings: 'palt';
    letter-spacing: 0.08em;
    padding: 80px 0 100px;
    color: #0053a0;
    @media (width <= 767px) {
      padding-block: 60px;
    }
    .heading-group {
      text-align: center;
      margin: 0 0 57px;
      @media (width <= 767px) {
        margin: 0 0 35px;
      }
      h2 {
        color: #0053a0;
        font-size: 32px;
        font-weight: 700;

        @media (width <= 767px) {
          font-size: 25px;
        }
      }
      span {
        color: #0053a0;
        font-size: 14px;
        font-weight: 400;
        letter-spacing: 0.08em;
        display: block;
        margin-top: 5px;
        @media (width <= 767px) {
          margin-top: 10px;
          font-size: 13px;
        }
      }
      &::after {
        content: '';
        display: block;
        width: 40px;
        height: 1px;
        background-color: #0053a0;
        border-radius: 4px;
        margin: 18px auto 0;
      }
      @media (width <= 767px) {
        &::after {
          width: 30px;
          margin: 20px auto 0;
        }
      }
    }
  }
}
/* ====== コンテナ ====== */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding-inline: 40px;
  @media (width <= 767px) {
    padding-inline: 40px;
  }
}
/* ====== ヒーローエリア ====== */

.hero {
  position: relative;
  width: 100%;
  /* height: calc(100vh - 200px); 通常版 */
  height: calc(100vh - 160px); /* ← 調整版 */
  color: white;
  text-align: center;
  background: linear-gradient(45deg, #6be2ff, #7ae5ff);
  overflow: hidden;

  @media (width <= 1024px) {
    height: auto;
  }
  @media (width <= 767px) {
    font-feature-settings: 'palt';
  }

  /* 背景ぼかし部分 */
  .image-bg-blur {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    @media (width <= 1024px) {
      display: none;
    }
    @media (width <= 767px) {
      display: none;
    }
    img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      filter: blur(20px) brightness(0.95);
      transform: scale(1.1);
    }
  }
  .image {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    z-index: 2;
    @media (width <= 960px) {
      height: auto;
    }
    @media (width <= 767px) {
    }
    img {
      width: 100%;
      height: 100%;
      object-fit: contain;
      display: block;
      @media (width <= 767px) {
      }
    }
  }
  /* --------------------------------
* spのみ
* -------------------------------- */
  .hero-container {
    display: none;
    @media (width <= 767px) {
      display: block;
      max-width: 1160px;
      margin: 0 auto;
      padding-inline: 40px;
      padding-inline: 40px;
    }
  }
  .hero-category {
    @media (width <= 767px) {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 5px;
      margin-top: 64px;
      margin-bottom: 20px;
      transform: translateX(-10px);
    }
  }
  .category-icon {
    @media (width <= 767px) {
      width: 32px;
      height: auto;
    }
  }
  .category-name {
    @media (width <= 767px) {
      font-weight: 700;
      font-size: 15px;
      color: #0053a0;
      letter-spacing: -0.01em;
    }
  }

  .hero-title {
    @media (width <= 767px) {
      font-size: 32px;
      font-weight: 800;
      line-height: 1.1;
      color: #1e90ff;
      letter-spacing: 0.04em;
      margin-bottom: 24px;
    }
  }
  .hero-sub-title {
    @media (width <= 767px) {
      color: #1e90ff;
      font-size: 22px;
      font-weight: 700;
      line-height: 1.2;
      letter-spacing: 0.04em;
      margin-bottom: 10px;
    }
  }
  .hero-description {
    @media (width <= 767px) {
      padding-inline: 10px;
      text-align: left;
      color: #1e90ff;
      font-size: 15px;
      font-weight: 400;
      line-height: 1.5;
      letter-spacing: 0.04em;
      margin-bottom: 40px;
    }
  }
}
/* ====== 配信情報 ====== */
.streaming-info {
  padding: 30px 20px 40px;
  background: linear-gradient(to right, #4ba6ff, #1e8efa);
  background: linear-gradient(45deg, #6be2ff, #7ae5ff);

  @media (width <= 767px) {
    padding: 30px 20px 20px;
    .container {
      padding-inline: 20px;
    }
  }
  .layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 48px;
    gap: 28px;
    padding: 0px 0px 0px;
    @media (width <= 767px) {
      padding: 0px 0px 0px;
      gap: 20px;
    }
  }
  .streaming-time {
    display: flex;
    align-items: center;
    font-size: 36px;
    gap: 6px;
    font-weight: 700;
    line-height: 1em;
    margin-bottom: 14px;
    text-shadow: 0px 0px 4px rgba(0, 0, 0, 0.1);
    padding: 0;
    margin: 0;
    @media (width <= 767px) {
      font-size: 20px;
      letter-spacing: -0.02em;
    }
    img {
      height: 1.5em;
      padding-right: 0.25em;
    }
    .en-txt {
      font-size: 50px;
      margin-top: -10px;
      margin-right: 10px;
      letter-spacing: -0.02em;
      @media (width <= 767px) {
        font-size: 26px;
        margin-top: -5px;
        margin-right: 2px;
        letter-spacing: -0.02em;
      }
    }
  }
  .media-podcast {
    color: #fff;
    font-size: 30px;
    font-weight: 700;
    text-shadow: 0px 0px 4px rgba(0, 0, 0, 0.1);
    @media (width <= 767px) {
      font-size: 24px;
    }
  }
  .media-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
    gap: 40px;
    @media (width <= 767px) {
      gap: 20px;
    }
    h3 {
      color: #fff;
      font-size: 30px;
      font-weight: 700;
      text-shadow: 0px 0px 4px rgba(0, 0, 0, 0.1);
      @media (width <= 767px) {
        font-size: 24px;
      }
    }
  }
  /* バナーが並ぶ横列 */
  .banner-list {
    display: flex;
    justify-content: center;
    gap: 20px;
    @media (width <= 767px) {
      flex-direction: column;
      align-items: center;
      gap: 20px;
    }
    /* バナー画像自体のサイズ指定 */
    img {
      width: 192px;
      height: 60px;
      object-fit: cover;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
      transition: transform 0.3s ease;
      @media (width <= 767px) {
        width: 90vw;
        max-width: 192px;
        height: auto;
      }
    }
  }
}
.banner-list a {
  display: flex;
  line-height: 0;
  transition: transform 0.8s ease;
}
.banner-list a:hover {
  transform: translateY(3px);
}
.banner-list a:hover img {
  transform: translateY(3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}
.sns-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  img {
    width: 32px;
    height: 32px;
  }
}
.custom-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  min-width: 320px;
  padding: 1.25em 2em;
  background-color: #004da0;
  color: #fff;
  text-decoration: none;
  border: none;
  border-radius: 40px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.8s ease;
  @media (width <= 767px) {
    line-height: 1;
    min-width: 240px;
    padding: 1em 2em;
  }
  .icon-left {
    width: 44px;
    height: auto;
    margin-right: 10px;
  }
  .icon-right {
    width: 15px;
    height: auto;
    opacity: 0.8;
  }
  .button-text {
    flex-grow: 1;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    margin-left: 20px;
    @media (width <= 767px) {
      font-size: 15px;
    }
  }
}
.custom-button:hover {
  opacity: 0.9;
  transform: translateY(3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

@media (width <= 767px) {
  .button-container {
    padding: 0 15px;
  }
}
/* ====== 番組公式SNS ====== */

.section-sns {
  padding: 0px 20px 60px;
  background: linear-gradient(45deg, #6be2ff, #7ae5ff);
  @media (width <= 767px) {
    padding: 0px 20px 30px;
  }
  h2 {
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    line-height: 1;
    text-shadow: 0px 0px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    @media (width <= 767px) {
      font-size: 15px;
    }
  }
  .icon-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    @media (width <= 767px) {
      gap: 22px;
    }
  }
  .icon-circle {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 58px;
    height: 58px;
    background-color: #ffffff;
    border: 2px solid #004da0;
    border-radius: 50%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    text-decoration: none;
    @media (width <= 767px) {
      width: 48px;
      height: 48px;
    }
  }
  .icon-img {
    height: auto;
    position: relative;
    @media (width <= 767px) {
      transform: scale(1);
    }
  }
  .img-x {
    width: 72%;
    top: 0px;
  }
  .img-insta {
    width: 79%;
    top: 0px;
  }
  .img-youtube {
    width: 80%;
    left: 0px;
  }
}
.icon-circle:hover {
  opacity: 0.9;
  transform: translateY(3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}
/* ====== ヒーロー画像下メニュー ====== */
.static-main-nav {
  display: flex;
  justify-content: center;
  width: 100%;
  background-color: #a1edff;
  box-shadow: 0 0px 6px rgba(79, 172, 254, 0.9);
  position: relative;
  z-index: 10;
  ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    width: 380px;
    height: 60px;
    justify-content: space-between;
  }
  li {
    height: 100%;
  }
  li a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 0 10px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.5s ease-out;
  }
  li a:hover {
    background-color: #cce6ff;
    color: #007bff;
    opacity: 0.8;
  }
  li a img {
    width: 15px;
    height: 15px;
    display: block;
    transition: transform 0.3s ease;
  }
  li a:hover img {
    transform: scale(1.1);
  }
}
@media (width <= 767px) {
  .static-main-nav {
    ul {
      width: 100%;
      display: flex;
      justify-content: center;
      align-items: center;
      padding: 0;
      margin: 0;
      padding: 0;
      height: 48px;
      gap: 20px;
    }
    li {
      flex: none;
    }
    li a {
      display: flex;
      align-items: center;
      padding: 10px 0;
      font-size: 14px;
    }
  }
}
/* ====== 番組概要 about-stream ====== */
/* 区切り線 */
.star-divider {
  border: none;
  height: 20px;
  margin: 0px auto 60px;
  background: url(../img/icon-star3ren.svg) no-repeat center / contain;
  @media (width <= 767px) {
    height: 14px;
    margin: 0px auto 60px;
  }
}
.about-stream {
  text-align: center;
  background-color: #fdfdf4;

  h2 {
    font-size: 2rem;
    color: #f56cda;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 30px;
    @media (width <= 767px) {
      font-size: 28px;
      line-height: 1.2;
      margin-bottom: 21px;
    }
  }
  .catch {
    font-size: 1.3rem;
    line-height: 1.6;
    margin-bottom: 18px;
    letter-spacing: 0.01em;
    @media (width <= 767px) {
      font-size: 18px;
      margin-bottom: 13px;
      line-height: 1.3;
    }

    .u-mt {
      display: block;
      margin-top: 10px;
      @media (width <= 767px) {
        display: block;
        margin-top: 8px;
      }
    }
  }
  .discription {
    text-align: left;
    letter-spacing: 0.08em;
    max-width: 680px;
    margin: 0 auto 40px;
    font-size: 0.9375rem;
    line-height: 1.6;
    text-align: justify;
    @media (width <= 767px) {
      font-size: 0.875rem;
      margin-bottom: 36px;
      line-height: 1.5;
      padding-inline: 20px;
    }
  }
  .text {
    letter-spacing: 0.08em;
    max-width: 680px;
    margin: 0 auto;
    font-size: 0.9375rem;
    line-height: 1.6;
    img {
      width: auto;
      height: 40px;
      margin-bottom: 35px;
      @media (width <= 767px) {
        width: auto;
        height: 32px;
        margin-bottom: 16px;
      }
    }
    p {
      @media (width <= 767px) {
        font-size: 0.875rem;
        line-height: 1.5;
        padding-inline: 20px;
        text-align: justify;
      }
    }
    br {
      display: block;
      @media (width <= 767px) {
        display: none;
      }
    }
  }
}

/* ====== 右縦文字装飾 ====== */
.streaming-info {
  .side-text2 {
    position: absolute;
    bottom: -10%;
    right: -80px;
    transform: translateY(-50%) rotate(90deg);
    z-index: 100;
    font-family: sans-serif;
    font-weight: 800;
    font-size: 14px;
    color: #fff;
    letter-spacing: 0.2em;
    white-space: nowrap;
    line-height: 1.5;
    text-align: left;
    opacity: 0.7;
    &::after {
      content: '';
      width: 200px;
      height: 1px;
      background-color: #fff;
      position: relative;
      display: flex;
      align-items: center;
      text-align: left;
    }
    @media (width <= 767px) {
      display: none;
    }
  }
}

.main-section {
  .side-text {
    position: absolute;
    top: 50%;
    right: -80px;
    transform: translateY(-50%) rotate(90deg);
    z-index: 100;
    font-family: sans-serif;
    font-weight: 700;
    font-size: 14px;
    color: #6fa1cf;
    letter-spacing: 0.2em;
    white-space: nowrap;
    line-height: 1.5;
    text-align: left;
    &::after {
      content: '';
      width: 200px;
      height: 1px;
      background-color: #6fa1cf;
      position: relative;
      display: flex;
      align-items: center;
      text-align: left;
    }
    @media (width <= 767px) {
      display: none;
    }
  }
}
/* ====== 最新回 new-episode ====== */

.new-episode {
  background: linear-gradient(45deg, #6be2ff, #7ae5ff);
  @media (width <= 600px) {
    padding-top: 80px;
  }
  .layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
    padding-inline: 30px;
    @media (width <= 767px) {
      grid-template-columns: 1fr;
      gap: 20px;
      padding-inline: 0px;
    }
  }
  .image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0px 6px rgba(0, 0, 0, 0.1);
    img {
      width: 100%;
      aspect-ratio: 16 / 9;
      object-fit: contain;

      @media (width <= 1024px) {
        aspect-ratio: 16 / 9;
      }
    }
  }
  .text {
    display: grid;
    gap: 20px;
    @media (width <= 767px) {
      padding-inline: 0px;
      gap: 0px;
    }
    img {
      height: 60px;
    }
    h3 {
      font-size: 24px;
      font-weight: 700;
      @media (width <= 767px) {
        font-size: 18px;
        line-height: 1.4;
      }
    }
    p {
      letter-spacing: 0.08em;
      font-size: 14px;
      line-height: 1.8;
      @media (width <= 767px) {
        margin-bottom: 30px;
      }
    }
  }
}
.butoon-container {
  display: block;
  @media (width <= 767px) {
    display: flex;
    justify-content: center;
  }
}

/* ====== お知らせ info ====== */

.info {
  background-color: #fffff5;

  .info-list {
    display: grid;
    gap: 30px;
    padding-inline: 80px;
    @media (width <= 767px) {
      padding-inline: 0px;
    }
  }
  @media (width <= 767px) {
    padding-top: 80px;
  }

  .layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    align-items: start;
    gap: 30px;
    @media (width <= 767px) {
      grid-template-columns: 1fr;
      gap: 10px;
    }
  }
  .image {
    border-radius: 8px;
    overflow: hidden;
    img {
      width: 100%;
      aspect-ratio: 16 / 9;
      object-fit: contain;
      @media (width <= 960px) {
        aspect-ratio: 16 / 9;
      }
    }
  }
  .text {
    display: grid;
    gap: 10px;
    color: #004da0;
    @media (width <= 767px) {
      padding-inline: 0px;
      gap: 4px;
    }
    img {
      height: 60px;
    }
    h3 {
      font-size: 20px;
      font-weight: 700;
      @media (width <= 767px) {
        font-size: 16px;
      }
    }
    p {
      @media (width <= 767px) {
      }
    }
  }
  .link-arrow {
    display: inline-block;
    padding-right: 2rem;
    border: none;
    background-image: url('../img/icon-arrow.svg');
    background-repeat: no-repeat;
    background-position: right 0px bottom -3px;
    background-size: 24px 24px;
    @media (width <= 767px) {
      font-size: 14px;
    }
  }
}

/* ====== お知らせ もっと見るボタン ====== */
.button-container {
  display: flex;
  justify-content: center;
}
.custom-button2 {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  min-width: 280px;
  height: 48px;
  padding: 0 30px;
  background-color: #fff;
  color: #0053a0;
  letter-spacing: 0.02em;
  border: 1px solid #0053a0;
  text-decoration: none;
  border-radius: 30px;
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.1);
  transition: all 0.8s ease;
  @media (width <= 767px) {
    min-width: 240px;
  }
  .icon-left {
    width: 44px;
    height: auto;
    margin-right: 10px;
  }
  .icon-right {
    width: 15px;
    height: auto;
    opacity: 0.8;
  }
  .button-text {
    flex-grow: 1;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
  }
}
.custom-button2:hover {
  opacity: 0.9;
  transform: translateY(3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}
/* ========== 公式 SNS ========== */

.sns-x {
  background-color: #e0f0ff;
  background: linear-gradient(45deg, #6be2ff, #7ae5ff);
  @media (width <= 767px) {
    padding-top: 80px;
  }
  .layout {
    display: flex;
    justify-content: center;
    align-items: center;
    .text {
      color: #ccc;
      border-radius: 8px;
      width: 800px;
      display: flex;
      justify-content: center;
      align-items: center;
      @media (width <= 767px) {
        width: 100%;
      }
      .spantext {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 6px;
        color: #004da0;
        font-size: 14px;
        img {
          width: 32px;
          height: auto;
        }
      }
    }
  }
}
/* ====== パートナー partner ====== */
main {
  .partner {
    background-color: #fffff5;
    @media (width <= 767px) {
      padding-top: 60px;
    }
    .heading-group {
      h2 {
        font-size: 28px;
        @media (width <= 767px) {
          font-size: 25px;
          letter-spacing: 0.02em;
        }
      }
    }
    .layout {
      display: flex;
      justify-content: center;
      align-items: flex-start;
      gap: 40px;
      flex-wrap: wrap;
      @media (width <= 767px) {
        gap: 30px;
      }
    }
    .banner-link {
      display: block;
      width: 240px;
      text-decoration: none;
    }
    .banner-link img {
      width: 100%;
      height: auto;
      display: block;
      transition: opacity 0.3s;
    }
    .banner-link:hover img {
      opacity: 0.8;
    }
    .bn-01 {
      width: 210px;
      height: auto;
      display: block;
      @media (width <= 767px) {
        width: 160px;
      }
    }
    .bn-02 {
      display: block;
    }
    .bn-03 {
      display: block;
    }
  }
}
/* ====== 出演者 CAST ====== */
.cast {
  background-color: #fdfdf4;
  .cast-list {
    padding-inline: 80px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 20px;
    @media (width <= 1024px) {
      padding-inline: 120px;
      grid-template-columns: 1fr 1fr 1fr;
      gap: 10px;
    }
    @media (width <= 767px) {
      padding-inline: 0px;
      grid-template-columns: 1fr 1fr;
      gap: 0px;
    }
  }
  .cast-card {
    padding: 10px;
    border-radius: 8px;
    display: grid;
    gap: 5px;
    img {
      width: 100%;
      object-fit: cover;
      border-radius: 8px;
      border: 2px solid #004da0;
    }
    .name {
      color: #004da0;
      font-size: 14px;
      text-align: center;
      font-weight: 700;
    }
    .price {
      font-size: 14px;
      font-weight: 700;
      line-height: 1;
      letter-spacing: 0;
      text-align: right;
    }
  }
}

/* ========== リンク LINK ========== */

main {
  .link-banner.main-section {
    padding: 80px 0 100px;
    @media (width <= 767px) {
      padding: 60px 0 60px;
    }
  }
  .link-banner {
    background-color: #fffff5;
    @media (width <= 767px) {
      padding-top: 80px;
    }
    .heading-group {
      h2 {
        font-size: 28px;
        @media (width <= 767px) {
          font-size: 25px;
          letter-spacing: 0.02em;
        }
      }
    }
    .layout {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 80px;
      flex-wrap: wrap;
      @media (width <= 767px) {
        gap: 40px;
      }
    }
    .banner-link {
      display: block;
      width: 240px;
      text-decoration: none;
    }
    .banner-link img {
      width: 100%;
      height: auto;
      display: block;
      transition: opacity 0.3s;
    }
    .banner-link:hover img {
      opacity: 0.8;
    }
    .bn-01 {
      width: 130px;
      height: auto;
      @media (width <= 767px) {
        width: 94px;
      }
    }
    .bn-02 {
      width: 180px;
      display: block;
      @media (width <= 767px) {
        width: 126px;
      }
    }
    .bn-03 {
      display: block;
    }
  }
}
/* ========== お便り MESSAGE ========== */

.message {
  background-color: #e0f0ff;
  background-color: #d7f7ff;
  @media (width <= 767px) {
    padding-top: 80px;
  }
  .heading-group {
    h2 {
      font-size: 28px;
    }
  }
  .layout {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    p {
      font-size: 15px;
      text-align: center;
      @media (width <= 767px) {
        font-size: 14px;
      }
    }
  }
}
/* ================ フッター================ */
footer {
  background: linear-gradient(45deg, #6be2ff, #7ae5ff);
  padding: 80px 80px;
  text-align: center;
  position: relative;
  z-index: 10;
  @media (width <= 767px) {
    padding: 60px 40px;
  }
  .footer-title {
    font-size: 16px;
    margin-bottom: 30px;
    @media (width <= 767px) {
      font-size: 15px;
    }
    a {
      display: flex;
      flex-direction: column;
      gap: 8px;
    }
    img {
      width: auto;
      height: 60px;
    }
  }
  .footer-nav {
    display: flex;
    justify-content: center;
    width: 100%;
    position: relative;
    z-index: 10;
    ul {
      display: flex;
      list-style: none;
      padding: 0;
      margin: 0;
      width: 370px;
      height: 60px;
      justify-content: space-between;
      @media (width <= 767px) {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0;
        margin: 0;
        padding: 0;
        height: 48px;
        gap: 16px;
      }
    }
    li {
      height: 100%;
      @media (width <= 767px) {
        flex: none;
      }
    }
    li a {
      display: flex;
      align-items: center;
      justify-content: center;
      height: 100%;
      padding: 0 10px;
      font-size: 15px;
      font-weight: 700;
      text-decoration: none;
      transition: all 0.5s ease-out;
      @media (width <= 767px) {
        display: flex;
        align-items: center;
        padding: 10px 0;
        font-size: 14px;
      }
    }
    li a img {
      width: 15px;
      height: 15px;
      display: block;
      transition: transform 0.3s ease;
    }
  }
  .copyright {
    margin-top: 40px;
  }
}

/* ======== ヘッダー メニュー ======== */
.main-header {
  height: 40px;
  background: #6be2ff;
  padding: 0 20px;
  @media (width <= 767px) {
    height: 60px;
  }
  .header-inner {
    max-width: 1080px;
    height: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .header-logo {
    a {
      display: flex;
      align-items: center;
      text-decoration: none;
      color: #0053a0;
      font-size: 13px;
      font-weight: bold;
      text-shadow: 0px 0px 4px rgba(0, 0, 0, 0.1);
      img {
        height: 30px;
        width: auto;
        margin-right: 8px;
        @media (width <= 767px) {
          height: 40px;
        }
      }
    }
  }
  .header-nav {
    ul {
      display: flex;
      list-style: none;
      gap: 24px;
      align-items: center;
      .menu-home {
        display: none;
        @media (width <= 767px) {
          display: block;
        }
      }
      li {
        a {
          display: flex;
          align-items: center;
          text-decoration: none;
          line-height: 1;
          transition: opacity 0.3s;
          font-size: 13px;
          font-weight: 700;
          color: #0053a0;
          @media (width <= 767px) {
            font-size: 15px;
          }
          &:hover {
            opacity: 0.7;
          }
          img {
            display: block;
            width: 16px;
            height: auto;
            margin-right: 4px;
          }
        }
      }
    }
  }
}
.main-header {
  .menu-trigger {
    display: none;
    @media (max-width: 768px) {
      display: block;
      position: relative;
      width: 26px;
      height: 16px;
      background: none;
      border: none;
      z-index: 100;
      span {
        display: block;
        position: absolute;
        width: 100%;
        height: 2px;
        background: #0053a0;
        transition: all 0.3s;
        &:nth-child(1) {
          top: 0;
        }
        &:nth-child(2) {
          top: 7px;
        }
        &:nth-child(3) {
          bottom: 0;
        }
      }
    }
    &.is-active span {
      &:nth-child(1) {
        transform: translateY(7px) rotate(-45deg);
        background: #0053a0;
      }
      &:nth-child(2) {
        opacity: 0;
      }
      &:nth-child(3) {
        transform: translateY(-7px) rotate(45deg);
        background: #0053a0;
      }
    }
  }
  @media (max-width: 768px) {
    .header-nav {
      position: fixed;
      top: -100%;
      left: 0;
      width: 100%;
      height: auto;
      background: #a1edff;
      transition: all 0.4s ease;
      padding-top: 60px;
      padding-bottom: 60px;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
      z-index: 90;
      .header-inner {
        position: relative;
        z-index: 101;
      }
      &.is-active {
        top: 0;
      }
      ul {
        flex-direction: column;
        text-align: center;
        li a {
          padding: 15px;
          display: block;
        }
      }
    }
  }
}

/* ======== トップへ戻るスクロールボタン ======== */

.page-top2 {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 50px;
  height: 50px;
  background-color: #004da0;
  border-radius: 50%;
  z-index: 9999;
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  @media (width <= 767px) {
    bottom: 60px;
  }
}

.page-top2.show {
  opacity: 0.7;
  visibility: visible;
}

.page-top2::after {
  content: '';
  position: absolute;
  top: 55%;
  left: 50%;
  width: 12px;
  height: 12px;
  border-top: 3px solid #fff;
  border-right: 3px solid #fff;
  transform: translate(-50%, -50%) rotate(-45deg);
  box-sizing: border-box;
}

.page-top2:hover {
  opacity: 1;
  background-color: #0053a0;
  transform: translateY(-5px);
}

/* --------------------------------
* おしらせページ article
* -------------------------------- */

.article {
  position: relative;
  text-align: center;
  background: #fffff5;
  .text {
    text-align: left;
    letter-spacing: 0.08em;
    max-width: 680px;
    margin: 0 auto;
    font-size: 0.9375rem;
    line-height: 1.6;
    padding-bottom: 60px;
    border-bottom: 1px dotted #0053a0;
    margin-bottom: 80px;
    img {
      width: 100%;
      height: auto;
      display: block;
      margin-bottom: 20px;
    }

    .date {
      font-size: 14px;
      margin-bottom: 10px;
    }
    .article-title {
      font-size: 24px;
      font-weight: 700;
      line-height: 1.25;
      margin-bottom: 40px;
      @media (width <= 767px) {
        font-size: 20px;
        line-height: 1.5;
        margin-bottom: 20px;
      }
    }
    p {
      font-size: 15px;
      line-height: 1.8;
      margin-bottom: 1.25em;
      @media (width <= 767px) {
        font-size: 0.875rem;
        text-align: justify;
      }
      a {
        text-decoration: underline;
      }
    }
  }
}

/* ======== youtube動画埋め込み ======== */

.video-wrapper {
  position: relative;
  width: 100%;

  padding-top: 56.25%;

  margin-top: 20px;

  border-radius: 10px;
  overflow: hidden;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ================ 背景================ */

.with-bgimg {
  position: relative;
  overflow: hidden;
  padding: 100px 0;
  z-index: 0;
}

.with-bgimg::before,
.with-bgimg::after {
  content: '';
  position: absolute;
  width: 280px;
  height: 280px;
  background-repeat: no-repeat;
  background-size: contain;
  z-index: -1;

  /* --- アニメーションの設定 --- */
  opacity: 0;
  animation: fadeIn 1.5s ease-out forwards;
  @media (width <= 1024px) {
    width: 200px;
    height: 200px;
  }
  @media (width <= 767px) {
    width: 140px;
    height: 140px;
  }
}

/* 模様A（左上） */
.with-bgimg::before {
  background-image: url('../img/bg-left-1.png');
  top: 20px;
  left: 20px;
  animation-delay: 0.5s;
}

/* 模様B（右下） */
.with-bgimg::after {
  background-image: url('../img/bg-right-1.png');
  bottom: 20px;
  right: 20px;
  animation-delay: 1s;
}

/* フェードインアニメーション定義 */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 模様A（左上） */
.partner.with-bgimg::before {
  background-image: url('../img/bg-left-1.png');
  background-size: 80% auto;
  top: 20px;
  left: 20px;
  animation-delay: 0.5s;
  @media (width <= 767px) {
    display: none;
  }
}

/* --------------------------------
* パートナーとリンクsectionの背景調整。SPは背景非表示。
* -------------------------------- */
/* 模様B（右下） */
.partner.with-bgimg::after {
  background-image: url('../img/bg-right-1.png');
  background-size: 80% auto;
  bottom: 20px;
  right: 20px;
  animation-delay: 1s;
  display: none;
  @media (width <= 767px) {
    display: none;
  }
}

/* 模様A（左上） */
.link-banner.with-bgimg::before {
  background-image: url('../img/bg-left-1.png');
  background-size: 80% auto;
  top: 20px;
  left: 20px;
  animation-delay: 0.5s;
  display: none;
  @media (width <= 767px) {
    display: none;
  }
}

/* 模様B（右下） */
.link-banner.with-bgimg::after {
  background-image: url('../img/bg-right-1.png');
  background-size: 80% auto;
  bottom: 20px;
  right: -40px;
  animation-delay: 1s;
  @media (width <= 767px) {
    display: none;
  }
}

/* ====== メインheading-group2 ====== */
main {
  .main-section {
    position: relative;
    font-feature-settings: 'palt';
    letter-spacing: 0.08em;
    padding: 80px 0 100px;
    color: #0053a0;
    @media (width <= 767px) {
      padding-block: 60px;
    }
    .heading-group2 {
      text-align: center;
      margin: 0 0 57px;
      @media (width <= 767px) {
        margin: 0 0 35px;
      }
      h2 {
        color: #0053a0;
        font-size: 32px;
        font-weight: 700;

        @media (width <= 767px) {
          font-size: 25px;
        }
        img {
          width: auto;
          height: 42px;
          @media (width <= 767px) {
            width: auto;
            height: 34px;
          }
        }
      }
      span {
        color: #0053a0;
        font-size: 14px;
        font-weight: 400;
        letter-spacing: 0.08em;
        display: block;
        margin-top: 10px;
        @media (width <= 767px) {
          margin-top: 5px;
          font-size: 13px;
        }
        img {
          width: auto;
          height: 17px;
          @media (width <= 767px) {
            width: auto;
            height: 13px;
          }
        }
      }
      &::after {
        content: '';
        display: block;
        width: 70px;
        height: 20px;
        background: url(../img/icon-star3ren.svg) no-repeat center / contain;
        border-radius: 4px;
        margin: 13px auto 0;
      }
      @media (width <= 767px) {
        &::after {
          height: 14px;
          margin: 9px auto 0px;
        }
      }
    }
  }
}
/* ====== spacer 100 ====== */
.spacer100 {
  height: 100px;
  background: linear-gradient(45deg, #6be2ff, #7ae5ff);
  @media (width <= 767px) {
    height: 80px;
  }
}

/* ======== xウィジェットの埋め込み ======== */

.x-widget-container {
  width: 100%;
  max-width: 800px;
  margin: 20px auto;
  border-radius: 12px;
  overflow: hidden;
  .spantext {
    color: #004da0;
  }
}

@media (width <= 767px) {
  .x-widget-container {
    color: #004da0;
  }
}
