@charset "utf-8";

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    margin: 0;
    padding: 0;
}

body {
    margin: 0;
    padding: 0;
    background-color: #F8FAFC;
    font-family: 'Noto Sans JP', sans-serif;
}

/* ヒーロー */
.services-hero {
    background-color: #F8FAFC;
    padding: 80px 1.5rem 60px;
    text-align: center;
}

.services-hero .hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
}

.services-hero .hero-title {
    font-family: 'Poppins', sans-serif;
    font-size: 4rem;
    font-weight: 700;
    color: #000;
}

.services-hero .hero-subtitle {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 2rem;
    color: #333;
}

/* サービス一覧 */
.services-section {
    background-color: #f8fafc;
    padding: 2rem 1.5rem;
}

.services-section .section-title {
    font-size: 1.5rem;
    font-family: 'Poppins', sans-serif;
    margin: 0 auto 2rem;
    text-align: left;
    max-width: 1100px;
}

.section-title span {
    font-size: 1rem;
    color: #555;
    display: block;
}

.service-list {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.service-item {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.service-item.show {
    opacity: 1;
    transform: translateY(0);
}

.service-item:hover {
    transform: translateY(-4px);
}

.service-img {
    flex: 1;
    text-align: center;
}

.service-img img {
    max-width: 180px;
    height: auto;
}

.service-text {
    flex: 2;
}

.service-text h3 {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 0.75rem;
}

.service-text p {
    font-size: 1rem;
    line-height: 1.7;
    color: #333;
}

/* 作業流れ */
.flow-section {
    padding: 4rem 1.5rem;
    background-color: #F8FAFC;
}

.flow-section .section-title {
    font-size: 1.5rem;
    font-family: 'Poppins', sans-serif;
    text-align: left;
    max-width: 1100px;
    margin: 0 auto 2rem;
}

.flow-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 1100px;
    margin: 0 auto;
}

.flow-item {
    position: relative;
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: center;
    margin-bottom: 30px;
    gap: 16px;
}

.flow-item:last-child {
    margin-bottom: 0;
}

.flow-item::after {
    content: '';
    position: absolute;
    bottom: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-top: 16px solid #fff;
}

.flow-item:last-child::after {
    display: none;
}

.flow-header {
    width: 14%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin-bottom: 1rem;
}

.flow-icon {
    width: 10%;
}

.pop-bounce {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.pop-bounce.show {
    opacity: 1;
    transform: translateY(0);
    animation: bounceIn 0.8s ease;
}

/* バウンドアニメーション */
@keyframes bounceIn {
    0% {
        transform: translateY(40px) scale(0.9);
        opacity: 0;
    }

    60% {
        transform: translateY(-10px) scale(1.05);
        opacity: 1;
    }

    80% {
        transform: translateY(5px) scale(0.98);
    }

    100% {
        transform: translateY(0) scale(1);
    }
}

.flow-step {
    font-size: 2rem;
    font-weight: 700;
    color: #3B82F6;
    font-family: 'Poppins', sans-serif;
}

.flow-title {
    font-size: 1.2rem;
    font-weight: bold;
    font-family: 'Noto Sans JP', sans-serif;
}

.flow-title .space {
    display: none;
}

.flow-icon img {
    width: 76px;
    height: 76px;
    margin: 1rem 0;
}

.flow-desc {
    width: 76%;
    font-size: 0.95rem;
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.7;
    text-align: left;
    margin-left: 16px;
}

/* 料金 */
.price-section {
    background: #fff;
    padding: 4rem 1.5rem;
    text-align: center;
}

.price-section .section-title {
    font-size: 1.5rem;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 2rem;
    text-align: left;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.section-title span {
    font-size: 1rem;
    color: #555;
    display: block;
}

.price-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto 2rem;
}

.price-card {
    position: relative;
    flex: 1;
    min-width: 250px;
    max-width: 320px;
    height: 200px;
    background: #fff;
    border-radius: 10px;
    padding: 16px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.price-card::after {
    content: "";
    width: 100%;
    height: 50px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    border-radius: 10px 10px 0 0;
    background-color: #3B82F6;
}

.price-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
    height: 20%;
}

.price-card p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
    height: 30%;
}

.price-card .price {
    font-size: 1.5rem;
    font-weight: bold;
    color: #000;
    margin-top: 10px;
}

.price-note {
    font-size: 0.75rem;
    color: #555;
    line-height: 1.5;
    margin-bottom: 2rem;
}

.price-btn-wrap {
    text-align: center;
}

.btn {
    display: inline-block;
    width: 80%;
    padding: 0.75rem 1.5rem;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #3B82F6;
    border: 2px solid #3B82F6;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: color 0.3s ease;
    position: relative;
    z-index: 1;
    max-width: 680px;
}

.btn span {
    margin-left: 30%;
    position: relative;
    z-index: 1;
}

/* ホバーアニメーション（左→右） */
.btn::before {
    content: "";
    position: absolute;
    background-color: #3B82F6;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    transition: left 0.4s ease;
    z-index: -1;
}

.btn:hover::before {
    left: 0;
}

.btn:hover {
    color: #fff;
}

/* 共通 */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.show {
    opacity: 1;
    transform: translateY(0);
}

/* 1280pxpx */
@media (max-width: 1280px) {}

/* 768px */
@media (max-width: 768px) {

    /* サービス一覧 */
    .service-item {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }

    .service-text {
        margin-top: 1rem;
    }

    .service-text h3 {
        font-size: 1.1rem;
    }

    .service-text p {
        font-size: 0.9rem;
    }

    /* 作業流れ */
    .flow-item {
        padding: 16px;
        flex-direction: column;
        gap: 0;
    }

    .flow-item::after {
        bottom: -10px;
        border-left: 10px solid transparent;
        border-right: 10px solid transparent;
        border-top: 10px solid #fff;
    }

    .flow-title .space {
        display: inline-block;
    }

    .flow-title br {
        display: none;
    }

    .flow-icon {
        width: 100%;
    }

    .flow-icon img {
        width: 52px;
        height: 52px;
        margin: 6px 0;
    }

    .flow-header {
        width: 100%;
        flex-direction: row;
        justify-content: center;
        margin: 0;
        gap: 10px;
    }

    .flow-desc {
        width: 100%;
        font-size: 0.85rem;
        text-align: center;
        margin-left: 0;
    }

    /* 料金 */
    .price-cards {
        flex-direction: column;
        align-items: center;
    }

    .price-card {
        flex: none;
        width: 80%;
        max-width: 400px;
    }

    .btn{
        width: 100%;
        padding: .75rem;
    }

}

/* 480px */
@media (max-width: 480px) {

    /* ヒーロー */
    .services-hero {
        padding: 80px 1.5rem 40px;
    }

    .services-hero .hero-title {
        font-size: 2.8rem;
    }

    .services-hero .hero-subtitle {
        font-size: 1.5rem;
    }

    /* サービス一覧 */
    .services-section {
        padding: 20px 1.5rem;
    }

    .service-item {
        padding: 16px;
    }


    .service-text h3 {
        font-size: .9rem;
    }

    .service-text p {
        font-size: .75rem;
    }

    /* 作業流れ */
    .flow-item {
        margin-bottom: 20px;
    }

    .flow-step {
        font-size: 1.6rem;
    }

    .flow-title {
        font-size: 1rem;
    }

    .flow-desc {
        font-size: .75rem;
    }

    /* 料金 */
    .price-card {
        height: 160px;
    }

    .price-card p {
        font-size: .85rem;
    }

    .price-note {
        font-size: .7rem;
    }

    .btn {
        width: 100%;
        padding: 0.75rem .5rem;
        margin-left: 0;
        font-size: .8rem;
    }

    .btn span {
        margin-left: 10%;
    }

    .btn:hover::before {
        left: -100%;
    }

    .btn:hover {
        color: #3B82F6;
    }

}