@charset "utf-8";
/*
Theme Name: blog-sample
Theme URI:
Author: NaokiToda
Author URI:
Description: WordPressを学んで、最初のテーマです。
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/
/* !----------------------------------------------common------------------------------------------ */

/*!----- 基礎設定〜h系の設定----- */
body {
    font-family: "Marcellus SC", serif;
    font-size: 14px;
    overflow-x: hidden;
}

.inner {
    max-width: 1510px;
    width: 84.61%;
    margin-right: auto;
    margin-left: auto;
}

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

h1 {
    width: 8%;
    transition: .3s;
}

h1:hover {
    transform: scale(1.1);
}

h2 {
    position: relative;

    color: #f1f1f1;
    background-color: #404040;
    font-size: 45px;
    padding: 20px 0 60px 10px;
    width: 60%;

    margin-top: 120px;
}

h2:before {
    /* h2の背景装飾用 */
    content: "";
    display: block;
    position: absolute;
    background-color: #404040;

    width: 100%;
    height: 200%;
    top: 0;
    left: 0;

    z-index: -1;
    box-shadow: 10px 10px 0px 0px rgba(0, 0, 0, 0.4);
}


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

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

/*todo ハンバーガーメニュー */
.hamburger {
    width: 25px;
    height: 13px;
    position: relative;
    position: fixed;
    z-index: 1000;
    right: 2%;
    transition: .3s;
}

.hamburger:hover {
    transform: scale(1.1);
}

.hamburger span {
    /* ハンバーガーメニューの作成 */
    position: absolute;
    width: 85%;
    height: 2px;
    background-color: #000;
    transition: .5s;
}

.hamburger span:first-of-type {
    /* ハンバーガーメニューの1番目の線 */
    top: 0;
}

.hamburger span:nth-of-type(2) {
    /* ハンバーガーメニューの2番目の線 */
    top: 50%;
}

.hamburger span:last-of-type {
    /* ハンバーガーメニューの3番目の線 */
    top: 100%;
}

.slide-menu {
    /* メニューを押した時に出現する背景 */
    background-color: rgba(0, 0, 0, .8);
    position: fixed;
    top: 0;
    width: 100%;
    left: 0;
    transform: translateX(100%);
    z-index: 999;
    transition: .5s;

    padding: 30px;
}

.slide-category {
    /* カテゴリーを押した時に出現する背景 */
    background-color: #f1f1f1;
    position: absolute;
    top: 20%;

    width: 20%;
    height: 225px;
    right: 13%;
    transform: translateX(200%);
    z-index: 999;
    transition: .5s;

    list-style: none;
}

.slide-archive {
    /* カテゴリーを押した時に出現する背景 */
    background-color: #f1f1f1;
    position: absolute;
    top: 20%;

    width: 20%;
    height: 225px;
    left: 13%;
    transform: translateY(-140%);
    z-index: 999;
    transition: .5s;

    list-style: none;
}

.slide-category li a {
    color: #404040;
    text-align: center;
}

.slide-archive li a {
    color: #404040;
    text-align: center;
}

.slide-menu li {
    color: #fff;
    line-height: 400%;
    text-align: center;
}

.search form {
    display: flex;
    justify-content: center;
    align-items: center;
}

.search form input {
    color: rgba(255, 255, 255, 0.8);
}

.slide-menu button {
    width: 25px;
    filter: invert(100%);
}

.slide-menu .search {
    margin-left: 20px;
}

header li {
    transition: .3s;
}

header li:hover {
    transform: scale(1.2);
}


.hamburger.active span:first-of-type {
    /* ハンバーガーメニューの1番目の線 */
    top: 50%;
    transform: rotate(45deg);
    background-color: #fff;
}

.hamburger.active span:nth-of-type(2) {
    /* ハンバーガーメニューの2番目の線 */
    opacity: 0;
}

.hamburger.active span:last-of-type {
    /* ハンバーガーメニューの3番目の線 */
    top: 50%;
    transform: rotate(-45deg);
    background-color: #fff;
}

