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

* {
  box-sizing: border-box;
}

html,
body,
div,
span,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
abbr,
address,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
samp,
small,
strong,
sub,
sup,
var,
b,
i,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
}

html {
  overflow-x: hidden;
}

body {
  line-height: 1;
  overflow-x: hidden;
  background: #fff;
}

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

a {
  color: inherit;
  text-decoration: none;
}


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

.header {
  position: relative;
  z-index: 1000;
  margin: 0;
}


/* ========================================
   ハンバーガーボタン
======================================== */

.hamburger {
  display: block;

  position: fixed;

  top: 20px;
  right: 20px;

  z-index: 1200;

  width: 55px;
  height: 55px;

  padding: 10px;

  border: none;

  background: #fff;

  cursor: pointer;
}

.hamburger span {
  display: block;

  width: 100%;
  height: 3px;

  margin: 6px 0;

  background: #333;

  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}


/* ========================================
   ハンバーガー → ×
======================================== */

.hamburger.is-open span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.hamburger.is-open span:nth-child(2) {
  opacity: 0;
}

.hamburger.is-open span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}


/* ========================================
   メニューパネル
======================================== */

.menu-panel {
  position: fixed;

  top: 0;
  right: 0;

  z-index: 1100;

  width: 380px;
  max-width: 90vw;
  height: 100vh;

  padding: 100px 30px 30px;

  display: flex;
  flex-direction: column;

  justify-content: flex-start;
  align-items: stretch;

  gap: 25px;

  background: rgba(255, 255, 255, 0.97);

  box-shadow:
    -5px 0 20px rgba(0, 0, 0, 0.12);

  transform: translateX(100%);

  transition:
    transform 0.35s ease;

  overflow-y: auto;
}

.menu-panel.is-open {
  transform: translateX(0);
}


/* ========================================
   ナビゲーション
======================================== */

.nav-item {
  position: relative;

  font-family: "Inter", sans-serif;

  font-size: 35px;
  font-weight: 400;

  line-height: 1;

  white-space: nowrap;
}

.nav-row {
  display: flex;

  align-items: center;

  gap: 5px;
}

.nav-row > a {
  color: inherit;
  text-decoration: none;
}


/* ========================================
   サブメニュー開閉ボタン
======================================== */

.submenu-toggle {
  padding: 0;

  border: 0;

  background: transparent;

  color: inherit;

  font-size: 22px;

  line-height: 1;

  cursor: pointer;

  transition:
    transform 0.3s ease;
}


/* ========================================
   ナビゲーションカラー
======================================== */

.menu {
  color: #007aba;
}

.nav-info {
  color: rgba(185, 98, 157, 0.75);
}

.nav-visit {
  color: #3d8739;
}

.other {
  color: rgba(173, 111, 231, 0.75);
}


/* ========================================
   サブメニュー
======================================== */

.submenu {
  position: static;

  min-width: 0;

  margin-top: 15px;

  padding: 0;

  background: transparent;

  border-radius: 0;

  box-shadow: none;

  opacity: 0;

  visibility: hidden;

  max-height: 0;

  overflow: hidden;

  transform: none;

  transition:
    opacity 0.25s ease,
    max-height 0.3s ease,
    visibility 0.25s ease;
}

.nav-item.is-open .submenu {
  opacity: 1;

  visibility: visible;

  max-height: 500px;
}

.submenu a {
  display: block;

  padding: 10px 15px;

  color: #333;

  font-family: "Inter", sans-serif;

  font-size: 18px;

  line-height: 1.3;

  text-decoration: none;

  transition:
    background-color 0.2s ease,
    padding-left 0.2s ease;
}

.submenu a:hover {
  background: rgba(0, 0, 0, 0.05);

  padding-left: 22px;
}

.nav-item.is-open .submenu-toggle {
  transform: rotate(90deg);
}


/* ========================================
   トップ画面
======================================== */

