:root {
  --blue: #19b1ef;
  --blue-dark: #3296d2;
  --yellow: #ffef02;
  --pale-blue: #e6f8ff;
  --green: #8ec31f;
  --orange: #f09c14;
  --red: #df5d5d;
  --ink: #171717;
  --gray: #6c6c6c;
  --content: 1120px;
  --header-height: 76px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  min-width: 1200px;
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: "Noto Sans JP", "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: .05em;
  -webkit-font-smoothing: antialiased;
}

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

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

p,
h1,
h2,
h3,
h4,
dl,
dd,
ul,
ol {
  margin-top: 0;
}

main#top{
    overflow: hidden;
}

.container {
  position: relative;
  z-index: 2;
  width: min(var(--content), calc(100% - 80px));
  margin-inline: auto;
}

.site-header {
  position: absolute;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  height: 100px;
  color: #fff;
  background-image: linear-gradient(180deg, #19b1ef, #19b1ef 0%, #19b1ef 70%, transparent 70% 100%);
}

.site-header.is-scrolled {
  position: fixed;
  filter: drop-shadow(0 3px 8px rgba(0, 0, 0, .17));
}

.header-bg {
  position: absolute;
  inset: 0;
  bottom: -10px;
  background: url("../img/bg_wave.png") left -56px bottom / max(1878px, 120vw) 92px no-repeat;

  pointer-events: none;
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  width: min(1876px, calc(100% - 44px));
  height: var(--header-height);
  margin-inline: auto;
}

.header-logo {
  flex: 0 0 326px;
  width: 326px;
}

.header-logo img {
  width: 326px;
  height: 34px;
  object-fit: contain;
}

.global-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 28px;
  min-width: 0;
  margin-left: auto;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .02em;
  white-space: nowrap;
}

.global-nav a {
  position: relative;
  padding: 25px 0 21px;
  transition: color .2s ease;
}

.global-nav a::after {
  position: absolute;
  right: 0;
  bottom: 14px;
  left: 0;
  height: 3px;
  content: "";
  transform: scaleX(0);
  transform-origin: center;
  border-radius: 3px;
  background: var(--yellow);
  transition: transform .2s ease;
}

.global-nav a:hover,
.global-nav a.is-active {
  color: var(--yellow);
}

.global-nav a:hover::after,
.global-nav a.is-active::after {
  transform: scaleX(1);
}

.global-nav a:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 3px;
  border-radius: 2px;
}

