﻿@charset "utf-8";

/*
本テンプレートのクレジット表示（削除不可）
Template Name: Mojikaki
Author: ASA
Version: 1.0.0
License URI: https://oshaten10.com/
*/

/* -----------------------------------------------------------------------
reset
---------------------------------------------------------------------- */
html {
    box-sizing: border-box;
    overflow-y: scroll;
    -webkit-text-size-adjust: 100%;
}

* {
    margin: 0;
    padding: 0;
    background-repeat: no-repeat;
}

*,
::before,
::after {
    box-sizing: inherit;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

/* -----------------------------------------------------------------------
page design
---------------------------------------------------------------------- */
body {
    font-family: "Libre Baskerville", "Noto Serif JP", serif;
    font-weight: 500;
    font-size: 13px;
    line-height: 1.7;
    color: var(--color-text);
    letter-spacing: .1em;
    text-align: justify;
    background-color: var(--color-base);
}

/* general params-------------------- */
section *:first-child {
    margin-top: 0;
}

section *:last-child {
    margin-bottom: 0;
}

/* parts-------------------- */
a:link,
a:visited {
    color: var(--color-accent);
    transition: 0.3s;
    /* マウスホバー時のアニメーション */
}

a:hover {
    color: var(--color-accent2);
}

a img {
    transition: 0.3s;
    /* マウスホバー時のアニメーション */
}

a img:hover {
    opacity: 0.5;
    /* マウスホバー時に半透明に */
}

p {
    margin: 0 0 1rem;
}

h4,
h5,
h6 {
    margin: 1.5rem 0 1rem;
    line-height: 1;
}

h2 {
    font-size: 24px;
    font-weight: normal;
    letter-spacing: .2em;
    writing-mode: vertical-rl;
    position: absolute;
    top: 48px;
    left: 32px;
}

h3 {
    font-size: 13px;
    font-weight: normal;
    color: var(--color-accent);
    margin-top: 32px;
    margin-bottom: 24px;
    position: relative;
    /* ドットのポジション用 */
}

h3::before {
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, var(--color-grey) 1px, transparent 1px);
    background-position: 0;
    background-repeat: repeat-x;
    background-size: 8px 2px;
    content: "";
}

h3 span {
    position: relative;
    /* ドットの上にテキスト */
    background-color: var(--color-base);
    padding-right: 8px;
}

h3:first-of-type {
    margin-top: 0;
}

h4 {
    font-size: 13px;
    color: var(--color-accent2);
}

h5 {
    font-size: 13px;
    color: var(--color-accent2);
    font-weight: normal;
}

h6 {
    font-size: 13px;
    font-weight: normal;
}

hr {
    border: none;
    border-top: 3px double var(--color-grey);
    border-bottom: none !important;
    margin: 32px 0!important;
}

table {
    width: 100%;
    margin: 1rem 0;
    font-size: 0.9em;
    line-height: 1.4;
    border-collapse: collapse;
    border-spacing: 0;
    border-top: 1px solid var(--color-grey);
}

th,
td {
    margin: 0;
    overflow: visible;
    padding: 8px;
    border: 0;
    border-bottom: 1px solid var(--color-grey);
}

table tbody>tr:nth-child(odd)>td {
    background-color: var(--color-pale);
}

table td:first-child {
    width: 30%;
}

img {
    max-width: 100%;
    border: none;
    vertical-align: top;
}

ul,
ol {
    padding-left: 1rem;
    margin-bottom: 16px;
}

/* スクロールバー-------------------- */
/* スクロールバーの幅 */
::-webkit-scrollbar {
    width: 10px;
}

/* スクロールバー全体の背景 */
::-webkit-scrollbar-track {
    background: var(--color-base);
}

/* スクロールバーの動く部分 */
::-webkit-scrollbar-thumb {
    background: var(--color-accent);
    border: none;
}

/* wrap-------------------- */
.wrap {
    display: flex;
}

/* main-wrap-------------------- */
.main-wrap {
    width: 50%;
}

/* header-------------------- */
header .hdr {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 9999;
    width: 72px;
    height: 100vh;
    display: flex;
    flex-flow: column;
    justify-content: space-around;
    background-color: var(--bg-hdr);
}

