@charset "utf-8";

/* 基本設定 */

html {
    scroll-behavior: smooth;
}

body {
    font-family: "游明朝", YuMincho, "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
    font-size: 14px;
    line-height: 1.5;
    letter-spacing: 0em;
    color: #5a524d;
}

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

a {
    cursor: default;
}

body::selection {
    color: #f7dadf;
    background-color: #c8ae73;
}

/* ブログのサムネイル設定 */

.blog_thumbnail {
    aspect-ratio: 4/3;
    overflow: hidden;
    position: relative;
}

.blog_thumbnail img {
    min-width: 100%;
    object-fit: cover;
    object-position: center center;
    height: auto;
}

.blog_thumbnail p {
    color: #fff;
    width: 100%;
    height: 100%;
    margin: 0;
    position: absolute;
    left: 0;
    bottom: 0;
    background-color: rgba(222, 157, 175, 0.3);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
}

.blog_thumbnail p:hover {
    opacity: 1;
}

/* カテゴリータグ */

.category-tag a:hover {
    color: #de9daf;
    transition: 0.5s;
}

/* ページネーション */

.pagination {
    font-size: 16px;
    margin: 60px 0 0;
    display: flex;
    text-align: center;
    width: 100%;
    grid-column: 1 / -1;
    justify-content: center;
}

.pagination .page-numbers {
    margin: 0 5px;
}

.pagination .page-numbers:hover {
    color: #de9daf;
}

/* ハンバーガーメニュー */

.hamburger-overlay {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    width: 48px;
    height: 48px;
    border: none;
    background: transparent;
    cursor: pointer;
}

.hamburger-overlay__line {
    position: absolute;
    left: 11px;
    width: 26px;
    height: 2px;
    background-color: #fff;
    transition: all .6s;
}

.hamburger-overlay__line:nth-of-type(1) {
    top: 14px;
}

.hamburger-overlay__line:nth-of-type(2) {
    top: 23px;
}

.hamburger-overlay__line:nth-of-type(3) {
    top: 32px;
}

.hamburger-overlay.active .hamburger-overlay__line {
    background-color: #fff;
}

.hamburger-overlay.active .hamburger-overlay__line:nth-of-type(1) {
    transform: translateY(9px) rotate(-45deg);
}

.hamburger-overlay.active .hamburger-overlay__line:nth-of-type(2) {
    opacity: 0;
}

.hamburger-overlay.active .hamburger-overlay__line:nth-of-type(3) {
    transform: translateY(-9px) rotate(45deg);
}

.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(222, 157, 175, 0.5);
    visibility: hidden;
    opacity: 0;
    transition: all .6s;
    z-index: 900;
}

.nav-overlay.active {
    visibility: visible;
    opacity: 1;
}

.nav-overlay__content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
}

.nav-overlay__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-overlay__item {
    opacity: 0;
    transform: translateY(20px);
    transition: all .6s;
}

.nav-overlay.active .nav-overlay__item {
    opacity: 1;
    transform: translateY(0);
}

.nav-overlay.active .nav-overlay__item:nth-child(1) {
    transition-delay: 0.1s;
}

.nav-overlay.active .nav-overlay__item:nth-child(2) {
    transition-delay: 0.2s;
}

.nav-overlay.active .nav-overlay__item:nth-child(3) {
    transition-delay: 0.5s;
}

.nav-overlay.active .nav-overlay__item:nth-child(4) {
    transition-delay: 0.4s;
}

.nav-overlay__link {
    display: inline-block;
    padding: 20px;
    color: #fff;
    font-size: 24px;
    text-decoration: none;
    transition: color .3s;
}

.nav-overlay__link:hover {
    color: #c8ae73;
}


