@charset "UTF-8";
* {
  background: transparent;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  color: unset;
  list-style: none;
  border: none;
}

html {
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  text-rendering: optimizeLegibility;
  word-break: auto-phrase;
  overflow-wrap: anywhere;
  /* ビューポート幅 320px〜960px：文字サイズ 16px〜24px（1rem = 16px の場合） */
  font-size: clamp(1rem, 0.75rem + 1.25vw, 1.5rem);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.1em;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scroll-padding-top: 132px;
  overflow-x: hidden;
  @media (width >= 481px) {
    scroll-padding-top: 172px;
  }
}

body {
  background: #fafafa;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 1rem;
  font-optical-sizing: auto;
  color: #333;
  text-underline-position: from-font;
  -webkit-text-decoration-skip-ink: none;
  text-decoration-skip-ink: none;
  text-spacing-trim: trim-auto;
  font-feature-settings: "palt";
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  position: relative;
  &:has(#gnav-checkbox:checked) {
    overflow: hidden;
  }
  &:has([popover]:popover-open) {
    pointer-events: none;
    overflow: hidden;
  }
}

[popover]:popover-open {
  pointer-events: auto;
}

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

p {
  margin-top: 2rem;
}

summary {
  font-size: 1.5rem;
  cursor: pointer;
}

a {
  transition: all 0.3s;
  img {
    transition: all 0.3s;
  }
  img.drop-shadow {
    filter: drop-shadow(0.25rem 0.25rem 0 rgba(0, 0, 0, 0.2));
  }
  &:hover img:not(.drop-shadow) {
    opacity: 0.8;
  }
  &:hover img.drop-shadow {
    translate: 0.25rem 0.25rem;
    filter: drop-shadow(0.25rem 0.25rem 0 rgba(0, 0, 0, 0));
    transition: all 0s;
  }
  &:hover:not(:has(img)) {
    text-decoration: underline;
  }
}

.align-center {
  text-align: center;
}

.all-wrapper {
  margin-inline: auto;
  max-width: 960px;
  background: #fff;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.1);
}

.sec {
  padding: 1rem;
  text-align: center;
  position: relative;
  @media (width >= 481px) {
    padding: 2rem;
  }
  @media (width >= 845px) {
    padding: 3.75rem;
  }
}

.list-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.list-disc {
  padding-left: 1em;
  > li {
    text-indent: -1em;
    &::before {
      margin-right: 0.2em;
      content: "";
      background: #333;
      width: 0.8em;
      height: 0.8em;
      border-radius: 50%;
      display: inline-block;
    }
  }
}

.notice {
  padding-left: 1em;
  text-align: left;
  > li {
    text-indent: -1em;
    &::before {
      content: "※";
      font-family: monospace;
    }
  }
}

.btn-list {
  padding-inline: 1rem;
  display: flex;
  justify-content: center;
  gap: 1em;
  width: 100%;
}

.app-btn {
  width: 70%;
  margin-bottom: 1.5rem;
  @media (width >= 845px) {
    width: inherit;
    margin-bottom: 0;
  }
}

#fixed-bnr {
  padding-block: 1rem;
  background: #fff;
  position: fixed;
  bottom: -100%;
  left: 0;
  right: 0;
  z-index: 10;
  opacity: 0;
  &.is-fixed {
    bottom: 0;
    opacity: 1;
    transition: all 0.3s ease-in-out;
  }
}

@keyframes identifier {
  0% {
    translate: 0 -100%;
  }
  100% {
    translate: 0 0;
  }
}

#header {
  background: #fff;
  display: grid;
  width: 100%;
  max-width: 960px;
  position: relative;
  gap: 1rem;
  align-items: center;
  grid-template:
    "ttl nav"
    "btn btn" 
    / 1fr 80px;
  @media (width >= 845px) {
    align-items: end;
    grid-template:
      "ttl btn"
      "nav nav";
  }
  .site-title {
    grid-area: ttl;
    width: 180px;
    text-align: left;
    @media (width >= 845px) {
      width: inherit;
    }
    img {
      vertical-align: bottom;
    }
  }
  .btns {
    grid-area: btn;
    display: flex;
    gap: 1rem;
    justify-content: center;
    @media (width >= 845px) {
      margin-left: auto;
    }
  }
  .main-nav {
    grid-area: nav;
  }
  &.is-fixed {
    position: fixed;
    top: 0;
    z-index: 10;
    animation: identifier 0.3s ease-in-out forwards;
  }
  &.sec {
    padding-block: 1rem;
  }
}

