@charset "UTF-8";

/* Template & Designed by Orihashi Ren */
/* http://kerry.php.xdomain.jp/ */

/* webフォント */
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@200&family=Roboto+Slab:wght@256&display=swap');

/* 全体設定 */
* {
    padding: 0;
    margin: 0;
}
*, *::after, *::before {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
* {
    -ms-overflow-style: none;    /* IE, Edge 対応 */
    scrollbar-width: none;       /* Firefox 対応 */
}
*::-webkit-scrollbar{  /* Chrome, Safari 対応 */
    display: none;
}
@-ms-viewport {
    width: device-width;
}

/* 基本設定 */

html, body, div, span, applet, object,
iframe, h1, h2, h3, h4, h5, h6, p, blockquote,
pre, a, abbr, acronym, address, big, cite,
code, del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var, b,
u, i, center, dl, dt, dd, ol, ul, li, fieldset,
form, label, legend, table, caption, tbody,
tfoot, thead, tr, th, td, article, aside,
canvas, details, embed, figure, figcaption,
footer, header, hgroup, menu, nav, output, ruby,
section, summary, time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font: inherit;
    vertical-align: baseline;}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;}
html,body {
    padding:0;
    margin:0;
    height: 100%;
}
html {
    font-size: 12px;
}
@media screen and (min-width: 768px) {
    html {
        font-size: 12.5px;
    }
}
@media screen and (min-width: 1280px) {
    html {
        font-size: 13px;
    }
}

body {
    width: 100%;
    text-align: justify;
    word-wrap: break-word; /* 禁則処理 */
    overflow-wrap: break-word;
    -webkit-text-size-adjust: 100%; /* Safari横向き対策 */
    background-color: #fff;
    color: var(--dark);
    font-family: 'Roboto Slab','Noto Serif JP', serif;
}
@media screen and (max-width: 480px) {
    html, body {
        min-width: 320px;
    }
}
body, input, select, textarea {
    font-weight: 300;
    font-size: 1rem;
    line-height: 2rem;
    letter-spacing: 0.075em;
}
@media screen and (min-width: 768px) {
    body, input, select, textarea {
        font-size: 1rem;
    }
}

/* リンク */
a {
    -moz-transition: color .8s ease-in-out, background-color .8s ease-in-out, border-bottom-color .8s ease-in-out;
    -webkit-transition: color .8s ease-in-out, background-color .8s ease-in-out, border-bottom-color .8s ease-in-out;
    -ms-transition: color .8s ease-in-out, background-color .8s ease-in-out, border-bottom-color .8s ease-in-out;
    transition: color .8s ease-in-out, background-color .8s ease-in-out, border-bottom-color .8s ease-in-out;
    border-bottom: solid 1px var(--red);
    text-decoration: none;
    outline: none;
    color: var(--red);
}
a:hover {
    border-bottom-color: transparent;
    color: #AD8F9F;
}

/* 文字装飾 */
strong, b, .b {
    font-weight: 700; /*太字*/
}
strong {
    color: #007de8;
}
em, i {
    font-style: italic; /*斜体*/
}
em {
    border-bottom: 1px dashed #007de8;
}

/* text */
p {
    text-align: justify;
    margin: 0 0;
    padding: 0rem
}
h1, h2, h3, h4, h5, h6 {
    text-align: center;
    font-weight: 300;
    line-height: 1.7rem;
    letter-spacing: 0.075em; /*文字間隔*/
    font-family: 'Roboto Slab','Noto Serif JP', serif;
    margin: 1.5rem 0;
}
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
    border-bottom: 0;
    color: inherit;
    text-decoration: none;
}
h1 {
    font-size: 2.5rem;
}
h2 {
    font-size: 1.5rem;
}
h3 {
    font-size: 1.3rem;
}
h4 {
    font-size: 1.2rem;
}
h5 {
    font-size: 1.1rem;
}
h6 {
    font-size: 1.05rem;
}

/* 上付き */
sub {
    font-size: 0.6rem;
    position: relative;
    top: 0.5rem;
}
/* 下付き */
sup {
    font-size: 0.6rem;
    position: relative;
    top: -0.5rem;
}

/* マーカー */
mark {
    display: inline-block;
    padding: 0rem .5rem;
    margin: 0rem 0;
    background: linear-gradient(transparent 10%, var(--gray) 10%);
    color: var(--dark);
    text-shadow: none;
}