.slide-menu.active {
    transform: translateX(0);
}

.slide-category.active {
    transform: translateX(0);
}

.slide-archive.active {
    transform: translateY(0);
}

.search {
    color: #fff;
    text-align: center;
}

/* todo-トップ- */
.main-visual {
    /* 右上に配置 */
    position: relative;
    top: 0;
    right: -8%;
    width: 92%;
}

/* todo-トップのシェア- */
.share {
    display: flex;
    align-items: center;
    justify-content: end;
    position: absolute;

    width: 100%;

    right: 0;
}

.share ul {
    display: flex;
    align-items: center;
    justify-content: end;

    background-color: #404040;
    padding: 5px 7.69%;

    width: 60%;
    max-width: 600px;
    box-shadow: 5px 5px 0px 0px rgba(0, 0, 0, 0.3);
}

.share ul li {
    margin-left: 10%;
    /* シェアの色の反転 */
    filter: invert(100%);
    width: 50%;
}


/*!----- main -----*/
.overview {
    /*それぞれのコンテンツに背景色をつける */
    background-color: #f1f1f1;
    padding: 15px;
    margin-bottom: 120px;

    min-height: 260px;
    box-shadow: 5px 5px 0px 0px rgba(0, 0, 0, 0.4);
}

/*!-----footer----- */
footer .footer-share {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 50%;
    margin: 0 auto;
}

.footer-share li {
    width: 20%;
    max-width: 50px;
    margin: 0 10px;
    transition: .3s;
}

footer small {
    display: block;
    text-align: center;
    margin: 10px 0;
}

footer li:hover {
    transform: scale(1.1);
}

/* !----------------------------------------------top.html------------------------------------------ */

/*!-----main----- */
/* ?blog */
.blog .allpost {
    margin-bottom: 120px;
}

.blog article {
    /*  背景装飾の基準値のためのrelative */
    position: relative;
    margin-bottom: 100px;
}

.blog article img {
    transition: .3s;
}

.blog article img:hover {
    transform: scale(1.1);
}

.blog .allpost :nth-of-type(2n)::after {
    /* 偶数には右に装飾 */
    content: "";
    display: block;
    background-color: #404040;
    width: 80%;
    height: 250px;

    position: absolute;
    top: 50%;
    right: -20%;

    z-index: -1;
    box-shadow: 5px 5px 0px 0px rgba(0, 0, 0, 0.4);
}


.blog .allpost :nth-of-type(3n)::after {
    /* 奇数には左に装飾 */
    content: "";
    display: block;
    background-color: #404040;
    width: 80%;
    height: 150px;

    position: absolute;
    top: 70%;
    left: -20%;

    z-index: -1;
    box-shadow: 5px 5px 0px 0px rgba(0, 0, 0, 0.4);
}

.blog .choice {
    font-size: 20px;
    color: #f1f1f1;
    text-shadow: 0.5px 0.5px 0 #000, -0.5px 0.5px 0 #000, 0.5px -0.5px 0 #000, -0.5px -0.5px 0 #000;
    margin-left: 13px;
    margin-bottom: 10px;
}

.blog .search-paragraph {
    color: #f1f1f1;
    margin-left: 5px;
    margin-bottom: 10px;
    font-size: 20px;
}

.blog .search-span {
    font-weight: bold;
}

.blog .search-none {
    margin-left: 20px;
}


.nav-page ul {
    display: flex;
    justify-content: center;
}

.nav-page ul li {
    margin: 0 5px;
    background-color: #f1f1f1;
    padding: 5px;
    border: 1px #ddd solid;
    box-shadow: 0px 10px 10px -6px rgba(0, 0, 0, 0.3);
}

.nav-page ul li :hover {
    color: #f4a2a2;
    transition: .3s;
}

.page .nav-page {
    font-size: 20px;
    display: flex;
}

.nav-page .nav-links {
    display: flex;
}

