@charset "utf-8";


/*@import url('https://fonts.googleapis.com/css2?family=Overpass:wght@300..500&display=swap');*/
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Noto+Sans+JP&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP&display=swap');

/* フォントのライセンス表記 */
/*
'Overpass' is licensed under the Open Font License.
https://fonts.google.com/specimen/Overpass
*/


/* 基本設定 */

:root {
    --lightColor: #e8edee;
    --darkColor: #314657;
}
html {
    background: transparent;
    font-size: 62.5%;
}
body {
    background: #e1e5ec;
    color: #514d3a;
    min-height: 100vh;
    font-size: 1.3rem;
    letter-spacing: .15em;
    line-height: 1.9;
    /*font-family: 'Overpass', 'YuGothic', '游ゴシック', 'メイリオ', 'ヒラギノ角ゴ', sans-serif;*/
    font-family:"Montserrat","Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}
a {
    text-decoration: none;
    color: #351939;
}

/* フォント指定まとめて */
h2,
h3,
h4,
.navs,
.mainHeader,
.siteName,
.arch {
    font-family: 'Overpass', 'YuGothic', '游ゴシック', 'メイリオ', 'ヒラギノ角ゴ', sans-serif;
    font-weight: 300;
}

/* 見出し */

h2 {
    display: flex;
     align-items: flex-end;
     gap: 5px;
    position: relative;
     left: -30px;
    margin: 20px 0 20px;
    padding: 10px 0 15px;
    padding-left: 2em;
    box-sizing: border-box;
    font-size: 1.2em;
    letter-spacing: .2em;
    background-color: #351939;
    border-radius:40px;
    color: #d1edcd;
    font-weight: 500;
}
h2 > span {
    margin: auto 0 5px;
}

h3 {
    padding-left: -1rem;
    margin: 20px 0 20px;
    font-size: 1em;
}
h2 + h3 {
    margin-top: 0px;
}
h3 > span {
    display: inline-block;
    padding: 5px 10px;
    color:#351939;
    background: #babfd2;
    box-sizing: border-box;
    border-radius:20px;
}
h4 {
    margin: 20px 20px 15px;
    font-size: 1.1em;
}
h4::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-right: 1em;
    background: #5b521e;
}
/* 日本語用サイズ調整 */
.ja {
    font-size: 90%;
    line-height: 2.4;
}



/* リスト */
ul,
ol {
    list-style: none;
}

/* 横並び（ブックマーク） */
.list {
    list-style: circle;
    padding-left: 1em;
}

/* 強調 */
em {
    border-bottom: #babfd2 solid 2px;
    font-style: normal;
}
strong {
    background: #def3db;
}


/* 段落、余白 */

p {
    margin: 0 2em;
}
span{
    color: #e1e5ec;
}

.box {
    position: relative;
    padding: 10px ;
    margin: 50px 0;
}
.box-2 {
    display: block;
    position: relative;
    box-sizing: border-box;
    border-radius: 30px;
    background-color: #fafafa;
    border: 1px solid #dadada;
    padding: 20px;
    padding-left: 3em;
    margin: none;
    margin-right: 5em;
}
.box-2 p {
    color: #969591;
    padding-left: 1em;
    text-indent: -1em;
}

.accordion-006 {
    display: block;
    position: relative;
    box-sizing: border-box;
    border-radius: 30px;
    background-color: #fafafa;
    border: 1px solid #dadada;
    padding: 20px;
    padding-left: 3em;
    margin: none;
    margin-right: 5em;
}

.accordion-006 summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    cursor: pointer;
    font-weight: 600;
}

.accordion-006 summary::-webkit-details-marker {
    display: none;
}

.accordion-006 summary::after {
    transform: translateY(-25%) rotate(45deg);
    width: 7px;
    height: 7px;
    margin-left: 10px;
    border-bottom: 3px solid #c2c2c2;
    border-right: 3px solid #c2c2c2;
    content: '';
    transition: transform .3s;
}

.accordion-006[open] summary::after {
    transform: rotate(225deg);
}

.accordion-006 p {
    color: #969591;
    padding-left: 1em;
    text-indent: -1em;
}

.accordion-006[open] p {
    transform: none;
    opacity: 1;
}



.space {
    margin: 20px 1em;
}
*[id^="link_"] {
    scroll-margin: 80px;
}
.column-2 {
    columns: 2;
}

.allWrap {
    position: relative;
    margin: 0 0 10vh 250px;
    box-sizing: border-box;
}
.contentsWrap {
    width: 55%;
     min-width: 600px;
    padding: 50px 0;
    margin: auto;
}



/* メインコンテンツ */