/* 引用 */
blockquote {
    position: relative;
    padding: 5px 15px 5px 55px;
    box-sizing: border-box;
    font-style: italic;
    border-radius: 0px;
    color: var(--dark);
    background: rgba(246, 239, 231, .7);
}
blockquote:before{
    display: inline-block;
    position: absolute;
    top: 0;
    left: 8px;
    width: 38px;
    height: 30px;
    text-align: center;
    content: "\f10d";
    font-family: "Font Awesome 5 Free";
    color: #fff;
    font-size: 18px;
    line-height: 30px;
    background: var(--gray);
    font-weight: 900;
}
blockquote:after{
    content: '';
    position: absolute;
    left: 8px;
    top: 30px;
    height: 0;
    width: 0;
    border-left: 19px solid var(--gray);
    border-right: 19px solid var(--gray);
    border-bottom: 10px solid transparent;
}
blockquote p {
    position: relative;
    padding: 0;
    margin: 10px 0;
    z-index: 3;
    line-height: 1.7;
}
blockquote cite {
    display: block;
    text-align: right;
    font-size: 0.9em;
    color: #888888;
    opacity: .8;
}

/* コード */
code {
    border: none;
    font-family: "Courier New", monospace !important;
    margin: 0 .25rem;
    padding: .25rem .65rem;
    background: rgba(238, 238, 238, .7);
    border: solid 1px #eeeeee;
    color: var(--dark);
}
pre {
    width :100% !important;
    -webkit-overflow-scrolling: touch;
    overflow-x: auto;
    text-align: left;
    font-family: "Courier New", monospace !important;
    margin: .5rem 0;
}
pre code {
    width: 100% !important;
    overflow-x: auto;
    display: block;
    padding: .25rem 1.5rem;
    box-sizing: border-box !important;
}

/* 区分線 */
hr {
    border: 0;
    border-bottom: solid 2px;
    margin: 3rem 0rem;
    border-bottom-color: var(--red);
}

/* 文字揃え */
/*  <span class="align-center">例</span> 等と使用してください  */
.align-left {
    text-align: left;
}
.align-center,
.align-center p {
    text-align: center;
}
.align-right {
    text-align: right;
}

/* Box */
.box {
    text-align: left;
    width: 100%;
    height: auto;
    margin: 3rem 0rem;
    padding: 1.5rem;
    border-radius: 0px;
}
.box-1 {
    border: 1px solid var(--pure-white);
    background: var(--pure-white);
}
.box-2 {
    border: 1px solid var(--gray);
    background: var(--gray);
}
.box > p {
    padding: 0 0;
    text-shadow: none;
}
.box a {
    color: #fff;
}

/* lists */
ol, ul {
    text-align: left;
    margin: .5rem 0;
    list-style: none;
}
.list_no {
    list-style: none;
}
.list_un {
    list-style: disc;
}
.list_or {
    list-style: decimal;
}
.list_no > li,
.list_un > li,
.list_or > li {
    margin: 0 0 0 2rem;
    padding-left: .5rem;
    text-align: left;
}
.float {
    margin: 0;
}
.float li {
    float: left;
    margin: 0 0.5rem;
    padding-left: 0;
}
.float:after {
    display: block;
    content: '';
    clear: both
}

/* dl */
dl {
    text-align: left;
}
.dltype1 {
    text-align: left;
    margin: 0 1rem;
}
.dltype1 > dt a,
.dltype1 > dt {
    color: var(--dark);
    border-bottom: none;
    margin-bottom: .3rem;
}
.dltype1 > dd {
    margin-left: 2rem;
    font-size: .97rem;
    line-height: 1.7rem;
}

/* table */
.table_div {
    -webkit-overflow-scrolling: touch;
    overflow-x: auto;
    margin: 0 0rem;
}
table {
    margin: 0rem 0rem;
    width: 100%;
}
table thead {
    border-bottom: solid 2px #231d25;
}
table tbody tr {
    border: solid 1px;
    border-left: 0;
    border-right: 0;
    border-color: #231d25;
}
table tbody tr:nth-child(odd) {
    background-color: rgba(238, 238, 238, .7);
}
table td {
    padding: 0.75rem 0.75rem;
}
table th {
    font-family: 'Roboto Slab','Noto Serif JP', serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.075em;
    line-height: 1.5;
    padding: 0 0.75rem 0.75rem 0.75rem;
    text-align: left;
}
table tfoot {
    border-top: solid 2px;
    border-top-color: #eeeeee;
}
@media screen and (max-width: 980px) {
    table th {
        font-size: 0.9rem;
    }
}

