@charset "utf-8";

html {
    scroll-behavior: smooth;
    /* background-color: #eeebe3; */
}

body {
    color: #303030;
    font-size: 14px;
    line-height: 1.5;
    letter-spacing: 0;
    font-family: Arial, Helvetica, sans-serif;

}



img {
    display: block;
    max-width: 100%;
    height: auto;
    vertical-align: middle;
    object-fit: cover;
    object-position: center center;
}

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


.top h2 {
    margin-right: 30px;
    margin-bottom: 30px;
    padding-top: 15px;
    font-size: 24px;
    font-weight: bold;
    border-top: #303030 solid 2px;
    writing-mode: vertical-rl;
}


.btn {
    display: block;
    padding: 10px 15px;
    margin-bottom: 30px;
    text-align: center;

    border-radius: 25px;
    border: #303030 solid 1px;

    position: relative;
    overflow: hidden;
    background-color: transparent;
}

.btn::before {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
    color: #fff;
    background-color: #FEC778;
    box-sizing: border-box;
    content: "";
    transform: translateX(-100%);
    transition: transform 0.5s ease-in-out;
}

.btn:hover::before {
    transform: translateX(0);
}

::selection {
    background-color: #FEC778;
    color: #fff;
}


.top section {
    margin-top: 80px;
}

.posts img {
    transition: 0.5s;
}

.posts img:hover {
    border-radius: 25%;
}

em {
    border-bottom: #303030 1px solid;
}

strong {
    font-weight: bold;
}

address {
    margin: 30px 0;
    padding: 20px 40px;
    border-radius: 25px;
    color: #808080;
    background-color: #ddd;
    position: relative;
}

/* arrow */

html {
    scroll-behavior: smooth;
}

.pagetop {
    margin-right: 100px;
    height: 50px;
    width: 50px;
    position: fixed;
    right: -80px;
    bottom: 30px;
    background: #fff;
    border: solid 1px #303030;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    transition: 0.5s;
}

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


/* header--------------------------------------- */

header {
    position: fixed;
    background-color: #fff;
    top: 0;
    right: 0;
    z-index: 999;
    width: 100%;
}

.site-header .inner {
    display: flex;
    align-items: center;
    /* 縦中央揃え */
    justify-content: space-between;
    /* 左右に配置 */
    padding: 10px 0;
    /* 左右の余白 */
}


.grobal ul {
    display: none;
    font-weight: bold;
}

.grobal li a {
    transition: 0.5s;
}

.grobal li a:hover {
    color: #FEC778;
}

.hamburger-morph {
    width: 48px;
    height: 48px;
    z-index: 99999;
}

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

.hamburger-morph__line {
    fill: none;
    stroke: #303030;
    stroke-width: 6;
    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: 100vh;
    background: #fff;
    clip-path: circle(0% at calc(100% - 50px) 35px);
    transition: clip-path 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 9999;
}

.nav-morph.active {
    clip-path: circle(150% at calc(100% - 50px) 35px);
}

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

.nav-morph__list {
    margin: 0;
    padding: 0;
    list-style: none;
    text-align: center;
}


.nav-morph__link {
    position: relative;
    display: inline-block;
    margin-bottom: 30px;
    font-size: 28px;
    color: #303030;
    text-decoration: none;
    overflow: hidden;
    transition: 0.5s;
}

.nav-morph__link:hover {
    color: #FEC778;
}

/* search */

.Search-form-style {
    z-index: -999;
    display: flex;
    padding: 15px;
    background-color: #fff;
    border: #303030 1px solid;
    border-radius: 10px;

}

.form-text {
    font-weight: bold;
}

.search-menu {
    position: relative;
}

.search-box {
    display: block;
    position: absolute;
    writing-mode: horizontal-tb;
    bottom: 0px;
    right: 45px;
}

.search-btn,
.search_txt {
    transition: 0.5s;
}

.search_txt:hover,
.search-btn:hover {
    color: #FEBA7E;
}

.form-text::placeholder {
    color: #888;
    /* 薄いグレー */
}

/* footer--------------------------------------- */

footer {
    margin-top: 100px;
    height: 300px;
    background: url(/blog/wp-content/themes/12_blog/images/footer_img.png) center center/cover no-repeat;
}

footer small {
    padding-top: 250px;
    display: block;
    color: #fff;
    text-align: center;

}

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

/* .mainvisual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    height: 100vh;
}

video {
    position: absolute;
    top: 0;
    z-index: -1;
}

.container {
    font-size: 15vw;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
} */

