@charset "utf-8";

   /*リセット*/
html,body,p,h1,h2,h3,nav,ul,li,a,input{
    margin: 0;
    padding: 0;
    line-height: 1.0;
}

li{
    list-style: none;
}
    
a{
    text-decoration: none;
    color: #000;
}

img{
border:none;
vertical-align:bottom;
}

/*レイアウト*/
header{
/*    background:url(img/14424.png) repeat center;*/
    background-color: #494f53;
    padding: 20px;
    margin-bottom: 50px;
    
}

.header{
    max-width: 960px;
    margin: 0 auto;
    color: #fff;
    
}    
    
.header h1{
    font-size: 16px;
    margin-bottom: 10px;
    font-family: "Hannari";
}
    
.header p{
    font-size: 48px;
    font-weight: bold;
    font-family: 'Lobster', cursive;
    letter-spacing:8px;
}
  
            
#result1,#result2,#result3z{
        background: rgba(49, 48, 48, 0.9);
        font-size: 18px;
        color: #fff;
        border: none;
        height: 50px;
        width: 200px;
        font-size: 32px;
    }
#result1z,#result2z,#result3z{
        background: rgba(48, 48, 49, 0.9);
        font-size: 18px;
        color: #fff;
        border: none;
        height: 50px;
        width: 200px;
        font-size: 32px;
    }
    
main p,main{
        font-size: 18px;
        font-weight: bold;
        font-family: "Hannari";
        margin-bottom: 10px;
    }
    
main input{
        margin-bottom: 20px;
        height: 25px;
        margin-right: 10px;
        font-size: 22px;
        width: 150px;
        text-align: right;
        padding: 5px;
        border-radius: 10px
    }

main{
        padding: 0 20px;
    }
    
input[type="radio"] {
	width:16px;
}

select{
width:50px;
height:25px;
font-size: 18px;
border-radius: 10px;
}

    
.ans{
        position: fixed;
        left:60%;
        bottom: 0;
        z-index: 1;
        background: rgba(198, 83, 83, 0.9);
        padding: 30px;
        color: #fff;
        }
   

.ans p{
        font-size:22px;
        font-family: "Hannari";
        transform: rotate(-5deg);
	-moz-transform: rotate(-5deg);
	-webkit-transform: rotate(-5deg)
    }
 

.ansz{
        position: fixed;
        left:60%;
        bottom: 0;
        z-index: 1;
        background: rgba(119, 99, 185, 0.9);
        padding: 30px;
        color: #fff;
        }
    
.ansz p{
        font-size:22px;
        font-family: "Hannari";
        transform: rotate(-5deg);
	-moz-transform: rotate(-5deg);
	-webkit-transform: rotate(-5deg)
    }

/*タブ切り替え*/
.tab {
  list-style: none;
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  justify-content:center;
  }
 
.tab li {
  width: 300px;
  color: #9f4d4d;
  background-color: rgba(226, 226, 226, 0.79);
  padding: 10px 20px;
  cursor: pointer;
  font-family: "Nico Moji";
  font-size: 28px;
  margin-right: 20px;
}

.tab li:last-child{
    margin-right: 0px;
}
 
.tab li:hover {
  background-color: #999;
}
 
.tab li.active {
  color: #fff;
  background-color: #999;
}
 
.tabContent{
  display: none;
  max-width: 960px;
  padding: 20px;
/*  border: 2px solid #fff;*/
  border-radius: 10px;
  margin: 0 auto;
  color: #f4ebeb;
  background:url(img/555.png) repeat center;
  background-size: 30px; 
  background-color:rgb(0, 0, 0);
  }

.free{
  background:url(img/666.png) repeat center;
  background-size: 30px; 
  background-color:rgb(255, 255, 255);
  color: #000;
}
 
.active {
  display: block;
  }


/*注意書き*/
.content-note{
  margin: 50px auto 0;  
  font-family: "MS Pゴシック" ; 
  font-size: 16px;
  font-weight:normal;
}

.list-note li{
  padding-top:10px;
  margin-left: 1.4em;
  text-indent: -1.4em;
}

/*フッター*/
footer{
padding:80px 0;
background:url(../img/footerBg.jpg) repeat-x left top; 
text-align:center;	
letter-spacing:3px;
}




/*
.radio-vertical { 
    flex-direction: column;                                 display: inline-flex;                                  }  
*/

label{
    margin-right: 20px;
}

#dokd,#fdkoa{
    width: 100px;
}

.check{
position: relative;
padding: 10px;
padding-left:2em;
}
.check::before{
content: "■";
font-size:1.5em;
position: absolute;
left: 0.1em;
top: 0.15em;
color: #FF9100;
}
.check::after{
content: "■";
font-size:1.4em;
position: absolute;
left: 0.4em;
top: 0.5em;
color: #325A8C;
}

@media screen and (max-width:768px){
.tab li {
  width: 200px;
  margin-right: 50px;
}
}

@media screen and (max-width:768px){
.tab li {
  width: 150px;
  margin-right: 10px;
}
.ans{
    position: fixed;
    right: 0;
    bottom: 0;
    font-size: 0px;
    }
    .ans p{
        font-size:14px;
    }

    .ansz{
        position: fixed;
        right: 0;
        bottom: 0;
        font-size: 0px;
        }
.ansz p{
         font-size: 14px;
            }

        #result1,#result2,#result3z{
            background: rgba(49, 48, 48, 0.9);
            font-size: 18px;
            color: #fff;
            border: none;
            height: 30px;
            width: 120px;
            font-size: 22px;
        }
    #result1z,#result2z,#result3z{
            background: rgba(48, 48, 49, 0.9);
            font-size: 18px;
            color: #fff;
            border: none;
            height: 30px;
            width: 120px;
            font-size: 22px;
        }

        main{
            font-size: 16px;
            margin-top: 20px;
        }
        main p{
            font-size: 18px;
            margin-top: 20px;
            /* color:#f30d0d; */
        }

        label{
            display: block;
        }
}