@charset "utf-8";

@import url("../css/reset.css");
@import url("../css/base.css");


/*
* all
**********/

body.hidden {
    overflow-y: hidden;
}

section {
    width: 95%;
    max-width: 1000px;
    margin: 140px auto 0;
}
@media screen and (max-width: 800px) {
    section {
        margin: 80px auto 0;
    }
}


/*
* header
**********/

header {
    position: fixed;
    display: flex;
    width: 100%;
    height: 90px;
    top: 0;
    left: 0;
    justify-content: space-between;
    background-color: #fff;
    border-top: #009632 solid 5px;
    z-index: 1000;
}
header a {
    text-decoration: none;
}
header #header_logo {
    height: 66px;
    width: 190px;
    padding: 12px 20px;
    background-color: #009632;
    border-bottom-right-radius: 40px;
    transition: height 0.5s,width .5s;
}
header #header_logo img {
    width: auto;
    height: auto;
    display: block;
    margin: auto;
}
header #header_logout {
    margin: 30px 40px 0 0;
    padding: 10px 20px;
    background-color: #009632;
    color: #fff;
    font-weight: bold;
    border-radius: 4px;
}
@media screen and (max-width: 800px) {
    header {
        height: 65px;
    }
    header #header_logo {
        height: 46px;
        width: 132px;
        padding: 7px 20px;
        border-bottom-right-radius: 20px;
    }
    header #header_logout {
        margin: 15px 15px 0 0;
        padding: 10px;
        border-radius: 4px;
    }
}

/*
* post
**********/

.single_date {
    color: #009632;
    font-weight: bold;
}
.single_title {
    font-weight: bold;
}

/*
* list
**********/
.wrapper {
    display: flex;
    justify-content: space-between;
}

.list {
    width: 70%;
}
.cont {
    padding: 20px 0;
    border-bottom: solid 1px #d8d8d8;
}
.cont:first-child {
    border-top: solid 1px #d8d8d8;
}
.cont a {
    display: flex;
}
.list_image {
    width: 30%;
    margin-right: 20px;
    padding-top: 5px;
}
.list_title {
    font-weight: bold;
}
.list_title p {
    color: #009632;
}

.list_a {
    width: 25%;
    background-color: #eefbee;
    border-radius: 10px;
    padding: 20px 10px;
}
.list_a p {
    width: 100%;
    padding: 5px 0;
    background-color: #009632;
    color: #fff;
    font-weight: bold;
    text-align: center;
    border-radius: 4px;
}
.list_a ul {
    margin: 10px 0 0 10px;
}
.list_a li::before {
    content: "●";
    font-size: 14px;
    color: #009632;
    margin-right: 5px;
}
.pagenation {
    text-align: right;
    margin-top: 15px;
}
.page_number {
    display: inline-block;
    margin: 0 20px;
}
@media screen and (max-width: 800px) {
    .wrapper {
        flex-flow: column;
    }
    .list {
        width: 100%;
    }
    .list_a {
        width: calc(100% - 40px);
        margin: 20px auto 0;
    }
    .list_image {
        width: 100%;
    }
}


/*
* single
**********/
.post_area {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}
.view_area {
    width: 60%;
}
.thumbnail {
    margin-top: 20px;
}
.thumbnail li {
    width: 15%;
}
.from_master {
    width: 30%;
    height: fit-content;
    padding: 20px;
    border: solid 1px #d8d8d8;
}
.from_master p {
    border-bottom: solid 1px #d8d8d8;
    margin-bottom: 10px;
    padding-bottom: 10px;
}
.comment {
    width: calc(100% - 100px);
    margin: 30px auto 40px;
    padding: 25px 50px;
    border: solid 1px #d8d8d8;
}
.comment-reply-title {
    padding: 10px 30px;
    background-color: #eefbee;
    font-size: 22px;
    font-weight: bold;
}
form#commentform {
    margin: 30px auto;
}
.comment-form-comment label {
    display: block;
    margin-bottom: 5px;
    color: #009632;
    font-weight: bold;
}
textarea#comment {
    width: calc(100% - 40px);
    padding: 20px;
    outline: none;
    border: none;
    background-color: #f5f5f5;
    border-radius: 4px;
    font-size: 18px;
}
p.form-submit {
    text-align: center;
}
input#submit {
    border: none;
    margin-top: 15px;
    padding: 10px 20px;
    color: #fff;
    background-color: #009632;
    border-radius: 4px;
    font-weight: bold;
    font-size: 16px;
    -webkit-appearance: none;
}
@media screen and (max-width: 800px) {
    .post_area {
        flex-wrap: wrap;
        justify-content: center;
    }
    .view_area {
        width: 100%;
        margin-bottom: 20px;
    }
    .from_master {
        width: 100%;
    }
    .comment {
        width: calc(100% - 50px);
        padding: 25px;
    }
    .comment-reply-title {
        padding: 10px;
        font-size: 18px;
    }
}

