@charset "UTF-8";

:root {
  --navy: #2f5873;
  --blue: #0082d7;
  --pink: #ff76af;
  --orange: #ff8034;
  --red: #FF0000;
  --line: rgba(47, 88, 115, 0.07);
  --serif: "Shippori Mincho", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
  --sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --section-padding-bottom: 90px;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

@media (max-width: 1199px) {
  html {
    font-size: 0.8333vw;
  }
}

@media (max-width: 768px) {
  html {
    font-size: min(2.6667vw, 62.5%);
  }
}

body {
  position: relative;
  min-width: 320px;
  background-color: #fff;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 32px 32px;
}

main,
main * {
  box-sizing: border-box;
}

main {
  width: 100%;
  max-width: none;
  overflow: hidden;
  color: var(--navy);
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

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

main .section-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding: 0 20px;
}

main .sp {
  display: none;
}

main .button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(315px, 100%);
  min-height: 55px;
  padding: 9px 24px;
  color: var(--navy);
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  border-radius: 40px;
  transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}
main .button.syugakuseido-button{
  width:32%;
  margin-top: 20px;
}

main .button span{
  display: block;
  font-size: 1.2rem;
}

main a.button::after,
#Procedure .admission-card .button::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 20px;
  width: 8px;
  height: 8px;
  display: inline-block;
  vertical-align: middle;
  color: #333;
  line-height: 1;
  border: 1px solid var(--navy);
  border-left: 0;
  border-bottom: 0;
  box-sizing: border-box;
  transform: translateY(-50%) rotate(45deg);
}

main a.button:hover,
main a.button:focus-visible {
  color: #fff;
  background-color: var(--navy);
  transform: translateY(-2px);
}

main a.button:hover::after,
main a.button:focus-visible::after {
  border-color: #fff;
}

#Materials .materials__nav a:hover,
#Materials .materials__nav a:focus-visible {
  color: var(--navy);
  background-color: #fff;
  opacity: 0.7;
}

main .button--outline {
  border: 1px solid var(--navy);
  background: #fff;
}

main .button--white {
  background: #fff;
}

main .button--left {
  margin-top: 24px;
}

main .button--muted {
  gap: 8px;
  padding-right: 20px;
  color: #777;
  background: #e4e6e7;
  border: 1px solid #aeb8bf;
}

main .button--muted img {
  width: 27px;
  flex: 0 0 27px;
}

main .button--muted .button__text {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
  text-align: center;
}

main .button--muted .button__text b {
  display: inline;
}

main .button--muted b,
main .resource__note b,
main .resource__required,
#Ceremony .resource__inner > p span,
#Materials .materials__nav b {
  color: var(--red);
}

#Header {
  position: relative;
  z-index: 20;
  height: 50px;
  color: #fff;
  font-family: var(--serif);
  background: linear-gradient(106deg, var(--blue) 0%, var(--navy) 68%);
}

#Header .header__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 1200px;
  height: 100%;
  margin-inline: auto;
  padding: 0 20px;
  box-sizing: border-box;
}

#Hero .hero__stage {
  position: relative;
  width: 100%;
}

#Hero .hero__main {
  width: 100%;
}
#Hero .hero__main {
  width: 100%;
}

#Hero .hero__main > img {
  width: 100%;
  max-width: none;
}
#Hero .hero__main > img.sp{
  display: none;
}

#Hero .hero__inner {
  position: absolute;
  inset: 0;
}

#Hero .hero__logo {
  position: absolute;
  top: 25px;
  left: 20px;
  width: 180px;
}

#Hero .hero__title {
  position: absolute;
  top: 50px;
  left: 106px;
  width: min(424px, 39vw);
}

#Hero .hero__title img {
  width: 100%;
}

#Hero .hero__blossom {
  position: absolute;
  z-index: 2;
  pointer-events: none;
}

#Hero .hero__blossom--left {
  bottom: -15%;
  left:0;
  width: 15%;
}

#Hero .hero__blossom--right {
  top: 0;
  right: 0;
  width: 25%;
}
#Hero .hero__blossom--right_bottom{
  bottom: -10%;
  right: 0;
  width: 12%;
}

#Intro .intro__inner {
  padding-top: 8%;
}

#Intro .intro__copy {
  text-align: center;
}

#Intro .intro__copy p {
  margin: 0 auto;
  font-size: 2.5rem;
  line-height: 2.15;
  letter-spacing: 0.05em;
}

#Intro .intro__copy p + p {
  margin-top: 10px;
}

#Intro .intro__copy span {
  color: var(--pink);
  font-size: 4.5rem;
  line-height: 1;
}

#Intro .loop {
  position: relative;
  left: 50%;
  width: 100vw;
  margin-top: 10%;
  overflow: hidden;
  transform: translateX(-50%);
}

#Intro .loop ul {
  display: flex;
  width: max-content;
  gap: 10px;
  animation: loop-scroll 100s linear infinite;
}

#Intro .loop ul li {
  width: 20vw;
  aspect-ratio: 1.5 / 1;
  overflow: hidden;
}

#Intro .loop ul li .skew {
  height: 100%;
  font-size: 0;
}

