@charset "UTF-8";

/*全体設定*/
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html {
    font-size: 100%;
}

li {
    list-style: none;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
}

.clearfix::after {
    content: "";
    display: block;
    clear: both;
}


/*シンエイジャパン　既存サイズに合わせて*/
body {
    max-width: 760px;
    margin: 0 auto;
}


/*h1 seo対策*/
#head_cont h1 {
    color: #333;
    font-size: 10px;
    margin-top: 4px;
    margin-bottom: 0;
    text-align: center;
}

/*header*/
header {
    background-image: url(../img2023/header_bottom.png);
    background-repeat: repeat-x;
    background-position: left bottom;
    padding-bottom: 18px;
}

/* パンくず nav */
.nav_pan {
    font-size: 10px;
    margin: 10px 0 10px 10px;
    color: #333;

}

.nav_pan a {
    text-decoration: underline;
    color: #666;
}

/*keyイメージ　メイン画像*/
#key img {
    max-width: 100%;
}

/*２つのバナー*/
nav#b2 {
    background-image: url(../img2023/bg_2b.jpg);
    border-top: 3px solid #DA0000;
    padding: 30px 15px;
}

nav#b2 ul {
    display: flex;
    justify-content: space-around;
}

li#b2_parts a {
    display: block;
    width: 325px;
    height: 0;
    background-image: url(../img2023/top_b01.png);
    background-repeat: no-repeat;
    padding-top: 254px;
    overflow: hidden;
}

li#b2_kaitori a {
    display: block;
    width: 325px;
    height: 0;
    background-image: url(../img2023/top_b02.png);
    background-repeat: no-repeat;
    padding-top: 254px;
    overflow: hidden;
}

li#b2_parts a:hover {
    background-position: 0 -254px;
}

li#b2_kaitori a:hover {
    background-position: 0 -254px;
}

/*cont*/
#cont {
    margin: 20px 0 20px 0;
}

/*main sub　2カラム*/
#cont main {
    width: 73%;
    float: left;
}

#cont sub {
    width: 26%;
    float: right;
}

#cont::after {
    content: "";
    display: block;
    clear: both;
}

/*main*/
.p01 {
    margin: 20px;
    text-align: left;
}

.link_ {
    text-decoration: underline;
}

#aisatu,
#parts,
#kaitori {
    margin-bottom: 50px;
}

/*各コンテンツ　3バナー*/
#cont_link,
#aisatu {
    text-align: center;
}

.cont_b ul {
    display: flex;
    justify-content: space-between;
}

.cont_b ul li {
    width: 33%;
}

.cont_b ul li a {
    display: block;
    min-height: 310px;
    border: 4px solid #DA0000;
    border-radius: 10px;
    background-image: url(../img2023/go.png);
    background-repeat: no-repeat;
    background-position: right bottom 5px;
    color: #333;
    line-height: 135%;
    padding: 5px;
    text-align: center;
}

.cont_b ul li a p {
    font-size: 10pt;
    text-align: left;
    margin: 0 5px;
}

.cont_b ul li a:hover h3 {
    color: #DA0000;
    text-decoration: underline;
}

.cont_b h3 {
    margin-bottom: 15px;
}

.cont_b h3 .p18 {
    font-size: 18pt;
}

.cont_b h3 .p15 {
    font-size: 15pt;
}

.cont_b h3 .p14 {
    font-size: 14pt;
}

.cont_b h3 .p12 {
    font-size: 12pt;
}

/*レ点*/
.list02 {
    padding-top: 7px;
    margin-bottom: 10px;
    line-height: 130%;
    padding-left: 2em;
    background-image: url(../img/check01.gif);
    background-repeat: no-repeat;
    background-position: left top;
}


/* 右メニュー */
#menu_left ul {
    margin-bottom: 20px;
}

#menu_left li a {
    width: 191px;
    height: 38px;
    margin-bottom: 4px;
    background-image: url(../img_temp/navi02_bg.jpg);
    background-repeat: no-repeat;
    background-position: left top;
    font-size: 16px;
    color: #DA0000;
    text-decoration: none;
    font-weight: bold;
    display: block;
    overflow: hidden;
    padding: 8px 0 0 20px;
}

#menu_left li a:hover {
    background-position: 0 -38px;
    color: #FFFFFF;
}

.menu_left_on {
    width: 191px;
    height: 38px;
    margin-bottom: 4px;
    background-image: url(../img_temp/navi02_bg.jpg);
    background-repeat: no-repeat;
    background-position: 0 -38px;
    font-size: 16px;
    color: #FFFFFF;
    text-decoration: none;
    font-weight: bold;
    display: block;
    overflow: hidden;
    padding: 8px 0 0 20px;
}

/*SNS*/
.waku03 {
    padding: 0px;
    margin-top: 20px;
    margin-bottom: 20px;
    width: 190px;
    height: auto;
    border: 1px solid #DC0203;
    font-size: 80%;

}

#sns ul {
    text-align: center;
}


