@charset "UTF-8";

/*
Theme Name: my blog
Theme URI:
Author: hayato morimo
Author URI:
Description: このサイトは専門学生のブログです。サイトのデザインは「本」をテーマにして作成しました。学校生活で勉強したことなどをたくさん投稿していきたいと思います！
Version: 1.0
License:
License URI:
*/

body {
    font-size: 16px;
    font-family: "Zen Kaku Gothic New",
        sans-serif;
    -webkit-text-stroke: 0.3px;
    line-height: 1.9;
    letter-spacing: 0;
}

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

a:focus-visible {
    outline: 2px solid #000;
    border-radius: 3px;
}

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

.caption-style {
    margin: auto;
    padding-left: 30px;
    margin-bottom: 50px;
    display: block;
    width: 230px;
    height: 57px;
}

.btn {
    margin-left: auto;
    padding: 13px 0;
    border-radius: 25px;
    display: block;
    width: 150px;
    text-align: center;
    font-weight: bold;
    line-height: 1;
    color: #fff;
    background-color: #cb5a44;

    /*アニメーション*/
    transition: all .4s;
}

.btn:hover {
    transform: scale(1.15);
}

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

strong {
    font-weight: bold;
}

/* header */
header {
    padding: 17px 0;
    background-color: #cb5a44;
}

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

header .icon {
    position: relative;
    width: 60px;
    z-index: 9998;

    /* アニメーション */
    transition: all .4s;
}

header .icon:hover {
    transform: scale(1.1);
}

/*========= ナビゲーションのためのCSS ===============*/
#g-nav {
    position: fixed;
    z-index: 999;
    top: -120%;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #cb5a44;
    transition: all 0.6s;
}

#g-nav.panelactive {
    top: 0;
}

/*ナビゲーションの縦スクロール*/
#g-nav.panelactive #g-nav-list {
    position: fixed;
    z-index: 999;
    width: 100%;
    height: 100vh;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

/*ナビゲーション*/
#g-nav ul {
    position: absolute;
    z-index: 999;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#g-nav li a {
    /*アニメーション*/
    transition: all .4s;
}

#g-nav li a:hover {
    transform: scale(1.2);
}

/*リストのレイアウト設定*/
#g-nav li {
    text-align: center;
}

#g-nav li a {
    color: #fff;
    padding: 5px 70px;
    display: block;
    font-size: 25px;
    letter-spacing: 0.1em;
    font-weight: bold;
}

.search form {
    width: 100%;
}

.search form input[type="text"] {
    padding: 0.3em 0.3em;
    text-align: left;
    margin-top: 30px;
    margin-bottom: 20px;
}

.search .btn {
    cursor: pointer;
    width: 100px;
    color: #cb5a44;
    background-color: #fff;
}

/* ハンバーガーメニュー */
.openbtn {
    position: relative;
    z-index: 9999;
    border: #000 solid 3px;
    cursor: pointer;
    width: 50px;
    height: 50px;
    background: #fff;

    /* アニメーション */
    transition: all .4s;
}

.openbtn:hover {
    background-color: #e5e5e5;
}

.openbtn span {
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 11px;
    height: 3px;
    width: 50%;
    background: #000;
}

.openbtn span:nth-of-type(1) {
    top: 13px;
}

.openbtn span:nth-of-type(2) {
    top: 21px;
}

.openbtn span:nth-of-type(3) {
    top: 29px;
}

/* ハンバーガーメニュー回転 */
.openbtn.active span:nth-of-type(1) {
    top: 16px;
    left: 16px;
    transform: translateY(6px) rotate(-45deg);
    width: 30%;
}

.openbtn.active span:nth-of-type(2) {
    opacity: 0;
}

.openbtn.active span:nth-of-type(3) {
    top: 28px;
    left: 16px;
    transform: translateY(-6px) rotate(45deg);
    width: 30%;
}

/* main */
main {
    width: 100%;
    background-image: url(./images/background.png);
    background-size: cover;
}

/* top */
.top {
    margin-bottom: 150px;
    padding: 40px 0;
    background-color: #90bcb0;
}

