/*
Theme Name: MyTheme
Theme URI:
Author:
Author URI:
Description:
Version: 1.0
*/

* {
    color: #111111;
    font-family: sans-serif;
}

/* ヘッダ */
.sp-nav {
    display: none;
}
header {
    position: fixed;
    display: flex;
    background: rgb(255 255 255 / 0.5);
    width: 100%;
    padding: 35px 50px;
    z-index: 2;
}
header ul {
    display: flex;
}
header li {
    margin-right: 20px;
}
header a {
    font-family: serif;
    font-size: 13px;
}
header a:hover {
    color: #ddd;
}

/* フッタ */
footer {
    padding: 20px;
}
footer small {
    font-family: serif;
}

/* メイン・コンテンツ */
main, footer {
    text-align: center;
}

main {
    padding: 50px 0px;
    padding-top: 108.4px;
}
main h1 {
    font-family: sans-serif;
    font-size: 19px;
    font-weight: 400;
    letter-spacing: 4px;
    margin-top: 230px;
    margin-bottom: 300px;
}
.pickup {
    padding: 50px 50px;
}
.pickup ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}
.pickup li {
    width: 321px;
    margin-bottom: 50px;
}
.pickup li img {
    width: 320px;
    height: 240px;
}
.pickup h2 {
    font-family: serif;
    font-size: 18px;
    padding: 10px;
}
.pickup p {
    font-size: 15px;
}
.pickup a {
    display: inline-block;
}
.pickup a:hover {
    opacity: 0.5;
}

/* 投稿ページ */
.single {
    text-align: center;
    padding-top: 80px;
}
.single .image-box {
    margin: auto;
    margin-top: 30px;
    position: relative;
    z-index: 1;
    width: 640px;
}
.single .image-box .shadow {
    box-shadow: 2px 2px 4px 1px rgba(0,0,0,12%);
}
.single .image-box .shadow img {
    position: relative;
    z-index: -1;
}
.single h2 {
    font-size: 19px;
    padding: 40px;
    word-break: break-all;
}
.single img {
    width: 640px;
    height: 480px;
}
.single > p {
    overflow: hidden;
    margin: auto;
    text-align: left;
    width: 640px;
    padding: 15px;
}
.single > p a {
    color: #696969;
    border-bottom: 1px solid #696969;
}

/* profileページ */
.profile {
    text-align: center;
    padding: 58.4px 50px;
}
.profile h2 {
    font-size: 19px;
    padding: 40px;
}
.profile .introduction {
    display: flex;
    justify-content: space-between;
}
.profile .image {
    width: 50%;
}
.profile img {
    width: 300px;
    height: 399px;
}
.profile .history {
    width: 50%;
    text-align: left;
    padding-left: 10%;
}
.profile .history .name {
    font-size: 15px;
    padding: 20px 0;
}

/* contactページ */
.contact {
    padding: 58.4px 50px;
}
.contact h2 {
    text-align: center;
}
.contact h2 {
    font-size: 19px;
    padding: 40px;
}
.contact form {
    background-color: #ddd;
    background-size: cover;
    margin: auto;
    padding: 20px 10px  ;
    width: 750px;
    border-radius: 10px;
}
.contact label {
    color: #fff;
    font-weight: bold;
    margin: auto;
    display: flex;
    justify-content: space-between;
    padding: 10px;
}
.contact label input, .contact label textarea {
    background: rgb(255 255 255 / 0.9);
    width: 500px;
    margin-bottom: 10px;
}
.contact label input {
    height: 25px;
}
.contact textarea {
    height: 125px;
}
.contact form > input {
    display: block;
    margin: auto;
    text-align: center;
    width: 200px;
    padding: 20px 0;
    border-radius: 30px;
    background: rgb(255 255 255 / 0.1);
    color: #fff;
    font-weight: bold;
}
.contact form > input:hover {
    color: #111111;
    background-color: #fff;
}
.contact .screen-reader-response {
    font-weight: bold;
    width: 720px;
    margin: auto;
    text-align: center;
    padding: 10px 0;
}
.contact form .wpcf7-response-output {
    display: none;
}

/* blogページ */
.blog {
    padding: 58.4px 50px;
}
.blog h2 {
    text-align: center;
    font-size: 19px;
    padding: 40px;
}
.blog ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}
.blog li {
    text-align: center;
    width: 321px;
    margin-bottom: 50px;
}
.blog li a:hover {
    opacity: 0.5;
}
.blog li img {
    width: 320px;
    height: 240px;
}
.blog li .date, .blog li h3 {
    font-family: serif;
}
.blog li .date {
    font-size: 15px;
    padding: 5px;
}
.blog li h3 {
    font-size: 18px;
    padding: 5px;
}

@media screen and (max-width:768px) {
    .pc-nav {
        display: none;
    }
    .sp-nav {
        display: block;
    }
    .sp-nav i {
        font-size: 25px;
        width: 100%;
        text-align: right;
    }
    .sp-nav ul {
        display: block;
    }
    .sp-nav li {
        width: 100%;
        padding: 20px;
    }
    .sp-nav a {
        font-size: 25px;
    }
    .sp-nav .overlay {
        display: none;
        position: fixed;
        top: 0;
        bottom: 0;
        right: 0;
        left: 0;
        background: rgba(255, 255, 255, 0.95);
        text-align: center;
        padding: 64px;
    }
    .sp-nav .show {
        display: block;
    }
    .sp-nav .hide {
        display: none;
    }

    main h1 {
        margin-top: 130px;
        margin-bottom: 230px;
    }

    .pickup {
        padding: 0;
    }
    .pickup ul {
        justify-content: center;
    }

    .single .image-box {
        width: 320px;
    }
    .single > p, .single img {
        width: 320px;
    }
    .single img {
        height: 240px;
    }

    .profile {
        text-align: center;
        padding: 58.4px 10px;
    }
    .profile .introduction {
        display: block;
    }
    .profile .image, .profile .history {
        width: 100%;
    }
    .profile .history {
        padding: 0;
        text-align: center;
    }

    .contact {
        padding: 58.4px 0px;
    }
    .contact form {
        padding: 20px 10px  ;
        width: 330px;
    }
    .contact label input, .contact label textarea {
        width: 100%;
        margin-top: 10px;
        margin-bottom: 5px;
    }
    .contact label {
        flex-direction: column;
    }
    .contact .screen-reader-response {
        font-weight: bold;
        width: 100px;
        margin: auto;
        text-align: center;
        padding: 10px 0;
    }

    .blog ul {
        justify-content: center;
    }
}