@charset "UTF-8";
@import url(./global/_variable.css);

/* 共通レイアウト（全ページ共通：リセット・ヘッダー・フッター・共通パーツ） */
/* ============================================ */

/* リセット */
/* ============================================ */

*,
::before,
::after {
  box-sizing: border-box;
  border-style: solid;
  border-width: 0;
}
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}
body,
p,
figure,
dl,
dd {
  margin: 0;
}
main {
  display: block;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
  margin: 0;
}
ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
a {
  background: transparent;
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
button {
  margin: 0;
  padding: 0;
  background: transparent;
  font: inherit;
  color: inherit;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

/* ベース */
/* ============================================ */

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  overflow-wrap: anywhere;
  word-break: normal;
  line-break: strict;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header_h);
}
body {
  display: flex;
  flex-direction: column;
  padding-top: var(--header_h);
  background: #fff;
  color: var(--font_c);
  font-family: var(--font_normal);
  font-size: calc((18 / 16) * 1rem); /* 18px */
  font-weight: 500;
  line-height: 1.7;
  min-height: 100vh;
  @media (width <= 896px) {
    font-size: calc((16 / 16) * 1rem); /* 16px */
  }
  &.--noscroll {
    overflow: hidden;
  }
}
a {
  transition: opacity 0.3s;
  &:hover {
    opacity: 0.7;
  }
}

/* レイアウト・ユーティリティ */
/* ============================================ */

.outer {
  overflow: clip;
  display: flex;
  flex-direction: column;
  flex: 1 0 auto;
}
.main {
  display: flex;
  flex-direction: column;
  flex: 1 0 auto;
}
.width {
  width: min(1200px, calc(100% - 40px));
  margin-inline: auto;
}
.reading {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.span_br {
  display: inline-block;
}
@media (width >= 897px) {
  .sponly {
    display: none !important;
  }
}
@media (width <= 896px) {
  .pconly {
    display: none !important;
  }
}
.txt_large {
  font-family: var(--font_en);
  font-size: 1.8em;
  font-weight: 700;
  line-height: 1;
}
.txt_en {
  font-family: var(--font_en);
}

/* ブロックスキップ */
/* ============================================ */

#blockskip a {
  position: fixed;
  top: -100px;
  left: 8px;
  z-index: 200;
  padding: 10px 20px;
  background: var(--navy_c);
  border-radius: 6px;
  color: #fff;
  font-size: calc((15 / 16) * 1rem); /* 15px */
  font-weight: 700;
  transition: top 0.2s;
  &:focus {
    top: 8px;
    opacity: 1;
  }
}

/* 共通見出し */
/* ============================================ */

.common-ttl {
  word-break: keep-all;
  color: var(--navy_c);
  font-size: clamp(1.75rem, -0.4605rem + 3.9474vw, 2.5rem); /* 40~28(1200~896) */
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.4;
  text-align: center;
  &::after {
    content: "";
    display: block;
    width: 48px;
    height: 4px;
    margin: 20px auto 0;
    background: var(--grad_purple);
    border-radius: 2px;
    @media (width <= 896px) {
      margin-top: 16px;
    }
  }
}
.common-ttl__second {
  padding-left: 14px;
  border-left: 5px solid var(--main_c);
  color: var(--navy_c);
  font-size: clamp(1.375rem, -0.4671rem + 3.2895vw, 2rem); /* 32~22(1200~896) */
  font-weight: 800;
  line-height: 1.4;
}
.common-ttl__third {
  color: var(--main_c);
  font-size: clamp(1.25rem, -0.2237rem + 2.6316vw, 1.75rem); /* 28~20(1200~896) */
  font-weight: 800;
  text-align: center;
  &.--programing {
    color: var(--main_c);
  }
  &.--ai {
    color: var(--point_c);
  }
}

/* 共通背景 */
/* ============================================ */

