@charset "utf-8";


@import url('https://fonts.googleapis.com/css2?family=Overpass:wght@300..500&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: #f4f4f4;
    color: #000;
    min-height: 100vh;
    font-size: 1.3rem;
    font-family: 'メイリオ', 'ヒラギノ角ゴ', sans-serif;
    letter-spacing: .15em;
    line-height: 1.9;
}
a {
    text-decoration: none;
    color: #ff6993;
}

/* フォント指定まとめて */
h2,
h3,
h4,
.navs,
.mainHeader,
.siteName,
.arch {
    font-family: 'Overpass','メイリオ', 'ヒラギノ角ゴ', sans-serif;
    font-weight: 300;
}



/* 見出し */

h2 {
    display: flex;
     align-items: flex-end;
     gap: 5px;
    position: relative;
     left: -30px;
    margin: 20px 0 10px;
    padding: 10px 0 20px;
    box-sizing: border-box;
    font-size: 1.4em;
    letter-spacing: .2em;
}
h2 > span {
    margin: auto 0 5px;
}
h2::after {
    order: -1;
    content: '';
    display: block;
    position: relative;
    width: 1px;
    height: 80px;
    margin-right: 5px;
    border-left: var(--darkColor) solid 1px;
    box-sizing: border-box;
    transform: translateY(8px) rotate(30deg);
}
.h2-count {
    counter-reset: count;
}
.h2-count h2::before {
    counter-increment: count;
    content: counter(count, decimal-leading-zero);
}
h2 > span,
.h2-count h2::before {
    order: -2;
    margin: 10px 0 auto;
    font-size: 1.2em;
}
.h2-count .h2-plain::before {
    content: none;
}
h3 {
    padding-left: 1rem;
    margin: 20px 0 15px;
    font-size: 1.2em;
}
h2 + h3 {
    margin-top: 0px;
}
h3 > span {
    display: inline-block;
    padding: 0px 10px;
    background: var(--lightColor);
    box-sizing: border-box;
}
h4 {
    margin: 20px 20px 15px;
    font-size: 1.1em;
}
h4::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-right: 1em;
    background: #000;
}
/* 日本語用サイズ調整 */
.ja {
    font-size: 90%;
    line-height: 2.4;
}



/* リスト */

ul,
ol {
    list-style: none;
}

/* 横並び（ブックマーク） */
.list {
    display: flex;
    gap: 15px;
}

/* 項目ごと（SNS） */
.list2 {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto;
    gap: 15px 10px;
}
.list2 dt {
    padding: 0 10px;
    border-right: var(--darkColor) solid 2px;
    text-align: center;
}



/* フォーム系 */

input[type],
textarea {
    -webkit-appearance: none;
    appearance: none;
    border: var(--darkColor) solid 1px;
    border-radius: 0;
    box-sizing: border-box;
    font-family: inherit;
    font-size: inherit;
}
.enter {
    padding: 5px;
}
.button {
    padding: 5px 10px;
    background: var(--lightColor);
}

/* メールフォーム */
.mailForm {
    display: flex;
     flex-direction: column;
    width: 80%;
}
.mailForm .enter {
    margin-bottom: 10px;
}
.mailForm .button {
    margin-right: auto;
}



/* 強調 */

em {
    border-bottom:#ff6993; solid 2px;
    font-style: normal;
}
strong {
    background: #ff6993;
		 color: #FFFFFF;
}



/* 段落、余白 */

p {
    margin: 0 2em;
}
.box {
    position: relative;
    padding: 10px ;
    margin: 50px 0;
}
.space {
    margin: 30px 2em;
}
*[id^="link_"] {
    scroll-margin: 80px;
}
.column-2 {
    columns: 2;
}

.allWrap {
    position: relative;

    margin: 0 0 10vh 250px;
    box-sizing: border-box;
}


.allWrap-novel {
    position: relative;

    margin: 0 0 10vh 250px;
    box-sizing: border-box;
}

