*{
	box-sizing: border-box;
}
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-size: 100%;
	vertical-align: baseline;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
a {
	text-decoration: none;
	outline: none;
}
img {
	max-width: 100%;
	height: auto;
	display: inline-block;
	vertical-align: middle;
	outline: none;
}

/*--------------------------------------------------------------*/

*{
    color: #7e7779;
}

.wrapper {
    display: flex;
    justify-content: space-between;
    background: #fffafb;
}
.page-main {
    max-width: 640px;
    width: 100%;
    margin: 0 auto;
    box-shadow: 0 0 8px rgb(125 0 0 / 20%);
}
.site-logo, .site-qr {
    width: calc(100% - 640px/2);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    position: sticky;
    top: 0;
}
.site-logo>img {
    max-width: 280px;
    filter: drop-shadow(0 0 4px rgb(125 0 0 / 20%));
}
.site-qr>img {
    max-width: 220px;
    filter: drop-shadow(0 0 4px rgb(125 0 0 / 20%));
}
@media (max-width: 940px) {
    .site-logo, .site-qr {
        display: none;
    }
    
}



header {
    background: #ffcccc;
    position: sticky;
    top: 0;
    z-index: 4;
    box-shadow: 0 0 8px rgb(125 0 0 / 20%);
}

.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 16px 8px;
}
.header-logo {
    height: 40px;
    width: auto;
}
.header-buttons {
    display: flex;
    align-items: center;
    gap: 8px;
}
button.header-button {
    padding: 0;
    width: 40px;
    height: 40px;
}
.header-text {
    text-align: center;
    padding-bottom: 8px;
    font-size: 12px;
}
nav.header-nav {
    background: #FCEFF2;
    display: flex;
    align-items: center;
    padding: 8px 16px;
    gap: 16px;
}
a.header-nav-item {
    font-weight: bold;
    color: #7e7779;
    font-size: 12px;
    padding: 4px 0;
}
main {
    padding: 48px 16px;
}

h2 {
    font-size: 1.25em;
    text-align: center;
}

.category-list {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 16px;
}

a.category-item {
    background: #FCEFF2;
    padding: 1em 0;
    width: calc((100% - 16px*1)/2);
    border-radius: 10px;
    text-align: center;
    color: #7e7779;
}
a.category-item-more {
    width: 100%;
    background: #FCEFF2;
    padding: 1em 0;
    border-radius: 10px;
    text-align: center;
    color: #7e7779;
}

section+section {
    margin-top: 64px;
}

