@charset "utf-8";
/* このファイルはUTF-8のBOMなし(UTF-8N)で保存しています */

/**
 * CSS Information
 * ===============================================================
 *
 * Site URL:  http://
 * File name: contents.css
 * Summary:   各コンテンツ用スタイル
 * Author:    CrEa., Inc.
 *
 * -----------------------------------
 *
 * TOC:
 *     =1    form
 *     =2    terms
 * ===============================================================
*/

/** =1
 * ========================================
 * form
 * ========================================
 */
/* フロー表示部分 */
.progressbar {
  position: relative;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 30px;
}
.progressbar li {
  position: relative;
  list-style-type: none;
  text-align: center;
  text-transform: uppercase;
  width: 20%;
  color: #999999;
  font-weight: bold;
  counter-increment: steps;
}
.progressbar li:before {
  display: block;
  width: 26px;
  height: 26px;
  margin: 7px auto 20px auto;
  content: "";
  line-height: 25px;
  font-size: 12px;
  text-align: center;
  border-radius: 50%;
  background-color: #f5f5f5;
  content: counter(steps);
  position: relative;
  z-index: 10;
  font-size: 15px;
}
.progressbar li:after {
  position: absolute;
  z-index: 0;
  top: 19px;
  left: -50%;
  width: 100%;
  height: 2px;
  content: "";
  background-color: #f5f5f5;
}
.progressbar li:first-child:after {
  content: none;
}
.progressbar li.active,
.progressbar li.complete {
  color: #003f76;
}
.progressbar li.active:before,
.progressbar li.complete:before {
  background-color: #003f76;
  color: #fff;
  font-size: 15px;
}
.progressbar li.active:after,
.progressbar li.complete:after {
  background-color: #003f76;
  /* font-size: 14px; */
}
@media screen and (max-width: 768px) {
  .progressbar {
    margin-bottom: 40px;
  }
  .progressbar li {
    width: calc(1 / 3 * 100%);
  }
  .progressbar li:after {
    top: 16px;
  }
  /* .progressbar li:nth-child(1),
  .progressbar li:nth-child(2) {
    width: 50%;
    margin-bottom: 12px;
  }
  .progressbar li:nth-child(3),
  .progressbar li:nth-child(4),
  .progressbar li:nth-child(5) {
    width: 33.333333%;
  }
  .progressbar li:nth-child(2):after {
    width: 120%;
  }
  .progressbar li:nth-child(3):after {
    left: 10%;
  } */
}
@media screen and (min-width: 501px) and (max-width: 959px) {
  .progressbar li {
    font-size: 14px;
  }
}
@media screen and (max-width: 500px) {
  .progressbar li {
    font-size: 10px !important;
  }
}
/* -.progressbar.displayPcと.progressbar.display Sp用スタイル-  */
@media screen and (max-width: 768px) {
  .progressbar.displayPc {
    display: none;
  }
  .progressbar.displaySp {
    display: flex;
  }
}
@media screen and (min-width: 769px) {
  .progressbar.displayPc {
    display: flex;
  }
  .progressbar.displaySp {
    display: none;
  }
}
/* 東京マラソンCP 応募フォーム */
[id="main"] .formInner {
  border-radius: 20px;
  padding: 40px;
}
[id="main"] div.formContents {
  padding: 40px;
  border-radius: 10px;
}

[id="main"] .formEntry {
  margin-top: -20px;
  margin-bottom: -20px;
}

