@charset "UTF-8";

/*共通部分----------*/
html {
    font-size: 100%;
    scroll-padding-top: 100px;
}

body {
    font-family: "Zen Kaku Gothic New", sans-serif;
    line-height: 1.5;
    color: #4f3b17;
    margin-top: 100px;
}

h2 {
    position: relative;
    font-size: 42px;
    font-weight: 500;
    text-align: center;
    width: fit-content;
    padding-left: 60px;
}

h2::before {
    top: 50%;
    content: url(../images/bird2.svg);
    display: inline-block;
    vertical-align: middle;
    background-size: contain;
    width: 48px;
    height: 50px;
    margin-right: 10px;
    position: absolute;
    transform: translateY(calc(-50px/2));
    left: 0;

}

.center {
    margin: 0 auto;
}

h3 {
    font-size: 24px;
    text-align: center;
    font-weight: 500;
    height: 40px;
}

.bold {
    font-weight: 500;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
}

.white {
    background-color: #FAF9F6;
}

.pink {
    background-color: #F4E4E4;
}

ul {
    list-style-type: none;
}

.div-common {
    width: 1000px;
    padding: 100px 0 100px;
    margin: 0 auto;
}

/*ヘッダー----------*/
header {
    height: 100px;
    position: fixed;
    top: 0%;
    width: 100%;
    display: flex;
    background-color: #FAF9F6;
    border-bottom: 1px solid #4f3b17;
    align-items: center;
    justify-content: space-between;
    padding-left: 50px;
    padding-right: 50px;
    z-index: 1;
}

h1 {
    font-size: 48px;
    font-weight: 500;
    display: flex;
    align-items: center;
}

a,
a:hover,
a:visited {
    color: inherit;
}

.keep-aspect {
    margin-left: 10px;
    align-items: center;
    width: 70px;
    /* 横幅だけ指定 */
    height: auto;
    /* 高さは自動計算 */
}

.main-navi {
    display: flex;
    list-style: none;
    font-size: 28px;
    font-weight: 500;
}

.main-navi li {
    padding-right: 45px;
}

.main-navi a {
    color: #4f3b17;
    transition: .5s;
}

.main-navi a:hover {
    opacity: 0.5;
}

.sm {
    display: none;
}

/*ファーストビュー*/
.firstview {
    background-image: url(../images/firstview.webp);
    height: 0px;
    background-size: cover;
    background-repeat: no-repeat;
    padding-bottom: 41.67%;
}

.copy {
    padding: 4% 0 0 4%;

}

.title {
    font-size: 5vw;
    font-weight: 500;
    line-height: 1.3;
}

.sub {
    font-size: 2.2vw;
    font-weight: 500;
}

.sub-br {
    display: none;
}

/*Profile*/

.introduction {
    width: 1000px;
    margin-top: 50px;
}

.introduction img {
    background-color: #F7F7C3;
    border-radius: 10px;
    width: 200px;
    /* 横幅だけ指定 */
    height: 200px;
    /* 高さは自動計算 */
}

.self {
    display: flex;
    margin: 50px 0;
}

.self-introduction {
    width: 780px;
    margin: auto 0 auto 20px;

}

.self-introduction p {
    margin-top: 20px;
}

.greeting {
    width: 800px;
    margin: 50px auto 0;
}

.greeting p {
    margin-top: 20px;
}

/*Services*/

.service-container {
    background-color: #FAF9F6;
    border-radius: 20px;
    width: 880px;
    padding: 40px;
    margin: 50px auto 0;
}

.service-container p {
    width: 620px;
    margin-bottom: 10px;
}

.service-container ul {
    margin-top: 10px;
    list-style-type: disc;
    list-style-position: inside;
    color: #4f3b17;
}

.container {
    margin-top: 50px;
    padding-bottom: 50px;
}

.text {
    width: 600px;
    margin-left: 30px;
}

.element {
    display: flex;
    align-items: flex-start;
    margin-top: 30px;
}

table {
    width: 800px;
    margin: 30px auto 0;
    border-collapse: collapse;
}

tr {
    height: 60px;
}

th {
    background-color: #EDABAA;
    width: 200px;
    padding: 0 20px;
    margin: 0;
    border: 1px solid #4f3b17;
    font-weight: normal;
}

td {
    padding-left: 20px;
    border: 1px solid #4f3b17;
    margin: 0;
}

.list {
    margin-top: 20px;
}

/*Works*/
.picture {
    margin: 50px auto 0 auto;
    display: grid;
    gap: 3rem;
    grid-template-columns: repeat(3, 1fr);
}