.top .inner {
    padding: 20px;
    position: relative;
    border: 8px solid #000;
    text-align: center;
}

.top .border {
    position: relative;
    padding: 30px;
    border: 6px solid #000;
}

/* ボックス */
.top .inner::before,
.top .inner::after,
.top .border::before,
.top .border::after {
    content: "";
    position: absolute;
    display: block;
    width: 26px;
    height: 26px;
    background: #000;
}

.top .inner::before {
    top: 0;
    left: 0;
}

.top .inner::after {
    right: 0;
    bottom: 0;
}

.top .border::before {
    left: -26px;
    bottom: -26px;

}

.top .border::after {
    right: -26px;
    top: -26px;
}

.top .title-img {
    margin-bottom: 50px;
    width: 400px;
}

.top .top-img {
    width: 350px;
}

/* pickup */
.pickup {
    margin-bottom: 125px;
}

/*========= スライダーのためのcss ===============*/
.slider {
    position: relative;
}

.slider-item {
    width: 100%;
    height: 50vw;
}

.slider-item img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

/*矢印の設定*/
.slick-prev,
.slick-next {
    position: absolute;
    z-index: 3;
    top: 39%;
    cursor: pointer;
    outline: none;
    border-top: 6px solid #ccc;
    border-right: 6px solid #ccc;
    height: 30px;
    width: 30px;
}

.slick-prev {
    left: 2.5%;
    transform: rotate(-135deg);
}

.slick-next {
    right: 2.5%;
    transform: rotate(45deg);
}

/*ドットナビゲーションの設定*/
.slick-dots {
    position: relative;
    z-index: 3;
    text-align: center;
    margin: 30px 0 0 0;
}

.slick-dots li {
    display: inline-block;
    margin: 0 5px;
}

.slick-dots button {
    color: transparent;
    outline: none;
    width: 8px;
    height: 8px;
    display: block;
    border-radius: 50%;
    background: #ccc;
}

.slick-dots .slick-active button {
    background: #333;
}

/* blog */
.blog {
    margin-bottom: 125px;
}

.blog article {
    margin-bottom: 70px;
}

.blog .post-title {
    margin: 30px auto 20px;
    font-size: 22px;
    font-weight: bold;
    line-height: 1;
}

.blog .date {
    margin: 15px auto;
    font-weight: bold;
    line-height: 1;
}

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

.nav-page li {
    /* アニメーション */
    transition: all .4s;
}

.nav-page li:hover,
.single-nav-page li a:hover {
    color: #fff;
    background-color: #cb5a44;
}

.nav-page {
    margin: 0 5px;
    padding: 5px 15px;
    font-size: 28px;
    font-weight: bold;
}

.page-numbers li {
    margin: 0 5px;
    padding: 0 10px;
}

/* category */
.category {
    margin-bottom: 125px;
    text-align: center;
}

.category li {
    margin-bottom: 25px;
    line-height: 1;
}

.category li a {
    display: inline-block;
    font-size: 20px;
    font-weight: bold;
    line-height: 1;

    /* アニメーション */
    transition: all .4s;
}

.category li a:hover {
    transform: scale(1.2);
}

/* archive */
.archive {
    margin-bottom: 125px;
    text-align: center;
}

.archive li {
    margin-bottom: 25px;
    line-height: 1;
}

.archive li a {
    display: inline-block;
    font-size: 20px;
    font-weight: bold;
    line-height: 1;

    /* アニメーション */
    transition: all .4s;
}

.archive li a:hover {
    transform: scale(1.15);
}

/* profile */
.profile {
    margin-bottom: 150px;
}

.profile-content {
    padding: 50px;
    border: 10px double #000;
    text-align: center;
    background-color: #cae3ea;
}

.icon-img {
    width: 180px;
}

.profile ul {
    margin: 35px auto 0;
}

.profile .name {
    margin-bottom: 15px;
    font-size: 20px;
    font-weight: bold;
}

.profile .profile-text {
    margin-top: 30px;
    margin-bottom: 40px;
    display: inline-block;
    text-align: left;
}

