@charset "UTF-8";
*,
::before,
::after {
  --clamp-root-font-size: 16;
  --clamp-slope: calc(
    (var(--clamp-max) - var(--clamp-min)) /
      (var(--clamp-viewport-max) - var(--clamp-viewport-min))
  );
  --clamp-y-axis-intersection: calc(
    var(--clamp-min) - (var(--clamp-slope) * var(--clamp-viewport-min))
  );
  --clamp-preffered-value: calc(
    var(--clamp-y-axis-intersection) * (1rem / var(--clamp-root-font-size)) +
      (var(--clamp-slope) * 100vw)
  );
  --clamp: clamp(
    calc(var(--clamp-min) * (1rem / var(--clamp-root-font-size))),
    var(--clamp-preffered-value),
    calc(var(--clamp-max) * (1rem / var(--clamp-root-font-size)))
  );
  font-size: var(--clamp);
}

:root {
  --color-yellow: #fff778;
  --color-orange: #ffb600;
  --color-pink: #f6819d;
  --color-text-black: #231815;
  --font-nomal: 400;
  --font-bold: 500;
  --inline-size-sm: min(1024px, 100% - 2rem);
  --inline-size: min(1200px, 100% - 2rem);
  --margin-bottom: 1rem;
  --margin-bottom-md: 2rem;
  --margin-bottom-lg: 5rem;
  --text-shadow:
    1px 1px 0 #fff, -1px 0 0 #fff, 1px 1px 0 #fff, 0 -1px 0 #fff, 0 1px 0 #fff,
    1px -1px 0 #fff, 1px 0 0 #fff, 1px 1px 0 #fff, 1px 0px 0 #fff,
    0px 1px 0 #fff, 1px 1px 0 #fff;
}

body {
  font-family: "IBM Plex Sans JP", "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  font-weight: var(--font-nomal, 500);
  color: var(--color-text--black);
  background-color: var(--color-yellow);
  line-height: 1.7;
  --clamp-viewport-min: 375;
  --clamp-viewport-max: 1200;
  --clamp-min: 16;
  --clamp-max: 18;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  transition: scale 0.3s;
}
@media (any-hover: hover) {
  a:hover {
    scale: 1.05;
  }
}
a:focus-visible {
  scale: 1.05;
}

.pc-only {
  display: none;
}
@media screen and (min-width: 768px) {
  .pc-only {
    display: block;
  }
}

.sp-only {
  display: block;
}
@media screen and (min-width: 768px) {
  .sp-only {
    display: none;
  }
}

