html,
body {
  background: url('/img/nurse-fes-2026-online-seminar/hero-background.png') no-repeat center top #00b669;
  background-size: contain;
  color: #333;
  border: none;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

.display-sp {
  display: block;
}

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

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

.cta-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));
}

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

section {
  padding: 0 16px;
  margin: 0 0 90px;
}

.nurse-fes-logo {
  margin: 20px 0 20px 16px;
}

.nurse-fes-logo img {
  height: 50px;
  width: auto;
}

.hero {
  margin-bottom: 40px;
}

h2.title {
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-size: 34px;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 24px;
}

h4 {
  color: #fff529;
  text-align: center;
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: 24px; /* 24px */
}

/* introduction */
#introduction-container {
  position: relative;
}
#introduction-container::before,
#introduction-container::after {
  content: '';
  width: 108px;
  height: 80px;
  display: block;
  background: url(/img/nurse-fes-2026-online-seminar/addition.png) no-repeat center;
  position: absolute;
  left: 10px;
  top: -40px;
  z-index: 1;
}

#introduction-container::after {
  transform: scale(1, -1);
  top: initial;
  left: initial;
  bottom: -40px;
  right: 10px;
}

#introduction-container p {
  background: #ffffb8;
  border-radius: 20px;
  padding: 24px 16px;
  color: #00b669;
  font-size: 14px;
  line-height: 180%;
  text-align: center;
  position: relative;
  z-index: 2;
}