.profile .btn {
    margin-right: auto;
}

/* loop-wrap */
.loop-wrap {
    display: flex;
    overflow: hidden;
}

.loop-wrap li {
    width: 1000px;
}

.loop-contents {
    display: flex;
    animation: loopAnimation 35s linear infinite;
}

@keyframes loopAnimation {
    0% {
        transform: translate(0%);
    }

    100% {
        transform: translate(-100%);
    }
}

/* footer */
.blog-footer {
    padding: 40px 0 20px;
    text-align: right;
    background-color: #cb5a44;
}

.blog-footer img {
    width: 110px;
    height: 84px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
}

.blog-footer ul {
    display: none;
}

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

/* single-blog */
.single-blog {
    margin-bottom: 125px;
    padding-top: 100px;
}

.single-blog h1 {
    margin-bottom: 50px;
    font-size: 30px;
    font-weight: bold;
    line-height: 1;
}


.single-blog-top {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.single-category {
    font-size: 17px;
    line-height: 1;
}

.single-category ul {
    margin-bottom: 0;
}

.single-category li {
    margin-right: 10px;
    padding: 8px;
    border: 3px solid #000;
    background-color: #fff;

    /* アニメーション */
    transition: all .4s;
}

.single-category li:hover {
    transform: scale(1.1);
}

.single-date {
    margin-left: 10px;
    font-size: 20px;
}

/* post */
.post {
    margin-bottom: 70px;
    border-bottom: 3px solid #000;
}

.single-blog .mainimage {
    margin-bottom: 70px;
}

.post p,
.post img {
    margin-bottom: 40px;
}

.post p {
    text-align: justify;
}

.post a {
    text-decoration: underline;
}

#ez-toc-container {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 50px;
    padding: 25px 20px;
    border: 4px solid #000;
    width: 68%;
    text-align: center;
    background-color: #fff;
}

#ez-toc-container p,
#ez-toc-container a {
    font-size: 15px;
    font-weight: bold;
}

.ez-toc-title-container {
    margin-bottom: 30px;
}

.ez-toc-list {
    display: inline-block;
    text-align: left;
}

.ez-toc-title-toggle {
    display: none;
}

.single-blog h2 {
    margin-bottom: 40px;
    padding: 10px 20px;
    border-left: 10px double #000;
    border-right: 10px double #000;
    font-size: 21px;
    font-weight: bold;
}

.single-blog h3,
.single-blog h4,
.single-blog h5 {
    margin-bottom: 40px;
    padding: 0 20px;
    border-left: 10px double #000;
    font-size: 18px;
    font-weight: bold;
}

.single-blog h2:nth-of-type(1),
.single-blog h2:nth-of-type(7) {
    background-color: #f49274;
}

.single-blog h2:nth-of-type(2),
.single-blog h2:nth-of-type(8) {
    background-color: #c4dab0;
}

.single-blog h2:nth-of-type(3),
.single-blog h2:nth-of-type(9) {
    background-color: #9dc6ec;
}

.single-blog h2:nth-of-type(4),
.single-blog h2:nth-of-type(10) {
    background-color: #f9d67d;
}

.single-blog h2:nth-of-type(5),
.single-blog h2:nth-of-type(11) {
    background-color: #c099cd;
}

.single-blog h2:nth-of-type(6),
.single-blog h2:nth-of-type(12) {
    background-color: #99d6cf;
}


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

.single-nav-page a {
    margin: 0 30px;
    padding: 5px 15px;
    font-size: 20px;
    font-weight: bold;
}

.single-nav-page li a {
    /* アニメーション */
    transition: all .4s;
}

.addtoany_content {
    text-align: center;
}

.wp-block-kevinbatdorf-code-block-pro {
    margin-bottom: 30px;
}

/* comment */
.comment-all {
    margin-bottom: 125px;
}

form {
    margin-left: auto;
    margin-right: auto;
    width: 85%;
}

form input[type="text"],
form input[type="email"],
form textarea {
    padding: 0.5em 0.3em;
    border: 3px solid #000;
    width: 100%;
    border-radius: 10px;
    background-color: #fff;
}