.top .mainvisual {
    margin-top: 100px;
    padding-top: 0;
    background-color: #fff;
    text-align: center;
}

.mainvisual h2 {
    writing-mode: horizontal-tb;
    border-top: none;
}

.container {
    width: 100%;
    /* height: 500px; */
    text-align: center;
    line-height: 0.8;
    font-weight: 900;
    background: url("/blog/wp-content/themes/12_blog/images/footer_img.png") center/cover no-repeat;
    background-clip: text;
    -webkit-background-clip: text;
    /* Safari, Chrome 用 */
    color: transparent;
    -webkit-text-fill-color: transparent;
    /* Safari 用 */
}

.line {
    display: inline-block;
    white-space: nowrap;
    margin: 0.1em 0;
}

.little {
    font-size: 17vw;
}

.glow {
    font-size: 23vw;
}

.every {
    font-size: 23vw;
}

.day {
    font-size: 35vw;
}

@media (640px<=width) {
    .every {
        font-size: 12vw;
    }

    .day {
        font-size: 12vw;
    }
}

.mainvisual .btn {
    margin-bottom: 0;
}

/* blog */

.blog .posts {
    display: grid;
    grid-template-columns: auto 1fr;
}

.blog .inner {
    text-align: center;
}

.blog h2 {
    text-align: left;
}

.blog h3 {
    margin-top: 10px;
    font-size: 18px;
}

.blog .days {
    font-size: 13px;
    writing-mode: sideways-rl;
    position: absolute;
    right: -20px;
    top: 0;
}

.blog article {
    position: relative;

}

.blog .btn {
    margin-top: 80px;
    max-width: 150px;
    margin-left: auto;
    margin-right: auto;
}

.blog .report {
    display: grid;
    grid-template-columns: 1fr 1fr;
    text-align: center;
    row-gap: 45px;
    column-gap: 10%;
}

/* scroll */

.scroll .inner {
    text-align: center;
}

.scroll h2 {
    margin: 0;
    margin-bottom: 150px;
    padding-left: 0;
    display: inline-block;
    border-bottom: #303030 solid 2px;
    border-top: none;
    text-align: center;
    writing-mode: horizontal-tb;
    position: relative;
}

.scroll h2::before {
    animation: scrollbar 2s infinite;
    content: "";
    max-width: auto;
    background-color: #303030;
    height: 150px;
    width: 2px;
    position: absolute;
    right: 50%;
    top: 100%;
}

@keyframes scrollbar {
    0% {
        transform: scale(1, 0);
        transform-origin: 0 0;
    }

    50% {
        transform: scale(1, 1);
        transform-origin: 0 0;
    }

    51% {
        transform: scale(1, 1);
        transform-origin: 0 100%;
    }

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

}

/* about */

.about .posts_about {
    display: grid;
    grid-template-columns: auto 1fr;
}

.about {
    margin-top: 150px;
}

.about .name {
    margin-top: 15px;
    margin-bottom: 5px;
    font-size: 18px;
}

.text {
    text-align: left;
}


/* category */

.category_type .posts {
    display: grid;
    grid-template-columns: auto 1fr;
}


.category_type .btn {
    width: 100%;
    margin-top: 0;
    margin-left: 0;
    margin-right: 0;
}

.category_type ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 5%;
    margin: auto;
    width: 60%;
}

.category_type li {
    display: block;
    padding: 10px 15px;
    margin-bottom: 30px;
    text-align: center;

    border-radius: 25px;
    border: #303030 solid 1px;

    position: relative;
    overflow: hidden;
    background-color: transparent;
}

.category_type li::before {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
    color: #fff;
    background-color: #FEC778;
    box-sizing: border-box;
    content: "";
    transform: translateX(-100%);
    transition: transform 0.5s ease-in-out;
}

.category_type li:hover::before {
    transform: translateX(0);
}



/* single------------------------------------------ */

.single section,
.category section,
.search section {
    padding: 0;
    margin: 0;
}

.blog article img,
.category article img,
.articlelist article img,
.search article img,
.index article img {

    overflow: hidden;
    width: 100%;
    /* 親要素の幅に合わせる */
    max-width: 250px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center;
}

.category article h3,
.articlelist article h3 {
    margin-top: 10px;
}

.single .maintxt a {
    word-break: break-all;
}

.single .maintxt pre {
    word-break: break-all;
    white-space: pre-wrap;
}