.works-container img {
    width: 300px;
    height: 300px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.works-container p {
    text-align: left;
}

.works-container:hover {
    opacity: 0.7;
}

/*Contact*/

.contact {
    text-align: center;
    margin-top: 20px;
}

.form {
    width: 300px;
    margin: 0 auto;
    text-align: center;
}

.btn {
    display: block;
    background-color: #FAF9F6;
    width: 300px;
    height: 50px;
    border-radius: 25px;
    border: 1px solid #4f3b17;
    font-size: 24px;
    padding: 5px 0;
    margin: 30px 0 10px 0;
    transition: .5s;
}

.btn:hover {
    background-color: #EDABAA;
}

/*フッター*/
footer {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #EDABAA;
    color: #FAF9F6;
    height: 100px;
}

/*レスポンシブ*/
@media(max-width:600px) {

    /*共通部分----------*/
    body {
        margin-top: 12.5vw;
    }

    .div-common {
        max-width: 90vw;
        margin: 0 auto;
    }
    .smbox{
        padding-top: 8.3vw;
    }

    h2 {
        font-size: 9vw;
        text-align: left;
        padding-left: 11.25vw;

    }

    h2::before {
        width: 8.7vw;
        height: 9.5vw;
        transform: translateY(calc(-9.5vw/2));
    }

    h3 {
        font-size: 6vw;
    }

    /*ヘッダー----------*/

    header {
        height: 12.5vw;
        padding: 0 2.5vw;
    }

    h1 {
        font-size: 6vw;
    }

    .keep-aspect {
        margin-left: 2.5vw;
        align-items: center;
        width: 8.75vw;
        /* 横幅だけ指定 */
        height: auto;
        /* 高さは自動計算 */
    }

    .main-navi {
        display: none;
    }

    /*ハンバーガーメニュー*/

    #hamburger {
        background-color: #FAF9F6;
        cursor: pointer;
        margin: 0 0 0 auto;
        height: 10vw;
        width: 10vw;
    }

    .icon {
        position: relative;
        width: 100%;
        height: 100%;
    }

    .icon span {
        position: absolute;
        width: 7.5vw;
        height: 0.75vw;
        background-color: #4f3b17;
        border-radius: 1vw;
        transition: ease 0.5s;

    }

    .icon span:nth-of-type(1) {
        top: 2vw;
    }

    .icon span:nth-of-type(2) {
        top: 5vw;
    }

    .icon span:nth-of-type(3) {
        bottom: 1vw;
    }

    .close span:nth-of-type(1) {
        transform: rotate(45deg);
        top: 5vw;
    }

    .close span:nth-of-type(2) {
        opacity: 0;
    }

    .close span:nth-of-type(3) {
        transform: rotate(-45deg);
        top: 5vw;
    }

    .sm {
        display: none;
        top: 100%;
        right: 0;
        position: absolute;
        z-index: 10;
        width: 100vw;
        background-color: #FAF9F6;
    }
    .sm a {
    transition: opacity 0.3s;
}

    .sm a:hover,
    .sm a:focus,
    .sm a:active {
        opacity: 0.5;
    }


    .close .sm {
        display: block;
    }

    ul {
        display: flex;
        flex-direction: column;
    }

    .sm li {
        height: 12.5vw;
        text-align: center;
        font-size: 5vw;
        font-weight: 500;
    }

    .sm li:last-child {
        border-bottom: #4f3b17 solid 0.25vw;
    }




    /*ファーストビュー*/
    .firstview {
        background-image: url(../images/firstview2.webp);
        height: 0px;
        background-size: cover;
        background-repeat: no-repeat;
        padding-bottom: 75vw;
        width: 100%;
    }

    .title {
        font-size: 9vw;
    }

    .sub {
        font-size: 4vw;
    }

    /*Profile*/
    .introduction {
        width: 90vw;
        margin-top: 12.5vw;
    }

    .greeting {
        width: 90vw;
    }

    .self {
        width: 90vw;
        flex-direction: column;
        margin: 7.5vw 0 12.5vw;
    }

    .introduction img {
        margin: 0 auto;
    }

    .self-introduction {
        width: 90vw;
        margin: 7.5vw auto 0;

    }

    .self-introduction p {
        margin-top: 20px;
    }

    table {
        width: 80vw;
        margin: 0 auto;
        border-collapse: separate;
        border-spacing: 0 7.5vw;
    }

    table th,
    td {
        display: block;
        width: 80vw;
    }

    tr {
        height: 7.5vw;
    }

    td {
        text-align: center;
        padding: 2.5vw 0;
        vertical-align: middle;
        display: flex;
        justify-content: center;
        align-items: center;
        border-top: none;
    }

    /*Services*/
    .service-container {
        width: 90vw;
        padding: 5vw;
        margin: 50px auto 0;
    }

    .service-container p {
        width: 80vw;
        margin-bottom: 10px;
    }

    .text {
        width: 80vw;
        margin: 7.5vw auto 0;
    }

    .element {
        width: 80vw;
        flex-direction: column;
        align-items: center;
        margin-top: 30px;
    }

    /*Works*/
    .works-container {
        width: 90vw;
    }

    .works-container img {
        width: 90vw;
        height: auto;
    }

    .picture {
        grid-template-columns: repeat(1, 1fr);

    }

    /*Contact*/

    .contact {
        text-align: left;
        margin-top: 5vw;
    }
}

@media(min-width:601px) and (max-width:1200px) {

    /*共通部分----------*/
    body {
        margin-top: 10vw;
    }

    .div-common {
        width: 100vw;
    }


    /*ヘッダー----------*/
    header {
        width: 100vw;
        height: 10vw;
        padding: 0 2.5vw;
    }

    h1 {
        font-size: 5.3vw;
    }


    .keep-aspect {
        width: 6.25vw;
        height: auto;
    }

    .main-navi {
        font-size: 2.5vw;
    }

    .main-navi li {
        padding-right: 3.75vw;
    }

    /*Profile*/
    .greeting {
        width: 75VW;
    }

    .introduction {
        width: 97vw;
        margin: 8.3vw auto 0;
    }

    .self {
        width: 80vw;
        margin: 6.25vw auto;
    }

    .self-introduction {
        width: 60vw;
    }

    table {
        width: 75vw;
    }

    /*Services*/
    .service-container {
        width: 90vw;
    }

    .element {
        width: 80vw;
    }

    .text {
        margin-left: 2.5vw;
    }

    .text p {
        width: 55vw;
    }

    /*Works*/
    .picture {
        width: 90vw;
    }

    .works-container {
        width: 25vw;
    }

    .works-container img {
        width: 25vw;
        height: auto;
    }
}

@media(max-width:601px) {

    .sub-br {
        display: block;
    }

}