@charset "utf-8";

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

ul,
ol {
    list-style: none;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
}

body {
    color: #182d6c;
    background-image: url(../img/back-canvas.png);
}

/* ここからヘッダー */

header {
    width: 100%;
    height: 86px;
    background-color: rgba(255, 255, 255, 0.8);
    font-family: "Zen Maru Gothic", serif;
    font-weight: 500;
    font-style: normal;
    font-size: 15px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
}

.header-inner {
    max-width: 1100px;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin: 0 auto;
    padding: 30px 50px 0;
}

.header-outer {
    background-image: linear-gradient(to right, #182d6c 6px, transparent 6px);
    background-size: 12px 1px;
    background-repeat: repeat-x;
    background-position: bottom;
    padding: 0 0 12px;
}

.header-logo {
    width: 160px;
}

.header-inner nav ul {
    display: flex;
}

.marginright {
    margin-right: 40px;
}

.header-inner nav ul li a {
    position: relative;
    z-index: 1;
}

.header-inner nav ul li a::after {
    position: absolute;
    content: "";
    display: block;
    height: 24px;
    background-color: #fff9b1;
    bottom: 0.1px;
    left: 0;
    width: 0;
    transition: all 0.2s ease;
    z-index: -1;
}

.header-inner nav ul li a:hover::after {
    width: 100%;
}

.toggle-menu-button {
    display: none;
}

/* ヘッダーここまで */

/* 投稿ページここから */

.post {
    width: 1000px;
    max-width: 90%;
    margin: 0 auto;
    font-family: sans-serif;
}

.oshiraseyohaku {
    height: 160px;
    width: 100%;
}

.post .date {
    font-size: 14px;
    padding-bottom: 10px;
}

.article-ttl {
    font-family: "Zen Maru Gothic", serif;
    font-weight: 500;
    font-style: normal;
    font-size: 25px;
    padding-bottom: 30px;
}

.txt {
    max-width: 700px;
    font-size: 15px;
    line-height: 1.6em;
    /* margin-top: 20px; */
}

.post img {
    margin-bottom: 30px;
}

.nav-single ul {
    font-family: "Zen Maru Gothic", serif;
    font-weight: 500;
    font-style: normal;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    margin: 30px 0 120px;
    max-width: 700px;
    border-top: solid 1px #182d6c44;
    padding-top: 4px;
    /* margin-bottom: 100px; */
}

/* 投稿ページここまで */

/* ここからフッター */

footer {
    height: 264px;
    background-color: #abe4e2;
    padding-top: 10px;
    font-family: "Zen Maru Gothic", serif;
    font-weight: 500;
    font-style: normal;
    font-size: 15px;
    width: 100%;
}

.footer-outer {
    background-image: linear-gradient(to right, #182d6c 6px, transparent 6px);
    background-size: 12px 1px;
    background-repeat: repeat-x;
    background-position: top;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 50px;
    text-align: center;
}

.tegaki {
    width: 290px;
    margin: 0 auto;
    padding-top: 36px;
}

.footer-inner nav ul {
    display: flex;
    justify-content: center;
    align-items: end;
}

.footer-inner nav ul li {
    font-size: 14px;
    padding: 0 22px;
}

.footer-inner nav ul .padding-0 {
    padding: 0 0 0 24px;
}

.insta-logo {
    margin: 0 auto;
}

.footer-address {
    line-height: 1.4em;
    margin: 14px 0 30px;
}

.footer-address span {
    display: inline-block;
}

.copy {
    font-size: 14px;
    margin-top: 28px;
}

footer nav ul li a:hover {
    opacity: 0.5;
}


/* コンテンツが少ない時もフッターを下に固定 */
.footerFixed {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

footer {
    margin-top: auto;
}


@media(max-width: 800px) {

    .header-inner nav ul {
        display: block;
        text-align: center;
    }

    header {
        background-color: #fff;
        height: 56px;
        box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
    }

    .header-inner {
        padding: 10px 20px 0;
        height: 100%;
        position: relative;
    }

    .header-inner nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #ffffffdf;
        padding: 30px 0 64px;
        display: none;
    }

    .h-menu.is-show {
        display: block;
    }

    .marginright {
        margin-right: 0;
    }

    .toggle-menu-button {
        display: block;
        width: 44px;
        height: 34px;
        background-image: url(../img/icon-menu.png);
        background-size: 50%;
        background-position: center;
        background-repeat: no-repeat;
        background-color: transparent;
        border: none;
        cursor: pointer;
    }

    .header-outer {
        background-image: none;
    }

    .header-inner nav ul li {
        font-size: 16px;
        margin-top: 44px;
    }

    .header-logo {
        width: 140px;
    }

    .oshiraseyohaku {
        height: 100px;
        width: 100%;
    }

    /* ここからフッター */

    .footer-inner {
        padding: 0 4%;
    }

    .footer-address {
        margin: 14px 0 16px;
    }

    .tegaki {
        width: 260px;
    }
    
}


@media(max-width: 660px) {

    footer {
        height: 360px;
    }

    .tegaki {
        margin: 0 auto;
        padding-top: 30px;
    }

    .footer-address {
        margin: 10px 0 16px;
    }

    .footer-inner nav ul {
        display: block;
    }

    .footer-inner nav ul .padding-0 {
        padding: 0;
    }

    .footer-inner nav ul li {
        padding: 0 24px 8px;
    }

    .insta-logo {
        margin-top: 10px;
    }

    .copy {
        margin-top: 20px;
    }
    

}