header .sitename {
    writing-mode: vertical-rl;
    margin: 0 auto;
    font-size: 28px;
    font-weight: bold;
    line-height: 1;
}

/* ナビゲーションメニュー */
/* 表示の処理 */
header .main-menu {
    z-index: 9998;
}

header .main-menu .gnav {
    position: fixed;
    z-index: 9998;
    top: 0;
    right: -120%;
    /* はじめは欄外に */
    width: calc(50% - 72px);
    height: 100vh;
    /* ナビの高さ */
    padding: 56px 64px;
    background-color: var(--color-base);
    border-left: 3px solid var(--color-pale);
    transition: all 0.6s;
    /* 動き */
}

/* 「MENU」の見出し */
header .main-menu .gnav-name {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
    border-bottom: 1px solid var(--color-text);
    font-size: 24px;
}

header .main-menu .gnav-name::after {
    content: 'Menu';
    font-size: 16px;
}

/* ナビゲーションのデザイン */
header .main-menu .gnav ul.gnav-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

header .main-menu ul.gnav-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    position: relative;
}

header .main-menu ul.gnav-list li::after {
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, var(--color-grey) 1px, transparent 1px);
    background-position: 0;
    background-repeat: repeat-x;
    background-size: 8px 2px;
    content: "";
}

header .main-menu ul.gnav-list li a {
    padding-right: 8px;
    display: block;
    text-decoration: none;
}

header .main-menu ul.gnav-list li a,
header .main-menu ul.gnav-list li span {
    background-color: var(--color-base);
    position: relative;
    z-index: 1;
}

header .main-menu ul.gnav-list li span {
    padding-left: 8px;
    font-size: 0.8em;
    color: var(--color-accent);
}

/* アクティブクラスがついた時の処理 */
.main-menu .gnav.panelactive {
    right: 72px;
}

/* ナビゲーションボタンの処理 */
.openbtn {
    position: relative;
    z-index: 9999;
    /* ボタンを最前面に */
    cursor: pointer;
    width: 32px;
    height: 50px;
    margin: 0 auto;
}

.openbtn span {
    /* ×に変化 */
    display: inline-block;
    transition: all .4s;
    position: absolute;
    height: 1px;
    background-color: var(--color-hdr);
    ;
    width: 100%;
}

.openbtn span:nth-of-type(1) {
    top: 15px;
}

.openbtn span:nth-of-type(2) {
    top: 23px;
}

.openbtn span:nth-of-type(3) {
    top: 31px;
}

.openbtn.active span:nth-of-type(1) {
    top: 18px;
    left: 0;
    transform: translateY(6px) rotate(-45deg);
    width: 100%;
}

.openbtn.active span:nth-of-type(2) {
    opacity: 0;
}

.openbtn.active span:nth-of-type(3) {
    top: 30px;
    left: 0px;
    transform: translateY(-6px) rotate(45deg);
    width: 100%;
}

.openbtn::after {
    content: '目次';
    color: var(--color-hdr);
    position: absolute;
    bottom: -16px;
    width: 100%;
    text-align: center;
}

/* ヘッダー・フッターのサイト名のリンク-------------------- */
.sitename a {
    text-decoration: none;
    color: var(--color-hdr);
}

.sitename a:hover {
    color: var(--color-accent2);
}

/* bg-------------------- */
.bg {
    position: relative;
    width: calc(50% - 72px);
    background-image: var(--bg);
    background-size: 50%;
    background-position: right center;
    background-attachment: fixed;
    order: 1;
}

/* スクロールアイコン */
.bg .scroll_wrap {
    position: fixed;
    left: calc(50% + 16px);
    bottom: 16px;
}

.bg .scroll {
    display: inline-block;
    padding-top: 64px;
    position: relative;
    writing-mode: vertical-rl;
}

.bg .scroll::before {
    animation: scroll 2s infinite;
    background-color: var(--color-accent);
    content: "";
    display: inline-block;
    margin: auto;
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1;
    transform: rotate(-45deg);
    width: 8px;
    height: 8px;
    border-radius: 999px;
}

