@charset "Shift_JIS";
/* CSS Document */
/* Text Link*/
a:link {
    color: #633;
}
a:hover {
    color: #633;
}
a:visited {
    color: #633;
}
a {
    outline: none;
}
/* Reset of Default Style */
h1, h2, h3, h4, h5, h6, p, address, ul, ol, li, dl, dt, dd, table, th, td, img, form {
    margin: 0;
    padding: 0;
    border: none;
    line-height: 100%;
    list-style-type: none;
    font-style: normal;
    font-weight: normal;
    font-size: 90%;
    text-align: left;
}
span.clear {
    margin: 0;
    display: block;
    clear: both;
    line-height: 1px;
    font-size: 1px;
}
body {
    text-align: center;
    margin-right: auto;
    margin-left: auto;
    margin-top: 0px;
    margin-bottom: 0px;
    background-image: url(img/line.gif);
    background-repeat: repeat-x;
    background-position: center top;
    border-top: 7px solid #FFAC02;
    padding-bottom: 20px;
}
#container {
    width: 900px;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
    margin-top: 0px;
    margin-bottom: 0px;
    padding: 0px;
}
#top {
    width: 900px;
    padding-top: 20px;
    height: 75px;
}
#top #top_left img {
    float: left;
    margin: 0px;
    padding: 0px;
}
#contents {
    width: 900px;
    padding-top: 10px;
    clear: both;
}
h1 {
    width: 872px;
    padding: 10px 0px 10px 20px;
    text-align: left;
    font-size: 1.2em;
    font-weight: bold;
    color: #515151;
    border: 4px double #BCBCBC;
    margin-bottom: 30px;
}
h2 {
    font-size: 1.2em;
    font-weight: bold;
    color: #515151;
    margin: 30px 0px 30px 0px;
    padding: 40px 0px 0px 0px;
    width: 100%;
    border-top: 4px double #000;
}
#footer {
    height: 70px;
    width: 900px;
    border-top-width: 5px;
    border-top-style: solid;
    border-top-color: #F93;
    text-align: center;
    margin-top: 0px;
    margin-right: auto;
    margin-bottom: 0px;
    margin-left: auto;
    padding-top: 25px;
}
.footer_nav {
    font-size: 0.7em;
    display: flex;
    justify-content: center;
    padding-left: 20px;
}
.ft_nav {
    margin-left: 10px;
}
#footer p {
    font-size: 0.7em;
    color: #5F3D12;
    text-align: center;
    padding-top: 25px;
}
.hissu_text {
    font-size: 0.9em;
    color: #630;
    margin-bottom: 30px;
}

.kyokai_address {
    padding: 20px;
    background-color: #DCDCDC;
    margin-bottom: 40px;
    border-radius: 5px;
    display: flex;
}
.kyo_adr1 {
    width: 200px;
    text-align: left;
}
.kyo_adr2 {
    width: 700px;
    background-color: #DCDCDC;
    border-radius: 5px;
    text-align: left;
}
textarea {
    resize: vertical;
}
span {
    color: #F00;
}
.jiko_form1 {
    display: flex;
    border-top: 1px solid #777777;
    padding: 20px 0px 20px 0px;
}
.gf1_item1 {
    width: 25%;
    line-height: 1.5em;
}
.gf1_item2 {
    width: 75%;
    line-height: 2em;
}
.gf1_item3 {
    width: 70%;
    line-height: 1.5em;
}
.gf1_item4 {
    width: 70%;
    padding-bottom: 25px;
}

.jiko_form2 {
    display: flex;
    padding: 15px 0px 15px 0px;
}
.gf2_item1 {
    width: 25%;
    line-height: 1.5em;
}
.gf2_item2 {
    width: 75%;
    line-height: 2em;
}
.gf2_item3 {
    width: 70%;
    line-height: 1.5em;
}
.gf2_item4 {
    width: 70%;
}
.gf2_item5 {
    width: 75%;
    line-height: 2em;
}
.double_line {
    margin: 40px 0px 0px 0px;
    padding: 40px 0px 0px 0px;
    width: 100%;
    border-top: 4px double #000;
}


form .formbottom {
	text-align: center;
} 
form .btns{
	display: inline-block;
	vertical-align: middle;
	margin: 0 10px;
	padding: 8px 30px;
	color: #ff8c00;
	font-weight: bold;
	letter-spacing: 0.5pt;
	text-decoration: none;
	background-color: #ffffff;
	border: 1px solid #ff8c00;
	cursor: pointer;
	transition-duration:0.3s;
    -webkit-transition-duration:0.3s;
    -moz-transition-duration:0.3s;
    -o-transition-duration:0.3s;
    -ms-transition-duration:0.3s;
    border-radius:5px;
} 
form .btns:hover{
    color: #ffffff;
    background-color: #ff8c00;
}





@media screen and (max-width:1024px) {
    body {
        width: 100%;
    }
    #container {
        width: 96%;
        margin-left: 2%;
        margin-right: 2%;
    }
    #top {
        width: 100%;
        display: block;
    }
    #contents {
        width: 100%;
    }
    h1 {
        width: 100%;
        box-sizing: border-box;
    }
    h2 {
        font-size: 1.1em;
        width: 100%;
    }
    .kyokai_address {
        display: block;
    }
    .kyo_adr1 {
        font-weight: bold;
        margin-bottom: 10px;
        font-size: 12px;
    }
    .kyo_adr2 {
        width: 100%;
        font-size: 12px;
    }
    .jiko_form1 {
        display: block;
        width: 100%;
    }
    .gf1_item1 {
        width: 100%;
    }
    .gf1_item2 {
        width: 100%;
    }
    .gf1_item3 {
        width: 100%;
    }
    .gf1_item4 {
        width: 100%;
        padding-bottom: 25px;
    }
    .gf1_item3 textarea {
        width: 100%;
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
    }
    .gf1_item4 input[type="text"] {
        width: 100%;
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
        padding: 12px 0px 12px 0px;
    }
    
    .jiko_form2 {
        display: block;
        width: 100%;
    }
    .gf2_item1 {
        width: 100%;
    }
    .gf2_item2 {
        width: 100%;
    }
    .gf2_item3 {
        width: 100%;
    }
    .gf2_item3 textarea {
        width: 100%;
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
    }
    .gf2_item4 {
        width: 100%;
    }
    .gf2_item4 input[type="text"] {
        width: 100%;
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
        padding: 12px 0px 12px 0px;
    }    
    
    #footer {
        width: 100%;
        text-align: center;
    }
    .footer_nav {
        display: block;
    }
    #footer p {
        padding-bottom: 20px;
    }
}
@media screen and (max-width:599px) {
    #top #top_left img {
        width: 50%;
        height: auto;
    }
}

@media screen and (max-width:414px) {
    .gf2_item2 input[type="text"] {
        width: 100%;
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
        padding: 12px 0px 12px 0px;
    }
  
}

