@charset "utf-8";
/* CSS Document */

/* clearfix */
.clearfix:after{
	content: ".";
	display: block;
	clear: both;
	height: 0;
	visibility: hidden;
}

.clearfix{
	min-height: 1px;
}

* html .clearfix{
	height: 1px;
	/*
	height: auto;
	overflow: hidden;
	*/
}

#main{
    float: none;
    width: 100%;
    padding: 0 5px;
}

#main h3{
    width: 670px;
    background: url("../images/h3_back.gif")no-repeat left top;
}

#main .flowchartWrapper{
    font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, "sans-serif";
}

#main .flowchartWrapper h4{
    text-align: center;
    font-size: 120%;
    color: #333;
    border: none;
    padding: 0;
    margin: 1.5em 0 1em;
}

.flowchartWrapper .contentsBx{
    margin: 0 15px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 5px rgba(0,0,0,.15);
}

.flowchartWrapper .contentsBx .bxHeader{
    padding: 20px;
}

.flowchartWrapper .contentsBx .bxHeader .questionTxt > span{
    display: table-cell;
    vertical-align: top;
    text-align: center;
    min-width: 4.15em;
}

.flowchartWrapper .contentsBx .bxHeader .questionTxt span i{
    display: inline-block;
    font-style: normal;
    font-size: 100%;
    font-weight: bold;
    line-height: 1;
    padding: .75em;
    color: #fff;
    background-color: #000099;
    border-radius: 5px;
}

#main .flowchartWrapper .contentsBx .bxHeader .questionTxt p{
    display: table-cell;
    vertical-align: middle;
    width: 100%;
    font-weight: bold;
    padding: 0 0 0 1em;
}

.flowchartWrapper .contentsBx .bxFooter{
    padding: 20px;
    background-color: #eee;
    text-align: center;
}

.flowchartWrapper .contentsBx .bxFooter ul li{
    display: inline-block;
    margin-right: 10px;
}

.flowchartWrapper .contentsBx .bxFooter ul li:nth-child(2){
    margin-right: 0;
}

.flowchartWrapper .contentsBx .bxFooter ul li a{
    text-decoration: none;
    display: block;
    width: 8em;
    text-align: center;
    font-size: 120%;
    font-weight: bold;
    line-height: 1;
    padding: .75em 0;
    color: #fff;
    background-color: #C1272D;
    border-radius: 5px;
    box-shadow: 0 2px 0 #940007;
    transition: all .3s;
}

.flowchartWrapper .contentsBx .bxFooter ul li a span{
    display: block;
    font-size: 80%;
    font-weight: normal;
    margin-bottom: .25em;
}

.flowchartWrapper .contentsBx .bxFooter ul li a span strong{
    color: #faee00;
    padding: 0 .25em;
}

.flowchartWrapper .contentsBx .bxFooter ul li:nth-child(2) a{
    color: #333;
    background-color: #fff;
    box-shadow: 0 2px 0 #ccc;
}

.flowchartWrapper .contentsBx .bxFooter ul li:nth-child(2) a span strong{
    color: #C1272D;
}

.flowchartWrapper .contentsBx .bxFooter ul li a:hover{
    background-color: #940007;
}

.flowchartWrapper .contentsBx .bxFooter ul li:nth-child(2) a:hover{
    background-color: #ccc;
}

.questionBody{
    margin-top: 15px;
}

.questionBody .inputList label{
    display: block;
    margin-bottom: .5em;
}

.questionBody .inputList label input[type="text"],
.questionBody .inputList label input[type="number"]{
    padding: .25em;
    margin: 0 .25em;
    border: 1px solid #596496;
    box-shadow: 0 0 3px #979ebd inset;
    border-radius: 5px;
    text-align: right;
}

.questionBody .inputList input[type="number"],
.resultAll ul li input[type="number"]{
    -moz-appearance:textfield;
    text-align: right;
}

.questionBody .inputList input[type="number"]::-webkit-outer-spin-button,
.questionBody .inputList input[type="number"]::-webkit-inner-spin-button,
.resultAll ul li input[type="number"]::-webkit-outer-spin-button,
.resultAll ul li input[type="number"]::-webkit-inner-spin-button{
    -webkit-appearance: none; 
    margin: 0;
    text-align: right;
}

.questionBody .outputItem{
    font-size: 120%;
    font-weight: bold;
    color: #333;
    padding: .15em .25em;
    border: 1px solid #eee;
    border-radius: 5px;
}