#Intro .loop ul li img {
  width: 100%;
  height: 100%;
  border-radius: 100px;
  object-fit: cover;
}

@keyframes loop-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

#Preparation .preparation__inner,
#Procedure .procedure__inner,
#Materials .materials__inner {
  padding-top: 34px;
}

#Preparation .section-lead,
#Procedure .section-lead,
#Materials .section-lead {
  display: grid;
  grid-template-columns: 385px minmax(0, 1fr);
  gap: 52px;
  align-items: center;
}

#Preparation .section-lead__title,
#Procedure .section-lead__title,
#Materials .section-lead__title {
  width: 100%;
}

#Preparation .section-lead__title img,
#Procedure .section-lead__title img,
#Materials .section-lead__title img {
  width: 100%;
}

#Preparation .section-lead__box,
#Procedure .section-lead__box,
#Materials .section-lead__box {
  position: relative;
  padding: 28px;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 10px;
  box-shadow: 4px 4px 14px rgba(255, 118, 175, 0.2);
}

#Preparation .section-lead__box p,
#Procedure .section-lead__box p,
#Materials .section-lead__box p {
  font-size: 2.2rem;
  line-height: 1.45;
}

#Preparation .section-lead__box small{
  display: block;
  margin-top: 8px;
  color: red;
  font-size: 1.6rem;
  line-height: 1.5;
}
#Procedure .section-lead__box small,
#Materials .section-lead__box small {
  display: block;
  margin-top: 8px;
  color: var(--navy);
  font-size: 1.3rem;
  line-height: 1.5;
}

#Preparation .preparation__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 36px;
}

#Preparation .preparation-card {
  min-width: 0;
}

#Preparation .preparation-card__inner {
  display: flex;
  flex-direction: column;
  padding: 20px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 4px 4px 14px rgba(255, 118, 175, 0.2);
}

#Preparation .preparation-card__visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 243px;
  color: #fff;
  text-align: center;
  background: linear-gradient(101deg, #ff4c9a 0%, var(--orange) 100%);
  border-radius: 8px;
}

#Preparation .preparation-card__visual img {
  width: 108px;
  height: 102px;
  object-fit: contain;
}

#Preparation .preparation-card__visual h3 {
  min-height: 58px;
  margin-top: 4px;
  font-size: 2.2rem;
  line-height: 1.3;
}

#Preparation .preparation-card__inner > p {
  min-height: 74px;
  padding: 14px 0 10px;
  font-size: 1.5rem;
  line-height: 1.5;
  margin-bottom: 10px;
}

#Preparation .preparation-card small {
  display: block;
  margin-top: 12px;
  color: var(--red);
  font-size: 1.4rem;
  line-height: 1.6;
  padding-left: 14px;
  text-indent: -14px;
}

#Procedure .procedure__inner {
  padding-top: 14px;
}

#Procedure .section-lead__box--guide {
  padding: 24px 28px;
}

#Procedure .section-lead__guide-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 8px;
  border-bottom: 1px dashed rgba(47, 88, 115, 0.45);
}

#Procedure .section-lead__box--guide h3 {
  flex: 0 0 auto;
  color: transparent;
  font-size: 3rem;
  line-height: 1.25;
  background: linear-gradient(101deg, #ff4c9a, var(--orange));
  -webkit-background-clip: text;
  background-clip: text;
}

#Procedure .section-lead__box--guide p {
  margin-top: 8px;
  font-size: 1.7rem;
  line-height: 1.55;
}

#Procedure .section-lead__label {
  flex: 0 0 auto;
  padding: 3px 10px;
  color: #fff;
  font-size: 1.2rem;
  line-height: 1.3;
  white-space: nowrap;
  background: linear-gradient(101deg, #ff4c9a, var(--orange));
  border-radius: 2px;
}

#Procedure .section-lead__attention {
  display: block;
  color: var(--red);
}

#Procedure .procedure__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-top: 50px;
}

#Procedure .admission-card {
  position: relative;
  display: block;
  min-width: 0;
  height: 314px;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
  background: var(--navy);
  border-radius: 10px;
  box-shadow: 0 0 0 1px rgba(47, 88, 115, 0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

main .is-disabled {
  pointer-events: none;
  cursor: default;
}

main a.button.is-disabled::after {
  display: none;
}

#Procedure .admission-card::after {
  content: "";
  position: absolute;
  inset: 40% 0 0;
  background: linear-gradient(180deg, transparent, rgba(47, 88, 115, 0.96));
}

#Procedure .admission-card__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

@media (hover: hover) {
  #Procedure .admission-card:not(.is-disabled):hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 26px rgba(47, 88, 115, 0.24);
  }

  #Procedure .admission-card:not(.is-disabled):hover .admission-card__photo {
    transform: scale(1.04);
  }
}

#Procedure .admission-card:not(.is-disabled):focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 4px;
}

#Procedure .admission-card__label {
  position: absolute;
  z-index: 2;
  top: 20px;
  left: 20px;
  width: 98px;
}

#Procedure .admission-card h3 {
  position: absolute;
  z-index: 2;
  right: 20px;
  bottom: 28px;
  left: 20px;
  font-size: 2.6rem;
  line-height: 1.35;
  text-align: center;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

