@charset "utf-8";


@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@200..900&display=swap');



@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');



* {
    margin: 0;
    padding: 0;
    list-style: none;
}

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

a {
    text-decoration: none;
}

body {
    font-family: sans-serif;
    padding-top: 100px;
}

/* 共通---------------------------*/



.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 0;
}



/* header--------------------- */

header {
    height: 100px;
    background: #D75955;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    position: fixed;
    top: 0;
    left: 0;
}

h1 {
    width: 18%;
    padding: 0 0 20px 0;
}


.pc-menu {
    width: 30%;
}

.pc-menu-box {
    display: flex;
}

.pc-menu li {
    width: calc(100% / 4);
    text-align: center;
}

.pc-menu li a {
    display: block;
    color: #fff;
    font-size: 16px;
    line-height: 100px;
    transition: all .3s;
}

.pc-menu li a:hover {
    background: #fff;
    color: #D75955;
}

.sp-menu {
    display: none;
}

/* fv------------------------- */

#fv {
    display: flex;
    background: #fff;
}

#fv article {
    display: flex;
    justify-content: space-between;
}

.fv-txt {
    width: 60%;
}


.fv-txt h2 {
    font-family: "Noto Serif JP", serif;
    font-size: 128px;
    font-weight: normal;
    line-height: 1.1;
    margin-bottom: 16px;
    color: #222222;
}

.fv-sub {
    font-size: 18px;
    color: #555;
    margin-bottom: 32px;
}

.fv-desc {
    font-size: min(2.3vw, 24px);
    line-height: 1.8;
    color: #333;
}

.fv-img {
    width: 40%;

}


/*  service----------------------- */

#service h2 {
    text-align: center;
    font-family: "Noto Serif JP", serif;
    font-size: 64px;
    font-weight: normal;
}

#service ul {
    display: flex;
    justify-content: space-between;
}

#service li {
    width: calc((100% - 160px) / 3);
}

#service h3 {
    font-size: min(4.2vw, 36px);
    font-family: "Noto Serif JP", serif;
    text-align: center;
    font-weight: normal;
}

#service span {
    font-size: 24px;
    text-align: center;
}

.service-img {
    width: 30%;
    margin: 20px auto;
}

#service p {
    text-align: center;
}


/* works------------------------- */

#works h2 {
    text-align: center;
    font-family: "Noto Serif JP", serif;
    font-size: 64px;
    font-weight: normal;
    margin-bottom: 40px;
}

#works {
    background: #f0eeec;
    padding: 80px 0;
}

.works-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.works-1 {
    width: 300px;
    height: 300px;

}

#works li {
    width: calc((100% - 16px) / 3);

}

.works-info-row a {
    color: #D75955;

}

/* contact */

#contact h2 {
    text-align: center;
    font-family: "Noto Serif JP", serif;
    font-size: 64px;
    font-weight: normal;
    margin-bottom: 40px;
}

#contact p {
    font-size: 32px;
    font-family: "Noto Serif JP", serif;
    text-align: center;
}

.btn {
margin-top: 40px;
text-align: center;
}

.btn a:hover {
    background: #fff;
    color: #D75955;
}

.btn a {
    background: #D75955;
    display: inline-block;
    width: 300px;
    height: 60px;
    font-size: 42px;
    color: #fff;
    padding: 10px 10px;
    border: 2px solid #D75955;
    font-family: "Noto Serif JP", serif;
    line-height: 60px;
    text-align: center;
    transition: background 0.3s ease, color 0.3s ease;
}




/* footer---------------- */

footer {
    background: #D75955;
    height: 150px;
    font-size: 20px;
    color: #fff;
    text-align: center;
    position: relative;

}

small {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%);
}


/* works detail------------------------- */

#works-detail {
    padding: 80px 0;
}

.works-detail-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 40px;
}

.works-title {
    text-align: center;
    font-size: 32px;
    font-family: "Noto Serif JP", serif;
    font-weight: normal;
    margin-bottom: 60px;
}

.works-mockup {
    margin-bottom: 60px;
}

.works-screenshot {
    margin-bottom: 60px;
}

.works-info-row {
    display: flex;
    gap: 40px;
    padding: 24px 0;
    border-bottom: 1px solid #e0e0e0;
}

.works-info-row dt {
    width: 120px;
    font-size: 14px;
    color: #999;
    flex-shrink: 0;
}

.works-info-row dd {
    font-size: 15px;
    line-height: 1.8;
    color: #333;
}


/* banner detail------------------------- */

.banner-item {
    display: flex;
    flex-direction: column;
    margin-bottom: 80px;
    max-width: 50%;
    margin-left: auto;
    margin-right: auto;
}

.banner-item img {
    width: 100%;
    margin-bottom: 40px;
}

.banner-info {
    flex: 1;
    padding-top: 0;
    margin-top: 0;
}