.main-nav {
  ul {
    display: flex;
    justify-content: center;
    font-size: 0.8rem;
    flex-direction: column;
    @media (width >= 845px) {
      flex-direction: row;
      gap: 0;
    }
    li {
      text-align: center;
      border-bottom: 1px solid #333;
      @media (width >= 845px) {
        border-bottom: none;
        &:not(:last-of-type) {
          border-right: 1px solid #333;
        }
      }
    }
    a {
      padding: 0.5rem;
      display: block;
      @media (width >= 845px) {
        padding: 0 0.5rem;
      }
      &::after {
        margin-left: 0.25rem;
        content: "";
        display: inline-block;
        width: 0;
        height: 0;
        border: 0.35rem solid transparent;
        border-top: 0.5rem solid #333;
        translate: 0 0.25rem;
      }
    }
  }
}

#gnav {
  display: none;
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  z-index: 1000;
  width: 100vw;
  height: calc(100dvh - 80px);
  background: hsla(0, 100%, 100%, 0.75);
  backdrop-filter: blur(10px);
  font-size: 1.5rem;
  @media (width >= 845px) {
    display: flex;
    position: unset;
    width: unset;
    height: unset;
    font-size: 0.8rem;
  }
}

#gnav-toggle {
  width: 56px;
  height: 56px;
  display: block;
  cursor: pointer;
  position: relative;
  @media (width >= 845px) {
    display: none;
  }
  div {
    background: #f08d00;
    border-radius: 2px;
    width: 24px;
    height: 2px;
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    translate: 0 -50%;
    transform-origin: center center;
    transition: all 0.3s;
    &:nth-of-type(1) {
      translate: 0 calc((50% + 8px) * -1);
    }
    &:nth-of-type(3) {
      translate: 0 calc(50% + 6px);
    }
  }
}

#gnav-checkbox {
  display: none;
  @media (width >= 845px) {
    display: none;
  }
  &:checked ~ #gnav {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
  }
  &:checked ~ #gnav-toggle {
    background: none;
    div:nth-of-type(1) {
      width: 24px;
      translate: 0 -50%;
      rotate: 45deg;
    }
    div:nth-of-type(2) {
      background: none;
      border-radius: 50%;
      width: 32px;
      height: 32px;
    }
    div:nth-of-type(3) {
      width: 24px;
      translate: 0 -50%;
      rotate: -45deg;
    }
  }
}

#kv {
  .btn-list {
    position: absolute;
    bottom: 10%;
  }
}

.campaign {
  margin-top: -1rem;
  background: #fff9b1;
  .notice {
    margin-top: 2rem;
  }
}

#info-member {
  .info-list {
    margin: 2rem auto 0;
    padding: 0 1rem 2rem;
    border: 5px solid #44b89b;
    max-width: 640px;
  }
}



#line {
  background: url("../img/bg-diagonal-stripes.webp") center no-repeat;
  background-size: cover;
  &.sec {
    padding-block: 1.5rem 3.75rem;
  }
}

.news-window {
  padding-block: 1rem;
  width: 100%;
}

.news-list {
  background: #fff;
  padding-left: 1em;
  li {
    padding-block: 0.5rem;
    border-bottom: 1px solid #ddd;
    text-indent: -1em;
    &::before {
      content: "・";
      font-family: monospace;
      width: 1em;
    }
  }
}

#worries {
  &.sec {
    padding-top: 0;
    padding-inline: 0;
  }
}

#suggestion {
  &.sec {
    padding-top: 0;
  }
  h2:not(:first-of-type) {
    margin-top: 2rem;
  }
  .img-box {
    display: flex;
    justify-content: center;
  }
  p:first-of-type {
    margin-top: 0;
  }
  p:last-of-type {
    margin-bottom: 2rem;
  }
}

