@charset "UTF-8"

/* 基本色 */
:root {
    --main-color: #5d9ab2;
    --accent-color: #bf6a7a;
    --dark-color: #2b5566;
}

/* 基本設定：　ページ全体 */
body {
    margin: 0;
    font-family: 'メイリオ',
        'Hiragino Kaku Gothic Pro',
        sans-serif;
}

/* メイン：　ヘッダ */
.top {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    min-height: 450px;
    background-image: linear-gradient(rgba(0,0,0,0.1),rgba(0,0,0,0.1)), url(../memoria/img/memoria.jpg);
    background-position: left;
    background-size: cover;
    color: #ffffff;
    text-align: center;
}

.top h1 {
    margin-top: 0;
    margin-bottom: 10px;
    font-family: "Mplus 1p";
    font-weight: 400;
    font-size: 4vw;
    letter-spacing: 0.2em;
    margin-left: 0.2em;
}

.top p {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 14px;
}

.top a {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 30px;
    border: solid 3px currentColor;
    border-radius: 6px;
    background-color: cadetblue;
    color: #ffffff;
    font-size: 14px;
    text-decoration: none;
}

.top a:hover {
    background-image: linear-gradient(
        rgba(255,255,255,0.2),
        rgba(255,255,255,0.2)
        );
}

@media (min-width: 768px) {
    .top h1 {
        font-size: 28px;
    }
}

.title {
    padding-top: 80px;
    padding-bottom: 10px;
    text-align: center;
}


/* メイン：　ヘッダ2 */
.top2 {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    min-height: 450px;
    background-image: linear-gradient(rgba(0,0,0,0.1),rgba(0,0,0,0.1)), url(../memoria/img/memoria2.jpg);
    background-position: left;
    background-size: cover;
    color: #ffffff;
    text-align: center;
}

.top2 h1 {
    margin-top: 0;
    margin-bottom: 10px;
    font-family: "Mplus 1p";
    font-weight: 400;
    font-size: 4vw;
    letter-spacing: 0.2em;
    margin-left: 0.2em;
}

.top2 p {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 14px;
}

.top2 a {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 30px;
    border: solid 3px currentColor;
    border-radius: 6px;
    background-color: cadetblue;
    color: #ffffff;
    font-size: 14px;
    text-decoration: none;
}

.top2 a:hover {
    background-image: linear-gradient(
        rgba(255,255,255,0.2),
        rgba(255,255,255,0.2)
        );
}

@media (min-width: 768px) {
    .top2 h1 {
        font-size: 28px;
    }
}

.title {
    padding-top: 80px;
    padding-bottom: 10px;
    text-align: center;
}


/* chara: 登場人物 */
.chara .container {
    padding-top: 100px;
    padding-bottom: 100px;
}

.chara .text {
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 60px;
    text-align: center;
}

.chara h2 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 16px;
}

.chara p {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.8;
    opacity: 0.8;
}


@media (min-width: 768px) {
    .chara .container {
        display: flex;
        max-width: 800px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .chara .text {
        flex: 1;
    }
}


/* pre: 前日譚　*/
.pre {
    background-color: #5d9ab2;
    color: #ffffff;
}

.pre .container {
    padding-top: 100px;
    padding-bottom: 70px;
}


.pre .text {
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 60px;
    text-align: center;
}

.pre h2 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 16px;
}

.pre p {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.8;
    opacity: 0.8;
}

.pre a {
    color: #5d9ab2;
    text-decoration: none;
}

.pre a:hover {
    text-decoration: underline;
    position: relative;
    top: 3px;
    left: 3px;
}


@media (min-width: 768px) {
    .pre .container {
        display: flex;
        max-width: 1000px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .pre .text {
        flex: 1;
    }
}

/* main: 本編 */
.main .container{
    padding-top: 100px;
    padding-bottom: 100px;
    
}

.main h2 {
    margin-top: 20;
    margin-bottom: 10px;
    font-size: 16px;
}

.main p {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.8;
    opacity: 0.8;    
}

.main a {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 30px;
    box-shadow: 0 0 0 1px #888;
    border: solid 3px currentColor;
    border-radius: 6px;
    background-color: cadetblue;
    color: #ffffff;
    font-size: 14px;
    text-decoration: none;
}

.main a:hover {
    background-image: linear-gradient(
        rgba(255,255,255,0.2),
        rgba(255,255,255,0.2)
        );
}

.main .text {
    padding: 20px;
}

.main .image {
    min-height: 400px;
    background-image: url(../memoria/img/memoria.jpg);
    background-position: center;
    background-size: cover;
}

@media (min-width: 768px) {
    .main .container {
        display: flex;
        max-width: 1000px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .main .image {
        flex: 3;
    }
    
    .main .text {
        flex: 2;
        padding: 50px;
    }
}


/* post: 後日談 */
.post .container {
    padding-top: 100px;
    padding-bottom: 200px;
}

.post {
    background-color: #5d9ab2;
    color: #ffffff;
}

.post h2 {
    margin-top: 30;
    margin-bottom: 20px;
    font-size: 16px;
}

.post a {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 30px;
    border: solid 3px currentColor;
    border-radius: 6px;
    background-color: cadetblue;
    color: #ffffff;
    font-size: 14px;
    text-decoration: none;
}

.post a:hover {
    background-image: linear-gradient(
        rgba(255,255,255,0.2),
        rgba(255,255,255,0.2)
        );
}

.post .text {
    padding: 20px;
    text-align: center;
    font-size: 14px;
}

.post .image {
    min-height: 500px;
    background-image: url(../memoria/img/post.jpg);
    background-position: center;
    background-size: cover;
}

@media (min-width: 768px) {
    .post .container {
        display: flex;
        flex-direction: row-reverse;
        max-width: 1000px;
        margin-left: auto;
        margin-right: auto;
        padding-top: 10px;
        padding-bottom: 10px;
    }
    
    .post .image {
        flex: 0 0 400px;
    }
    
    .post .text {
        flex: 1;
        padding: 50px;
    }
}


/* ヘッダー */
header {
    position: relative;
    top: 0;
    left: 0;
    z-index: 100;
    width: 100%;
    background-color: rgba(255,255,255,0.9);
}

/* ヘッダーA:　サイト名 */
.headA {
    display: inline-block;
    line-height: 55px;
    padding-left: 20px;
    padding-right: 20px;
    background-color: #5d9ab2;
    color: #ffffff;
    font-size: 18px;
    text-decoration: none;
}

/* ヘッダーB: ナビゲーション */
.headB ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.headB a {
    display: block;
    padding: 15px;
    color: inherit;
    font-size: 16px;
    text-decoration: none;
}

.headB a:hover {
    background-color: rgba(0,0,0,0.3);
}

@media (min-width: 768px) {
    header .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        max-width: 1000px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .headB ul {
        display: flex;
    }
}

/* ヘッダーC：　トグルボタン */

/* 小さい画面 */
@media (max-width: 767px) {
    header .container-small {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    
    .headC {
        margin-right: 10px;
        padding: 0;
        border: none;
        outline: none;
        background: none;
        font-size: 28px;
        opacity: 0.5;
        cursor: pointer;
    }
    
    .headC:hover {
        opacity: 0.3;
    }
    
    .headB {
        display: none;
    }
}

/* 大きい画面 */
@media (min-width: 768px) {
    .headC {
        display:none;
    }
    
    .headB {
        display: block !important;
    }
}

.head-fixed {
    position: fixed;
}

/* comic */
@media (max-width: 767px) {
    .comic img {
        width: 90%;
        height: auto;
    }
}