@charset "<?php bloginfo('charset'); ?>";

* {
    box-sizing: border-box;
}

body {
    color: #1e4124;
    background-color: #fff7e9;
    font-size: 16px;
    font-family: sans-serif;
    width: 100%;
}

.inner {
    width: 84%;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

h1 {
    margin: 100px auto;
    width: 200px;
}

h2 {
    font-weight: bold;
    font-size: 24px;
    padding-bottom: 50px;
}

section {
    margin-bottom: 70px;
}

html {
    scroll-behavior: smooth;
}

.pagetop {
    height: 50px;
    width: 50px;
    position: fixed;
    right: 30px;
    bottom: 30px;
    background: rgb(211, 99, 37, 0.2);
    border: solid 3px #d36325;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.pagetop__arrow {
    height: 10px;
    width: 10px;
    border-top: 3px solid #d36325;
    border-right: 3px solid #d36325;
    transform: translateY(20%) rotate(-45deg);
}

.nav-morph__link,
header li,
.related-post-wrap a {
    color: #fff7e9;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-morph__link:hover,
header li:hover,
.related-post-wrap a:hover {
    color: #d36325;
}

/*hearder
------------------------------ */
header {
    margin-bottom: 100px;
}

header ul {
    padding: 20px;
    background-color: #1e4124;
    text-align: center;
}

nav ul {
    display: grid;
    grid-auto-flow: column;
}

.hamburger {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1100;
}

.hamburger-morph {
    position: fixed;
    top: 63px;
    right: 7px;
    z-index: 1000;
    width: 70px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
}

.hamburger-morph__icon {
    width: 100%;
    height: 100%;
}

.hamburger-morph__line {
    fill: none;
    stroke: #d36325;
    stroke-width: 12;
    transition: stroke-dasharray 600ms cubic-bezier(0.4, 0, 0.2, 1),
        stroke-dashoffset 600ms cubic-bezier(0.4, 0, 0.2, 1);
}

.hamburger-morph__line:nth-child(1) {
    stroke-dasharray: 60 207;
}

.hamburger-morph__line:nth-child(2) {
    stroke-dasharray: 60 60;
}

.hamburger-morph__line:nth-child(3) {
    stroke-dasharray: 60 207;
}

.hamburger-morph.active .hamburger-morph__line:nth-child(1) {
    stroke-dasharray: 90 207;
    stroke-dashoffset: -134;
}

.hamburger-morph.active .hamburger-morph__line:nth-child(2) {
    stroke-dasharray: 1 60;
    stroke-dashoffset: -30;
}

.hamburger-morph.active .hamburger-morph__line:nth-child(3) {
    stroke-dasharray: 90 207;
    stroke-dashoffset: -134;
}

.nav-morph {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #1e4124;
    clip-path: circle(0% at calc(100% - 44px) 44px);
    transition: clip-path 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 900;
}

.nav-morph.active {
    clip-path: circle(150% at calc(100% - 44px) 44px);
    pointer-events: auto;
}

.nav-morph__wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.nav-morph__list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
    text-align: center;
}

.nav-morph__item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.nav-morph.active .nav-morph__item {
    opacity: 1;
    transform: translateY(0);
}

.nav-morph__link {
    position: relative;
    display: inline-block;
    padding: 20px;
    font-size: 28px;
    color: #fff;
    text-decoration: none;
    overflow: hidden;
}

.nav-morph__text,
.nav-morph__hover {
    display: block;
}

.nav-morph__hover {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    transform: translateY(0%);
}

/* main
------------------------------ */

.nav {
    font-weight: bold;
}

.posts {
    row-gap: 100px;
}

/* pickup */

.pickup {
    margin-bottom: 100px;
}

.pickup .pic {
    position: relative;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
}

.pickup .pic img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 auto;
    object-fit: cover;
}

