:root {
  --content-width: 640px;
  --image-width: 720px;
  --image-shadow: 0 8px 24px rgba(30, 55, 70, 0.18);
  --btn-size: 200px;
  --fixed-btn-size: 112px;
  --outer-side: 40px;
  --side: 1rem;
  --red: #ec5467;
  --green: #4b944e;
  --water: #c4e0e0;
  --cream: #fbf9ec;
  --beige: #f0e1a6;
  --text-color: #252b30;
}

* {
  box-sizing: border-box;
}

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

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
}

body,
h1,
h2,
h3,
h4,
summary,
p,
ul,
ol,
li,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

ul,
ol {
  padding: 0;
}

li {
  list-style: none;
}

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

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

a[x-apple-data-detectors] {
  color: inherit !important;
  font: inherit !important;
  text-decoration: none !important;
}

button {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

body {
  overflow-x: hidden;
  color: var(--text-color);
  font-family: "LINE Seed JP", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.7;
}

@media (min-width: 641px) {
  body {
    background: url("images/background.jpg") center center / cover no-repeat fixed;
    background-attachment: fixed;
  }
}

.inner{
  padding-inline: var(--side);
}

em{
  font-style: normal;
  display: inline-block;
}

.ac{
  text-align: center;
}

.note {
  padding-left: 1em;
  text-indent: -1em;
}

.line-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 400;
  text-align: center;
}

.line-title::after {
  display: block;
  width: 55%;
  height: .35em;
  margin-top: .2em;
  background: url("images/line.svg") center center / contain no-repeat;
  content: "";
}

.entry-box {
  padding: 1.5em;
  border: .2em solid var(--text-color);
  border-radius: 1em;
  background: #fff;
  font-size: 2.5em;
}

.entry-part + .entry-part {
  margin-top: 2em;
}

.entry-txt {
  margin-top: 2em;
}

.entry-txt p:first-child {
  margin-top: 0;
}

.entry-large {
  margin-top: .5em;
  font-size: 1.4em;
}

.entry-large span {
  font-size: .8em;
}

.js-shake.js-inview {
  animation: shake .65s ease both;
}

.js-zoom.js-inview {
  animation: zoom-in .65s ease both;
}

.js-fade-up {
  opacity: 0;
  transform: translateY(2em);
}

.js-fade-up.js-inview {
  animation: fade-up .8s ease both;
}

@keyframes shake {
  0% {
    transform: translateX(0) rotate(0deg);
  }
  20% {
    transform: translateX(-.3em) rotate(-2deg);
  }
  40% {
    transform: translateX(.3em) rotate(2deg);
  }
  60% {
    transform: translateX(-.2em) rotate(-1deg);
  }
  80% {
    transform: translateX(.2em) rotate(1deg);
  }
  100% {
    transform: translateX(0) rotate(0deg);
  }
}

@keyframes fade-up {
  0% {
    opacity: 0;
    transform: translateY(2em);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes zoom-in {
  0% {
    transform: scale(.9);
  }
  65% {
    transform: scale(1.02);
  }
  100% {
    transform: scale(1);
  }
}

.stage {
  position: relative;
  display: flex;
  min-height: 100vh;
  justify-content: center;
  align-items: flex-start;
  overflow: hidden;
}

.scroll-panel {
  width: min(100%, var(--image-width));
}

.section {
  width: min(100%, var(--content-width));
  margin-inline: auto;
}

.heading {
  text-align: center;
}
.heading ._s1 {
  font-size: 2.5em;
  color: var(--green);
  display: block;
}

.heading ._s2 {
  margin-top: .2em;
  font-size: 2.7em;
  display: block;
  font-weight: 400;
  line-height: 1.5;
}

.heading::after {
  display: block;
  width: 85%;
  height: 2.4em;
  margin-top: 1em;
  margin-inline: auto;
  background: url("images/headding_line.svg") center center / contain no-repeat;
  content: "";
}

#s_fv {
  background: url("images/fv.jpg") center top / cover no-repeat;
  font-size: min(1.5625vw, 10px);
  overflow: hidden;
}

#s_fv img {
  display: block;
  width: 100%;
  height: auto;
}

#s_fv ._brand {
  padding-top: 2em;
  padding-right: 7em;
}

#s_fv ._logo {
  width: 34%;
  height: auto;
  margin-left: auto;
}

#s_fv ._title {
  width: 66%;
  font-size: 1em;
  margin-top: 3em;
  margin-inline: auto;
}

#s_fv ._title img {
  height: auto;
}