#special h3 {
  color: #0050a8;
  text-align: center;
  font-size: 30px;
  font-weight: 700;
  line-height: 30px;
  letter-spacing: 0.6px;
  margin-bottom: 20px;
}
#special h3 strong {
  display: block;
  font-size: 20px;
  letter-spacing: 0.4px;
  margin-bottom: 5px;
}
.sparkles {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.sparkles::before,
.sparkles::after {
  content: '';
  mask-image: url('/img/nurse-fes-2026-online-seminar/sparkles.svg');
  mask-size: contain;
  mask-repeat: no-repeat;
  background-color: currentColor;
  width: 45px;
  height: 46px;
  margin: 0 7px 0 0;
  transform: scale(-1, 1);
}
.sparkles::after {
  margin: 0 0 0 7px;
  transform: initial;
}

.sparkles.pink::before,
.sparkles.pink::after {
  background-color: #f3a9c9;
}

.slash {
  display: flex;
  align-items: center;
  justify-content: center;
}

.slash::before,
.slash::after {
  content: '';
  mask-image: url('/img/nurse-fes-2026-online-seminar/slash.svg');
  mask-size: contain;
  background-color: currentColor;
  width: 23px;
  height: 43px;
  margin: 0 7px 0 0;
  display: inline-block;
}
.slash::after {
  margin: 0 0 0 7px;
  transform: scale(-1, 1);
}
.slash-single {
  display: flex !important;
  align-items: center;
  justify-content: center;
}
.slash-single::before,
.slash-single::after {
  content: '';
  mask-image: url('/img/nurse-fes-2026-online-seminar/slash-single.svg');
  mask-size: contain;
  mask-repeat: no-repeat;
  background-color: currentColor;
  width: 14px;
  height: 18px;
  margin: 0 7px 0 0;
  display: inline-block;
}
.slash-single::after {
  margin: 0 0 0 7px;
  transform: scale(-1, 1);
}

#special-container {
  border-radius: 16px;
  padding: 16px;
  background: #fff;
  border-radius: 20px;
  padding: 32px 15px 28px;
  position: relative;
  background-image: linear-gradient(0deg, transparent calc(100% - 1px), #f5f5f5 calc(100% - 1px)),
    linear-gradient(90deg, transparent calc(100% - 1px), #f5f5f5 calc(100% - 1px));
  background-size: 20px 20px;
  background-repeat: repeat;
  background-position: center center;
}

.special-present {
  background: #5096ff;
  border-radius: 15px;
  padding: 20px;
  margin-bottom: 24px;
  position: relative;
}

.special-present .circle {
  display: block;
  position: relative;
  height: 20px;
  width: 104%;
  left: -1.5%;
  top: -5px;
}

.special-present .circle::before,
.special-present .circle::after {
  content: '⚫︎';
  position: absolute;
  color: #fff;
  font-size: 10px;
  line-height: 1;
}
.special-present .circle::after {
  right: 0;
}
.special-present .circle.bottom {
  top: initial;
  bottom: -5px;
}
.special-present .circle.bottom::before,
.special-present .circle.bottom::after {
  bottom: 0;
}

.special-present h4 {
  font-family: 'Noto Sans JP';
  font-size: 20px;
  font-style: normal;
  margin-bottom: 10px;
}

.special-present h4 strong {
  color: #fff;
  display: block;
  margin-bottom: 5px;
  font-size: 14px;
}

.specila-present h4 strong.slash::before,
.specila-present h4 strong.slash::after {
  height: 20px;
}

.special-present img {
  display: block;
  margin-bottom: 10px;
}

.special-present-description {
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
  color: #fff;
}

.underline {
  background: linear-gradient(transparent 70%, #ffe600 20%);
  display: inline-block;
}

.special-requirements {
  color: #333;
  font-size: 14px;
  font-weight: 400;
  line-height: 150%; /* 21px */
}
.special-requirements strong {
  display: block;
  margin-bottom: 5px;
}
/* lineup */
#lineup {
  scroll-margin-top: 90px;
}

#lineup-container {
  margin-right: -16px;
}
.scroll-x {
  overflow-x: auto;
  white-space: nowrap;
  user-select: none; /* 文字選択防止 */
  -webkit-overflow-scrolling: touch; /* iOS慣性 */
}

.seminar-list {
  display: flex;
  align-items: stretch;
  width: max-content;
  margin-bottom: 10px;
  gap: 16px;
}

.seminar-list li {
  background: #fff;
  border-radius: 8px;
  padding: 16px;
  width: 260px;
}

.seminar-list h3,
.seminar-detail h3 {
  overflow: hidden;
  white-space: initial;
  color: #333;
  font-size: 20px;
  font-weight: 700;
  line-height: 140%; /* 28px */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 3;
  /* 非対応ブラウザ向けのフォールバック */
  height: calc(1.5em * 3);
}

.seminar-list strong,
.seminar-detail strong {
  display: inline-flex;
  padding: 7px 10px;
  margin-bottom: 10px;
  justify-content: center;
  align-items: center;
  border-radius: 4px;
  background: #f5a200;
  color: #fff;
  font-size: 12px;
  line-height: 1;
}

.seminar-list time {
  font-size: 14px;
  margin-bottom: 10px;
  display: block;
}

.seminar-list li img {
  display: block;
  margin-bottom: 10px;
}

.seminar-list li .seminar-link {
  color: #00b669;
  text-align: right;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.seminar-link::after {
  content: '';
  background: url(/img/nurse-fes-2026-online-seminar/seminar-link-icon.svg) no-repeat center;
  background-size: contain;
  width: 24px;
  height: 24px;
  display: inline-block;
  margin-left: 5px;
}

.seminar-list li.comingsoon p {
  display: flex;
  align-items: center;
  justify-content: center;
  height: calc(100% - 70px);
}

.seminar-list li.comingsoon p img {
  width: 90%;
}

.seminar-detail {
  width: 100%;
  overflow-y: auto;
  padding: 60px 20px 20px;
  background: #fff;
}

.seminar-detail h3 {
  height: initial;
  margin-bottom: 8px;
}

.seminar-detail time {
  font-weight: 700;
  margin-bottom: 16px;
  display: block;
  line-height: 1;
}

.seminar-detail p {
  margin-bottom: 20px;
  color: #333;
  font-size: 14px;
  line-height: 170%; /* 23.8px */
}

.seminar-detail-profile {
  border: 2px solid #e6e6e6;
  border-radius: 8px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.seminar-detail-profile dt {
  text-align: center;
}

.seminar-detail-profile dt img {
  width: 226px;
  margin: 0 auto 16px;
}

.seminar-detail-profile dt h4 {
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  color: #333;
  font-family: 'Noto Sans JP';
}

.seminar-detail-profile dt span {
  font-size: 13px;
  line-height: 1;
  margin-bottom: 5px;
  display: block;
  font-weight: 400;
}

.seminar-detail-profile dd {
  text-align: left;
  color: #333;
  line-height: 170%;
}
.reserve-btn {
  margin-bottom: 28px;
}
.reserve-btn a {
  border-radius: 100px;
  background: #00b669;
  box-shadow: 2.115px 2.645px 0 0 rgba(0, 0, 0, 0.1);
  color: #fff;
  width: 270px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  margin: auto;
}

/* modal */
.modal {
  position: fixed;
  background: #fff;
  display: none;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  z-index: 10;
}

.open-modal {
  cursor: pointer;
}

.modal.is-open {
  display: flex;
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #e6e6e6;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: #fff;
  line-height: 1;
  border-radius: 50%;
  border: none;
  font-size: 36px;
}

/* flow */
#flow .slash::before,
#flow .slash::after {
  width: 20px;
  height: 30px;
  mask-repeat: no-repeat;
}

#flow h4 {
  margin-bottom: 18px;
}

.flow-step li {
  background: #fff;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 16px;
  color: #333;
  font-weight: 400;
  line-height: 150%; /* 21px */
}
.flow-step li dl {
  display: flex;
  align-items: center;
}
.flow-step li dl dt {
  width: 100px;
  margin-right: 20px;
}
.flow-step li dl dd {
  color: #333;
  font-size: 20px;
  font-weight: 700;
  line-height: 120%; /* 24px */
}
.flow-step li dl dd strong {
  display: inline-block;
  background: #e5f8f0;
  color: #2bbe89;
  border-radius: 4px;
  padding: 5px 8px;
  line-height: 1;
  font-size: 12px;
  font-weight: bold;
  margin-bottom: 4px;
}

/*　achive */

#archive li {
  border-radius: 16px;
  background: #4ccc96;
  background-image: linear-gradient(0deg, transparent calc(100% - 1px), #ffffff30 calc(100% - 1px)),
    linear-gradient(90deg, transparent calc(100% - 1px), #ffffff30 calc(100% - 1px));
  background-size: 20px 20px;
  background-repeat: repeat;
  background-position: center center;
}

#archive li.comingsoon {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 370px;
}

#archive li.comingsoon img {
  margin: auto;
  height: 150px;
  width: auto;
}

