@charset "utf-8";

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  min-width: 0;
  list-style: none;
  /* text-box: trim-both cap alphabetic; */
}

:root {
  /* color-scheme: light dark; */
  interpolate-size: allow-keywords;
}

html {
  text-size-adjust: 100%;
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  line-height: 1.48;
  /* value min 16px max 25px viewport min 375px max 960px */
  font-size: clamp(1rem, 0.639rem + 1.54vw, 1.563rem);
  scroll-behavior: smooth;
}

body {
  background: #f5f5f5;
  color: #333;
  overflow-x: hidden;
  position: relative;
  &:has(dialog[open]) {
    overflow: hidden;
  }
}

h1,
h2,
h3,
h4 {
  overflow-wrap: break-word;
  text-wrap: balance;
  font-feature-settings: "palt";
}

p {
  text-wrap: pretty;
}

input,
textarea,
select,
button {
  field-sizing: content;
  border: none;
  font-size: 1rem;
  cursor: pointer;
}

table {
  border-spacing: 0;
}

img {
  width: inherit;
  height: auto;
  max-width: 100%;
  vertical-align: middle;
}

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

.no-sp {
  display: none;
  @media (768px <= width) {
    display: block;
  }
}

.no-pc {
  @media (768px <= width) {
    display: none;
  }
}

.mispo {
  font-weight: 900;
}

.btn {
  padding: 0.6rem 1.2rem;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background: #333;
  border-radius: 1.4rem;
  box-shadow: 0.14rem 0.14rem 0 rgba(0, 0, 0, 0.1);
  text-decoration: none;
  color: #fff;
  letter-spacing: 0.045em;
  font-feature-settings: "palt";
  text-box: trim-both cap alphabetic;
  &.blue {
    background: #00b2ff;
  }
  &.red {
    background: #ff3333;
  }
  &.green {
    background: #00cea8;
  }
  &.arrow {
    padding: 0.2rem 0.8rem 0.2rem 1rem;
    &::after {
      margin-left: 0.2rem;
      content: "▶︎";
      width: 1.2rem;
      height: 1.2rem;
      background: #fff;
      font-size: 0.6rem;
      border-radius: 50%;
      display: block;
      text-align: center;
      line-height: 1.2rem;
      text-indent: 0.14rem;
    }
    &.red {
      &::after {
        color: #ff3333;
      }
    }
    &.green {
      &::after {
        color: #00cea8;
      }
    }
  }
}

.btn-wrapper {
  text-align: center;
  font-size: 1.44rem;
  .btn {
    padding: 1rem;
    border-radius: 2rem;
    @media (768px <= width) {
      padding: 1rem 2.4rem;
    }
  }
}

.cheers {
  display: flex;
  justify-content: center;
  align-items: end;
  gap: 0.8rem;
  &::before,
  &::after {
    content: "";
    width: 4.8rem;
    height: 0.2rem;
    border-radius: 0.1rem;
    background: #fff;
    display: block;
    @media (768px <= width) {
      width: 2.4rem;
    }
  }
  &::before {
    margin-left: -2rem;
    rotate: 60deg;
    transform-origin: right bottom;
  }
  &::after {
    margin-right: -2rem;
    rotate: -60deg;
    transform-origin: left bottom;
  }
}

.attention-list {
  margin-top: 1rem;
  padding-left: 1em;
  li {
    text-indent: -1em;
    &::before {
      content: "※";
      font-family: monospace;
    }
  }
}

#header {
  padding: 0.68rem 1rem;
  text-align: right;
  h2 {
    margin-left: auto;
    width: 40%;
    max-width: 240px;
  }
}

#kv {
  padding-inline: 1rem;
  text-align: center;
  #site-title {
    margin-bottom: 1rem;
    & + p {
      margin-bottom: 3.48rem;
    }
  }
}

.bg {
  padding: 1rem;
  background:
    url(img/line-wave-white.svg) repeat-x top,
    url(img/line-wave-blue.svg) repeat-x bottom,
    url(img/bg-dot.svg),
    #fff580;
  @media (768px <= width) {
    padding: 1.8rem;
  }
}