form input[type="text"] {
    margin: 10px 0 30px;
}

form input[type="email"] {
    margin: 10px 0 64px;
}

form span {
    margin-left: 7px;
    font-size: 15px;
    color: #e43e1d;
}

form textarea {
    margin-bottom: 60px;
}

.form-submit .submit {
    margin-left: auto;
    margin-right: auto;
    padding: 13px 0;
    border-radius: 25px;
    display: block;
    width: 150px;
    text-align: center;
    font-weight: bold;
    line-height: 1;
    color: #fff;
    background-color: #cb5a44;

    /*アニメーション*/
    transition: all .4s;
}

.form-submit .submit:hover {
    transform: scale(1.15);
}

form .btn {
    cursor: pointer;
    margin-right: auto;
}

.commets-list {
    margin-left: auto;
    margin-right: auto;
    width: 85%;
    text-align: center;
}

.commets-list h3 {
    margin-top: 100px;
    margin-bottom: 40px;
    border-bottom: 8px double #000;
    display: inline-block;
    font-size: 25px;
    font-weight: bold;
    text-align: center;
}

.commets-list ol {
    text-align: left;
}

ol .depth-1 {
    margin-bottom: 30px;
}

/* https: //saruwakakun.com/html-css/reference/speech-bubble */
.comment-body {
    position: relative;
    margin: 0 0 15px 15px;
    padding: 12px 18px;
    border-radius: 12px;
    background: #FFF;
    border: solid 3px #000;
}

.comment-body:before {
    content: "";
    position: absolute;
    top: 65%;
    left: -24px;
    margin-top: -12px;
    border: 12px solid transparent;
    border-right: 12px solid #FFF;
    z-index: 2;
}

.comment-body:after {
    content: "";
    position: absolute;
    top: 65%;
    left: -30px;
    margin-top: -14px;
    border: 14px solid transparent;
    border-right: 14px solid #000;
    z-index: 1;
}

.comment-body p {
    margin: 0;
    padding: 0;
}

.children .depth-2 {
    margin-left: 30px;
}

.reply {
    text-align: right;
}

.comment-reply-link {
    padding: 3px 5px;
    border-radius: 8px;
    color: #FFF;
    background-color: #cb5a44;
}

.comment h3 {
    text-align: center;
}

.comment-meta {
    margin-bottom: 8px;
    font-size: 15px;
    line-height: 1.4;
    color: #c85000;
}

.fn {
    font-size: 17px;
    font-weight: bold;
}

/* profile */
.single-profile-content {
    padding: 50px;
    border: 10px double #000;
    text-align: center;
    background-color: #cae3ea;
}

.single-profile-content .icon-img {
    width: 150px;
}

/*archive,search
-------------------------------------*/
.result {
    text-align: center;
}

.result p {
    margin-bottom: 50px;
    border-bottom: 8px double #000;
    display: inline-block;
    font-size: 20px;
    font-weight: bold;
}

.no-post {
    text-align: center;
}

/*contact
-------------------------------------*/
.contact {
    margin-bottom: 50px;
    padding-top: 100px;
    text-align: center;
}

/*404
-------------------------------------*/
.top-404 {
    padding: 40px 0;
    background-color: #fff;
}

.top-404 .inner-404 {
    margin-bottom: 120px;
    padding: 20px;
    position: relative;
    border: 8px solid #c96659;
    text-align: center;
}

.top-404 .border-404 {
    position: relative;
    padding: 30px;
    border: 6px solid #c96659;
}

/* ボックス */
.top-404 .inner-404::before,
.top-404 .inner-404::after,
.top-404 .border-404::before,
.top-404 .border-404::after {
    content: "";
    position: absolute;
    display: block;
    width: 26px;
    height: 26px;
    background: #c96659;
}

.top-404 .inner-404::before {
    top: 0;
    left: 0;
}

.top-404 .inner-404::after {
    right: 0;
    bottom: 0;
}

.top-404 .border-404::before {
    left: -26px;
    bottom: -26px;

}

