:root {
  --main-color: #006ccd;
}

html {
  width: 100%;
  height: 100%;
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', 'メイリオ', Meiryo, sans-serif;
  font-size: 62.5%;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.04em;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: auto;
  scroll-behavior: smooth;
  font-family: 'Noto Sans JP', 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', 'メイリオ', 'Meiryo', sans-serif;
}

/* common */
ul {
  list-style: none;
}

p,
a {
  line-height: 1.45;
  letter-spacing: 0;
  color: #333;
}

.sp_only {
  display: none;
}

.sp_none {
  display: block;
}

.tablet_only {
  display: none;
}
/* common */
/* header */
.header {
  width: 100%;
  height: 64px;
  padding-left: 40px;
  background-color: #252525;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header__logo {
  height: 36px;
  width: auto;
  display: block;
}

.header__nav {
  height: 100%;
  margin-left: auto;
  display: flex;
}

.header__list {
  padding: 0 24px 0 0;
  height: 100%;
  display: flex;
  gap: 24px;
  list-style: none;
}

.header__item {
  height: 100%;
}

.header__item a {
  display: block;
  height: 100%;
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
}

.header__entry-button {
  height: 100%;
  padding: 0 30px;
  background: linear-gradient(180deg, #FF7272 0%, #FE2626 100%);
  font-size: 1.4rem;
  font-weight: 900;
  color: #fff;
  text-decoration: none;
  text-shadow: 0px 2px 1px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
}

.header__companies-button {
  height: 100%;
  padding: 0 30px;
  background: linear-gradient(162deg, #2b9aff 14%, #0072da 92%);
  font-size: 1.4rem;
  font-weight: 900;
  color: #fff;
  text-decoration: none;
  text-shadow: 0px 2px 1px rgba(0, 0, 0, 0.15);
  text-align: center;
  display: flex;
  align-items: center;
}

.header__humburger-btn-wrapper {
  display: none;
}
/* header */

/* main */
.wrapper {
  min-height: calc(100vh - 59px - 100px);
  background-color: #fff;
}

.title {
  padding: 74px 20px;
  background-color: #006ccd;
}

.title h2 {
  color: #fff;
  font-size: 3.8rem;
  font-weight: bold;
  max-width: 960px;
  margin: 0 auto;
}

.inner {
  margin: 0 auto;
  width: 90%;
  max-width: 1000px;
  padding: 80px 0;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.inner p,
.inner li {
  font-size: 1.6rem;
  line-height: 2;
  letter-spacing: 0;
  color: #333;
}

.rule__title {
  margin-bottom: 16px;
  font-size: 2.4rem;
  color: #333;
  font-weight: bold;
  line-height: 1.3;
}

.rule__title-top {
  font-size: 28px;
}

.rule__list {
  padding-inline-start: 2em;
}

.rule__list > li {
  padding-left: 0.2em;
}

.rule__detail_list {
  padding-inline-start: 1.6em;
}

.rule__detail_list > li {
  list-style-type: none;
  counter-increment: cnt;
}

.rule__detail_list > li::before {
  content: '（' counter(cnt) '）';
  display: inline-block;
  margin-left: -2.8em;
}

.rule__details_list-out_rule_list {
  padding-inline-start: 4em;
}

.rule_detail__desc_list {
  list-style-type: disc;
  padding-inline-start: 1.2em;
}

.rule_detail__desc_list > li::marker {
  font-size: 1rem;
}

/* main */
/* footer */
.footer {
  padding: 40px 0;
  background-color: #252525;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer a,
.footer p {
  font-size: 1.4rem;
  line-height: 1.45;
  letter-spacing: 0;
  color: #fff;
}

.footer__logo-img {
  width: 225px;
}

.footer__links {
  margin-top: 20px;
  display: flex;
  gap: 16px;
  list-style: none;
}

.footer__copyright {
  margin-top: 16px;
}
/* footer */

@media screen and (min-width: 768px) and (max-width: 1023px) {
  html {
    scroll-padding-top: 52px;
  }

  .flow__step {
    padding-top: 2px;
    gap: 8px;
  }

  /* header */

  .header {
    height: 52px;
    padding: 0 16px;
    justify-content: space-between;
  }

  .header__logo {
    height: 28px;
  }

  .header__nav {
    width: 375px;
    height: auto;
    padding: 24px;
    background-color: #252525;
    z-index: 1000;
    flex-direction: column;
    position: absolute;
    top: 52px;
    right: 0;
    display: none;
  }

  .header__nav[data-visible='true'] {
    display: block;
  }

  .header__background[data-visible='true'] {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    background: rgba(0, 0, 0, 0.6);
    display: block;
  }

  .header__list {
    height: auto;
    padding: 0;
    flex-direction: column;
    gap: 0;
  }

  .header__item {
    border-top: solid 1px #fff;
  }

  .header__item:last-of-type {
    border-bottom: solid 1px #fff;
  }

  .header__item a {
    width: 100%;
    padding: 24px 0;
    font-size: 1.8rem;
    text-align: center;
    justify-content: center;
    line-height: 0.9;
  }

  .header__entry-button {
    margin: 24px auto 0;
    width: 295px;
    height: auto;
    padding: 16px;
    justify-content: center;
    border-radius: 9999px;
    border: solid 3px #fff;
    font-size: 1.8rem;
    font-weight: 500;
    line-height: 1.2;
    text-shadow: 0px 2px 1px rgba(0, 0, 0, 0.15);
  }

  .header__companies-button {
    margin: 16px auto 0;
    width: 295px;
    height: auto;
    padding: 8px 0;
    justify-content: center;
    border-radius: 9999px;
    border: solid 3px #fff;
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 1.2;
    text-shadow: 0px 2px 1px rgba(0, 0, 0, 0.15);
  }

  .header__humburger-btn-wrapper {
    display: flex;
    width: 24px;
    height: 20px;
    transition: all 0.3s;
  }

  .header__humburger-btn {
    border-radius: 0;
    transition: all 0.5s;
    display: flex;
    z-index: 1000;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    font-size: 15px;
    width: 30px;
  }

  .header__hamburger-btn-inner {
    position: relative;
    height: 100%;
    width: 100%;
  }

  .header__hamburger-btn-inner div:first-of-type {
    margin-top: 0;
  }

  .header__hamburger-btn-inner span {
    position: absolute;
    left: 0;
    right: 0;
    width: 30px;
    margin: auto;
    transition: all 0.4s;
    border-radius: 50vh;
    background-color: #fff;
    height: 2px;
  }

  .header__hamburger-btn-inner span:first-of-type {
    top: 0;
  }

  .header__hamburger-btn-inner span:nth-of-type(2) {
    top: 0;
    bottom: 0;
  }

  .header__hamburger-btn-inner span:last-of-type {
    bottom: 0;
  }

  .header__humburger-btn[data-active='true'] .header__hamburger-btn-inner {
    width: 100%;
    height: 100%;
  }

  .header__humburger-btn[data-active='true'] .header__hamburger-btn-inner span {
    border-radius: 9999px;
  }

  .header__humburger-btn[data-active='true'] .header__hamburger-btn-inner span:first-of-type {
    transform: translateY(6px) rotate(-45deg);
    top: 5px;
  }

  .header__humburger-btn[data-active='true'] .header__hamburger-btn-inner span:nth-of-type(2) {
    opacity: 0;
  }

  .header__humburger-btn[data-active='true'] .header__hamburger-btn-inner span:last-of-type {
    transform: translateY(-7px) rotate(45deg);
  }

  /* header */

  /* common */

  .tablet_only {
    display: block;
  }

  /* common */
}

@media screen and (max-width: 767px) {
  .sp_only {
    display: block;
  }

  .sp_none {
    display: none;
  }

  .tablet_only {
    display: none;
  }

  /* header */

  .header {
    height: 52px;
    padding: 0 16px;
    justify-content: space-between;
  }

  .header__logo {
    height: 28px;
  }

  .header__nav {
    width: 100%;
    height: auto;
    padding: 24px;
    background-color: #252525;
    z-index: 1000;
    flex-direction: column;
    position: absolute;
    top: 52px;
    right: 0;
    display: none;
  }

  .header__nav[data-visible='true'] {
    display: block;
  }

  .header__background[data-visible='true'] {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    background: rgba(0, 0, 0, 0.6);
    display: block;
  }

  .header__list {
    height: auto;
    padding: 0;
    flex-direction: column;
    gap: 0;
  }

  .header__item {
    border-top: solid 1px #fff;
  }

  .header__item:last-of-type {
    border-bottom: solid 1px #fff;
  }

  .header__item a {
    width: 100%;
    padding: 24px 0;
    font-size: 1.8rem;
    text-align: center;
    justify-content: center;
    line-height: 0.9;
  }

  .header__entry-button {
    margin: 24px auto 0;
    width: 295px;
    height: auto;
    padding: 16px;
    justify-content: center;
    border-radius: 9999px;
    border: solid 3px #fff;
    font-size: 1.8rem;
    font-weight: 500;
    line-height: 1.2;
    text-shadow: 0px 2px 1px rgba(0, 0, 0, 0.15);
  }

  .header__companies-button {
    margin: 16px auto 0;
    width: 295px;
    height: auto;
    padding: 8px 0;
    justify-content: center;
    border-radius: 9999px;
    border: solid 3px #fff;
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 1.2;
    text-shadow: 0px 2px 1px rgba(0, 0, 0, 0.15);
  }

  .header__humburger-btn-wrapper {
    display: flex;
    width: 24px;
    height: 20px;
    transition: all 0.3s;
  }

  .header__humburger-btn {
    border-radius: 0;
    transition: all 0.5s;
    display: flex;
    z-index: 1000;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    font-size: 15px;
    width: 30px;
  }

  .header__hamburger-btn-inner {
    position: relative;
    height: 100%;
    width: 100%;
  }

  .header__hamburger-btn-inner div:first-of-type {
    margin-top: 0;
  }

  .header__hamburger-btn-inner span {
    position: absolute;
    left: 0;
    right: 0;
    width: 30px;
    margin: auto;
    transition: all 0.4s;
    border-radius: 50vh;
    background-color: #fff;
    height: 2px;
  }

  .header__hamburger-btn-inner span:first-of-type {
    top: 0;
  }

  .header__hamburger-btn-inner span:nth-of-type(2) {
    top: 0;
    bottom: 0;
  }

  .header__hamburger-btn-inner span:last-of-type {
    bottom: 0;
  }

  .header__humburger-btn[data-active='true'] .header__hamburger-btn-inner {
    width: 100%;
    height: 100%;
  }

  .header__humburger-btn[data-active='true'] .header__hamburger-btn-inner span {
    border-radius: 9999px;
  }

  .header__humburger-btn[data-active='true'] .header__hamburger-btn-inner span:first-of-type {
    transform: translateY(6px) rotate(-45deg);
    top: 5px;
  }

  .header__humburger-btn[data-active='true'] .header__hamburger-btn-inner span:nth-of-type(2) {
    opacity: 0;
  }

  .header__humburger-btn[data-active='true'] .header__hamburger-btn-inner span:last-of-type {
    transform: translateY(-7px) rotate(45deg);
  }

  /* header */
  /* main */

  .title {
    padding: calc(39 / 375 * 100vw) 0;
  }

  .title h2 {
    text-align: center;
    font-size: calc(30 / 375 * 100vw);
  }

  .inner {
    width: 100%;
    padding: calc(40 / 375 * 100vw) calc(20 / 375 * 100vw);
    display: flex;
    flex-direction: column;
    gap: calc(30 / 375 * 100vw);
  }

  .inner p,
  .inner li {
    font-size: calc(16 / 375 * 100vw);
  }

  .rule__title {
    margin-bottom: calc(16 / 375 * 100vw);
    font-size: calc(17 / 375 * 100vw);
  }

  .rule__list {
    padding-inline-start: calc(20 / 375 * 100vw);
  }

  .rule__list > li {
    padding-left: calc(4 / 375 * 100vw);
  }

  .rule__detail_list {
    padding-left: calc(24 / 375 * 100vw);
  }

  .rule__detail_list > li::before {
    margin-left: calc(-44 / 375 * 100vw);
  }

  .rule__details_list-out_rule_list {
    padding-inline-start: calc(40 / 375 * 100vw);
  }

  .rule_detail__desc_list {
    padding-inline-start: calc(20 / 375 * 100vw);
  }

  .rule_detail__desc_list > li::marker {
    font-size: calc(10 / 375 * 100vw);
  }

  /* main */
  /* footer */

  .footer {
    padding: calc(40 / 375 * 100vw) 0;
  }

  .footer a,
  .footer p {
    font-size: calc(14 / 375 * 100vw);
  }

  .footer__logo-img {
    width: calc(180 / 375 * 100vw);
  }

  .footer__links {
    margin-top: calc(20 / 375 * 100vw);
    gap: calc(16 / 375 * 100vw);
  }

  .footer__copyright {
    margin-top: calc(16 / 375 * 100vw);
  }

  /* footer */
}