#intro {
  .excuse {
    padding: 1.8rem 1rem 3.6rem;
    background: #00cea8;
    color: #fff;
    text-align: center;
    position: relative;
    @media (768px <= width) {
      padding: 1.8rem 1.8rem 3.6rem;
    }
    &::after {
      content: "";
      width: 0;
      height: 0;
      border: 1.6rem solid transparent;
      border-left-width: 2.8rem;
      border-right-width: 2.8rem;
      border-top-color: #00cea8;
      display: block;
      position: absolute;
      top: 100%;
      left: 50%;
      transform: translateX(-50%);
    }

    h2 {
      margin-bottom: 2rem;
      padding: 0.8rem 0 1rem;
      letter-spacing: 0.045em;
      font-size: 1.4rem;
      background: url(img/line-wave-dotted.svg) center bottom no-repeat;
    }
    .excuse-list {
      display: grid;
      grid-template:
        "top top" auto
        "left right" auto
        "bottom bottom" auto
        / 1fr 1fr;
      align-items: end;
      gap: 1rem;
      @media (768px <= width) {
        grid-template:
          "left top right" auto
          "left bottom right" auto
          / 1fr 1fr 1fr;
        align-items: center;
      }
      .excuse1 {
        grid-area: left;
        padding-bottom: 1.8rem;
        background: url(img/baloon-left.svg) center bottom no-repeat;
      }
      .excuse2 {
        grid-area: top;
        padding-bottom: 1.8rem;
        background: url(img/baloon-center.svg) center bottom no-repeat;
      }
      .excuse3 {
        grid-area: right;
        padding-bottom: 1.8rem;
        background: url(img/baloon-right.svg) center bottom no-repeat;
      }
      .excuse4 {
        grid-area: bottom;
      }
      strong {
        color: #fff580;
        font-size: 1.1rem;
        font-weight: 700;
        @media (768px <= width) {
          font-size: 1.2rem;
        }
      }
    }
  }
  .solution {
    padding: 3.6rem 1rem 2.4rem;
    background: #fff;
    color: #ff3333;
    text-align: center;
    @media (768px <= width) {
      padding: 3.6rem 1.8rem 2.4rem;
    }
    h2 {
      margin-bottom: 2rem;
      font-size: 1.4rem;
      letter-spacing: 0.045em;
      span {
        font-size: 1.6rem;
        @media (768px <= width) {
          font-size: 1.72rem;
        }
      }
      &::before,
      &::after {
        width: 5.6rem;
        height: 0.12rem;
        border-radius: 0.06rem;
        background: #ff3333;
        @media (768px <= width) {
          width: 2.8rem;
        }
      }
    }
    .solution-list {
      display: grid;
      grid-template:
        "top left" auto
        "right right" auto
        "bottom bottom" auto
        / 1fr 1fr;
      justify-content: center;
      gap: 0 1rem;
      font-size: 1.2rem;
      font-weight: 700;
      @media (768px <= width) {
        grid-template:
          "left top right" auto
          "bottom bottom bottom" auto
          / 1fr 1fr 1fr;
        gap: 2rem 1rem;
      }
      .solution1 {
        grid-area: left;
      }
      .solution2 {
        grid-area: top;
      }
      .solution3 {
        grid-area: right;
        margin: 0 auto;
        width: calc((100% - 1rem) / 2);
        @media (768px <= width) {
          margin: 0;
          width: inherit;
        }
      }
      .solution4 {
        grid-area: bottom;
        margin-top: 1rem;
        @media (768px <= width) {
          margin-top: 0;
        }
      }
      .solution-bg {
        background: url(img/intro-answer-bg.webp) center no-repeat;
        background-size: cover;
        aspect-ratio: 1 / 1;
        display: flex;
        justify-content: center;
        align-items: center;
      }
    }
  }
}