.group1 {
  position: relative;

  width: 100%;

  height: 100vh;
  height: 100svh;

  min-height: 600px;

  overflow: hidden;
}


/* ========================================
   メイン背景
======================================== */

.mainback-wrap {
  position: absolute;

  top: 0;
  left: 0;

  width: 100%;
  height: 100%;
}

.mainback {
  position: absolute;

  top: 50%;
  left: 50%;

  transform:
    translate(-50%, -50%);

  width: min(100vw, 100%);

  max-height: 100%;

  height: auto;

  object-fit: contain;

  z-index: 1;
}


/* ========================================
   日付
======================================== */

.date1 {
  position: absolute;

  top: 28%;
  left: 18%;

  transform:
    translate(-50%, -50%);

  z-index: 100;

  width: clamp(
    100px,
    19vw,
    250px
  );

  pointer-events: none;
}

.date1 img {
  display: block;

  width: 100%;
  height: auto;
}


/* ========================================
   左下装飾
======================================== */

.back1 {
  position: absolute;

  top: 60%;
  left: 0;

  z-index: 2;

  width: 50vw;

  height: auto;
}


/* ========================================
   ロゴ
======================================== */

.logo {
  position: absolute;

  top: 50%;
  right: 10%;

  transform:
    translateY(-50%);

  z-index: 10;

  width: clamp(
    300px,
    65vw,
    850px
  );

  height: auto;
}


/* ========================================
   SCROLL
======================================== */

.scroll-mark {
  position: absolute;
  right: 30px;
  bottom: 30px;

  z-index: 10;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;

  font-family: "Orbitron", sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.25em;

  color: #000;
  pointer-events: none;
}

.scroll-arrow {
  font-family: Arial, sans-serif;

  font-size: 22px;

  line-height: 1;

  animation:
    scrollArrow 1.5s ease-in-out infinite;
}

@keyframes scrollArrow {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(8px);
  }

}


/* ========================================
   カウントダウンエリア
======================================== */

.count-area {
  position: relative;

  width: 100%;

  height:
    clamp(
      350px,
      60vw,
      650px
    );

  overflow: hidden;
}


/* ========================================
   side1
======================================== */

.side1 {
  position: absolute;

  top: 0;
  left: 0;

  height: 100%;
  width: auto;

  max-height: 100%;

  object-fit: contain;

  object-position: left top;

  z-index: 15;

  pointer-events: none;
}


/* ========================================
   カウントダウン背景
======================================== */

.count-backgrounds {
  position: relative;

  width: 100%;
  height: 100%;

  z-index: 10;
}


/* ========================================
   カウントダウン全体
======================================== */

.countdown-wrapper {
  position: absolute;

  top: 0;
  right: 0;

  width: 83%;
  height: 100%;

  z-index: 20;
}


/* ========================================
   COUNTDOWNタイトル
======================================== */

.countdown-title {
  position: absolute;

  top: 8%;
  left: -8%;

  width: 100%;

  z-index: 30;

  margin: 0;

  font-family: "Orbitron", sans-serif;

  font-size:
    clamp(
      30px,
      5vw,
      100px
    );

  font-weight: 800;

  line-height: 1;

  letter-spacing: 0.08em;
}


/* ========================================
   カウントダウン
======================================== */

.countdown {
  position: absolute;

  top: 50%;
  right: 5%;

  width: 100%;

  transform:
    translateY(-50%);

  display: grid;

  grid-template-columns:
    repeat(4, 1fr);

  gap: 0;
}


/* ========================================
   各カウント
======================================== */

.count-item {
  position: relative;

  width: 100%;

  aspect-ratio:
    1 / 0.8660254;
}


/* ========================================
   カウントダウン三角形画像
======================================== */