.page .nav-page .page-numbers {
    margin: 0 10px;
    background-color: #f1f1f1;
    padding: 10px 20px;
    border: 1px #ddd solid;
    border-radius: 5px;
}

.page .nav-page span {
    display: block;
    transition: .3s;
}

.page .nav-page span :hover {
    color: #f4a2a2;
    transform: scale(1.1);
}


.page .nav-page a {
    display: block;
    transition: .3s;
}

.page .nav-page a:hover {
    color: #f4a2a2;
    transform: scale(1.1);
}

.page {
    display: flex;
    align-items: center;
    justify-content: center;

    position: relative;
}

.page-icon {
    display: flex;
    justify-content: space-between;
    width: 17.94%;
    margin: 0 auto;
}

.page-icon a {
    width: 38%;
}

.page a:hover {
    transform: scale(1.1);
    transition: .3s;
}

.page .list {
    /* Allの右配置 */
    width: 20.51%;
    position: absolute;
    top: 0;
    right: 10%;
}

/* ?about */
.about h2 {
    margin-top: 100px;
}

.introduction {
    display: flex;
    align-items: start;
}

/* todo 背景関係 */
.introduction .overview {
    position: relative;
    margin-bottom: 60px;
}

.introduction .overview::after {
    content: "";
    display: block;
    background-color: #f1f1f1;
    width: 108%;
    height: 100%;

    position: absolute;
    top: 0;
    right: 0%;

    z-index: -1;
}

/* todo 内容 */
.introduction .my-icon {
    width: 15.15%;
    max-width: 160px;
    margin-left: 15px;
    margin-top: 10px;
}

.introduction .technology {
    display: flex;
    align-items: center;
}

.introduction dt:first-child {
    font-size: 30px;
    margin-bottom: 8px;
}

.introduction dt:nth-child(3) {
    font-size: 20px;
    margin: 5px 0;
}

.introduction dd {
    margin-left: 5px;
}

.introduction .technology li {
    margin-right: 10px;
    max-width: 45px;
}

/* !----------------------------------------------single.html------------------------------------------ */


/*!-----header----- */
.single .share {
    justify-content: space-between;
}

.share time {
    font-weight: bold;
    margin-left: 8%;
    letter-spacing: 0.3em;

    width: 30%;
}

.share ul {
    width: 50%;
}

.share ul li {
    width: 50%;
}

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

/* ?blog */
.report {
    text-align: justify;
}

.report h2 {
    font-size: 25px;
    width: 70%;
    padding-bottom: 20px;
}

.report .overview h3 {
    font-size: 22px;
    margin-bottom: 20px;
    margin-top: 20px;
    font-weight: bold;
}

.report .overview p {
    margin-left: 10px;
    margin-bottom: 20px;
    word-break: break-all;

    line-height: 1.9;
}

.report .overview {
    margin-left: 15px;
    margin-bottom: 60px;
    padding: 10px 15px 20px;

    position: relative;
}



.report .decoration :nth-of-type(2n):before {
    /* 偶数は右側に装飾 */
    content: "";
    display: block;
    background-color: #404040;
    width: 50%;
    height: 200%;
    max-height: 350px;

    position: absolute;
    top: 50%;
    right: -20%;
    box-shadow: 5px 5px 0px 0px rgba(0, 0, 0, 0.4);

    z-index: -1;
}

.report .wp-block-heading h3 {
    position: relative;
}

.report .wp-block-heading::after {
    content: "";
    display: block;
    background-color: rgba(101, 99, 99, 0.5);
    position: absolute;

    left: 0;

    height: 15px;
    width: 20px;
}

/* ?other */
.others h2 {
    padding-bottom: 20px;
}

.others .overview {
    margin-left: 15px;
    margin-bottom: 60px;
}

.form .name {
    display: flex;
    margin-bottom: 20px;
}

.form .box {
    border: 1px solid #fff;
    border-radius: 7px;
    background: #fff;
    margin-left: 10px;
    padding: 1px 5px;
}


.comment-form {
    position: relative;
}