#about {
  margin-top: 3.6rem;
  text-align: center;
  position: relative;
  h2 {
    margin-bottom: 1.6rem;
    padding: 0 1.6rem;
    color: #ff3333;
    font-size: 1.72rem;
    border-bottom: 0.52rem solid #fff;
    display: inline-block;
    span {
      font-size: 2rem;
    }
  }
  .mizuno-logo {
    margin-bottom: 1rem;
    text-align: center;
    @media (768px <= width) {
      position: absolute;
      top: 0;
      right: 0;
    }
  }
  .desc {
    font-size: 1.36rem;
    font-weight: 600;
    line-height: 1.75;
    strong {
      font-size: 1.767rem;
      font-weight: 700;
    }
  }
}

#point {
  margin-top: 3.6rem;
  text-align: center;
  h2 {
    margin-bottom: 2rem;
    padding: 0 2.4rem 0.25rem;
    background: #ff3333;
    display: inline-block;
    color: #fff;
    letter-spacing: 0.09em;
    font-size: 1.4rem;
    border-radius: 1.6rem;
    position: relative;
    &::after {
      content: "";
      width: 0;
      height: 0;
      border: 0.6rem solid transparent;
      border-left-width: 0.5rem;
      border-right-width: 0.5rem;
      border-top-color: #ff3333;
      display: block;
      position: absolute;
      top: 100%;
      left: 50%;
      transform: translateX(-50%);
    }
    span {
      font-size: 2rem;
    }
  }
  .desc {
    font-size: 1.2rem;
    line-height: 2rem;
    letter-spacing: 0.045em;
    strong {
      font-size: 1.4rem;
      color: #00b2ff;
    }
  }
  .sports-list {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1.4rem 1rem;
    @media (768px <= width) {
      align-items: start;
    }
    li {
      width: 25%;
      img {
        width: 100%;
      }
      @media (768px <= width) {
        width: auto;
      }
    }
  }
  .point-list {
    text-align: left;
    @media (768px <= width) {
      padding: 1rem;
    }
    .point {
      margin-top: 1rem;
      padding: 1rem;
      background: #fff;
      border-radius: 1.6rem;
      box-shadow: 0.2rem 0.2rem 0 #ffeb00;
      @media (768px <= width) {
        margin-top: 3rem;
        padding: 1.5rem;
      }
      h3 {
        margin-bottom: 1.5rem;
        display: flex;
        align-items: center;
        gap: 1rem;
        font-size: 1.36rem;
        letter-spacing: 0.045em;
        flex-direction: column;
        text-align: center;
        @media (768px <= width) {
          flex-direction: row;
          text-align: left;
        }
        span {
          font-size: 1.72rem;
          font-weight: 900;
        }
        small {
          font-weight: 700;
        }
        .u {
          border-bottom: 0.24rem solid #ffeb00;
        }
      }
      .imgbox {
        font-size: 1.08rem;
        line-height: 1.68;
        display: flex;
        align-items: center;
        gap: 1.5rem;
        flex-direction: column;
        @media (768px <= width) {
          flex-direction: row;
        }
        h4 {
          margin-bottom: 0.6rem;
          color: #00b2ff;
          font-size: 1.2rem;
          span {
            font-size: 1.48rem;
          }
        }
        p {
          font-feature-settings: "palt";
          text-box: trim-both cap alphabetic;
        }
        figure {
          flex-shrink: 0;
        }
        figcaption {
          margin-top: 0.5rem;
          font-size: 0.88rem;
          line-height: 1.5;
        }
        & + * {
          margin-top: 2rem;
        }
      }
    }
  }
}

#dialog-show {
  width: 100%;
}

#dialog {
  margin: auto;
  opacity: 0;
  transition: all 0.3s;
  border: 0;
  &[open] {
    opacity: 1;
    @starting-style {
      /* 出現前（非表示時） */
      opacity: 0;
    }
  }
  &::backdrop {
    background-color: rgba(0, 0, 0, 0.5);
  }
  img {
    width: 100%;
  }
}
#dialog-close {
  font-size: 2rem;
  font-weight: 500;
  width: 100%;
  height: 50px;
  background: #fff;
  text-align: center;
  position: sticky;
  bottom: 0;
  
  &::before,
  &::after {
    content: "";
    width: 20px;
    height: 3px;
    background: #000;
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    translate: -50% -50%;
    transform-origin: 50% 50%;
  }
  &::before {
    rotate: 45deg;
  }
  &::after {
    rotate: -45deg;
  }
}