.top-404 .border-404::after {
    right: -26px;
    top: -26px;
}

.top-404 .title-img {
    margin-bottom: 50px;
    width: 400px;
}

.top-404 .top-img {
    width: 350px;
}

.btn-404 {
    margin-left: auto;
    margin-right: auto;
    padding: 13px 0;
    border-radius: 25px;
    display: block;
    width: 300px;
    text-align: center;
    font-size: 25px;
    font-weight: bold;
    line-height: 1;
    color: #fff;
    background-color: #c96659;

    /*アニメーション*/
    transition: all .4s;
}

.btn-404:hover {
    transform: scale(1.15);
}

/*MediaQuery
-------------------------------------*/
@media (min-width:880px) {
    body {
        font-size: 17px;

    }

    .shrink {
        width: 65.79%;
    }

    #g-nav li a {
        padding: 10px 70px;
        font-size: 30px;
    }

    .caption-style {
        width: 288px;
        height: 71px;
    }

    .top {
        padding: 90px 0;
    }

    .top .inner {
        border: 11px solid #000;
    }

    .top .border {
        padding: 70px;
        display: flex;
        justify-content: space-around;
        align-items: center;
    }

    .top .title-img {
        margin-right: 70px;
        width: 500px;
    }

    .top .top-img {
        margin-left: 70px;
        width: 38%;
    }

    .slider-item img {
        width: 100%;
        aspect-ratio: 3/2;
        object-fit: cover;
    }

    .slick-dots {
        margin: -30px;
    }

    .blog article {
        margin-bottom: 0;
    }

    .post-all {
        margin-bottom: 70px;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        column-gap: 80px;
        row-gap: 80px;
    }

    .nav-page li {
        margin: 0 10px;
        padding: 0 10px;
    }

    .select {
        margin-bottom: 125px;
        display: flex;
        justify-content: space-between;
    }

    .select .category,
    .select .archive {
        margin-bottom: 0;
        width: 49%;
    }

    .blog .post-title {
        font-size: 28px;
    }

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

    .profile-content ul {
        margin: 0;
    }

    .profile-content .icon-img {
        margin-right: 100px;
        width: 222px;
    }

    .blog-footer ul {
        display: flex;
    }

    .blog-footer li {
        margin-left: 70px;
        font-size: 30px;
        font-weight: bold;
        color: #fff;

        /*アニメーション*/
        transition: all .4s;
    }

    .blog-footer li:hover {
        transform: scale(1.2);
    }

    .blog-footer img {
        width: 206px;
        height: 180px;
    }

    #ez-toc-container p,
    #ez-toc-container a {
        font-size: 17px;
    }

    .slick-prev,
    .slick-next {
        border-top: 8px solid #ccc;
        border-right: 8px solid #ccc;
        top: 42%;
        height: 35px;
        width: 35px;
    }

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

    .single-blog h2 {
        padding: 15px 30px;
        font-size: 30px;
    }

    .single-blog h3,
    .single-blog h4,
    .single-blog h5 {
        font-size: 25px;
    }

    .single-date {
        margin-left: 40px;
    }

    .result p {
        font-size: 25px;
    }

    .top-404 {
        padding: 90px 0;
    }

    .top-404 .inner-404 {
        border: 11px solid #c96659;
    }

    .top-404 .border-404 {
        padding: 100px;
        display: flex;
        justify-content: space-around;
        align-items: center;
    }

    .top-404 .title-img-404 {
        margin-right: 70px;
        width: 500px;
    }

    .top-404 .top-img {
        margin-left: 70px;
        width: 38%;
    }
}

@media (min-width:1150px) {
    .single-content {
        display: flex;
        justify-content: space-between;
    }

    .single-blog h1 {
        font-size: 50px;
    }

    .main-post {
        width: 60%;
    }

    .side {
        margin-top: 100px;
        width: 28%;
    }

    .image-flex {
        display: flex;
        justify-content: space-between;
    }

    .image-flex img {
        width: 48%;
    }

    .comment {
        margin-bottom: 0;
    }
}