#Procedure .admission-card .button {
  position: absolute;
  z-index: 3;
  right: 20px;
  bottom: 20px;
  left: 20px;
  width: auto;
  min-height: 55px;
  transform: translateY(0);
}

#Procedure .admission-card:not(.is-disabled):hover .button,
#Procedure .admission-card:not(.is-disabled):focus-visible .button {
  color: #fff;
  background: linear-gradient(101deg, #ff4c9a, var(--orange));
  transform: translateY(-2px);
}

#Procedure .admission-card:not(.is-disabled):hover .button::after,
#Procedure .admission-card:not(.is-disabled):focus-visible .button::after {
  border-color: #fff;
}

#Procedure .admission-card:has(.button) h3 {
  bottom: 90px;
}

#Materials .materials__inner {
  padding-top: 18px;
}

#Materials .section-lead__box p {
  font-size: 1.8rem;
}

#Materials .section-lead__box small {
  color: var(--red);
  font-size: 1.4rem;
}

#Materials .materials__nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 46px;
}

#Materials .materials__nav a {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 97px;
  padding: 12px 0px 12px 164px;
  color: var(--navy);
  font-size: clamp(1.6rem, 1.6667vw, 2rem);
  line-height: 1.35;
  text-align: left;
  background: #fff;
  border-radius: 5px;
  box-shadow: 5px 5px 8px rgba(47, 88, 115, 0.08);
  transition: opacity 0.2s ease;
}

#Materials .materials__nav a > img {
  position: absolute;
  top: 50%;
  left: 14px;
  width: 65px;
  transform: translateY(-50%);
}

#Materials .materials__nav small {
  font-size: clamp(1.3rem, 1.3333vw, 1.6rem);
}

#PreparationTasks .resource__inner,
#Housing .resource__inner,
#Scholarship .resource__inner,
#Learning .resource__inner,
#BYOD .resource__inner,
#Ceremony .resource__inner,
#Decline .resource__inner {
  padding-top: 28px;
}

#PreparationTasks .resource__heading,
#Housing .resource__heading,
#Scholarship .resource__heading,
#Learning .resource__heading,
#BYOD .resource__heading,
#Ceremony .resource__heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

#PreparationTasks .resource__heading img,
#Housing .resource__heading img,
#Scholarship .resource__heading img,
#Learning .resource__heading img,
#BYOD .resource__heading img,
#Ceremony .resource__heading img {
  width: 77px;
  flex: 0 0 77px;
}

#PreparationTasks .resource__heading h2,
#Housing .resource__heading h2,
#Scholarship .resource__heading h2,
#Learning .resource__heading h2,
#BYOD .resource__heading h2,
#Ceremony .resource__heading h2 {
  font-size: 3.5rem;
  line-height: 1.2;
}

#PreparationTasks .resource__inner > p,
#Housing .resource__inner > p,
#Scholarship .resource__inner > p,
#Learning .resource__inner > p,
#BYOD .resource__inner > p,
#Ceremony .resource__inner > p,
#Decline .resource__inner > p {
  font-size: 1.6rem;
  line-height: 1.75;
}

#PreparationTasks .resource__required,
#Ceremony .resource__required {
  margin: 8px 0;
  font-size: 2.2rem;
  line-height: 1.25;
}

#PreparationTasks .resource__note,
#Housing .resource__note,
#Scholarship .resource__note,
#Learning .resource__note,
#Ceremony .resource__note,
#Decline .resource__note {
  margin-top: 22px;
}

#Housing .resource__bar,
#Decline .resource__bar {
  margin-top: 28px;
  padding: 8px 20px;
  color: #fff;
  font-size: 2.2rem;
  line-height: 1.55;
  background: linear-gradient(106deg, var(--blue), var(--navy) 65%);
  border-radius: 5px;
}

#Housing .resource__buttons,
#Scholarship .resource__buttons,
#Learning .resource__buttons,
#Ceremony .resource__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-top: 12px;
}
#Housing .resource__buttons.kibou .button{
  flex-direction: column;
}

#Housing .resource__buttons--three,
#Scholarship .resource__buttons--three,
#Learning .resource__buttons--three {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

#Housing .resource__buttons--three .button,
#Scholarship .resource__buttons--three .button,
#Learning .resource__buttons--three .button {
  width: 100%;
}

#BYOD .resource__inner {
  padding-top: 34px;
}

#Ceremony .resource__inner {
  padding-top: 34px;
}

#Decline .resource__inner {
}

#Decline .resource__bar {
  margin: 0 0 20px;
}

#Message {
  position: relative;
  color: #fff;
  background: url("../images/admission/Message_bg.jpg") center / cover no-repeat;
}

#Message .message__inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding-top: 60px;
  padding-bottom: 20px;
}

#Message .message__inner p {
  align-self: center;
  font-size: 3rem;
  line-height: 1.6;
}

#Message .message__inner img {
  width: 184px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  #Intro .loop ul { animation: none; }
  main .button,
  #Materials .materials__nav a { transition: none; }
}

