@charset "utf-8";

/* ------------------------------------
  * normalize
* ------------------------------------ */
/*! normalize.css v3.0.2 | MIT License | git.io/normalize */
html {
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}
* {
  box-sizing: border-box;
  transition: font-size 0.1s linear;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
a {
  background-color: transparent;
}
a:active, a:hover {
  outline: 0;
}
img {
  border: 0;
  max-width: 100%;
}
button, input, optgroup, select, textarea {
  color: inherit;
  font: inherit;
  margin: 0;
}
button, html input[type="button"], input[type="reset"], input[type="submit"] {
  -webkit-appearance: button;
  cursor: pointer;
}
button[disabled], html input[disabled] {
  cursor: default;
}
button::-moz-focus-inner, input::-moz-focus-inner {
  border: 0;
  padding: 0;
}
input {
  line-height: normal;
}
input[type="checkbox"],
input[type="radio"] {
  -webkit-box-sizing: border-box;
      box-sizing: border-box;
  padding: 0;
}
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  height: auto;
}
input[type="search"] {
  -webkit-appearance: textfield;
  -webkit-box-sizing: content-box;
      box-sizing: content-box;
}
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}
/* add base */

body {
  margin: 0;
  line-height: 1.6;
}
@media print, screen and (max-width: 959px) {
body {
  overflow-x: hidden;
}
}
ul, ol {
  list-style: none;
}
ul, ol, dl, p {
  margin: 0;
  padding: 0;
}
img {
  vertical-align: top;
}
a:link, a:visited {
  text-decoration:none;
}
a:hover, a:active {
  text-decoration: none;
}

/* general
----------------------------------- */
/* clearfix */
.cfx { *zoom: 1; }
.cfx:before, .cfx:after {
  content: "";
  display: table;
}
.cfx:after { clear: both; }

/* ------------------------------------
  * メインコンテンツ
* ------------------------------------ */
#wrap_page {
  background-color: #F5F5F5 !important;
}
#wrap_contents{
  position: relative;
  font-family: "LINE Seed JP", "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN","Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3","メイリオ",Meiryo,sans-serif;;
  font-size: 1.125rem;
  color: #333;
  width: 100%;
  margin: 0 auto;
  padding: 0;
}
#wrap_contents {
  background-color: #FFFCEA;
}
#wrap_contents img{
  max-width: 100%;
}

/** mv */
#mv {
  padding: 0 0 calc(64 / 960 * 100vw);
}

@media screen and (min-width: 960px) {
  #mv {
    padding: 0 0 64px;
  }
}

/* anchor link */

.link-box {
  display: flex;
  justify-content: space-between;
  margin: 0 calc(40 / 960 * 100vw);
}
@media all and (min-width: 960px) {
  .link-box {
    margin: 0 40px;
  }
}

.anchor-link {
  width: calc(424 / 960 * 100vw);
}
@media all and (min-width: 960px) {
  .anchor-link {
    width: 424px;
  }
}

/** about */
#about {
  margin-top: calc(20 / 960 * 100vw);
  padding-top: calc(68 / 960 * 100vw);
}
@media all and (min-width: 960px) {
  #about {
    margin-top: 20px;
    padding-top: 68px;
  }
}

.detail-area {
  padding: 0 calc(40 / 960 * 100vw);
}
@media all and (min-width: 960px) {
  .detail-area {
    padding: 0 40px;
  }
}

.about-ttl {
  margin-bottom: calc(22 / 960 * 100vw);
}
@media all and (min-width: 960px) {
  .detail-ttl {
    margin-bottom: 22px;
  }
}

#detail {
  position: relative;
  margin-top: calc(-22 / 960 * 100vw);
  padding-top: calc(64 / 960 * 100vw);
}
@media all and (min-width: 960px) {
  #detail {
    margin-top: -22px;
    padding-top: 64px;
  }
}

.detail-last {
  position: relative;
  z-index: 2;
}

