@charset "UTF-8";
:root {
  color-scheme: dark;
  --ink: #fff;
  --ink2: rgba(255, 255, 255, .76);
  --line: rgba(255, 255, 255, .24);
  --glass: rgba(255, 255, 255, .12);
  --shu: #ff6a4d;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic UI", sans-serif;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink);
  background: #0c1116;
}

h1, h2, p, ul, ol {
  margin: 0;
}

ul, ol {
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
}

.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: url("/assets/images/bg/bg_wide.webp") center/cover no-repeat;
}
.bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.72));
}

@media (max-width: 900px) {
  .bg {
    background-image: url("/assets/images/bg/bg_tall.webp");
  }
}
.glass {
  background: var(--glass);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.pg_bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: 760px;
  margin: 0 auto;
  padding: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "Outfit", sans-serif;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-decoration: none;
  white-space: nowrap;
}

.logo_mark {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 3px solid var(--shu);
  box-shadow: inset 0 0 0 3px #0c1116, inset 0 0 0 5px var(--shu);
}

.pg_open {
  font-size: 13px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--glass);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.pg_main {
  max-width: 760px;
  margin: 0 auto;
  padding: 8px 16px 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.pg_head {
  padding: 8px 0;
}
.pg_head h1 {
  font-size: clamp(24px, 6vw, 36px);
  font-weight: 900;
  line-height: 1.35;
  margin: 4px 0 8px;
}
.pg_head .num {
  font-family: "Outfit", sans-serif;
  color: var(--shu);
}

.k {
  font-size: 13px;
  color: var(--ink2);
}

.lead, .help {
  color: var(--ink2);
}

.help {
  font-size: 13px;
  margin-top: 10px;
}

.pg_card {
  padding: 18px;
}
.pg_card h2 {
  font-size: 18px;
  margin-bottom: 10px;
}

.pg_route li {
  position: relative;
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 6px 0;
}
.pg_route li:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 36px;
  bottom: -8px;
  border-left: 2px dotted var(--line);
}
.pg_route a {
  text-decoration: none;
}
.pg_route b {
  display: block;
  line-height: 1.4;
}
.pg_route small {
  font-size: 12px;
  color: var(--ink2);
}

.no {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1.5px solid var(--ink2);
  background: rgba(0, 0, 0, 0.35);
  font-family: "Outfit", sans-serif;
  font-weight: 600;
  font-size: 12px;
  z-index: 1;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  margin-top: 12px;
  border-radius: 14px;
  background: #fff;
  color: #14181c;
  font-weight: 700;
  text-decoration: none;
}

.pg_cta {
  text-align: center;
}

.pg_books {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.pg_book {
  padding: 14px;
}
.pg_book b {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}
.pg_book b span {
  font-family: "Outfit", sans-serif;
  color: var(--shu);
  white-space: nowrap;
}
.pg_book small {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--ink2);
  line-height: 1.6;
}

.pg_courses {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pg_courses a {
  display: block;
  padding: 12px 14px;
  text-decoration: none;
}
.pg_courses b {
  display: block;
}
.pg_courses small {
  font-size: 12px;
  color: var(--ink2);
}

.pg_prefs p {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  font-size: 13px;
}
.pg_prefs p a[aria-current=page] {
  color: var(--shu);
  font-weight: 700;
}

.pg_share {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pg_share img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
}
.pg_share h1 {
  font-size: clamp(20px, 5vw, 26px);
  font-weight: 900;
}

.pg_foot {
  max-width: 760px;
  margin: 0 auto;
  padding: 24px 16px 40px;
  font-size: 12px;
  color: var(--ink2);
}
.pg_foot p + p {
  margin-top: 6px;
}

@media (max-width: 640px) {
  .pg_books {
    grid-template-columns: 1fr;
  }
}