/* link button */
.link {
    display: inline-block;
    height: 25px;
    line-height: 22px;
    margin: .5rem auto;
    padding: 0 .3rem;
    font-size: 1rem;
    border-radius: 0px;
    background: var(--red) !important;
    border: 1px solid var(--red) !important;
    color: #fff !important;
    transition: all .5s;
}
.link:hover {
    background-color: var(--blue);
    color: #fff !important;
}
.btn {
    display: inline-block;
    text-align: center;
    vertical-align: middle;
    touch-action: manipulation;
    position: relative;
    white-space: nowrap;
    border: none;
    margin: 1rem;
    padding: 9px 24px;
    font-size: 14px;
    line-height: 22px;
    letter-spacing: 0.1rem;
    font-weight: 400;
    border-radius: 0 0 0 0;
    text-decoration: none;
    -webkit-transition: all .5s  !important;
    transition: all .5s !important;
    -moz-transition: all .5s !important;
    font-family: 'Roboto Slab','Noto Serif JP', serif　!important;
}
.btn-1 {
    background: var(--pure-white);
    border: 1px solid var(--pure-white);
    color: #888 !important;
}
.btn-1:hover {
    background: var(--red);
    border: 1px solid var(--red);
    color: #fff !important;
}
.btn-2 {
    background: var(--green);
    border: 1px solid var(--green);
    color: #fff !important;
}
.btn-2:hover {
    background: #fff;
    border: 1px solid var(--green);
    color: var(--green) !important;
}
.btn-3 {
    background: var(--gray);
    border: 1px solid var(--gray);
    color: #fff !important;
}
.btn-3:hover {
    background: #fff;
    border: 1px solid var(--gray);
    color: var(--gray) !important;
}
.btn-1:hover svg {
    fill: #fff;
}
.btn svg {
    position: relative;
    left: -4px;
    width: 18px;
    height: 18px;
    display: inline-block;
    vertical-align: top;
    font-weight: normal;
    margin: 2px 0;
    fill: #888;
    transition: all .5s;
}

/* form */
form {
    text-align: center;
}
.box-a {
    max-width: 340px;
    margin: 1rem auto;
    padding: 0rem;
    border: 1px solid transparent;
    background: transparent;
}
input[type=text],
input[type=search],
textarea {
    outline: none;
    display: block;
    width: 100%;
    -webkit-appearance: none;
    background: var(--pure-white);
    border: 1px solid var(--pure-white);
    border-radius: 0 0 0 0;
    padding: 8px 16px;
    line-height: 22px;
    color: #888;
}
input[type=text]::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
    color: #888;
}
input[type=text]::-moz-placeholder,
textarea::-moz-placeholder {
    color: #888;
}
input[type=text]:-ms-input-placeholder,
textarea:-ms-input-placeholder {
    color: #888;
}
input[type=text]::placeholder,
textarea::placeholder,
.cp_ipselect select::placeholder {
    color: #888;
}
input[type],
textarea,
.cp_ipselect select {
    -moz-transition: border-color .4s ease-in-out, box-shadow .4s ease-in-out, background-color .4s ease-in-out;
    -webkit-transition: border-color .4s ease-in-out, box-shadow .4s ease-in-out, background-color .4s ease-in-out;
    -ms-transition: border-color .4s ease-in-out, box-shadow .4s ease-in-out, background-color .4s ease-in-out;
    transition: border-color .4s ease-in-out, box-shadow .4s ease-in-out, background-color .4s ease-in-out;
    font-family: 'Roboto Slab','Noto Serif JP', serif !important;
}
input[type=text]:focus,
textarea:focus,
.cp_ipselect select:focus {
    outline: none;
    border-color: var(--pure-gray);
    background: var(--pure-gray);
    color: var(--dark);
}
input[type=text]:focus::-webkit-input-placeholder,
textarea:focus::-webkit-input-placeholder,
.cp_ipselect select:focus::-webkit-input-placeholder {
    color: #888;
}
input[type=text]:focus::-moz-placeholder,
textarea:focus::-moz-placeholder,
.cp_ipselect select:focus::-moz-placeholder {
    color: #888;
}
input[type=text]:focus:-ms-input-placeholder,
textarea:focus::-ms-input-placeholder,
.cp_ipselect select:focus::-ms-input-placeholder {
    color: #888;
}
input[type=text]:focus::placeholder,
textarea:focus::placeholder,
.cp_ipselect select:focus::placeholder {
    color: #888;
}
.form-element {
    margin-bottom: 20px;
}
form label {
    display: block;
    margin-bottom: 4px;
    font-size: 1rem;
    color: var(--dark-blown);
    font-weight: 500;
}
.cp_ipselect {
    overflow: hidden;
    width: 100%;
    margin: 0 auto;
    text-align: center;
}
.cp_ipselect select {
    width: 100%;
    padding-right: 1em;
    cursor: pointer;
    text-indent: 0.01px;
    text-overflow: ellipsis;
    border: none;
    outline: none;
    background: transparent;
    background-image: none;
    box-shadow: none;
    -webkit-appearance: none;
    appearance: none;
}
.cp_ipselect select::-ms-expand {
    display: none;
}
.cp_ipselect.cp_sl01 {
    position: relative;
    border: 1px solid var(--pure-white);
    border-radius: 0 0 0 0;
    background: var(--pure-white);
}
.cp_ipselect.cp_sl01::before {
    position: absolute;
    top: 0.8em;
    right: 0.9em;
    width: 0;
    height: 0;
    padding: 0;
    content: '';
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #999;
    pointer-events: none;
}
.cp_ipselect.cp_sl01 select {
    padding: 8px 38px 8px 8px;
    color: #999
}
.cp_ipselect select option{
    background-color: #fff;
    color: #888;
}