.hero {
  position: relative;
  height: 531px;
  overflow: hidden;
  background: linear-gradient(90deg, #fff 0 50%, var(--yellow) 50% 100%);
  z-index: 0;
}

.hero-gallery {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 50%;
  height: 531px;
}

.hero-photo {
  position: relative;
  height: 531px;
  overflow: hidden;
  -webkit-mask: url("../img/bg_gray.svg") center / 100% 100% no-repeat;
  mask: url("../img/bg_gray.svg") center / 100% 100% no-repeat;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-photo:nth-child(1) img { object-position: 48% center; }
.hero-photo:nth-child(2) img { object-position: 53% center; }
.hero-photo:nth-child(3) img { object-position: 57% center; }

.hero-character {
  position: absolute;
  z-index: 4;
  top: 15px;
  left: calc(50% - 578px);
  width: 573px;
  height: 516px;
  object-fit: contain;
  object-position: center top;
}

.hero-copy {
  position: absolute;
  z-index: 5;
  top: 137px;
  left: calc(50% + 58px);
  width: 508px;
}

.hero-copy h1 {
  width: 508px;
  margin-bottom: 24px;
}

.hero-copy h1 img {
  width: 508px;
  height: auto;
}

.hero-copy p {
  margin-bottom: 0;
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: 5%;
}

.hero-copy strong {
  position: relative;
  z-index: 1;
  font-size: 24px;
  font-weight: bold;
  color: var(--yellow);
  margin: 0 4px;
  padding: 0 .12em;
  background-image: linear-gradient(
    to bottom,
    transparent 8%,
    var(--blue) 8%,
    var(--blue) 92%,
    transparent 92%
  );
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.section {
  position: relative;
  isolation: isolate;
}

.section-blue { background: var(--blue); }
.section-yellow { background: var(--yellow); }
.section-white { background: #fff; }

.section-wave {
  position: absolute;
  z-index: 1;
  top: -26px;
    left: -20px;
    width: 2247px;
  max-width: none;
  height: 52px;
  pointer-events: none;
}

.section-title {
  margin-bottom: 48px;
  font-size: 40px;
  font-weight: bold;
  line-height: 1.35;
  text-align: center;
  letter-spacing: .06em;
}

.title-yellow { color: var(--yellow); }
.title-blue { color: var(--blue); }

.overview {
  padding: 40px 0 72px;
}

.overview-table {
  width: 861px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 10px;
  background: #fff;
}

.overview-table > div {
  display: grid;
  grid-template-columns: 206px 1fr;
  min-height: 55px;
}

.overview-table dt,
.overview-table dd {
  margin: 0;
  padding: 10px 28px;
}

.overview-table dt {
  justify-content: center;
  background: #d8f5ff;
  font-size: 20px;
  font-weight: 800;
  text-align: center;
  letter-spacing: .05em;
}

.overview-table dd {
  font-size: 16px;
  line-height: 1.45;
}

.overview-table small {
  font-size: 14px;
  letter-spacing: .03em;
}

.overview-table .overview-time {
  min-height: 162px;
}

.overview-table .overview-time dd {
  display: block;
  padding-top: 14px;
  padding-bottom: 14px;
}

.canal {
  padding: 40px 0 86px;
}

.canal-layout {
  display: grid;
  grid-template-columns: 1fr 415px;
  gap: 22px;
  align-items: start;
}


.canal-text p {
  margin-bottom: 25px;
  font-size: 18px;
  line-height: 2;
  letter-spacing: 4%;
}

.canal-text strong {
  position: relative;
  z-index: 1;
  font-weight: bold;
  color: var(--yellow);
  margin: 0 4px;
  padding: 0 4px;
  background-image: linear-gradient(
    to bottom,
    transparent 4%,
    var(--blue) 4%,
    var(--blue) 96%,
    transparent 96%
  );
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.canal-photo {
  width: 415px;
  height: 205px;
  border-radius: 10px;
  object-fit: cover;
  object-position: center 38%;
}

.pill-center{
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 12px 28px;
}

.pill-button {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 4px 20px 4px 20px;
  border-radius: 999px;
  background: var(--blue-dark);
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  line-height: 1.35;
  transition: transform .2s ease, filter .2s ease;
}

.pill-button::before {
  margin-right: 10px;
  content: "▶";
  font-size: 10px;
}

.pill-button:hover {
  transform: translateY(2px);
  filter: brightness(.94);
}

.works {
  padding: 40px 0 120px;
}

.works-card {
  position: relative;
  display: grid;
  grid-template-columns: 264px 1fr;
  min-height: 303px;
  border-radius: 10px;
  background: var(--pale-blue);
}

.works-visual {
  position: relative;
  overflow: visible;
}

.works-visual img {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 304px;
  height: 343px;
  object-fit: cover;
  object-position: center bottom;
}

.works-body {
  padding: 25px 28px 26px 0;
}

.works-body h3 {
  margin-bottom: 10px;
  font-size: 24px;
  letter-spacing: .05em;
}

.works-body > p {
  margin-bottom: 17px;
  font-size: 16px;
  line-height: 1.5;
}

.works-body > p strong {
  color: var(--blue);
  font-weight: bold;
}

.author-box {
  padding: 10px 20px 12px;
  border-radius: 10px;
  background: #fff;
}

.author-box h4 {
  margin-bottom: 4px;
  font-size: 18px;
  padding-left: 30px;
  position: relative;
}
.author-box h4:before{
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 23px;
    height: 18px;
    background-image: url(../img/book.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;

}

.author-box p {
  margin-bottom: 0;
  font-size: 13px;
  line-height: 1.55;
}

.characters {
  padding: 40px 0 72px;
}

.character-main-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-bottom: 38px;
}

.character-card {
  display: grid;
  grid-template-columns: 196px 1fr;
  height: 302px;
  overflow: hidden;
  border-radius: 10px;
  background: #fff;
}

.character-photo {
  position: relative;
  overflow: hidden;
  border-radius: 10px 0 0 10px;
}

.character-photo img {
  position: absolute;
  top: -5px;
  width: 187px;
  height: 308px;
  max-width: none;
  object-fit: contain;
  object-position: center top;
}


.character-body {
  padding: 13px 14px 12px 14px;
}

.character-body h3 {
  margin-bottom: 0;
  font-size: 24px;
}

.character-meta {
  margin-bottom: 10px;
  color: var(--gray);
  font-size: 14px;
}

.character-body > p:last-child {
  margin-bottom: 0;
  font-size: 16px;
  line-height: 1.55;
}

.character-body strong {
  position: relative;
  z-index: 1;
  color: #fff;
  padding: 0 2px;
  background-image: linear-gradient(
    to bottom,
    transparent 4%,
    var(--blue) 4%,
    var(--blue) 96%,
    transparent 96%
  );
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.hero-copy strong,
.canal-text strong,
.character-body strong {
  background-repeat: no-repeat;
  background-position: left top;
  background-size: 0% 100%;
  transition: background-size .8s cubic-bezier(.22, 1, .36, 1);
}

.hero-copy strong.is-marker-visible,
.canal-text strong.is-marker-visible,
.character-body strong.is-marker-visible {
  background-size: 100% 100%;
}

@media (prefers-reduced-motion: reduce) {
  .hero-copy strong,
  .canal-text strong,
  .character-body strong {
    background-size: 100% 100%;
    transition: none;
  }
}

.character-sub-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.character-sub-grid article {
  min-height: 162px;
  padding: 11px 24px 15px;
  border-radius: 10px;
  background: #fff;
}

.character-sub-grid h3 {
  margin-bottom: 2px;
  font-size: 20px;
}

.character-sub-grid p {
  margin: 5px 0 0;
  font-size: 16px;
  line-height: 1.55;
}

.tag {
  display: inline-block;
  padding: 1px 14px 2px;
  border-radius: 10px;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
}

.tag-orange { background: var(--orange); }
.tag-green { background: var(--green); }
.tag-red { background: var(--red); }

.story {
  padding: 40px 0 90px;
}

.story-card {
  padding: 31px 48px 28px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 0 12px rgba(33, 41, 96, .25);
}

.story-intro,
.story-outro {
  font-size: 18px;
  line-height: 1.45;
  text-align: center;
}

.story-intro p {
  margin-bottom: 2px;
}

.story-intro p:nth-last-child(1) {
  margin-top: 20px;
}

.story-intro strong {
  color: var(--blue);
}

.dialogue {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 17px auto;
}
.dialogue-right{
    justify-content: right;
    margin-right: 132px;
}

.dialogue-avatar {
  position: relative;
  flex: 0 0 126px;
  width: 126px;
  height: 126px;
  overflow: hidden;
  background: #fff;
}

.dialogue-avatar img {
  position: absolute;
  width: 122px;
  max-width: none;
  height: 122px;
  object-fit: contain;
}

.dialogue-text {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 460px;
  min-height: 70px;
  padding: 10px 21px;
  border-radius: 10px;
  background: var(--blue);
  color: #fff;
  font-size: 18px;
  line-height: 1.45;
  max-width: 100%;
  letter-spacing: 5%;
}
.dialogue-text:before{
    content: "";
    position: absolute;
    width: 20px;
    height: 22px;
    background-color: var(--blue);
    clip-path: polygon(0 0, 100% 50%, 0 100%);
    right: -15px;
    top: 0;
    bottom: 0;
    margin: auto;
    z-index: 2;
}
.dialogue-left{
    justify-content: left;
}

.dialogue-left .dialogue-text {
  background: var(--blue-dark);
  width: 780px;
}
.dialogue-left .dialogue-text::before{
    transform: rotate(180deg);
    background-color: var(--blue-dark);
    right: auto;
    left: -15px;
}

.dialogue-text b {
  display: block;
}

.dialogue-text strong {
  color: var(--yellow);
  font-weight: 900;
}

.story-outro {
  margin: 24px 0 0;
}

.courses {
  padding: 40px 0 72px;
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 40px;
}

.course-card {
  display: grid;
  grid-template-columns: 270px 1fr;
  height: 199px;
  overflow: hidden;
  border-radius: 10px;
  background: #f8f8f8;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .04);
}

.course-card > img {
  width: 270px;
  height: 199px;
  object-fit: cover;
}


.course-name {
  margin-bottom: 0;
  color: var(--course-color);
  font-size: 17px;
  font-weight: 700;
}

.course-card .course-title{
  background-color: var(--course-color);
  color: #FFF;
}
.course-card h3 {
  font-size: 22px;
  line-height: 1.35;
  padding: 20px 14px;
  margin: 0;
}


.course-card span {
  display: inline-block;
  border-radius: 4px;
  color: #6C6C6C;
  font-size: 16px;
}
.course-text{
    padding: 14px;
    letter-spacing: 5%;
}
.course-text p{
    font-size: 16px;
    font-weight: 500;
}

.course-blue { --course-color: var(--blue); }
.course-green { --course-color: var(--green); }
.course-orange { --course-color: var(--orange); }
.course-red { --course-color: var(--red); }

.howto {
  padding: 40px 0 72px;
}

.step-list {
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step-list li {
  display: flex;
  align-items: center;
  min-height: 88px;
}

.step-list li:last-child {
  border-bottom: 0;
}

.step-number {
  display: grid;
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  margin-right: 13px;
  place-items: center;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--blue);
  font-family: Manrope, Arial, sans-serif;
  font-size: 32px;
  font-weight: 800;
  line-height: 1;
}

.step-list h3 {
  margin-bottom: 0;
  color: var(--yellow);
  font-size: 24px;
}

.step-list p {
  margin-bottom: 0;
  color: #fff;
  font-size: 16px;
  line-height: 1.5;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: grid;
  min-height: 118px;
  padding: 20px 12px;
  place-items: center;
  border-radius: 50%;
  color: #FFF;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
}

.model-plan {
  padding: 48px 0 38px;
}

.model-plan .section-title {
  margin-bottom: 38px;
  font-size: 32px;
}

.model-plan-layout {
  display: grid;
  grid-template-columns: 640px 360px;
  justify-content: space-between;
  margin: 0 auto;
}

.timeline {
  position: relative;
}

.timeline::before {
  position: absolute;
  top: 10px;
  bottom: 19px;
  left: 10px;
  width: 5px;
  height: calc(100% - 44px);
  content: "";
  background: var(--blue);
}

.timeline > div {
  position: relative;
  min-height: 62px;
  padding-left: 48px;
  padding-bottom: 32px;
}

.timeline > div:nth-child(3) { min-height: 80px; }
.timeline > div:nth-child(5) { min-height: 92px; }
.timeline > div:nth-child(6) { min-height: 58px; }
.timeline > div:nth-child(7) { min-height: 100px; }
.timeline > div:nth-child(8) { min-height: 54px; }
.timeline > div:nth-child(9) { min-height: 42px; padding-bottom: 0; }

.timeline > div:nth-child(3)::after,
.timeline > div:nth-child(5)::after,
.timeline > div:nth-child(7)::after {
    position: absolute;
    top: 50%;
    left: -6px;
    width: 39px;
    height: 23px;
    content: "";
    background: var(--yellow) url("../img/train.svg") center / contain no-repeat;
}

.timeline > div::before {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 1px;
  width: 23px;
  height: 23px;
  content: "";
  background: #19b1ef;
  border-radius: 50%;
}

.timeline time {
  display: block;
  color: var(--blue);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.25;
}

.timeline p {
  width: auto;
  margin: 2px 0 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.35;
}

.model-plan-gallery {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.model-plan-photo {
  position: relative;
  isolation: isolate;
  width: 200px;
  height: 135px;
  margin: 0;
  box-shadow: -12px 14px 0 var(--photo-accent);
    border-radius: 10px;
}

.model-plan-photo:nth-child(odd) {
  margin-left: 160px;
}


.model-plan-photo img {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  object-fit: cover;
}

.model-plan-photo-red { --photo-accent: var(--red); }
.model-plan-photo-green { --photo-accent: var(--green); }
.model-plan-photo-orange { --photo-accent: var(--orange); }
.model-plan-photo-blue { --photo-accent: var(--blue); }

.model-plan-photo-red img { object-position: center 55%; }
.model-plan-photo-green img { object-position: center 54%; }
.model-plan-photo-orange img { object-position: center 54%; }
.model-plan-photo-blue img { object-position: center 58%; }

.timeline-note {
  width: 640px;
  margin: 20px auto 40px;
  line-height: 1.65;
  text-align: center;
}

.novelty {
  padding: 40px 0 72px;
}

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

.novelty-card {
  display: grid;
  grid-template-columns: 260px 1fr;
  overflow: hidden;
  border-radius: 10px;
  background: #ededed;
}

.novelty-images {
  background: #ededed;
  padding: 14px 111px 85px 18px;
  position: relative;
}

.novelty-images img {
  width: 141px;
  height: 209px;
  object-fit: cover;
  box-shadow: 4px 4px 4px rgba(0, 0, 0, .25);
}
.novelty-images img.img02{
    position: absolute;
    right: 22px;
    bottom: 14px;
}

.prize-image {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #EDEDED;
}

.prize-image img {
  width: 187px;
  height: 255px;
  object-fit: cover;
  object-position: left center;
  box-shadow: 4px 4px 4px rgba(0, 0, 0, .25);
}

.novelty-body {
  background-color: #FFFED8;
}

.novelty-body h3 {
  margin-bottom: 0;
  color: var(--blue);
  font-size: 24px;
  line-height: 1.25;
  background-color: var(--yellow);
  padding: 20px 24px;
}

.novelty-body h3 small {
  display: block;
  font-size: 16px;
}
.novelty-content{
    padding: 20px 12px;
}
.novelty-body p {
  margin-bottom: 10px;
  color: var(--gray);
  line-height: 1.2;
  color: #6C6C6C;
}

.novelty-body span {
  display: block;
  color: #000;
  margin-top: 16px;
  line-height: 1.45;
}

.faq-section {
  padding: 40px 0 72px;
}

.faq-card,
.caution-card {
  padding: 10px 68px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 0 12px rgba(33, 41, 96, .25);
}

.faq-card dl {
  margin: 0;
}

.faq-card dl > div {
  position: relative;
  padding: 16px 0 15px 20px;
  border-bottom: 2px solid #ededed;
}

.faq-card dl > div:last-child {
  border-bottom: 0;
}

.faq-card dt,
.faq-card dd {
  position: relative;
  margin: 0;
  padding-left: 20px;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0;
}

.faq-card dt {
  font-weight: 800;
}

.faq-card dt::before,
.faq-card dd::before {
  position: absolute;
  left: 0;
  font-weight: 800;
}

.faq-card dt::before {
  content: "Q";
  color: var(--ink);
}

.faq-card dd::before {
  content: "A";
  color: var(--blue);
}

.caution-title {
  margin-top: 38px;
  margin-bottom: 35px;
}

.caution-card {
  padding-top: 24px;
  padding-bottom: 24px;
}

.caution-card ul {
  margin: 0;
  padding-left: 1.2em;
}

.caution-card li {
  font-size: 16px;
  line-height: 1.5;
}

.access {
  padding: 40px 0 72px;
}

.access-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.access-card {
  overflow: hidden;
  border-radius: 10px;
  background: #d9d9d9;
}

.access-card header {
  min-height: 64px;
  padding: 6px 12px 5px;
  background: var(--access-color);
  color: #fff;
  text-align: center;
}

.access-card h3 {
  margin: 0;
  font-size: 23px;
  line-height: 1.35;
}

.access-card header p {
  margin: 0;
  font-size: 15px;
  line-height: 1.4;
}

.map-placeholder {
  display: grid;
  place-items: center;
  border: 5px solid var(--access-color);
  border-top: 0;
  font-weight: 600;
}

.access-red { --access-color: var(--red); }
.access-blue { --access-color: var(--blue); }
.access-green { --access-color: var(--green); }
.access-orange { --access-color: var(--orange); }

.contact-button {
  display: flex;
  width: max-content;
  margin: 32px auto 0;
}

.guide {
  padding: 40px 0 40px;
}

.guide-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  align-items: center;
  width: 816px;
  min-height: 305px;
  margin: 0 auto;
  padding: 22px 50px 22px 22px;
  border-radius: 10px;
  background: var(--pale-blue);
}

.guide-card > img {
  justify-self: center;
  width: 207px;
  height: 255px;
  object-fit: cover;
}

.guide-card p {
  margin-bottom: 18px;
  font-size: 16px;
  line-height: 1.55;
}

.site-footer {
  min-width: 1200px;
  padding: 14px 30px 13px;
  background: #282828;
  color: #fff;
  font-size: 14px;
  line-height: 1.55;
  text-align: center;
}

.site-footer p {
  margin: 0;
}

.hamburger{
    display: none;
}
.header-bg-sp{
    display: none;
}
.pc{
    display: block;
}
.sp{
    display: none;
}
.none{
    display: none;
}
.center{
    text-align: center;
}

@media (max-width: 1500px) {

  .header-logo {
    flex-basis: 280px;
    width: 280px;
  }

  .header-logo img {
    width: 280px;
  }

  .global-nav {
    gap: 18px;
    font-size: 14px;
  }

  .hero-character {
    left: calc(50% - 540px);
  }

  .hero-copy {
    left: calc(50% + 38px);
  }

  .character-card {
    grid-template-columns: 182px 1fr;
  }

  .course-card {
    grid-template-columns: 252px 1fr;
  }

  .course-card > img {
    width: 252px;
  }
}
@media (max-width: 1216px) {
    .site-header{
        position: fixed;
    }
    .global-nav{
        gap: 18px 8px;
        font-size: 12px;
    }
    .header-logo img{
        width: 180px;
    }
    .header-logo {
        width: 180px;
        flex-basis: 180px;
    }
    .header-inner{
        width: 100%;
    }
}
@media (max-width: 970px) {
    .global-nav{
        font-size: 11px;
    }
}
@media (max-width: 890px) {
    .global-nav{
        font-size: 10px;
        margin-left: auto;
        margin-right: 0;
    }
    .header-inner{
        margin: 0;
        justify-content: space-between;
    }
    .header-logo {
        width: 160px;
        flex-basis: 160px;
    }
    .header-logo img {
        width: 160px;
    }
}
@media (max-width: 768px) {
    body{
        min-width: 100%;
        width: 100%;
    }
    .header-logo{
        width: 271px;
        flex-basis: 271px;
    }
    .header-logo img{
        width: 271px;
    }
    .hamburger{
        display: block;
        position: absolute;
        width: 34px;
        height: 25px;
        top: 24px;
        right: 20px;
        cursor: pointer;
    }
    .hamburger:before,
    .hamburger:after{
        content: "";
        position: absolute;
        left: 0;
        width: 100%;
        height: 3px;
        background-color: #FFF;
        border-radius: 999px;
        margin: auto;
        transition: 0.2s ease;
    }
    .hamburger:before{
        top: 0;
    }
    .hamburger:after{
        bottom: 0;
    }
    .hamburger span{
        position: absolute;
        inset: 0;
        width: 100%;
        height: 3px;
        background-color: #FFF;
        border-radius: 999px;
        margin: auto;
        transition: 0.2s ease;
    }
    .hamburger.is-active:before{
        rotate: 45deg;
        bottom: 0;
        width: 42px;
        left: -4px;
    }
    .hamburger.is-active:after{
        rotate: -45deg;
        top: 0;
        width: 42px;
        left: -4px;
    }
    .hamburger.is-active span{
        opacity: 0;
    }
    .global-nav{
        max-height: 76px;
        overflow: hidden;
        flex-flow: column;
        font-size: 16px;
        position: absolute;
        width: 100%;
        left: 0;
        top: calc(100% - 10px);
        background-image: linear-gradient(180deg, #19b1ef, #19b1ef 0%, #19b1ef calc(100% - 90px), transparent calc(100% - 90px) 100%);
        gap: 30px;
        transition: 0.2s ease;
        padding-bottom: 0px;
    }
    .global-nav a{
        padding: 0;
    }
    .global-nav a::after{
        content: none;
    }
    .hamburger.is-active+.global-nav{
        padding-top: 40px;
        padding-bottom: 100px;
        max-height: 600px;
        color: #FFF;
        gap: 20px 30px;
    }
    .global-nav a{
        opacity: 0;
        transition: 0.2s ease;
        color: #FFF;
    }
    .hamburger.is-active+.global-nav a{
        opacity: 1;
    }
    .hamburger.is-active+.global-nav a:hover, 
    .hamburger.is-active+.global-nav a.is-active{
        color: var(--yellow);
    }
    .header-bg-sp{
        display: block;
        position: absolute;
        inset: 0;
        background: url(../img/bg_wave.png) left -32px bottom / 900px 44px repeat;
        pointer-events: none;
        height: 44px;
        top: calc(100% - 92px);
    }
    .header-inner{
        padding: 0 20px;
    }
    .pc{
        display: none;
    }
    .sp{
        display: block;
    }

    .hero{
        height: auto;
        padding-top: 100px;
        padding-bottom: 40px;
        background: var(--yellow);
    }
    .header-bg{
        height: 28px;
        background: url(../img/bg_wave.png) left -32px bottom / 900px 44px repeat;
        top: calc(100% - 32px);
    }
    .hero .sp img{
        width: 334px;
        margin: auto;
    }
    .hero-copy{
        position: static;
        padding: 0 20px;
        width: 100%;
        margin-top: 12px;
    }
    .hero-copy p{
        font-size: 14px;
    }
    .hero-copy p strong{
        font-size: 16px;
    }
    .section-wave{
        width: 1077px;
        height: 28px;
        top: -16px;
    }
    .overview-table{
        width: 100%;
    }
    .overview-table > div{
        grid-template-columns: 1fr;
        text-align: left;
    }
    .overview-table dt{
        text-align: left;
        justify-content: left;
        font-size: 16px;
        padding: 10px 14px;
    }
    .overview-table dd{
        font-size: 14px;
        display: block;
        padding: 10px 15px;
    }
    .container{
        width: calc(100% - 40px);
    }
    .overview-table .overview-time dd{
        padding: 10px 14px;
    }
    .section-title{
        font-size: 32px;
        margin-bottom: 12px;
        letter-spacing: 0;
    }
    .canal-photo{
        width: 335px;
        max-width: 100%;
        order: 1;
        margin: auto;
    }
    .canal-layout{
        display: flex;
        flex-flow: column;
    }
    .canal-text{
        order: 2;
    }
    .canal-text p{
        font-size: 14px;
        line-height: 1.57;
    }
    .pill-center{
        flex-wrap: wrap;
    }
    .works-visual{
        display: none;
    }
    .works-card{
        display: block;
    }
    .works-body{
        padding: 16px 12px;
        font-size: 14px;
    }
    .author-box p{
        font-size: 14px;
    }
    .works-body h3{
        font-size: 18px;
    }
    .character-main-grid{
        display: flex;
        flex-flow: column;
    }
    .character-card{
        display: flex;
        flex-flow: column;
        height: auto;
    }
    .character-photo {
        overflow: auto;
    }
    .character-photo img{
        position: static;
        height: 157px;
        width: 183px;
        object-fit: cover;
        object-position: top center;
        margin: auto;
    }
    .character-body h3{
        font-size: 18px;
    }
    .character-body > p:last-child{
        font-size: 14px;
    }
    .character-meta{
        margin-bottom: 4px;
    }
    .character-sub-grid{
        grid-template-columns: 1fr;
    }
    .character-sub-grid h3{
        font-size: 18px;
    }
    .character-sub-grid p{
        font-size: 14px;
    }
    .character-sub-grid article{
        min-height: auto;
        padding: 12px 16px;
    }
    .tag{
        font-size: 14px;
        font-weight: 400;
        padding: 1px 4px;
        border-radius: 0;
    }
    .dialogue-avatar{
        width: 79px;
        height: 79px;
        flex: 0 0 79px;
    }
    .dialogue-avatar img{
        width: 79px;
        height: 79px;
    }
    .dialogue-text{
        width: calc(100% - 79px - 10px);
    }
    .story-card{
        padding: 10px 14px;
    }
    .dialogue-right{
        margin: 20px 0 0 0;
    }
    .dialogue-text{
        padding: 6px;
        font-size: 14px;
        line-height: 1.56;
    }
    .dialogue{
        gap: 6px;
    }
    .story-outro{
        font-size: 14px;
        text-align: left;
    }
    .story-intro, 
    .story-outro{
        font-size: 14px;
        text-align: left;
        letter-spacing: 0;
    }
    .course-grid{
        display: flex;
        flex-flow: column;
    }
    .course-card{
        grid-template-columns: 50% 50%;
        min-height: 120px;
        height: auto;
    }
    .course-card > img{
        width: 100%;
        height: 100%;
    }
    .course-card h3{
        font-size: 16px;
        padding: 10px 8px;
    }
    .course-text{
        padding: 4px 8px;
    }
    .course-card span{
        font-size: 12px;
    }
    .course-card p{
        font-size: 12px;
    }
    .step-list h3{
        font-size: 16px;
    }
    .step-list p{
        font-size: 12px;
    }
    .step-number{
        width: 38px;
        height: 38px;
        font-size: 22px;
        flex: 0 0 38px;
    }
    .howto{
        padding: 40px 0;
    }
    .feature-list{
        grid-template-columns: repeat(5, 1fr);
        gap: 12px 10px;
        width: 350px;
        max-width: 100%;
        margin: auto;
    }
    .feature-list li{
        width: 102px;
        font-size: 10px;
        padding: 0;
    }
    .feature-list li:nth-child(1) {
    grid-column: 2 / span 2;
    }

    .feature-list li:nth-child(2) {
    grid-column: 4 / span 2;
    }
    .feature-list li:nth-child(3) {
    grid-column: 1 / span 2;
    }

    .feature-list li:nth-child(4) {
    grid-column: 3 / span 2;
    }

    .feature-list li:nth-child(5) {
    grid-column: 5 / span 2;
    }
    .timeline time{
        font-size: 16px;
    }
    .timeline p{
        font-size: 16px;
    }
    .model-plan-gallery{
        display: none;
    }
    .model-plan-layout{
        display: block;
    }
    .timeline-note{
        width: 100%;
        font-size: 12px;
    }
    .novelty-grid{
    grid-template-columns: 1fr;
    }
    .novelty-images img{
        width: 88px;
        height: 130px;
    }
    .novelty-images{
        padding-right: 68px;
        padding-bottom: 52px;
    }
    .novelty-card{
        grid-template-columns: 50% 50%;
    }
    .novelty-body h3{
        font-size: 18px;
        padding: 8px 10px;
    }
    .novelty-body h3 small{
        font-size: 12px;
    }
    .novelty-body p{
        font-size: 10px;
        font-weight: 500;
    }
    .novelty-content{
        padding: 12px 4px;
    }
    .prize-image img{
        width: 116px;
        height: 158px;
    }
    .faq-card, .caution-card{
        padding: 20px;
    }
    .faq-card dl > div:nth-child(1){
        padding-top: 0;
    }
    .faq-card dl > div{
        padding-left: 0;
    }
    .faq-card dt, .faq-card dd{
        font-size: 12px;
    }
    .caution-card li{
        font-size: 12px;
    }
    .access-grid{
        grid-template-columns: 1fr;
    }
    .access-card h3{
        font-size: 24px;
    }
    .access-card header p{
        font-size: 16px;
    }
    .guide-card{
        width: 100%;
        grid-template-columns: 1fr;
        padding: 36px 22px 28px 22px;
    }
    .guide-card p{
        margin: 12px auto;
        font-size: 14px;
    }
    .pill-button{
        padding: 4px 16px;
    }


    .site-footer{
        min-width: auto;
        padding: 16px 20px;
        font-size: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