.pickup .contens {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pickup .more {
    display: block;
    color: #fff7e9;
    background-color: #d36325;
    width: 200px;
    padding: 10px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    border-radius: 20px;
}

.pickup .text {
    display: block;
    width: 100%;
    max-width: 700px;
    margin: 30px auto;
    padding: 20px;
    color: #1e4124;
    background-color: #fff;
    box-sizing: border-box;
    text-decoration: none;
}

.pic {
    position: relative;
}

.category-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    margin: 0;
    padding: 4px 8px;
    color: #fff7e9;
    background-color: rgba(27, 63, 35, 0.7);
    padding: 4px 8px;
    border-radius: 5px;
    font-size: 14px;
    z-index: 2;
}

/* category */

.category-list {
    margin-bottom: 100px;
}

.category-list ul {
    padding-bottom: 80px;
    display: flex;
    flex-wrap: wrap;
    column-gap: 10px;
    row-gap: 20px;
}

.category-list li {
    font-size: 12px;
    padding: 10px;
    color: #fff7e9;
    background-color: #1e4124;
}

/* profile */
.profile {
    margin-bottom: 0;
    color: #fff7e9;
    text-align: center;
    position: relative;
}

.profile::after {
    content: "";
    display: block;
    width: 100%;
    height: 36px;
    background-image: url("/blog/wp-content/themes/08_blog/images/profile_bg.svg");
    background-position: top center;
    background-size: 100% auto;
    background-repeat: no-repeat;
    position: absolute;
    top: -36px;
    left: 0;
}

.profile_inner {
    background: #1e4124;
    padding-bottom: 100px;
}

.profile img {
    max-width: 60%;
}

.profile h2 {
    text-align: left;
}

dl {
    color: #1e4124;
    background-color: #fff;
    text-align: center;
    border-radius: 10px;
    margin-top: 20px;
    padding: 30px 10px;
}

dt {
    font-size: 20px;
}

dd {
    font-size: 14px;
}

/* footer
------------------------------- */
footer {
    font-size: 12px;
    padding: 50px 0;
    text-align: center;
}

/* sub
-------------------------------------------*/
.sub .title {
    display: grid;
    grid-auto-flow: column;
    justify-content: space-between;
    align-items: center;
}

.sub form {
    text-align: center;
}

.breadcrumbs .separator {
    margin: 0 8px;
    display: inline;
}

.sub button {
    color: #1e4124;
    padding: 10px 20px;
}

.sub input {
    width: 40%;
    padding: 10px 0;
    border-radius: 10px;
    background-color: #fff7e9;
}

.sub textarea {
    width: 40%;
    padding: 20px 0;
    border-radius: 10px;
    background-color: #fff7e9;
}

.group {
    margin-bottom: 200px;
}

.sub .article {
    margin: 40px 0;
}

.sub h1 {
    margin: 30px 0;
}

.sub h4 {
    margin-bottom: 30px;
}

div.swiper {
    margin-bottom: 100px;
    padding-bottom: 40px;
}

div.swiper-button-next,
div.swiper-button-prev {
    margin-top: -50px;
    padding: 25px;
    border-radius: 30px;
    color: #d36325;
}

.swiper-slide img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 35px;
    font-weight: bold;
}

span.swiper-pagination-bullet-active {
    background-color: #d36325;
}

.swiper-horizontal>.swiper-pagination-bullets,
.swiper-pagination-bullets.swiper-pagination-horizontal,
.swiper-pagination-custom,
.swiper-pagination-fraction {
    bottom: 0;
}

.sub header {
    margin: 0;
}

.sub header img {
    max-width: 60%;
}

/* list */
.sub .list .sub header .rogo {
    max-width: 50%;
}

.sub .list {
    font-size: 12px;
    color: #fff7e9;
    background-color: #1e4124;
    padding: 10px 0;

    .inner {
        margin-bottom: 0;
    }
}

/* main */
/* info */
.sub .info {
    margin-top: 60px;

    h2 {
        margin-bottom: 30px;
        padding-bottom: 0;
    }
}