@keyframes fadeup {
    0% {
        transform: translateY(30px);
        opacity: 0;
    }

    80% {
        opacity: 1;
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.inner,
.navigation {
    width: 83.33%;
    max-width: 1000px;
    margin-right: auto;
    margin-left: auto;
}

/* ローディング画面 */


.loader-wrap {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #fff;
    z-index: 9999;
    text-align: center;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.loader-wrap.hide {
    opacity: 0;
    visibility: hidden;
}

.percent {
    font-size: 28px;
    font-weight: 500;
    color: #5a524d;
    margin-bottom: 14px;
}

.progress {
    width: 100%;
    max-width: 400px;
    height: 2px;
    background: #f7dadf;
    position: relative;
    overflow: hidden;
    margin: 0 auto;
}

.progress .fill {
    position: absolute;
    left: 0;
    top: 0%;
    bottom: 0;
    width: 0%;
    background: #de9daf;
    transition: width 220ms linear;
}

/* ヘッダー */

header {
    background-color: rgba(222, 157, 175, 0.8);
    color: #fff;
    padding: 20px;
    position: fixed;
    width: 100%;
    z-index: 9999;
    top: 0;
}

header img {
    width: 60px;
}

header .inner {
    display: grid;
    grid-auto-flow: column;
    justify-content: space-between;
    align-items: center;
}

header nav .big_header {
    display: grid;
    grid-auto-flow: column;
    column-gap: 25px;
    align-items: center;
}

header nav .big_header li {
    display: none;
}

header nav li:hover {
    color: #5a524d;
    transition: 0.5s;
}


/* mainvisual */

.mainvisual {
    animation: fadeup 1s cubic-bezier(0.33, 1, 0.68, 1) forwards;
    background-image: url(/blog/wp-content/themes/07_blog/images/mainvisual.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.mainvisual h2 {
    color: #c8ae73;
    font-size: 48px;
    text-align: center;
    padding: 155px 0 85px;
    font-weight: 600;
}

/* トップページのブログ欄 */

.myblog {
    animation: fadeup 1s cubic-bezier(0.33, 1, 0.68, 1) forwards;
    background-color: #f7dadf;
    background-image: url(/blog/wp-content/themes/07_blog/images/blog@2x.png);
    background-repeat: no-repeat;
    background-position: top 1% center;
    background-size: 100%;
    padding: 80px 0 120px;
}

.myblog h2 {
    font-size: 36px;
    margin: 100px 0;
    text-align: center;
}

.myblog h3 {
    font-size: 16px;
    margin: 10px 0 0 0;
}

.blog_title a {
    font-size: 16px;
    margin: 10px 0 0 0;
}

.blog_time {
    display: block;
    font-size: 14px;
    margin: 0;
}

.myblog .view {
    font-size: 20px;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.3);
    border: 2px solid #c8ae73;
    display: block;
    width: 150px;
    margin: 0 auto;
    padding: 10px 0;
    transition: 0.5s;
}

.myblog .view:hover {
    background-color: rgba(222, 157, 175, 0.8);
}


.myblog .new_blog {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 20%;
    row-gap: 100px;
}

.myblog .desktop {
    display: none;
}

.myblog .new_blog article:nth-child(2n+1)::after {
    content: "";
    display: block;
    width: 100%;
    border-bottom: 15px solid #fff;
    border-radius: 0 0 10px 10px;
    margin-top: 40px;
    transform: translateX(30%);
}

.myblog .new_blog article:nth-child(2n)::after {
    content: "";
    display: block;
    width: 100%;
    border-bottom: 15px solid #fff;
    border-radius: 0 0 10px 10px;
    margin-top: 40px;
    transform: translateX(-30%);
}

.myblog .new_blog article:nth-child(n+5) {
    display: none;
}

.myblog .new_blog article:nth-child(n+5)::after {
    content: none;
}

.articlelist .myblog .new_blog article:nth-child(n+5),
.category .myblog .new_blog article:nth-child(n+5) {
    display: block;
}

/* トップページのカテゴリー欄 */
.my_category {
    animation: fadeup 1s cubic-bezier(0.33, 1, 0.68, 1) forwards;
    display: none;
}

.my_category .cat_view {
    position: relative;
    display: inline-block;
    font-size: 12px;
}

.my_category .cat_view::after {
    content: "";
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -4px;
    left: 50%;
    background: #de9daf;
    transition: all 0.4s ease;
    transform: translateX(-50%);
}

.my_category .cat_view:hover::after {
    width: 100%;
}

/* プロフィール欄 */

.about {
    animation: fadeup 1s cubic-bezier(0.33, 1, 0.68, 1) forwards;
    background-color: #d4c3e2;
    background-image: url(/blog/wp-content/themes/07_blog/images/fork@2x.png), url(/blog/wp-content/themes/07_blog/images/dish@2x.png);
    background-repeat: no-repeat;
    background-size: 80%, 110%;
    background-position: bottom -150px left -80%,
        top -100px right -90px;
    position: relative;
    padding: 80px 0 80px;
}



.about .profile {
    width: 70%;
    max-width: 600px;
    margin-right: 0;
    margin-left: auto;
}

.about img {
    width: 100%;
    max-width: 200px;
    margin-bottom: 30px;
    border: 2px solid #c8ae73;
}

.about p {
    margin-bottom: 20px;
}

.about .dishon {
    display: grid;
    justify-content: start;
    grid-auto-flow: column;
    column-gap: 20px;
}

.about .dishon p {
    margin-left: 14px;
}

/* フッター */

footer {
    animation: fadeup 1s cubic-bezier(0.33, 1, 0.68, 1) forwards;
    background-color: #de9daf;
    color: #fff;
    padding: 60px 0 90px;
    text-align: center;
    font-size: 16px;
    display: grid;
    grid-auto-flow: row;
}

footer .secret {
    color: #de9daf;
    margin: 0;
    padding: 0;
}

footer p {
    font-weight: bold;
}

footer i {
    margin-top: 20px;
}

footer small {
    display: block;
    margin-top: 20px;
}

/* 隠しページ */

.secret_page .single .post h1 {
    position: relative;
    margin-top: 0;
}

.secret_page a,
.secret {
    cursor: pointer;
}

.ufo {
    font-size: 16px;
    color: #fff;
    margin-left: 25px;
}

/* シングルページ　記事部分 */
.single .post {
    animation: fadeup 1s cubic-bezier(0.33, 1, 0.68, 1) forwards;
    margin: 150px 0 100px;
}

.single .post .inner {
    border: 5px solid #de9daf;
    padding: 50px 6%;
}

.single .post h1 {
    font-size: 24px;
    margin: 20px 0 10px;
    font-weight: 600;
}

.single .post h2 {
    font-size: 20px;
    margin: 30px 0 20px;
    font-weight: 600;
}

.single .post h3 {
    font-size: 18px;
    margin: 30px 0 20px;
    font-weight: 600;
}

.single .post h4 {
    font-size: 16px;
    margin: 20px 0 10px;
    font-weight: 600;
}

h5,
h6 {
    font-weight: 600;
}

.single .post .date {
    font-size: 12px;
}

.single .post img {
    margin: 20px 0;
}

.single .post .spacer {
    display: block;
    height: 20px;
}

.single .post .wp-block-quote {
    border: 2px solid #d4c3e2;
    padding: 40px 20px;
    position: relative;
}

.single .post .wp-block-list {
    list-style: square;
    margin-left: 20px;
}

.single .post table,
.single .post td,
.single .post tr,
.single .post th,
.single .post thead {
    border-color: #de9daf;
}

.single .post .nav-links {
    display: grid;
    grid-auto-flow: column;
    justify-content: center;
    column-gap: 30px;
    margin: 30px 0;
    font-size: 18px;
}

.single .post .nav-links a:hover {
    color: #de9daf;
    transition: 0.5s;
}

.single .post .single_cat a {
    display: inline-block;
    background-color: #de9daf;
    color: #fff;
    padding: 0 12px;
    border-radius: 10px;
}

.single .post .single_cat a:hover {
    background-color: #f7dadf;
    color: #c8ae73;
    transition: 0.5s;
}

.single .post em {
    font-style: italic;
}

.single .post strong {
    font-weight: bold;
}


/* シングルページ　検索フォームとカテゴリー欄 */
.single .other {
    animation: fadeup 1s cubic-bezier(0.33, 1, 0.68, 1) forwards;
    display: none;
}

/* シングルページ　コメントフォーム */
.single .comment {
    animation: fadeup 1s cubic-bezier(0.33, 1, 0.68, 1) forwards;
    background-color: #f7dadf;
}

.single .comment .inner {
    padding-bottom: 60px;
}

.commets-list li {
    padding: 0;
    margin: 20px 0;
}

.single .comment .comment-form,
.comment-body {
    display: block;
    width: 72%;
    margin-right: auto;
    margin-left: auto;
}

.single .comment-body {
    background-color: #fff;
    border: 2px solid #c8ae73;
    padding: 20px;
}

.single .widget_title {
    font-size: 24px;
    text-align: center;
    padding: 100px 0 60px;
}


.single .comment input {
    width: 100%;
}

.single .comment .comment-form-author,
#comment {
    background-color: #fff;
    border: 2px solid #c8ae73;
    color: #c8ae73;
    padding: 2px 0 2px 20px;
}

.single .comment .comment-form-author {
    height: 30px;
    margin: 40px 0 20px;
}

.single .comment #comment {
    padding: 2px 0 300px 20px;
    width: 100%;

}

.single .comment .submit {
    background-color: #c8ae73;
    color: #fff;
    display: block;
    width: 80px;
    padding: 5px 0;
    text-align: center;
    margin: 20px 0 0 auto;

    border: 1px solid #c8ae73;
}

.single .comment .submit:hover {
    background-color: #fff;
    border: 1px solid #c8ae73;
    color: #c8ae73;
    transition: 0.5s;
}

.single .comment-form-cookies-consent {
    display: none;
}

/* カテゴリー一覧とブログ一覧 */

.category .myblog,
.articlelist .myblog {
    background: #fff;
}

.articlelist h1 {
    font-size: 36px;
    margin: 180px 0 20px;
    text-align: center;
}

.category .myblog h2::after,
.articlelist .myblog h2::after,
.articlelist h1::after {
    content: "";
    border-bottom: 1px solid #de9daf;
    width: 70px;
    display: block;
    margin: 0 auto;
}

.category .myblog .new_blog,
.articlelist .myblog .new_blog {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 5%;
    row-gap: 100px;
}

.category .myblog .new_blog article,
.articlelist .myblog .new_blog article {
    position: relative;
    background-color: #fff;
    border: 1px solid #de9daf;
    padding: 15px;
    transition: 0.5s ease;
    overflow: hidden;
}

.category .myblog .new_blog img,
.articlelist .myblog .new_blog img {
    min-width: 100%;
}

.category .myblog .new_blog article::before,
.articlelist .myblog .new_blog article::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 550px;
    height: 550px;
    background: #f7dadf;
    transform: translate(-50%, -50%) scale(0) rotate(45deg);
    transition: 0.7s ease;
    z-index: -1;
}

.category .myblog .new_blog article:hover::before,
.articlelist .myblog .new_blog article:hover::before {
    transform: translate(-50%, -50%) scale(1) rotate(45deg);
}

.category .myblog .new_blog article:hover,
.articlelist .myblog .new_blog article:hover {
    transform: translateY(0px);
}

.category .myblog .new_blog article:nth-child(n+0)::after,
.articlelist .myblog .new_blog article:nth-child(n+0)::after {
    content: none;
}




@media(max-width:500px) {

    /* 小さめトップページ　ブログ欄 */

    .myblog {
        background-position: top 1% center;
        background-size: 150%;
    }

    .myblog .new_blog {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        column-gap: 20px;
        row-gap: 40px;
    }


    .myblog .new_blog article:nth-child(2n+1)::after {
        width: 80%;
        transform: translateX(30%);
    }

    .myblog .new_blog article:nth-child(2n)::after {
        width: 80%;
        transform: translateX(-10%);
    }
}

@media(max-width:400px) {

    /* もっと小さめトップページ　ブログ欄 */

    .myblog .new_blog {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        column-gap: 10px;
        row-gap: 40px;
    }
}

@media(min-width:500px) {

    /* 少し小さめトップページ　ブログ欄 */

    .myblog .new_blog article:nth-child(2n+1)::after {
        width: 100%;
        transform: translateX(25%);
    }

    .myblog .new_blog article:nth-child(2n)::after {
        width: 100%;
        transform: translateX(-25%);
    }
}

@media(min-width:680px) {

    /* 大きめトップページ　ヘッダー */

    header nav .big_header li {
        display: block;
        transition: 0.5s;
    }

    header .header {
        display: none;
    }

    /* 大きめトップページ　メインビジュアル */

    .mainvisual h2 {
        text-align: left;
        padding: 250px 0 170px;
    }

    /* 大きめトップページ　ブログ欄 */

    .myblog .desktop {
        display: block;
    }

    .myblog .new_blog {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr)minmax(0, 1fr) minmax(0, 1fr);
        grid-template-rows: repeat(2, auto);
        column-gap: 10%;
        row-gap: 100px;
    }

    .myblog .new_blog article:nth-child(n+5) {
        display: block;
    }

    .myblog .new_blog article:nth-child(2n+1)::after {
        display: none;
    }

    .myblog .new_blog article:nth-child(2n)::after {
        display: none;
    }

    .myblog .new_blog article:nth-child(4n-1)::after {
        content: "";
        display: block;
        border-radius: 0 0 10px 10px;
        width: 250%;
        border-bottom: 15px solid #fff;
        margin-top: 40px;
        transform: translateX(-10%);
    }

    .myblog .new_blog article:nth-child(4n-2)::after {
        content: "";
        display: block;
        border-radius: 0 0 10px 10px;
        width: 250%;
        border-bottom: 15px solid #fff;
        margin-top: 40px;
        transform: translateX(-50%);
    }



    /* 大きめシングルページ　全体 */

    .single main {
        margin: 0;
        padding: 0;
    }

    .single .main {
        display: grid;
        grid-template-columns: 70% 28%;
        column-gap: 5%;
        width: 83.33%;
        max-width: 1000px;
        margin: 0 auto;
        align-items: start;
    }

    .single .main .inner,
    .navigation {
        width: 100%;
        max-width: 100%;
        margin: 0;
    }

    /* 大きめシングルページ　検索フォームとカテゴリー欄 */

    .single .etc {
        margin-top: 150px;
    }

    .single .other {
        display: block;
        background-color: #f7dadf;
        padding: 45px 0;
        color: #c8ae73;
    }

    .single .search .box {
        background-color: #fff;
        border: 1px solid #c8ae73;
        margin: 0 10%;
        padding-left: 20px;
        margin-bottom: 40px;
    }

    .single .search-submit:hover {
        color: #de9daf;
        transition: 0.5s;
    }

    .single .cate {
        margin: 0 10%;
    }

    .single .cate h2 {
        font-size: 18px;
    }

    .single .cate li {
        display: inline-block;
        font-size: 12px;
        background-color: #fff;
        border-radius: 10px;
        padding: 2px 10px;
        margin: 10px 5px 0 0;
    }

    .single .cate li:hover {
        background-color: #de9daf;
        color: #fff;
        transition: 0.5s;
    }

    /* 大きめシングルページ　コメントフォーム */

    .single .comment {
        background-color: #fff;
        padding: 0;
        width: 100%;
    }

    .single .comment .widget_title {
        margin-top: 120px;
        padding: 0 0 20px 0;
    }

    .single .comment .comment-form,
    .comment-body {
        width: 100%;
        min-width: auto;
        display: block;
        margin: 30px auto;
    }

    /* 大きめカテゴリー一覧とブログ一覧 */

    .category .myblog .new_blog,
    .articlelist .myblog .new_blog {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr)minmax(0, 1fr) minmax(0, 1fr);
        column-gap: 5%;
        row-gap: 100px;
    }
}