@media (max-width: 1200px) {
  #Materials .materials__nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
}
@media (max-width: 768px) {
  body {
    background-size: 24px 24px;
  }

  main {
    font-size: 1.4rem;
  }

  main .pc {
    display: none;
  }

  main .sp {
    display: block;
  }

  #Header {
    height: 42px;
  }

  #Hero .hero__main > .sp {
    position: relative;
  }

  #Hero .hero__logo {
    top: 20px;
    left: 20px;
    width: 116px;
  }

  #Intro .intro__inner {
    padding-top: 42px;
  }

  #Intro .intro__copy p {
    font-size: 1.6rem;
    line-height: 2;
    letter-spacing: 0;
  }

  #Intro .intro__copy span {
    font-size: 2.9rem;
  }

  #Intro .loop {
    margin-top: 32px;
  }

  #Intro .loop ul li {
    width: 35vw;
  }

  #Preparation .section-lead,
  #Procedure .section-lead,
  #Materials .section-lead {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  #Preparation .section-lead__title,
  #Procedure .section-lead__title,
  #Materials .section-lead__title {
    width: min(260px, 78vw);
    margin: 0 auto;
  }

  #Preparation .section-lead__box,
  #Procedure .section-lead__box,
  #Materials .section-lead__box {
    padding: 22px 18px;
  }

  #Preparation .section-lead__box p,
  #Procedure .section-lead__box p,
  #Materials .section-lead__box p {
    font-size: 1.7rem;
  }

  #Preparation .preparation__cards,
  #Procedure .procedure__cards {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  #Preparation .preparation-card__inner > p {
    min-height: 0;
  }

  #Preparation .preparation-card__inner {
    min-height: 0;
  }

  #Procedure .section-lead__box--guide {
    padding: 16px 18px;
  }

  #Procedure .section-lead__guide-heading {
    gap: 8px;
    padding-bottom: 6px;
  }

  #Procedure .section-lead__box--guide h3 {
    font-size: clamp(1.5rem, 4.25vw, 1.8rem);
  }

  #Procedure .section-lead__label {
    padding: 2px 6px;
    font-size: clamp(0.8rem, 2.1vw, 1rem);
  }

  #Procedure .section-lead__box--guide p {
    margin-top: 6px;
    font-size: 1.2rem;
    line-height: 1.6;
  }

  #Procedure .admission-card {
    height: 300px;
  }

  #Materials .materials__nav {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  #Materials .materials__nav a > img {
    top: 9px;
    left: 50%;
    width: 58px;
    transform: translateX(-50%);
  }

  #PreparationTasks .resource__heading img,
  #Housing .resource__heading img,
  #Scholarship .resource__heading img,
  #Learning .resource__heading img,
  #BYOD .resource__heading img,
  #Ceremony .resource__heading img {
    width: 58px;
    flex-basis: 58px;
  }

  #PreparationTasks .resource__heading h2,
  #Housing .resource__heading h2,
  #Scholarship .resource__heading h2,
  #Learning .resource__heading h2,
  #BYOD .resource__heading h2,
  #Ceremony .resource__heading h2 {
    font-size: 2.3rem;
  }

  #Housing .resource__bar,
  #Decline .resource__bar {
    font-size: 1.7rem;
  }

  #Housing .resource__buttons--three,
  #Scholarship .resource__buttons--three,
  #Learning .resource__buttons--three {
    grid-template-columns: 1fr;
  }

  main .button {
    width: 100%;
    font-size: 1.2rem;
  }

  #Message .message__inner {
    display: block;
    padding-top: 42px;
    padding-bottom: 22px;
  }

  #Message .message__inner p {
    font-size: 1.9rem;
    line-height: 1.75;
  }

  #Message .message__inner img {
    width: 142px;
    margin: 38px 0 0 auto;
  }
}

/* 2026 Figma revision */
:root {
  --salmon: #fc8d94;
}

main .section-inner {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 20px;
}

#Intro .intro__inner,
#Preparation .preparation__inner,
#Procedure .procedure__inner,
#Materials .materials__inner,
#PreparationTasks .resource__inner,
#Housing .resource__inner,
#Scholarship .resource__inner,
#Learning .resource__inner,
#BYOD .resource__inner,
#Ceremony .resource__inner,
#Decline .resource__inner {
  padding-bottom: var(--section-padding-bottom);
}

#Header {
  background: var(--salmon);
}

#Header .header__inner {
  position: relative;
  max-width: 1280px;
}

#Header .header__logo {
  position: absolute;
  top: 50%;
  left: 20px;
  width: 132px;
  height: auto;
  transform: translateY(-50%);
}

#Header .header__title {
  width: 280px;
  font-size: 0;
}

#Header .header__title img {
  display: block;
  width: 100%;
  height: auto;
}

#Hero .hero__main > img {
  width: 100%;
  max-width: none;
}

.intro-procedure {
  background: linear-gradient(180deg, transparent 0%, #ffe3ef 50%, transparent 100%);
}

#Intro {
  position: relative;
  background: none;
}

#Intro .intro__inner {
  padding-top: 54px;
}

#Intro .intro__copy {
  position: relative;
  z-index: 2;
}

