@charset "utf-8";

/* CSS Document */

@font-face {
    font-family: hannari;
    src: url('../font/Hannari.otf') format("opentype");
}

* {
    margin: 0;
    padding: 0;
}

html,
body {
    height: 100%;
}

body {
    background-image: url(http://kanpuri.co.jp/2017nenga/images/top_back.jpg);
}

div#wrapper {
    margin: 0px auto;
    padding: 20px 0 0 0;
    text-align: center;
    width: 980px;
    min-height: 100%;
    background-color: #fff;
    font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    font-size: 16px;
}

div#wrapper h1 {
    width: 60%;
    margin: 0 auto 30px auto;
    background: #fef4f4;
    font-size: 18pt;
    color: #AD292B;
    -webkit-box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.1), 15px 15px 0 -5px #fef4f4, 15px 15px 1px -4px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.1), 15px 15px 0 -5px #fef4f4, 15px 15px 1px -4px rgba(0, 0, 0, 0.2);
    box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.1), 15px 15px 0 -5px #fef4f4, 15px 15px 1px -4px rgba(0, 0, 0, 0.2);
    padding: 8px;
    font-family: hannari;
}

div#wrapper h2 {
    text-align: center;
    background: #C00;
    color: #FFF;
    font-size: 18px;
    margin: 10px auto;
    padding: 5px;
    width: 700px;
}

div#wrapper h2 span {
    font-size: 10px;
}

div#wrapper p {
    margin: 20px 0px;
}

button,
input,
select,
textarea {
    font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    font-size: 100%;
}

div#wrapper table.form {
    font-size: 0.9em;
    background-color: #CCC;
    width: 90%;
    max-width: 800px;
    margin: 0px auto 20px auto;
}

div#wrapper table.form th {
    width: 120px;
    margin: 0px;
    padding-top: 5px;
    padding-right: 5px;
    padding-left: 7px;
    padding-bottom: 5px;
    background-color: #FFEFE8;
    text-align: left;
    font-weight: normal;
}

div#wrapper table.form th span {
    font-size: 10px;
    color: #F00;
}

div#wrapper table.form th p {
    line-height: 1.8;
}

div#wrapper table.form td {
    margin: 0px;
    padding: 5px;
    background-color: #fff;
    text-align: left;
}

div#wrapper table.form td p {
    font-size: 12px;
    margin: 10px 0px;
    line-height: 1.5;
}

div#wrapper table.form td input.form_text1 {
    width: 400px;
}

div#wrapper table.form td input.form_text2 {
    width: 100px;
    height: 2rem;
    font-weight: bold;
    font-size: 1.5rem;
}

div#wrapper table.form td label input {
    width: 12px;
    margin: 0 0.2em 0 1em;
}

div#wrapper table.form .uketori {
    font-size: 15px;
    color: #00195E;
}

div#wrapper table.form .apri {
    font-size: 15px;
}

div#wrapper textarea {
    width: 700px;
    height: 200px;
    margin-bottom: 0;
}

div#wrapper textarea input {
    font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    font-size: 13px;
}

div#wrapper .remarks {
    height: 200px;
    margin: 5px auto;
    padding: 10px;
    text-align: left;
    vertical-align: text-top;
    font-size: 12px;
    border-color: #666666;
    border-bottom-width: medium;
}

div#wrapper p.biko {
    text-align: left;
    margin-left: 140px;
    margin-top: 10px;
    font-size: 14px;
    line-height: 1em;
    padding-left: 1em;
}

.button {
    width: 100px;
    border: 1px solid #841B1D;
    background-color: #AD292B;
    /*background-image: -webkit-linear-gradient(top, #49c0f0, #2cafe3);
	background-image: linear-gradient(to bottom, #49c0f0, #2cafe3);*/
    border-radius: 4px;
    color: #fff;
    font-size: 13px;
    line-height: 26px;
    -webkit-transition: none;
    transition: none;
    text-shadow: 0 1px 1px rgba(0, 0, 0, .3);
}

.button:hover {
    border: 1px solid #AD292B;
    background-color: #DB4A4C;
    /*background-image: -webkit-linear-gradient(top, #1ab0ec, #1a92c2);
	background-image: linear-gradient(to bottom, #1ab0ec, #1a92c2);*/
}

.button:active {
    background: #841B1D;
    box-shadow: inset 0 3px 5px rgba(0, 0, 0, .2);
    color: #580F10;
    text-shadow: 0 1px 1px rgba(255, 255, 255, .5);
}

div.reibun {
    margin: 10px 0px;
    padding: 10px;
    border: solid #F36 2px;
}

