@charset "utf-8";

/*
Theme Name: MY BLOG
Theme URI:
Author: Mikoto Yamanaka
Author URI:
Description: 不思議の国のアリスがコンセプトです。
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

body {
    font-size: 16px;
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    line-height: 1.2;
    letter-spacing: 0.05em;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

.inner {
    max-width: 1366px;
    width: 90.1%;
    margin-left: auto;
    margin-right: auto;
}

/*header*/
header {
    margin-bottom: 46px;
    padding: 10px 20px 10px 0;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    width: 100%;
    color: #edd2f0;
    background-color: rgba(255, 255, 255, 0.8);
}

header .inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}


header i {
    font-size: 30px;
}

header i:hover {
    color: #9e005d;
}

/*read*/
.read {
    padding-top: 60px;
    background-color: #f3db6b;
}

.read .inner {
    width: 370px;
    padding: 60px 0 105px 40px;
    background: url(./blog_design/read.png) no-repeat center center;
}

.read p {
    margin-top: auto;
    font-size: 14px;
    line-height: 1.5em;
}

.main {
    background-color: #60c8ee;
}

.list2,
.list {
    font-family: "Kaisei Opti", serif;
    color: #000;
    font-size: 18px;
    margin-bottom: 60px;
    text-align: center;
}

.list2 {
    margin-top: 100px;
    font-size: 30px;
}

/*page*/
.page {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.page a {
    margin: 0 15px;
    padding: 20px 25px;
    width: 60px;
    height: 60px;
    background-color: #fff;
    border-radius: 50%;
}

.page a:hover {
    background-color: #f3db6b;
    border: #000 solid 2px;
}

.children {
    margin-left: 30px;
}

/*footer*/
.category {
    padding: 40px 0;
    position: relative;
    color: #000;
    background-color: #fff;
    font-size: 12px;
    line-height: 3;
}

.category .inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.category .inner :hover {
    text-decoration: underline;
}

.category .inner h4 {
    pointer-events: none;
}

.copyright {
    padding: 60px 0;
    color: #fff;
    background-color: #000;
}

.copyright .inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hair {
    background-color: #f3db6b;
    padding-top: 100px;
}

.ribon {
    display: block;
    margin-left: auto;
    margin-right: auto;
    animation: poyopoyo 2s ease-out infinite;
    opacity: 1;
}

@keyframes poyopoyo {

    0%,
    40%,
    60%,
    80% {
        transform: scale(1.0);
    }

    50%,
    70% {
        transform: scale(0.95);
    }
}


/*スマホ・パソコン共通*/
/*profile*/
.spade1 {
    position: absolute;
    top: -40px;
    right: 42%;
}

.spade1::before {
    content: url(./blog_design/spade.png);
}

.profile h2 {
    margin-bottom: 40px;
    font-size: 20px;
}

.profile h2::after {
    content: "";
    display: block;
    margin: 2px auto 0 auto;
    width: 184px;
    border-top: solid #808080 1px;
}

.spear1 {
    position: absolute;
    top: 0;
    left: 5px;
}

.spear2 {
    position: absolute;
    top: 0;
    right: 5px;
}

/*blog*/
.blog .article1 {
    position: relative;
}

.blog article:hover {
    animation: mochimochi 1s infinite;
    animation-iteration-count: 1;
}

@keyframes mochimochi {
    0% {
        transform: scale(1, 1);
    }

    20% {
        transform: scale(1, 1.1);
    }

    90% {
        transform: scale(1, 1);
    }

    100% {
        transform: scale(1, 1);
    }
}

.blog .heart::before {
    content: url(./blog_design/mobile_heart.png);
    position: absolute;
    top: -4%;
    left: 42%;
}


.blog .date {
    padding-top: 20px;
    background-color: transparent;
    pointer-events: none;
}

.line1::after {
    content: url(./blog_design/mobile_line.png);
    top: 20px;
}

.blog a {
    padding-top: 3px;
    display: inline-block;
}

.blog a:hover {
    text-decoration: underline;
}

.line2::after {
    content: url(./blog_design/mobile_line.png);
    top: 90px;
}

[data-link] {
    cursor: pointer;
}

.blog .tag {
    display: inline-block;
    margin-top: 20px;
    background-color: #f3db6b;
    border-radius: 15px;
    padding: 5px;
}

.blog .tag:hover {
    color: #f3db6b;
    background-color: #000;
}

/*single*/
.article h2 {
    padding-top: 60px;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
}

.article h3 {
    margin: 50px 25px 0 15px;
    padding: 10px 0 10px 10px;
    font-size: 14px;
    font-weight: bold;
    border: #ff0000 solid;
    border-width: 3px;
    border-radius: 10px;
}

.content h3 {
    padding-bottom: 10px;
    font-size: 16px;
    text-align: center;
}

.content li {
    padding-bottom: 5px;
    font-size: 14px;
}

.content li:hover {
    text-decoration: underline;
    color: #ff0000;
    font-weight: bold;
}

.addtoany_share_save_container {
    text-align: center;
    padding-top: 30px;
}

.comment textarea {
    padding: 20px;
}

.submit {
    display: inline-block;
    margin: 20px auto 60px;
    padding: 14px 16px;
    width: 100px;
    height: 45px;
    color: #fff;
    background-color: #000;
    border-radius: 30px;
}

.reply {
    display: inline-block;
    color: #fff;
    background-color: #000;
    text-align: right;
    border-radius: 30px;
    padding: 10px;
}

.submit:hover {
    color: #000;
    background-color: #fff;
    animation: poyoyon2 1s ease-in-out forwards;
    animation-iteration-count: 1;
}

@keyframes poyoyon2 {
    0% {
        transform: scale(1.0, 1.0) translate(0, 0);
    }

    15% {
        transform: scale(0.98, 0.9) translate(0, 5px);
    }

    30% {
        transform: scale(1.02, 1.0) translate(0, 8px);
    }

    50% {
        transform: scale(0.98, 1.05) translate(0, -8px);
    }

    70% {
        transform: scale(1.0, 0.9) translate(0, 5px);
    }

    100% {
        transform: scale(1.0, 1.0) translate(0, 0);
    }

    0%,
    100% {
        opacity: 1;
    }
}

#coment-2 {
    padding: 20px;
}