#s_fv ._steps {
  display: grid;
  margin-top: 2em;
  margin-inline: auto;
  grid-template-columns: repeat(3, 1fr);
  gap: 1em;
  padding-inline: 1em;
}

#s_fv ._steps li {
  position: relative;
  min-width: 0;
}

#s_fv ._steps li:not(:first-child)::after {
  position: absolute;
  top: 58%;
  left: -17%;
  z-index: 2;
  width: 28%;
  aspect-ratio: 102.98 / 41.2;
  background: url("images/arrow.svg") center center / contain no-repeat;
  content: "";
  pointer-events: none;
}

#s_fv ._steps img {
  width: 100%;
  height: auto;
}

#s_fv ._briefing {
  margin-top: 2em;
  background-color: var(--water);
  padding-block: 1.5em;
}

#s_fv ._briefing .inner{
  background-color: var(--water);
  display: grid;
  grid-template-columns: 31% 1fr;
  align-items: center;
  gap: 3em;
  padding-inline: 1.5em;
}

#s_fv ._briefing > div {
  min-width: 0;
}

#s_fv ._briefing_label {
  display: grid;
  place-items: center;
  border-radius: 1em;
  background: var(--green);
  color: #fff;
  font-size: 2.4em;
  font-weight: 400;
  text-align: center;
  height: 100%;
}

#s_fv ._briefing .inner div {
  font-size: 1.9em;
  font-weight: 700;
  letter-spacing: 1px;
}

#s_fv ._briefing ._date span{
  font-size: 2rem;
}

#s_fv ._briefing time {
  display: inline-block;
}

#s_fv ._briefing li {
  margin-top: 0;
}

#s_fv ._venue {
  margin-top: 0;
}

#s_about {
  background: #fff;
  font-size: min(1.5625vw, 10px);
  padding-block: 4em;
}

#s_about ._txt {
  margin-top: 1em;
  font-size: 2.4em;
  text-align: center;
}

#s_about ._txt p {
  margin-top: 1em;
}

#s_about ._txt p:first-child {
  margin-top: 0;
}

#s_about ._blocks {
  margin-top: 4em;
}

#s_about ._block {
  position: relative;
  overflow: visible;
  min-height: 19em;
  background: var(--water);
}

#s_about ._block + ._block {
  margin-top: 3em;
}

#s_about ._block .inner {
  position: relative;
}

#s_about ._block ._body {
  position: relative;
  z-index: 1;
  padding-block: 3em;
}

#s_about ._block h3 {
  font-size: 3.6em;
  font-weight: 400;
  line-height: 1.5;
}

#s_about ._block p {
  margin-top: 1em;
  font-size: 2em;
}

#s_about ._block img {
  position: absolute;
  z-index: 0;
  height: auto;
  max-width: none;
  width: 48%;
  top: -2em;
}

#s_about ._block.-block1 ._body,
#s_about ._block.-block3 ._body {
  margin-left: 45%;
}

#s_about ._block.-block1 img,
#s_about ._block.-block3 img {
  left: -5%;
}

#s_about ._block.-block2 {
  background: var(--cream);
}

#s_about ._block.-block2 ._body {
  margin-right: 42%;
}

#s_about ._block.-block2 img {
  right: -5%;
}

.point {
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  width: 100%;
  aspect-ratio: 3 / .9;
  margin-top: 1em;
  place-items: center;
  background: url("images/frame_point.svg") center center / 100% 100% no-repeat;
  color: var(--red);
  font-family: "Kaisei Opti", serif;
  font-size: 3.5em;
  font-weight: 700;
  text-align: center;
  line-height: 1.4;
}

.point::before {
  position: absolute;
  top: -.5em;
  left: -7%;
  width: 18%;
  aspect-ratio: 101.87 / 74.89;
  background: url("images/ic_point.svg") center center / contain no-repeat;
  content: "";
}

.point span {
  display: block;
  position: relative;
}

.point span:first-child {
  left: -5%;
}
.point span:last-child {
  right: -5%;
}

#s_program {
  background: #fff;
  font-size: min(1.5625vw, 10px);
  padding-block: 5em;
  
}

#s_program ._steps {
  margin-top: 4em;
}

#s_program ._step {
  text-align: center;
  position: relative;
}

#s_program ._step + ._step {
  margin-top: 6em;
}

#s_program ._icon {
  width: 16%;
  margin-inline: auto;
}

#s_program h3 {
  margin-top: .5em;
  color: var(--green);
  font-size: 5em;
  font-weight: 700;
  line-height: 1;
  z-index: 2;
  position: relative;
}

