@charset "utf-8";

@import url('https://fonts.googleapis.com/css2?family=Montserrat&display=swap');
/*
'Montserrat' is licensed under the Open Font License.
https://fonts.google.com/specimen/Montserrat
*/


/* 基本設定 */
:root {
    --mainColor: #cdedee;
}
html {
    background: transparent;
    font-size: 62.5%;
}
body {
    min-height: 100vh;
    color: #253333;
    font-size: 1.2rem;
    font-family: 'メイリオ', 'ヒラギノ角ゴ', sans-serif;
    letter-spacing: 0em;
    line-height: 1.8;
}
a {
    text-decoration: none;
}

/* フォント指定まとめて */
h2,
h3,
h4,
.time,
.tsuiki,
.mainNav,
.backTop {
    font-family: 'Montserrat', sans-serif;
    font-weight: normal;
}

h2 {
    display: flex;
     flex-direction: column;
     align-items: center;
    margin: 0 0 40px;
    font-size: 1.2em;
    text-align: center;
    text-transform: uppercase;
}
h2::before {
    content: '';
    display: block;
    width: 100px;
    height: 6px;
    margin-bottom: 15px;
    border-top: var(--mainColor) solid 6px;
    box-sizing: border-box;
}
h3 {
    margin: 20px 0 10px;
}
h3 > span {
    display: inline-block;
    padding: 2px 10px;
    background: #faf9f6;
}
h4 {
    margin: 10px 5px 8px;
    color: #756f63;
}
em {
    text-decoration: underline;
}
strong {
    font-weight: bolder;
    background: var(--mainColor);
}
ul,
ol {
    list-style: none;
}


/* フォーム関連 */
input[type],
textarea {
    background: #fff;
    border: #777 solid 1px;
    border-radius: 0;
    box-sizing: border-box;
    font-family: inherit;
    font-size: 90%;
    letter-spacing: .1em;
}
.mailForm .enter {
    padding: 2px;
    margin-bottom: 3px;
    width: 80%;
}
.mailForm .button {
    padding: 2px 5px;
}

.nameChange {
    padding-bottom: 2em;
}
.nameChange .enter {
    width: 10em;
}


/* 段落、余白 */
p {
    padding: 0 1em;
}
.box {
    margin: 15vh 0 25vh;
}
.box:last-of-type {
    margin-bottom: 10vh;
}
.space {
    margin: 1em;
}
.mainWrap {
    padding: 10px 0;
    margin: 5vh auto 10vh 35%;
    width: 55%;
     max-width: 900px;
}
.mainWrap a {
    color: #109196;
    transition: .1s;
}
a:hover {
    opacity: .6;
}


/* カラム指定 */
.columns-2 {
    columns: 2;
    column-gap: 30px;
}
.no-brake {
    break-inside: avoid;
    page-break-inside: avoid;
}

/* ボーダー装飾 */
.borderFrame::before,
.borderFrame::after {
    content: '';
    display: block;
    width: 100%;
    height: 6px;
    margin: 30px auto;
}
.borderFrame::before {
    border-top: var(--mainColor) solid 10px;
    border-bottom: #d9f2f2 solid 3px;  
}
.borderFrame::after {
    border-top: #d9f2f2 solid 3px;
    border-bottom: var(--mainColor) solid 10px;
}

/* スラッシュ付きリスト */
.slashList {
    display: flex;
     flex-wrap: wrap;
}
.slashList li::before {
    content: '/';
    display: inline-block;
    margin: 0 7px;
    color: #777;
}
.slashList li:first-of-type::before {
    content: none;
}


/* ログページ */
.logWrap {
    display: grid;
     grid-template-columns: 1fr 1fr;
     grid-template-rows: auto;
     gap: 30px 50px;
}
.logWrap h2 {
    grid-column: 1 / 3;
}
.logWrap h4 {
    margin: 0 5px;
    text-align: center;
}
.logWrap h4::after {
    content: '';
    display: block;
    width: 1.5rem;
    height: 3px;
    margin: 3px auto;
    border-top: var(--mainColor) solid 3px;
    border-bottom: var(--mainColor) solid 3px;
}
.logWrap article {
    padding: 20px 10px 10px;
    box-sizing: border-box;
}
.time {
    margin: 5px 0 5px;
    font-size: 1rem;
    text-align: center;
}
.logText {
    padding: 15px 10px 20px;
    margin-top: 10px;
    background: #faf9f6;
}
.tsuiki {
    margin: 5px 0;
    text-align: center;
}
.tsuiki a {
    cursor: pointer;
}

