@import url('https://fonts.googleapis.com/earlyaccess/notosansjapanese.css');
@import url('https://fonts.googleapis.com/css?family=Rubik:400,500,700,900');
@import url('../css/font-awesome.min.css');
@import url('../css/fonts.css');

html {
    width: 100%;
}

body {
    margin: 0;
    text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -webkit-text-size-adjust-: 100%;
    -moz-osx-font-smoothing: grayscale;
    padding: 0;
    width: 100%;
}

* {
    font-size: 14px;
    line-height: 1;
    font-family: "ヒラギノ角ゴ Pro W3",Hiragino Kaku Gothic Pro,Osaka,"メイリオ",Meiryo,"ＭＳ Ｐゴシック",MS P Gothic,Verdana,sans-serif;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -o-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}

.Rubik {
    font-family: 'Rubik';
}

.page {
    background-color: #ffa800;
    overflow: hidden;
    padding: 100px 0;
    position: relative;
}

.inner-box {
    margin: 0 auto;
    position: relative;
    width: 924px;
}

.top_boxs {
    margin-bottom: 180px;
}

.top_boxs > .title {
    margin: 0 auto 40px;
    width: 100%;
}

.top_boxs > .title img {
    width: 100%;
}

.footer {
    text-align: center;
}

.footer > .boxs .sub {
    display: -webkit-flex;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-justify-content: space-between;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    margin: auto;
    padding: 40px 0 80px;
    position: relative;
    z-index: 30;
}

.footer > .boxs .sub .hour p {
    font-size: 16px;
    font-weight: 500;
    height: 50px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer > .boxs .sub .hour a {
    border: 2px solid #000;
    border-radius: 30px;
    color: #000;
    display: block;
    font-size: 2rem;
    font-weight: 500;
    line-height: 60px;
    text-decoration: none;
    text-align: center;
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    width: 100%;
}

.footer > .boxs .sub .hour.mail {
    width: 180px;
}

.footer > .boxs .sub .hour.mail a {
    line-height: 58px;
    color: #FFA800;
    background: #000000;
    font-size: 3.8rem;
}

.boxs .sub .hour.mail a::before {
    display: inline-block;
    font-family: "FontAwesome";
    content: "\f003";
    vertical-align: 5px;
}

.footer > .boxs .sub .hour.tel01,
.footer > .boxs .sub .hour.tel02 {
    width: calc(50% - 110px);
}

.footer > .boxs .sub .hour p {
    font-size: 16px;
    font-weight: 500;
    height: 50px;
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: center;
}

.footer > .copy {
    position: relative;
    display: inline-block;
    -webkit-transform: translate(0, -55%);
    transform: translate(0, -55%);
    z-index: 100;
}

.footer > .copy p {
    background-color: #000;
    border-radius: 20px;
    color: #ffa800;
    display: inline-block;
    line-height: 24px;
    position: relative;
    padding: 0 20px;
    z-index: 20;
}


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

    .page {
        padding: 50px 0;
    }

    .inner-box {
        padding: 0 20px;
        width: 100%;
    }

    .top_boxs {
        margin-bottom: 80px;
    }

    .top_boxs > .title,
    .top_boxs > .boxs {
        width: 100%;
    }

    .title img {
        width: 100%;
    }

    .box_plan .boxs > .img {
        width: 100%;
    }

    .footer > .boxs .sub {
        display: block;
        padding: 20px 0;
        width: 100%;
    }

    .footer > .boxs .sub .hour.mail,
    .footer > .boxs .sub .hour.tel01,
    .footer > .boxs .sub .hour.tel02 {
        margin-bottom: 20px;
        width: 100%;
    }

    .footer > .boxs .sub .hour p {
        line-height: 1.4;
        margin-bottom: 10px;
        font-size: 14px;
        height: auto;
    }

    .footer > .boxs .sub .hour.mail a {
        border: 2px solid #000;
        border-radius: 23px;
        color: #FFA800;
        display: block;
        line-height: 46px;
        font-size: 1.8rem;
        text-decoration: none;
        -webkit-border-radius: 23px;
        -moz-border-radius: 23px;
        width: 100%;
    }

    .footer > .boxs .sub .hour a {
        font-size: 1.8rem;
        font-weight: 400;
        line-height: 40px !important;
    }

    .footer > .boxs .sub .hour.mail a::before {
        font-size: 2rem;
    }

    .footer > .boxs {
        padding-bottom: 40px;
    }

    .footer > .copy {
        margin-top: 20px;
    }

    .footer > .copy p {
        padding: 0 10px;
        font-size: 3.1vw;
    }

}

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

    .br::before {
        content: "\A";
        white-space: pre;
    }

}