.banner-info .works-info-row:first-child {
    border-top: 1px solid #e0e0e0;
}

.works-title {
    text-align: center;
    font-size: 32px;
    font-family: "Noto Serif JP", serif;
    font-weight: normal;
    margin-bottom: 60px;
    margin-top: 80px;
}


/* contact page------------------------- */

#contact-page {
    padding: 80px 40px;
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
}

.contact-title {
    text-align: center;
    font-size: 32px;
    font-family: "Noto Serif JP", serif;
    font-weight: normal;
    margin-bottom: 60px;
}

.contact-form-wrap {
    background: #f9f6f3;
    padding: 60px 80px;
}

.contact-form-title {
    text-align: center;
    font-size: min(7vw, 32px);
    font-family: "Noto Serif JP", serif;
    font-weight: normal;
    margin-bottom: 48px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 14px;
    color: #555;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    font-size: 16px;
    font-family: "Noto Serif JP", serif;
    background: #fff;
}


.btn button {
    background: #D75955;
    color: #fff;
    padding: 16px 115px;
    border: 2px solid #D75955;
    font-size: 16px;
    font-family: "Noto Serif JP", serif;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease;
}

.btn button:hover {
    background: #fff;
    color: #D75955;
}




/* レスポンシブ-------------------------- */


@media (max-width: 900px) {

    .container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 80px 20px;
    }


    h1 {
        width: 30%;
    }

    header {
        padding: 0 16px;
    }

}



@media (max-width: 768px) {


    h1 {
        width: 30%;
    }

    #fv h2 {
        font-size: 120px;
    }

    .fv-txt {
        width: 100%;
        box-sizing: border-box;
        padding: 0 24px;
    }



    .pc-menu {
        display: none;
    }

    .sp-menu {
        display: block;
    }

    .menu-btn {
        position: fixed;
        top: 10px;
        right: 10px;
        width: 60px;
        height: 60px;
        background: #fff;
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 100;

    }

    .menu-btn span,
    .menu-btn span::before,
    .menu-btn span::after {
        content: "";
        background: #b84440;
        width: 25px;
        height: 3px;
        position: absolute;
        transition: all .5s;
    }

    .menu-btn span::before {
        bottom: 8px;
    }

    .menu-btn span::after {
        top: 8px;
    }

    #menu-btn-check:checked+.menu-btn span {
        background: rgba(255, 255, 255, 0);
    }

    #menu-btn-check:checked~.menu-btn span::before {
        bottom: 0;
        transform: rotate(45deg);
    }

    #menu-btn-check:checked~.menu-btn span::after {
        top: 0;
        transform: rotate(-45deg);
    }

    #menu-btn-check {
        display: none;
    }


    .sp-menu-box {
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, .7);
        position: fixed;
        top: 0;
        left: 100%;
        padding-top: 100px;
        z-index: 50;
        transition: all .5s;
    }

    .sp-menu-box li a {
        display: block;
        color: #fff;
        text-decoration: none;
        text-align: center;
        padding: 10px 15px;
        font-size: 20px;
    }

    #menu-btn-check:checked~.sp-menu-box {
        left: 0;
    }



    @media (max-width: 500px) {

        h1 {
            width: 50%;
        }

        #fv h2 {
            font-size: 88px;
        }

    }

    header {
        padding: 0 0px;
    }

    #fv article {
        display: block;
    }

    .fv-img {
        margin: 0 auto;
        width: 60%;
    }

    .fv-sub {
        margin-bottom: 16px;
    }

    .fv-desc {
        font-size: min(4vw, 24px);
        margin-bottom: 16px;
    }

    #service ul {
        display: block;
    }

    .container {
        padding: 40px 0;
    }

    #service li {
        width: 100%;
    }

    #service h3 {
        font-size: 32px;
        line-height: 1;
        margin-top: 24px;
    }

    #service span {
        font-size: 16px;
    }

    .service-img {
        width: 20%;
        margin: 8px auto;
    }

    #service p {
        width: 80%;
        margin: 0 auto;
        padding-bottom: 24px;
    }

    #works {
        padding: 0px 0;
    }

    #contact p {
        font-size: 16px;
    }

    #contact h2 {
    margin-bottom: 20px;
}

    .btn {
        padding: 20px;
        margin-top: 20px;
    }

    .btn a {
        padding: 10px;
    }

    .btn button {
        padding: 10px;
        font-size: 16px;
        width: auto;
    }

    footer {
        height: 80px;
    }

    .works-list {
        display: block;
    }

    #works li {
        width: 80%;
        margin: 0 auto;
        padding: 16px;
    }

    #service p {
        width: 90%;
    }

    .service-img {
        width: 13%;
    }

    .works-info-row {
        display: block;
    }

    .banner-item {
        max-width: 90%;
    }


}