@charset "utf-8";

/* reset.css　忘れずに！ */
body,
h1,
p,
a,
ul,
ol,
figure,
figcaption {
    margin: 0;
    padding: 0;
    list-style: none;
}

img {
    vertical-align: bottom;
}

a {
    text-decoration: none;
    color: #fff;
}

body {
    font-family: "Noto Serif JP", serif;
    font-style: normal;
    font-size: 12px;
    background-color: #fffceb;
}

#wrap {
    width: 780px;
    margin-left: auto;
    margin-right: auto;
}

header .PC_nav {
    background-color: #fff;
    padding: 10px 0;
}

header .PC_nav ul {
    display: flex;
    justify-content: center;
}

header .SP_nav {
    display: none;
}

header .btn {
    display: none;
}

main {
    background-color: #fff;
}

main ol {
    display: flex;
    background-color: #522813;
}

main ol li {
    color: #fff;
}

main ol li::after {
    content: "》";
    margin: 0 3px;
}

main ol li:last-child::after {
    content: none;
}

main ol {
    padding: 5px 10px;
}

main section {
    padding: 80px 15px 100px;
}

main h1 {
    border-bottom: 1px solid #1e5114;
    border-left: 6px solid #1e5114;
    text-align: center;
    margin-bottom: 40px;
}

main h1 span {
    border-left: 2px solid #1e5114;
    display: block;
    margin-left: 4px;
    padding: 5px 0;
}

section p {
    width: 650px;
    margin-left: auto;
    margin-right: auto;
    text-indent: 1em;
}

main section p:last-of-type {
    margin-bottom: 80px;
}

main div {
    display: flex;
    justify-content: space-between;
}

figcaption::before {
    content: "■";
    margin: 0 3px;
}

figcaption {
    text-align: right;
}

main div img {
    margin-bottom: 5px;
}

footer {
    background-color: #522813;
    text-align: center;
    background-image: url(../images/sub_logo.png);
    background-repeat: no-repeat;
    height: 150px;
    background-position: center left 10px;
    line-height: 150px;
}

footer small {
    color: #fff;
}

@media (max-width:640px) {
    img {
        width: 100%;
    }

    #wrap {
        width: 100%;
    }

    header .PC_nav {
        display: none;
    }

    header .SP_nav {
        display: block;
        width: 100%;
        height: 100%;
        background-color: #fff;
        position: fixed;
        top: 0;
    }

    header .SP_nav ul {
        width: 90%;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
        margin-top: 100px;
    }

    header .SP_nav ul li {
        height: 80px;
        line-height: 80px;
        border-bottom: 1px dotted #522813;
    }

    main h1 img {
        width: 60%;
    }

    main section {
        padding: 80px 15px 100px;
    }

    section p {
        width: auto;
    }

    main div {
        flex-direction: column;
    }

    header .btn {
        display: block;
        width: 60px;
        height: 60px;
        position: fixed;
        top: 10px;
        right: 10px;
        padding: 5px;
        box-sizing: border-box;
    }

    header .btn span {
        display: block;
        width: 100%;
        height: 3px;
        background-color: #522813;
    }

    header .btn span:nth-child(2) {
        margin-top: 15px;
    }

    header .btn span:nth-child(3) {
        margin-top: 15px;
    }

}