html,
body {
  background: url('/img/nurse-fes-2026/sp/hero-background.png') no-repeat center top #5096ff;
  background-size: contain;
  color: #374151;
  border: none;
  box-sizing: border-box;
}

.display-sp {
  display: block;
}

.display-pc,
.display-tablet {
  display: none;
}

header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 2;
  background-color: #0050a8;
}

.header-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1000px;
  margin: auto;
}

.header-nav ul {
  display: flex;
  list-style: none;
  width: 100%;
}

.header-nav ul li {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 0;
  flex-grow: 1;
  flex-basis: 0;
}

.header-nav ul li:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: calc(100% - 20px);
  background-color: #fff;
}

.header-nav ul li a {
  font-family: 'M PLUS Rounded 1c', sans-serif;
  color: #fff;
  font-size: 13px;
  line-height: 1;
  text-align: center;
}

.left-contents {
  max-width: 1200px;
}

.hero {
  margin: auto;
}

h1 {
  margin-bottom: 15px;
}

h1 img {
  width: 100%;
  height: auto;
}

.cta-button {
  padding: 0 18px;
  width: 100%;
  box-sizing: border-box;
}

.cta-button a,
.sponsor-button a {
  background: #ffe600;
  color: #0050a8;
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 340px;
  height: 60px;
  font-size: 18px;
  font-weight: bold;
  position: relative;
  margin: 0 auto;
  filter: drop-shadow(4.23px 5.29px 0 rgba(0, 0, 0, 0.1));
}
.sponsor-button a {
  background: #0050a8;
  color: #fff;
  margin: 0 auto;
  filter: drop-shadow(4.23px 5.29px 0 rgba(0, 0, 0, 0.1));
  border: 1px solid #fff;
  font-weight: normal;
}
.sponsor-button img {
  height: 37px;
  margin-right: 5px;
}
.sponsor-button a p {
  margin-right: 10px;
  line-height: 1.4;
}
.sponsor-button a span {
  font-size: 13px;
  display: block;
}

.sponsor-button a::after,
.cta-button a::after {
  content: '';
  mask: url(/img/nurse-fes-2026/arrow.svg) no-repeat center;
  mask-size: contain;
  background-color: currentColor;
  width: 16px;
  height: 100%;
  position: absolute;
  right: 20px;
  opacity: 1;
  transition: 0.3s;
}

.news-anchor-offset {
  display: block;
  position: relative;
  top: 50px;
  visibility: hidden;
}
.anchor-offset {
  display: block;
  position: relative;
  top: -30px;
  visibility: hidden;
}
#news-container,
[data-container='news'] {
  display: flex;
  gap: 9px;
  width: 100%;
  margin-bottom: 40px !important;
}
.news-pick-up {
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-size: 19px;
  display: flex;
  gap: 6px;
  color: #ffe600;
  writing-mode: vertical-rl;
  transform: rotate(0deg);
}

.news-box {
  max-height: 165px;
  padding: 26px 20px;
  background-color: #fff;
  border-radius: 18px;
  width: 100%;
}

.scroll-area {
  flex-grow: 1;
  max-height: calc(100% - 5px);
  background-color: #fff;
  overflow-y: auto;
}

.news-item {
  align-items: center;
  position: relative;
}

.news-item:not(:last-child) {
  margin-bottom: 10px;
}

.news-head {
  display: flex;
  align-items: center;
  margin-bottom: 5px;
}

.news-date {
  background-color: #ffe600;
  color: #5091ff;
  padding: 3px 5px;
  line-height: 1;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  margin-right: 10px;
  font-size: 10px;
  position: relative;
  display: inline-block;
  border-radius: 4px;
}

.news-line {
  flex-grow: 1;
  height: 1px;
  margin-right: 20px;
  background-color: #cadfff;
  align-self: center;
}

.news-description {
  margin: 0;
  flex-grow: 1;
  padding-bottom: 5px;
}

.news-description a {
  text-decoration: underline;
}

.scroll-area::-webkit-scrollbar {
  width: 6px;
}

.scroll-area::-webkit-scrollbar-track {
  background: #cadfff;
  border-radius: 10px;
}

.scroll-area::-webkit-scrollbar-thumb {
  background-color: #5096ff;
  border-radius: 10px;
}
.title {
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-size: 34px;
  line-height: 1.2;
  color: #ffe600;
}
h2 {
  margin-bottom: 30px;
}
.slash::before,
.slash::after {
  content: '';
  mask-image: url('/img/nurse-fes-2026/slash.svg');
  mask-size: contain;
  background-color: currentColor;
  width: 23px;
  height: 43px;
  margin: 0 7px 0 0;
}
.slash::after {
  margin: 0 0 0 7px;
  transform: scale(-1, 1);
}
main section {
  padding: 45px 18px 120px;
  position: relative;
}

.separator {
  position: absolute;
  z-index: 1;
  top: -74px;
  height: 75px;
  left: 0;
  right: 0;
  text-align: center;
}

