@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Nothing+You+Could+Do&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Georama&display=swap');

/*
'Nothing You Could Do', 'Georama' are licensed under the Open Font License.

'Georama'
https://fonts.google.com/specimen/Georama

'Nothing You Could Do'
https://fonts.google.com/specimen/Nothing+You+Could+Do
*/


/* 基本設定 */
html {
    background: transparent;
    font-size: 62.5%;
}
body {
    min-height: 100vh;
    background: #ffffff;
    color: #1c3e49;
    font-size: 1.3rem;
    font-family: 'メイリオ', '游ゴシック', 'ヒラギノ角ゴ', sans-serif;
    font-weight: normal;
    letter-spacing: 0.2em;
    line-height: 1.8;
}
a {
    text-decoration: none;
}
h3,
h4,
.mainNav,
.backTop {
    font-family: 'Georama', sans-serif;
    font-weight: normal;
}
h2 {
    display: inline-block;
    position: absolute;
     top: 1em;
     left: -1.5em;
    margin-bottom: 20px;
    text-align: left;
    text-shadow: 0 0 5px #fff;
    font-family: 'Nothing You Could Do', cursive;
    font-size: 2.5em;
    letter-spacing: 0;
    text-transform: capitalize;
    transform: rotate(-8deg);
}
h2 > span {
    background: url('../img/design70_texture.jpg') center bottom / 600%;
    -webkit-background-clip: text;
    background-clip: text;
    color: #1c3e4996;
}
h3 {
    margin: 40px 0 20px;
}
h2 + h3 {
    margin-top: 0px;
}
h3::before,
h3::after {
    content: none;
    width: 100%;
    height: 1px;
    background: #4e7785;
}
h3 > span {
    display: inline-block;
    padding: 3px 20px;
    margin: 2px;
    border: #1c3e49 solid 1px;
    box-shadow: 0 0 0 5px #1c3e49;
    outline: #fff solid 4px;
    color: #1c3e49;
}
h4 {
    margin: 20px 5px 10px;
}
h4 > span {
    display: inline-block;
    padding: 3px 8px;
    color: #fff;
    background: center / 180% #4d4d4d;
    background-image: linear-gradient(#717f859c, #717f859c), url('../img/design70_texture.jpg');
}
em {
    background: #cfe8f1;
}
strong {
    border-top: #6da2b4 solid 2px;
    border-bottom: #6da2b4 solid 2px;
    box-sizing: border-box;
}
ul,
ol {
    list-style: none;
}



/* フォーム関連 */
input[type],
textarea {
    box-sizing: border-box;
    font-family: inherit;
    font-size: 95%;
}
.form {
    padding: .3rem;
    border: #8f8f8f solid 1px;
    color: inherit;
}
.button {
    padding: .3rem 1rem;
    margin-right: 1em;
    background: #586264;
    border: none;
    color: #fff;
}

/* メール */
.mailForm {
    width: 100%;
}
.mailForm .form {
    display: block;
    width: 60%;

    margin-bottom: 1rem;
}
textarea.form {
    height: 80px;
}

/* 名前変換 */
.nameChange .form {
    width: 10em;
    margin-right: 1em;
}



/* 段落、余白 */
p {
    padding: 0 1.5em;
}
.box {
    position: relative;
    width: 65%;
    padding: 120px 60px 100px;
    margin: 15vh auto;
    box-sizing: border-box;
}

:root {
    --borderColor: #798a8f;
}
.box::before,
.box::after {
    content: '';
    display: block;
    position: absolute;
    width: 100%;
    height: 50px;
    margin: auto;
    background:
    linear-gradient(90deg, var(--borderColor) 0px, var(--borderColor) 50px,
     transparent 50px, transparent calc(100% - 50px),
      var(--borderColor) calc(100% - 50px), var(--borderColor) 100%)
    center / auto 1px no-repeat;
    border-left: var(--borderColor) solid 1px;
    border-right: var(--borderColor) solid 1px;
    box-sizing: border-box;
}
.box::before {
    top: 0px;
    left: 0px;
    margin-bottom: 10px;
    background-position: top;
}
.box::after {
    bottom: 0px;
    left: 0px;
    background-position: bottom;
}


.pageWrap {
    padding: 15vh 0 10px;
    margin-right: 15%;
}
.pageWrap a {
    color: #6da2b4;
}


.space {
    margin: 2em;
}
.space:last-of-type {
    margin-bottom: 0;
}



/* メインコンテンツ */

/* 長編リスト */
.longList li {
    margin-bottom: 20px;
}
.longList li a {
    display: inline-block;
    position: relative;
    margin-bottom: 10px;
    color: #666666;
}
.longList li a span {
    display: inline-block;
    position: relative;
    padding: 3px 5px;
    background: #ffffffd2;
    border: #6da2b4 solid 1px;
    transition: .1s;
    z-index: 2;
}
.longList li a:hover span {
    background: #fffffffa;
}
.longList a .light {
    background: #ffffff62;
}
.longList a img,
.longList .no_image a::before {
    position: absolute;
     top: 5px;
     left: 5px;
    width: 100%;
    height: 100%;
    object-position: center;
    object-fit: cover;
    z-index: 1;
}
.longList .no_image a::before {
    content: '';
    display: inline-block;
    background: #6da2b4;
}
.longInfo {
    margin: 0 1em 1em;
    color: #8f8f8f;
    font-size: .9em;
}

/* 短編リスト */
.shortList {
    columns: 2;
}
.shortList li {
    margin-bottom: 5px;
}
.shortList li > span {
    margin: 0 0 0 1em;
    color: #8f8f8f;
}
.shortList li > .left {
    margin: 0 1em 0 0;
}

/* new */
.longList .new .longInfo::after,
.shortList .new::after {
    content: 'up';
    display: inline-flex;
     justify-content: center;
     align-items: center;
    padding: 1px 4px;
    margin-left: 5px;
    background: #586264;
    box-sizing: border-box;
    color: #fff;
    font-size: 1rem;
    letter-spacing: 0;
    line-height: 1em;
    vertical-align: 10%;
}



/* ヘッダー */
.mainHeader {
    display: flex;
     flex-direction: column;
     justify-content: center;
     align-items: flex-start;
    position: relative;
    min-height: 100vh;
    padding: 0 5% 10vh;
    margin: 0 auto 10vh;
    box-sizing: border-box;
}
.mainHeader::before {
    content: '';
    display: block;
    position: absolute;
     top: 10%;
     left: 10%;
    width: 60%;
    height: 80%;
    background:  center 63% / cover #66818b;
    background-image: linear-gradient(90deg, #ffffffa1, #ffffff00), url('../img/design70.jpg');
    z-index: -1;
}

.siteNameFrame {
    -webkit-transform: rotate(-6deg);
    transform: rotate(-6deg);
}
.siteName {
    background: url('../img/design70_texture.jpg') center bottom / 600%;
    -webkit-background-clip: text;
    background-clip: text;
    color: #1c3e4996;
    font-family: 'Nothing You Could Do', cursive;
    font-size: 5em;
    font-weight: bolder;
    letter-spacing: 0;
    text-decoration: underline;
    text-shadow: 2px 2px 5px #cacaca;
}
.siteInfo {
    animation: fadeIn 1s;
}
@keyframes fadeIn {
    from {
        opacity: .0;
        transform: translateY(-100px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.siteInfo > span {
    margin-left: 2em;
    background: #fff;
    line-height: 2.3;
}



/* ナビゲーション */
.mainNav {
    display: flex;
     flex-direction: column;
     justify-content: space-between;
    position: absolute;
     top: 0;
     right: 0;
    width: 20%;
    height: 100%;
    padding: 50px 70px 10vh 0;
    background: #ffffff62;
    box-sizing: border-box;
    color: #1c3e49;
    transition: .4s;
}
.mainNav li {
    margin: 5px 0;
    font-size: 1.3em;
}
.mainNav li a {
    display: inline-block;
    transition: .5s;
}
h1 {
    font-size: 2em;
}
.navLower {
    position: absolute;
     bottom: 50px;
     right: 70px;
    transition: .9s;
}
.navLower > span {
    font-size: 90%;
}



/* ナビゲーション */
.mainNavOrigin::before {
    content: '';
    display: block;
    position: absolute;
     top: 8%;
     right: 30px;
    width: 80%;
    height: 30%;
    border-top: #8f8f8f solid 1px;
    border-right: #8f8f8f solid 1px;
}
.mainNavOrigin ul {
    flex-grow: 1;
    display: flex;
     flex-direction: column;
     justify-content: center;
     align-items: flex-end;
    position: relative;
    margin-bottom: 100px;
    text-align: right;
    z-index: 2;
}
.mainNavOrigin li a {
    padding: 2px 5px;
    color: #1c3e49;
}
.mainNav li a:hover {
    opacity: .6;
}


/* ナビゲーション（複製） */
.mainNavClone {
    position: fixed;
     top: 0;
     right: 0;
    width: 15vw;
    height: 100vh;
    padding: 50px 20px 10vh 20px;
    background: center / 800%;
    background-image: linear-gradient(#5b8a9e9c, #5b8a9e9c), url('../img/design70_texture.jpg');
    box-sizing: border-box;
    opacity: .2;
    transform: translateX(100%);
    transition: .8s;
    z-index: 2;
}
.mainNavClone ul {
    display: flex;
     flex-direction: row;
     flex-wrap: wrap;
     align-items: flex-start;
}
.mainNavClone li a {
    padding-inline-start: 5px;
    padding-inline-end: 5px;
    background: #fff;
    color: #1c3e49;
}


/* トップに戻るリンク */
.backTop {
    position: fixed;
     bottom: 20px;
     right: 40px;
    opacity: 0;
    visibility: hidden;
    transition: 1s;
    z-index: 2;
}
.backTop a {
    display: inline-block;
    padding: 5px;
    color: #fff;
}


/* ナビゲーション変化まとめ */
.change .mainNavClone
{   opacity: 1;
    transform: translateX(0);
}
.change .backTop {
    opacity: 1;
    visibility: visible;
}
.change .mainNavOrigin,
.change .navLower {
    opacity: 0;
    visibility: hidden;
}



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



/* レスポンシブ調整用 */
@media (max-width:1400px) {
    h2 {
        top: 1.5em;
        left: -1em;
        font-size: 2em;
    }
    .box {
        width: calc(90% - 4em);
         max-width: 700px;
        padding: 90px 45px;
    }
    .shortList {
        columns: 1;
    }
    .mainNavClone ul {
        flex-direction: row-reverse;
        justify-content: space-around;
    }
    .mainNavClone li {
        width: clac(100% / 3);
        margin: 3px 0;
        writing-mode: vertical-rl;
    }
    .backTop {
        right: 20px;
    }
}


@media (max-width:1000px) {
    body {
        font-size: 1.2rem;
    }
    h2 + h3 {
        margin-top: 40px;
    }
    .box {
        padding: 70px 35px;
    }
    .mainNav {
        padding: 50px 20px 10vh 20px;
    }
    .mainNavOrigin::before {
        content: none;
    }
    .navLower {
        right: 20px;
    }
}


@media (max-width:850px) {
    body {
        font-size: 1.1rem;
    }
    h2 {
        position: static;
    }
    h3 {
        margin-left: 5px;
    }
    h2 + h3 {
        margin-top: 10px;
    }
    p {
        padding: 0 1em;
    }
    .box {
        width: 100%;
        max-width: 600px;
        padding: 60px 30px 90px;
        margin: 30px auto;
    }
    .box::before,
    .box::after {
        width: calc(100% - 40px);
        height: 40px;
    }
    .box::before {
        top: 20px;
        left: 20px;
    }
    .box::after {
        bottom: 20px;
        left: 20px;
    }
    .space {
        margin: 2em 1em;
    }
    .pageWrap {
        padding: 30px 0;
        margin: 0;
    }
    .mainHeader {
        padding: 30px;
    }
    .mainHeader::before {
        top: 10%;
        left: auto;
        right: 10%;
        width: 70%;
        height: 70vh;
    }
    .siteInfo {
        margin: auto 0;
    }
    .siteName {
        font-size: 3em;
    }
    .mainNav {
        position: relative;
        width: 100%;
         max-width: 500px;
        min-height: 40vh;
        
        padding: 5px 20px;
        margin-left: auto;
        background: #ffffffa6;
        text-align: right;
    }
    .mainNav ul {
        margin-bottom: 10px;
    }
    .mainNav li {
        margin: 3px 0;
        font-size: 1em;
    }
    .mainNav li a {
        font-size: 1em;
    }
    .mainNavClone {
        display: none;
    }
    .backTop {
        position: fixed;
         bottom: 20px;
         right: 3%;
        opacity: 0;
        visibility: hidden;
        transition: 1s;
        z-index: 2;
    }
    .backTop a {
        background: #586264;
        color: #fff;
    }
    .change .mainNavOrigin,
    .change .navLower {
        opacity: 1;
        visibility: visible;
    }
    .navLower {
        position: static;
    }
    .hidden {
        align-self: flex-end;
        width: 100%;

    }
}