/* リセットCSS */
@import url('reset.css');

/* GoogleFonts */
@import url('https://fonts.googleapis.com/css2?family=Exo:ital,wght@0,100..900;1,100..900&family=Noto+Sans+JP:wght@100..900&family=Noto+Serif+JP:wght@200..900&family=Orbitron:wght@400..900&display=swap');

/* Font Awesome */
@import url('https://use.fontawesome.com/releases/v7.3.0/css/all.css');

/* 全体 */
body {
    color: #000000;
    background: #FFFFFF;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 14px;
}
body::-webkit-scrollbar {
    width: 10px;
}
body::-webkit-scrollbar-track {
    background: #FFFFFF;
}
body::-webkit-scrollbar-thumb {
    background: #FFFFFF;
    border-radius:10px;
    box-shadow: inset 0px 0px 0px 1px #000000;
}
p, li {
    line-height: 1.5;
}
img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}
a {
    color: #000000;
}
a:hover {
    color: #F5C400;
}

/* 戻るボタン */
.back_button {
    font-family: "Orbitron", sans-serif;
    font-size: 16px;
    text-align: center;
    width: 60px;
    height: 60px;
    border-radius: 20%;
    background: #FFD54A;
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 2;
    opacity: 0; /* 非表示 */
    transform: translateY(20px);
    transition: all .5s ease;
}
.back_button a {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #FFFFFF;
    width: 100%;
    height: 100%;
    text-decoration: none;
    transition: all .5s ease;
}
.back_button a:hover {
    opacity: .7;
}
.back_button.is-show {
    opacity: 1; /* 表示 */
    transform: translateY(0);
}

/* 共通見出し */
h2 {
    font-size: 20px;
    font-weight: normal;
    font-family: "Exo", sans-serif;
    text-decoration: underline 1px;
}
h2:first-letter {
    color: #F5C400;
}