#main .questionBody p{
    padding: 0;
}

#main .questionBody .colorRed{
    color: #C1272D;
}

.q3Comparison{
    padding: 10px;
    background: url('../images/bg.png');
    border-radius: 5px;
    margin-top: 15px;
}

#main .q3Comparison h5{
    font-size: 100%;
    font-weight: bold;
    line-height: 1.5;
    padding: 0 0 .25em;
    margin: 0 0 .75em;
    background: none;
    border-bottom: 2px dotted #000099;
}

.tabArea li.tab{
    list-style-type: none;
    float: left;
    width: 50%;
    text-align: center;
    font-size: 90%;
    line-height: 1.5;
    padding: .75em;
    background-color: #ccc;
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
    border-top: 1px solid #ccc;
    border-radius: 10px 10px 0 0;
    position: relative;
    cursor: pointer;
}

.tabArea li.tab span{
    display: inline-block;
    font-size: 100%;
    font-weight: bold;
    line-height: 1;
    padding: .5em;
    color: #fff;
    background-color: #333;
    position: absolute;
    top: -1px;
    left: -1px;
}



.tabArea li.tab.tabActive{
    background-color: #fff;
}

.tabArea li.tab.tabActive::after{
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-top: 1px solid #000099;
    border-right: 1px solid #000099;
    -webkit-transform: rotate(135deg)translateY(2px);
    transform: rotate(135deg)translateY(2px);
    position: absolute;
    left: 0;
    right: 0;
    bottom: -4px;
    margin: auto;
}

.panelArea{
    padding: 15px;
    background-color: #fff;
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    border-radius: 0 0 10px 10px;
}

.panelArea .consultationList:nth-of-type(2){
    display: none;
}

.q3Contents .questionBody .inputList label{
    display: inline-block;
}

form output{
    font-size: 120%;
    font-weight: bold;
    margin-right: .25em;
}

.q3_3Bx{
    padding: 15px;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 10px;
}

#main .q3_3Bx h6{
    padding: 0 0 .15em;
    border-bottom: 1px dotted #333;
    margin: 0 0 .5em;
}

#main .q3_3Bx h6 span{
    display: block;
    font-size: 80%;
    font-weight: normal;
    padding-left: 1.75em;
    margin: .25em 0;
}

.titInline{
    display: inline-block !important;
    vertical-align: middle !important;
    font-size: 90%;
    font-weight: bold;
    line-height: 1;
    text-indent: 0;
    padding: .25em .5em;
    color: #fff;
    background-color: #000099;
    border-radius: 5px;
    margin: 0 .15em;
}

.resultContents{
    padding: 5px;
}

.resultContents .outputItem{
    font-size: 130%;
    border: 1px solid #C1272D;
}

.q3_3_resultButton,
.q3_4_resultButton{
    cursor: pointer;
    font-size: 90%;
    padding: .25em .5em;
    color: #fff;
    background-color: #000099;
    border: none;
    border-radius: 5px;
}

.q3_5_resultButton,
.q3_6_resultButton{
    cursor: pointer;
    font-size: 90%;
    padding: .25em .5em;
    color: #fff;
    background-color: #C1272D;
    border: none;
    border-radius: 5px;
}

#main .q3_6 h6{
    text-indent: -2em;
    padding: .5em 0 0 2em;
    border-top: 1px dotted #333;
    border-bottom: none;
}

#main .q3_6 h6:first-child{
    padding-top: 0;
    border-top: none;
}

#main .q3_6 label{
    margin-left: 1.75em;
}

.documentList{
    padding-left: 1em;
}

.documentList li{
    margin-bottom: .5em;
}

.resultAllTxt ul{
    margin-top: 30px;
}

.resultAllTxt ul li{
    list-style-type: none;
    float: left;
    width: 45%;
    font-weight: bold;
    color: #C1272D;
}

.resultAllTxt ul li:nth-child(2){
    width: 6%;
}

.resultAllTxt ul li:nth-child(3){
    width: 49%;
    font-size: 97%;
}

.resultAll{
    margin-top: 30px;
}

.resultAll ul li{
    list-style-type: none;
    float: left;
    width: 49%;
    margin-right: 2%;
}

.resultAll ul li:nth-child(2){
    margin-right: 0;
}

.resultAll ul li span{
    display: block;
    font-weight: bold;
    color: #C1272D;
}