#Intro .intro__copy h2 {
  display: inline-block;
  padding: 0 4px 3px;
  color: var(--pink);
  font-size: 4.5rem;
  line-height: 1.22;
  letter-spacing: 0.07em;
  border-bottom: 5px double var(--pink);
}

#Intro .intro__copy p {
  font-size: 3rem;
  line-height: 2;
  letter-spacing: 0.07em;
}

#Intro .intro__copy h2 + p {
  margin-top: 12px;
}

#Intro .intro__copy p + p {
  margin-top: 14px;
}

#Intro .intro__copy span {
  color: var(--pink);
  font-size: inherit;
  line-height: inherit;
}

#Intro .intro__petals {
  position: absolute;
  z-index: 1;
  top: 5px;
  width: 197px;
  height: 374px;
  object-fit: cover;
  filter: blur(2px);
  pointer-events: none;
}

#Intro .intro__petals--left {
  left: -70px;
  object-position: left top;
}

#Intro .intro__petals--right {
  right: -70px;
  object-position: right top;
}

#Preparation .section-lead__box,
#Procedure .section-lead__box,
#Materials .section-lead__box {
  box-sizing: border-box;
}

#Preparation .preparation-card__inner {
  box-sizing: border-box;
}

#Preparation .preparation-card__visual img {
  width: 144px;
  height: 136px;
}

#Preparation .preparation-card__visual h3 {
  margin-top: 0;
  font-size: 2.4rem;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 10px;
}

#Preparation .preparation-card__inner > p {
  margin-bottom: 0;
  font-size: 1.6rem;
}

#Procedure .admission-card::after {
  display: none;
}

#Procedure .admission-card--athlete {
  background: #f49c2a;
}

#Procedure .admission-card--recommendation {
  background: #57ac45;
}

#Procedure .admission-card--general {
  background: #499dd5;
}

#Procedure .admission-card h3,
#Procedure .admission-card:has(.button) h3 {
  top: 25px;
  right: 20px;
  bottom: auto;
  left: 20px;
  font-size: 2.8rem;
  line-height: 1.35;
  text-shadow: none;
}

#Procedure .admission-card__status {
  position: absolute;
  right: 0;
  bottom: 45px;
  left: 0;
  width: 126px;
  margin: auto;
}

#Procedure .admission-card .button {
  right: 20px;
  bottom: 21px;
  left: 20px;
}

#Materials .materials__nav a {
  overflow: hidden;
  line-height: 1.4;
}

#Materials .materials__nav .materials__icon {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 97px;
  background: var(--salmon);
  border-radius: 5px 0 0 5px;
}

#Materials .materials__nav .materials__icon img {
  position: static;
  width: 65px;
  height: 61px;
  transform: none;
}

#Materials .materials__nav .materials__number {
  position: absolute;
  top: 50%;
  left: 110px;
  width: 40px;
  font-family: "DIN 2014", Arial, sans-serif;
  font-size: clamp(3.2rem, 3.3333vw, 4rem);
  font-weight: 400;
  line-height: 1;
  text-align: center;
  transform: translateY(-50%);
}

#Materials .materials__nav-item--01 .materials__number { color: #f3678b; }
#Materials .materials__nav-item--02 .materials__number { color: #59beed; }
#Materials .materials__nav-item--03 .materials__number { color: #f4bc50; }
#Materials .materials__nav-item--04 .materials__number { color: #8cbb7d; }
#Materials .materials__nav-item--05 .materials__number { color: #ac9fdd; }
#Materials .materials__nav-item--06 .materials__number { color: #f08965; }

#Materials .materials__nav .materials__required {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 62px;
  color: var(--pink);
  font-size: clamp(1.2rem, 1.25vw, 1.5rem);
  line-height: 1.47;
  text-align: center;
  background: #fff;
  border: 1px solid var(--pink);
}

#PreparationTasks .resource__heading,
#Housing .resource__heading,
#Scholarship .resource__heading,
#Learning .resource__heading,
#BYOD .resource__heading,
#Ceremony .resource__heading {
  min-height: 72px;
  margin-bottom: 14px;
  padding: 5px 14px;
  color: #fff;
  background: var(--salmon);
  border-radius: 5px;
  box-shadow: 3px 3px 4px #ffd7e8;
}

#PreparationTasks .resource__heading img,
#Housing .resource__heading img,
#Scholarship .resource__heading img,
#Learning .resource__heading img,
#BYOD .resource__heading img,
#Ceremony .resource__heading img {
  width: 65px;
  height: 61px;
  flex: 0 0 65px;
  object-fit: contain;
}

.resource__number {
  width: 43px;
  flex: 0 0 43px;
  color: #fff;
  font-family: "DIN 2014", Arial, sans-serif;
  font-size: 4rem;
  font-weight: 400;
  line-height: 1;
  text-align: center;
}

#PreparationTasks .resource__heading h2,
#Housing .resource__heading h2,
#Scholarship .resource__heading h2,
#Learning .resource__heading h2,
#BYOD .resource__heading h2,
#Ceremony .resource__heading h2 {
  color: #fff;
  font-size: 2.8rem;
  line-height: 1.2;
}