@media(min-width:850px) {
    /* もうちょい大きめトップページ　カテゴリー欄 */

    .my_category {
        display: block;
        padding: 150px 0;
        color: #de9daf;
    }

    .my_category .big_category {
        display: grid;
        grid-auto-flow: column;
        text-align: center;
        justify-content: center;
        column-gap: 4.4%;
        perspective: 800px;
    }

    .my_category section {
        border: 1px solid #de9daf;
        padding: 65px;
    }

    .my_category h3 {
        font-size: 18px;
    }

    .my_category .big_cat {
        margin: 100px 0;
        font-size: 60px;
        display: inline-block;
        transition: transform 1.5s ease-in-out;
        transform-style: preserve-3d;
    }

    .my_category .big_cat:hover {
        transform: rotateY(360deg);
    }
}

@media(min-width:1080px) {


    /* もっと大きめトップページ　プロフィール欄 */

    .about {
        padding: 120px 0 180px;
        background-size: 90%, 90%;
        background-position: bottom -300px left -300px, top -300px right -100px;
    }

    /* もっと大きめトップページ　フッター */

    footer {
        padding: 200px 0 230px;
    }

    footer .inner {
        display: grid;
        grid-auto-flow: row;
    }

    footer .not_copy {
        display: grid;
        grid-auto-flow: column;
        align-items: center;
        justify-content: center;
        column-gap: 10%;
    }

    footer i {
        margin-top: 0;
    }

}

@media (min-width:1100px) {

    /* 超大きめトップページ　プロフィール欄 */

    .about {
        background-size: 80%, 90%;
        background-position: bottom -350px left -250px, top -400px right -200px;
    }
}