/*-------------------- index --------------------*/

/* color */
:root {
    --dark: #2c2724;
    --gray: #d5dedd;
    --pure-gray: #f5f5f5;
    --pure-white: #f8f2ee;
    --blue: #7583A2;
    --green: #869186;
    --dark-red: #712a30;
    --red: #952f44;
    --pink: #e2b8b6;

    --s_s: .9rem;
    --s_m: .97rem;
    --s_n: 1rem;
    --s_b: 1.1rem;
    --s_bb: 1.2rem;

    --serif: "游明朝", YuMincho, "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
    --san-serif: "Hiragino Sans W3", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}

/* header */
header {
    position: relative;
    overflow-x: hidden;
    width: 100%;
    min-height: 50vh;
    top: 0;
    margin: 0;
    padding: 0;
    color: #fff;
}
header img {
    vertical-align: bottom;
    object-fit: cover;
    height: 100vh;
}
.top {
    position: absolute;
    display: table;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    -webkit-transform: translate(-50%,-50%);
    width: 150px;
    height: 150px;
    border: 2px dotted #fff;
}
header h1 {
    position: relative;
    display: table-cell;
    vertical-align: middle;
    font-size: .9rem;
}

/* main */
.wrp {
    margin: 0 0 0;
    padding: 5rem 3rem 0;
}
.wrp-2 {
    margin: 0 0 7rem;
    padding: 0 3rem;
}
.wrp > section, .wrp > .section {
    margin-bottom: 5rem;
    text-align: center;
}
.wrp > section > section, .wrp > section > .section,
.wrp > .section > section, .wrp > .section > .section,
.wrp-2 > section, .wrp-2 > .section {
    margin-bottom: 5rem;
    text-align: center;
}

/* footer */
footer {
    margin: 1rem auto;
    text-align: center;
    font-size: .9rem;
}

/* text */
h2 span {
    position: relative;
    display: inline-block;
    width: 25px;
    height: 25px;
    margin: .1rem auto .5rem;
    border: 1px dotted var(--dark);
    transform: rotate(45deg);
}
h2 {
    margin-top: 5rem;
    font-size: 1.2rem;
}
h3,h4,h5,h6 {
    font-size: 1.1rem;
}
h3 {
    text-align: left;
    border-bottom: 1px solid var(--dark);
}
h4 {
    margin: 3rem 0 1rem;
    padding: 0 1rem;
    border: 1px solid var(--dark);
}
h5 {
    padding: 0 1rem;
    border: 1px solid var(--dark);
    background: var(--dark);
    color: #fff;
}
h6 {
    text-align: left;
    display: flex;
    justify-items: center;
    margin: .3rem 0;
    padding-left: .5rem;
    border-left: 5px solid var(--red);
}

/* aside */
aside {
    text-align: left;
    margin: .5rem 0;
    padding: .5rem 1rem;
    background: var(--pure-gray)
}

/* scroll box */
.scroll {
    position: relative;
    overflow-y: scroll;
    height: 8rem;
    width: 100%;
    margin: 0 auto 0rem;
    padding: 0;
    font-size: var(--s_m);
    border-radius: 0px;
    border: 1px solid transparent;
    background: transparent;
}
.scroll .list_no {
    margin: 0;
}
.scroll .list_no li {
    margin: 0 0;
    padding-left: 0rem;
}

/* new */
.new::after {
    content: "new";
    color: #888;
    margin-left: 0.5rem;
    opacity: .8;
    font-size: .9rem;
    font-family: 'Roboto Slab','Noto Serif JP', serif;
}

/* profile */
.pro-img {
    display: inline-block;
    width: 100px;
    height: 100px;
    object-fit: cover;
    margin-bottom: .5rem;
    border-radius: 0;
    vertical-align: middle;
    opacity: .9;
}
.name {
    display: inline-block;
    vertical-align: middle;
    margin: 0 1rem;
}
.name a {
    border-bottom: none;
}
.lni-twitter-original {
    border-radius: 50%;
    padding: .25rem;
    margin: 0 .5rem;
    background: var(--gray);
    color: #fff;
}

/* margin */
.m_b_5r {
    display: inline-block;
    margin-bottom: 5rem !important;
}
.m_b_0 {
    margin-bottom: 0 !important;
}
.m_1r {
    margin-top: 1rem !important;
    margin-bottom: 1rem !important;
}
.m_2r {
    margin-top: 2rem !important;
    margin-bottom: 2rem !important;
}
.m_3 {
    display: inline-block;
    margin-top: .3rem !important;
    margin-bottom: .3rem !important;
}
.m_5 {
    margin-top: .5rem !important;
    margin-bottom: .5rem !important;
}
.m_l_0 {
    margin-left: 0 !important;
}
.m_lr_0 {
    margin-left: 0 !important;
    margin-right: 0 !important;
}
.m_l_1r {
    margin-left: 1rem !important;
}
.m_l_2r {
    margin-left: 1rem !important;
}
.m_l_3r {
    margin-left: 3rem !important;
}