#PreparationTasks .resource__required,
#Ceremony .resource__required {
  margin: 8px 0;
  font-size: 1.6rem;
  line-height: 1.6;
}

#Housing .resource__bar {
  position: relative;
  min-height: 50px;
  margin-top: 48px;
  padding: 8px 16px 8px 32px;
  color: var(--navy);
  font-size: 1.6rem;
  line-height: 2;
  background: none;
  border-radius: 5px;
  box-shadow: none;
}

#Housing .resource__bar::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 20px;
  background: var(--salmon);
  border-radius: 5px;
}

#Housing .resource__buttons {
  gap: 16px 24px;
  margin-top: 18px;
  margin-bottom: 8px;
}

#Decline .resource__bar {
  margin: 0 0 10px;
  padding: 8px 20px;
  color: #fff;
  font-size: 1.6rem;
  line-height: 2;
  background: #9a86db;
  border-radius: 5px;
}

main .button--muted {
  background: #d9d9d9;
}

#Message {
  background: url("../images/admission/Message_bg.jpg") center / cover no-repeat;
}

#Message .message__inner {
  align-items: flex-end;
  padding-top: 66px;
  padding-bottom: 66px;
}

#Message .message__inner .message__copy {
  align-self: center;
  width: 488px;
}

#Message .message__inner .message__logo {
  width: 180px;
  margin-bottom: -45px;
}

@media (min-width: 769px) {
  #Preparation .section-lead,
  #Procedure .section-lead {
    grid-template-columns: 373px 675px;
    gap: 52px;
  }

  #Preparation .section-lead__box {
    min-height: 223px;
    padding: 38px 29px;
  }

  #Preparation .section-lead__box p {
    font-size: 2.8rem;
    line-height: 1.55;
  }

  #Preparation .section-lead__box small {
    font-size: 1.3rem;
  }

  #Preparation .preparation__cards {
    gap: 18px;
    margin-top: 36px;
  }

  #Preparation .preparation-card__inner {
    height: 425px;
  }

  #Preparation .preparation-card__inner > p {
    min-height: 86px;
    padding-top: 14px;
  }

  #Procedure .section-lead__box--guide {
    min-height: 250px;
    padding: 24px 29px;
  }

  #Procedure .section-lead__box--guide h3 {
    font-size: 3rem;
  }

  #Procedure .section-lead__box--guide p {
    font-size: 1.7rem;
  }

  #Procedure .procedure__cards {
    gap: 18px;
    margin-top: 48px;
  }

  #Procedure .admission-card {
    height: 205px;
  }

  #Materials .section-lead {
    grid-template-columns: 385px 675px;
    gap: 40px;
  }

  #Materials .section-lead__box {
    min-height: 255px;
    padding: 20px 22px;
  }

  #Materials .materials__nav {
    gap: 10px;
    margin-top: 50px;
  }

  #PreparationTasks .resource__inner,
  #Housing .resource__inner,
  #Scholarship .resource__inner,
  #Learning .resource__inner,
  #BYOD .resource__inner,
  #Ceremony .resource__inner,
  #Decline .resource__inner {
    padding-top: 20px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding-bottom: 62px;
  }

  #Header .header__logo {
    left: 10px;
    width: 82px;
  }

  #Header .header__title {
    width: min(180px, 50vw);
  }

  #Intro .intro__inner {
    padding-top: 38px;
  }

  #Intro .intro__copy h2 {
    font-size: clamp(2.3rem, 7.2vw, 3rem);
    border-bottom-width: 3px;
  }

  #Intro .intro__copy p {
    font-size: 1.5rem;
    line-height: 2;
  }

  #Intro .intro__copy h2 + p {
    margin-top: 18px;
  }

  #Intro .intro__petals {
    top: 18px;
    opacity: 0.5;
  }

  #Intro .intro__petals--left { left: -98px; }
  #Intro .intro__petals--right { right: -88px; }

  #Preparation .preparation-card__inner {
    padding: 16px;
  }

  #Preparation .preparation-card__visual img {
    width: 124px;
    height: 117px;
  }

  #Procedure .admission-card {
    height: 205px;
  }

  #Procedure .admission-card h3,
  #Procedure .admission-card:has(.button) h3 {
    font-size: 2.4rem;
  }

  #Materials .materials__nav .materials__icon {
    top: 0;
    right: 0;
    bottom: auto;
    width: 58px;
    height: 58px;
    margin: auto;
    border-radius: 0 0 5px 5px;
  }

  #Materials .materials__nav .materials__icon img {
    width: 46px;
    height: 43px;
  }

  #Materials .materials__nav .materials__number {
    top: 41px;
    left: 8px;
    width: 36px;
    transform: none;
  }

  #Materials .materials__nav .materials__required {
    top: 5px;
    right: 5px;
    width: 42px;
    line-height: 1.64;
  }

  #PreparationTasks .resource__heading,
  #Housing .resource__heading,
  #Scholarship .resource__heading,
  #Learning .resource__heading,
  #BYOD .resource__heading,
  #Ceremony .resource__heading {
    min-height: 58px;
    gap: 5px;
    padding: 4px 8px;
  }

  #PreparationTasks .resource__heading img,
  #Housing .resource__heading img,
  #Scholarship .resource__heading img,
  #Learning .resource__heading img,
  #BYOD .resource__heading img,
  #Ceremony .resource__heading img {
    width: 48px;
    height: 45px;
    flex-basis: 48px;
  }

  .resource__number {
    width: 32px;
    flex-basis: 32px;
    font-size: 2.8rem;
  }

  #PreparationTasks .resource__heading h2,
  #Housing .resource__heading h2,
  #Scholarship .resource__heading h2,
  #Learning .resource__heading h2,
  #BYOD .resource__heading h2,
  #Ceremony .resource__heading h2 {
    font-size: clamp(1.6rem, 4.4vw, 2.1rem);
  }

  #PreparationTasks .resource__required,
  #Ceremony .resource__required {
    font-size: 1.4rem;
  }

  #Message .message__inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding-top: 42px;
    padding-bottom: 22px;
  }

  #Message .message__inner .message__copy {
    width: min(100%, 360px);
    margin: 0;
  }

  #Message .message__inner .message__logo {
    width: 142px;
    margin: 30px 0 0 auto;
  }
}