.header {
  background-image: url(../img/bg_yellow_sp.jpg);
  background-repeat: no-repeat;
  background-position-x: left 38%;
  background-size: 158%;
  padding: 1rem 0.5rem 0;
}
@media screen and (min-width: 768px) {
  .header {
    background-position-x: center;
    background-size: cover;
    background-image: url(../img/bg_yellow.png);
  }
}
.header [class^=header-]:not(:last-child, [class^=header-contents]) {
  margin-bottom: 1rem;
}
.header img {
  margin-inline: auto;
}
.header-sponsor {
  display: grid;
  place-items: center;
  grid-template-areas: "rsk center sponsor";
  border-radius: 100svh;
  background-color: #fff;
  -moz-column-gap: 0.5rem;
       column-gap: 0.5rem;
  width: min(500px, 70%);
  margin-inline: auto;
  padding: 0.5rem 1.5rem;
}
@media (min-width: 768px) {
  .header-sponsor {
    padding: 0.5rem;
  }
}
.header-sponsor::before, .header-sponsor::after {
  grid-area: center;
  content: "";
  width: 22px;
  height: 1px;
  background-color: currentColor;
  border-radius: 1px;
  margin-block: 3px;
}
@media (min-width: 768px) {
  .header-sponsor::before, .header-sponsor::after {
    width: 40px;
  }
}
.header-sponsor::before {
  grid-row: 1/1;
  rotate: 45deg;
}
.header-sponsor::after {
  grid-row: 1/1;
  rotate: -45deg;
}
.header-sponsor .rsk {
  grid-area: rsk;
}
@media (max-width: 767px) {
  .header-sponsor .rsk {
    width: 75%;
  }
}
.header-sponsor .sponsor {
  grid-area: sponsor;
}
@media (max-width: 767px) {
  .header-sponsor .sponsor {
    width: 120%;
  }
}
.header-contents {
  display: grid;
  row-gap: 1rem;
  margin-bottom: initial;
}
@media screen and (min-width: 768px) {
  .header-contents {
    grid-template-columns: auto auto;
    justify-content: center;
    align-items: end;
    -moz-column-gap: 2rem;
         column-gap: 2rem;
  }
}
.header-contents .present {
  width: min(250px, 90%);
  margin-bottom: 1rem;
}
@media screen and (min-width: 768px) {
  .header-contents .present {
    width: auto;
  }
}
.header .problem-contents {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5em;
  margin-bottom: 2em;
}
@media screen and (min-width: 768px) {
  .header .problem-contents {
    flex-wrap: nowrap;
  }
}
.header .problem-contents__item {
  --clamp-max: 23;
  display: grid;
  place-items: center;
  text-align: center;
  font-weight: var(--font-bold, 500);
  background-color: #fff;
  border-radius: 100svh;
  padding: 0.4em 1em;
  position: relative;
}
@container problem-layout not (min-width: 560px) {
  .header .problem-contents__item {
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    margin-bottom: -0.6em;
    padding: 0.6em;
  }
}
@media screen and (min-width: 768px) {
  .header .problem-contents__item {
    border-radius: 50%;
    padding: 1.5em 1em;
  }
}
.header .problem-contents__item::before, .header .problem-contents__item::after {
  content: "";
  position: absolute;
  aspect-ratio: 1;
  background: #fff;
  border-radius: 50%;
}
.header .problem-contents__item::before {
  width: 13px;
}
.header .problem-contents__item::after {
  width: 20px;
}
.header .problem-contents__item:last-of-type::before, .header .problem-contents__item:last-of-type::after {
  content: "";
  position: absolute;
  aspect-ratio: 1;
  background: #fff;
  border-radius: 50%;
}
.header .problem-contents__item:last-of-type::before {
  width: 13px;
}
.header .problem-contents__item:last-of-type::after {
  width: 20px;
}
.header .problem-contents__item:nth-child(1)::before, .header .problem-contents__item:nth-child(2)::before {
  right: 0.4em;
  bottom: -28px;
}
.header .problem-contents__item:nth-child(1)::after, .header .problem-contents__item:nth-child(2)::after {
  right: 1em;
  bottom: -14px;
}
.header .problem-contents__item:nth-child(3)::before, .header .problem-contents__item:nth-child(4)::before {
  left: 0.4em;
  bottom: -28px;
}
.header .problem-contents__item:nth-child(3)::after, .header .problem-contents__item:nth-child(4)::after {
  left: 1em;
  bottom: -14px;
}
.header .problem-image {
  width: min(290px, 100%);
}
@media screen and (min-width: 768px) {
  .header .problem-image {
    width: min(400px, 100%);
  }
}
.header-details {
  --clamp-min: 20;
  --clamp-max: 30;
  display: grid;
  color: #fff;
  font-weight: var(--font-bold, 500);
  border-image-source: linear-gradient(var(--color-orange) 0 0);
  border-image-slice: 0 fill;
  border-image-outset: 0 100vi;
  padding: 1rem;
}
@media screen and (min-width: 768px) {
  .header-details {
    grid-template-columns: auto auto;
    justify-content: center;
    gap: 1em;
    font-size: 1.5em;
  }
}
.header-details dl {
  display: grid;
  gap: 0.2em;
  text-align: center;
}
@media screen and (min-width: 768px) {
  .header-details dl {
    grid-template-columns: minmax(100px, 150px) auto;
    gap: 0.5em;
    text-align: left;
    border: revert;
  }
}
.header-details dl dt {
  display: grid;
  place-items: center;
  border: solid 1px;
  border-radius: 10px;
}
@media screen and (max-width: 767px) {
  .header-details dl dd {
    padding-inline: 0.2em;
    padding-bottom: 0.2em;
  }
}
@media screen and (max-width: 767px) {
  .header-details dl dd:last-child {
    border-bottom: revert;
  }
}
.header-details dl .date {
  letter-spacing: 0.06em;
}
.header-details .free {
  display: grid;
  place-items: center;
  border: solid 1px;
  border-radius: 10px;
  text-align: center;
  color: var(--color-orange);
  line-height: 1.4;
  background-color: #fff;
  padding-inline: 0.3em;
}
.header-details .text-large {
  font-size: 1.5em;
}
.header-details .text-small {
  font-size: 0.8em;
}