.count-triangle {
  position: absolute;

  top: 70%;
  right: 5%;

  width: 100%;
  height: 100%;

  object-fit: contain;

  object-position:
    center center;

  transform:
    translate(-50%, -50%)
    scale(2.2);

  z-index: 1;

  pointer-events: none;
}


/* DAY */

.count-day .count-triangle {
  top: 45%;
  left: 50%;
}


/* HRS */

.count-hours .count-triangle {
  top: 85%;
  left: 50%;
}


/* MIN */

.count-minutes .count-triangle {
  top: 45%;
  left: 50%;
}


/* SEC */

.count-seconds .count-triangle {
  top: 85%;
  left: 50%;
}


/* ========================================
   数字・文字
======================================== */

.count-content {
  position: absolute;

  left: 50%;

  z-index: 2;

  display: flex;

  flex-direction: column;

  align-items: center;

  justify-content: center;

  transform:
    translate(-50%, -50%);

  width: 100%;
}


/* ========================================
   三角形画像の重心
======================================== */

.count-day .count-content,
.count-minutes .count-content {
  top: 40.333%;
}


/* ========================================
   ▲ 三角形画像の重心
======================================== */

.count-hours .count-content,
.count-seconds .count-content {
  top: 88%;
}


/* ========================================
   数字
======================================== */

.count-content span {
  font-family: "Orbitron", sans-serif;

  font-size:
    clamp(
      25px,
      6.5vw,
      150px
    );

  font-weight: 700;

  line-height: 1;

  white-space: nowrap;
}


/* ========================================
   DAY / HRS / MIN / SEC
======================================== */

.count-content small {
  margin-top:
    clamp(
      4px,
      1vw,
      12px
    );

  font-family: "Orbitron", sans-serif;

  font-size:
    clamp(
      7px,
      1.2vw,
      18px
    );

  letter-spacing: 0.15em;

  white-space: nowrap;
}


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

.notice {
  position: relative;

  width: 100%;

  margin: 0;

  padding:
    clamp(20px, 4vw, 40px)
    clamp(50px, 10vw, 160px)
    clamp(50px, 8vw, 100px)
    10%;

  z-index: 10;
}


/* ========================================
   お知らせ右側装飾
======================================== */

.notice-side2 {
  position: absolute;

  top: 0;
  right: 0;

  width:
    clamp(
      50px,
      10vw,
      100px
    );

  height: auto;

  z-index: 1;

  pointer-events: none;

  object-fit: contain;

  object-position:
    right top;
}


/* ========================================
   お知らせタイトル
======================================== */

.notice-title {
  position: relative;
  z-index: 2;

  margin-bottom:
    clamp(
      15px,
      2vw,
      30px
    );

  font-family:
    Arial,
    "Noto Sans JP",
    sans-serif;

  font-size:
    clamp(
      30px,
      5vw,
      100px
    );

  font-weight: 800;
}


/* ========================================
   お知らせ一覧
======================================== */

.notice-list {
  position: relative;

  top: 40px;

  width: 100%;

  height:
    clamp(
      90px,
      10vw,
      160px
    );

  overflow: hidden;

  z-index: 2;
}


/* ========================================
   お知らせ縦スクロール
======================================== */

.notice-track {
  display: flex;

  flex-direction: column;

  gap: 0;

  width: 100%;

  transition:
    transform 0.6s ease;
}


/* ========================================
   お知らせ1件
======================================== */

.notice-item {
  flex-shrink: 0;

  width: 100%;

  height:
    clamp(
      90px,
      10vw,
      160px
    );

  display: flex;

  align-items: center;

  border-top:
    1px solid #000;
}

.notice-item:last-child {
  border-bottom:
    1px solid #000;
}


/* ========================================
   お知らせ日付
======================================== */

.notice-date {
  display: flex;

  flex-direction: column;

  align-items: flex-start;

  flex-shrink: 0;

  font-family:
    "Orbitron",
    sans-serif;
}

.notice-date span:first-child {
  font-size:
    clamp(
      20px,
      2.2vw,
      30px
    );
}

