html {
  font-size: 16px; /* 基本フォントサイズ */
}

body {
  margin: 0;
  font-family: "Helvetica Neue", sans-serif;
  background-color: #ffffffff;
  color: #333;
}

header {
  position: fixed;
  background-color: #005a4e;
  color: white;
  padding: 0.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0px;
  font-size: clamp(0.7rem, 3vw, 1.2rem);
  z-index: 1000;
}

header a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

header a:hover {
  text-decoration: underline;
}

.hero {
  background-image: url("https://rakutano-school.com/img/school/kanazawa_izumigaoka_hs01.jpg");
  background-size: cover;
  background-position: center;
  height: 400px;
  position: sticky;
  color: white;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 0;
}

.hero-content {
  font-size: clamp(0.8rem, 2.8vw, 2.5rem);
  position: absolute;
  top: 8%;
  right: 10%;
  /* width: 100vw; */
  transform-origin: bottom right;
  text-align: right;
  z-index: 1;
}

.hero h1 {
  margin: 0.5rem 0;
}
.hero p.subtitle {
  margin: 0.5rem 0;
}

.countdown {
  margin-top: 0rem;
  font-size: clamp(1rem, 4vw, 2rem);
  color: #ffd700;
}

.p-nav {
  margin: 2rem 0.5rem;
  padding: 0;
}

.p-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
  margin: 0 !important;
  padding: 0 !important;
  border: none;
}

.p-nav ul li {
  flex-basis: calc(100% / 4);
  box-sizing: border-box;
  margin: 0 !important;
  padding: 0 !important;
  text-align: center;
  box-shadow: inset 1px 1px 0 0 #e0ddd1, 1px 1px 0 0 #e0ddd1, 1px 0 0 0 #e0ddd1;
  display: flex;
  align-items: center;
  flex-direction: column-reverse;
  min-height: 100px;
  cursor: pointer;
  background: #ffffffff;
  position: relative;
}

.p-nav ul li:hover {
  z-index: 2;
  box-shadow: inset 2px 2px 0 0 #f6a068, 2px 2px 0 0 #f6a068, 2px 0 0 0 #f6a068, 0 2px 0 0 #f6a068;
  transition: 0.35s ease-in-out;
}

.p-nav ul li:before {
  content: unset !important;
}

.p-nav ul li a {
  display: block;
  padding: 0;
  text-decoration: none;
  width: 100%;
  text-align: center;
  position: relative;
  padding-top: 60px; /* アイコン分の余白 */
  font-size: 1em;
  color: #029c88ff;
  z-index: 1;
}

.p-nav ul li a:hover {
  background: none;
  opacity: 1;
}

.p-nav .p-nav-title {
  display: block;
  color: #666;
  font-size: 0.7em;
  letter-spacing: 1px;
  font-weight: 600;
  text-align: center;
  line-height: 1.5;
}

/* アイコン位置 */
.p-nav ul li i,
.p-nav ul li svg {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 50px;
  padding: 0;
  color: #f6a068;
  display: block;
  z-index: 3;
}

/* サイドバー */
.sidebar .p-nav ul li {
  flex-basis: calc(100% / 2);
}

/* スマホ */
@media screen and (max-width: 559px) {
  .p-nav ul li {
    flex-basis: calc(100% / 2);
  }
}
/* 
/* fontawesome個別色設定 */
/* .p-nav ul li:nth-of-type(2) a i, */
/* .p-nav ul li:nth-of-type(2) a svg,
.p-nav ul li:nth-of-type(3) a i,
.p-nav ul li:nth-of-type(3) a svg,
.p-nav ul li:nth-of-type(4) a i,
.p-nav ul li:nth-of-type(4) a svg {
  color: #f6a068;
} */

.footinfo {
  text-align: center;
}