.more-detail-area {
  position: relative;
  background-color: #FCE694;
  margin-top: calc(-120 / 960 * 100vw);
  padding: calc(160 / 960 * 100vw) calc(40 / 960 * 100vw);
  z-index: 1;
}
@media all and (min-width: 960px) {
  .more-detail-area {
    margin-top: -120px;
    padding: 160px 40px;
  }
}

.more-detail-area .img {
  margin-top: calc(80 / 960 * 100vw);
}
@media all and (min-width: 960px) {
  .more-detail-area .img {
    margin-top: 80px;
  }
}

.more-chance-area {
  position: relative;
  background-color: #D1403F;
  padding: calc(160 / 960 * 100vw) calc(40 / 960 * 100vw) calc(100 / 960 * 100vw);
  z-index: 3;
}
@media all and (min-width: 960px) {
  .more-chance-area {
    padding: 160px 40px 100px;
  }
}

.more-chance-ttl {
  position: absolute;
  top: calc(-64 / 960 * 100vw);
  left: 0;
  right: 0;
  margin: 0 calc(40 / 960 * 100vw);
}
@media all and (min-width: 960px) {
  .more-chance-ttl {
    top: -64px;
    margin: 0 40px;
  }
}

/** howto */
#howto {
  position: relative;
  margin-top: calc(-56 / 960 * 100vw);
  padding: calc(196 / 960 * 100vw) calc(40 / 960 * 100vw) 0;
}
@media screen and (min-width: 960px) {
  #howto {
    margin-top: -56px;
    padding: 196px 40px 0;
  }
}

.step-box {
  width: 100%;
  margin-top: calc(80 / 960 * 100vw);
}
@media screen and (min-width: 960px) {
  .step-box {
    margin-top: 80px;
  }
}

.step-box:last-child .step-img {
  width: 100%;
  margin: 0;
}
.step-box-inner {
  background-color: #FFFFFF;
  border: calc(6 / 960 * 100vw) solid #FFB306;
  border-radius: calc(20 / 960 * 100vw);
}
@media screen and (min-width: 960px) {
  .step-box-inner {
    border-width: 6px;
    border-radius: 20px;
  }
}

.step-dots {
  text-align: center;
  margin: calc(16 / 960 * 100vw) auto;
}
@media screen and (min-width: 960px) {
  .step-dots {
    margin: 16px auto;
  }
}

.step-box:nth-of-type(2) {
  margin-top: 0;
}

.step-ttl {
  width: calc(366 / 960 * 100vw);
  margin: -2px auto 0;
}
@media screen and (min-width: 960px) {
  .step-ttl {
    width: 336px;
  }
}

.step-img {
  width: calc(800 / 960 * 100vw);
  margin: calc(60 / 960 * 100vw) auto calc(40 / 960 * 100vw);
}
@media screen and (min-width: 960px) {
  .step-img {
    width: 800px;
    margin: 60px auto 40px;
  }
}

.step-text {
  font-size: calc(35 / 960 * 100vw);
  line-height: 1.4;
  text-indent: -1em;
  margin: 0 calc(40 / 960 * 100vw) calc(56 / 960 * 100vw);
  padding-left: 1em;
}
@media screen and (min-width: 960px) {
  .step-text {
    font-size: 35px;
    margin: 0 40px 56px;
  }
}

.step-btn-box {
  background-color: #FFB306;
  padding: calc(40 / 960 * 100vw) calc(115 / 960 * 100vw);
  box-shadow: 0px calc(-6 / 960 * 100vw) calc(6 / 960 * 100vw) 0px #1111111A;
}
@media screen and (min-width: 960px) {
  .step-btn-box {
    padding: 40px 115px;
    box-shadow: 0px -6px 6px 0px #1111111A;
  }
}


/** term */
#term {
  padding: calc(140 / 960 * 100vw) calc(56 / 960 * 100vw) calc(26 / 960 * 100vw);
}
@media screen and (min-width: 960px) {
  #term {
    padding: 140px 56px 26px;
  }
}

.term-top-image {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding-bottom: calc(80 / 960 * 100vw);
}
@media screen and (min-width: 960px) {
  .term-top-image {
    padding-bottom: 80px;
  }
}
.term-top-image img {
  height: calc(91 / 960 * 100vw);
}
@media screen and (min-width: 960px) {
  .term-top-image img {
    height: 91px;
  }
}