.notice-date span:last-child {
  margin-top:
    clamp(
      3px,
      0.4vw,
      5px
    );

  font-size:
    clamp(
      13px,
      1.3vw,
      18px
    );
}


/* ========================================
   お知らせ本文
======================================== */

.notice-text {
  flex: 1;

  min-width: 0;

  padding:
    0 clamp(
      10px,
      2vw,
      20px
    );

  font-family:
    Arial,
    "Noto Sans JP",
    sans-serif;

  font-size:
    clamp(
      16px,
      1.7vw,
      25px
    );
}


/* ========================================
   お知らせ矢印
======================================== */

.notice-arrow {
  position: relative;

  width:
    clamp(
      35px,
      4vw,
      50px
    );

  height:
    clamp(
      35px,
      4vw,
      50px
    );

  flex-shrink: 0;
}

.notice-arrow span {
  position: absolute;

  top: 50%;
  right: 0;

  width:
    clamp(
      20px,
      2.5vw,
      30px
    );

  height: 2px;

  background: #000;
}

.notice-arrow span:first-child {
  transform:
    rotate(45deg);

  transform-origin:
    right center;
}

.notice-arrow span:last-child {
  transform:
    rotate(-45deg);

  transform-origin:
    right center;
}


/* ========================================
   ホーム4枚画像
======================================== */

.home-cards {
  position: relative;

  width: 100%;

  display: flex;
  flex-direction: column;

  align-items: center;

  gap: 30px;

  padding: 80px 0;

  z-index: 1;
}


/* ========================================
   ホーム画像リンク
======================================== */

.home-cards > a {
  display: block;

  position: relative;

  width: 80%;

  margin: 0;
  padding: 0;

  line-height: 0;

  cursor: pointer;

  z-index: 1;

  overflow: visible;
}


/* ========================================
   ホーム画像
======================================== */

.home-cards > a > img {
  display: block;

  width: 100%;
  height: auto;

  margin: 0;
  padding: 0;

  transform: scale(1);

  transform-origin: center center;

  transition:
    transform 0.35s ease;
}


/* ========================================
   ★ ホバー拡大
======================================== */

.home-cards > a {
  transition:
    transform 0.35s ease;
}

.home-cards > a:hover {
  z-index: 100;

  transform:
    scale(1.06);
}

.home-cards > a:hover > img {
  transform:
    scale(1);
}


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

.footer {
  position: relative;

  width: 100%;

  margin: 0;

  padding: 0;

  background:
    linear-gradient(
      110deg,
      #b9e4fa 0%,
      #d9ecfa 45%,
      #eee6fb 100%
    );

  font-family:
    Arial,
    "Noto Sans JP",
    sans-serif;

  overflow: hidden;
}


/* ========================================
   フッター上部装飾
======================================== */

.footer-decoration {
  width: 100%;

  height: 200px;

  overflow: hidden;
}

.footer-decoration img {
  width: 100%;

  height: 100%;

  object-fit: cover;

  object-position: center;
}


/* ========================================
   フッタータイトル
======================================== */

.footer-title {
  height: 88px;

  display: flex;

  align-items: flex-end;

  gap: 18px;

  padding-left: 36px;
  padding-bottom: 5px;

  color: #000;

  font-size: 30px;

  line-height: 1;
}

.footer-title-en {
  font-style: italic;

  font-weight: 900;
}

.footer-title-jp {
  font-style: normal;

  font-weight: 900;
}


/* ========================================
   タイトル下横線
======================================== */

.footer-line {
  width: 100%;

  height: 3px;

  background: #000;
}


/* ========================================
   フッター本体
======================================== */

.footer-content {
  width: 100%;

  display: grid;

  grid-template-columns:
    minmax(100px, 0.5fr)
    minmax(130px, 0.6fr)
    minmax(175px, 0.7fr)
    minmax(170px, 0.9fr);

  column-gap: 40px;

  padding:
    25px
    55px
    35px;

  align-items: start;
}


