@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&family=Zen+Kaku+Gothic+New:wght@300;400;500;700;900&display=swap');

/* ページ共通(TOP) ---------------------------------------------------------- */
* {
    margin: 0;
    padding: 0;
    list-style: none;
    box-sizing: border-box;
}

body {
    font-family: 'Zen Kaku Gothic New', 'Manrope';
    color: #2B2B2B;
}

img {
    width: 100%;
}

a {
    text-decoration: none;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
}

h2 {
    color: #2B2B2B;
    padding: 120px 0 80px;
    font-size: 48px;
    font-weight: 400;
    text-align: center;
    letter-spacing: 0.05em;
}

/* header(TOP) ---------------------------------------------------------- */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 1100px;
    height: 100px;
    position: fixed;
    background: #fff;
    font-size: 14px;
    z-index: 100;
}

h1 {
    color: #2B2B2B;
    font-size: 14px;
    font-weight: 400;
}

.pc-menu {
    width: 15%;
} 

.pc-menu-box {
    display: flex;
}

.pc-menu-box li {
    width: calc(100% / 3);
    text-align: center;
} 

header a {
    color: #2B2B2B;
}

header a:hover {
    color: #A3B5C0;
}

/* fv(TOP) ---------------------------------------------------------- */
#fv {
    background: url(../img/fv.png) center/cover;
    height: 100vh;
    margin-bottom: 100px;
}

#fv p {
    position: relative;
    top: 25%;
    left: -5%;
    font-size: 16px;
    font-weight: 400;
    line-height: 2.5;
}

/* service(TOP) ---------------------------------------------------------- */
#service {
    height: auto;
    margin-bottom: 100px;
}

.service-grid {
    display: flex;
}

.service-item {
    margin-right: 72px;
    padding: 64px 50px 80px;
    aspect-ratio: 16 / 9;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 2px 4px 4px 0 rgba(0, 0, 0, .2);
}

.service-item:not(:last-child) {
    margin-right: 72px;
}

.service-item img {
    width: 40%;
    padding-bottom: 48px;
}

.service-item h3 {
    color: #2B2B2B;
    font-size: 24px;
    font-weight: 400;
    padding-bottom: 20px;
}

.service-item p {
    font-size: 16px;
    line-height: 1.7;
}

/* works(TOP) ---------------------------------------------------------- */
#works {
    height: auto;
    margin-bottom: 100px;
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 75px;
}

.item-inner a {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    color: #2B2B2B;
}

.item-inner .over {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 85%;
    height: 85%;
    background: rgba(255, 255, 255);
    font-size: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    z-index: 1;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.item-inner a:hover .over {
    opacity: 1;
    visibility: visible;
}

/* about(TOP) ---------------------------------------------------------- */
#about {
    height: auto;
    margin-bottom: 100px;
}

.text-box {
    display: flex;
    justify-content: center;
    margin-bottom: 80px;
}

.about-text {
    line-height: 1.8;
}

.self-introduction {
    display: flex;
    justify-content: center;
    align-items: center;
}

.icon-box {
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.icon-box img {
    width: 30%;
}

dl {
    width: 50%;
}

.content {
    display: flex;
    padding: 10px 0;
    
}

.about-item {
    width: 6em;
}

/* contact(TOP) ---------------------------------------------------------- */
#contact {
    height: auto;
    margin-bottom: 100px;
}

.contact-text {
    text-align: center;
    margin-bottom: 40px;
}

.form-wrapper {
    width: 60%;
    margin: 0 auto;
}

.form-group, .form-col {
    margin-bottom: 32px;
}

.form-label {
    display: block;
    font-size: 16px;
    margin-bottom: 8px;
}

.form-name {
    display: flex;
    justify-content: space-between;
}

.form-control-name {
    width: 48%;
    height: 45px;
    background: #fff;
    border: 1px solid #A3B5C0;
    border-radius: 6px;
    padding: 1% 2%;
    font-size: 16px;
}

.form-control {
    width: 100%;
    height: 45px;
    background: #fff;
    border: 1px solid #A3B5C0;
    border-radius: 6px;
    padding: 1% 2%;
    font-size: 16px;
}

.formtextarea {
    height: auto;
    min-height: 150px;
}

.submit-btn {
    background: #7A7A7A;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 3% 6%;
    font-size: 14px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.submit-btn:hover {
    background: #aaaaaa;
}

/* footer(TOP) ---------------------------------------------------------- */
footer {
    color: #2B2B2B;
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ------------------------------------------------------------------
タブレット
------------------------------------------------------------------ */
@media (max-width:1024px) {
    /* ---------- 共通(TOP) ---------- */
    .container {
        max-width: 750px;
    }

    h2 {
        padding: 80px 0 60px;
    }

    /* ---------- header(TOP) ---------- */
    header {
        width: 750px;
    }

    .pc-menu {
        width: 22%;
    }

    /* ---------- fv(TOP) ---------- */
    #fv {
        margin-bottom: 60px;
    }

    #fv p {
        left: 0;
    }

    /* ---------- service(TOP) ---------- */
    #service {
        margin-bottom: 60px;
    }

    .service-grid {
        flex-direction: column;
    }

    .service-item {
        margin: 0 0 32px 0;
    }

    .service-item:not(:last-child) {
        margin-right: 0;
    }

    /* ---------- works(TOP) ---------- */
    #works {
        margin-bottom: 60px;
    }

    .works-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    /* ---------- about(TOP) ---------- */
    #about {
        margin-bottom: 60px;
    }

    .icon-box img {
        width: 45%;
    }

    /* ---------- contact(TOP) ---------- */
    #contact {
        margin-bottom: 60px;
    }
}

/* ------------------------------------------------------------------
スマートフォン
------------------------------------------------------------------ */
@media (max-width:767px) {

    /* ---------- 共通(TOP) ---------- */
    .container {
        padding: 0 3%;
    }

    h2 {
        padding: 40px 0 30px;
    }

    /* ---------- header(TOP) ---------- */
    header {
        width: 94%;
    }

    .pc-menu {
        width: 60%;
    }

    /* ---------- fv(TOP) ---------- */
    #fv {
        margin-bottom: 32px;
    }

    /* ---------- service(TOP) ---------- */
    #service {
        margin-bottom: 32px;
    }

    .service-grid {
        flex-direction: column;
    }

    .service-item {
        margin: 0 0 32px 0;
        padding: 32px 25px 40px;
    }

    /* ---------- works(TOP) ---------- */
    #works {
        margin-bottom: 32px;
    }

    .works-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 24px;
    }

    /* ---------- about(TOP) ---------- */
    #about {
        margin-bottom: 32px;
    }

    .text-box {
        margin-bottom: 40px;
    }

    .self-introduction {
        flex-direction: column;
    }

    .icon-box {
        margin-bottom: 24px;
    }

    .icon-box img {
        width: 60%;
    }

    dl {
        width: 80%;
        display: flex;
        justify-content: center;
        flex-direction: column;
    }

    /* ---------- contact(TOP) ---------- */
    #contact {
        margin-bottom: 32px;
    }

    .contact-text {
        margin-bottom: 32px;
    }

    .form-wrapper {
        width: 100%;
    }

    /* ---------- footer(TOP) ---------- */
    footer {
        height: 60px;
    }


}