#s_program h3 span {
  font-size: 0.55em;
  font-weight: 400;
}

#s_program ._lead {
  margin-top: 1em;
  font-size: 3em;
  font-weight: 700;
  position: relative;
}

#s_program .note {
  margin-top: 1em;
  font-size: 2em;
  text-align: left;
}

#s_program ._notes {
  margin-top: 3em;
}

#s_program ._notes .note {
  margin-top: .5em;
}

#s_program ._notes .note:first-child {
  margin-top: 0;
}

#s_program ._illust {
  position: absolute;
  top: -7%;
  right: 0;
  width: 34%;
  margin-top: 2em;
  margin-inline: auto;
  z-index: 0;
}

#s_program  #s_step2 ._illust {
  right: auto;
  left: 0;
}

#s_program ._bookkeeping {
  overflow: hidden;
  margin-top: 3em;
  border: .3em solid var(--beige);
  border-radius: .7em;
  text-align: left;
}

#s_program ._bookkeeping summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1em;
  padding: .4em 1em;
  background: var(--beige);
  font-size: 2.4em;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

#s_program ._bookkeeping summary::-webkit-details-marker {
  display: none;
}

#s_program ._bookkeeping summary::after {
  flex: 0 0 auto;
  content: "+";
  font-size: 2em;
  font-weight: 400;
  line-height: 1;
}

#s_program ._bookkeeping[open] summary::after {
  content: "-";
}

#s_program ._bookkeeping > div {
  padding: 1.5em 2em 2em;
  background: #fff;
  font-size: 1.5em;
}

#s_program ._bookkeeping section + section {
  margin-top: 2em;
}

#s_program ._bookkeeping h4 {
  font-size: 2.2em;
}

#s_program ._bookkeeping p {
  margin-top: .5em;
  font-size: 1.8em;
}

#s_merit {
  background: var(--cream);
  font-size: min(1.5625vw, 10px);
  padding-block: 5em;
}

#s_merit ._block + ._block {
  margin-top: 5em;
}

#s_merit ._txt {
  margin-top: 2em;
  font-size: 2.4em;
}

#s_merit ._txt p {
  margin-top: 1em;
}

#s_merit ._txt p:first-child {
  margin-top: 0;
}

#s_merit ._txt strong {
  font-size: 1.2em;
  font-weight: 700;
}

#s_entry {
  background: var(--water);
  font-size: min(1.5625vw, 10px);
  padding-block: 5em;
}

#s_entry .line-title {
  font-size: 1.5em;
}

.footer-cta {
  display: block;
  width: 100%;
  margin-top: 1.2em;
  padding-block: 1.1em;
  border: .18em solid #fff;
  border-radius: .7em;
  background: var(--red);
  color: #fff;
  font-size: 3.5em;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  box-shadow: 0 0 0 .16em var(--red);
  transition: filter .2s ease;
}

.footer-cta:hover {
  filter: brightness(1.15) saturate(1.15);
}

#s_contact {
  background: var(--text-color);
  color: #fff;
  font-size: min(1.5625vw, 10px);
  padding-block: 4em;
}

#s_contact h2 {
  font-size: 2.5em;
  font-weight: 400;
  text-align: center;
}

#s_contact ._txt {
  margin-top: 2em;
  font-size: 2em;
}

#s_contact ._txt p:first-child {
  margin-top: 0;
}

.page-bottom {
  background: #fff;
  font-size: min(1.5625vw, 10px);
  padding-block: 4em;
}

.page-bottom img {
  width: 32%;
  margin-inline: auto;
}

@media (max-width: 640px) {
  .point::before {
    left: -2%;
  }
}

.cta-btn{
  display: block;
  width: var(--btn-size);
  height: var(--btn-size);
  filter: drop-shadow(0 6px 14px rgba(30, 55, 70, 0.24));
  transition: transform .3s ease;
  margin-inline: auto;
}

.cta-btn:hover img {
  filter: brightness(1.15) saturate(1.15);
}

.cta-btn img {
  transition: filter .2s ease;
}

.cta-btn.-fixed {
  position: fixed;
  right: 14px;
  bottom: 16px;
  z-index: 10;
  display: block;
  width: var(--fixed-btn-size);
  height: var(--fixed-btn-size);
  filter: drop-shadow(0 6px 14px rgba(30, 55, 70, 0.24));
  transition: transform .3s ease;
}

.pc-brand {
  display: none;
}