/*フロントページ*/
.front {
    text-align:left;
    width:500px; /*幅の指定*/
    position:  relative; 
     top: 70px; 
    background-color: #351939;
    border-radius:40px;
    color: #d1edcd;
    margin-right: auto;
    margin-left: auto;
    padding: 40px;
    box-sizing: border-box;
}
.front p {
    margin: 0; 
    padding: 0;
}

.box p {
    margin:0;
    padding:0;
}


/* 長編リスト */
.longList {
    display: grid;
     grid-template-columns: 1fr 1fr;
     gap: 20px 20px;
    position: relative;
    height: 100%;
}
.longList li {
    display: flex;
     flex-direction: column;
     gap: 1rem;
    padding: 20px;
    background-color: #e1e5ec;
    border: solid 3px #351939;
    border-radius:30px;
}
.longList li > img {
    width: 200px;
    height: 40px;
    background: #ead47e;
    object-fit: cover;
    object-position: center;
}
.longInfo {
    color: #969591;
    font-size: 1.1rem;
}
.longList a:visited { /* クリック済み */
    color: #351939;
}

.sample1 .sample_list {
    display: flex;
}
.sample1 .sample_list dt,
.sample1 .sample_list dd {
    padding: 2px; /* dtとdd間のスペース */
}

dl {
  display: flex;
  flex-wrap: wrap;
  text-align: left;
  margin:0;
  margin-bottom: 20px ;
}

dl dt {
	/*左に寄せる*/
	float: left ;
	/*後続の左寄せを解除*/
	clear: left ;
	padding-right: 20px ;
	width: 120px ;
}
dl dd {
	float: left ;
    width: 70%;
    padding-left: 20px ;
    color: #969591;
}


/* 短編リスト */
.shortList {
    columns: 1;
    list-style: none;
}

h4 + .shortList {
    margin-top: 0.5em;
}
.shortList li {
    margin-bottom: 1.5em;
}
.shortList li > span {
    color: #969591;
    padding-left: 1em;
    display: flex;
    flex-wrap: wrap;
}
.shortList a:visited { /* クリック済み */
    color: #351939;
}

/* ナビゲーション */

.navs {
    position: fixed;
     top: 0;
    z-index: 3;
    font-weight: 400;
    /* backdrop-filter: blur(2px); */
}
.navTrigger {
    display: none;
}

/* サイドナビ（小説目次リンク） */
.sideNav {
    position: fixed;
     top: calc(5vh + 60px);
     left: 100px;
    min-width: 150px;
    height: calc(90vh - 60px);
    transition: .5s;
    font-weight: 400;
}
.sideNav::before { /* 縦線 */
    content: '';
    display: block;
    position: absolute;
     top: 0;
     left: 0;
    width: 10px;
    height: 100%;
    border-left: #351939 solid 5px;
}
.sideNav li > a { /* タイトル */
    display: flex;
     align-items: center;
     gap: 10px;
    position: relative;
    max-width: 150px;
    color: #969591;
    transition: .3s;
    word-break: break-all;
    z-index: 2;
}
.sideNav li > .js_active {
    position: absolute;
     left: -0.5px;
}
.sideNav li > a::before { /* 点 */
    flex-shrink: 0;
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #d1edcd;
}
.sideNav li .active {
    color: #351939;
}

/* メインナビ（ページ外リンク） */
.mainNav {
    display: flex;
     align-items: center;
     gap: 0 20px;
    position: relative;
    width: 100vw;
    height: 60px;
    padding: 10px 0 10px 300px;
    background: #babfd2;
    box-sizing: border-box;
    z-index: 2;
}
.mainNav li {
    font-size: 1.1em;
}
.mainNav li a {
    display: inline-block;
    position: relative;
    padding: 3px 5px;
    color: #351939;
    
}

/* インデックスナビ（ページ内リンク） */
.indexNav {
    position:  relative; 
     left:  50px;
     top: 70px;   
    width: 13%;
    height: auto;
    text-align: center;
    padding: 60px 30px;
    background-color: #351939;/* 横メニューの背景色 */
    border-radius:40px;
}

.indexNav li{
    display: block;
    text-align: center;
    padding: 10px 0px;
    transition: 0.2s;
}

.indexNav li a{ /* フォント色 */
    font-size: 15px;
    color: #d1edcd;
    border-bottom: none;
    letter-spacing: 0.2em;
}

.indexNav li a:hover{ /* カーソル時のグレーアウト */
    opacity: 0.5;
}

/* ヘッダー */

.mainHeader {
    display: flex;
     justify-content: center;
     align-items: center;
     gap: 30px;
    min-height: 100vh;
    margin-right: 50px;
    box-sizing: border-box;
}

