/*
Theme Name: poeme
*/
@charset "utf-8";

.fv {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 400px;
    margin: 0 0 35px;
    width: 100%;
}

.post-detail {
    margin: 0 0 80px;
}
.post-detail__head {
    margin: 0 0 25px;
}
.post-detail__head h1 {
    font-size: 30px;
    font-weight: 500;
	display: inline;
	background: linear-gradient(transparent 0%, transparent 60%, #f5d5d8 60%, #f5d5d8 100%);
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
}
.post-detail__info {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin: 25px 0 0;
}
.post-category {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-left: 45px;
}
.post-category .cat:not(:last-child) {
    margin-right: 10px;
}
.post-detail__body p {
    font-size: 16px;
    line-height: 1.8em;
    margin: 0 0 30px;
}
.post-detail__body .wp-block-image {
    margin: 0 0 30px;
}
.post-detail__body h2 {
	width: 100%;
	background-color: #de0057;
	font-size: 22px;
	line-height: 1.5;
	color: #fff;
	padding: 10px 10px;
	margin: 0 0 20px;
}
.post-detail__body h3 {
	width: 100%;
	color: #de0057;
	font-size: 16px;
	line-height: 1.5;
	padding: 10px 0;
	margin: 0 0 20px;
	border-top: solid 1px #de0057;
	border-bottom: solid 1px #de0057;
}

.post-social {
    margin: 25px 0 0;
}
.post-social ul {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3px;
}
.post-social ul li.facebook {
    background: #0866ff;
}
.post-social ul li.x {
    background: #000;
}
.post-social ul li.line {
    background: #06c755;
}
.post-social ul li.instagram {
    background: #d22fc2;
}
.post-social ul li a {
    display: block;
    line-height: 0;
    padding: 6px 0;
    text-align: center;
    width: 100%;
}
.post-social ul li a img {
    height: 20px;
}

@media screen and (max-width: 968px) {
    .post-social ul {
        grid-template-columns: repeat(2, 1fr);
    }
}


.post-tag {
    margin: 25px 0 0;
}
.post-tag__list {
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    gap: 10px;
}
.post-tag__list li a {
    border: 2px solid var(--main-text-color);
    border-radius: 8px;
    display: block;
    font-size: 16px;
    padding: 2px;
    text-align: center;
}

@media screen and (max-width: 968px) {
    .post-tag__list {
        grid-template-columns: repeat(6, 1fr);
    }
}
@media screen and (max-width: 768px) {
    .post-tag__list {
        grid-template-columns: repeat(4, 1fr);
    }
}


.article-navigation {
    margin: 25px 0 0;
}
.article-navigation__list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}
.article-navigation__list li {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
.article-navigation__list li a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    padding: 15px;
    position: relative;
}
.article-navigation__list li a::before {
    background: rgb(0 0 0 / 70%);
    content: "";
    display: block;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
}
.article-navigation__list li a p {
    color: #fff;
    position: relative;
    z-index: 1;
}
.article-navigation__txt {
    font-size: 12px;
    margin: 0 0 8px;
}
.article-navigation__ttl {
    font-size: 16px;
    font-weight: 600;
}
@media screen and (max-width: 968px) {
    .article-navigation__list {
        gap: 20px;
    }
}
@media screen and (max-width: 768px) {
    .article-navigation__list {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}


.related-post {
    margin: 35px 0 0;
}
.wp-block__head {
    display: flex;
    align-items: center;
    margin: 0 0 25px;
}
.wp-block__head:before,
.wp-block__head:after {
    content: "";
    height: 1px;
    flex-grow: 1;
    background-color: #666;
}
.wp-block__head:before {
    margin-right: 1rem;
}
.wp-block__head:after {
    margin-left: 1rem;
}
.wp-block__head h2,
.wp-block__head p {
    font-size: 30px;
    font-weight: 400;
}

@media screen and (max-width: 768px) {
    .wp-block__head h2,
    .wp-block__head p {
        font-size: 24px;
    }
}


.column-items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}
.column-item {
    padding-bottom: 21px;
    position: relative;
}
.column-item__ttl {
    display: -webkit-box;
    font-size: 14px;
    line-height: 1.5em;
    margin: 6px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}
.column-item__date {
    display: block;
    font-size: 14px;
    position: absolute;
    bottom: 0;
    left: 0;
    text-align: center;
    width: 100%;
}