.tag-list {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.tag-item {
    padding: 0.5em 1em;
    border: 1px solid #ffcccc;
    border-radius: 50px;
    background: #FFF;
    color: #7e7779;
    font-size: 0.8em;
}

.search-form {
    margin-top: 16px;
}
.search-form>form {
    position: relative;
}
.search-form button {
    color: unset;
    background: transparent;
    border: none;
    position: absolute;
    right: 0;
    padding: 0;
    width: 40px;
    height: 40px;
}

.header-button {
    padding: 0;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    position: relative;
}
.search-form input {
    width: 100%;
    height: 40px;
    border: 1px solid #bdbabb;
    border-radius: 5px;
}

.title-sabtext {
    display: block;
    margin-top: 16px;
    text-align: center;
    font-size: 0.8em;
}

.stamp-list {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 16px;
}

.stamp-item {
    width: calc((100% - 16px* 1) / 2);
    border-radius: 10px;
    box-sizing: border-box;
    overflow: hidden;
    border: 1px solid #ffcccc;
    position: relative;
}
.stamp-title {
    padding: 0.5em 1em;
    background: #fcc;
    font-size: 14px;
    line-height: 1.25em;
}
.stamp-image {
    padding: 16px;
    background: #FFF;
}
.stamp-likes {
    position: absolute;
    bottom: 4px;
    right: 4px;
}

footer {
    padding: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fcc;
}

.wpulike-heart .wp_ulike_general_class {
    border: none;
    background: none;
}
.wpulike-heart .wp_ulike_btn.wp_ulike_put_image, #buddypress .activity-content .wpulike-heart .wp_ulike_btn.wp_ulike_put_image, #bbpress-forums .bbp-reply-content .wpulike-heart .wp_ulike_btn.wp_ulike_put_image {
    padding: 20px !important;
    border-radius: 100%;
    background: rgb(255 255 255 / 80%);
}
.wpulike-heart .wp_ulike_btn.wp_ulike_put_image, #buddypress .activity-content .wpulike-heart .wp_ulike_btn.wp_ulike_put_image, #bbpress-forums .bbp-reply-content .wpulike-heart .wp_ulike_btn.wp_ulike_put_image{
    background-image: url(https://www.girlsheaven-job.net/kikaku/diary-stamps/wp-content/themes/original_theme/image/heart.svg) !important;
    background-size: 45% !important;
    background-position-y: 8px !important;
}
.wpulike-heart .count-box {
    position: absolute;
    z-index: 1;
    right: 50%;
    bottom: 0px;
    transform: translateX(50%);
    font-size: 12px;
    color: #7e7779;
    font-weight: bold;
    pointer-events: none;
}
.glass-icon {
    display: inline-block;
    position: relative;
    width: 1em;
    height: 1em;
    color: #FFFFFF;
    font-size: 28px;
    z-index: 1;
    top: 2px;
}
.search-form .glass-icon {
    color: #fcc;
}
.glass-icon::before {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 0.7em;
    height: 0.7em;
    box-sizing: border-box;
    border: 0.15em solid currentColor;
    border-radius: 50%;
    background-color: #fcc;
    content: "";
    z-index: 2;

}
.header-button .glass-icon::before {
    background-color: #fcc;
}
.search-form .glass-icon::before {
    background-color: #FFFFFF;
}
.glass-icon::after {
    position: absolute;
    top: 0px;
    left: 50%;
    z-index: 0;
    transform: rotate(-45deg);
    width: 0.15em;
    height: 1em;
    box-sizing: border-box;
    background-color: currentColor;
    content: "";
}


.menu-icon {
    width: 75%;
    height: 3px;
    background: #FFF;
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}
.menu-icon:after {
    content:"";
    width: 100%;
    height: 3px;
    background: #FFF;
    display: block;
    position: absolute;
    top: 8px;
}
.menu-icon:before {
    content:"";
    width: 100%;
    height: 3px;
    background: #FFF;
    display: block;
    position: absolute;
    bottom: 8px;
}
.stamp-inner.js-OpenStampModal {
    cursor: pointer;
}
.stamp-modal {
    position: fixed;
    max-width: 480px;
    max-height: 80vh;
    background: #FFF;
    width: 90%;
    padding: 0 0 24px;
    top: 50%;
    left: 50%;
    z-index: 10;
    transform: translate(-50%,-50%);
    border-radius: 10px;
    box-shadow: 0 0 16px rgb(125 0 0 / 20%);
    display: none;
    overflow-y: overlay;
}
.stamp-modal.is-active {
    display: block;
}
.stamp-modal-close {
    position: absolute;
    right: 0;
    top: -0;
    font-size: 40px;
    z-index: 5;
    cursor: pointer;
}

.stamp-modal-title {
    height: 40px;
    background: #fcc;
    display: flex;
    align-items: center;
    padding: 0 40px 0 16px;
    border-radius: 10px 10px 0 0;
    position: sticky;
    top: 0;
}