/* 共通パーツ */
.top_content {
    padding: 0 15%;
}
.main_content {
    padding-top: 30px;
}
.text { /* 小説ページのみ使用 */
    line-height: 1.5;
}
.main_content_end {
    padding: 30px 0;
}
.main_text {
    padding-top: 10px;
}
mark {
    font-style:normal;
    font-weight: normal;
}
.line_1 {
    background: linear-gradient(transparent 70%, #FFD54A 0%);
}
.line_2 {
    background: linear-gradient(transparent 70%, #E6E6E6 0%);
}
.line_u { /* BW(裏)のみ使用 */
    color: #FFFFFF;
}
.checklist {
    list-style: none;
    position: relative;
    padding-top: 20px;
}
.checklist li {
    padding-left: 20px;
}
.checklist li::before {
    position: absolute;
    left: 0;
    font-family: "FontAwesome";
    font-weight: 900;
    content: '\f00c';
    color: #FF0000;
}
.normal_list { /* 斜線横並びリスト */
    list-style: none;
    display: flex;
    flex-wrap: wrap;
}
.normal_list li::after {
    color: #000000;
    content: "/";
    margin: 0 5px;
}
.normal_list li:last-child::after {
    content: "";
}
.normal_list2 { /* 横並びリスト(マークなし) */
    list-style: none;
    display: flex;
}
.normal_list2 li {
    padding-left: 10px;
}
.normal_list2 li:first-child {
    padding-left: 0;
}
.normal_list3 { /* 縦並びリスト */
    list-style: none;
}
.back_page {
    text-align: center;
    padding: 30px 0;
}
.back_link {
    display: inline-block;
    width: 25%;
    border: 1px solid #000000;
}
.back_link a {
    display: block;
    text-decoration:none;
    padding: 10px;
}
.back_link a:hover {
    background: #FFD54A;
    color: #000000;
    transition: background 1s;
}
.attention {
    color: #000000;
    background: #E6E6E6;
    border: 1px solid #999999;
    border-radius: 10px;
    padding: 20px;
    margin-top: 30px;
    margin-bottom: 10%;
}
.end_word {
    position: relative;
    border: 5px solid #E6E6E6;
    z-index: 0;
    padding: 20px;
    margin-top: 30px;
}
.end_word::before {
    content: '';
    display: block;
    position: absolute;
    top: -5px;
    left: -5px;
    width: 5px;
    height: 5px;
    background-color: #FFD54A;
    z-index: 1;
}

/* パンくず */
.pankuzu ul {
    font-size: 12px;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    padding-top: 10px;
}
.pankuzu ul li::after {
    content: ">";
    margin: 0 5px;
}
.pankuzu ul li:last-child::after {
    content: "";
}

/* Index */
.index {
    overflow: auto;
}
.site_name {
    color: #FFFFFF;
    background: #000000;
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}
h1 {
    font-family: "Exo", sans-serif;
    font-size: 30px;
    font-weight: normal;
    padding: 30px;
}
.index_size, .iframe_box { /* Index & Enter共通 */
    flex: 1 1 auto;
    min-height: 0;
}
.index_text {
    padding: 30px 0;
}

/* Enter */
.fullbox {
    height: 100dvh;
    display: flex;
    flex-direction: column;
}
.site_name h1 a {
    text-decoration: none;
}
.site_name a {
    color: #FFFFFF;
}
.site_name a:hover {
    color: #F5C400;
}
.pc_nav ul li::after {
    color: #FFFFFF;
}
.sm_nav {
    display: none;
}
.enter {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
}
iframe {
    width: 100%;
    height: 100%;
    display: block;
}

 /* Top */
.new {
    width: 50%;
    height: 100px;
    overflow: auto;
    display: grid;
    grid-template-columns: max-content auto;
    border-top: 1px solid #000000;
    border-bottom: 1px solid #000000;

}
.new dt, .new dd {
    padding: 10px 0 10px 10px;
}
.sns_post {
    width: 50%;
    border-top: 1px solid #000000;
    border-bottom: 1px solid #000000;
    padding: 10px 0;
}

/* About */
textarea, input, select {
    resize: none;
    font-size:14px;
    font-family:"Noto Sans JP", sans-serif;
    background: #FFFFFF;
    border:1px solid #000000;
}
textarea {
    width: 300px;
}
button {
    color: #000000;
    background: #FFFFFF;
    border: 1px solid #000000;
    padding: 3px;
}
button:active {
    transform: translateY(1px);
}
.about_link {
    display: grid;
    grid-template-columns: max-content auto;
    padding: 10px 0;
}
.about_link dt {
    padding: 5px 0;
}
.about_link dd {
    padding: 5px 0 5px 20px;
}
.banner {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 10px;
}

/* Res */
.res_text, .setting_world { /* Res & 設定(世界観)共通 */
    padding-top: 30px;
}
.res_text h3, .illust h3, .etc h3, .setting_world h3 { /* Res & Illust(個別) & Etc(個別) & 設定(世界観)共通 */
    font-weight: normal;
    font-family: "Exo", sans-serif;
    position: relative;
    border-bottom: 1px solid #000000;
    padding-left: 1.5em;
}
.res_text h3:before, .illust h3:before, .etc h3:before, .setting_world h3:before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f304";
    position: absolute;
    left: 0;
    top: 10;
}
.re {
    padding-top: 10px;
}
.res {
    color:#999999;
    position:relative;
    border-left:1px solid #000000;
    margin:0px 10px 10px 10px;
    padding:5px 10px 5px 30px;
    }
.res:before {
    position:absolute;
    left:10px;
    font-family: "FontAwesome";
    content: '\f4ad';
    transform: rotateY( 180deg );
}

/* Novel */
.namechange input {
    width: 80px;
    margin-right: 5px;
}
.namechange button {
    margin: 5px 5px 0 0;
}
.novel h3, .illust_list h3, .etc_list h3, .setting_character h3, .twitter h4, .series h4 { /* Novel & Illust(一覧) & Etc(一覧) & 設定(キャラクター) & Twitter Log & シリーズ共通 */
    font-weight: normal;
    display: inline-block;
    border: 1px solid #000000;
    padding: 5px;
}
.novel ul {
    border-left: 1px solid #000000;
    padding: 1px 0 0 10px;
    margin: 0 0 10px 10px;
}
.novel_long_list {
    padding: 5px 0 0 10px;
}
.novel_long h3, .series h3 { /* 長編 & シリーズ共通 */
    font-family: "Noto Serif JP", sans-serif;
    font-size: 30px;
    font-weight: normal;
    padding: 30px 0 20px 0;
}
.novel_long h4, .novel_title h4, .novel_baton h4 { /* 長編 & お題 & バトン共通 */
    display: inline-block;
    font-size: 16px;
    font-weight: normal;
    border: 1px solid #000000;
    padding: 10px;
    margin: 30px 0 10px 0;
}
.novel_long ul, .novel_title ul, .novel_baton ul {
    padding-top: 20px;
}
.novel_first_list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
}
.novel_first_list li {
    padding-right: 50px;
}
.r18 {
    color: #FF0000;
}
.project, .baton, .end_2 { /* 企画 & バトン & 長編共通 */
    color: #999999;
}
.end_1{
    font-family: "Noto Serif JP", sans-serif;
    font-size: 35px;
}
.novel_title h3, .novel_baton h3, .twitter h3 { /* お題 & バトン & Twitter Log共通 */
    font-family: "Noto Serif JP", sans-serif;
    font-size: 30px;
    font-weight: normal;
    padding-bottom: 20px;
}
.color_20 {
    /* テキストグラデーションの基本 */
    background: linear-gradient(to right, red, orange, gold, yellowgreen, green, skyblue, blue, violet, pink, gray);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent; /* フォールバック */
    display: inline-block;
}
.kiss_20 { /* キス×20：あとがき見出し(h5) */
    font-size: 15px;
    font-weight: normal;
    display: inline-block;
    background: linear-gradient(transparent 80%, #ff1493 0%);
    padding-bottom: 5px;
}
.twitter h4 {
    margin-top: 10px;
}
.twitter_list, .series_list { /* Twitter Log & シリーズ共通 */
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    border-left: 1px solid #000000;
    padding-left: 10px;
    margin: 0 0 10px 10px;
}
.twitter_list li::after, .series_list li::after {
    color: #000000;
    content: "/";
    margin: 0 5px;
}
.twitter_list li:last-child::after, .series_list li:last-child::after {
    content: "";
}
.twitter_number {
    position: fixed;
    box-sizing: border-box;
    width: 100%;
    top: 0;
    z-index: 100;
    padding: 10px 20px 20px 20px;
}
.white {
    background: #FFFFFF;
}
.black {
    background: #000000;
}
.twitter_number > .normal_list li::after {
    color: #FFFFFF;
}
.twitter_log {
    margin-top: 90px;
}
.series h4 {
    margin-top: 20px;
}

/* Illust */
.illust_list ul, .illust_list_u ul, .twitter_log_u ul, .etc_list ul { /* Illust(一覧) & Etc(一覧)共通 */
    padding-left: 10px;
    margin-top: 5px;
}
.illust_list ul {
    padding-bottom: 10px;
}

/* Character */
hr {
    border: none;
    border-top: 1px solid #000000;
    overflow: visible;
    text-align: center;
    height: 5px;
    margin: 20px 0;
}
hr:after {
    background: #FFFFFF;
    position: relative;
    top: -8px;
    font-family: "FontAwesome";
    content: '\f699';
    padding: 0px 5px;
}

/* Black World */
.black_world {
    color: #FFFFFF;
    background: #000000;
    padding: 1px 0; /* .attentionのmargin-top対策 */
}
.black_world a {
    color: #FFFFFF;
}
.black_world a:hover {
    color: #F5C400;
}
body:has(.black_world)::-webkit-scrollbar {
    width:10px;
}
body:has(.black_world)::-webkit-scrollbar-track { /* 背景 */
    background:#000000;
}
body:has(.black_world)::-webkit-scrollbar-thumb { /* つまみ */
    background:#000000;
    border-radius:10px;
    box-shadow: inset 0 0 0 1px #FFFFFF;
}
.back_link_u {
    display: inline-block;
    width: 25%;
    border: 1px solid #FFFFFF;
}
.back_link_u a {
    display: block;
    text-decoration:none;
    padding: 10px;
}
.back_link_u a:hover {
    background: #FFD54A;
    color: #FFFFFF;
    transition: background 1s;
}
.novel_u h3, .illust_list_u h3, .twitter_log_u h3 {
    font-weight: normal;
    display: inline-block;
    border: 1px solid #FFFFFF;
    padding: 5px;

}
.novel_u ul {
    border-left: 1px solid #FFFFFF;
    padding-left: 10px;
    margin: 0 0 10px 10px;
}

/* フッター */
footer {
    color: #FFFFFF;
    background: #000000;
    font-size: 12px;
    height: 50px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: auto;
    flex: 0 0 auto;
}

/* レスポンシブ */
@media screen and (max-width: 1024px) {

    /* 共通パーツ */
    .top_content {
        padding: 0 5%;
    }

    /* ハンバーガーメニュー */
    .pc_nav {
        display: none;
    }
    .sm_nav {
        display: block;
    }
    .sm_nav_check {
        display: none;
    }
    .sm_nav_open {
        display: flex;
        justify-content: center;
        align-items: center;
        position: fixed;
        top: 50;
        right: 30px;
        z-index: 100;
        cursor: pointer;
    }
    .sm_nav_open span, .sm_nav_open span:before, .sm_nav_open span:after {
        content: '';
        display: block;
        height: 3px;
        width: 25px;
        border-radius: 3px;
        background: #FFFFFF;
        transition: 0.5s;
        position: absolute;
    }
    .sm_nav_open span:before {
        bottom: 8px; /* 三本線の一番上の棒の位置調整 */
    }
    .sm_nav_open span:after {
        top: 8px; /* 三本線の一番下の棒の位置調整 */
    }
    #sm_nav_input:checked ~ .sm_nav_open span {
        background: rgb(255, 255, 255, 0); /* アイコンがクリックされたら真ん中の線を透明にする */
    }
    #sm_nav_input:checked ~ .sm_nav_open span::before {
        bottom: 0;
        transform: rotate(45deg); /* アイコンがクリック後上下の線を回転 */
    }
    #sm_nav_input:checked ~ .sm_nav_open span::after {
        top: 0;
        transform: rotate(-45deg);
    }
    
    /* メニューのデザイン*/
    .sm_nav_box {
        width: 100%;
        height: 100%;
        position: fixed;
        bottom: 100%;
        left: 0%; /* メニューを画面の外に飛ばす */
        z-index: 99;
        background: #E6E6E6;
        transition: .5s;
        list-style: none;
    }
    .sm_nav_menu {
        display: block;
        flex-direction: column;
    }
    .sm_nav_menu {
        padding: 0 5%;
        margin-top: 100px;
    }
    .sm_nav_menu li {
        text-align: center;
        border-top: 1px solid #000000;
        padding: 10%;
    }
    .sm_nav_menu li:last-child {
        border-bottom: 1px solid #000000;
    }
    .sm_nav_menu a {
    color: #000000;
    text-decoration: none;
    }

    /* アイコンがクリックされたらメニューを表示 */
    #sm_nav_input:checked ~ .sm_nav_box {
    bottom: 0;/* メニューを画面に入れる */
    }
}

@media screen and (max-width: 768px) {

    /* 戻るボタン */
    .back_button {
        right: 10px;
        bottom: 10px;
    }

     /* Top */
     .new {
        width: 100%;
    }
    .sns_post {
        width: 100%;
    }
}