[id="main"] dl.formItems {
  border-bottom: 1px solid #dfe4e7;
  padding: 20px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
[id="main"] dl.formItems.-lastchild {
  border-bottom: 0;
}
@media screen and (max-width: 768px) {
  .progressbar {
    margin-bottom: 20px;
  }
  .progressbar li {
    font-size: 13px;
  }
  .progressbar li:before {
    margin: 4px auto 14px auto;
  }
}
@media screen and (min-width: 769px) {
  /*
  .progressbar li:before {
    width: 18px;
    height: 18px;
  }
  .progressbar li:after {
    top: 15px;
  } */
  [id="main"] dl.formItems.layoutVerticalPc {
    flex-direction: column;
    align-items: flex-start;
  }
  [id="main"] dl.formItems.layoutVerticalPc dt {
    margin-bottom: 1em;
    width: 100%;
  }
  [id="main"] dl.formItems.layoutVerticalPc dd {
    width: 100%;
  }
}

[id="main"] .formDateIndex {
  align-items: center;
}
[id="main"] .formDateIndex.columnWrap {
  margin-right: -5px;
  margin-left: -5px;
}
[id="main"] .formDateIndex.columnWrap .col {
  flex-shrink: 0;
  padding-right: 5px;
  padding-left: 5px;
}
[id="main"] .formDateIndex.columnWrap .col.year {
  display: flex;
  align-items: center;
  padding: 0;
}

@media screen and (max-width: 619px) {
  [id="main"] .formDateIndex.columnWrap .col.year {
    width: 100%;
  }
}

[id="main"] .formDateIndex input {
  width: 100%;
  max-width: 160px;
  padding: calc(15 / 16 * 1em) calc(20 / 16 * 1em);
  border: 1px solid #aaaaaa;
  border-radius: 4px;
  box-sizing: border-box;
  font-size: 16px;
}

[id="main"] .formDateIndex input.-date {
  max-width: 120px;
}

/* radioボタンスタイル */

[id="main"] label.selectRadio {
  display: flex;
  /* align-items: center; */
  align-items: flex-start;
}

[id="main"] input[type="radio"] {
  display: none;
}

input[type="radio"] + span.checkbox {
  display: flex;
  /* align-items: center; */
  align-items: flex-start;
  position: relative;
}

input[type="radio"] + .checkbox::before {
  display: inline-block;
  width: 24px;
  height: 24px;
  margin-right: 10px;
  border: 1px solid #aaaaaa;
  border-radius: 50%;
  box-sizing: border-box;
  content: "";
}

input[type="radio"] + .checkbox::after {
  display: block;
  opacity: 0;
  position: absolute;
  top: 50%;
  left: 6px;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  background: #00abd4;
  border-radius: 50%;
  content: "";
  transition: all 0.15s ease;
}
input[type="radio"]:checked + .checkbox::after {
  opacity: 1;
}

/* checkboxボタンスタイル */
[id="main"] .selectCheckbox {
  /* display: flex; */
}

[id="main"] .selectCheckbox label {
  /* width: 50%; */
  display: flex;
}

[id="main"] .selectCheckbox label input[type="checkbox"] {
  display: none;
}

[id="main"] .selectCheckbox label .checkbox {
  position: relative;
  display: flex;
  align-items: center;
}

[id="main"] .selectCheckbox label .checkbox::before {
  display: block;
  width: 24px;
  height: 24px;
  margin-right: 1rem;
  border: 1px solid #aaaaaa;
  border-radius: 2px;
  box-sizing: border-box;
  content: "";
}

[id="main"] .selectCheckbox label input[type="checkbox"] + .checkbox::after {
  display: block;
  opacity: 0;
  position: absolute;
  top: 50%;
  left: 5px;
  transform: rotate(-45deg);
  width: 12px;
  height: 6px;
  margin-top: -15%;
  border-bottom: 3px solid #00abd4;
  border-left: 3px solid #00abd4;
  transition: all 0.15s ease;
  content: "";
}
[id="main"]
  .selectCheckbox
  label
  input[type="checkbox"]:checked
  + .checkbox::after {
  opacity: 1;
}

/* privacy */
.privacyContent {
  padding: 30px 40px;
  border-radius: 10px;
}

@media screen and (max-width: 768px) {
  .privacyContent {
    padding: 20px 20px;
  }
}

.listPrivacy {
  max-width: 680px;
  margin-right: auto;
  margin-left: auto;
}

.listPrivacy li {
  list-style: none;
  padding-left: 1.2em;
  text-indent: -1.2em;
}

.listPrivacy li::before {
  content: "";
  width: 0.8em;
  height: 0.8em;
  background: #00abd4;
  display: inline-block;
  margin-right: 0.4em;
}
@media screen and (max-width: 879px) {
  .btnFlex li:first-child {
    /* margin-left: 0; */
    margin-bottom: 10px;
  }
  .btnFlex li input {
    max-width: 320px;
  }
}
@media screen and (min-width: 890px) {
  .btnFlex {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row-reverse;
    justify-content: center;
  }
  .btnFlex li {
    max-width: 410px;
    width: 100%;
  }
  .btnFlex li input {
    width: 100%;
  }
  .btnFlex li:first-child {
    margin-left: 20px;
  }
}

@media screen and (max-width: 768px) {
  .spInner {
    padding: 0 20px;
  }

  [id="main"] .formInner {
    border-radius: 0;
    padding: 20px;
  }
  [id="main"] div.formContents {
    padding: 20px;
  }

  .footerLogo {
    width: 100%;
    margin: 0 auto;
    max-width: 90px;
  }
}

@media screen and (max-width: 414px) {
  .mainCaption {
    transform: scale(0.8) translateX(40px);
  }
  [id="main"] .selectCheckbox label {
    width: 100%;
  }
  div.selectOption {
    width: 100%;
  }
  [id="main"] .formDateIndex input {
    max-width: 194px;
  }
  [id="main"] .formDateIndex input.-date {
    max-width: 100px;
  }
}

@media screen and (max-width: 350px) {
  .mainCaption {
    transform: scale(0.7) translateX(58px);
  }
  [id="main"] .formDateIndex input {
    max-width: 170px;
  }
  [id="main"] .formDateIndex input.-date {
    max-width: 87px;
  }
  [id="main"] label.selectRadio {
    margin-right: 10px;
  }
}

/* addressBox */
[id="addressBox"] {
  border-top: 1px solid #dfe4e7;
}

[id="addressBox"] .formPart {
  width: 50%;
}
[id="addressBox"] .formPart .wrapSelect {
  width: 100%;
}
[id="addressBox"] .formPart.full {
  width: 100%;
}
[id="addressBox"] .formPart.full input[name="address1"],
[id="addressBox"] .formPart.full input[name="address2"] {
  width: 100%;
  box-sizing: border-box;
}
@media screen and (max-width: 768px) {
  [id="addressBox"] .formPart {
    width: 100%;
  }
}

[id="addressBox"] .zipInputWrap {
  display: flex;
  align-items: center;
}
[id="addressBox"] .zipInputWrap > * {
  flex-shrink: 0;
  margin-right: 10px;
}

[id="addressBox"] .zipInputWrap input[type="text"] {
  box-sizing: border-box;
  width: 25%;
}

@media screen and (max-width: 768px) {
  [id="addressBox"] .zipInputWrap {
    flex-wrap: wrap;
    row-gap: 10px;
  }
  [id="addressBox"] .zipInputWrap > * {
    flex-shrink: 0;
    margin-right: 0 !important;
  }
  [id="addressBox"] .zipInputWrap input[type="text"] {
    width: 45%;
  }
  [id="addressBox"] .zipInputWrap span {
    width: 10%;
    text-align: center;
  }
}

[id="addressBox"] .btnZipSearch {
  display: inline-block;
  outline: none;
  margin: 0;
  padding: 0.95em 1.25em;
  border: none;
  border-radius: 5px;
  box-sizing: border-box;
  background: #003f76;
  font: inherit;
  color: #fff;
  font-weight: bold;
  font-size: 1.4rem;
  text-align: center;
  line-height: 1.4;
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

@media screen and (max-width: 768px) {
  [id="addressBox"] .zipInputWrap .btnZipSearch {
    width: 100%;
  }
}
@media screen and (min-width: 769px) {
  [id="addressBox"] .zipInputWrap .btnZipSearch {
    height: 100%;
  }
}

/** =2
 * ========================================
 * terms
 * ========================================
 */
body[id="terms"] [id="contents"] {
  margin-block-end: clamp(40px, calc(60 / 768 * 100lvw), 60px);
}

.sectionTerms:not(:last-child) {
  margin-block-end: clamp(30px, calc(50 / 768 * 100lvw), 50px);
}
.sectionTermsTitle {
  margin-block-end: 1em;
  padding-block: calc(4 / 20 * 1em) calc(6 / 20 * 1em);
  padding-inline: calc(16 / 20 * 1em);
  /* border-radius: 100vmax; */
  border-radius: 4px;
  background-color: #003f76;
  color: #fff;
  font-weight: bold;
  font-size: clamp(1.6rem, calc(20 / 768 * 100lvw), 2rem);
}