.comment h3 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
    margin-top: 15px;
}

.comment .logged-in-as {
    margin-bottom: 10px;
    margin-left: 3px;
}


.comment-form .comment-before {
    margin-bottom: 5px;
}

.comment-form .box {
    width: 100%;
    background-color: #fff;
    border: 1px #f2f2f2 solid;
    border-radius: 5px;
    padding: 5px 10px;
}

.comment-form .form-submit {
    position: absolute;
    bottom: 6%;
    right: 15px;

    background-color: #29affe;
    color: #fff;
    padding: 0 10px;
}

.comment-form .comment-form-author {
    margin-top: 10px;
}

.comment-form #name {
    display: block;
    background-color: #fff;
    border-radius: 5px;
    min-height: 15px;
    min-width: 200px;
    padding: 5px;
    margin: 5px 0;
}

.commets-list ol {
    width: 93%;
}

.comment-meta {
    display: flex;
}

.comment-metadata a time {
    font-size: 15px;
    margin-left: 10px;
}

.comment-body {
    background-color: #fff;
    margin-top: 15px;
    padding: 5px;
    border-radius: 3px;
}

.children li .comment-body {
    margin: 10px 0 0 20px;
}

.error {
    text-align: center;
    position: absolute;
    bottom: 50%;
    right: 0;
    left: 0;
}

.error .inner p {
    font-size: 40px;
}

footer .error {
    display: none;
}

/* !--------------------------------------------PC版表示640PX以上-------------------------------------------- */
@media (min-width:640px) {

    /* !----------------------------------------------common------------------------------------------ */
    /*!-----header----- */

    .hamburger {
        width: 40px;
        height: 25px;
    }



    /* !----------------------------------------------top.html------------------------------------------ */
    /*!-----main----- */
    .blog .allpost {
        display: flex;
        flex-wrap: wrap;
        justify-content: start;
        margin-bottom: 0;
    }

    .allpost article {
        width: 33%;
    }

    .blog .allpost :nth-of-type(2n)::after {
        display: none;
    }

    .blog .allpost :nth-of-type(3n)::after {
        display: none;
    }

    .blog .allpost :nth-of-type(3)::after {
        /* ３番目には右側に装飾 */
        content: "";
        display: block;
        background-color: #404040;
        width: 180%;
        height: 150%;

        position: absolute;
        top: 120%;
        left: 20%;

        z-index: -1;

        box-shadow: 10px 10px 0px 0px rgba(0, 0, 0, 0.4);
    }

    /* !----------------------------------------------single.html------------------------------------------ */
    /*!-----header----- */
    .single time {
        font-size: 18px;
    }

    /*!-----main----- */
    .report h2 {
        font-size: 45px;
    }

    .single .overview {
        min-height: 160px;
    }

    .form {
        display: flex;
        margin: 0 10px;
    }

    .form p {
        font-size: 20px;
    }

    .form .name-comment {
        width: 50%;
        margin-right: 5%;
    }

    .form .comment .box {
        min-height: 280px;
    }

    .form .page {
        display: block;
        width: 40%;
    }
}

/* !----------------------------------------------PC版表示1200PX以上---------------------------------------- */
@media (min-width:1200px) {

    /* !----------------------------------------------common------------------------------------------ */
    /*!-----main----- */
    h2 {
        font-size: 110px;
    }

    /* !-------------------------------------------single.html------------------------------------------ */
    /*!-----header----- */
    .single time {
        font-size: 22px;
    }

    /*!-----main----- */
    .report h2 {
        font-size: 75px;
    }

    .report .overview h3 {
        font-size: 30px;
    }


    .report .overview p {
        font-size: 20px;
    }

    .form .comment .send-text {
        display: block;
        color: #fff;
        font-size: 16px;
        background-color: #29affe;
        text-align: center;

        min-width: 150px;
    }

    .form .comment .send-icon {
        display: none;
    }

    .comment .send {
        bottom: 10px;
        right: 100px;
        width: 8%;
    }
}