.single .maintxt blockquote {
    margin: 30px 0;
    padding: 40px 40px 20px 40px;
    border-radius: 25px;
    color: #808080;
    background-color: #FFF2E0;
    position: relative;
}

.single .maintxt blockquote:before {
    position: absolute;
    content: '“';
    font-size: 3em;
    color: #FEC778;
    top: 0;
    left: 40px;
}

.single .maintxt li {
    list-style: disc;
    padding-left: 10px;
    margin-left: 15px;
    margin-top: 10px;
}

.single li::marker {
    color: #FEC778;
}

.single .maintxt table {
    border-collapse: collapse;
    width: 100%;
    max-width: 800px;
    margin: 30px 0;
}

.single .maintxt th,
td {
    border: 2px solid #fff;
    background-color: #ddd;
    padding: 1em
}

.single .maintxt th {
    background-color: #808080;
    color: #fff;
    font-weight: bold;
    text-align: center;
    width: 20%;
    min-width: 4em;
}


.single .maintxt p br {
    display: block;
    /* brをブロック化して行を切る */
    margin-bottom: 30px;
    /* 改行後の行頭に余白を作る */
    content: "";
}

.single h2 {
    font-size: 20px;
    text-align: center;
    padding-top: 0;
    padding-bottom: 30px;
    margin-top: 40px;
    margin-right: 0;
    margin-bottom: 15px;
    border-top: none;
    border-bottom: #303030 solid 1px;
    font-weight: bold;
    writing-mode: horizontal-tb;
}

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

.single h4 {
    margin: 30px 0;
    font-size: 16px;
    font-weight: bold;
}

.single h5 {
    margin: 30px 0;
    font-size: 14px;
    font-weight: bold;
}


.single .btn {
    max-width: 150px;
    margin-left: auto;
    margin-bottom: 0;
}

/* title */

.title .info {
    margin-top: 100px;
    display: grid;
    grid-auto-flow: column;
    align-items: center;
}

/* maintxt */

.maintxt img {
    margin: 40px 0;
}

/* more */

.more {
    font-weight: bold;

}

.more ul {
    display: grid;
    grid-auto-flow: column;
    justify-content: center;
}

.more li {
    padding: 0 30px;
}

/* coment */

.comment-body {
    font-size: 14px;
}

.comment-body .comment-meta {
    margin-bottom: 5px;
}

.comment-body p {
    margin-bottom: 30px;
    padding: 10px;
    border-radius: 10px;
    border: #303030 solid 1px;
    width: 100%;
}

.comment-body .comment-author {
    font-size: 18px;
    padding-right: 15px;
}

.comment-thanks {
    margin-top: 30px;
    color: #FEBA7E;
}

/* share */

.share ul {
    display: grid;
    grid-auto-flow: column;
    justify-content: left;
    column-gap: 3%;
    margin: 50px 0;
}

.share li {
    font-size: 25px;
    transition: 0.5s;
}


/* form */

form label {
    display: block;
    font-size: 18px;
    margin-bottom: 10px;
}

.comment-form-author input {
    margin-bottom: 30px;
    padding: 10px;
    border-radius: 10px;
    border: #303030 solid 1px;
    width: 100%;
}


form textarea {
    margin-bottom: 30px;
    padding: 15px;
    width: 100%;
    height: 200px;
    box-sizing: border-box;
    /* これを入れると padding + border を含めて幅100%になる */
    overflow-wrap: break-word;
    /* 長い単語も折り返す */
    padding: 5px;
    border-radius: 10px;
    border: #303030 solid 1px;
}


/* more */

.more ul {
    padding-top: 150px;
}

.more ul li {
    transition: 0.5s;
}

.more ul li:hover {
    color: #FEC778;
}


/* category------------------------------------------ */

.category h2,
.search h2 {
    font-size: 20px;
    text-align: center;
    padding-top: 0;
    margin-top: 100px;
    margin-right: 0;
    border-top: none;
    font-weight: bold;
    writing-mode: horizontal-tb;
}

.category h2::after,
.search h2::after {
    content: "";
    display: block;
    max-width: 580px;
    margin: 0 auto;
    margin-bottom: 50px;
    padding-top: 30px;
    border-bottom: #303030 solid 1px;
}

.category .report,
.search .report {
    /* display: flex;
    flex-wrap: wrap; */
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    margin: 0 auto;
    max-width: 580px;
}


.category article,
.search .article {
    position: relative;
}