/* Figma typography and responsive line-break refinements */
main .br-sp {
  display: none;
}

main .br-pc {
  display: inline;
}

#Intro .intro__copy h2 {
  position: relative;
  padding: 0 4px 12px;
  border-bottom: 0;
}

#Intro .intro__copy h2::after {
  content: "";
  position: absolute;
  right: 4px;
  bottom: 10px;
  left: 4px;
  height: 15px;
  background: #FFF676;
  z-index: -1;
}

#Intro .intro__copy span {
  position: relative;
  display: inline-block;
}

#Intro .intro__copy span::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 12px;
  left: 0;
  height: 10px;
  background: #FFF676;
  z-index: -1;
}

main .button {
  font-size: 1.6rem;
  line-height: 1.5;
}

main .button--muted {
  font-size: 1.4rem;
  line-height: 1.57;
}

#Preparation .section-lead__box p {
  font-size: 3rem;
  line-height: 1.43;
  letter-spacing: 1.5px;
}

#Preparation .section-lead__box small {
  font-size: 2rem;
  line-height: 1;
}

#Preparation .preparation-card__visual h3 {
  font-size: 2.4rem;
  line-height: 1.21;
}

#Preparation .preparation-card__inner > p {
  position: relative;
  font-size: 1.6rem;
  line-height: 1.5;
}
#Preparation .preparation-card__inner > p span{
  position: relative;
  z-index: 0;
}
#Preparation .preparation-card:first-of-type .preparation-card__inner > p span::after{
  content: "";
  position: absolute;
  bottom: 0px;
  left: 0;
  width: 100%;
  height: 10px;
  background: #FFF676;
  z-index: -1;
}

#Preparation .preparation-card small {
  font-size: 1.2rem;
  line-height: 1.42;
}

#Procedure .section-lead__box--guide h3 {
  font-size: 3.2rem;
  line-height: 1.44;
}

#Procedure .section-lead__label {
  order: -1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 280px;
  min-height: 42px;
  padding: 0 10px;
  font-size: 2.5rem;
  line-height: 1;
  border-radius: 7px;
}

#Procedure .section-lead__box--guide p {
  font-size: 2.2rem;
  line-height: 1.59;
  letter-spacing: 1.32px;
}

#Procedure .section-lead__attention {
  display: inline;
}

#Materials .section-lead__box p {
  font-size: 2.2rem;
  line-height: 1.59;
  letter-spacing: -0.22px;
}

#Materials .section-lead__box small {
  font-size: 1.8rem;
  line-height: 1.67;
}

#Materials .materials__nav a {
  line-height: 1.05;
}

#Materials .materials__nav small {
  line-height: 1.31;
}

.resource__number {
  line-height: 0.6;
}

#PreparationTasks .resource__heading h2,
#Housing .resource__heading h2,
#Scholarship .resource__heading h2,
#Learning .resource__heading h2,
#BYOD .resource__heading h2,
#Ceremony .resource__heading h2 {
  font-size: 2.8rem;
  line-height: 1;
}

#PreparationTasks .resource__inner > p,
#Housing .resource__inner > p,
#Scholarship .resource__inner > p,
#Learning .resource__inner > p,
#BYOD .resource__inner > p,
#Ceremony .resource__inner > p,
#Decline .resource__inner > p {
  font-size: 1.8rem;
  line-height: 1.56;
}

#PreparationTasks .resource__required,
#Ceremony .resource__required {
  font-size: 1.8rem;
  line-height: 1.56;
}

#Housing .resource__bar,
#Decline .resource__bar {
  font-size: 2.2rem;
}

@media (min-width: 769px) {
  #Preparation .section-lead,
  #Procedure .section-lead {
    grid-template-columns: minmax(0, 373fr) minmax(0, 675fr);
    gap: clamp(24px, 4vw, 52px);
  }

  #Materials .section-lead {
    grid-template-columns: minmax(0, 385fr) minmax(0, 675fr);
    gap: clamp(24px, 3.125vw, 40px);
  }

  #Procedure .section-lead__box--guide h3 {
    font-size: clamp(2.2rem, 2.5vw, 3.2rem);
  }

  #Procedure .section-lead__label {
    width: clamp(160px, 21.875vw, 280px);
    font-size: clamp(1.6rem, 1.95vw, 2.5rem);
  }
}