/*スマホサイズ390px*/
/*toppage*/
header ul {
    display: flex;
}

header li {
    margin-left: 30px;
}

/*main*/
.main {
    padding: 100px 0;
    border-image: url(./blog_design/frame.png) 49/12px round;
}

/*profile*/
.profile .inner {
    margin-top: 44px;
    padding-top: 30px;
    position: relative;
    background: #fff url(./blog_design/mobile_icon.png) no-repeat left 40px bottom 25px;
    width: 354px;
    height: 226px;
    border-radius: 34px;
    text-align: center;
}

.profile dl {
    margin-left: 137px;
    padding-top: 10px;
    display: flex;
    justify-content: space-between;
    width: 184px;
    border-bottom: solid #808080 1px;
    font-size: 11px;
}

.profile dt {
    padding-right: 60px;
}

.spear1::before {
    content: url(./blog_design/mobile_spear1.png);
}

.spear2::after {
    content: url(./blog_design/mobile_spear1.png);
}

/*blog*/
.blog article {
    margin: 52px auto 61px;
    padding: 42px 0;
    width: 217px;
    height: 338.52px;
    background-color: #fff;
    border-radius: 24px;
    font-size: 13px;
    text-align: center;
}

article img {
    margin: auto;
}

.article img {
    margin-left: none;
}

.nosingle {
    position: relative;
    margin-top: 50px;
    margin-left: auto;
    margin-right: auto;
    padding: 50px 120px;
    color: #000;
    background-color: #fff;
    border: #000 solid 4px;
    border-radius: 30px;
    text-align: center;
}


.heart2::before {
    position: absolute;
    content: url(./blog_design/heart2.png);
    top: -25px;
    left: 43%;
}

/*singlepage*/
.post-contents {
    text-align: left;
}

.post-contents {
    font-size: 14px;
    line-height: 2em;
    padding-top: 10px;
}

