@charset "utf-8";

* { transition: all 0.1s ease-in-out; }

html {
    scroll-behavior: smooth;
}

body {
    background-color: #ab0000;
    /*font-family: 'Noto Sans JP', 'Open Sans', sans-serif;*/
    font-family: 'Lato', 'Noto Sans JP', 'ヒラギノ角ゴ ProN', 'Hiragino Kaku Gothic ProN', 'メイリオ', Meiryo, 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;
    font-size: 100%;
    line-height: 100%;
    position: relative;
}

a {
    color: #15396f;
}


img {
    border: 0;
    box-sizing: border-box;
    vertical-align: bottom;
    max-width: 100%;
    height: auto;
}

p {
    color: #000;
    font-size: 16px;
    line-height: 1.6;
    margin: 12px 0 0 0;
}

p:first-of-type {
    margin: 0;
}


@media screen and (min-width: 768px) {
    p {
        font-size: 18px;
        line-height: 1.6;
        margin: 10px 0 0 0;
    }
}


/*
**********************************************/

header {
    background: #f8f4e6;
    margin: 0 auto;
}

.header-in {
    margin: 0 auto;
    text-align: center;
}

.header-in .logo img {
    max-width: 100%;
}

.lead {
    margin: 0 auto;
    padding: 24px;
    text-align: left;
}


/*
**********************************************/
main {
    background: #f8f4e6;
    margin: 0 auto;
}

.tmp {
    border-bottom: 1px dotted #333;
    margin: 0 auto;
}

section.tmp:last-of-type {
    margin: 0;
}

.block {
    padding: 24px;
}

.box-text {
    margin: 24px 0 0;
}

.tit {
    font-size: 28px;
    font-weight: bold;
    line-height: 1.4;
}

.text {
    margin: 24px 0;
}

.wakabayashi div.text:last-of-type {
    margin: 36px 0 0;
}

.box-image  {
    text-align: center;
}

.box-name .title {
    font-size: 16px;
    font-weight: bold;
}

.box-name .name {
    font-size: 24px;
    font-weight: bold;
    margin: 0;
}

@media screen and (min-width: 768px) {
    header,main,footer {
        max-width: 1245px;
        margin: 0 auto;
    }

    .header-in {
        padding: 0 36px;
    }

    .lead {
        padding: 24px 0;
    }

    .tmp {
        border: 0;
        margin: 0 auto;
        padding: 48px 0;
    }

    .block {
        display: flex;
        flex-direction: row;
        padding: 0 48px;
    }

    section.tmp:nth-of-type(odd) .block {
        background-size: 150px auto;
        background-position: bottom 12px right 84px;        
    }

    section.tmp:nth-of-type(even) .block {
        background-size: 150px auto;
        background-position: bottom 24px left 84px;        
    }

    .wakabayashi div.text:last-of-type {
        margin: 48px 0 0;
    }
/* 
    .kanise .block {
        background: no-repeat url(../images/bg_kanise.png);
        
    }
    .kawai .block {
        background: no-repeat url(../images/bg_kawai.png);
    }

    .sakoh .block {
        background: no-repeat url(../images/bg_sakoh.png);
    }

    .kawaguchi .block {
        background: no-repeat url(../images/bg_kawaguchi.png);
    }

    .nanami .block {
        background: no-repeat url(../images/bg_nanami.svg);
    }

    .uchida .block {
        background: no-repeat url(../images/bg_uchida.png);
    }

    .sakimoto .block {
        background: no-repeat url(../images/bg_sakimoto.png);
    } */


    .box-image {
        margin: 0;
    }

    .box-text {
        margin: 0;
        width: 640px;
    }

    .tit {
        font-size: 36px;
    }

    .text {
        margin: 24px 0 36px;
    }

    .box-name .title {
        font-size: 20px;
    }

    .box-name .name {
        font-size: 28px;
    }


    /* section.tmp:nth-of-type(odd) .box-image img {
        rotate: 5deg;
    } */

    section.tmp:nth-of-type(odd) .box-text {
        margin: 0 0 0 64px;
        text-align: left;
    }
    
    section.tmp:nth-of-type(odd) .box-text .tit,
    section.tmp:nth-of-type(odd) .box-name .title,
    section.tmp:nth-of-type(odd) .box-name .name {
        text-align: left;
    }

    section.tmp:nth-of-type(even) .block {
        flex-direction: row-reverse;
    }

    /* section.tmp:nth-of-type(even) .box-image img {
        rotate: -5deg;
    } */

    section.tmp:nth-of-type(even) .box-text {
        margin: 0 64px 0 0;
        text-align: right;
    }
    
    section.tmp:nth-of-type(even) .box-text .text {
        text-align: left;
    }
    section.tmp:nth-of-type(even) .box-text .tit,
    section.tmp:nth-of-type(even) .box-name .title,
    section.tmp:nth-of-type(even) .box-name .name {
        text-align: right;
    }
}



.pre .block {
    display: inherit;
}

.btn-bl a {
    background: #892121;
    border: 1px solid #f00;
    border-radius: 10px;
    color: #fff;
    display: block;
    font-size: 20px;
    font-weight: bold;
    line-height: 1.6;
    margin: 24px auto 0;
    padding: 15px 10px;
    position: relative;
    text-align: center;
    text-decoration: none;
}

.btn-bl a::after {
    background-color: transparent;
    content: '';
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    position: absolute;
    top: 22px;
    right: 24px;
    transform: rotate(-45deg);
    width: 16px;
    height: 16px;
}

.btn-bl a:hover {
    color: #ff0;
}

.btn-bl a:hover > span {
    color: #ff0;
}

.btn-bl a:hover::after {
    border-color: #ff0;
}

.btn-bl a > span {
    display: block;
    font-size: 16px;
    text-decoration: none;
}

.btn-min a {
    background: #c30;
    border-radius: 5px;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    display: inline-block;
    margin: 12px auto;
    padding: 12px 48px;
    text-align: center;
    text-decoration: underline;
    height: auto;
}

.btn-min a:hover {
    color: #ff0;
}


@media screen and (min-width: 768px) {
    .btn-bl {
        flex-flow: column;
        -ms-align-items: center;
        align-items: center;
    }

    .btn-bl a {
        font-size: 32px;
        padding: 20px 0;
        width: 65%;
    }

    .btn-bl a::after {
        top: 35px;
        right: 45px;
        width: 20px;
        height: 20px;
    }

    .btn-bl a > span {
        font-size: 18px;
    }

    .pre .block {
        padding: 48px;
    }
}

.pre .txt {
    margin: 24px 0 36px;
}


/*
**********************************************/
footer {
    background: #f8f4e6;
    margin: 0 auto;
    position: relative;
    text-align: center;
}

footer .copy {
    padding: 12px 36px;
}

footer .copy p {
    color: #000;
    font-size: 0.9rem;
    margin: 0 auto;
    text-align: center;
}

/*
**********************************************/

.bold { font-weight: bold;}
.ul { text-decoration: underline; }
.s-tac { text-align: center; }
.no-pc { display: block; }
.no-sp { display: none; }
.yl { color: #ffde00; }
.red { color: #f00; }
.no-border { border: 0; }
.clear {
    margin: 0;
    padding: 0;
}

.fs150 { font-size: 150%; }



@media screen and (min-width: 768px) {
    .no-pc { display: none; }
    .no-sp { display: block; }
}