/* ========================================
   連絡先
======================================== */

.footer-contact {
  color: #000;

  font-size: 18px;

  line-height: 1.2;
}

.contact-name {
  margin-bottom: 3px;
}

.contact-mail {
  margin-bottom: 14px;

  font-size: 16px;

  word-break: break-word;
}

.contact-school {
  margin-bottom: 13px;

  font-size: 14px;

  line-height: 1.35;
}

.contact-tel {
  font-size: 14px;

  line-height: 1.4;
}


/* ========================================
   SNS
======================================== */

.footer-sns {
  display: flex;

  align-items: center;

  gap: 20px;

  margin-top: 18px;

  flex-wrap: wrap;
}

.footer-sns a {
  display: flex;

  justify-content: center;
  align-items: center;

  width: 30px;
  height: 30px;

  flex-shrink: 0;

  color: #000000;

  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.footer-sns i {
  font-size: 40px;

  line-height: 1;
}

.footer-sns a:hover {
  transform:
    translateY(-3px);

  opacity: 0.7;
}


/* Xだけ少し小さく */

.footer-sns .sns-x i {
  font-size: 36px;
}


/* ========================================
   テーマロゴ
======================================== */

.theme-logo {
  width: 100%;

  display: flex;

  justify-content: flex-start;
  align-items: flex-start;
}

.theme-logo img {
  display: block;

  width: 100%;

  max-width: 250px;

  height: auto;

  object-fit: contain;
}


/* ========================================
   フッターナビ
======================================== */

.footer-navigation {
  display: flex;

  flex-direction: column;

  gap: 45px;

  min-width: 0;
}

.footer-menu {
  position: relative;
}

.footer-menu-title {
  display: block;

  margin-bottom: 8px;

  font-size: 25px;

  font-weight: 400;

  line-height: 1;

  color: inherit;

  white-space: nowrap;

  transition:
    opacity 0.2s ease;
}

.footer-menu-title:hover {
  opacity: 0.65;
}

.footer-menu-list {
  position: relative;

  display: flex;

  flex-direction: column;

  gap: 5px;

  padding-left: 12px;
}

.footer-menu-list::before {
  content: "";

  position: absolute;

  left: 3px;

  top: 0;
  bottom: 0;

  width: 2px;

  background: currentColor;
}

.footer-menu-list a {
  font-size: 15px;

  line-height: 1.2;

  color: inherit;

  transition:
    opacity 0.2s ease;
}

.footer-menu-list a:hover {
  opacity: 0.65;
}


/* ========================================
   フッターメニューカラー
======================================== */

.menu-home {
  color: #333;
}

.menu-about {
  color: #0082c4;
}

.menu-visit {
  color: #3c963b;
}

.menu-info {
  color: #d889bd;
}

.menu-other {
  color: #ae7ae9;
}


/* ========================================
   タブレット
======================================== */

@media screen and (max-width: 1200px) {

  .footer-content {
    grid-template-columns:
      minmax(150px, 0.9fr)
      minmax(120px, 0.6fr)
      minmax(160px, 1fr)
      minmax(160px, 1fr);

    column-gap: 25px;

    padding-left: 35px;
    padding-right: 35px;
  }

  .footer-menu-title {
    font-size: 22px;
  }

  .theme-logo img {
    max-width: 200px;
  }

}


/* ========================================
   スマホ
======================================== */

@media screen and (max-width: 900px) {

  /* ----------------------------
     ホーム4枚画像
  ---------------------------- */

  .home-cards {
    gap: 18px;

    padding:
      50px 0;
  }

  .home-cards > a {
    width: 80%;
  }


  /* ----------------------------
     フッター
  ---------------------------- */

  .footer-decoration {
    height: 120px;
  }

  .footer-title {
    height: 60px;

    gap: 10px;

    padding-left: 20px;
    padding-bottom: 6px;

    font-size: 20px;
  }

  .footer-content {
    grid-template-columns:
      minmax(0, 1fr)
      minmax(0, 1fr);

    gap: 30px 20px;

    padding:
      25px
      20px
      35px;
  }

  .footer-contact {
    grid-column: 1;
    grid-row: 1;

    font-size: 16px;

    min-width: 0;
  }

  .contact-mail {
    font-size: 13px;
  }

  .contact-school {
    font-size: 12px;
  }

  .contact-tel {
    font-size: 12px;
  }

  .theme-logo {
    grid-column: 2;
    grid-row: 1;

    width: 100%;

    min-width: 0;
  }

  .theme-logo img {
    width: 100%;

    max-width: 200px;
  }

  .footer-navigation {
    grid-column: 1;
    grid-row: 2;

    gap: 30px;
  }

  .footer-navigation-right {
    grid-column: 2;
    grid-row: 2;

    gap: 30px;
  }

  .footer-menu-title {
    font-size: 18px;

    white-space: normal;
  }

  .footer-menu-list {
    padding-left: 10px;

    gap: 4px;
  }

  .footer-menu-list a {
    font-size: 12px;

    line-height: 1.3;
  }

  .footer-sns {
    gap: 8px;

    margin-top: 12px;

    flex-wrap: wrap;
  }

  .footer-sns a {
    width: 38px;
    height: 38px;
  }

  .footer-sns i {
    font-size: 32px;
  }

  .footer-sns .sns-x i {
    font-size: 29px;
  }


  /* ----------------------------
     カウントダウン
  ---------------------------- */

  .count-area {
    height:
      clamp(
        350px,
        70vw,
        500px
      );
  }

  .count-backgrounds {
    height: 100%;
    min-height: 0;
  }

  .countdown-wrapper {
    width: 75%;
  }

  .countdown-title {
    top: 8%;

    font-size:
      clamp(
        24px,
        5vw,
        45px
      );
  }

  .countdown {
    top: 45%;
  }

  .count-content span {
    font-size:
      clamp(
        18px,
        5vw,
        55px
      );
  }

  .count-content small {
    font-size:
      clamp(
        6px,
        1.8vw,
        12px
      );
  }

}


/* ========================================
   小さいスマホ
======================================== */

@media screen and (max-width: 480px) {

  /* ----------------------------
     ホーム4枚画像
  ---------------------------- */

  .home-cards {
    gap: 14px;

    padding:
      35px 0;
  }

  .home-cards > a {
    width: 80%;
  }


  /* ----------------------------
     フッター
  ---------------------------- */

  .footer-content {
    padding-left: 15px;
    padding-right: 15px;

    gap: 25px 12px;
  }

  .footer-title {
    padding-left: 15px;

    font-size: 17px;
  }

  .footer-contact {
    font-size: 14px;
  }

  .contact-mail {
    font-size: 11px;
  }

  .contact-school {
    font-size: 10px;
  }

  .contact-tel {
    font-size: 10px;
  }

  .theme-logo img {
    max-width: 180px;
  }

  .footer-menu-title {
    font-size: 16px;
  }

  .footer-menu-list a {
    font-size: 11px;
  }

  .footer-sns {
    gap: 6px;
  }

  .footer-sns a {
    width: 32px;
    height: 32px;
  }

  .footer-sns i {
    font-size: 27px;
  }

  .footer-sns .sns-x i {
    font-size: 25px;
  }


  /* ----------------------------
     カウントダウン
  ---------------------------- */

  .count-area {
    height:
      clamp(
        320px,
        90vw,
        430px
      );
  }

  .count-backgrounds {
    height: 100%;
    min-height: 0;
  }

  .countdown-wrapper {
    width: 75%;
  }

  .countdown {
    top: 45%;
  }

}