.side-entry,
.side-nav {
  display: none;
}

.form-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .25s ease, visibility .25s ease;
}

.form-modal.js-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.form-modal ._overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, .62);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.form-modal ._dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 900px);
  max-height: calc(100dvh - 48px);
  padding: 36px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(30, 55, 70, .22);
}

.form-modal ._close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 42px;
  aspect-ratio: 1;
  border-radius: 50%;
}

.form-modal ._close::before,
.form-modal ._close::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 22px;
  height: 2px;
  background: var(--text-color);
  content: "";
}

.form-modal ._close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.form-modal ._close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.form-modal ._body {
  max-height: calc(100dvh - 120px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.form-modal ._frame {
  width: 100%;
  height: min(76dvh, 720px);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

.form-modal iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

body.js-modal-open {
  overflow: hidden;
}

@media (min-width: 1280px) {
  .pc-brand {
    position: fixed;
    top: 2em;
    left: max(var(--outer-side), calc(var(--outer-side) + (((100vw - var(--image-width)) / 2) - var(--outer-side) - 40em) / 2));
    z-index: 5;
    display: block;
    width: 31em;
    font-size: min(.48vw, 9px);
  }

  .pc-brand img {
    width: 100%;
    height: auto;
  }

  #s_fv ._brand {
    display: none;
  }
  
  .cta-btn.-fixed {
    display: none;
    appearance: none;
  }

  .side-nav {
    position: fixed;
    right: max(var(--outer-side), calc(var(--outer-side) + (((100vw - var(--image-width)) / 2) - var(--outer-side) - 36em) / 2));
    z-index: 5;
    display: block;
    width: 36em;
    font-size: min(.48vw, 9px);
    top: 50%;
    transform: translateY(-50%);
  }

  .side-nav ._logo {
    display: none;
  }

  .side-nav li {
    position: relative;
    padding-block: 1.4em;
  }

  .side-nav li::after {
    display: block;
    width: 100%;
    height: 0;
    margin-top: 1.1em;
    border-bottom: .13em solid #000;
    content: "";
  }

  .side-nav li::before {
    position: absolute;
    right: 0;
    bottom: 1.22em;
    left: 0;
    height: .6em;
    background:
      radial-gradient(circle, #000 0 58%, transparent 60%) left center / .6em .6em no-repeat,
      radial-gradient(circle, #000 0 58%, transparent 60%) right center / .6em .6em no-repeat;
    content: "";
  }

  .side-nav a {
    display: grid;
    grid-template-columns: 1em 1fr;
    align-items: center;
    gap: 1em;
    font-size: 2em;
  }

  .side-nav a.js-active {
    color: var(--green);
  }

  .side-nav a::before {
    display: block;
    width: 1.5em;
    aspect-ratio: 29.97 / 35.55;
    background: url("images/star.svg") center center / contain no-repeat;
    content: "";
  }

  .side-nav .-steps {
    padding-block: .5em 1.4em;
  }

  .side-nav .-steps a {
    grid-template-columns: 4em 1fr;
    gap: .8em;
    margin-top: .5em;
  }

  .side-nav .-steps a:first-child {
    margin-top: 0;
  }

  .side-nav .-steps a::before {
    display: none;
  }

  .side-nav .-steps img {
    width: 3.5em;
  }

  .side-entry {
    position: fixed;
    top: calc(45% + 60px);
    left: max(var(--outer-side), calc(var(--outer-side) + (((100vw - var(--image-width)) / 2) - var(--outer-side) - 40em) / 2));
    z-index: 5;
    display: block;
    width: 40em;
    max-height: calc(100vh - 4em);
    overflow-y: auto;
    font-size: min(.48vw, 9px);
    transform: translateY(-50%);
  }

  .side-entry .entry-box {
    font-size: 1.5em;
  }

  .side-entry .line-title {
    text-align: center;
  }
}

@media (max-width: 720px) {
  .scroll-panel {
    width: 100%;
  }

  .cta-btn.-fixed.js-scroll-hide {
    transform: translateX(calc(100% + 18px));
  }

  .form-modal {
    padding: 10px;
  }

  .form-modal ._dialog {
    width: calc(100vw - 20px);
    max-height: calc(100dvh - 20px);
    padding: 44px 14px 14px;
    border-radius: 14px;
  }

  .form-modal ._close {
    top: 4px;
    right: 4px;
  }

  .form-modal ._body {
    max-height: calc(100dvh - 78px);
  }

  .form-modal ._frame {
    height: calc(100dvh - 78px);
  }
}