.category .days,
.search .days {
    font-size: 13px;
    writing-mode: sideways-rl;
    position: absolute;
    right: -20px;
    top: 0;
}

/* pagenation */

.category .pagenation,
.search .pagenation,
.articlelist .pagenation {
    color: #000;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    margin-top: 30px;
    padding: 0 30px;
    padding-top: 150px;
}

.category .page-numbers,
.search .page-numbers {
    padding: 0 15px;
    transition: 0.5s;
}

.category .page-numbers:hover,
.search .page-numbers:hover {
    color: #FEC778;
}

/* all-posts------------------------------------------ */

.articlelist section {
    padding-top: 0;
}

.articlelist h2 {
    font-size: 20px;
    text-align: center;
    padding-top: 0;
    margin-top: 100px;
    margin-right: 0;
    border-top: none;
    font-weight: bold;
    writing-mode: horizontal-tb;
}

.articlelist h2::after {
    content: "";
    display: block;
    max-width: 580px;
    margin: 0 auto;
    margin-bottom: 50px;
    padding-top: 30px;
    border-bottom: #303030 solid 1px;
}


.articlelist .posts {

    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 13.79%;
    row-gap: 80px;
    margin: 0 auto;
    max-width: 580px;
}


.articlelist article {
    position: relative;
    max-width: 250px;
}


.articlelist .days {
    font-size: 13px;
    writing-mode: sideways-rl;
    position: absolute;
    right: -20px;
    top: 0;
}

/* pagenation */

.pagenation {
    color: #000;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    padding: 0 30px;
}

.page-numbers {
    padding: 0 15px;
    transition: 0.5s;
}

.page-numbers:hover {
    color: #FEC778;
}



@media (640px<=width) {

    .top section {
        margin-top: 150px;
    }


    .btn {
        transform: translate(33%);
    }

    .scroll {
        transform: translate(90px);
    }

    .single img {
        display: block;
        max-width: 1000px;
    }

    /* arrow */

    .pagetop {
        right: 15px;
    }


    /* header */

    header {
        width: auto;
        height: 100vh;
        padding-top: 20px;
    }

    .site-header {
        padding: 15px 20px;
    }

    .hamburger-morph,
    .nav-morph {
        display: none;
    }

    .site-header .inner {
        display: flex;
        flex-flow: column;
        justify-content: space-between;
        height: 100vh;
        padding: 0;
    }

    .grobal ul {
        display: grid;
        grid-auto-flow: column;
        column-gap: 15px;
        writing-mode: vertical-rl;
        padding-bottom: 42px;
    }

    .Search-form-style {
        /* 初期状態：右に隠す */
        transform: translateX(10%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.5s ease, opacity 0.3s ease;
    }

    .Search-form-style.active {
        transform: translateX(0);
        /* 表示位置 */
        opacity: 1;
        pointer-events: auto;
    }


    /* top---------------------- */

    .top main {
        margin-right: 100px;
    }

    h2 {
        margin-right: 80px;
    }

    /* mainvisual */

    .top .mainvisual {
        margin-top: 0;
    }

    .pair {
        display: flex;
        justify-content: center;
        gap: 0.3em;
        font-size: clamp(16px, 4vw, 40px);
    }

    .pair .word {
        font-size: 5vw;
        /* 横並び用に少し小さめに調整  */
        font-size: clamp(16px, 4vw, 40px);
    }


    /* blog */
    .blog .report {
        grid-template-columns: 1fr 1fr 1fr 1fr;
        column-gap: 7%;
    }

    .blog h2 {
        margin-right: 80px;
    }

    .blog h3 {
        font-size: 15px;
    }

    /* about */

    .about {
        /* padding-top: 180px; */
    }

    .about .profile {
        display: grid;
        grid-template-columns: 2fr 1fr;
        column-gap: 3%;
        align-items: end;
    }

    /* single---------------------- */

    .single section {
        margin-top: 0;
    }

    .single h2 {
        font-size: 24px;
    }

    .single h3 {
        font-size: 20px;
    }

    .single .btn {
        transform: translate(0);
    }


    /* maintxt */

    article .pictures {
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 5%;
    }

    /* columtxt */

    .single .columntxt {
        display: grid;
        grid-template-columns: 2fr 1fr;

    }

    /* share */
    .share {
        margin-top: 250px;
        margin-right: 100px;
    }

    /* category---------------------- */

    .category h2 {
        font-size: 24px;
    }
}