.stamp-modal-image {
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stamp-modal-text {
    text-align: center;
}

.stamp-modal-tags {
    display: flex;
    margin-top: 16px;
    padding: 0 16px;
    gap: 8px;
    flex-wrap: wrap;
}
.footer-logo {
    max-width: 200px;
}
.stamp-filter {
    margin-top: 8px;
    display: flex;
    flex-direction: row-reverse;
}
.stamp-filter-button {
    padding: 4px 8px;
    background: #FFF;
    border: 2px solid #FCC;
    display: flex;
    align-items: center;
    gap: 4px;
    border-radius: 5px;
    font-size: 12px;
    color: #7e7779;
    cursor: pointer;
}
.stamp-filter-button>img {
    width: 18px;
    filter: contrast(0.5);
}

.page-numbers {
    display: flex;
    align-items: center;
    margin-top: 24px;
    justify-content: center;
    gap: 8px;
}

.page-numbers .page-numbers {
    display: flex;
    width: 32px;
    height: 32px;
    align-items: center;
    justify-content: center;
    border: 2px solid #FCC;
    color: #7e7779;
    background: #FFF;
    border-radius: 5px;
    font-size: 12px;
    font-weight: bold;
}
.stamp-filter {
    display: flex;
    flex-direction: row-reverse;
    margin-top: 8px;
}
.stamp-filter-button {
    display: flex;
    align-items: center;
    gap: 4px;
    border: 2px solid #FCC;
    border-radius: 5px;
    padding: 4px 8px;
    background: #FFF;
    color: #7e7779;
}
.stamp-filter-button>img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    filter: contrast(0.5);
}

.filter-modal.is-active {
    display: flex;
    top: 0;
    left: 0;
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 5;
}
.filter-modal-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(0 0 0 /10%);
}
.filter-modal {
    display: none;
}

.filter-modal-body {
    display: flex;
    flex-direction: column;
    padding: 16px;
    border-radius: 10px;
    background: #FFF;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 90%;
    max-width: 480px;
    max-height: 80vh;
    gap: 16px;
}
.filter-modal-taglist {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    max-height: 200px;
    overflow-y: overlay;
}
.filter-modal-tag {
    border: 1px solid;
    border-radius: 50px;
    padding: 2px 12px;
    background: #FFF;
}
.filter-modal-selected {
    border-top: 1px solid #DDD;
    padding-top: 16px;
}
.filter-modal-selected-body {
    padding-top: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.filter-modal-footer {
    border-top: 1px solid #DDD;
    padding-top: 16px;
}
.filter-modal-search {
    width: 100%;
    border-radius: 50px;
    border: none;
    background: #FCC;
    font-weight: bold;
    font-size: 16px;
    padding: 8px 0;
}
.stamp-filter-selected {
    margin-top: 16px;
}
.stamp-filter-selected-body {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}.stamp-filter-selected-tag {
    border: 1px solid;
    border-radius: 50px;
    padding: 6px 12px;
    background: #FFF;
    font-size: 12px;
}
.stamp-filter-selected-tag:before {
    content: "×";
    margin-right: 4px;
    font-weight: bold;
    display: inline-block;
}
.filter-modal-tag.js-filterModalTag.is-hidden {
    display: none;
}

.search-modal-body {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 90%;
    max-width: 480px;
    max-height: 80vh;
    gap: 16px;
}
.search-modal.is-active {
    display: flex;
    top: 0;
    left: 0;
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 5;
}
.search-modal-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(0 0 0 /10%);
}
.search-modal {
    display: none;
}
.search-modal-body>form {
    position: relative;
}
.search-modal-body button {
    color: unset;
    background: transparent;
    border: none;
    position: absolute;
    right: 0;
    padding: 0;
    width: 40px;
    height: 40px;
}
.search-modal-body input {
    width: 100%;
    height: 40px;
    border: 1px solid #bdbabb;
    border-radius: 5px;
}
.search-modal-body .glass-icon {
    color: #fcc;
}
.search-modal-body  .glass-icon::before {
    background-color: #FFFFFF;
}

.no-stamp {
    padding: 16px;
    text-align: center;
    background: #FFF;
    border: 1px solid #fcc;
    margin-top: 24px;
    font-size: 14px;
}
.questionnaire-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 16px;
}
.questionnaire-item {
    font-weight: bold;
    border: 1px solid #FCD;
    padding: 8px 16px;
    background: #FFF;
    border-radius: 5px;
}