/* padding */
.pd_lr_12 {
    padding-left: 1.2rem !important;
    padding-right: 1.2rem !important;
}

/* max wideth */
.max-400 {
    display: inline-block;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}
.max-600 {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.block {
    display: block !important;
}

@media screen and (min-width: 768px) {
    h2 span {
        border: dotted 2px var(--dark);
    }
    .wrp > section, .wrp > .section,
    .wrp-2,
    .flex {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;

    }
    .wrp > section > section, .wrp > section > .section,
    .wrp > .section > section, .wrp > .section > .section,
    .wrp-2 > section, .wrp-2 > .section {
        flex-basis: 50%;
        padding: 0 1.2rem;
    }
    .flex .flex-b48 {
        flex-basis: 47.5%;
    }
    .flex .flex-b30 {
        flex-basis: 27.5%;
    }
    .columns {
        columns: auto 2;
    }
    .columns-3 {
        columns: auto 3;
    }
    .col-1 {
        flex-basis: 100% !important;
        column-span: all !important;
    }
}
@media screen and (min-width: 1280px) {
    header {
        float: right;
        width: 33.33333%;
    }
    .wrp {
        width: 66%;
    }
    .wrp::after {
        display: block;
        content: '';
        clear: both;
    }
    .wrp > section:last-of-type {
        margin-bottom: 0;
    }
}

/*-------------------- bookshelf --------------------*/

/* sample 1 */
dd ul,
dd ol {
    font-size: .97rem;
}

/* read more */
.grad-wrap {
    position: relative;
}
.grad-btn {
    position: absolute;
    display: inline-block;
    bottom: .5rem;
    left: 1rem;
    cursor: pointer;
    z-index: 1;
}
.grad-btn::before {
    content: "▽ read more";
    font-size: .9rem;
}
.grad-item {
    position: relative;
    overflow: hidden;
    height: 7rem; /*隠した状態の高さ*/
    transition: 0.8s;
}
.grad-item::before {
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px; /*グラデーションで隠す高さ*/
    background: -webkit-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(255,255,255,0.9) 50%, rgba(255,255,255,0.9) 50%, #fff 100%);
    background: linear-gradient(top, rgba(255,255,255,0) 0%, rgba(255,255,255,0.9) 50%, rgba(255,255,255,0.9) 50%, #fff 100%);
    content: "";
    z-index: 0;
}
.grad-trigger {
    display: none; /*チェックボックスは常に非表示*/
}
.grad-trigger:checked ~ .grad-btn::before {
    content: "&#10005; colse"; /*チェックされていたら、文言を変更する*/
    transition: 0.8s !important;
}
.grad-trigger:checked ~ .grad-btn {
    bottom: -1.5rem;
}
.grad-trigger:checked ~ .grad-item {
    height: auto; /*チェックされていたら、高さを戻す*/
    margin-bottom: 2rem;
    transition: 0.8s !important;
}
.grad-trigger:checked ~ .grad-item::before {
    display: none; /*チェックされていたら、grad-itemのbeforeを非表示にする*/
}

/* sample 2 */
.card {
    position: relative;
    display: inline-block;
    width: 18rem !important;
    height: 9rem;
    margin: .7rem 1rem;
    color: #fff;
}
.card img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .8;
    z-index: -1;
}
.card > div {
    position: absolute;
    top: 50%;
    left: 50%;
    -ms-transform: translate(-50%,-50%);
    -webkit-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
}
.card h5 {
    margin-bottom: .2rem;
    width: 200px;
    border: 1px dotted #fff;
    background: transparent;
    color: #fff;
}
.card .align-center div {
    display: block;
    overflow: scroll;
    max-height: 3rem;
}
.card span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* sample 3 */
.card-2 {
    margin: .7rem 0;
}
.card-2 h5,
.h5-1,
.h5-2 {
    position: relative;
    text-align: left;
    padding: 0;
    border: none;
    background: transparent;
}
.card-2 h5::before,
.h5-1::before,
.h5-2::before {
    display: block;
    content: '';
    position: absolute;
    width: 100%;
    top: 50%;
    left: 0;
    border-bottom: 2px dotted var(--dark);
    background: transparent;
    z-index: 0;
}
.card-2 h5 span,
.h5-1 span,
.h5-2 span {
    position: relative;
    display: inline-block;
    z-index: 1;
    color: var(--dark);
    background: #fff;
}
.h5-2 span {
    left: 50%;
    transform: translateX(-50%);
}
.h5 span:first-of-type::before {
    left: 50%;
}
.card-2 h5 span:first-of-type,
.h5-1 span:first-of-type {
    padding: 0 .5rem 0 0;
}
.h5-2 span:first-of-type {
    padding: 0 .5rem;
}
.card-2 h5 span:nth-of-type(2),
.h5-1 span:nth-of-type(2){
    position: absolute;
    right: 0;
    padding: 0 0 0 .5rem;
    font-size: .7rem;
}
.card-2 p,
.card-2 .grad-item {
    font-size: var(--s_m);
    line-height: 1.7rem;
    margin-left: 2rem;
}
.card-2 .grad-btn {
    left: 3rem;
}
.card-2 ul a,
.card-2 ol a,
dd a,
.card-3 a {
    border-bottom: none;
}
.card-2 .float li,
dd .float li,
.card-3 .float li {
    margin: 0 2rem 0 1rem;
    padding-left: .5rem;
}
.card-2 ol,
.card-2 ul {
    margin-left: 2rem;
}

/* sample 3 */
.card-3 {
    position: relative;
    margin: 2rem 0;
    padding: 1rem 1rem .5rem;
    border: 2px dotted var(--dark);
}
.card-3 h5,
.card-3 time {
    position: absolute;
    display: inline-block;
    border: none;
    background: #fff;
    color: var(--dark);
}
.card-3 h5 {
    display: flex;
    top: -2rem;
}
.card-3 time {
    bottom: -.7rem;
    padding: 0 1rem;
    right: 1rem;
    font-size: .7rem;
}
.card-3 p,
.card-3 .grad-item {
    font-size: .97rem;
    line-height: 1.7rem;
}

/* sample 4 */
.proj img {
    display: block;
    position: relative;
    width: 200px;
    height: 40px;
    left: 0;
    vertical-align: bottom;
    opacity: .8;
}
.proj p {
    margin-bottom: .7rem;
}
.proj a {
    border-bottom: none;
    color: var(--dark)
}

/* form */
.main form {
    display: inline-block;
    margin: 1rem -1rem;
    max-width: 370px;
}
.main input[type] {
    display: inline-block;
}
.main input[type=text] {
    width: 40%;
    padding: .2rem .3rem;
    color: #141c1c;
}
.main input[type=submit] {
    -webkit-appearance: none;
    transition: all .5s;
    padding: .1rem .3rem;
    border-radius: 0 0 0 0;
    background: var(--pure-white);
    border: 1px solid var(--pure-white);
    color: #888 !important;
}
.main input[type=submit]:hover {
    background: var(--red);
    border: 1px solid var(--red);
    color: #fff !important;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/*-------------------- long --------------------*/

/* sample 5 */
.card-4 {
    margin: 2rem 0;
    height: 2.5rem;
    display: flex;
    justify-content: space-around;
    flex-wrap: nowrap;
}
.card-4 > div:first-of-type {
    position: relative;
    flex-basis: 20%;
}
.card-4 > div:last-of-type {
    flex-basis: 80%;
    margin-left: -1rem;
}
.card-4 img {
    height: 30px;
    width: 30px;
    transform: rotate(45deg);
    vertical-align: bottom;
    margin-bottom: -1rem;
}
.card-4 > div:first-of-type span {
    position: absolute;
    left: 50%;
    top: 60%;
    -ms-transform: translate(-50%,-50%);
    -webkit-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
    color: #fff;
}
.card-4 h5,
.card-4 p {
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 15rem;
}
.card-4 h5 {
    margin: .2rem 0;
    border: none;
    background: linear-gradient(transparent 60%, var(--gray) 60%);
    color: var(--dark);
}
.card-4 p {
    font-size: .7rem;
    line-height: 1.3rem;
    padding: 0 1rem;
}

/*-------------------- novel --------------------*/

/* story */
.novel h6 {
    margin: 1.5rem 0;
}
.novel {
    text-align: center !important;
    padding: 1rem;
    margin: 2rem 0;
    background: #fff
}
.novel > p {
    /*小説部分の段落に間隔を作りたくない場合はmargin-topに0を指定してください*/
    margin-top: 2rem;
    font-size: 1rem;
    line-height: 2rem; /*小説部分の行間*/
    letter-spacing: 0.025rem; /*小説部分の文字間隔*/
}
.novel > p:first-of-type {
    margin-top: 0;
}

/* ruby */
[data-ruby] {
    display: inline-block;
    position: relative;
}
[data-ruby]::before {
    content: attr(data-ruby);
    display: inline-block;
    position: absolute;
    transform: translateX(-50%) scale(.5);
    white-space: nowrap;
    top: -1.2rem;
    left: calc(50%);
    text-align: center;
    letter-spacing: 0.25em;
    font-size: 1em;
    font-family: var(--san-serif) !important;
}
[data-ruby] rt {
    display: none;
}

/* pagination */
ul.pagination {
    display: inline-block;
    position: relative;
    text-align: center !important;
    margin: 1.5rem auto;
    padding: .3rem 1rem;
    line-height: 1.9rem;
    transition: all .5s;
    background: transparent;
}
ul.pagination > li {
    display: inline-block;
    margin: 0 5px 0 0;
}
ul.pagination > li a {
    border: none;
}
ul.pagination > li:last-child {
    margin: 0 0;
}
ul.pagination > li span  {
    display: inline-block;
    margin: 0 1rem -.2rem;
    width: 20px;
    height: 20px;
    transform: rotate(45deg);
    border: 1px dotted var(--dark);
}

/*-------------------- notebook --------------------*/

/* article */
article .grad-wrap > a {
    color: var(--dark);
}

/* image */
.a-img img {
    display: inline-block;
    height: 15rem;
    width: auto;
    max-width: 90%;
    object-fit: cover;
    margin: .5rem auto;
}
.a-img,
[id^="figure-"] a {
    border-bottom: none;
}
figure {
    margin: 0;
    display: none;
}
figure:target {
    display: block;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
}
figure:target [id^="overlay-"] {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    color: inherit;
}
figure:target img {
    height: 20rem;
    max-width: none;
    max-height: none;
    width: auto;
    object-fit: fill;
    animation: fadein .3s;
}

@keyframes fadein {
    0%{
        transform: scale(0.2);
        opacity: 0.2;
    }
    100%{
        transform: scale(1);
        opacity: 1;
    }
}
@media screen and (min-width:768px) {
    .flex article {
        flex-basis: 50%;
    }
    article {
        padding: 0 1.2rem;
    }
    figure:target img {
        height: 30rem;
    }
}
@media screen and (min-width:1280px) {
    figure:target img {
        height: 40rem;
    }
}

/*-------------------- navigation --------------------*/


nav > a {
    display: none;
}
nav {
    -webkit-writing-mode: vertical-rl;
    -moz-writing-mode: vertical-rl;
    -ms-writing-mode: tb-rl;
    -ms-writing-mode: vertical-rl;
    writing-mode: vertical-rl;
}
nav ul li {
    display: inline-block;
    margin: .5rem 0;
}
nav ul li a {
    border-bottom: none;
    color: #fff;
}
#nav-toggle > a {
    display: inline-block;
    font-size: .9rem;
    color: #fff;
    border-bottom: none;
    position: fixed;
    text-align: left;
    font-weight: 300;
}
@media screen and (max-width:767px) {
    #nav-toggle {
        position: fixed;
        width: 100%;
        height: 5rem;
        padding: 1.5rem 2rem;
        z-index: 999;
        top: 1%;
    }
    #nav-toggle div {
        display: block;
        position: fixed;
        right: 7%;
        margin:0;
        padding:0;
        width: 25px;
        height: 20px;
    }
    #nav-toggle span {
        position: absolute;
        left: 0;
        width: 100%;
        height: 1px;
        background: #fff;
        border-radius: 10px;
        transition: .5s ease-in-out;
    }
    #nav-toggle span:nth-child(1) {
        top: 0;
    }
    #nav-toggle span:nth-child(2) {
        top: 10px;
    }
    #nav-toggle span:nth-child(3) {
        top: 20px;
    }
    .open #nav-toggle {
        mix-blend-mode: screen;
    }
    .open #nav-toggle span:nth-child(1) {
        top: 9pt;
        transform: rotate(135deg);
        background: #fff !important;
    }
    .open #nav-toggle span:nth-child(2) {
        background-color: transparent;
    }
    .open #nav-toggle span:nth-child(3) {
        top: 9pt;
        transform: rotate(-135deg);
        background: #fff !important;
    }
    nav {
        text-align: center;
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        min-height: 100vh;
        background-color: rgba(0, 0, 0, .5);
        z-index: 3;
    }
    nav ul {
        position: absolute;
        top: 8%;
        right: 7%;
    }
    #nav-toggle.m_fixed {
        top: 0;
    }
    #nav-toggle.m_fixed > a {
        color: var(--dark);

    }
    #nav-toggle.m_fixed span {
        background: var(--dark);
    }
}
@media screen and (min-width:768px) {
    #nav-toggle > a {
        display: none;
    }
    nav {
        display: block;
    }
    nav > a {
        display: block;
        position: absolute;
        top: 5%;
        right: .5rem;
        border-bottom: none;
        color: #fff;
    }
    nav ul {
        position: fixed;
        bottom: 5%;
        right: .5rem;
        letter-spacing: 0.09em;
    }
    nav.m_fixed ul li a {
        color: var(--dark)
    }
}