.resultAll ul li .outputItem{
    width: 10em;
    font-size: 130%;
    font-weight: bold;
    color: #333;
    padding: .15em .25em;
    border: 1px solid #C1272D;
    border-radius: 5px;
}

.flowchartWrapper.q3Contents .contentsBx .bxFooter ul li a{
    width: 11.5em;
}

.listKanakana li{
    display: table;
    width: 100%;
    list-style-type: none;
    margin-bottom: .75em;
}

.listKanakana li span{
    display: table-cell;
    width: 1.75em;
    font-weight: bold;
}

.listKanakana li:last-child{
    margin-bottom: 0;
}

.resultTxt{
    width: auto !important;
    font-size: 110%;
}

#main .questionBody h5{
    background: none;
    padding: 0 0 .15em;
    font-size: 105%;
    font-weight: bold;
    border-bottom: 2px dotted #000099;
    margin: 0 0 .25em;
}

#main .accept .questionBody p{
    margin-bottom: 1em;
}

#main .accept .caution span{
    display: block;
    text-align: center;
    font-weight: bold;
    padding: .25em;
    color: #fff;
    background-color: #C1272D;
    border-radius: 5px 5px 0 0;
}

#main .accept .caution p{
    padding: .5em 1em;
    background-color: #F8E5E6;
    border-radius: 0 0 5px 5px;
    margin-bottom: 0;
}

#main .accept .q3Comparison{
    padding: 15px;
}

#main .accept .q3Comparison h5{
    text-align: center;
    border: none;
}

#main .accept .q3Comparison .q3_3Bx h6{
    text-align: center;
    padding: .5em;
    color: #fff;
    background-color: #000099;
    border-radius: 50px;
    border: none;
}

#main .accept .q3Comparison .q3_3Bx span.otherDocumentTit{
    display: block;
    font-weight: bold;
    padding: 0 0 .15em;
    border-bottom: 1px dotted #333;
    margin: 1.5em 0 .5em;
}

.noteTxt{
    margin: 15px 15px 0;
}

#main .noteTxt p{
    font-size: 90%;
    text-indent: -1em;
    padding: 0 0 0 1em;
    margin-bottom: .5em;
}



.modal-open{
    color: #000099;
    text-decoration: underline;
    cursor: pointer;
}

.modal-open:hover{
    opacity: .8;
}

/*モーダル本体の指定 + モーダル外側の背景の指定*/
.modal-container{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  text-align: center;
  background: rgba(0,0,0,.5);
  padding: 40px 20px;
  overflow: auto;
  opacity: 0;
  visibility: hidden;
  transition: .3s;
  box-sizing: border-box;
}
/*モーダル本体の擬似要素の指定*/
.modal-container:before{
  content: "";
  display: inline-block;
  vertical-align: middle;
  height: 100%;
}
/*モーダル本体に「active」クラス付与した時のスタイル*/
.modal-container.active{
  opacity: 1;
  visibility: visible;
}
/*モーダル枠の指定*/
.modal-body{
  position: relative;
  display: inline-block;
  vertical-align: middle;
  max-width: 500px;
  width: 90%;
}
/*モーダルを閉じるボタンの指定*/
.modal-close{
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  top: -40px;
  right: -40px;
  width: 40px;
  height: 40px;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
}

.modal-container .contentsBx{
    text-align: left;
    background-color: #fff;
}

.newFootWrap{
    width: 100%;
    border: 1px solid #000099;
}

.newFootWrap figure{
    float: left;
    width: 180px;
    margin-right: 25px;
}

.newFootWrap figure img{
    vertical-align: bottom;
}

.newFootWrap .txtContents{
    float: left;
}

.newFootWrap .txtContents p{
    line-height: 1.35;
}

.inputImg{
    display: inline-block;
    vertical-align: middle;
    margin: 0 .25em;
}

#main .questionBody .resultBxRed{
    display: inline-block;
    width: 12em;
    text-align: right;
    font-size: 130%;
    font-weight: bold;
    line-height: 1;
    padding: .25em;
    background-color: #fff;
    border: 1px solid #C1272D;
    border-radius: 5px;
}

#main .questionBody .resultBxWhite{
    display: inline-block;
    width: 12em;
    text-align: right;
    font-size: 130%;
    font-weight: bold;
    line-height: 1;
    padding: .25em;
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 5px;
}