.comment-content {
    display: flex;
}
.comment-content img {
    width: 100px;
    height: 100px;
    margin-right: 10px;
}
.comment-author {
    margin-bottom: 7px;
}
.comment-author cite {
    font-size: 18px;
    font-weight: bold;
}
.comment-date a {
    font-size: 14px;
    color: #9d9d9d;
}
.comment .sp_only {
    margin: 10px 0;
}
.comment-reply {
    text-align: right;
}
.comment-reply a {
    position: relative;
    color: #009632;
    font-weight: bold;
    font-size: 18px;
}
.comment-reply a::before {
    position: absolute;
    content: '';
    height: 16px;
    width: 20px;
    left: -30px;
    top: 5px;
    background: url(../images/reply.png) center / contain no-repeat;
}

/* slide */

.slide {
    position: relative;
    margin: 0;
    padding: 0;
  }
  .slide li {
    position: relative;
    height: 100%;
  }
  .slide li::before {
    display: block;
    padding-top: clamp(200px,70%,400px);
    content: "";
    position: relative;
    overflow: hidden;
  }
  .slide li img,
  .slide li video {
        position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
    width: 100%;
  }
  .slide > .slick-list,
  .slide > .slick-list > .slick-track,
  .slide > .slick-list > .slick-track > .slick-slide > div {
    position: relative;
    height: 100%;
  }
  .slide-navigation .wp-block-video {
    margin: 0 0 0;
    }
  
  /* slide-navigation */
  
  .slide-navigation {
    position: relative;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
  }
  .slide-navigation li {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    width: 19%;
    height: 100%;
    margin: 0.5%;
    padding: 0;
  }
  .slide-navigation li::before {
    display: block;
    padding-top: 70%;
    content: "";
  }
  .slide-navigation li video, 
  .slide-navigation li img {
        position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
    width: 100%;
  }
  .slide-navigation .current::after {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    content: "";
    opacity: 0.5;
    background: #000;
  }

.return_list {
    width: fit-content;
    margin: 30px auto 0;
    padding: 10px 20px;
    background-color: #009632;
    color: #fff;
    font-weight: bold;
    border-radius: 4px;
}


/*
* login
**********/
.login_form {
    width: 95%;
    max-width: 700px;
    margin: 0 auto;
    padding: 30px 50px;
    background-color: #eefbee;
    border-radius: 40px;
    text-align: center;
}
.login_form h4.login_title {
    font-size: 22px;
    font-weight: bold;
    text-align: left;
}
.login_form p {
    margin: 20px auto 0;
}
.login_form label {
    display: block;
    color: #009632;
    font-weight: bold;
    text-align: left;
}
.login_form input[type="text"] ,
.login_form input[type="password"] {
    width: calc(100% - 40px);
    border: none;
    padding: 20px;
    background-color: #fff;
    border-radius: 4px;
    font-size: 18px;
}
.login_form .login-remember label {
    text-align: center;
}
.login_form input#wp-submit {
    padding: 10px 30px;
    background-color: #009632;
    color: #fff;
    font-weight: bold;
    border-radius: 4px;
    border: none;
    font-size: 16px;
    -webkit-appearance: none;
}
.login_form .login_error {
    color: #dc3232;
}
.login_form .login_text {
    font-size: 14px;
}
@media screen and (max-width: 800px) {
    .login_form {
        width: calc(95% - 40px);
        padding: 30px 20px;
        border-radius: 15px;
    }
}


/*
* footer
**********/
#btn_to_top {
    position: fixed;
    width: 50px;
    height: 50px;
    right: 50px;
    bottom: 50px;
    cursor: pointer;
    opacity: 0;
    transition: all .5s;
    z-index: 1000;
}
#btn_to_top.is-visible {
    opacity: 1;
    transition: all .5s;
}

footer {
    width: 100%;
    padding-top: 80px;
    text-align: center;
}
footer span {
    display: block;
}
footer span.footer_title {
    color: #009632;
    font-weight: bold;
}
footer span.footer_sabtitle {
    font-size: 12px;
    margin-bottom: 15px;
}
footer p {
    margin-top: 20px;
    padding: 5px 0;
    color: #fff;
    background-color: #009632;
    font-size: 12px;
}
@media screen and (max-width: 800px) {
    #btn_to_top {
        bottom: 30px;
        right: 30px;
    }
    footer {
        padding-top: 40px;
    }
}