.tableouter {
    background-color: #DDFECF;
    border-radius: 15px;
    padding: 20px 30px;
    margin-top: 80px;
}

.tableouter table,.tableouter tbody,
.tableouter tr,
.tableouter th,
.tableouter td {
    display: block;
}

.tableouter th,
.tableouter td{
    text-align: left;
    font-size: 15px;
    line-height: 30px;
    letter-spacing: 0.05em;
    font-weight:bold;
}
.tableouter td {
    padding-bottom: 30px;
}

.tableouter tr.must th:after {
    content: "必須";
    font-size: 12px;
    color: #FFF;
    line-height: 12px;
    padding: 3px;
    background-color: #FFA814;
    font-weight: 400;
    display: inline-block;
    vertical-align: text-bottom;
    margin-left: 5px;
}

input[type=text],
select{
    border:1px solid #B5B5B5;
    border-radius:6px;
    font-size: 14px;
    line-height: 14px;
    padding: 8px;
    box-sizing: border-box;
    background-color:#FFF;
    -webkit-appearance: none;
    color:#000;
}
option{
    font-size: 14px;
    line-height: 14px;
    padding: 8px;
}
input[type=text]{
    width:100%
}
input[type=text]#name{
    width:466px;
}
input[type=text]#kana{
    width:466px;
}
input[type=text]#zip1{
    width:3em;
    box-sizing:content-box;
    margin-right:5px;
}
input[type=text]#zip2{
    width:4em;
    box-sizing:content-box;
    margin-left:4px;
}
input[type=text]#tel{
    width:12em;
    box-sizing:content-box;
    margin-left:4px;
}

input[type=checkbox],
input[type=radio],{
    border:1px solid #B5B5B5;
    margin-right:10px;
    display:inline-block;
}


div.kamokubox {
    display:none;
}

div#secondpage {
    border-top: 1px dashed #017024;
    margin-top: 40px;
    padding-top: 70px;
    font-size:15px;
    letter-spacing:0.05em;
    line-height:30px;
}

div#secondpage p:first-child {
    color:#177C37;
    font-weight:bold;
    font-size:15px;
    letter-spacing:0.05em;
    line-height:15px;
    padding-bottom:30px;
}

div#secondpage h3 {
    font-size:15px;
    letter-spacing:0.05em;
    line-height:15px;
    margin-top: 50px;
}

div#secondpage ul{
    display:flex;
    flex-wrap:wrap;
    padding:10px 10px 3px 10px;
    
}
div#secondpage ul li{
    width:246px;
    line-height:30px;
}

input#reasondetail {
    width: 50%;
}

div#secondpage p + h3 {
    margin-top: 0;
}

div#secondpage ul.where li {
    width: 350px;
}
div#secondpage ul.reason li:last-child,
div#secondpage ul.where li:last-child
 {
    width: 100%;
}

div#secondpage ul.where li:last-child input[type=text] {
    width: 50%;
}

textarea#comment {
    border:1px solid #B5B5B5;
    border-radius:6px;
    font-size: 14px;
    line-height: 18px;
    padding: 8px;
    box-sizing: border-box;
    width:100%;
    height: 11em;
    margin-top: 12px;
}
.btnarea{
    margin-top:45px;
    padding-bottom: 50px;
}
.btnarea button {
    display: block;
    width: 218px;
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 0.05em;
    color: #FFF;
    border-radius: 30px;
    padding: 13px 0 12px 0;
    line-height: 1em;
    text-align: center;
    position: relative;
    transition: all, 0.3s;
    box-sizing:border-box;
    background-color:#FFA836;
    border:2px solid #FFA836;
    box-shadow:3px 3px 0 #B5E89F;
    margin: 0 auto;
}

.btnarea button:hover {
    color:#FFA836;
    background-color:#FFF;
    box-shadow:none;
    top:3px;
    left:3px;
}

.btnarea button::after {
    content: "";
    display: block;
    position: absolute;
    width: 11px;
    height: 22px;
    background-image: url(/img/schoolhouse/access/rarrow_w.png);
    background-size: contain;
    background-repeat: no-repeat;
    right: 17px;
    top: 11px;
    transition: all, 0.3s;
}
.btnarea button:hover::after{
   background-image: url(/img/schoolhouse/access/rarrow_o.png); 
}

.articlebox {
    padding-bottom: 66px;
}

@media screen and (max-width:600px){
    .articlebox {
        font-size: 15px;
        letter-spacing: 0.03em;
        line-height: 25px;
    }
    
    .contentbox > p {
        padding: 0 20px;
    }
    
    .tableouter {
        width: calc(100% - 40px);
        margin: 0 20px;
        box-sizing: border-box;
        padding: 20px 15px;
		margin-top:50px;
    }
    
    .tableouter th, .tableouter td {
        font-size: 14px;
        letter-spacing: 0.05em;
        line-height: 30px;
    }
    
    input[type=text]#name,
    input[type=text]#kana {
        width: 100%;
    }
    
    input[type=text], select {
        font-size: 13px;
        line-height: 13px;
    }
    
    .tableouter td {
        padding-bottom: 20px;
    }
    
    input#kamoku:after {
        display: block;
        content: "";
        width: 50px;
        height: 100px;
    }
    
    .tableouter td span {
        display: inline-block;
        width: 80%;
        vertical-align: top;
        line-height: 22px;
    }
    
    div#secondpage {
        margin-top: 30px;
        padding-top: 60px;
        font-size: 14px;
        letter-spacing: 0.05em;
        line-height: 22px;
    }
    
    div#secondpage p:first-child {
        font-size: 14px;
        line-height: 14px;
    }
    
    div#secondpage h3 span {
        display: block;
        padding-top: 4px;
    }
    
    div#secondpage h3 {
        font-size: 14px;
        line-height: 14px;
        letter-spacing: 0.05em;
        margin-top: 30px;
    }
    
    div#secondpage ul {
        display: block;
        padding: 13px 0 3px 7px;
    }
    
    input#otherreason {
        margin-right: 3px;
    }
    
    input#reasondetail {
        width: 100%;
    }
    
    div#secondpage ul.where li:last-child input[type=text] {
        width: 100%;
    }
    
    textarea#comment {
        font-size: 13px;
        line-height: 16px;
    }
    
    .btnarea {
        margin-top: 40px;
        padding-bottom: 40px;
    }
    
    .btnarea button {
        transition: all, 0s;
    }
    
    .articlebox {
        padding-bottom: 46px;
    }
}