#ability {
  margin-bottom: 3rem;
  padding: 1rem;
  background: url(img/ability-bg.svg) bottom no-repeat #00b2ff;
  @media (768px <= width) {
    padding: 2rem;
  }
  h2 {
    text-align: center;
    font-size: 1.4rem;
    letter-spacing: 0.045em;
    color: #fff;
    span {
      font-size: 1.72rem;
      font-weight: 900;
      color: #ffff00;
    }
  }
  .ability-list-wrap {
    padding: 1rem;
    position: relative;
    @media (768px <= width) {
      padding: 1.6rem 3.2rem;
    }
    .ability-list {
      display: flex;
      gap: 1.5rem;
      flex-direction: column;
      @media (768px <= width) {
        flex-direction: row;
      }
      .ability {
        padding: 2rem;
        flex: 1;
        @media (768px <= width) {
          padding: 1rem;
        }
        h3 {
          margin-bottom: 1rem;
          padding: 0.5rem;
          text-align: center;
          color: #fff;
          background: #ff3333;
          border-radius: 1.5rem;
          font-size: 1.08rem;
          @media (768px <= width) {
            margin-bottom: 0.5rem;
            padding: 0;
            border-radius: 1rem;
          }
        }
        p {
          padding-inline: 0.2rem;
          font-feature-settings: "palt";
          @media (768px <= width) {
            font-size: 0.8rem;
          }
        }
        &:nth-of-type(1) {
          background: url(img/ability-cloud1.png) no-repeat;
          background-size: 100% 100%;
        }
        &:nth-of-type(2) {
          background: url(img/ability-cloud2.png) no-repeat;
          background-size: 100% 100%;
        }
        &:nth-of-type(3) {
          background: url(img/ability-cloud3.png) no-repeat;
          background-size: 100% 100%;
        }
      }
      &.safety {
        gap: 2rem;
        .ability {
          text-align: center;
          h3 {
            background: #00cea8;
            border-radius: 3rem;
          }
          &:nth-of-type(1) {
            background: url(img/ability-cloud4.png) no-repeat;
            background-size: 100% 100%;
          }
          &:nth-of-type(2) {
            background: url(img/ability-cloud5.png) no-repeat;
            background-size: 100% 100%;
          }
        }
      }
    }
    .fig1 {
      margin-top: 1rem;
      text-align: center;
      @media (768px <= width) {
        position: absolute;
        top: 70%;
        right: 0;
      }
    }
    .fig2 {
      margin-top: 1rem;
      text-align: center;
      @media (768px <= width) {
        margin-top: 0;
        position: absolute;
        top: 33%;
        left: 0;
      }
    }
  }
  .plus {
    margin-bottom: 1rem;
    text-align: center;
  }
}

/* 通常セクション */
.sec {
  padding: 0 1rem 2rem;
  @media (768px <= width) {
    padding: 0 4.2rem 4.2rem;
  }
}
.sec-title {
  margin: 0 -1rem 2rem -1rem;
  padding: 1rem;
  text-align: center;
  color: #fff;
  font-size: 1.72rem;
  letter-spacing: 0.045em;
  @media (768px <= width) {
    margin: 0 -4.2rem 3.6rem -4.2rem;
    padding: 2rem;
  }
  &.green {
    background-image: repeating-linear-gradient(120deg, rgba(0, 206, 168, 1) 0.5% 1%, rgba(41, 212, 181, 1) 1% 1.5%);
  }
  &.blue {
    background-image: repeating-linear-gradient(120deg, rgba(0, 178, 255, 1) 0.5% 1%, rgba(39, 190, 255, 1) 1% 1.5%);
  }
  &.red {
    background-image: repeating-linear-gradient(120deg, rgba(255, 51, 51, 1) 0.5% 1%, rgba(255, 80, 81, 1) 1% 1.5%);
  }
}