@keyframes scroll {
    0% {
        transform: rotate(-45deg) translate(0, 0);
    }

    80% {
        transform: rotate(-45deg) translate(-30px, 30px);
    }

    0%,
    80%,
    100% {
        opacity: 0;
    }

    40% {
        opacity: 1;
    }
}

.bg .scroll::after {
    content: '';
    display: block;
    width: 1px;
    height: 50px;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    background-color: var(--color-text);
}

.bg .scroll .txt {
    font-size: 10px;
    vertical-align: text-top;
}

/* cnt-------------------- */
.cnt section {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 56px 64px 56px 96px;
    min-height: 340px;
    border-bottom: 16px solid var(--color-pale);
}

.cnt section:last-child {
    border-bottom: none;
}

.cnt section.frame {
    min-height: auto;
    padding: 96px 0;
    background: url(../_img/bg_frame_lt.png), url(../_img/bg_frame_rt.png), url(../_img/bg_frame_rb.png), url(../_img/bg_frame_lb.png) no-repeat;
    background-position: left 32px top 32px, right 32px top 32px, right 32px bottom 32px, left 32px bottom 32px;
    background-size: 100px 95px;
    background-repeat: no-repeat;
}

.cnt section.frame h2 {
    font-size: 4vw;
    text-align: center;
    letter-spacing: .1em;
    writing-mode: horizontal-tb;
    position: static;
}

.cnt section.frame h2 small {
    display: block;
    font-size: 1vw;
}

/* キャプション-------------------- */
.caption {
    padding: 8px;
    font-size: 0.9em;
    line-height: 1.4;
    background-color: var(--color-pale);
}

/* シリーズ・テキストのリスト-------------------- */
ul.novel-list {
    list-style: none;
    margin: 0 0 24px;
    padding: 0;
    border-bottom: 3px double var(--color-grey);
}

ul.novel-list:last-child{
    margin-bottom: 0;
}

ul.novel-list li {
    margin-bottom: 1.5rem;
}

ul.novel-list li.title a {
    font-size: 28px;
    line-height: 1.3;
    text-decoration: none;
}

ul.novel-list li.data {
    display: flex;
    justify-content: space-between;
}

ul.novel-list li.data p {
    margin-bottom: 0;
}

ul.novel-list li.data p.date {
    font-size: 0.8em;
    color: var(--color-grey);
}

/* ギャラリー-------------------- */
.gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* 1frが増えると列が増えます */
    gap: 4px;
}

/* プロフィール-------------------- */
.profile_box {
width: 60%;
margin: 0 auto;
}

.prf_icn {
    display: block;
    width: 216px;
    height: auto;
    margin: 0 auto 24px;
    border-radius: 108px;
    border: 4px var(--color-wh) solid;
}

.prf_name {
    margin-top: 8px;
    font-size: 16px;
    text-align: center;
}

ul.prf_sns {
    display: flex;
    justify-items: center;
    justify-content: space-evenly;
    list-style: none;
    padding: 0;
}

ul.prf_sns li img {
    width: 40px;
}

/* 更新履歴-------------------- */
.news_box {
    overflow: auto;
    width: 100%;
    height: 100px;
    padding: 8px;
    border: 1px solid var(--color-grey);
}

ul.news_list {
    padding: 0;
}

ul.news_list li {
    display: flex;
    align-items: center;
    list-style: none;
    padding: 4px 0;
    font-size: 0.9em;
    line-height: 1.3;
}

ul.news_list li span {
    width: 70px;
    margin-right: 8px;
    padding: 2px 4px;
    font-size: 0.8em;
    background-color: var(--color-pale);
}

/* スクロールバー-------------------- */
/* スクロールバーの幅 */
.news_box::-webkit-scrollbar {
    width: 4px;
}

/* スクロールバー全体の背景 */
.news_box::-webkit-scrollbar-track {
    background: var(--color-pale);
}

/* スクロールバーの動く部分 */
.news_box::-webkit-scrollbar-thumb {
    background: var(--color-accent);
}

/* リンクボタン-------------------- */
.btn a {
    position: relative;
    display: inline-block;
    padding: 8px 40px 8px 16px;
    color: var(--color-wh);
    line-height: 1.4;
    text-decoration: none;
    border: 1px solid var(--color-base);
    box-shadow: 0 0 0 1px var(--color-accent);
    background-color: var(--color-accent);
}