@media screen and (max-width: 968px) {
    .column-items {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media screen and (max-width: 968px) {
    .column-items {
        gap: 15px;
    }
}

.sidebar-newarrival__item:not(:last-child) {
    margin: 0 0 20px;
}
.sidebar-newarrival__item a {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
}
.newarrival-item__image {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 85px;
    width: 85px;
}
.newarrival-item__text {
    width: calc(100% - 100px);
}
.newarrival-item__ttl {
    display: -webkit-box;
    font-size: 16px;
    line-height: 1.8em;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.category-list__item:not(:last-child) {
    margin: 0 0 8px;
}


.category-inner {
    margin: 0 auto;
    width: 92%;
    max-width: var(--main-column);
}


.complete-txt {
    font-size: 18px;
    line-height: 1.8em;
    text-align: center;
}

.contact-form {
    margin: 0 auto;
    width: 85%;
}
.contact-list__item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 20px 0;
}
.contact-list__item:not(:last-child) {
    border-bottom: 1px solid #ccc;
}
.contact-list__item.policy-list__item {
    text-align: center;
}
.contact-list__item.submit-list__item {
    padding: 45px 0 20px;
}
.contact-list__item dt {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 220px;
}
.contact-list__item dt::after {
    color: #888888;
    content: "任意";
    display: block;
    font-size: 14px;
    padding: 2px 10px;
    width: 100%;
    max-width: max-content;
}
.contact-list__item.required dt::after {
    background: var(--main-theme-color);
    color: #fff;
    content: "必須";
    display: block;
    font-size: 14px;
    padding: 2px 10px;
    width: 100%;
    max-width: max-content;
}
.contact-list__item dt label {
    font-size: 14px;
    font-weight: 400;
}
.contact-list__item dd {
    width: calc(100% - 245px);
}
.contact-list__item.policy-list__item dd,
.contact-list__item.submit-list__item dd {
    width: 100%;
}
.wpcf7-not-valid-tip {
    display: none;
}
.contact-list__item dd input[type="text"],
.contact-list__item dd input[type="email"],
.contact-list__item dd input[type="tel"],
.contact-list__item dd textarea,
.contact-list__item dd input[type="submit"],
.contact-list__item dd select {
    background: none;
    border: 1px solid var(--main-theme-color);
    border-radius: 0;
    display: block;
    font-size: 16px;
    outline: none;
    padding: 10px;
    width: 100%;
}
.contact-list__item dd select {
    max-width: 250px;
}
.contact-list__item .wpcf7-form-control-wrap {
    display: flex;
    flex-direction: column-reverse;
}
.contact-list__item .wpcf7-not-valid-tip {
    color: #dc3232;
    font-size: 14px;
    margin: 0 0 5px;
}
.contact-list__item dd input[aria-invalid="true"],
.contact-list__item dd textarea[aria-invalid="true"],
.contact-list__item dd select[aria-invalid="true"] {
    background: #dc32321d;
}
span.wpcf7-list-item.first.last label {
    cursor: pointer;
}
.contact-list__item.submit-list__item dd input {
    background: #da0057;
    background-image: var(--arrow-icon-white-right);
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 10px;
    border: 2px solid #f098bb;
    border-radius: 20px;
    color: #fff;
    cursor: pointer;
    display: block;
    font-size: 20px;
    margin: 0 auto;
    padding: 25px 10px;
    width: 100%;
    max-width: 300px;
}
.contact-list__item.submit-list__item dd input.return-btn {
    background: #ccc;
    border: 0;
    border-radius: 14px;
    padding: 10px;
    max-width: 280px;
}
.contact-list__item.submit-list__item dd input:hover {
    opacity: .8;
}
span.wpcf7-list-item-label a {
    color: var(--link-color);
}

.birthday-flex {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}
.birthday-flex__item p {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
.birthday-flex__item p .wpcf7-form-control-wrap {
    width: calc(100% - 21px);
}
.birthday-flex__item p span {
    margin-left: 5px;
    width: 21px;
}
@media screen and (max-width: 968px) {
    .contact-form {
        width: 92%;
    }
    .contact-list__item dt {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 0 8px;
        width: 100%;
    }
    .contact-list__item.required dt::before {
        display: inline-block;
        margin-right: 8px;
    }
    .contact-list__item dt label {
        font-size: 14px;
    }
    .contact-list__item dd {
        width: 100%;
    }
}


.page-row__body.block-body {
    background: #fff;
    padding: 35px 0;
}

.policy {
    margin: 50px 0 0;
    width: 100%;
}
.wpcf7-list-item .policy {
    margin: 0;
}
.policy h3 {
    border-bottom: 1px solid #f5d5d8;
    font-size: 24px;
    margin: 0 0 10px;
    padding: 0 0 10px;
    text-align: center;
}
.policy-content {
    height: 400px;
    line-height: 1.8em;
    overflow-y: auto;
    text-align: left;
}


.policy-list__item .wpcf7-list-item {
    margin: 0;
    width: 100%;
}
.policy-list__item .wpcf7-list-item label {
    background: #f5d5d8;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12px 10px;
    width: 100%;
}
.policy-list__item .wpcf7-list-item label::before {
    content: "";
    display: block;
}
.policy-list__item .wpcf7-list-item label input {
    display: none;
    width: auto;
}
.policy-list__item .wpcf7-list-item label .wpcf7-list-item-label {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}
.policy-list__item .wpcf7-list-item label .wpcf7-list-item-label::before {
    background: #fff;
    border: 1px solid #888;
    content: "";
    display: block;
    height: 15px;
    width: 15px;
}
.policy-list__item .wpcf7-list-item label input:checked~.wpcf7-list-item-label::after {
    content: '';
    width: 10px;
    height: 5px;
    border-left: 2px solid var(--main-theme-color);
    border-bottom: 2px solid var(--main-theme-color);
    margin: auto;
    position: absolute;
    left: 2px;
    top: 0;
    bottom: 1px;
    transform: rotate(-45deg);
}

.pagination {
    margin: 100px 0;
}
.nav-links {
    display: flex;
    justify-content: center;
    align-items: stretch;
}
.nav-links .page-numbers {
    background: #ccc;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 19px;
    height: 40px;
    margin: 0 5px;
    width: 40px;
}
.nav-links .page-numbers.current {
    background: var(--main-theme-color);
    color: #fff;
}
@media screen and (max-width: 768px) {
    .pagination {
        margin: 65px 0;
    }
    .nav-links .page-numbers {
        font-size: 16px;
        height: 30px;
        margin: 0 3px;
        width: 30px;
    }
}