.separator::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 75px;
  clip-path: polygon(100% calc(100% - 40%), -40% 100%, 100% 100%);
}

.separator.type2::before {
  clip-path: polygon(100% calc(100% - 95%), calc(100% - 150%) 100%, 100% 100%);
}

.separator img {
  max-width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  position: relative;
  margin: 0 auto;
}

.separator-tablet {
  display: none;
}

/* MOVIE */
#movie {
  background: #ff96c8;
}
#movie .separator::before {
  background: #ff96c8;
}
#movie-container {
  background: #fff;
  border-radius: 20px;
  padding: 32px 15px 28px;
  position: relative;
  background-image: linear-gradient(0deg, transparent calc(100% - 1px), #f0f0f0 calc(100% - 1px)),
    linear-gradient(90deg, transparent calc(100% - 1px), #f0f0f0 calc(100% - 1px));
  background-size: 16px 16px;
  background-repeat: repeat;
  background-position: center center;
}
#movie h2 {
  margin-bottom: 55px;
}
.movie-subtitle {
  position: absolute;
  top: -25px;
  width: 80%;
  height: auto;
  left: 0;
  right: 0;
  text-align: center;
  margin: 0 auto;
}

#movie h3 {
  color: #0050a8;
  font-size: 21px;
  line-height: 1.2;
  text-align: center;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-bottom: 16px;
}
#movie iframe {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
}

/* ABOUT */
#about {
  background-color: #5096ff;
}
#about .separator::before {
  background-color: #5096ff;
}
.about-nurse-fes {
  border-radius: 20px;
  padding: 25px;
  background: #fff;
  margin-bottom: 50px;
}
.about-nurse-fes h3 {
  font-size: 15px;
  padding-bottom: 12px;
  border-bottom: 2px solid #459dfc;
  margin-bottom: 12px;
  text-align: center;
}
.about-instagram h2 {
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}
.about-instagram img {
  width: 100%;
  height: auto;
}
/*　ACCESS */
#access {
  background: #ff9d00;
  position: relative;
}
#access .separator::before {
  background-color: #ff9d00;
}
#access-container img {
  max-width: 100%;
}

.access-details {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.5;
  color: #fff;
}
.access-details strong {
  display: block;
}
.fadeIn {
  transition: 1s;
  opacity: 0;
  transform: translatey(80px);
}

.fadeIn.animated {
  opacity: 1;
  transform: translatey(0);
}

/*　footer */
footer {
  background: #00b669;
  padding: 50px 0 40px;
  position: relative;
}
footer .separator::before {
  background-color: #00b669;
}
footer .title {
  font-size: 25px;
  color: #fff;
}
.link-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
}

.link-icons [class$='-icon'] {
  width: auto;
  height: 60px;
}
.copyright {
  font-size: 11px !important;
}

#float {
  position: fixed;
  width: 100%;
  height: auto;
  padding: 12px 20px;
  background-color: rgba(0, 0, 0, 0.5);
  border: none;
  transition:
    bottom 0.3s ease,
    opacity 0.3s ease;
  opacity: 0;
  z-index: 1;
}

@media (min-width: 740px) {
  .display-sp {
    display: none;
  }
  .display-pc {
    display: block;
  }
  main section {
    padding-bottom: 160px;
  }
  .separator {
    top: -118px;
    max-width: 100%;
    height: 120px;
  }
  .separator::before {
    position: absolute;
    width: 100%;
    bottom: 0;
    left: 0;
    clip-path: polygon(0 calc(100% - 20%), 100% 30%, 100% 100%, 0% 100%);
    height: 100%;
  }
  .separator.type2::before {
    clip-path: polygon(0 calc(100% - 20%), 100% 30%, 100% 100%, 0% 100%);
  }
  .left-contents {
    padding-top: 20px;
  }
  .left-contents .hero {
    max-width: 430px;
    height: auto;
    margin: 0 auto;
  }
  [id$='-container'] {
    max-width: 375px;
    margin: 0 auto;
  }
}

@media (max-width: 344px) {
  .link-icons {
    gap: 10px;
  }
}

@media (min-width: 1200px) {
  .container {
    display: flex;
    align-items: flex-start;
    position: relative;
    justify-content: space-between;
  }
  .left-contents {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    width: 50vw;
    background: url('/img/nurse-fes-2026/sp/hero-background.png') no-repeat center top #5096ff;
    background-size: cover;
    max-width: 1200px;
    height: 100vh;
    overflow: hidden;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 40px;
    padding-bottom: 40px;
  }
  .left-contents .hero h1 {
    height: fit-content;
  }
  .left-contents .hero h1 img {
    height: 100%;
    object-fit: contain;
  }
  .right-contents {
    flex-grow: 1;
    margin-left: 50vw;
    background: url('/img/nurse-fes-2026/sp/hero-background.png') no-repeat center top;
    background-size: contain;
    width: 50vw;
    max-width: 1200px;
    position: relative;
  }
  h1 {
    width: 45vh;
  }
  main {
    overflow: hidden;
    margin: auto;
  }

  #float {
    display: none;
  }
}
