@charset "UTF-8";

/* CSS Document */
/*---------------------------------

  申し込みフォーム

---------------------------------*/
/* リセット */
input,
button,
textarea,
select {
 margin: 0;
 padding: 0;
 background: none;
 border: none;
 border-radius: 0;
 outline: none;
 -webkit-appearance: none;
 -moz-appearance: none;
 appearance: none;
}

input[type="text"],
input[type="tel"],
input[type="number"],
input[type="email"],
textarea,
select {
 padding: 10px;
 font-size: 18px;
 color: #333;
 box-sizing: border-box;
}

/* インプット　テキスト */
form input[type="text"],
form input[type="tel"],
form input[type="number"],
form input[type="email"] {
 width: 100%;
 background: #fff;
 border: 1px solid #898989;
 border-radius: 5px;
}

form input[type="tel"],
form input[type="number"],
form input[type="email"] {
 ime-mode: inactive;
}

/*  
  名前・電話・番号・アドレス
---------------------------------*/
section .johou {
 max-width: 700px;
 width: 90%;
 margin: auto;
}

form .johou dl {
 margin: 30px 0;
 display: flex;
 align-items: center;
}

form .johou dl dt {
 width: 200px;
}

form .johou dl dt span {
 display: block;
 font-size: 13px;
 color: #E50012;
}

form .johou dl dd {
 width: 600px;
}

form .johou dl.name dd {
 display: flex;
 justify-content: space-between;
}

form .johou dl.name dd p {
 width: 49%;
}

form .johou dl.num dd p {
 width: 49%;
}

@media screen and (max-width: 480px) {
 form .johou dl {
  margin: 20px 0;
  display: block;
 }

 form .johou dl dt {
  width: 100%;
 }

 form .johou dl dd {
  width: 100%;
 }
}




/*  
  アイテム選択
---------------------------------*/
form .itemCheckWrap {
 max-width: 700px;
 width: 90%;
 margin: 40px auto;
}

form .itemCheckWrap p {}

form .itemCheckWrap p span {
 font-size: 13px;
 color: #E50012;
}

form .itemCheckWrap h3 {
 width: 100%;
 padding: 20px 0 10px;
 font-size: 18px;
 font-weight: 400;
}

form .itemCheckWrap h3 b {
 display: inline-block;
 width: 1.5em;
 height: 1.5em;
 margin-right: 0.2em;
 text-align: center;
 font-size: 18px;
 line-height: 1.4;
 font-weight: 400;
 color: #fff;
 background: #868686;
 border-radius: 50%;
}

form .itemCheck__box {
 display: flex;
 justify-content: flex-start;
 align-items: stretch;
 flex-wrap: wrap;
 margin-bottom: 20px;
 /*border: 1px solid #000;*/
}

form .itemCheck__box .itemCheck {
 position: relative;
 width: calc(20% - 4px);
 margin: 0 2px;
 background-color: #fff;
 border-radius: 6px;
}

form .itemCheck__box .itemCheck input[type="radio"] {
 display: block;
 width: 100%;
 height: 100%;
 position: absolute;
 top: 0;
 opacity: 0.0;
 cursor: pointer;

 -webkit-appearance: auto;
 -moz-appearance: auto;
 appearance: auto;
}

form .itemCheck__box label {
 position: absolute;
 bottom: -1.8em;
 white-space: nowrap;
}

form .itemCheck__box figure {
 width: 100%;
 height: 100%;
 padding: 8px 0px 12px;
 background-color: #ededed;
 background-color: #fff;
 border: 1px solid #dddddd;
 border-radius: 6px;
 transition: 0.2s;
}

form .itemCheck__box .itemCheck input[type="radio"]:checked + figure,
form .itemCheck__box .itemCheck input[type="radio"]:checked + label + figure {
 background: #ffe8e8;
 border-radius: 6px;
}

form .itemCheck__box figure img {
 display: block;
 width: 100px;
 max-width: 100%;
 margin: auto;
}

form .itemCheck__box figcaption {
 text-align: center;
 font-size: 13px;
 white-space: nowrap;
 line-height: 1.2;
}

@media screen and (max-width: 896px) {
 form .itemCheck__box .itemCheck {
  width: calc(100% / 3 - 4px);
  margin: 2px;
 }
}

@media screen and (max-width: 480px) {
 form .itemCheck__box .itemCheck {
  width: calc(100% / 2 - 4px);
 }
}







/*  
  チェックページ
---------------------------------*/
.check .johou dl.name dd {
 justify-content: flex-start;
}

.check .johou dl.name dd p {
 width: auto;
 margin: 0 1em 0 0;
}

.check form .johou dl.day dd div {
 margin-bottom: 10px;
}