@media (max-width: 768px) {
  main .br-pc {
    display: none;
  }

  main .br-sp {
    display: inline;
  }

  #Intro .intro__copy h2 {
    padding-bottom: 9px;
    font-size: clamp(2rem, 6.2vw, 3rem);
    line-height: 1.3;
  }

  #Intro .intro__copy h2::after {
    height: 4px;
  }

  #Intro .intro__copy p {
    font-size: clamp(1.5rem, 5.1vw, 6rem);
    line-height: 2;
    letter-spacing: 0.04em;
  }

  #Intro .intro__copy span::after {
    height: 5px;
  }

  main .button,
  main .button--muted {
    font-size: 1.4rem;
    line-height: 1.5;
  }

  #Preparation .section-lead__box p {
    font-size: 2rem;
    line-height: 1.6;
    letter-spacing: 0.04em;
  }

  #Preparation .section-lead__box small {
    font-size: 1.3rem;
    line-height: 1.7;
  }

  #Preparation .preparation-card__visual h3 {
    font-size: 2rem;
    line-height: 1.4;
  }

  #Preparation .preparation-card__inner > p {
    font-size: 1.5rem;
    line-height: 1.65;
  }

  #Procedure .section-lead__guide-heading {
    justify-content: flex-start;
  }

  #Procedure .section-lead__box--guide h3 {
    font-size: 2rem;
    line-height: 1.4;
  }

  #Procedure .section-lead__label {
    order: 0;
    width: auto;
    min-height: 0;
    padding: 4px 8px;
    font-size: 1.2rem;
    border-radius: 4px;
  }

  #Procedure .section-lead__box--guide p {
    font-size: 1.4rem;
    line-height: 1.75;
    letter-spacing: 0;
  }

  #Materials .section-lead__box p {
    font-size: 1.6rem;
    line-height: 1.75;
    letter-spacing: 0;
  }

  #Materials .section-lead__box small {
    font-size: 1.3rem;
    line-height: 1.7;
  }

  #Materials .materials__nav small {
    line-height: 1.4;
  }

  #Materials .materials__nav .materials__icon {
    top: 0;
    right: auto;
    bottom: 0;
    left: 0;
    width: 76px;
    height: auto;
    margin: 0;
    border-radius: 5px 0 0 5px;
  }

  #Materials .materials__nav .materials__icon img {
    width: 50px;
    height: 47px;
  }

  #Materials .materials__nav .materials__number {
    top: 50%;
    left: 82px;
    width: 40px;
    line-height: 1;
    transform: translateY(-50%);
  }

  #Materials .materials__nav .materials__required {
    top: 8px;
    right: 8px;
    width: 44px;
    line-height: 1.67;
  }

  .resource__number {
    font-size: 2.8rem;
    line-height: 0.79;
  }

  #PreparationTasks .resource__heading h2,
  #Housing .resource__heading h2,
  #Scholarship .resource__heading h2,
  #Learning .resource__heading h2,
  #BYOD .resource__heading h2,
  #Ceremony .resource__heading h2 {
    font-size: clamp(1.6rem, 4.6vw, 1.9rem);
    line-height: 1.3;
  }

  #PreparationTasks .resource__inner > p,
  #Housing .resource__inner > p,
  #Scholarship .resource__inner > p,
  #Learning .resource__inner > p,
  #BYOD .resource__inner > p,
  #Ceremony .resource__inner > p,
  #Decline .resource__inner > p {
    font-size: 1.5rem;
    line-height: 1.8;
  }

  #PreparationTasks .resource__required,
  #Ceremony .resource__required {
    font-size: 1.5rem;
    line-height: 1.7;
  }

  #Housing .resource__bar,
  #Decline .resource__bar {
    font-size: 1.6rem;
    line-height: 1.5;
  }
}

@media (min-width: 1200px) {
  #Materials .materials__nav a {
    font-size: 2rem;
  }

  #Materials .materials__nav small {
    font-size: 1.6rem;
  }

  #Materials .materials__nav .materials__number {
    font-size: 4rem;
  }

  #Materials .materials__nav .materials__required {
    font-size: 1.5rem;
  }
}

@media (max-width: 768px) {
  #Materials .materials__nav a {
    font-size: min(6.1026vw, 1.7rem);
    padding: 12px 0px 12px 124px;
  }

  #Materials .materials__nav small {
    font-size: min(3.3333vw, 1.3rem);
  }

  #Materials .materials__nav .materials__number {
    font-size: min(8.2051vw, 3.2rem);
  }

  #Materials .materials__nav .materials__required {
    font-size: min(3.0769vw, 1.2rem);
  }
  main .button.syugakuseido-button{
    width:100%;
  }

  #Header .header__inner{
    justify-content: end;
  }
  #Hero .hero__main > img.sp{
    display: block;
  }
  #Hero .hero__main > img.pc{
    display: none;
  }
}
