html {
    scroll-behavior: smooth;
}
body{
    margin:0; 
}
#navigation {
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    margin: 20px 0;
}
#menu li{
    font-family: "Nothing You Could Do", cursive;
    font-weight: 400;
    font-style: normal;
    list-style: none;
    display: inline;
    padding-left: 20px;
}
#menu li a{
    color: #91671D;
    text-decoration: none;
    font-size: 24px;
}
#mainvisual {
    width: 100%;
    margin: 0;
    padding: 0;
    height: auto;
}
#mainvisual img{
    vertical-align: bottom; /*下に合わせる?*/
    margin: 0;
    width: 100%;
}
#profile {
    background-color: #F5F2ED;
    padding: 30px 0px 10px 0px;
}
.title p{
    font-family: "Nothing You Could Do", cursive;
    font-weight: 400;
    font-style: normal;
    color: #91671D;
    font-size: 28px;
    display: flex;
    justify-content: center;
    margin: 0;
}
#profiletext p{
    font-family: "Shippori Mincho B1", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    display: flex;
    justify-content: center;
    margin: 0 20px;
    letter-spacing: 0.06em;
}
#skill-wrapper {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 65px;
    margin: 50px auto;
    font-family: "Shippori Mincho B1", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
}
#skill-wrapper h4{
    position: absolute;
    top: -35px;
    background-color: #F5F2ED;
    padding: 0px 10px;
}
.box {
    position: relative;
    width: 230px;
    height: 200px;
    padding: 15px 15px 15px;
    box-sizing: border-box;
    border: 1px solid #b8a27a;
}
.box h4 {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}
.icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 7px;
    margin-top: 20px;
}
.icons img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}
.box.tools {
    width: 410px;
}
.title h5 {
    font-family: "Shippori Mincho B1", serif;
    font-weight: 400;
    font-style: normal;
    color: #91671D;
    font-size: 16px;
    display: flex;
    justify-content: center;
    margin: 0;
    padding-bottom: 20px;
}
#works {
    padding: 40px 0 40px 0;    
    background-image: url("../img/image_background.png");
    background-repeat: no-repeat;

    background-size: cover;
    /* 表示位置（中央に配置） */
    background-position: center center;
    /* 要素のサイズ（例） */
    width: 100%;
    }
.work-item {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 50px;
    width: 1015px;
    margin: 0px auto;
    padding-top: 30px;
} 
.work-image {
    width: 240px;
}
.work-image img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}
.work-content h4 {
    font-family: "Shippori Mincho B1", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    margin: 0 0 17px;
    font-size: 20px;
    font-weight: 500;
}
.label {
    font-family: "Shippori Mincho B1", serif;
    font-weight: 400;
    font-style: normal;
    width: 87px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    background: #EBE6E6;
    font-size: 16px;
    letter-spacing: 0.04em;
}
.work-content p {
    font-family: "Shippori Mincho B1", serif;
    font-weight: 400;
    font-style: normal;
    margin: 0;
    font-size: 14px;
    letter-spacing: 0.06em;
}
.label.tool {
    margin-top: 20px;
}
.tool-name {
    font-size: 13px;
}
#catch img{
    margin: 0;
    width: 100%;
    vertical-align: bottom;
}
#contact {
    padding: 30px 0 100px 0;
    background-color: #F5F2ED;
    position: relative; /* position: absolute;とセット */
}
#title-contact {
    padding-top: 40px;
    font-family: "Shippori Mincho B1", serif;
    font-weight: 400;
    font-style: normal;
    margin: 0;
    font-size: 28px;
    font-weight: 600;
    letter-spacing: 0.06em;
}
#contact .title {
    background-color: #F5F2ED;
    z-index: 1;
    position: absolute; /* relativeを設定した枠内で絶対位置 */
    width: 50%;
    margin: 0 auto; /* 中央に寄せたい場合は左右auto, left/right 0 */
    left: 0;
    right: 0;
    text-align: center;
}
/* 上下左右中央に寄せたい場合, left/right/top/bottom 0, margin: auto;*/
.contact-item {
    border-bottom: 1px #ccc solid ;
    padding: 0 30px 14px;
    display: block;
    margin: 30px auto;
    width: 85%;
}
.contact-item p {
    /* display: block;
    text-align: left;
    margin: 0; */
    font-size: 18px;
    margin: 0 0 10px 0;
    text-align: left
}
.contact-item p span {
    color: #D32929;
}
#contact-wrapper {
    font-family: "Shippori Mincho B1", serif;
    font-weight: 400;
    font-style: normal;
    margin: 90px auto 0 auto;
    width: 1015px;
    border: 1px #BFA067 solid ;
    border-radius: 20px;
    position: relative;
    box-sizing: border-box;
    border: 1px solid #b8a27a;
    z-index: 0; /* レイヤーの順番 0が一番下 */
}
.contact-item input,
.contact-item textarea {
    display: block;
    width: 100%;
    padding: 0 30px 30px 30px;
    box-sizing: border-box;
    font-size: 18px;
    font-family: "Shippori Mincho B1", serif;
    font-weight: 400;
    font-style: normal;
}