/* 追記開閉 */
.hidden {
    display: none;
}
.active + .hidden {
    display: block;
}

/* ログページナビゲーション */
.logNav ul {
    display: flex;
     justify-content: center;
     gap: 0 20px;
}


/* メインコンテンツ */
.contentsList a:visited {
    color: #7ecbd2;
}
.contentsList ul {
    margin-bottom: 2em;
}
.contentsList li {
    margin: 5px 0;
}
.caution::after {
    content: '*';
    color: #e26060;
}
.long {
    padding-bottom: .5em;
}
.long > img {
    width: 200px;
    height: 40px;
    object-fit: cover;
    object-position: center;
}
.long > span {
    color: #555555;
    font-size: 1rem;
}


/* 本文ページ */
.textWrap {
    width: 600px;
    padding: 30px;
    margin: 3vh auto;
    font-size: 1.5rem;
    letter-spacing: .1em;
    line-height: 200%;
}
.textWrap::before,
.textWrap::after {
    width: 100%;
    margin: 50px 0;
}
.textWrap h2::before {
    content: none;
}
.textWrap p {
    text-indent: 1em;
}
.atogaki {
    padding: 20px;
    margin-top: 30px;
    font-size: 1.2rem;
    text-align: center;
}


/* メインヘッダー */
.mainHeader {
    display: flex;
     flex-direction: column;
     justify-content: center;
     align-items: center;
    position: fixed;
     top: 0;
     left: 0;
    width: 25%;
     min-width: 350px;
    height: 100vh;
    padding: 10vh 0 10vh 60px;
    box-sizing: border-box;
    text-align: center;
}
.mainHeader::before,
.mainHeader::after {
    width: 90%;
}
.mainHeader::before {
    margin: 0 0 auto;
}
.mainHeader::after {
    margin: auto 0 0;
}

.siteName {
    display: inline-block;
    padding: 0 10px;
    margin-bottom: 15px;
    font-size: 1.5em;
    font-weight: normal;
}

/* ナビゲーション */
.mainNav {
    width: 95%;
}
.mainNav li {
    margin: 5px 0;
}
.mainNav li a {
    font-size: 1.1em;
    color: #555;
    transition: .2s;
}
.url {
    font-size: 1rem;
}
.mainImage {
    display: block;
    width: 200px;
    height: 40px;
    margin: 30px 0;
    background: #ccc;
}
.mainImage > img {
    width: 100%;
}
.mainImage::before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background: url('../img/design76_banner.png') center / contain no-repeat var(--mainColor);
}


/* トップに戻るリンク */
.backTop {
    position: relative;
    text-align: right;
}
.backTop a {
    display: inline-block;
    position: fixed;
     bottom: 5vh;
    width: 45px;
    height: 45px;
    background: var(--mainColor);
    color: #253333;
    font-size: 1rem;
    line-height: 45px;
    text-align: center;
}


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


/* レスポンシブ調整用 */
@media (max-width:1100px) {
    .box {
        margin: 50px 0 100px;
    }
    .columns-2 {
        columns: unset;
    }
    .mainWrap {
        min-width: 500px;
        margin: 0 auto 50px;
    }
    .logWrap {
        display: block;
    }
    .logWrap article {
        margin: 20px 0;
    }
    .textWrap {
        width: 90%;
         max-width: 500px;
        padding: 0;
        box-sizing: border-box;
        font-size: 1.3rem;
    }
    .mainHeader {
        position: static;
        width: 90%;
         max-width: 500px;
         min-width: 200px;
        height: auto;
        padding: 0;
        margin: 30px auto;
    }
    .mainHeader::before,
    .mainHeader::after {
        height: 6px;
        margin: 40px 0;
    }
    .mainNav ul {
        display: flex;
         flex-wrap: wrap;
         justify-content: center;
    }
    .mainNav li {
        margin: 0 5px;
    }
    .mainNav li a {
        font-size: 1em;
    }
    .point {
        margin: 20px 0;
    }
    .backTop a {
        bottom: 10px;
        right: 10px;
    }
    .mainFooter {
        margin-top: 30px;
    }
    .mobileHidden {
        display: none;
    }
}


@media (max-width:900px) {
    body {
        font-size: 1.2rem;
    }
    h2 {
        margin-bottom: 20px;
    }
    h2::before {
        margin-bottom: 10px;
    }
    .nameChange .enter {
        width: 8em;
    }
    .mainWrap {
        width: 90%;
         max-width: 500px;
         min-width: 150px;
    }
    .backTop a {
        transform: scale(.8);
    }
}


