/*******
　　FV
*******/

#fv {
    background-image: url(fvback.png), linear-gradient(75deg, rgba(26, 122, 164, 1), rgba(11, 49, 143, 1));
    background-size: cover;
    height: 250px;
}

#fv .title {
    max-width: 1200px;
    margin: 50px auto 0;
}

#fv .title h1 {
    font-size: 36px;
    color: var(--font-color-f);
}

@media (min-width: 500px) {
    #fv .title h1 {
        font-size: 54px;
    }
}

/************
　　contents    
*************/

#contents {
    margin: 0 auto;
    gap: 30px;
    padding: 16px;
}

#contents a {
    height: 240px;
    display: block;
    margin: 30px auto;
    max-width: 340px;
    height: auto;
}

#contents a .card {
    background-size: cover, cover, auto 100%;
    background-repeat: no-repeat;
    background-position: center;
    margin: 0;
    text-align: start;
    position: relative;
    height: 240px;
}

#contents a .card.illust {
    background-image:url(back-img-case.png), linear-gradient(75deg,rgb(26 122 164 / 0.6), rgb(11 49 143 / 60%));
}

#contents a .card.illust-wet {
    background-image:url(back-img-case.png), linear-gradient(75deg,rgb(26 122 164 / 0.6), rgb(11 49 143 / 60%)), url(wet.jpg);
}

#contents a .card.illust-choco {
    background-image:url(back-img-case.png), linear-gradient(75deg,rgb(26 122 164 / 0.6), rgb(11 49 143 / 60%)), url(choco.jpg);
}

#contents a .card.illust-toresabi {
    background-image:url(back-img-case.png), linear-gradient(75deg,rgb(26 122 164 / 0.6), rgb(11 49 143 / 60%)), url(20251108/toresabi.jpg);
    background-size: contain;
}

#contents a .card.illust-four {
    background-image:url(back-img-case.png), linear-gradient(75deg,rgb(26 122 164 / 0.6), rgb(11 49 143 / 60%)), url(four.jpg);
}

#contents a .card.illust-arm {
    background-image:url(back-img-case.png), linear-gradient(75deg,rgb(26 122 164 / 0.6), rgb(11 49 143 / 60%)), url(arm.jpg);
}

#contents a .card h2 {
    color: var(--font-color-f);
    font-size: 24px;
    padding: 10px;
}

#contents a .description {
    color: var(--font-color);
    padding: 16px 0;
    font-size: 16px;
    line-height: 1.5em;
    letter-spacing: 1px;
}

#contents a .card .detail {
    position: absolute;
    right: 6px;
    bottom: 8px;
    color: var(--font-color);
    font-size: 16px;
    font-weight: 500;
    background-color: var(--back-color);
    padding: 14px 18px;
    border-radius: 50vw;
}

#contents a .card .detail::after {
    content: "→";
    margin: 0 8px;
}

@media (min-width: 550px) {
    #contents {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 60px 16px;
    }
}

@media (min-width: 900px) {
    #contents {
        display: grid;
        max-width: 1274px;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

/**
* contact
*/
#contact p {
    text-align: center;
    line-height: 1.6;
}

#contact .detail {
    margin: 30px auto;
}

#contact a {
    display: flex;
    color: white;
    text-decoration: none;
    margin: 20px auto;
    padding: 20px 8px;
    justify-content: center;
    background: linear-gradient(to right, #1A7AA4, #0B318F);
    max-width: 450px;
    text-align: center;
    font-size: 20px;
}

#contact .detail .mail::before {
    content: "";
    display: inline-block;
    width: 25px; /* アイコンの幅に合わせて調整 */
    height: 25px; /* アイコンの高さに合わせて調整 */
    background-image: url("mail.png");
    background-size: contain;
    background-repeat: no-repeat;
    margin-right: 20px; /* テキストとの間隔 */
    vertical-align: middle;
}

#contact .detail .call::before {
    content: "";
    display: inline-block;
    width: 25px; /* アイコンの幅に合わせて調整 */
    height: 25px; /* アイコンの高さに合わせて調整 */
    background-image: url("call.png");
    background-size: contain;
    background-repeat: no-repeat;
    margin-right: 20px; /* テキストとの間隔 */
    vertical-align: middle;
}


#contact .detail a img {
    margin-right: 20px;
}

@media screen and (min-width:800px) {
    #contact .detail {
        display: flex;
        max-width: 900px;
        margin: 40px auto;
    }

    #contact .detail a {
        min-width: 360px;
    }
}

#footer {
    background-color: #1A7AA4;
    height: 30px;
    width: 100%;
}

#footer p {
    color: white;
    margin: auto;
    text-align: center;
}