.contentsWrap {
    width: 70%;
    min-width: 600px;
    padding: 50px 0;
    margin: auto;
}

.contentsWrap-novel {
    width: 100%;
    min-width: 80px;
    padding: 20px 0;
    margin: auto;
}


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

/* 名前変換フォーム */
.nameChange .enter {
    width: 10em;
}

/* 長編リスト */
.longList {
    display: grid;
     grid-template-columns: 1fr 1fr;
     gap: 20px 50px;
    position: relative;
    height: 100%;

}
.longList li {
    display: flex;
     flex-direction: column;
     gap: 1rem;
    padding: 20px;
    border-left: var(--darkColor) solid 2px;
    box-sizing: border-box;
}
.longList li > img {
    width: 200px;
    height: 40px;
    background: #ff6993;
    object-fit: cover;
    object-position: center;
}
.longInfo {
    color: #777;
    font-size: 1.1rem;
}

/* 短編リスト */
.shortList {
    columns: 1;
}

h4 + .shortList {
    margin-top: 1em;
}
.shortList li {
    margin-bottom: 3px;
}
.shortList li > span {
    margin-left: 1em;
    color: #777;
}
.shortList a:visited {
    color: #ff6993;
}


/* 本文ページ */
.textWrap {
    width: 90%;
    margin: 0 auto 10vh;
    font-size: 1.1em;
    line-height: 2;
}
.textWrap h2 {
    margin-left: 1em;
}
.textWrap p {
    text-indent: 1em;
}
.atogaki {
	width: 75%;
    padding: 40px;
    border-top: var(--darkColor) solid 1px;
    font-size: 1.2rem;
    text-align: left;
}

.novel {
max-width: 80%;
  white-space: pre-wrap;
  line-height: 1.8;
}

@media screen and (max-width: 768px) {
  .novel {
    width: 80% !important;
    box-sizing: border-box;
  }
}
.honbun {
width: 75%;
white-space: pre-wrap;
line-height: 1.8;
font-size: 16px;
font-family: "Noto Serif JP", serif;
letter-spacing: 0.03em;
font-optical-sizing: auto;
  font-weight:400;
  font-style: normal;
}

@media screen and (max-width: 768px) {
  .honbun {
    width: 90% !important;
    box-sizing: border-box;
  }
}

/* 左上のボタン */
.back-to-novel {
  position: fixed;
  top: 90%;
  left: 10%;
  z-index: 9000;
  display: inline-grid;
  place-items: center;

  width: 34px;      /* 初期サイズ */
  height: 34px;
  opacity: 1;       /* 初期透明度 */

  background: #ff6993;
  color: #fff;
  font-family: "Font Awesome 5 Free"; 
  font-weight: 900;
  font-style: normal;
  content: "\f007";

  border-radius: 999px;
  box-shadow: 0 2px 6px rgba(0,0,0,.15);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);

  text-decoration: none;
  outline: none;

  /* ぼわっと変化するアニメーション */
  transition:
    transform .22s cubic-bezier(.2,.8,.2,1),
    box-shadow .22s cubic-bezier(.2,.8,.2,1),
    background-color .25s ease,
    color .25s ease,
    width .3s ease,
    height .3s ease,
    opacity .3s ease;
}


/* ナビゲーション */

.navs {
    position: fixed;
     top: 0;
    z-index: 3;
    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;
}
.sideNav::before {
    content: '';
    display: block;
    position: absolute;
     top: 0;
     left: 1px;
    width: 2px;
    height: 100%;
    border-left: #ccc solid 3px;
}
.sideNav li > a {
    display: flex;
     align-items: center;
     gap: 10px;
    position: relative;
    max-width: 150px;
    color: #474747;
    transition: .3s;
    word-break: break-all;
    z-index: 2;
	font-size:12px;
}
.sideNav li > .js_active {
    position: absolute;
     left: -1px;
}
.sideNav li > a::before {
    flex-shrink: 0;
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #000;
}
.sideNav li .active {
    color: #ff6993;
}

