@charset "UTF-8";

/* Template & Designed by Orihashi Ren */
/* http://kerry.php.xdomain.jp/ */

/* webtHg */
@import url('https://fonts.googleapis.com/css2?family=Caveat&display=swap');

/* SΜέθ */
* {
    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;
    font-size: 100%;
    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: 14pt;
}
@media screen and (max-width: 1680px) {
    html {
        font-size: 12pt;
    }
}
@media screen and (max-width: 1280px) {
    html {
        font-size: 11pt;
    }
}
@media screen and (max-width: 360px) {
    html {
        font-size: 10pt;
    }
}
body {
    width: 100%;
    text-align: justify;
    word-wrap: break-word; /* Φ₯ */
    overflow-wrap: break-word;
    -webkit-text-size-adjust: 100%; /* Safari‘ό«Ξτ */
    background-color: #fff;
    color: #1b262c;
    font-family: "Hiragino Sans W3", "Hiragino Kaku Gothic ProN", "qMmpS ProN W3", "CI", Meiryo, serif;
}
@media screen and (max-width: 480px) {
    html, body {
        min-width: 320px;
    }
}
body, input, select, textarea {
    font-weight: 400;
    font-size: 12px;
    line-height: 1.5rem;
    letter-spacing: 0.055em;
}

/* N */
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: dotted 1px #9f6f8b;
    text-decoration: none;
    outline: none;
    color: #9f6f8b;
}
a:hover {
    border-bottom-color: transparent;
    color: #9e92ae;
}

/* Άό */
strong, b, .b {
    font-weight: 700; /*Ύ*/
}
strong {
    color: #E20613;
}
em, i {
    font-style: italic; /*ΞΜ*/
}
em {
    border-bottom: 1px dashed #E20613;
}

/* text */
p {
    text-align: justify;
    margin: 0 0;
    padding: 0rem 0;
    line-height: 1.5rem; /*sΤ*/
}
h1, h2, h3, h4, h5, h6 {
    text-align: center;
    font-family: "Hiragino Sans W3", "Hiragino Kaku Gothic ProN", "qMmpS ProN W3", "CI", Meiryo, sans-serif;
    font-weight: 400;
    line-height: 1.5rem;
    letter-spacing: 0.25em; /*ΆΤu*/
    color: var(--text-color-headline);
}
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
    border-bottom: 0;
    color: inherit;
    text-decoration: none;
}
h1 {
    font-size: 2rem;
    line-height: 1.1;
    margin: 1rem 0rem 1rem;
}
h2 {
    font-size: 1.5rem;
    line-height: 1.3;
    margin: 1rem 0rem 1rem;
}
h3 {
    font-size: 1.3rem;
    margin: 1rem 0rem 1rem;
}
h4 {
    font-size: 1.2rem;
    margin: 1rem 0rem 1rem;
}
h5 {
    font-size: 1.1rem;
    margin: 1rem 0rem 1rem;
}
h6 {
    font-size: 1.05rem;
    margin: 1rem 0rem 1rem;
}

/*-------------------- index --------------------*/

/* wrapper */
.wrapper {
    text-align: center;
    margin: 5rem auto;
    padding: 1rem;
}

/* head line */
h2,
aside h4 {
    font-family: 'Caveat', cursive;
}
h2 {
    display: inline-block;
    padding: 0 1rem .5rem;
    border-bottom: 1px solid #1b262c;
}

/* aside */
aside {
    position: relative;
    display: block;
    text-align: center;
    max-width: 400px;
    margin: 2.5rem auto;
    padding: 1rem;
    background: #eee;
}
aside h4 {
    position: absolute;
    top: -1.7rem;
}

/* index */
.wrapper > div {
    max-width: 700px;
    margin: 0 auto;
}
.wrapper > div a {
    margin: 0; 
    padding: 0;
    border-bottom: none;
}
.wrapper > div img {
    object-fit: cover;
    vertical-align: middle;
    width: 50px;
    height: 150px;
    margin-bottom: .2rem;
    -webkit-transition: .3s;
    -moz-transition: .3s;
    -o-transition: .3s;
    -ms-transition: .3s;
    transition: .3s;
}
.wrapper div a:hover img {
    opacity: .6;
    width: 60px;
}

/* sub page */
.sub-page {
    margin: 2rem auto 2rem;
}
.sub-page > img {
    max-width: 400px;
    width: 100%;
    height: auto;
    margin: 2rem auto 0;
}
.sub-page aside {
    text-align: left;
}
time {
    display: inline-block;
    margin-bottom: .5rem;
    border-bottom: 1px solid #1b262c;
}

/* pagination */
ul.pagination {
    list-style: none;
    display: inline-block;
    position: relative;
    text-align: center !important;
    height: 2rem;    
    margin: 3rem auto 2rem;
    padding: 0rem 2rem;
    line-height: 2rem;
    transition: all .5s;
    background: #eee;
}
ul.pagination:before,
ul.pagination:after {
    content: '';
    top: 0;
    width: 0;
    height:0;
    border-style: solid;
    position: absolute;
}
ul.pagination:before {
    left:0;
    border-width: 1rem 0 1rem 10px;
    border-color: transparent transparent transparent #fff;
}
ul.pagination:after {
    right:0;
    border-width: 1rem 10px 1rem 0;
    border-color: transparent #fff transparent transparent;
}
ul.pagination > li {
    display: inline-block;
    margin: 0 20px 0 0;
    font-size: 11px;
}
ul.pagination > li a {
    border: none;
    color: #9f6f8b;
}
ul.pagination > li:last-child {
    margin: 0 0;
}

/* radio */
[type="checkbox"],
[type="radio"] {
    display: none;
}
[type="checkbox"] + label ,
[type="radio"] + label {
    cursor: pointer;
    user-select: none;
}

nav {
    display: block;
    max-width: 700px;
    margin: 0 auto 2rem;
}
nav p {
    text-align: center;
}
label[for^="img_"] {
    display: inline-block;
    position: relative;
    padding: 0 .5rem;
    margin: 0 .5rem;
    line-height: 1.2rem;
    height: 1.2rem;
    border-radius: 0;
    background-color: #eee;
    color: ;
}
label[for^="img_"]::before {
    border: .6rem solid transparent;
    border-left-color: #eee;
    border-right-width: 0;
    content: '';
    display: block;
    height: 0;
    position: absolute;
    right: -.6rem;
    top: 0;
    width: 0;
}

#img_all:checked ~ nav p label[for="img_all"],
#img_ocean:checked ~ nav p [for="img_ocean"],
#img_flower:checked ~ nav p [for="img_flower"],
#img_other:checked ~ nav p [for="img_other"] {
    background-color: #9f6f8b;
    color: #fff;
}
#img_all:checked ~ nav p [for="img_all"]::before,
#img_ocean:checked ~ nav p [for="img_ocean"]::before,
#img_flower:checked ~ nav p [for="img_flower"]::before,
#img_other:checked ~ nav p [for="img_other"]::before {
    border-left-color: #9f6f8b;
}

.wrapper div > a {
    display: none;
}
#img_all:checked ~ div > a,
#img_ocean:checked ~ div > a[data-img*="ocean"],
#img_flower:checked ~ div > a[data-img*="flower"],
#img_other:checked ~ div > a[data-img*="other"] {
    display: inline-block !important;
}
                