/*-------------------- other --------------------*/

/* pagetop button */
#page-top {
    position: fixed;
    bottom: 1%;
    left: 1%;
    z-index: 100;
}
#page-top a {
    display: block;
    padding: .1rem .4rem;
    border-bottom: none;
}
#page-top img {
    width: 20px;
    height: 20px;
    object-fit: cover;
    transform: rotate(45deg)
}

/* loader */
.page-loader {
    display: inline-block;
    position: fixed;
    height: 100vh;
    width: 100%;
    background: var(--pure-gray);
    bottom: 0;
    right: 0;
    left: 0;
    top: 0;
    z-index: 9998;
}
.intersecting-circles-spinner, .intersecting-circles-spinner * {
    box-sizing: border-box;
}
.intersecting-circles-spinner {
    height: 70px;
    width: 70px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    position: relative;
    top: 50%;
    left: 50%;
    -ms-transform: translate(-50%,-50%);
    -webkit-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
    margin:0;
    padding:0;
}
.intersecting-circles-spinner .spinnerBlock {
    animation: intersecting-circles-spinners-animation 1200ms linear infinite;
    transform-origin: center;
    display: block;
    height: 35px;
    width: 35px;
}
.intersecting-circles-spinner .circle {
    display: block;
    border: 2px solid var(--dark);
    border-radius: 50%;
    height: 100%;
    width: 100%;
    position: absolute;
    left: 0;
    top: 0;
}
.intersecting-circles-spinner .circle:nth-child(1) {
    left: 0;
    top: 0;
}
.intersecting-circles-spinner .circle:nth-child(2) {
    left: calc(35px * -0.36);
    top: calc(35px * 0.2);
}
.intersecting-circles-spinner .circle:nth-child(3) {
    left: calc(35px * -0.36);
    top: calc(35px * -0.2);
}
.intersecting-circles-spinner .circle:nth-child(4) {
    left: 0;
    top: calc(35px * -0.36);
}
.intersecting-circles-spinner .circle:nth-child(5) {
    left: calc(35px * 0.36);
    top: calc(35px * -0.2);
}
.intersecting-circles-spinner .circle:nth-child(6) {
    left: calc(35px * 0.36);
    top: calc(35px * 0.2);
}
.intersecting-circles-spinner .circle:nth-child(7) {
    left: 0;
    top: calc(35px * 0.36);
}
@keyframes intersecting-circles-spinners-animation {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@media screen and (min-width:768px) {
    #page-top img {
        width: 30px;
        height: 30px;
    }
}

