/*

Theme Name: hayashi6
Text Domain: 林六株式会社 2022リニューアル
Version: 1.0
Description: 林六株式会社のテーマです。
Author: アイデックスデザイン株式会社
Author URI: https://idex-design.com/

*/


@charset "utf-8";
/* CSS Document */

/* @font-face {
    font-family: "Noto Serif JP";
    font-weight: 400;
    src: url(../font/NotoSerifJP-Regular.otf);
}

@font-face {
    font-family: "Noto Serif JP";
    font-weight: 700;
    src: url(../font/NotoSerifJP-Bold.otf);
} */

/* ==========================================
    common
========================================== */
em {
    font-style: normal;
}
.pc {
    display: none;
}
.wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 10px;
}

/* .serif {
    font-family: "游明朝体", YuMincho, "游明朝", "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;

} */

.flex {
    display: flex;
}
.flex.jcc {
    justify-content: center;
}
.flex.jcsb {
    justify-content: space-between;
}
.flex.aic {
    align-items: center;
}
.flex.half > div {
    width: 50%;
}
.flex.fw {
    flex-wrap: wrap;
}
.flex.reverse {
    flex-direction: row-reverse;
}

@media screen and (min-width: 1024px) {
    .wrap {
        padding: 0 20px;
    }
}
    @media screen and (min-width: 1024px) {
    .sp {display: none !important;}
    .pc {display: block;}
}



/********** COMMON **********/

main {
    padding-top: 60px;
}
.pagetop {
    display: none;
}
@media screen and (min-width: 1024px) {
    main {
        padding-top: 80px;
    }
}

/********** COMMON **********/



/********** HEADER **********/

header {
    position: fixed;
    background: #fff;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 99;
}
header h1 {
    padding: 10px;
}
header h1 img {
    height: 40px;
    width: auto;
}

.spmenu,
.spmenu_b span,
.spmenu_line,
.spmenu_line:before,
.spmenu_line:after {
    transition-duration: .5s;
}

.spmenu_b {
    display: block;
    background: #009c43;
    height: 60px;
    width: 60px;
    float: right;
    cursor: pointer;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 100;
}

.spmenu_line {
    display: block;
    background: #fff;
    width: 36px;
    height: 2px;
    position: absolute;
    top: 28px;
    left: 50%;
    transform: translateX(-50%);
    cursor: pointer;
}

.spmenu_line:before {
    content: '';
    display: block;
    background: #fff;
    width: 36px;
    height: 2px;
    position: absolute;
    top: -10px;
    cursor: pointer;
    transform-origin: 50%;
}

.spmenu_line:after {
    content: '';
    display: block;
    background: #fff;
    width: 36px;
    height: 2px;
    position: absolute;
    top: 10px;
    cursor: pointer;
    transform-origin: 50%;
}

.spmenu_b.open .spmenu_line {
    width: 0;
}

.spmenu_b.open .spmenu_line:before {
    transform: translateX(-50%) rotate(225deg);
    top: 0;
}

.spmenu_b.open .spmenu_line:after {
    transform: translateX(-50%) rotate(-225deg);
    top: 0;
}

.spmenu {
    display: block;
    position: fixed;
    background: #f6f6f6;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    z-index: 98;
    transform: translateX(100%);
    padding-top: 60px;
}

.spmenu.open {
    transform: translateX(0%)
}
.spmenu nav > ul > li {
    display: block;
    background: #f6f6f6;
    border-bottom: 1px solid #898989;
}
.spmenu nav > ul > li span {
    display: block;
    font-weight: 700;
    padding: 1em;
}
.spmenu nav li.acd ul {
    background: #eee;
}
.spmenu nav li.acd span {
    position: relative;    
}
.spmenu nav li.acd span:after {
    content: "＋";
    color: #009c43;
    position: absolute;
    font-size: 24px;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}