.sub .tag {
    display: inline-block;
    min-width: 100px;
    margin-bottom: 30px;
    padding: 3px 5px;
    background-color: rgba(27, 63, 35, 0.5);
    text-align: center;
}

.sub .date {
    margin-bottom: 20px;
}

/* contents */
.sub .coment {
    padding-bottom: 40px;
    color: #fff7e9;
    background-color: #1e4124;
}

.sub .coment .inner {
    margin-bottom: 0;
}

.sub .coment button {
    margin: 20px;
    color: #1e4124;
    background-color: #fff7e9;
    padding: 10px 20px;
    border-radius: 20px;
    border: none;
    cursor: pointer;
}

.sub .contents h3 {
    margin: 50px 0;
    padding: 10px 20px;
    font-weight: bold;
    background-color: rgba(27, 63, 35, 0.5)
}

/* slide */
.slide {
    margin: 30px 0;
    text-align: center;
}

.sub .slide_btn {
    width: 50px;
    margin: 0 20px;
}

.sub .slide img {
    max-width: 50%;
}

.sub .slide {
    display: grid;
    grid-auto-flow: column;
    align-items: center;
    justify-content: center;
    margin: 100px 0;
}

/* related-post-wrap */
.sub .related-post-wrap {
    margin-top: 100px;
    padding: 40px;
    color: #fff7e9;
    background-color: #1e4124;
    border-radius: 20px;
}

.sub .related-post-wrap ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sub .related-post-wrap li {
    margin-bottom: 10px;
}

.comments {
    position: relative;
    max-width: 700px;
    margin: 50px auto;
    font-family: sans-serif;
    color: #fff7e9;
    z-index: 900;
}

.comment-form-author,
.comment-form-comment {
    margin-bottom: 20px;
}

.comment-form-author label,
.comment-form-comment label {
    display: block;
    margin-bottom: 10px;
    color: #fff7e9;
}

.comment-form-author input {
    width: 100%;
    max-width: 100%;
    padding: 10px;
    color: #1e4124;
    border-radius: 10px;
    border: 1px solid #1e4124;
    font-size: 14px;
    background-color: #fff7e9;
    box-sizing: border-box;
    white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;
}

.comment-form-comment textarea {
    width: 100%;
    padding: 10px;
    color: #1e4124;
    border-radius: 10px;
    border: 1px solid #1e4124;
    font-size: 14px;
    background-color: #fff7e9;
    resize: vertical;
    white-space: pre-wrap;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.comment-form input[type="submit"] {
    display: block;
    background-color: #d36325;
    color: #fff7e9;
    border: none;
    border-radius: 20px;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    margin: 10px auto 0;
    transition: background-color 0.3s;
}

.comment-form input[type="submit"]:hover {
    background-color: #b84d1d;
}

.comments-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.comment {
    position: relative;
    display: inline-block;
    margin-top: 50px;
    padding: 15px 20px;
    color: #1e4124;
    background: #fff7e9;
    border-radius: 10px;
    max-width: 500px;
}

.comment::after {
    content: "";
    position: absolute;
    top: 80px;
    right: -40px;
    border-width: 20px;
    border-style: solid;
    border-color: transparent transparent transparent #fff7e9;
}

.comment-author {
    font-weight: bold;
    margin-bottom: 10px;
    color: #d36325;
}

.comment-body {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 10px;
}

.comment-date {
    font-size: 12px;
    color: #fff7e9;
    text-align: right;
}

.more-comments {
    display: block;
    margin: 20px auto;
    padding: 10px 20px;
    border: none;
    border-radius: 20px;
    background: #d36325;
    color: #fff7e9;
    cursor: pointer;
}

.hidden {
    display: none;
}

.filing {
    margin: 0 auto;
    padding: 20px 15px;
    color: #fff7e9;
    background-color: rgb(30, 65, 36, 0.9);
    border-radius: 10px;
    max-width: 250px;
    align-items: center;
    overflow-x: hidden;
}

.filing h2 {
    padding: 10px 0;
    font-size: 20px;
}

.filing img {
    margin-bottom: 20px;
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
}

.category-contents-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 600px;
}

