/*////////////////////////////////////////////////////

　リセットCSS

////////////////////////////////////////////////////*/


@charset "UTF-8";
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
margin: 0;
padding: 0;
border: none;
font-style: normal;
text-align: left;
zoom: 1;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
display: block;
}
table {
border-collapse: collapse;
font-family: inherit;
}
h1,h2,h3,h4,h5 {
font-size: 100%;
font-weight: normal;
line-height: 1;
}
input,textarea,select {
font-family: inherit;
font-size: 16px;
}
input[type="button"],input[type="text"],input[type="submit"] {
-webkit-appearance: none;
border-radius: 0;
}
textarea {
resize: none;
-webkit-appearance: none;
border-radius: 0;
}
th,td {
border-collapse: collapse;
}
table th,table td {
white-space: nowrap;
}
ul,ol {
list-style-type: none;
}
img {
vertical-align: text-bottom;
vertical-align: -webkit-baseline-middle;
max-width: 100%;
height: auto;
width /***/:auto;
}


/*////////////////////////////////////////////////////

　共通設定

////////////////////////////////////////////////////*/

body {
    background-color: #FFFCF2;
}

*{
    font-family: 'Noto Sans JP', sans-serif;
}

p, label, li, span {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: bold;
    font-size: 16px;
    color: #707070;
}

label {
    font-weight: 500;
}


/*////////////////////////////////////////////////////

　ヘッダー

////////////////////////////////////////////////////*/

header {
    position: fixed;
    background-color: white;
    z-index: 999;
    width: 100%;
    height: 60px;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px 20px;
    box-shadow: 0px 3px 4px 0px rgba(0, 0, 0, 0.1);
}

.h_flex {
    display: flex;
    justify-content: space-between;
    max-width: 700px;
    margin: 0 auto;
}

.header_right {
    width: 200px;
    margin-top: 4px;
}

.logo {
    width: 120px;
    margin-top: 12px;
}

@media  screen and (max-width:750px) {

    header {
        position: fixed;
        background-color: white;
        z-index: 999;
        width: 100%;
        height: 40px;
        left: 50%;
        transform: translateX(-50%);
        padding: 10px 20px;
        box-shadow: 0px 3px 4px 0px rgba(0, 0, 0, 0.1);
    }

    .h_flex {
        display: flex;
        justify-content: space-between;
        width: 90%;
        margin: 0 auto;
    }

    .header_right {
        width: 150px;
        margin-top: 2px;
    }

    .logo {
        width: 100px;
        margin-top: 5px;
    }
}

.bottom {
    max-width: 700px;
    width: 100%;
    margin: 0 auto 20px;
}

/*////////////////////////////////////////////////////

　フォーム

////////////////////////////////////////////////////*/

section {
    max-width: 700px;
    width: 100%;
    margin: 0 auto;
    padding-top: 16%;
}

.step1 {
    margin-bottom: 18%;
}

.questionnaire {
    width: 75%;
    margin: 10% auto;
}

input[type=radio], input[type=submit] {
    display: none;
}

label {
    display: block;
    width: 100%;
    text-align: center;
    margin: 7% auto;
    padding: 4% 0;
    border: solid 2px #707070;
    border-radius: 8px;
    background-color: #ffffff;
    box-shadow: 0 2px 3px 0 rgba(112,112,112,0.4);
    cursor: pointer;
}

label:hover {
    border: solid 2px #F79700;
}

input[type="radio"]:checked + label {
    border: solid 2px #F79700;
    background-color: #F79700;
    box-shadow: 0 2px 3px 0 rgba(86, 53, 2, 0.4);
    color: #ffffff;
}

.next_button {
    width: 100%;
    margin: 10% auto;
    padding: 4% 0;
    border: solid 2px #F58A00;
    border-radius: 8px;
    background: linear-gradient(to top , rgba(247,151,0,1), rgba(247, 151, 0, 0.6) 50%,rgba(247,151,0,0.4) 50%, rgba(247,151,0,0.1) );
    background-color: rgb(255, 200, 0);
    box-shadow: 0 2px 3px 0 rgba(86, 53, 2, 0.4);
    cursor: pointer;
}

.go_to_2 {
    margin-top: 20%;
}

.next_button p {
    text-align: center;
    color: #ffffff;
}

.next_button:hover {
    background: none;
    background-color: rgb(255, 250, 224);
}

.next_button:hover p {
    color: #F79700;
}

.button_flex {
    display: flex;
}

.button_flex .next_button {
    width: 65%;
    justify-content: space-between;
    margin-right: 0;
}

.back_button {
    width: 30%;
    margin: 10% 0;
    padding: 4% 0;
    border: solid 2px #989898;
    border-radius: 8px;
    background: linear-gradient(to top , rgb(230, 230, 230, 1), rgba(230, 230, 230, 0.6) 50%,rgba(244, 244, 244, 0.4) 50%, rgba(244,244,244,0.1) );
    background-color: rgb(255, 255, 255);
    box-shadow: 0 2px 2.5px 0 rgba(46, 46, 46, 0.3);
    cursor: pointer;
}

.back_button p{
    text-align: center;
    color: #707070;
    font-weight: 400;
}

.back_button:hover {
    background-color: #b3b3b3;
    background: #b3b4b3;
}

.back_button:hover p {
    color: #ffffff;
}

