﻿@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Oswald&display=swap');


/* 基本設定 */
:root {
    --mainColor: #000000;
    --fontColor: #00aa00;
    --lightColor: #cfe2eb;
    --darkColor: #0d405e;
}
html {
    background: transparent;
    font-size: 62.5%;
}
body {
    min-height: 100vh;
    background: #fff;
    font-size: 1.3rem;
    font-family: 'メイリオ', 'ヒラギノ角ゴ', sans-serif;
    letter-spacing: 0.2em;
    line-height: 1.8;
}
a {
    text-decoration: none;
}
ul,
ol {
    list-style: none;
}
.mainHeader,
h2,
h3,
h4 {
    font-family: 'Oswald', sans-serif;
}
h2 {
    padding: 5px 0;
    margin: 15px 0 10px;
    font-size: 1.2em;
    font-weight: normal;
    text-align: center;
}
h2::after {
    content: '';
    display: block;
    width: 2px;
    height: 15px;
    margin: 10px auto 10px;
    border-left: var(--fontColor) solid 2px;
    box-sizing: border-box;
}
h2:first-of-type {
    margin-top: 0;
}
h3 {
    display: flex;
     align-items: center;
    margin: 20px 0 15px;
    font-weight: normal;
}
h3 > span {
    display: inline-block;
    padding: 0 10px 0 20px;
    background: var(--fontColor);
    color: #fff;
    line-height: 25px;
}
h3::after {
    content: '';
    display: inline-block;
    width: 25px;
    height: 25px;
    margin-right: 1rem;
    background: linear-gradient(-45deg, #fff0 50%, var(--fontColor) 50%);
}
h4 {
    margin: 10px;
}

em {
    border-bottom: var(--darkColor) dashed 2px;
    font-style: normal;
}
strong {
    color: var(--darkColor);
    background: var(--lightColor);
}

/* 更新履歴 */
.memo{
    background-color:#f4f2e9;
    font-size:80%;
    padding:0px 10px;
    height:50px;
    overflow:auto;
    margin:5px 10px;
    box-shadow:1px 1px 3px -1px #888;
}

/* 段落、余白 */
p {
    padding: 0 2em;
}
.box {
    position: relative;
    padding: 40px 30px 60px;
    margin: 100px 0;
    background: #ffffffc0;
    border-radius: 1px;
    box-sizing: border-box;
}
.box::after {
    content: '';
    display: block;
    position: absolute;
     bottom: 0;
     left: 0;
    width: 100%;
    height: 20px;
    background: url('../img/FES_bg.gif') center / cover var(--lightColor);
}

.space {
    margin: 30px 2em 40px;
}

.pageWrap {
    padding: 10px 0;
    background: center / cover #fff;
    background-image: linear-gradient(170deg, #fff0 60vh, #e4eaec9f 60vh), url('../img/FES_bg.gif');
}
.textWrap {
    min-height: 100vh;
    background-image: linear-gradient(170deg, #e4eaec9f 60vh, #e4eaec9f 60vh), url('../img/FES_bg.gif');
}

.contentsWrap {
    width: 800px;
    margin: auto;
    color: #555b5e;
}
.contentsWrap a {
    color: #6badc7;
}
.contentsWrap a:hover {
    opacity: .6;
}



/* 小説 */
.novel a:visited {
    color: #46788b;
}
.longInfo {
    margin: 0 1em;
    color: #797973;
    font-size: 100%;
}
.new a {
    text-decoration: underline;
}

/* 画像無しリスト */
.longList li {
    margin: 1em 0;
}
.longList li a {
    font-size: 1.2em;
}

/* 画像ありリスト */
.longList2 {
    display: grid;
     grid-template-columns: 1fr 1fr 1fr;
     grid-template-rows: auto;
     gap: 30px;
    width: 90%;
    margin: 30px auto;
}
.longList2 li {
    display: flex;
     flex-direction: column;
     align-items: center;
}
.longList2 li a {
    text-align: center;
}

.longList2 .longImage {
    display: block;
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 1em;
    background: #eee;
    overflow: hidden;
}
.longImage > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.longImage::before,
.longImage::after {
    content: '';
    display: block;
    position: absolute;
    width: calc(100% - 20px);
    height: calc(100% - 20px);
    border: #fff solid 1px;
}
.longImage::before {
    top: 8px;
    left: 8px;
}
.longImage::after {
    top: 12px;
    left: 12px;
}
.light::before,
.light::after {
    border-color: #c0c0c0;
}

/* ↓クラスを付ければ背景色などを個別に変更できます */
.long_2 .longImage {
    background: #eeedeb;
}


/* 短編リスト */
.shortList {
    columns: 2;
}
.shortList li {
    margin-bottom: 5px;
}
.shortList li > span {
    margin-left: 1rem;
    font-size: .9em;
}
.shortList li > .left {
    margin: 0 1rem 0 0;
}


/* 本文ページ */
.text {
    width: 700px;
    margin: 10vh auto;
    font-size: 100%;
    line-height: 200%;
}
.text p {
    text-indent: 1em;
}
.atogaki {
    padding: 1em;
    margin: 20px;
    border: var(--lightColor) solid 1px;
    color: #777;
    font-size: .8em;
}



/* ヘッダー */
.mainHeader {
    display: flex;
     flex-direction: column;
     justify-content: center;
     align-items: center;
    min-height: 100vh;
}
.headerBox {
    display: flex;
    flex-direction: column;
     justify-content: center;
     align-items: center;
    position: relative;
    width: 350px;
    height: 350px;
    padding: 10px;
    margin: 30px 0;
    background: var(--mainColor);
    box-shadow: 0 0 10px #dddddd66;
    box-sizing: border-box;
    color: #fff;
}
.headerBox > * {
    position: relative;
    z-index: 2;
}
.headerBox::before,
.headerBox::after {
    content: '';
    display: block;
    position: absolute;
    width: calc(100% - 50px);
    height: calc(100% - 50px);
    border: #fff solid 1px;
}
.headerBox::before {
    top: 22px;
    left: 22px;
}
.headerBox::after {
    top: 28px;
    left: 28px;
}


.siteTitle {
    position: relative;
    font-size: 2.5em;
    font-weight: normal;
    text-align: center;
    text-transform: uppercase;
    z-index: 2;
}
.siteInfo {
    padding: 10px 0;
    text-align: center;
}
.siteTitle > span,
.siteInfo > span {
    color: var(--darkColor);
}

/* ナビゲーション */
.mainNavWrap {
    position: fixed;
     top: 0;
     left: 0;
    z-index: 3;
    width: 100%;
    transition: .5s;
}
.mainNav {
    display: flex;
     justify-content: flex-end;
    font-family: 'Oswald', sans-serif;
    box-sizing: border-box;
}
.mainNav ul {
    display: flex;
     justify-content: flex-end;
     align-items: center;
    padding: 10px;
}
.mainNav li {
    margin: 0 1em;
}
.mainNav li a {
    padding: 5px;
    color: #3e4346;
    font-size: 1.2em;
}
.mainNav li a:hover {
    color: var(--mainColor);
}

.navInfo {
    padding: 10px 50px 0 100px;
    margin-right: auto;
}
h1 {
    font-size: 2em;
    font-weight: normal;
}
.url {
    color: var(--darkColor);
    font-size: 1rem;
    vertical-align: middle;
}



/* フッター（削除OK※デフォルト非表示） */
.mainFooter {
    margin: 5vh 0;
    color: #666;
    font-size: 75%;
    text-align: center;
    opacity: .5;
}
.mainFooter a {
    color: #89b8cd;
}

/* ギャラリー */
.gallery{
    display:flex;
    flex-wrap:wrap;
    justify-content:space-around;
}
.item2{
    background-color:#fff;
    margin:5px;
    padding:5px;
    font-size:90%;
    text-align:center;
    width:45%;
    border-width:1px;
    border-style:solid;
    border-color:#999;
}



/* PC版非表示用 */
.mobile {
    display: none;
}



/* レスポンシブ調整用 */

@media (max-width:800px) {

    h2 {
        margin-bottom: 0;
    }
    h2::after {
        height: 10px;
        margin-top: 5px;
    }
    h3 {
        margin-left: 5px;
    }
    h3 > span {
        padding-left: 15px;
    }
    .mailForm .enter {
        width: 90%;
        min-width: 100px;
        max-width: 400px;
    }
    .nameChange .enter {
        width: 7em;
    }
    .box {
        padding: 20px 10px 50px;
    }
    .contentsWrap {
        width: 90%;
    }
    .longList2 {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        margin: 30px auto 40px;
    }
    .longList2 li {

        margin-bottom: 20px;
    }
    .shortList {
        columns: 1;
    }
    .mainHeader {
        padding-bottom: 50px;
    }
    .mainNavWrap {
        transform: translateX(-100%);
    }
    .mainNavWrap::after {
        content: '';
        display: block;
        width: 100%;
        height: 100vh;
    }
    .mainNav {
        flex-direction: column-reverse;
        padding: 40px 20px 20px;
        -webkit-backdrop-filter: blur(2px);
        backdrop-filter: blur(2px);
        background: #ffffff77;
    }
    h1 {
        font-size: 1.5em;
    }
    .mainNav ul {
        flex-direction: column;
        align-items: flex-end;
    }
    .mainNav li {
        margin: 1rem 0;
    }
    .navInfo {
        padding: 10px;
    }
    .view {
        transform: translateX(0);
    }
    .navTrigger {
        display: inline-block;
        position: fixed;
        width: 30px;
        height: 10px;
        margin: 20px 10px;
        border-top: var(--darkColor) solid 1px;
        border-bottom: var(--darkColor) solid 1px;
        z-index: 4;
    }
    .headerBox {
        width: 200px;
        height: 200px;
    }
    .headerBox::before,
    .headerBox::after {
        width: calc(100% - 30px);
        height: calc(100% - 30px);
    }
    .headerBox::before {
        top: 13px;
        left: 13px;
    }
    .headerBox::after {
        top: 17px;
        left: 17px;
    }
    .siteTitle {
        font-size: 1.5em;
    }
    .siteInfo {
        font-size: 1rem;
    }
    .mobile {
        display: block;
    }
    .item2{
        width:100%;
    }
}