.common-bg {
  opacity: 0.2;
  mix-blend-mode: darken;
  width: min(1000px, (1000 / 1920) * 100vw);
  position: absolute;
  @media (width <= 600px) {
    width: min(340px, (340 / 375) * 100vw);
  }
  &.--bg01 {
    top: max(-120px, (-120 / 1920) * 100vw);
    left: max(-240px, (-240 / 1920) * 100vw);
    @media (width <= 600px) {
      top: max(-40px, (-40 / 375) * 100vw);
      left: max(-180px, (-180 / 375) * 100vw);
    }
  }
  &.--bg02 {
    bottom: max(-120px, (-120 / 1920) * 100vw);
    right: max(-440px, (-440 / 1920) * 100vw);
    @media (width <= 600px) {
      right: max(-280px, (-280 / 375) * 100vw);
    }
  }
  &.--bg03 {
    top: max(-80px, (-80 / 1920) * 100vw);
    right: max(-440px, (-440 / 1920) * 100vw);
    @media (width <= 600px) {
      right: max(-280px, (-280 / 375) * 100vw);
    }
  }
  &.--bg04 {
    bottom: max(-100px, (-100 / 1920) * 100vw);
    left: max(-240px, (-240 / 1920) * 100vw);
    @media (width <= 600px) {
      left: max(-180px, (-180 / 375) * 100vw);
    }
  }
  &.--bg05 {
    top: min(900px, (900 / 1920) * 100vw);
    right: max(-220px, (-220 / 1920) * 100vw);
    @media (width <= 600px) {
      top: min(800px, (800 / 375) * 100vw);
      right: max(-160px, (-160 / 375) * 100vw);
    }
  }
  &.--bg06 {
    bottom: min(900px, (900 / 1920) * 100vw);
    left: max(-220px, (-220 / 1920) * 100vw);
    @media (width <= 600px) {
      bottom: min(800px, (800 / 375) * 100vw);
      left: max(-160px, (-160 / 375) * 100vw);
    }
  }
  img {
    width: 100%;
    max-width: none;
  }
}

/* ヘッダー */
/* ============================================ */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 110;
  background: #fff;
  transition: box-shadow 0.3s;
  &.--scrolled {
    box-shadow: 0 2px 16px color-mix(in srgb, var(--navy_c) 12%, transparent);
  }
}
.header-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: var(--header_h);
  padding: 0 20px;
  margin-inline: auto;
  @media (width <= 896px) {
    padding: 0 8px 0 16px;
  }
}
.header-logo {
  color: var(--navy_c);
  font-size: clamp(0.9375rem, 0.474rem + 0.5425vw, 1.125rem); /* 18~15(1920~1367) */
  font-weight: 800;
  line-height: 1.4;
  @media (width <= 896px) {
    font-size: calc((14 / 16) * 1rem);
  }
}
.header-logo a {
  display: inline-block;
  max-width: 23em;
  &:hover {
    opacity: 0.7;
  }
}
.header-contents {
  display: flex;
  align-items: center;
  gap: 16px;
  @media (width <= 1025px) {
    display: none;
  }
}
.header-menu {
  display: flex;
  align-items: center;
  font-size: clamp(0.75rem, 0.5313rem + 0.3906vw, 1rem); /* 16~12(1920~896) */
  > li {
    position: relative;
    &:hover .header-menu__contents,
    &:focus-within .header-menu__contents {
      opacity: 1;
      visibility: visible;
      transform: translateX(-50%) translateY(0);
    }
  }
  > li > a {
    display: block;
    padding: 10px;
    font-weight: 700;
    &:hover {
      color: var(--main_c);
      opacity: 1;
    }
    @media (width <= 1367px) {
      padding: 10px 6px;
    }
  }
}
.header-menu__trigger {
  display: block;
  padding: 10px;
  font-weight: 700;
  cursor: pointer;
  @media (width <= 1367px) {
    padding: 10px 6px;
  }
  &::after {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-left: 6px;
    border-right: 2px solid var(--main_c);
    border-bottom: 2px solid var(--main_c);
    transform: translateY(-3px) rotate(45deg);
  }
}
.header-menu__contents {
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 10;
  min-width: 220px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 24px color-mix(in srgb, var(--navy_c) 16%, transparent);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(8px);
  transition: opacity 0.25s, visibility 0.25s, transform 0.25s;
}
.header-menu__contents__link {
  display: block;
  padding: 12px 16px;
  border-radius: 6px;
  font-weight: 500;
  &:hover {
    background: var(--bg_c);
    color: var(--main_c);
    opacity: 1;
  }
}
.header-menu__btn a {
  display: block;
  padding: 10px 22px;
  background: var(--grad_emerald);
  border-radius: 999px;
  color: #fff;
  font-size: clamp(0.875rem, 0.5066rem + 0.6579vw, 1rem); /* 16~14(1200~896) */
  font-weight: 700;
  white-space: nowrap;
}

/* ハンバーガー */
.header-hamburger {
  display: none;
  @media (width <= 1025px) {
    display: block;
    position: relative;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
  }
}
.header-hamburger__line {
  position: absolute;
  left: 50%;
  width: 24px;
  height: 2px;
  background: var(--navy_c);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: transform 0.3s, opacity 0.3s;
  &:nth-child(1) {
    top: 14px;
  }
  &:nth-child(2) {
    top: 21px;
  }
  &:nth-child(3) {
    top: 28px;
  }
}
.header-hamburger.--active .header-hamburger__line {
  &:nth-child(1) {
    transform: translateX(-50%) translateY(7px) rotate(45deg);
  }
  &:nth-child(2) {
    opacity: 0;
  }
  &:nth-child(3) {
    transform: translateX(-50%) translateY(-7px) rotate(-45deg);
  }
}