#class {
  .class-table {
    margin-bottom: 1rem;
    width: 100%;
    font-size: 1.44rem;
    div {
      display: flex;
      flex-direction: column;
      margin-bottom: 1rem;
      @media (768px <= width) {
        margin-bottom: 0;
        flex-direction: row;
      }
      &:nth-of-type(1) {
        dt {
          @media (768px <= width) {
            border-bottom: 3px solid #fff;
          }
        }
      }
      &:nth-of-type(2),
      &:nth-of-type(3) {
        dt {
          @media (768px <= width) {
            border-top: 3px solid #fff;
            border-bottom: 3px solid #fff;
          }
        }
      }
      &:nth-of-type(4) {
        dt {
          @media (768px <= width) {
            border-top: 3px solid #fff;
          }
        }
        dd {
          @media (768px <= width) {
            border-bottom: 6px solid #00cea8;
          }
        }
      }
    }
    dt {
      padding: 0.5rem 1rem;
      background: #00cea8;
      color: #fff;
      text-align: center;
      @media (768px <= width) {
        border-right: 8px solid #fff;
        width: 28%;
      }
    }
    dd {
      border-top: 6px solid #00cea8;
      border-left: 6px solid #00cea8;
      border-right: 6px solid #00cea8;
      border-bottom: 6px solid #00cea8;
      padding: 0.5rem 1rem;
      font-weight: 600;
      text-align: center;
      background: #fffcdb;
      font-feature-settings: "palt";
      @media (768px <= width) {
        border-bottom: 0;
        width: 72%;
      }
    }
    & + p {
      margin: 2rem 0;
      font-feature-settings: "palt";
    }
  }
}

#voice {
  text-align: center;
  .voice-list {
    margin-bottom: 3rem;
    .voice {
      padding: 1rem;
      border: 1px solid #333;
      border-radius: 1.2rem;
      display: grid;
      grid-template:
        "fig text" auto
        / 25% 1fr;
      gap: 1.5rem;
      align-items: center;
      @media (768px <= width) {
        padding: 2rem 3rem;
      }
      figure {
        grid-area: fig;
        text-align: center;
      }
      p {
        grid-area: text;
        text-align: left;
        font-feature-settings: "palt";
        span {
          color: #00b2ff;
          font-size: 0.96rem;
        }
      }
    }
  }
  h3 {
    margin-bottom: 2rem;
    padding: 0 0.4rem 0.24rem;
    font-size: 1.4rem;
    /* background: linear-gradient(to bottom, transparent 50%, #ffff00 50%); */
    display: inline-block;
    text-decoration-line: underline;
    text-decoration-thickness: 1rem;
    text-decoration-color: #ffff00;
    text-underline-offset: -0.5rem;
    text-decoration-skip-ink: none;
  }
  .arrow {
    margin-bottom: 2rem;
  }
  h4 {
    margin-bottom: 1.4rem;
  }
  .graph {
    margin-bottom: 2rem;
  }
  .answer {
    margin-bottom: 3rem;
    padding: 0.4rem 1rem;
    background: #ffff00;
    display: inline-block;
    font-size: 1.36rem;
    font-weight: 600;
    span {
      font-size: 1.76rem;
    }
    strong {
      color: #e50038;
    }
  }
  .interview {
    margin-top: 3rem;
    color: #00b2ff;
    font-size: 1.72rem;
  }
  .video {
    margin-top: 1.6rem;
    iframe {
      aspect-ratio: 560 / 315;
    }
  }
}

#app {
  .step-list {
    .step {
      margin-bottom: 2rem;
      display: grid;
      grid-template:
        "fig text" auto
        / 25% 1fr;
      gap: 1.2rem;
      align-items: center;
      figure {
        grid-area: fig;
        text-align: center;
      }
      div {
        grid-area: text;
        h3 {
          margin-bottom: 0.4rem;
          font-size: 1.72rem;
        }
        p {
          font-size: 1.4rem;
        }
        a {
          color: #ff3333;
        }
      }
    }
  }
}

