.mainarea .titlebox {
    background: #6bcbd1;
    border-radius: 22px 22px 0 0;
    padding: 40px;
}
.mainarea .titlebox h1 {
    font-weight: 500;
    font-size: 34px;
    letter-spacing: 0.1em;
    line-height: 1em;
    text-align: left;
    color: #fff;
}
.mainarea article .articlebox {
    background-color:#FFF;
    background-image: none;
    padding-bottom: 100px;
}
article .sectionbox{
    padding-top:70px;
}

article div:first-child.sectionbox{
    padding-top:40px;
}
article .sectionbox h2 {
    font-weight: 500;
    font-size: 30px;
    letter-spacing: 0.1em;
    text-align: center;
    color: #2f9ea5;
    line-height: 1.2em;
}

article .sectionbox h2:before {
    content: "";
    display: inline-block;
    width: 36px;
    height: 33px;
    background-image: url(/img/style/point_sectiontitle.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: top center;
    vertical-align: top;
    margin-top: 0px;
}

.sectiontext{
    padding-top:30px;
}

.sectiontext p {
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 0.1em;
    text-align: center;
    color: #000;
    line-height: 24px;
}
article b:before {
    content: "\A";
    white-space: pre;
}
.sectionimg{
    padding-top:20px;
    text-align: center;
}
.sectionimg img{
    width:410px;
    border-radius: 22px;
}

article .tablewrap {
    width: 793px;
    border-radius: 30px;
    background: linear-gradient(45deg, #fa5 0%, #ff884a 100%);
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
    margin: 50px auto 0 auto;
    padding: 0px 7px 16px 7px;
    position: relative;
}

article .tableouter h3 {
    font-weight: 500;
    font-size: 20px;
    letter-spacing: 0.2em;
    text-align: left;
    padding: 15px 0 10px 20px;
    color: #fff;
    line-height: 20px;
}

article table.schedule {
    border-collapse: separate;
    border-spacing: 4px;
    width: 100%;
}
article table.schedule td{
    background-color:#FFF;
    height: 41px;
    font-family: "Zen Kaku Gothic New";
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.1em;
    text-align: center;
    color: #000;
    vertical-align: middle;
    width: 12.5%;
    padding:0;
}
article table.schedule tr td:nth-child(2){
    width:11em;
}
article table.schedule td.longtext{
    letter-spacing: 0;
}
article .tablewrap:after {
    content: "";
    width: 34px;
    height: 48px;
    background-image: url(/img/style/point_pins.png);
    display: block;
    position: absolute;
    top: -29px;
    left: 50%;
    transform: translateX(-50%);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center top;
}
.tablebox p.caution {
    font-size: 11px;
    letter-spacing: 0.1em;
    text-align: center;
    color: #000;
    padding-top:18px;
    line-height:11px;
}

.tablebox p.caution a {
    color: #EB7412;
    display: inline-block;
    border-bottom:1px solid #EB7412;
    transition:all 1s;
}

@media (hover: hover) {
.tablebox p.caution a:hover {
    color: #038297;
    border-bottom: 1px solid #FFFFFF;
}
}
.tablebox p.caution + p.caution {
    padding-top: 5px;
}

.style {
    margin: 80px 35px 0 35px;
    background-color: #E4F9F9;
    background-image: url(/img/schoolhouse/bg_style.png);
    background-repeat: repeat-y;
    background-position: top center;
    position: relative;
    background-size: 700px auto;
    border: 40px solid #E4F9F9;
    box-sizing: border-box;
    border-bottom: 10px solid #E4F9F9;
}

.style:after {
    display: block;
    position: absolute;
    content: "";
    width: 166px;
    height: 176px;
    background-image: url(/img/schoolhouse/image_style.png);
    background-repeat: no-repeat;
    bottom: 25px;
    right: -15px;
    background-size: contain;
}

.style h2 {
    background-image: url(/img/schoolhouse/bg_styletitle.png);
    display: block;
    text-indent: -9999px;
    width: 372px;
    height: 49px;
    background-repeat: no-repeat;
    left: 170px;
    top: -72px;
    position: absolute;
    background-size: contain;
}

ul.stylelist li a {
    width: 369px;
    height: 64px;
    border-radius: 36.8px;
    background: #fffb81;
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
    display: block;
    margin: 0 auto;
    box-sizing: border-box;
    font-weight: 500;
    font-size: 21px;
    letter-spacing: 0.13em;
    text-align: center;
    color: #28a7af;
    padding-top: 19px;
    transition: all .3s;
    line-height: 1em;
}
ul.stylelist li a.current {
        background-color: #6BCBD1;
        color: #FFFFFF;
        cursor:inherit;
}
@media (hover: hover){

    ul.stylelist li a:hover {
        background-color: #6BCBD1;
        color: #FFFFFF;
    }
}
ul.stylelist {
    padding-top: 20px;
    padding-bottom: 50px;
}

ul.stylelist li {
    margin-bottom: 30px;
}

ul.stylelist li:last-child {
    margin-bottom: 0;
}

.wrap .articlebox .mainarea article .articlebox .onlypc{
    display:unset;
}
.wrap .articlebox .mainarea article .articlebox .onlysp{
    display:none;
}
.mainarea .contentbox {
    width: 100%;
}

ul.schoolhouselist {
    display: flex;
    justify-content: space-between;
    padding:40px 40px 0 40px
}

ul.schoolhouselist li {
    width: 257px;
    text-align: center;
    font-size: 16px;
    letter-spacing: 0.05em;
    line-height: 24px;
    font-weight: 500;
}
ul.schoolhouselist li div{
    width:100%;
    border-radius:20px;
    aspect-ratio:158 / 125;
    overflow: hidden;
}
ul.schoolhouselist li img{
    width:100%;
    aspect-ratio:158 / 125;
    transition: all 1s;
}
ul.schoolhouselist li a{
    color:#000000;
    transition: all 1s;
}
@media (hover: hover) {
    ul.schoolhouselist li a:hover{     
        color:#038297;
    }
    ul.schoolhouselist li a:hover img{     
        transform: scale(1.1);
    }
}

@media screen and (max-width:600px){

.wrap .articlebox .mainarea article .articlebox .onlypc{
    display:none;
}
.wrap .articlebox .mainarea article .articlebox .onlysp{
    display:unset;
}
.mainarea article .articlebox {
    padding: 0 10px;
}
.articlebox{
    
        padding-bottom: 80px;
}
    .mainarea .titlebox h1 {
    font-size: 17px;
    line-height: 1em;
}
.mainarea .titlebox {
    border-radius: 8px 8px 0 0;
    padding: 20px 10px;
}
article b::before{
    display: none;
}
article span{
    display: block;
}
article div:first-child.sectionbox {
    padding-top: 30px;
}

.mainarea article .articlebox {
    padding-top: 0;
    box-sizing: border-box;
    width: 100%;
    padding: 0 20px;
    padding-bottom: 70px;
}

article .sectionbox h2 {
    font-weight: bold;
    font-size: 20px;
    letter-spacing: 0.13em;
}

article .sectionbox h2:before {
    width: 22px;
    height: 20px;
    margin-right: 5px;
}
.sectiontext p {
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0;
    text-align: left;
}
.sectiontext p.center {
    text-align: center;
}
article .sectionbox {
    padding-top: 40px;
}
.sectiontext {
    padding-top: 20px;
}

.sectionimg img {
    width: 100%;
}

.tablebox .tableouter{
    width: calc(100% + 40px);
    overflow: scroll;
        padding-bottom: 10px;
        margin-top:20px;
}

article .tablewrap {
    width: 622px;
    border-radius: 30px;
    padding: 0 12px 21px 12px;
    margin: 0;
    margin-right:40px;
}

article .tableouter h3 {
    font-size: 17px;
    letter-spacing: 0.15em;
    line-height: 17px;
    padding: 10px;
}

article .tablewrap:after {
    display: none;
}

article table.schedule td {
    width:82px;
}

article .tablebox .tableouter .tablewrap .schedule td {
    line-height: 1.1em;
    font-size:13px;
}

article .tablebox.oneday .tableouter .tablewrap .schedule td {
    line-height: 1.1em;
    font-size:13px;
}
article table.schedule tr td span {
    display: block;
}
article table.schedule tr td:nth-child(2) {
    width: 91px;
}

article table.schedule tr td:nth-child(1) {
    width: 57px;
}

.style {
    background-size: calc(100% - 40px) auto;
    margin-top: 110px;
    background-image:url(/img/schoolhouse/bg_style_sp.png);
    background-repeat: repeat-y;
    background-position: center 26px;
    border:0;
    margin:80px 0 0 0;
}

.style h2 {
    width: 188px;
    height: 34px;
    background-size: contain;
    left: 50%;
    top: -17px;
    transform:translateX(-125px);
}
ul.stylelist {
    padding-top: 35px;
    padding-bottom: 40px;
}

ul.stylelist li a {
    width: 141.61px;
    height: 39.18px;
    border-radius: 19.59px;
    background: #fffb81;
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
    font-weight: 500;
    font-size: 15px;
    letter-spacing: 0.13em;
    text-align: center;
    color: #28a7af;
    padding-top: 12px;
}


ul.stylelist li {
    margin-bottom: 13px;
}
ul.stylelist li a{
    width:174px;
}

.style:after {
    width: 80px;
    height: 95px;
    background-size: contain;
    right: 8px;
    bottom: -20px;
}

ul.schoolhouselist {
    padding: 0;
    flex-wrap: wrap;
    margin-top: 5px;
}

ul.schoolhouselist li {
    width: 48%;
    font-size: 12px;
    letter-spacing: 0.05em;
    line-height: 15px;
    margin-top: 15px;
}

ul.schoolhouselist li div{
    border-radius:10px;
}
}