.article .inner {
    width: 350px;
    background-color: #fff;
    border-radius: 25px;
}

.article .mobile {
    margin: 20px 87.5px;
}

.article .content {
    margin: 0 50px 25px;
    padding: 5px;
    width: 250px;
    color: #000;
    border: #ff0000 solid;
    border-width: 4px;
    border-radius: 10px;
}


.content h3 {
    color: #000;
}

.article p {
    padding: 30px 30px 10px;
}

/* .comment {
    margin: 10px auto;
} */

#comment,
#author,
#email,
.comment-body {
    width: 100%;
    margin-bottom: 20px;
    background-color: #fff;
    border-radius: 20px;
    padding: 10px;
}

.comment-respond,
.comments-list {
    width: 350px;
    margin-left: auto;
    margin-right: auto;
}

.comment-form {
    margin-top: 50px;
}

textarea {
    padding: 25px;
}

h4 {
    font-size: 16px;
    font-weight: bold;
}

.error {
    background: #60c8ee url(./blog_design/404.png);
    height: 90vh;
}

#s {
    color: #d3d3d3;
}

.modal {
    width: 100%;
    height: 100vh;
    background-color: rgba(237, 210, 240, 0.8);
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
    display: none;
    justify-content: center;
    align-items: center;
}

.modal.is-active {
    display: flex;
    z-index: 9999;
}

.modal:before {
    content: "";
    display: inline-block;
    vertical-align: middle;
}

.modal-open {
    position: fixed;
    cursor: pointer;
}

.modal.is-active {
    opacity: 1;
    visibility: visible;
}

.modal:before {
    content: "";
    display: inline-block;
    vertical-align: middle;
    height: 100%;
    margin-left: -0.2em;
}

/* モーダル内側の指定 */
.modal-container {
    position: relative;
    display: inline-block;
    vertical-align: middle;
}

.modal-close {
    position: absolute;
    top: -25px;
    right: -20px;
    width: 40px;
    height: 40px;
    color: #edd2f0;
    background: #9e005d;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    padding-left: 15px;
}

.modal-content {
    background-color: #fff;
    border-radius: 50px;
    padding: 10px 20px;
}

/*パソコンサイズ390px以上*/
@media(min-width:1000px) {

    /*toppage*/
    .main {
        padding: 100px 0;
        border-image: url(./blog_design/frame.png) 43/12px round;
    }

    .profile .inner {
        width: 390px;
        height: 250px;
        background: #fff url(./blog_design/mobile_icon.png) no-repeat left 50px bottom 25px;
        border-radius: 34px;
    }

    .profile dl {
        margin-left: 158px;
    }

    .spear1::before {
        content: url(./blog_design/spear1.png);
        position: absolute;
        top: 10px;
        left: 5px;
    }

    .spear2::after {
        content: url(./blog_design/spear1.png);
        position: absolute;
        top: 10px;
        right: 5px;
    }

    .blog {
        /* display: flex;
        justify-content: space-between;
        flex-wrap: wrap; */
        /* align-items: center; */
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }

    .blog article {
        padding: 42px 0;
        width: 217px;
        height: 338.52px;
        background-color: #fff;
        border-radius: 24px;
        font-size: 13px;
        text-align: center;
    }

    .copyright {
        padding-bottom: 150px;
    }

    /*single*/
    .article .inner {
        width: 550px;
    }

    article img {
        margin: auto;
    }

    .article img {
        text-align: center;
    }

    .article .mobile {
        margin: 20px 187.5px;
    }

    .article .content {
        margin: 0 150px 25px;
    }

    .article h4 {
        padding-left: 50px;
    }

    .article p {
        padding: 50px 50px 0 50px;
        padding-bottom: 20px;
    }

    .comment {
        width: 550px;
    }

    .name {
        width: 550px;
    }

    .email {
        width: 550px;
    }

    .content h3 {
        margin: 0;
    }

    h3 {
        margin-top: 10px;
        margin-left: 200px;
    }

    .comment-respond,
    .comments-list {
        width: 550px;
        margin-left: auto;
        margin-right: auto;
    }

    .list {
        font-size: 30px;
    }
}