#feature {
  background-image: -webkit-image-set(
    url("../img/bg-dot.png") 1x,
    url("../img/bg-dot@2x.png") 2x
  );
  background-image: image-set(
    url("../img/bg-dot.png") 1x,
    url("../img/bg-dot@2x.png") 2x
  );
  background-color: #f18e02;
  p {
    margin-top: 0;
  }
}

#training {
  &.sec {
    padding: 0;
  }
  .sec-title {
    padding-inline: 3.75rem;
  }
  .nav {
    padding: 1rem;
    display: flex;
    gap: 1rem;
    align-items: baseline;
    @media (width >= 845px) {
      padding: 2rem 3.75rem;
    }
  }
  .title-bg {
    padding: 2rem;
    background-image: -webkit-image-set(
      url("../img/bg-dot-small.png") 1x,
      url("../img/bg-dot-small@2x.png") 2x
    );
    background-image: image-set(
      url("../img/bg-dot-small.png") 1x,
      url("../img/bg-dot-small@2x.png") 2x
    );
    background-color: #fff7d8;
    @media (width >= 845px) {
      padding: 2rem 3.75rem;
    }
  }
  .swiper {
    background: #a4e3eb;
  }
}

.swiper {
  position: relative;
  .swiper-slide {
    padding: 1rem;
    @media (width >= 845px) {
      padding: 2rem 3.75rem;
    }
  }
  .button-next, .button-prev {
    cursor: pointer;
    position: absolute;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    background-color: rgba(255, 255, 255, 0.7);
    color: #fff;
  }
  .button-next::before, .button-prev::before {
    content: "";
    display: block;
    width: 8px;
    height: 8px;
    border: 1px solid #000000;
    border-width: 3px 3px 0 0;
    position: absolute;
    top: 15px;
  }
  .button-next {
    right: 10px;
    @media (width >= 845px) {
      width: 50px;
      height: 50px;
      right: 15px;
    }
    &::before {
      left: 10px;
      transform: translateY(-50%) rotate(45deg);
      @media (width >= 845px) {
        width: 12px;
        height: 12px;
        top: 25px;
        left: 16px;
      }
    }
  }
  .button-prev {
    left: 10px;
    @media (width >= 845px) {
      width: 50px;
      height: 50px;
      left: 15px;
    }
    &::before {
      left: 10px;
      transform: translateY(-50%) rotate(-135deg);
      @media (width >= 845px) {
        width: 12px;
        height: 12px;
        top: 25px;
        left: 20px;
      }
    }
  }
  .pagination {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
    z-index: 1;
    span {
      width: 10px;
      height: 10px;
      background: #cfcfcf;
      opacity: 1;
    }
    .swiper-pagination-bullet-active {
      background: #1e4729;
    }
  }
}

#facility {
  background: #fff7d8;
  .sec-title {
    padding-top: 2rem;
    text-align: center;
    img {
      height: 2.5rem;
      @media (width >= 845px) {
        height: 4rem;
      }
    }
  }
  .facility {
    filter: drop-shadow(0 0 1rem rgba(0, 0, 0, 0.2));
    &:not(:first-of-type) {
      margin-top: 3rem;
    }
  }
}

#qa {
  &.sec {
    text-align: left;
  }
  .sec-title img {
    scale: 2;
    @media (width >= 845px) {
      scale: 1;
    }
  }
}

#qa {
  .qa {
    margin-top: 2rem;
    padding: 0.5rem 1rem;
    border: 6px solid #f18e02;
    border-radius: 10px;
    .question {
      font-weight: bold;
      background: url("../img/icon-plus.svg") right center no-repeat;
      background-size: 2rem 2rem;
    }
    &[open] .question {
      background: url("../img/icon-minus.svg") right center no-repeat;
      background-size: 2rem 2rem;
    }
    .qa {
      margin-bottom: 1rem;
      padding: 0;
      .question {
        padding: 0.5rem 3.5rem;
        background:
          url("../img/qa-q.svg") left 1rem top 0.3rem no-repeat,
          url("../img/icon-plus-rev.svg") right 1rem center no-repeat,
          #f18e02;
        background-size: 2rem 2rem;
        color: #fff;
        font-size: 1rem;
      }
      .answer {
        padding: 0.5rem 0.5rem 0.5rem 3.5rem;
        .list-disc li {
          margin-top: 0.25rem;
        }
        .notice li {
          margin-top: 0.25rem;
          font-size: 0.9rem;
        }
      }
      &[open] .question {
        background:
          url("../img/qa-q.svg") left 1rem top 0.3rem no-repeat,
          url("../img/icon-minus-rev.svg") right 1rem center no-repeat,
          #f18e02;
        background-size: 2rem 2rem;
      }
    }
  }
}
#how-to-application {
  background: rgba(0, 160, 148, 0.12);
  .sec-title {
    margin: -1rem -1rem 1rem -1rem;
    @media (width >= 481px) {
      margin: -2rem -2rem 2rem -2rem;
    }
    @media (width >= 845px) {
      margin: -3.75rem -3.75rem 3.75rem -3.75rem;
    }
  }
}