#faq {
  background: #fffde5;
  .faq {
    padding-left: 4.2rem;
    background: url(img/faq-q.svg) left 1rem top 1rem no-repeat #fff;
    border: 0.16rem dotted #00cea8;
    border-radius: 0.6rem;
    background-size: 2.5rem;
    @media (768px <= width) {
      background-size: auto;
    }
    &:not(:last-of-type) {
      margin-bottom: 1rem;
      @media (768px <= width) {
        margin-bottom: 2rem;
      }
    }
    summary {
      padding: 1rem 3.4rem 1rem 0;
      font-size: 1.28rem;
      cursor: pointer;
      background: url(img/icn-chevron.svg) right 0.74rem center no-repeat;
      background-size: 2rem;
      @media (768px <= width) {
        background-size: auto;
      }
    }
    &[open] {
      summary {
        background: url(img/icn-minus.svg) right 0.74rem center no-repeat;
        background-size: 2rem;
        @media (768px <= width) {
          background-size: auto;
        }
      }
    }
    .faq-content {
      overflow: hidden;
      .faq-content-inner {
        padding: 0 0.74rem 1rem 0;
      }
    }
    a {
      color: #00cea8;
    }
  }
}

#shops {
  .logo {
    margin-bottom: 2rem;
    text-align: center;
    img {
      width: 100%;
      max-width: 240px;
      @media (768px <= width) {
        max-width: 375px;
      }
    }
  }
  .shop-list {
    padding: 0 1rem;
    @media (768px <= width) {
      padding: 0 2rem;
    }
    .shop {
      &:not(:last-of-type) {
        margin-bottom: 3rem;
      }
      h3 {
        margin-bottom: 1rem;
        font-size: 1.8rem;
        a {
          color: #333;
        }
      }
      p {
        font-size: 1.32rem;
        font-weight: 400;
        &.tel {
          font-weight: 600;
          span {
            font-size: 1.64rem;
          }
        }
      }
      .link-list {
        margin: 1rem 0 2rem;
        display: flex;
        gap: 1rem;
        font-size: 1.1rem;
        flex-direction: column;
        @media (768px <= width) {
          flex-direction: row;
        }
      }
    }
  }
}

#sns {
  padding: 1rem;
  background: #eee;
  text-align: center;
  @media (768px <= width) {
    padding: 2rem;
  }
  h2 {
    font-size: 1.4rem;
  }
  .sns-list {
    padding: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    @media (768px <= width) {
      padding: 2rem;
    }
    li {
      flex: 1;
    }
  }
}

#navi {
  margin: 2rem 0;
  font-weight: 400;
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-direction: column;
  align-items: center;
  @media (768px <= width) {
    flex-direction: row;
  }
  a {
    color: #333;
  }
}

#copyright {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 400;
}

#fixed-bnr {
  position: sticky;
  bottom: 0;
  .bnr {
    padding: 1rem;
    color: #fff;
    background: #ff3333;
    text-decoration: none;
    text-align: center;
    display: block;
  }
  @media (768px <= width) {
    position: fixed;
    top: 160px;
    right: 0;
    writing-mode: vertical-rl;
    .bnr {
      padding: 2rem 0.2rem;
      display: inline-block;
    }
  }
  @media (960px <= width) {
    right: 50%;
    translate: 480px 0;
  }
}

/* Slick CSS */
.slick-prev,
.slick-next {
  background: #fff;
  z-index: 1;
  height: 16px;
}
.slick-prev:before,
.slick-next:before {
  color: rgba(0, 0, 0, 1);
}
.slick-next {
  right: 0;
}
.slick-prev {
  left: 0;
}
.slick-dots {
  position: static;
}
.slick-track {
  display: flex;
}
.slick-slide {
  height: auto !important;
  margin-inline: 0.5rem;
}