.category-contents {
    margin: 50px 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    flex-grow: 1;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 40px 0;
    width: 100%;
    box-sizing: border-box;
}

.pagination .page-numbers {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border: 2px solid #d36325;
    border-radius: 50%;
    color: #d36325;
    background-color: #fff7e9;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.pagination .page-numbers:hover {
    background-color: #d36325;
    color: #fff7e9;
}

.pagination .current {
    background-color: #d36325;
    color: #fff7e9;
    border-color: #d36325;
}

.related-post-wrap li {
    font-size: 16px;
}

.related-post-wrap h4 {
    font-size: 20px;
}

.about-me {
    margin: 50px 60px;
}

.about-me img {
    display: block;
    margin: 0 auto;
}

/* ----------------------------------- */
/* 記事ページCSS調整 */

.contents {
    h1 {
        margin: 0;
        font-size: 30px;
    }

    h2 {
        margin: 20px 0;
        padding: 0;
        font-size: 24px;
    }

    h4 {
        font-size: 18px;
        margin: 0;
    }

    dl {
        margin: 50px 0;
    }

    blockquote {
        margin: 30px 0;
        position: relative;
        border: 1px solid #1e4124;
        border-radius: 10px;
        padding: 20px;
    }

    blockquote:before {
        position: absolute;
        font-family: 'FontAwesome';
        content: '"';
        font-size: 20px;
        color: #1e4124;
        top: 10px;
        left: 10px;
    }

    blockquote:after {
        position: absolute;
        font-family: 'FontAwesome';
        content: '"';
        font-size: 20px;
        color: #1e4124;
        right: 10px;
        bottom: 10px;
    }

    blockquote cite {
        display: block;
        font-size: 0.8rem;
        text-align: right;
        color: #1e4124;
        padding-right: 20px;
    }

    blockquote {
        transition: all 0.3s ease;
    }

    blockquote:hover {
        background-color: rgb(30, 65, 36, 0.1);
        box-shadow: 0 4px 10px #fff7e9;
    }

    li {
        font-size: 16px;
    }

    ul {
        list-style-type: disc;
        margin: 10px 0;
        padding-left: 1.2em;
    }

    /* ul の中にある ul（ネストされたリスト） */
    ul ul {
        list-style-type: circle;
        margin-left: 1.5em;
    }

    /* ul のさらに中にある ul */
    ul ul ul {
        list-style-type: square;
    }

    ol {
        list-style-type: decimal;
        margin: 10px 0;
        padding-left: 1.2em;
    }

    /* ol の中の ol（ネストされた番号付きリスト） */
    ol ol {
        list-style-type: lower-alpha;
        margin-left: 1.5em;
    }

    /* ol の中の ul（混合リスト用） */
    ol ul {
        list-style-type: disc;
        margin-left: 1.5em;
    }

    img {
        margin: 30px 0;
    }
}

/* --------------------------------------------------*/

@media screen and (min-width: 600px) {
    h1 {
        margin: 150px auto;
        width: 400px;
    }

    li {
        font-size: 24px;
    }

    .hamburger-morph {
        top: 55px;
        right: 50px;
    }

    .category-contents {
        margin: 60px 0;
        grid-template-columns: repeat(3, 1fr);
        gap: 50px;
        justify-items: center;
    }

    .filing {
        padding: 20px 15px;
        color: #fff7e9;
        background-color: rgb(30, 65, 36, 0.9);
        border-radius: 10px;
        width: 100%;
        max-width: 250px;
        align-items: center;
        overflow-x: hidden;
    }

    .pickup .text {
        margin: 50px 0;
        padding: 40px;
    }

    .about-me {
        margin: 100px 0;
    }
}