#price {
  .sec-title {
    margin: -1rem -1rem 1rem -1rem;
    @media (width >= 481px) {
      margin: -2rem -2rem 2rem -2rem;
    }
    @media (width >= 845px) {
      margin: -3.75rem -3.75rem 3.75rem -3.75rem;
    }
  }
}

#shop {
  .sec-title {
    background: #f7efda;
    margin: -1rem -1rem 1rem -1rem;
  }
  h3 {
    margin-block: 2rem 1rem;
    text-align: left;
    border-bottom: 1px solid #333;
  }
  .shop-list {
    text-align: left;
    a {
      font-size: 1.5rem;
      display: block;
      text-decoration: underline;
      color: blue;
    }
  }
}

#inquiry {
  &.sec {
    padding-bottom: 0;
  }
  .main-nav {
    margin-top: 2rem;
    justify-content: center;
  }
  .bnr {
    padding: 3rem;
    background: #f7efda;
    margin: 2rem -1rem 0 -1rem;
    @media (width >= 481px) {
      margin: 2rem -2rem 0 -2rem;
    }
    @media (width >= 845px) {
      margin: 2rem -3.75rem 0 -3.75rem;
    }
    li:not(:first-of-type) {
      margin-top: 2rem;
    }
  }
}

#footer {
  &.sec {
    padding-bottom: 8rem;
  }
  .list-flex {
    justify-content: center;
    li:not(:last-of-type) {
      padding-right: 1rem;
      border-right: 1px solid #333;
    }
  }
}

#select {
  padding-bottom: 1rem;
  .sec {
    padding: 0.3rem;
    + .sec {
      margin-top: 2rem;
      @media (width >= 845px) {
        margin-top: 3rem;
      }
    }
  }
  .select-title {
    margin-bottom: -0.5rem;
    position: relative;
    top: -1.5rem;
  }
  .price {
    margin-top: 0;
    padding: 0.5rem 0.5rem 0;
    + p {
      margin-top: 1rem;
      text-align: center;
    }
  }
}

.sec-bg-green {
  margin: 1rem;
  background: #39a338;
  border-radius: 0.5rem;
  @media (width >= 845px) {
    margin: 2rem;
  }
}

.sec-bg-pink {
  margin: 1rem;
  background: #ea503d;
  border-radius: 0.5rem;
  @media (width >= 845px) {
    margin: 2rem;
  }
}

.sec-bg-blue {
  margin: 1rem;
  background: #1bb8ce;
  border-radius: 0.5rem;
  @media (width >= 845px) {
    margin: 2rem;
  }
}

.sec-bg-purple {
  margin: 1rem;
  background: #d25c9d;
  border-radius: 0.5rem;
  @media (width >= 845px) {
    margin: 2rem;
  }
}

.sec-bg-star {
  padding: 0.5rem 0;
  background-image: -webkit-image-set(
    url("../img/bg-star.png") 1x,
    url("../img/bg-star@2x.png") 2x
  );
  background-image: image-set(
    url("../img/bg-star.png") 1x,
    url("../img/bg-star@2x.png") 2x
  );
  border-radius: 0.2rem;
}

.sec-bg-yellow-star {
  background: url("../img/bg-yellow-star.png");
}

.sec-bg-red-dot {
  background: url("../img/bg-red-dot.png");
}