.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 .title {
  color: #ffe600;
}
.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;
  bottom: -50px;
}

#float.is-visible {
  bottom: 0;
  opacity: 1;
}

.modal-mode #float {
  opacity: 0;
}

body.modal-mode {
  overflow: hidden; /* スクロールを禁止 */
}
@media (min-width: 740px) {
  .display-sp {
    display: none;
  }
  .display-tablet {
    display: block;
  }

  body {
    background: url('/img/nurse-fes-2026-online-seminar/hero-background-pc.png') no-repeat center top #00b669;
    background-size: contain;
  }

  .nurse-fes-logo {
    max-width: 450px;
    margin: 20px auto;
  }

  .left-contents .hero {
    max-width: 450px;
    height: auto;
    margin: 0 auto 40px;
  }
  [id$='-container'] {
    max-width: 375px;
    margin: 0 auto;
  }
  section {
    padding: 0;
  }

  #lineup-container {
    margin: 0 auto;
    max-width: 100%;
    scrollbar-color: #00000050 #00000010; /* Firefox */
    padding: 0 0 0 16px;
  }

  .seminar-detail {
    max-width: 450px;
    margin: 0 auto;
    position: relative;
  }
}

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

@media (min-width: 1200px) {
  .display-pc {
    display: block;
  }

  body {
    background: #00b669;
  }

  .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-online-seminar/hero-background-pc.png') no-repeat center top #00b669;
    background-size: cover;
    max-width: 1200px;
    height: 100vh;
    overflow: hidden;
    z-index: 2;
    display: flex;
    align-items: center;
  }
  .nurse-fes-logo {
    position: absolute;
    top: 40px;
    right: 0;
    left: 0;
    margin: 0 auto;
    max-width: initial;
    width: 600px;
  }
  .nurse-fes-logo img {
    height: 56px;
    width: auto;
    margin: 0;
  }
  .left-contents .hero {
    padding: 0;
    margin: 0 auto;
  }
  .left-contents .hero h1 {
    margin: 0 auto 60px;
    padding: 0;
  }
  .left-contents .hero h1 img {
    height: auto;
    width: 450px;
    max-width: initial;
  }
  .right-contents {
    margin-left: 50vw;
    background: #00b669;
    width: 50vw;
    padding-top: 70px;
    max-width: 1200px;
    position: relative;
    display: flex;
  }
  .right-contents-inner {
    width: calc(100% - 94px);
  }

  main {
    overflow: hidden;
    margin: auto;
  }

  section {
    padding: 0;
  }

  #float {
    display: none;
  }

  #introduction {
    padding-top: 50px;
  }

  #lineup-container {
    margin: 0 16px;
  }

  .side-navi {
    background: #4ccc96;
    width: 94px;
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
  }

  .side-navi .scroll {
    position: absolute;
    left: 16px;
    bottom: 24px;
    height: 114px;
    width: auto;
  }

  .close-btn {
    background: #ccc;
  }
}