form .johou .itemWrap .check__box {
 margin: 5px;
}


.check__box {
 display: flex;
 align-items: center;
}

.check__box span {
 padding: 0 1em;
}

.select-test {
 -moz-appearance: none;
 -webkit-appearance: none;
 appearance: none;
 background: transparent url(../images/form-css-arrow.png) no-repeat center right 8px/16px 16px;
 border: 1px solid #898989;
 border-radius: 5px;
 color: inherit;
 cursor: pointer;
 font-family: inherit;
 font-size: 1em;
 padding: 0.6em 0.8em;
 max-width: 200px;
 width: 100%;
}

.select-test::-ms-expand {
 display: none;
}

.select-test:focus {
 border: 1px solid rgba(0, 0, 0, 0.32);
 box-shadow: none;
 outline: none;
}

@media screen and (max-width: 480px) {
 .check-block {
  padding: 30px 0;
 }

 .check-block dl + dl {
  margin-top: 20px;
 }

 .check-block dl dt {
  font-size: 1.1em;
  padding: 10px 50px 10px 10px;
 }

 .check-block dl dt img {
  margin-right: 10px;
  width: 50px;
 }

 .check-block dl dt span {
  right: 10px;
  width: 35px;
  height: 35px;
 }

 .check-block dl dd .inner {
  padding: 10px 20px;
  font-size: .9em;
 }

 .check-block dl dd .check__box {
  margin-top: 20px;
 }

 .check-test + span {
  padding: 0 0 0 2.5em;
 }

 .check-test + span::before {
  height: 1.7em;
  width: 1.7em;
 }

 .check-test + span::after {
  height: 1em;
  margin-top: -0.5em;
  width: 2em;
 }
}

/*  
  ポリシー
---------------------------------*/
.txt-box {
 max-width: 700px;
 width: 90%;
 margin: 50px auto;
}

.txt-box .policy {
 border: 5px solid #ccc;
 font-size: .85em;
 margin: 30px auto;
 padding: 20px;
 width: 100%;
}

.txt-box .policy h3 {
 font-size: 1.2em;
 margin-bottom: 1em;
}

.txt-box .policy p {
 margin-top: 1em;
}

.txt-box .policy p a {
 color: #000;
 text-decoration: underline;
}

/* 注釈 */
.txt-box .attention {
 font-size: .85em;
 width: 100%;
 margin: 0 auto;
}

.txt-box .attention p.tyui {
 color: #E02D30;
}

@media screen and (max-width: 480px) {
 .txt-box {
  margin: 30px auto;
 }
}

/*  
  ボタン
---------------------------------*/
form .button_wrap {
 text-align: center;
 margin: 30px auto 0;
}

form .button_wrap button,
form .button_wrap input,
form .button_wrap a {
 display: block;
 color: #fff;
 cursor: pointer;
 font-weight: bold;
 font-size: 14px;
 padding: 15px 0;
 width: 100%;
}

form .button_wrap .submit {
 background: #0099BD;
 border-bottom: solid 4px #006077;
 border-radius: 5px;
 display: inline-block;
 margin: 10px;
 max-width: 400px;
 width: 90%;
}

form .button_wrap.orenge .submit {
 background: #ED6C00;
 border-bottom: solid 4px #AB4E00;
}

/* 戻るボタン */
form .button_wrap .submit.back {
 background: #ccc;
 border-bottom: solid 4px #aaa;
 width: 20%;
}

/* ボタンを押した時 */
form .button_wrap .submit:active,
form .button_wrap .submit.back:active {
 -webkit-transform: translateY(4px);
 transform: translateY(4px);
 border-bottom: none;
}

/* エラー */
label.myError {
 margin-top: 5px;
 font-size: 13px;
 color: #E02D30;
 display: block;
}

@media screen and (max-width: 480px) {
 form .button_wrap .submit {
  margin: 10px 0;
 }

 form .button_wrap .submit.back {
  padding: 0;
  width: 50%;
 }
}

/*  
  check.php・send.php
---------------------------------*/
.check form .johou {
 margin: 0 auto 50px;
}

.check form .johou dl {
 margin: 0;
 padding: 15px 10px;
 display: flex;
 align-items: center;
 list-style: 1;
}

.check form .johou dl dd {
 border-bottom: 1px dotted;
 padding: 10px;
}

.check form .johou dl dd p {
 text-align: left;
}

.check form .johou dl dd p + p {
 margin-top: 10px;
}

@media screen and (max-width: 480px) {
 .check form .johou dl {
  padding: 10px 0;
  display: block;
 }

 .check form .johou dl dt {
  margin-bottom: 5px;
 }
}
