@charset "utf-8";
@import url("https://fonts.googleapis.com/css?family=Cinzel&display=swap");

/* -----------------------
リセット
----------------------- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* -----------------------
全体
----------------------- */
body {
    color: #333333;
    font-family: "游ゴシック体", YuGothic, "YuGothic M", sans-serif;
    font-size: 15px;
    line-height: 2;
}

body::after {
    background: url("../img/top.jpg") center top;
    background-size: cover;
    content: "";
    height: 100vh;
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    z-index: -1;
}

/* フォント適用 */
header, h1, h2, h3, nav, .pagetop::after, footer {
    font-family: "Cinzel",sans-serif;
    font-weight: 500;
}

/* -----------------------
ヘッダー
----------------------- */
/* ヘッダー画像 */
header {
    background: url("../img/header_bg.png") repeat center;
    padding-bottom: 50px;
    padding-top: 50px;
    text-align: center;
}

/* サイトタイトル */
.title {
    background-color: #594829;
    color: #ffffff;
    filter: drop-shadow(0px 6px 6px rgba(0,0,0,.6));
    height: 200px;
    margin: auto;
    max-width: 500px;
    position: relative;
    text-align: center;
}

/* リボン風装飾 */
.title:after, .title:before {
    border-bottom: 100px solid #594829;
    border-left: 50px solid transparent;
    border-right: 50px solid transparent;
    border-top: 100px solid #594829;
    content: "";
    display: block;
    position: absolute;
    top: 0;
}

.title:after {
    left: -50px;
}

.title:before {
    right: -50px;
}

/* 見出し1*/
h1 {
    color: #faf5eb;
    padding-top: 30px;
    text-align: center;
}

h1 a, h1 a:hover {
    color: #faf5eb;
    text-decoration: none;
}

/* サブタイトル */
.subtitle {
    color: #faf5eb;
    text-align: center;
}

/* ロゴ画像 */
.titleimg {
    align-items: center;
    display: flex;
}

/* サブタイトル改行 */
.br-sp {
    display: none;
}