/* SPナビゲーション */
.header-nav {
  position: fixed;
  top: var(--header_h);
  right: 0;
  z-index: 105;
  width: min(340px, 88%);
  height: calc(100dvh - var(--header_h));
  padding: 24px 24px 48px;
  background: #fff;
  overflow-y: auto;
  transform: translateX(102%);
  transition: transform 0.35s;
  &.--open {
    transform: translateX(0);
  }
  @media (width >= 1026px) {
    display: none;
  }
}
.header-nav__list > li {
  border-bottom: 1px solid #e3e9f2;
  > a {
    display: block;
    padding: 14px 8px;
    font-size: calc((16 / 16) * 1rem); /* 16px */
    font-weight: 700;
  }
}
.header-nav__trigger {
  position: relative;
  display: block;
  padding: 14px 32px 14px 8px;
  font-size: calc((16 / 16) * 1rem); /* 16px */
  font-weight: 700;
  cursor: pointer;
  &::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 14px;
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--main_c);
    border-bottom: 2px solid var(--main_c);
    transform: translateY(-6px) rotate(45deg);
    transition: transform 0.3s;
  }
}
.header-nav__list > li.--open .header-nav__trigger::after {
  transform: translateY(-2px) rotate(225deg);
}
.header-nav__contents {
  display: none;
  padding-bottom: 12px;
}
.header-nav__list > li.--open .header-nav__contents {
  display: block;
}
.header-nav__contents__link {
  position: relative;
  display: block;
  padding: 10px 8px 10px 24px;
  font-size: calc((15 / 16) * 1rem); /* 15px */
  &::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 8px;
    width: 8px;
    height: 2px;
    background: var(--main_c);
  }
}
.header-nav__btn {
  margin-top: 24px;
}
.header-nav__btn a {
  display: block;
  padding: 14px;
  background: var(--grad_emerald);
  border-radius: 999px;
  color: #fff;
  font-size: calc((17 / 16) * 1rem); /* 17px */
  font-weight: 700;
  text-align: center;
}

/* オーバーレイ */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--navy_c) 55%, transparent);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  &.--open {
    opacity: 1;
    visibility: visible;
  }
}

/* フッター */
/* ============================================ */

.footer {
  flex-shrink: 0;
  padding: 50px 15px;
  background: var(--grad_emerald);
  color: #fff;
  text-align: center;
  position: relative;
  &::before {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background: url("../images/bg_network_white.png") top center/ 100% auto repeat-y;
    position: absolute;
    top: 0;
    left: 0;
    @media (width <= 896px) {
      background-size: 150% auto;
    }
    @media (width <= 480px) {
      background-size: 200% auto;
    }
  }
}
.footer-wrap {
  position: relative;
  >* {
    &:first-child {
      margin-top: 0;
    }
  }
}
.footer-sponsor {
  margin-top: 32px;
  @media (width <= 896px) {
    margin-top: 24px;
  }
}
.footer-sponsor__ttl {
  font-size: clamp(1rem, 0.2632rem + 1.3158vw, 1.25rem); /* 20~16(1200~896) */
  font-weight: 700;
}
.footer-sponsor__img {
  margin-top: 12px;
  @media (width <= 896px) {
    margin-top: 8px;
  }
  img {
    @media (width <= 896px) {
      width: 64px;
    }
  }
}
.footer-sponsor__txt {
  word-break: keep-all;
  margin-top: 10px;
  font-size: clamp(1rem, 0.2632rem + 1.3158vw, 1.25rem); /* 20~16(1200~896) */
}
.footer-management {
  margin-top: 32px;
  @media (width <= 896px) {
    margin-top: 24px;
  }
}
.footer-management__ttl {
  font-size: clamp(1rem, 0.2632rem + 1.3158vw, 1.25rem); /* 20~16(1200~896) */
  font-weight: 700;
}
.footer-management__txt {
  word-break: keep-all;
  margin-top: 10px;
  @media (width <= 896px) {
    margin-top: 8px;
  }
}
.footer-copy {
  margin-top: 50px;
  font-size: clamp(0.875rem, 0.5066rem + 0.6579vw, 1rem); /* 16~14(1200~896) */
  font-family: var(--font_en);
}