/* メインナビ（ページ外リンク） */
.mainNav {
    display: flex;
     align-items: center;
     gap: 0 20px;
    position: relative;
    width: 100vw;
    height: 60px;
    padding: 10px 0 10px 300px;
    background: #CDCDCD;
    box-sizing: border-box;
    z-index: 2;
}
.mainNav li {
    font-size: 10.5em;

}
.mainNav li a {
    display: inline-block;
    position: relative;
    padding: 3px 50px;
    color: var(--darkColor);
    font-weight: 50;
	color:#444444;
	font-size:18px;
}



/* ヘッダー */

.mainHeader {
    display: flex;
     justify-content: center;
     align-items: center;
     gap: 30px;
    min-height: 100vh;
    margin-right: 50px;
    box-sizing: border-box;
}
.mainHeader::after {
    flex-basis: 400px;
    content: '';
    display: block;
    width: 400px;
    height: 400px;
    margin-left: 50px;
    background: url('../img/index.png') center / contain no-repeat;
}

/* 波状文字 */
.wave {
    align-self: flex-start;
    width: 250px;
    text-align: center;
    font-size: 2.5em;
    text-transform: uppercase;
	color:#ff6993;
	    font-weight: 500;
}

.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;
}

.ageHeader button {
    background-color: #ff6993;  /* メインカラー */
    color: #fff;                /* 文字色 */
    border: none;               /* 枠なし */
    border-radius: 12px;        /* 角丸 */
    padding: 12px 30px;         /* ボタンサイズ */
    font-size: 1.2rem;          /* 少し大きめ文字 */
    cursor: pointer;            /* ホバー時に指マーク */
    box-shadow: 0 4px 8px rgba(0,0,0,0.2); /* 軽い影 */
    transition: all 0.3s ease;  /* ホバー時アニメーション */
    margin: 20px 10px 0 20px;;             /* ボタン間の余白 */
}

.ageHeader button:hover {
    background-color: #ff85a5;  /* ホバーで少し明るく */
    transform: translateY(-2px); /* 浮いた感じ */
    box-shadow: 0 6px 12px rgba(0,0,0,0.25);
}


/* フッター（削除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: #fff;
        font-size: 1.2rem;
    }
    h2 {
        left: 0;  
        font-size: 1.2em;
    }
    h2::after {
        height: 50px;
    }

    *[id^="link_"] {
        scroll-margin: 40px;
    }
    .box {
        padding: 0;
    }
    .allWrap {
        width: 90%;
         min-width: 200px;
         max-width: 500px;
        margin: auto;
    }
	
    .allWrap-novel {
        width: 100%;
         min-width: 200px;
         max-width: 500px;
        margin: auto;
    }
    .contentsWrap {
        width: 100%;
        min-width: 200px;
        padding: 10px 0;
    }

    .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: #ff6993;
        transform: translateX(-100%);
        transition: .5s;
		opacity: 0.9;
    }
    .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;
        z-index: 3;
    }
    .sideNav::before {
        right: 0%;
        margin-left: auto;
    }
    .sideNav li a {
		color: #FFFFFF;
		font-size:16px;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0 3px 15px 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: #0000;
		line-height: 0;
    }

    .mainNav li {
        margin-bottom: 1em;
    }
    .mainNav li a{
        color: #FFFFFF;
		font-weight: 700;
	    font-size: 24px;
    }
    .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;
    }
}



.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.gallery li img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    cursor: pointer;
}

.gallery li img:hover {
    opacity: 0.8;
	
}

.gallery li img.blur {
    filter: blur(5px);
    transition: all 0.3s ease;
}

.gallery li img.blur:hover {
    opacity: 0.8;
}


/* モーダルは longList と共通で使える */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.7);
    backdrop-filter: blur(5px);
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 80%;
    max-height: 80%;
    border-radius: 12px;
}

.close {
    position: absolute;
    top: 30px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}