section {
  padding-block: 3rem;
}
@media (min-width: 768px) {
  section {
    padding-block: 5rem;
  }
}

:not(.application) > .section-title {
  --clamp-min: 22;
  --clamp-max: 36;
  text-align: center;
  font-weight: var(--font-bold, 500);
  letter-spacing: 0.2em;
  background-image: url(../img/section-title.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  padding-block: 0.5em;
  margin-bottom: 1rem;
}
@media (min-width: 768px) {
  :not(.application) > .section-title {
    margin-bottom: 3rem;
  }
}

.section-title img {
  margin-inline: auto;
  margin-bottom: 1rem;
}

.container {
  width: var(--inline-size);
  margin-inline: auto;
}

.application {
  background-image: url(../img/bg.svg);
  background-repeat: repeat;
}
.application .container {
  width: var(--inline-size-sm);
}
.application h3 {
  --clamp-min: 18;
  --clamp-max: 34;
  font-weight: var(--font-bold, 500);
  text-align: center;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}
.application-text {
  --clamp-max: 22;
  line-height: 2;
  margin-bottom: 1rem;
}
@media (min-width: 768px) {
  .application-text {
    line-height: 2.5;
  }
}
.application-text .text-large {
  --clamp-min: 18;
  --clamp-max: 28;
  font-weight: var(--font-bold, 500);
  text-decoration: underline;
  -webkit-text-decoration-color: var(--color-pink);
          text-decoration-color: var(--color-pink);
  text-decoration-thickness: 0.5em;
  text-underline-offset: -0.1em;
  -webkit-text-decoration-skip-ink: none;
          text-decoration-skip-ink: none;
}
.application .note {
  --clamp-min: 15;
  --clamp-max: 18;
  text-indent: -1em;
  padding-left: 1em;
}
.application-form img {
  margin: 2rem auto;
}
.application-form .deadline,
.application-form .outside {
  --clamp-min: 20;
  --clamp-max: 28;
  text-align: center;
}

.instructor-list li {
  display: grid;
  align-items: start;
  gap: 1rem;
  background-color: #fff;
  border: solid 2px var(--color-orange);
  border-radius: 15px;
  box-shadow: 5px 5px 0 var(--color-orange);
  padding: 1rem;
}
@media (min-width: 768px) {
  .instructor-list li {
    grid-template-columns: minmax(0, 40%) 1fr;
    gap: 2rem;
    padding: 2rem;
  }
}
.instructor-list li:not(:last-of-type) {
  margin-bottom: 2rem;
}
.instructor-list .image img {
  width: min(220px, 100%);
  margin-inline: auto;
}
@media (min-width: 768px) {
  .instructor-list .image img {
    width: auto;
  }
}
.instructor-list .profile h3 {
  --clamp-min: 20;
  --clamp-max: 28;
  font-weight: var(--font-bold, 500);
  letter-spacing: 2px;
  margin-bottom: 1rem;
}
@media (min-width: 768px) {
  .instructor-list .profile h3 {
    margin-bottom: 2rem;
  }
}
.instructor-list .profile-text {
  display: grid;
  align-items: start;
  gap: 1rem;
}
@media (min-width: 768px) {
  .instructor-list .profile-text {
    grid-template-columns: auto 1fr;
  }
}
.instructor-list .profile-text dt {
  color: #fff;
  font-weight: var(--font-bold, 500);
  text-align: center;
  text-box-trim: trim-both;
  letter-spacing: 2px;
  background-color: var(--color-orange);
  border-radius: 100svh;
  padding-inline: 1em;
}

.about {
  line-height: 2;
}
.about-contents {
  background-color: #fff;
  border: solid 2px var(--color-orange);
  border-radius: 15px;
  box-shadow: 5px 5px 0 var(--color-orange);
  padding: 2rem 1rem;
}
@media (min-width: 768px) {
  .about-contents {
    padding: 2rem;
  }
}
.about .details {
  --clamp-min: 18;
  --clamp-max: 23;
  display: grid;
  justify-content: center;
}
@media (min-width: 768px) {
  .about .details {
    grid-template-columns: repeat(2, auto);
  }
}
.about .details dt {
  padding-inline: 1rem;
}
@media (min-width: 768px) {
  .about .details dt {
    border-bottom: solid 1px;
    padding: 2rem;
  }
}
@media (max-width: 767px) {
  .about .details dt {
    padding-top: 1rem;
  }
}
.about .details dd {
  padding: 1rem;
  border-bottom: solid 1px;
}
@media (min-width: 768px) {
  .about .details dd {
    padding: 2rem;
  }
}
.about .details .time {
  --clamp-min: 16;
  --clamp-max: 18;
  border-left: solid 2px;
  padding-left: 0.5em;
}
.about .details .time p {
  text-box-trim: trim-both;
  line-height: 1.6;
}
.about .details .map {
  aspect-ratio: 16/9;
  width: min(600px, 100%);
}
.about .details .map iframe {
  width: 100%;
  height: 100%;
}
.about .form {
  margin: 2rem auto 1rem;
}
.about .form img {
  margin-inline: auto;
}
.about .form .deadline,
.about .form .outside {
  --clamp-min: 20;
  --clamp-max: 28;
  text-align: center;
}
.about .notes {
  --clamp-min: 15;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin-inline: auto;
}

.footer {
  font-weight: var(--font-bold, 500);
  width: var(--inline-size);
  margin-inline: auto;
  margin-bottom: 3rem;
}
.footer > * {
  margin-bottom: 2rem;
}
@media (min-width: 768px) {
  .footer {
    margin-bottom: 5rem;
  }
}
.footer-logo img {
  margin-inline: auto;
}
.footer-contact {
  --clamp-min: 17;
  --clamp-max: 26;
  text-align: center;
}
.footer-sponsor {
  display: grid;
  place-items: center;
  place-content: center;
  grid-template-columns: repeat(2, auto);
  row-gap: 1rem;
  background-color: #fff;
  border: solid 2px var(--color-orange);
  border-radius: 15px;
  box-shadow: 5px 5px 0 var(--color-orange);
  padding: 1rem;
  width: min(800px, 70%);
  margin-inline: auto;
}
@media (min-width: 768px) {
  .footer-sponsor {
    grid-template-columns: repeat(4, auto);
    -moz-column-gap: 2rem;
         column-gap: 2rem;
  }
}
@media (max-width: 767px) {
  .footer-sponsor .logo-rsk {
    width: 100%;
  }
}

/* pagetopボタン */
#pagetop_23[aria-hidden=true] {
  opacity: 0;
  visibility: hidden;
}

#pagetop_23[aria-hidden=false] {
  opacity: 1;
  visibility: visible;
}

#pagetop_23 {
  opacity: 0;
  visibility: hidden;
  display: block;
  position: fixed;
  z-index: 20;
  right: 1rem;
  bottom: 1rem;
  width: 3rem;
  aspect-ratio: 1;
  border: solid 2px var(--color-orange);
  border-radius: 50%;
  background: #fff;
  transition: opacity 0.25s, visibility 0.25s;
}
#pagetop_23::before {
  content: "";
  border: 0;
  border-top: solid 2px var(--color-orange);
  border-right: solid 2px var(--color-orange);
  position: absolute;
  inset: 0;
  rotate: -45deg;
  width: 0.7rem;
  aspect-ratio: 1;
  margin: auto;
  margin-top: 20px;
}

.thanks {
  --clamp-min: 17;
  --clamp-max: 30;
  font-weight: bold;
  text-align: center;
}
/*# sourceMappingURL=style.css.map */