.contact-item input {
    height: 58px;
    padding: 10px 15px;
}

.contact-item textarea {
    height: 180px;
    padding: 10px 15px;
}
/* #contact-item .input {
    width: 80%;
    padding: 15px;
    border: 1px #BFA067 solid ;
    border-radius: 6px;
    margin: 10px 0;
    font-size: 18px;
    font-family: "Shippori Mincho B1", serif;
    font-weight: 400;
    font-style: normal;
}
#contact-wrapper .textarea {
    width: 80%;
    padding: 15px;
    border: 1px #BFA067 solid ;
    border-radius: 6px;
    margin: 10px 0;
    height: 145px;
    font-size: 18px;
    font-family: "Shippori Mincho B1", serif;
    font-weight: 400;
    font-style: normal;
} */
.btn {
    display: block;
    text-align: center;
    width: 120px;
    margin: 0 auto 20px auto;
    background-color: #91671D;
    color: #FFFFFF;
    border-radius: 7px;
    height: 40px;
    font-size: 18px;
    font-family: "Shippori Mincho B1", serif;
    font-weight: 600;
    font-style: normal ;
    border: none;
}
#footer_menu ul{
    font-family: "Nothing You Could Do", cursive;
    font-weight: 400;
    font-style: normal;
    list-style: none;
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 30px;
    padding-top: 30px;
}
#footer_menu li a{
    color: #91671D;
    text-decoration: none;
    font-size: 24px;
}
#copyright p{
    color: #91671D;
    font-family: "Shippori Mincho B1", serif;
    font-weight: 600;
    font-style: normal ;
    display: flex;
    justify-content: center;
}
#copyright {
    padding-top: 10px;
    padding-bottom: 10px;
}
@media screen and (max-width: 768px) {
    /* ナビゲーション */
    #navigation {
        padding: 0 15px;
        align-items: center;
        margin: 0;
    }
    #logo img {
        width : 150px;
    }
    #menu li a {
        font-size: 12px;
    }
    #menu ul {
        padding: 0;
    }
    /* Profile */
    #skill-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 50px;
    }
    .box {
        width: 80%;
        max-width: 410px;
    }
    .box.tools {
        width: 80%;
        max-width: 410px;
    }
    /* Works */
    .work-item {
        grid-template-columns: 1fr;
        width: 80%;
        gap: 20px;
    }
    .work-image {
        width: 100%;
        max-width: 240px;
        margin: 0 auto;
    }
    .icons img {
        width: 40px;
        height: 40px;
        object-fit: contain;
    }
    .work-content h4{
        text-align: center;
    }
    /* .label {
        margin-left: auto;
        margin-right: auto;
    } */

    /* Contact */
    #contact {
        padding-bottom: 30px;
    }
    #contact .title {
        width: 80%;
    }
    #title-contact {
        font-size: 24px;
        padding-top: 10px;
    }
    .title h5 {
        width:90%;
        margin: 0 auto;
    }
    #contact-wrapper {
        width: 90%;
    }
    .contact-item {
        width: 85%;
        padding: 0 0 14px;
    }
    .contact-item input,
    .contact-item textarea {
        width: 100%;
    }
    /* Footer */
    #footer_menu ul {
        gap: 15px;
        padding-left: 0;
        padding-top: 0;
    }
    #footer_menu li a {
        font-size: 18px;
    }
    #copyright {
        font-size: 12px;
        padding-top: 0;
    }
}
.wpcf7-response-output {
    width: 50%;
    margin: 20px auto 0 auto!important;
    text-align: center;
    padding: 10px 0!important;
    background-color: #fff;
}
.wpcf7-response-output {
    width: 50%;
    margin: 20px auto 0 auto!important;
    text-align: center;
    padding: 10px 0!important;
    background-color: #fff;
}
.single-content {
    width: 1015px;
    margin: 20px auto;

}
.single-content table {
    border-top: 1px #ccc solid;
    width: 100%;
    border-right: 1px #ccc solid;
}
.single-content table td {
    border-bottom: 1px #ccc solid;
    border-left: 1px #ccc solid;    
    padding: 10px;
}
.single-content h2 {
    background: #dfefff;
    box-shadow: 0px 0px 0px 5px #dfefff;
    border: dashed 1px #96c2fe;
    padding: 0.2em 0.5em;
    color: #454545;
}