.spmenu nav li.acd.open span:after {
    content: "－";
    color: #8e8e8e;
}
.spmenu nav li.acd span + ul {
    padding: 10px;
    display: none;
}
.spmenu nav li.acd span + ul li a {
    display: inline-block;
    position: relative;
    padding: 10px;
    padding-left: 2em;
}
.spmenu nav li.acd span + ul li a:before {
    content: "\25B6";
    color: #1b5da8;
    position: absolute;
    font-size: 10px;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
}
.spmenu .policy-link {
    padding: 40px 20px 0;
}
.spmenu .policy-link a {
    width: 50%;
    font-size: 12px;
    padding: 0 0.5em;
}

@media screen and (min-width: 1024px) {
    header h1 img {
        height: 60px;
    }
    .header-in {
        display: flex;
        justify-content: space-between;
    }
    .new-menu>ul.flex {
        display: flex;
        justify-content: center;
    }
    
    .new-menu>ul.flex>li {
        line-height: 21px;
        width: 8em;
        list-style: none;
        padding: 0;
        text-align: center;
        padding: 30px 0 20px;
        position: relative;
        font-weight: 700;
        transition: ease 0.3s;
    }
    
    .new-menu>ul.flex>li:after {
        content: "";
        display: block;
        width: 7em;
        margin: 5px auto 0;
        height: 3px;
        background: transparent;
        transition: ease 0.3s;
    }
    
    .new-menu>ul.flex>li:hover:after {
        background: #009c43;
    }
    
    .new-menu>ul.flex>li > a {
        position: absolute;
        display: block;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
    
    .new-menu>ul.flex>li > a.double {
        display: none;
    }
    .new-menu ul.pages {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: max-content;
        text-align: left;
        padding: 1em 2em;
        background: rgba(255,255,255,0.8);
    }
    .new-menu ul.pages a {
        display: block;
        position: relative;
        padding-left: 1em;
    }
    .new-menu ul.pages li:nth-of-type(n+2) a {
        margin-top: 10px;
    }
    .new-menu ul.pages a:before {
        content: "\25B6";
        color: #1b5da8;
        position: absolute;
        font-size: 10px;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
    }
}

/********** HEADER **********/



/********** FOOTER **********/

footer .wrap {
    text-align: center;
}
footer address {
    padding: 50px 0;
    font-style: normal;
    display: inline-block;
    text-align: left;
}

footer h2 img {
    width: 150px;
    margin-bottom: 20px;
}
footer .copy {
    background: #1b5da9;
    color: #fff;
}
footer .copy .flex {
    justify-content: center;
}
footer .copy .flex .left {
    font-size: 2vw;
}

@media screen and (min-width: 600px) {
footer address br.sp {
    display: none !important;
}
}

@media screen and (min-width: 1024px) {
    footer {
        position: relative;
    }
    .pagetop {
        position: absolute;
        top: 0;
        right: 0;
        display: block;
    }
    footer h2 img {
        width: 200px;
    }
    footer .wrap {
        text-align: left;
    }
    footer .f-link {
        padding-bottom: 60px;
    }
    footer .f-link dl {
    width: 12em;
}
footer .f-link dt h3,
footer .f-link dt a {
    color: #009c43;
    font-weight: 700;
}
footer .f-link dt h3 {
    padding: 10px;
    border-bottom: 1px solid #c9c9c9;
}
footer .f-link dd {
    margin: 10px;
    font-size: 14px;
    position: relative;
    padding-left: 1em;
}
footer .f-link dd:first-of-type {
    margin-top: 20px;
}
footer .f-link dd a:before {
    content: "\25B6";
    color: #1b5da8;
    position: absolute;
    font-size: 10px;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}
footer .copy {
    padding: 40px 0;
}
footer .copy .flex {
    justify-content: space-between;
}
footer .copy .flex .left,
footer .copy .flex .right a {
    font-size: 14px;
    color: #fff;
}
footer .copy .flex .right a:nth-of-type(n+2) {
    margin-left: 3em;
}
}

/********** FOOTER **********/