.headerInfo {
    display: flex;
     flex-direction: column;
     justify-content: center;
     align-items: flex-end;
     gap: 50px 0;
    height: 100vh;
    padding: 10vh 0 100px;
    box-sizing: border-box;
    text-align: right;
}
.siteName h1 {
    font-size: 1.8em;
    font-weight: normal;
}
.url {
    font-size: 1.1rem;
}



/* フッター（削除OK※デフォルト非表示） */

.mainFooter {
    display: none;
    margin: 15vh 0 10vh;
    font-size: 1rem;
    text-align: center;
    opacity: .4;
}
.mainFooter a {
    color: #baa387;
}


/* レスポンシブ調整用 */
@media(max-width:850px) {
    body {
        background: #e1e5ec;
        font-size: 1.2rem;
        
    }
    h2 {
        left: 0;  
        font-size: 1.2em;
    }
    h2::after {
        height: 50px;
    }

    *[id^="link_"] {
        scroll-margin: 40px;
    }
    .box {
        padding: 0;
    }
    .box-2 {
        margin: 10px 10px 0px 10px;
    }
    
    .accordion-006 {
        margin: 10px 10px 0px 10px;
    }

    .allWrap {
        width: 80%;
         min-width: 200px;
         max-width: 500px;
        margin: auto;
    }
    .contentsWrap {
        width: 100%;
        min-width: 200px;
        padding: 10px 0px;
    }

    .front {
        width: 80%;
        margin: auto;
        padding: 40px;
        font-size: 1rem;
        box-sizing: border-box;
    }

    .nameChange .enter {
        width: 7em;
    }
    .longList {
        display: block;
    }
    .longList li {
        padding: 10px 20px;
        margin-bottom: 20px;
    }
    .shortList {
        columns: 1;
    }
    .textWrap {
        font-size: 1em;
    }


    .navWrap {
        display: flex;
         justify-content: space-evenly;
        width: 80vw;
         max-width: 400px;
        height: 100vh;
    }
    .navTrigger {
        display: block;
        position: absolute;
         top: 0;
         left: 100%;

    }
    .view .navTrigger {
        width: calc(100vw - 250px);
        height: 100vh;
    }
    .navTrigger::before {
        content: 'menu';
        display: inline-block;
        height: 40px;
        padding: 0 10px;
        backdrop-filter: blur(2px);
        background: #fffb;
        line-height: 40px;
        text-transform: uppercase;
    }
    .view .navTrigger::before {
        content: 'close';
        color: #777
    }
    .navs {
        background: #fffb;
        transform: translateX(-100%);
        transition: .5s;
    }
    .view.navs {
        transform: translateX(0);
    }

    /* サイドナビ（小説目次リンク） */
    .sideNav {
        display: flex;
         flex-direction: column;
         align-items: center;
        position: relative;
        top: 10vh;
        left: auto;
        right: 20px;
        width: 40%;
         min-width: 130px;
        font-size: 1rem;
        font-weight: 600;
        z-index: 3;
    }
    .sideNav::before {
        right: -20%;
        margin-left: auto;
    }
    .sideNav li a {
        display: flex;
         flex-direction: column;
         align-items: center;
        padding: 0 3px 0 10px;
        box-sizing: border-box;
    }
    .sideNav li a::before {
        content: none;
    }
    .sideNav li > .js_active {
        position: absolute;
        left: auto;
        right: 5px;
    }

    /* メインナビ（ページ外リンク） */
    .mainNav {
        display: block;
        position: static;
        width: auto;
        height: 90%;
        padding: 10px;
        margin: 10% 0;
        background: #5b521e;
    }
    .mainNav li {
        margin-bottom: 1em;
    }
    
    /* インデックスナビ（ページ内リンク） */
    .indexNav {
        display: block;
        position: static;
        width: 30%;
        height: 40%;
        padding: 30px;
        margin: 10% 0;
        background: #351939;
    }
    .indexNav li {
        display: block;
        text-align: center;
        padding: 10px 0px;
    }
    .indexNav li a{ /* フォント色 */
        font-size: 10px;
        color: #d1edcd;
        border-bottom: none;
        letter-spacing: 0.3em;
    }
    
    .mainHeader {
        flex-direction: column;
        margin: 0;
    }
    .mainHeader::after {
        order: -1;
        flex-basis: auto;
        width: 200px;
        height: 200px;
        margin: 0 auto;
    }
    .wave {
        width: 200px;
    }
    .headerInfo {
        gap: 0;
        height: auto;
        padding: 0;
    }

    .mainFooter {
        margin: 50px auto;
    }

}