/*-------------------- color --------------------*/

/* white */
.white {
    color: #fff !important;
    display: inline;
}
/* pure-white */
.pure-white {
    color: var(--pure-white) !important;
    display: inline;
}
/* blue */
.blue {
    color: var(--blue) !important;
    display: inline;
}
/* green */
.green {
    color: var(--green) !important;
    display: inline;
}
/* pink */
.pink {
    color: var(--pink) !important;
    display: inline;
}
/* red */
.red {
    color: var(--red) !important;
    display: inline;
}
/* gray */
.gray {
    color: var(--gray) !important;
    display: inline;
}
.pure-gray {
    color: var(--pure-gray) !important;
    display: inline;
}

/*-------------------- font size --------------------*/
.s_s {
    font-size: var(--s_s);
    line-height: .9rem !important;
}
.s_m {
    font-size: var(--s_m)!important;
}
.s_b {
    font-size: var(--s_b);
}

/*-------------------- font family --------------------*/

.san-serif {
    font-family: var(--san-serif);
}

/*-------------------- opacity --------------------*/

.o_8 {
    opacity: .8;
}

/*--------------------アンダーライン--------------------*/
.dot {
    border-bottom: dotted 1px var(--blue);
    display: inline;
}
.none {
    border-bottom: none;
}

/*--------------------マーカー--------------------*/
.marker {
    padding: 0;
    height: 2rem;
    font-weight: bold;
}
.marker1 {
    background: linear-gradient(transparent 60%, var(--pure-white) 60%);
    color: var(--dark);
}
.marker2 {
    background: linear-gradient(transparent 60%, var(--pink) 60%);
    color: var(--dark);
}
.marker3 {
    background: linear-gradient(transparent 60%, var(--gray) 60%);
    color: var(--dark);
}
.marker4 {
    padding: 0 .5rem;
    background: linear-gradient(transparent 0%, var(--green) 0%);
    color: #fff;
}

/*--------------------横線--------------------*/
.border-r {
    padding-right: .7rem;
    margin-right: .7rem;
    border-right: 3px solid var(--red);
}
.border-l {
    padding-left: .7rem;
    margin-left: .7rem;
    border-left: 3px solid var(--red);
}
.border-a {
    position: relative;
    margin-right: 4rem;
}
.border-a::after {
    position: absolute;
    display: block;
    content: '';
    top: 50%;
    left: 110%;
    width: 3rem;
    height: 1px;
    background: var(--dark);
}