.term-contents {
  background-color: #ffffff;
  border-bottom-left-radius: calc(20 / 960 * 100vw);
  border-bottom-right-radius: calc(20 / 960 * 100vw);
  padding: calc(50 / 960 * 100vw) calc(34 / 960 * 100vw) 0;
}
@media screen and (min-width: 960px) {
  .term-contents {
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    padding: 50px 34px 0;
  }
}
.term-title {
  font-weight: 600;
  line-height: 1.6;
  color: #401000;
  text-align: center;
  padding-bottom: calc(58 / 960 * 100vw);
  font-size: calc(36 / 960 * 100vw);
}
@media screen and (min-width: 960px) {
  .term-title {
    padding-bottom: 58px;
    font-size: 36px;
  }
}

.term-subtitle {
  font-weight: 600;
  line-height: 1.6;
  color: #401000;
  font-size: calc(32 / 960 * 100vw);
}
@media screen and (min-width: 960px) {
  .term-subtitle {
    font-size: 32px;
  }
}

.term-text {
  font-weight: 300;
  line-height: 1.6;
  color: #401000;
  font-size: calc(32 / 960 * 100vw);
}
@media screen and (min-width: 960px) {
  .term-text {
    font-size: 32px;
  }
}

.term-block {
  padding-bottom: calc(56 / 960 * 100vw);
}
@media screen and (min-width: 960px) {
  .term-block {
    padding-bottom: 56px;
  }
}

.term-list {
  display: flex;
  flex-direction: column;
  gap: calc(6 / 960 * 100vw);
  padding-top: calc(16 / 960 * 100vw);
}
@media screen and (min-width: 960px) {
  .term-list {
    gap: 6px;
    padding-top: 16px;
  }
}

.term-note {
  display: block;
  font-weight: 300;
  line-height: 1.6;
  color: #401000;
  text-indent: -1em;
  padding-left: 1em;
  font-size: calc(32 / 960 * 100vw);
}
@media screen and (min-width: 960px) {
  .term-note {
    font-size: 32px;
  }
}

/** code */
#code {
  padding: 0 calc(54 / 960 * 100vw) calc(140 / 960 * 100vw);
}
@media screen and (min-width: 960px) {
  #code {
    padding: 0 54px 140px;
  }
}

.code-title {
  font-weight: 300;
  line-height: 1.6;
  color: #000;
  font-size: calc(32 / 960 * 100vw);
  padding-bottom: calc(18 / 960 * 100vw);
}
@media screen and (min-width: 960px) {
  .code-title {
    font-size: 32px;
    padding-bottom: 18px;
  }
}

.code-note {
  font-weight: 300;
  line-height: 1.6;
  color: #000;
  font-size: calc(32 / 960 * 100vw);
}
@media screen and (min-width: 960px) {
  .code-note {
    font-size: 32px;
  }
}


/** accordion */
.accordion-btn {
  cursor: pointer;
  transition: opacity 0.3s ease;
}
@media screen and (min-width: 960px) {
  .accordion-btn:hover {
    opacity: 0.6;
  }
}

.accordion-contents, .accordion-btn.close {
  display: none;
}


/** a link */
#wrap_contents a {
  display: inline;
  color: #0B98D8;
  text-decoration: underline;
  transition: opacity 0.3s ease;
}
@media screen and (min-width: 960px) {
  #wrap_contents a:hover {
    opacity: 0.6;
  }
}

.float_area {
  position: sticky;
  width: 100%;
  background-color: #FFFDE5;
  box-shadow: 0px -6px 6px 0px #1111111A;
  bottom: 0;
  margin: 0 auto;
  padding: 2.083333vw 8.33333333333vw 3.125vw;
  z-index: 4;
}

@media print, screen and (min-width: 960px) {
  .float_area {
    min-width: 641px;
    max-width: 980px;
    padding: 20px 80px 30px;
  }
}