dl.reibun {
    margin: 0px;
    padding: 0px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

dl.reibun dt {
    margin: 3px 8px 3px 0;
    padding: 0px 5px;
    font-size: 15px;
    font-weight: bold;
    width: 20%;
    height: 1.8em;
    text-align: center;
    color: #FFF;
}

dl.reibun dt.su {
    background-color: #f9aad0;
}

dl.reibun dt.ta {
    background-color: #6ec7cc;
}

dl.reibun dt.bi {
    background-color: #86c677;
}

dl.reibun dt.fa {
    background-color: #f49845;
}

dl.reibun dt.te {
    background-color: #98c51a;
}

dl.reibun dt.mi {
    background-color: #b51717;
}

dl.reibun dd {
    margin-top: 0px;
    margin-right: 0px;
    /*margin-left: 50px;
	margin-bottom: 15px;*/
    padding: 10px 0;
    font-size: 14px;
    font-weight: bold;
    font-family: hannari;
    letter-spacing: -0.1em;
    line-height: 1em;
    width: 65%;
}

dl.reibun dt label,
dl.reibun dd label {
    cursor: pointer;
    display: block;
    height: 100%;
}

dl input {
    width: 8%;
}


.mapping{
    display: flex;
    flex-wrap: wrap;
}
.mapping div{
    margin-right: 2em;
}

iframe {
    border: 1px solid #666;
    width: 250px;
    height: 250px;
    margin: 5px;
}


/*footer*/

#footer {
    position: fixed;
    bottom: 0px;
    clear: both;
    font-size: 12px;
    text-align: center;
    width: 980px;
    height: 80px;
    margin: 0 auto;
    padding: 0px;
    background-color: #E9FEBC;
    margin-top: 50px;
}

.copyright {
    width: 970px;
    height: 27px;
    margin: 0 auto;
    padding: 5px;
    color: #fff;
    text-align: center;
}

#footer ul {
    text-align: center;
}

#footer ul li {
    display: inline-block;
    width: 250px;
    height: 17px;
    margin: 0 -20px;
    padding: 18px;
}

#footer a {
    color: #666666;
}

#footer a:hover {
    color: #f96;
}

#menu-box {
    display: none;
}

.reibun span {
    background-color: rgb(0, 14, 94);
    padding: 2px;
    font-size: 12px;
    margin: 5px 0 5px 5px;
    display: inline-block;
    width: 1.1em;
    height: 1.1em;
    line-height: 1.1em;
    vertical-align: middle;
}

@media screen and (max-width:767px) {
    #menu-box {
        display: block;
    }
    div#wrapper {
        width: 96%;
        margin: 0 auto;
    }
    div.wrapper_sp {
        margin-top: 53px;
    }
    div#wrapper h1 {
        width: 85%;
        font-size: 20px;
    }
    div#wrapper h2 {
        width: 98%;
        box-sizing: border-box;
    }
    div#wrapper table.form {
        width: 100%;
    }
    div#wrapper table.form th,div#wrapper table.form td {
        width: 100%;
        display: block;
        box-sizing: border-box;
    }
    div#wrapper img {
        width: 100%;
    }
    div#wrapper table.form td input.form_text1 {
        width: 98%;
    }
    iframe {
        width: 96%;
        height: 250px;
        margin: 0 auto;
    }
    iframe img{
        width: 100%;
        height: auto;
    }
    div#wrapper textarea {
        width: 96%;
    }
    div#wrapper p.biko {
        margin-left: 0px;
    }
    dl.reibun dt {
        box-sizing: border-box;
        margin: 0 5px 2px 0;
        width: 90%;
        text-align: left;
    }
    dl.reibun dd {
        margin-left: 10%;
        padding: 0;
        margin-bottom: 1.5em;
        width: 90%;
    }
}
#target{
    border: 1px solid #000;
}
#kojin,#hojin,#ktate,#kyoko,#htate,#hyoko{
    display:none;
    flex-wrap: wrap;
    width: 100%;
}
#kojin ul{
    width: 20%;
    list-style: none;
    margin-bottom: 2em;
}
#hojin ul{
    width: 25%;
    list-style: none;
    margin-bottom: 2em;
}
#kojin ul.other{
width: 60%;
}
#hojin ul.other{
    width: 50%;
    }
    
#ktate ul, #kyoko ul,#htate ul, #hyoko ul{
    width: 100% ;
    flex-wrap: wrap;
    justify-content: space-between;
}
#ktate ul li,#htate ul li{
width: 32%;
margin-bottom: 2em;
}
#kyoko ul li, #hyoko ul li{
width: 48%;
margin-bottom: 2em;

}
#ktate ul li img,
#kyoko ul li img,
#htate ul li img,
#hyoko ul li img{
width: 100%;
height: auto;
border: 1px solid #000;
}
.sp{
    display: none;
}

label.fonts{
display: flex;
}
label.fonts img{
width: 80%!important;
height: auto;
margin-bottom: 1em;
}
#others{
    display: none;
}
@media screen and (max-width:767px) {
    .sp{
        display: block;
    }
    .pc{
        display: none;
    }
    #kojin ul, #hojin ul{
    width: 48%;
    list-style: none;
    margin-bottom: 2em;
}
#ktate ul, #kyoko ul, #htate ul, #hyoko ul{
    width: 100% ;
}

#kojin ul.other, #hojin ul.other{
width: 100%;
}

    #ktate ul li,#htate ul li{
width: 48%;
margin-bottom: 2em;
}
#kyoko ul li, #hyoko ul li{
    width: 98%;
    margin-bottom: 2em;
    
    }
    label.fonts input{
        margin:1em 0.2em auto 1em !important;
        }
        
}


.aselect{
    width: 100%;
    max-width: 400px;
    padding: 0.5em;
    font-size: 1.25em;
}
