@charset "utf-8";

html {
    font-size: 62.5%;
}

body {
    font-family: 'Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro W3', 'メイリオ', Meiryo, 'ＭＳ Ｐゴシック', sans-serif;
    font-size: 1.5rem;
    color: #333;
    line-height: 2.6rem;
}

small {
    font-size: 1.4rem;
}

.textwrap {
    font-size: 20px;
}

/* main */
.top {
    margin: 0 auto;
}

.top picture img {
    width: 100%;
}

.sec1,
.sec2,
.sec3,
.sec4,
.sec5 {
    width: 850px;
    margin: 0 auto;
    text-align: center;
}

/* header */

.header_wrap {
    width: 100%;
    position: absolute;
    top: 0px;
    z-index: 100;
    color: #fff;
}

.header_wrap .container {
    display: flex;
    justify-content: space-between;
}

.h_logo {
    padding: 30px;
}

.h_logo img {
    max-width: 265px;
    height: auto;
}

.nav_toggle {
    display: none;
}

.menu {
    line-height: 2rem;
}

.menu ul {
    display: flex;
    padding: 30px 0;
}

.menu a {
    display: block;
    font-size: 1.6rem;
    padding: 0 20px 3px;
    color: #fff;
    text-decoration: none;
}

.menu li {
    text-align: center;
}

.menu li a:after {
    content: '';
    width: 0;
    padding-bottom: 5px;
    transition: all 0.3s ease;
    border-bottom: 2px solid #fff;
    display: block;
}

.menu li a:hover:after {
    width: 100%;
    border-bottom: 2px solid #fff;
}

/* bgi01 */
.bgi01 {
    background: url(../images/bg1.png) repeat-y;
    -webkit-background-size: cover;
    background-size: cover;
    padding-bottom: 60px;
    background-attachment: fixed;
    background-position: center;
}


.bgi01 .sec1 {
    margin-top: -170px;
}


.sec1 .textwrap {
    padding: 260px 0 40px;
}

/* bgi02 */
.bgi02 {
    background: url(../images/bg2.png) repeat-y;
    -webkit-background-size: cover;
    background-size: cover;
    padding-bottom: 60px;
    background-attachment: fixed;
    background-position: center;
}


.sec2 {
    margin: 0 auto;
    overflow: hidden;
}

.sec2 .textwrap {
    margin: 100px 0 40px;
}

.sec2 .box {
    display: flex;
    justify-content: space-between;
    max-width: 810px;
    margin: 50px auto;
}

.sec2 .box .text-unit {
    width: 390px;
    padding: 0 10px;
    text-align: left;
}

.sec2 .box .img-unit {
    padding: 0 10px;
}

.sec2 .box .text-unit p {
    padding: 20px 10px 0;
    font-size: 1.6rem;
    line-height: 1.5em;
}

.sec2 .box-2 {
    display: flex;
    justify-content: space-between;
    max-width: 810px;
    margin: 50px auto 0px;
}

.sec2 .box-2 .text-unit {
    width: 390px;
    padding: 0 10px;
    text-align: left;
}

.sec2 .box-2 .img-unit {
    padding: 0 10px;
}

.sec2 .box-2 .text-unit p {
    padding: 20px 10px 0;
    font-size: 1.6rem;
    line-height: 1.5em;
}

.text-unit-sb ul li {
    padding: 20px 10px 0;
    font-size: 1.6rem;
    text-align: left;
    line-height: 1.5em;
    border-bottom: solid 1px #3a3a3a;
}

.text-unit-sb ul li span {
    margin-right: 10px;
    font-weight: bold;
}

.sec2 .box img {
    width: 100%;
}

.sec2 .box-2 img {
    width: 100%;
}

/* bgi03 */
.bgi03 {
    background: url(../images/bg1.png) repeat-y;
    -webkit-background-size: cover;
    background-size: cover;
    padding-bottom: 60px;
    background-attachment: fixed;
    background-position: center;
}

.sec3 {
    margin: 0 auto;
    overflow: hidden;
}

.sec3 .textwrap {
    margin: 100px 0 40px;
}

/* text */
.text {
    padding: 50px 15px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 20px;
}

.text p {
    line-height: 1.4em;
}

.text h2 {
    margin-bottom: 30px;
    padding-bottom: 10px;
    font-size: 3.5rem;
    border-bottom: solid 1px #3a3a3a;
}


/* footer */
footer {
    padding: 15px 0;
    text-align: center;
    background: #3c4923;
    color: #fff;
}

/*メディアクエリ*/
@media only screen and (max-width: 850px) {
    p {
        font-size: 0.9em;
        line-height: 3rem;
    }

    /* main */
    .top {
        width: 100%;
        margin: 0 auto;
    }

    img {
        width: 100%;
    }

    .sec1,
    .sec2,
    .sec3,
    .sec4,
    .sec5 {
        width: 95%;
        margin: 0 auto;
        overflow: hidden;
    }

    /* header */
    .header_wrap .container {
        display: block;
        text-align: center;
    }

    .menu a {
        font-size: 1.4rem;
    }

    .menu ul {
        justify-content: center;
    }

    .h_logo {
        display: block;
        padding: 50px;
    }

    /* sec2 */
    .sec2 .box {
        display: block;
        max-width: 100%;
        margin: 50px auto;
    }

    .sec2 .box .text-unit {
        width: 100%;
        padding: 0;
    }

    .sec2 .box .img-unit {
        padding: 20px 0;
    }

    .sec2 .box-2 {
        display: block;
        max-width: 100%;
        margin: 50px auto -20px;
    }

    .sec2 .box-2 .img-unit {
        padding: 20px 0;
    }

    .sec2 .box-2 .text-unit {
        width: 100%;
        padding: 0;
    }

    /* text */
    .text {
        padding: 50px 10px;
    }
}

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

    /* main */
    html {
        font-size: 50%;
    }

    p {
        font-size: 1.7rem;
        line-height: 3rem;
    }

    .top {
        margin: -59px auto 0;
    }

    /* 共通 */
    .sec1,
    .sec2,
    .sec3 {
        padding: 10% 0;
    }

    /* header */
    .menu {
        display: none;
        position: absolute;
        top: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.8);
        left: 0;
        z-index: 99;
    }

    .menu a {
        font-size: 2rem;
        padding: 0 20px 20px;
    }

    header nav ul {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        width: 100%;
        margin: auto;
        height: 350px;
        position: absolute;
        top: 0px;
        right: 0px;
        bottom: 0px;
        left: 0px;
    }

    .nav_toggle {
        display: block;
        position: absolute;
        top: 0;
        right: 0;
        width: 3rem;
        height: 2.5rem;
        margin: 10px;
        z-index: 100;
    }

    .nav_toggle i {
        display: block;
        width: 100%;
        height: 1px;
        background-color: #fff;
        position: absolute;
        transition: transform .5s, opacity .5s;
    }

    .nav_toggle i:nth-child(1) {
        top: 0;
    }

    .nav_toggle i:nth-child(2) {
        top: 0;
        bottom: 0;
        margin: auto;
    }

    .nav_toggle i:nth-child(3) {
        bottom: 0;
    }

    .nav_toggle.show i:nth-child(1) {
        transform: translateY(10px) rotate(-45deg);
    }

    .nav_toggle.show i:nth-child(2) {
        opacity: 0;
    }

    .nav_toggle.show i:nth-child(3) {
        transform: translateY(-10px) rotate(45deg);
    }

    /*text*/
    .text h2 {
        font-size: 3rem;
    }

}