input[type=text], input[type=email], input[type=number] {
    width: 93%;
    padding: 3% 3.5%;
    margin-top: 1%;
    border: solid 1.9px #f38423;
    border-radius: 8px;
}

input[type=text]:hover, input[type=text]:checked, input[type=email]:hover, input[type=email]:checked {
    outline: solid 2.5px #f38423;
}

.form_item {
    margin-top: 4%;
}

label[for=additional]{
    width: 70%;
    margin: 0 auto;
    padding: 1.5% 3%;
    background-color: #fff6d8;
    border-radius: 100vh;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: bold;
    font-size: 14px;
    color: #F79700;
    padding-right: 35px;
    text-align: center;
    box-shadow: none;
    border: none;
    position: relative;
}

label[for=additional]::after {
  content: '';
  width: 6px;
  height: 6px;
  border: 0;
  border-bottom: solid 2px #F79700;
  border-right: solid 2px #F79700;
  position: absolute;
  top: 52%;
  right: 18%;
  margin-top: -6px;
  transform: rotate(45deg);
  animation: rotate 0.2s;
  transform-origin: 70% 80%;
}

@keyframes rotate {
    0% {
      transform: rotate(225deg);
    }
    100% {
      transform: rotate(405deg);
    }
}

input[type=checkbox]:checked + label[for=additional]::after {
    animation: rotate2 0.2s;
    transform-origin: 70% 80%;
    transform: rotate(225deg);
}

@keyframes rotate2 {
    0% {
      transform: rotate(45deg);
    }
    100% {
      transform: rotate(225deg);
    }
}

input[type=checkbox] {
    display: none;
}

.not_kanto {
    display: none;
}

input[type=checkbox]:checked ~ .not_kanto {
    display: block;
    animation: slideIn 0.6s;
}

@keyframes slideIn {
    0% {
      opacity: 0;
      transform: translateY(-30px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
}

select {
    width: 100%;
    padding: 3% 3.5%;
    margin-top: 1%;
    border: solid 1.9px #f38423;
    border-radius: 8px;
}

label[for=submit]{
    background-color: rgba(0,0,0,0);
    border: none;
    color: #ffffff;
    margin: 0;
    padding: 0;
    box-shadow: none;
}

.confirm .next_button {
    margin: 20% 0 5%;
}

.input[type=submit] + label:hover {
    color: #F79700;
}

.confirm .back_button {
    width: 100%;
    margin: 0 auto;
    margin-top: 3%;
}

.confirm_sentense {
    margin-top: 15%;
    text-align: center;
}

.result {
    width: 90%;
    margin-top: 10%;
    background-color: #ffffff;
    padding: 5%;
}

.result li {
    margin-top: 5%;
    font-size: 14px;
}

.result .now, .result .timing, .result .name, .result .age, .result .pref, .result .tel, .result .email  {
    margin-top: 2%;
    padding-left: 18px;
    font-size: 16px;
    color: #F79700;
}


@media screen and (min-width:800px) {

    .top {
        padding-top: 100px;
    }

    section {
        margin-top: 0;
        padding-top: 80px;
    }

    .step1 {
        margin-bottom: 80px;
    }

    .questionnaire {
        margin-top: 50px;
    }

    .questionnaire p {
        font-size: 18px;
    }

    .confirm_sentense {
        margin-top: 20px;
    }

}

/*////////////////////////////////////////////////////

　バリデーション関連

////////////////////////////////////////////////////*/

.caution, .caution_line {
    color: #da3a12;
    text-align: center;
}

.caution_line {
    font-size: 20px;
}

@media screen and (min-width:800px){
    .caution_line{
        font-size: 22px !important;
    }
}

.incorrect_mail {
    color: #da3a12;
    text-align: left;
    font-size: 14px;
}

.step1 .caution, .caution_line {
    margin-bottom: -10%;
}

.step3 .caution, .step4 .caution, .step5 .caution {
    margin-top: 10%;
}

#backGuide{
  display:none;
  width:100vw;
  height:100vh;
  background:rgba(0,0,0,.5);
  position:fixed;
  top:0;
  left:0;
  z-index:100;
}

.b-alert{
  width:300px;
  padding:20px;
  background:white;
  text-align:center;

  position:fixed;
  top:50%;
  right:50%;
  transform: translate(50%,-50%);
  box-shadow:0 0 5px #777;
  border-radius:5px;
}
.b-alert p{
  margin-bottom:10px;
  color:#55b20a;
}
.b-alert button{
  margin-top:20px;
  padding:5px 10px;
  border:none;
  border-radius:5px;
  background:#eee;
}

/*////////////////////////////////////////////////////

　230926 LINEボタン追加

////////////////////////////////////////////////////*/


/* 
.line_button {
    position: fixed;
    cursor: pointer;
    width: 100%;
    bottom: 0;
    left: 0;
    background-color: rgba(137, 137, 137, 0.3);
    padding: 20px 0;
}

.line_button img {
    max-width: 90%;
    width: 500px;
    display: block;
    margin: 0 auto;
}

.bottom_step_1 {
    padding-bottom: 120px;
}

@media screen and (max-width:500px) {
    .bottom_step_1 {
        padding-bottom: 90px;
        margin-top: -40px;
    }

    .go_to_2 {
        margin-top: 40px;
    }
}
 */

    