.btn a::before,
.btn a::after {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    margin: auto;
    content: "";
    vertical-align: middle;
}

.btn a::before {
    right: 16px;
    width: 10px;
    height: 1px;
    background: var(--color-wh);
}

.btn a::after {
    right: 16px;
    width: 7px;
    height: 7px;
    border-top: 1px solid var(--color-wh);
    border-right: 1px solid var(--color-wh);
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

.btn a:hover {
    background-color: var(--color-accent2);
}

/* form setting--------------------*/
input,
textarea,
select,
optgroup,
option,
button {
    font: inherit;
}

button,
input[type="button"],
input[type="submit"] {
    border: none;
    cursor: pointer;
}

form {
    margin-bottom: 16px;
}

input,
textarea {
    display: block;
    width: 100%;
    margin-bottom: 16px;
    padding: 8px;
    background-color: var(--color-pale);
    border: 1px solid var(--color-grey);
    border-radius: 3px;
}

span.form-required {
    color: var(--color-accent);
}

button {
    padding: 4px 16px;
    border-radius: 40px;
    color: var(--color-wh);
    letter-spacing: .1em;
    background-color: var(--color-accent);
}

/* footer-------------------- */
footer {
    border-top: 3px solid var(--color-pale);
    padding: 16px;
    text-align: center;
}

footer .copyright {
    font-size: 10px;
    color: var(--color-text);
}

/* -----------------------------------------------------------------------
スマホ用の処理
---------------------------------------------------------------------- */
@media screen and (max-width:600px) {
    /* ←←←消さないよう注意！ */

    /* メニューからの位置調整-------------------- */
    .wrap,
    header .main-menu .gnav {
        margin-top: 50px;
    }

    /* スマホでタップ時に半透明にならないようにする-------------------- */
    a:hover {
        opacity: 1;
    }

    h2 {
        font-size: 18px;
        top: 32px;
        left: 8px;
    }

    /* wrap-------------------- */
    .wrap {
        display: block;
    }

    .main-wrap {
        width: 100%;
    }

    /* ナビゲーションメニュー-------------------- */
    header .hdr {
        width: 100%;
        height: auto;
        display: flex;
        align-items: center;
        flex-flow: nowrap;
    }

    header .sitename {
        margin-left: 16px;
        writing-mode: horizontal-tb;
        font-size: 24px;
    }

    header .main-menu .gnav {
        top: -500px;
        right: 0;
    }

    .main-menu .gnav.panelactive {
        top: 0;
        right: 0;
    }

    header .main-menu .gnav {
        width: 100%;
        height: auto;
        padding: 24px;
        border-left: none;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

    .openbtn {
        width: 24px;
        margin-right: 24px;
    }

    .openbtn::after {
        writing-mode: vertical-lr;
        right: -22px;
        bottom: 10px;
    }

    header .main-menu .gnav-name {
        font-size: 18px;
    }

    /* bg-------------------- */
    .bg {
        width: 100%;
        height: 50vh;
        background-size: cover;
        background-position: center;
        background-attachment: inherit;
    }

    .bg .scroll_wrap {
        position: absolute;
        left: 8px;
    }

    /* cnt-------------------- */
    .cnt section.frame {
        padding: 56px 0;
        background-position: left 8px top 8px, right 8px top 8px, right 8px bottom 8px, left 8px bottom 8px;
        background-size: 50px 47px;
    }

    .cnt section.frame h2 {
        font-size: 10vw;
    }

    .cnt section.frame h2 small {
        font-size: 13px;
        letter-spacing: .1em;
    }

    .cnt section {
        padding: 40px 24px 40px 50px;
    }

    /* シリーズ・テキストのリスト-------------------- */
    ul.novel-list li {
        margin-bottom: 1rem;
    }

    ul.novel-list li.data {
        display: block;
        margin-bottom: 2rem;
    }

    /* プロフィール-------------------- */
    .profile_box {
        width: 100%;
    }
}

/* ←←←消さないよう注意！ */
/* -----------------------------------------------------------------------
スマホ用の処理ここまで
---------------------------------------------------------------------- */