/* 左右の破線 */
.titleimg:before, .titleimg:after {
    background-image: radial-gradient(#cc6d5e 50%, transparent 50%);
    background-position: center;
    background-size: 10px 2px;
    content: "";
    flex-grow: 1;
    height: 2px;
}

.titleimg:before {
    margin-right: 1rem;
}

.titleimg:after {
    margin-left: 1rem;
}

/* -----------------------
テキスト
----------------------- */
/* リンク色 */
a {
    color: #009cc0;
}

a:hover {
    color: #c28400;
}

/* 段落 */
p {
    padding-bottom: 15px;
}

/* -----------------------
メニュー
----------------------- */
/* メニュー装飾 */
nav {
    background-color: #594829;
    border: dashed 2px #cc6d5e;
    box-shadow: 0 0 0 5px #594829;
    margin: 5px;
}

nav ul {
    display: flex;/* Flexbox */
    flex-wrap: wrap;
    justify-content: center;
    margin: 0 auto;
    padding: 0;
}

nav ul li {
    background-color: #594829;
    list-style: none;
    margin: 0;
    min-width: 125px;
    text-align: center;
}

nav ul li a {
    border-radius: 25px;
    color: #faf5eb;
    display: block;
    font-weight: bold;
    height: 100%;
    padding: 10px 0;
    text-decoration: none;
    width: 100%;
}

nav ul li a:hover {
    background-color: #cc6d5e;
    color: #faf5eb;
}

/* fixedクラス付与 */
.nav-fixed {
    left: 0;
    position: fixed;/* スクロール固定 */
    top: 0;
    width: 100%;
    z-index: 100;
}

/* 背景用高さ */
.img {
    height: 600px;
}

/* -----------------------
コンテンツ
----------------------- */
/* 内容 */
main {
    display: block;
    margin: 0 auto;
    overflow: hidden;
    padding: 0;
}

section {
    margin: 50px;
}

.text {
    margin: auto;
    max-width: 900px;
}

/* Flexbox */
.flex {
    align-content: space-between;
    display: flex;
}

/* もこもこボックス */
.dot {
    background-color: #e5c07a;
    filter: drop-shadow(0px 6px 6px rgba(0,0,0,.6));
    margin: 0 calc(50% - 50vw);
    padding: 10px calc(50vw - 50% + 20px);
    position: relative;
    width: 100vw;
}

.dot::before, .dot::after {
    content: "";
    height: 30px;
    position: absolute;
    width: 100%;
    display: inline-block;
}

.dot::before {
    background: url(../img/dot.png) left top repeat-x;
    left: 0;
    top: -30px;
}

.dot::after {
    background: url(../img/dot.png) left bottom repeat-x;
    bottom: -30px;
    left: 0;
}

/* 白いボックス */
.box {
    background: #ffffff url(../img/bg.png);
    border: dashed 2px #e5c07a;
    box-shadow: 0 0 0 10px #faf5eb;
    margin: 40px auto;
    max-width: 900px;
    padding: 50px;
}

/* テキスト左 */
.left {
    margin-right: 50px;
}

/* テキスト右 */
.right {
    flex-direction: row-reverse;
}

.text .flex.right {
    margin-right: 50px;
}

.right .pict {
    margin-left: 0;
}

/* ボックス見出し3 */
.column h3 {
    margin: 20px 0;
}

/* ボックス本文 */
.column {
    width: 100%;
}

/* 2カラムの縦線 */
.profile {
    margin-right: 2em;
    position: relative;
}

.profile:nth-child(2)::after {
    background-color: #594829;
    content: "";
    height: 100%;
    left: 100%;
    margin: 0 1rem;
    position: absolute;
    top: 0;
    width: 1px;
}

/* -----------------------
画像
----------------------- */
img {
    height: auto;
    max-width: 100%;
}

/* プロフィール画像 */
.pict {
    width: 30%;
    padding: 10px;
}

.pict img {
    height: auto;
    max-width: 200px;
    width: 250px;
}

/* 丸く切り取る */
.profile img {
    border-radius: 50%;
    height: 150px;
    width: 150px;
}

/* キャラ紹介 */
.prof {
    border-bottom: solid 2px #594829;
    border-top: solid 2px #594829;
    font-weight: bold;
    margin: 20px auto;
    max-width: 120px;
    padding: 8px 19px;
}

/* 丸く切り取る */
.character img {
    border: solid 2px #594829;
    border-radius: 50%;
    margin: 0 20px;
}

/* ホバーで透過 */
.character img:hover {
    filter: opacity(60%);
}

/* ギャラリー */
.gallery {
    display: flex;
    justify-content: space-around;
}

.illust {
    margin: 10px;
}

.illust img {
    border: solid 2px #594829;
    height: 300px;
    object-fit: cover;
    vertical-align: bottom;
    width: 200px;
}

/* ホバーで透過 */
.illust img:hover {
    filter: opacity(60%);
}

/* -----------------------
漫画
----------------------- */
/* Flexbox */
.book {
    align-items: center;
    display: flex;
    justify-content: center;
}

/* 漫画目次 */
.comic {
    border-bottom: 2px solid #313131;
    border-left: 2px solid #313131;
    border-top: 2px solid #313131;
    display: block;
    height: 150px;
    margin: 10px 0;
    max-width: 450px;
    overflow: hidden;
    position: relative;
    width: 100%;
}

/* 漫画説明文 */
.comic-text {
    background-color: #454c50;
    border: 2px solid #313131;
    color: #ffffff;
    display: inline-block;
    font-size: 14px;
    height: 150px;
    letter-spacing: 0;
    margin: 10px 0;
    max-width: 450px;
    padding: 5px;
    vertical-align: top;
    width: 100%;
}

/* 半透明カバー */
.comic strong {
    background-color: rgba(0,0,0,.4);
    bottom: 0;
    color: #ffffff;
    font-size: 130%;
    height: 100%;
    left: 0;
    line-height: 100%;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    text-align: center;
    top: 0;
    transition: all .6s ease;
    width: 100%;
}

.comic:hover strong {
    opacity: 1;
    padding-top: 65px;
}

.comic:hover {
    filter: alpha(opacity=100);
}

/* -----------------------
ボーダー
----------------------- */
/* 斜めの線 */
hr {
    background: linear-gradient(-70deg,transparent 35%,#cc6d5e 45%, #cc6d5e 55%,transparent 65%);
    background-size: 8px 12px;
    border: none;
    height: 12px;
    margin: 50px auto;
    max-width: 497px;
    padding: 0;
    width: 100%;
}

/* -----------------------
位置
----------------------- */
/* 中央寄せ */
.center {
    justify-content: center;
    text-align: center;
}

/* -----------------------
見出し
----------------------- */
/* 見出し2 */
h2 {
    background-color: #594829;
    color: #ffffff;
    font-size: 30px;
    margin: 40px 0 80px 0;
    padding: 0 20px;
    position: relative;
    text-align: center;
}

/* 見出し2リボン風 */
h2:after {
    background: linear-gradient(to top, #594829 46%,#594829 100%);
    content: "";
    height: 30px;
    position: absolute;
    right: -20px;
    top: 30px;
    transform: skewX(45deg);
    width: 40px;
}

h2:before {
    background: linear-gradient(to bottom, #594829 46%,#594829 100%);
    content: "";
    height: 30px;
    position: absolute;
    right: -20px;
    top: 0;
    transform: skewX(-45deg);
    width: 40px;
}

/* 見出し3 */
h3 {
    border-bottom: 2px dotted #594829;
    margin: 50px 0;
    padding: 10px 10px 5px 25px;
    position: relative;
}

h3:before {
    border: 2px solid #594829;
    content: "";
    display: block;
    height: 10px;
    left: 0;
    position: absolute;
    top: 40%;
    transform: rotate(45deg);
    width: 10px;
}

h3 {
    font-size: 21px;
}

/* -----------------------
上へ戻る
----------------------- */
/* 上へ戻る装飾 */
.pagetop {
    background-color: #594829;
    border: dashed 2px #cc6d5e;
    border-radius: 50%;
    box-shadow: 0 0 0 5px #594829;
    height: 80px;
    margin: 50px auto;
    width: 80px;
}

/* リンクブロック要素 */
.pagetop {
    display: block;
    position: relative;
}

/* 三角位置 */
.pagetop::before {
    border-right: 3px solid #faf5eb;
    border-top: 3px solid #faf5eb;
    bottom: 0;
    content: "";
    height: 25px;
    left: 0;
    margin: 10px auto;
    position: absolute;
    right: 0;
    text-align: center;
    top: 10px;
    transform: rotate(-45deg);
    width: 25px;
}

/* テキスト */
.pagetop::after {
    bottom: 0;
    color: #faf5eb;
    content: "PAGE TOP";
    font-size: 13px;
    font-weight: bold;
    left: 0;
    margin: 0 auto;
    position: absolute;
    right: 0;
    text-align: center;
    top: 45px;
}

.pagetop:hover {
    background-color: #cc6d5e;
}

/* -----------------------
フッター
----------------------- */
/* フッター装飾 */
footer {
    background-color: #594829;
    border: dashed 2px #cc6d5e;
    box-shadow: 0 0 0 5px #594829;
    color: #ffffff;
    height: 50px;
    margin: 5px;
    padding: 10px 0;
    text-align: center;
}

footer small {
    font-size: 15px;
}

/* -----------------------
レスポンシブ
----------------------- */
/* 1040px以下 */
@media only screen and (max-width: 1040px) {
    .title {
        margin: auto;
        width: calc(100% - 100px); /* 幅分マイナス */
    }
    /* 余白調整 */
    main {
        padding: 5px 5px 60px 5px;
    }
    .dot {
        padding: 20px;
    }
    .box + .right .column {
        margin-left: 0;
    }
    .text .flex.right{
        margin: 50px 20px;
    }
    /* プロフィール順番 */
    .pict + .profile {
        order: 2;
    }
    .admin  {
        order: -1;
    }
    /* プロフィール区切り線 */
    .profile:nth-child(2)::after {
        background-color: transparent;
    }
    .profile:nth-child(4) {
        border-top: solid 1px #594829;
        width: 100%;
    }
    /* 漫画1カラム */
    .book {
        display: block;
    }
    .comic {
        border-bottom: 0;
        border-right: 2px solid #313131;
        max-width: 100%;
    }
    .comic, .comic img {
        height: 150px;
        margin-bottom: -15px;
        object-fit: cover;
        width: 100%;
    }
    .comic-text {
        height: auto;
        max-width: 100%;
        width: 100%;
    }
    /* ボックス1カラム */
    .box {
        flex-flow: column;
        margin: 50px 20px;
        padding: 20px;
    }
    .pict {
        margin-left: 0;
        width: 100%;
    }
    /* Flexbox */
    .character {
        display: flex;
    }
}

/* 620px以下 */
@media screen and (max-width:620px) {
    /* サブタイトル改行 */
    .br-sp {
        display: block;
    }
    /* メニュー最大幅 */
    nav ul li {
        min-width: 80px;
    }
    .nav-fixed {
        margin-top: 5px;
        width: calc(100% - 10px);
    }
    /* 余白調整 */
    main {
        padding: 10px;
    }
    h3 {
        margin: 20px 0;
    }
    /* ギャラリー折返し */
    .gallery, .character {
        flex-wrap: wrap;
        justify-content: flex-start;
    }
    /* サムネイル小 */
    .gallery img {
        height: 150px;
        width: 100px;
    }
    /* 画像余白調整 */
    .illust {
        margin: 5px;
    }
}

/* 420px以下 */
@media screen and (max-width: 420px) {
    /* 画像中央寄せ */
    .pict {
        text-align: center;
    }
    .character {
        justify-content: center;
    }
}