/*右メニュー　住所*/
.waku01 {
    line-height: 150%;
    color: #666666;
    padding: 15px 5px 10px;
    margin: 5px 0;
    background-image: url(../img_temp/menu_ad_bg.jpg);
    background-repeat: no-repeat;
    width: 190px;
    height: 217px;
    text-align: left;
}

.p16_red {
    font-size: 15px;
    color: #DA0000;
}

/*お問合せバナー*/
.b_otoiawase {
    max-width: 100%;
    text-align: center;
    /*margin: 0 auto;*/
}

/*.b_otoiawase a {
    display: block;

    padding-top: 90px;
    height: 0;
    background-image: url(../img_temp/b_satei.jpg);
    background-repeat: no-repeat;
}

.b_otoiawase a:hover {
    background-image: url(../img_temp/b_satei_f2.jpg);
    background-repeat: no-repeat;
}*/

/* footer */
footer {
    background-image: url(../img2023/footer_bg.jpg);
    background-repeat: repeat-x;
    height: 223px;
    font-size: 9pt;
    line-height: 160%;
}

footer a {
    color: #333;
}

footer a:hover {
    text-decoration: underline;
}

#sitemap {
    display: flex;
    justify-content: space-around;
}

#sitemap::after {
    content: "";
    display: block;
    clear: both;
}

#sitemap00 ul {
    display: flex;
    justify-content: center;
    margin: 25px 0 0;
}

#sitemap00 li {
    margin: 0 10px;
}

.footer_rogo {
    text-align: center;
    padding-top: 30px;
}

.footer_rogo p {
    margin-top: 10px;
}

.footer_category {
    padding-top: 30px;
}

/*copyright*/
#copyright {
    border-top: 1px solid #666;
    text-align: center;
    padding-top: 5px;
    margin-top: 5px;
}

/* -----------SP------------- */
@media (max-width:759px) {
    header {
        background-size: 45px;
        padding-bottom: 12px;
    }

    /*２つのバナー*/
    nav#b2 {
        background-repeat: no-repeat;
        background-size: cover;
    }

    nav#b2 ul {
        flex-direction: column;
        width: 325px;
        margin-right: auto;
        margin-left: auto;
    }

    nav#b2 li {
        margin-bottom: 20px;
    }

    /*main sub　2カラム　→　１カラムに*/
    #cont main {
        width: 100%;
        float: none;
    }

    #cont sub {
        width: 100%;
        float: none;
    }

    /*右メニュー　SNSを残して　非表示*/
    #menu_left {
        display: none;
    }

    /*SNS　並べ替え*/
    #sns {
        max-width: 580px;
        margin: 50px auto 0;

    }

    #sns .waku03 {
        float: left;
        margin-right: 10px;
    }

    #sns ul {
        float: left;
        margin-right: 10px;
        margin-top: 20px;
    }

    #sns::after {
        content: "";
        display: block;
        clear: both;
    }

    /*住所*/
    .waku01 {
        width: 100%;
        text-align: center;
        margin: 20px auto;
        background-image: none;
        height: auto;

    }

    /*各コンテンツ　３バナー*/
    .cont_b ul li {
        width: 32%;
    }
}

@media (max-width:599px) {

    /*SNS　並べ替え*/
    #sns {
        max-width: 400px;
        margin-right: auto;
        margin-left: auto;

    }

    #sns .waku03 {
        float: none;
        max-width: 200px;
        margin-right: auto;
        margin-left: auto;
    }

    #sns ul {
        margin-left: 10px;
    }

    #sns ul:last-of-type {
        margin-right: 0;
    }

    /*footer*/
    footer {
        background-image: none;
        background-color: #ececec;
        height: auto;
        font-size: 14px;
        line-height: 200%;
        text-align: center;
    }

    #sitemap {
        flex-direction: column;
    }

}





@media (max-width:559px) {
    header {
        background-size: 38px;
        padding-bottom: 11px;
    }

    /*3つのバナー　→　1カラムに*/
    .cont_b ul {
        flex-direction: column;
    }

    .cont_b ul li {
        width: 90%;
        margin-right: auto;
        margin-left: auto;
    }

    .cont_b ul li a {
        min-height: auto;
        margin-bottom: 10px;
        padding-bottom: 20px;
    }
}

@media (max-width:399px) {

    /*SNS　並べ替え*/
    #sns {
        max-width: 200px;
        margin-right: auto;
        margin-left: auto;
    }

    #sns ul {
        float: none;
        margin: 0;
    }

}

@media (max-width:374px) {

    /*２つのバナー　はみ出し分80％に縮小*/
    li#b2_parts a {
        width: 100%;
        height: 0;
        background-size: 260px;
        padding-top: 203.2px;
    }

    li#b2_kaitori a {
        width: 100%;
        height: 0;
        background-size: 260px;
        padding-top: 203.2px;
    }

    li#b2_parts a:hover {
        background-position: 0 -203.2px;
    }

    li#b2_kaitori a:hover {
        background-position: 0 -203.2px;
    }

    /*２つのバナー　余分な余白を削除*/
    nav#b2 {
        padding-right: 10px;
        padding-left: 10px;
    }

    nav#b2 ul {
        width: 260px;
    }

    /*footer*/
    footer {
        font-size: 12px;
    }

}