/* Service Page Styles */

.service-container {
    padding: 80px 0;
}

.service-section {
    margin-bottom: 100px;
}

.service-section:last-child {
    margin-bottom: 0;
}

.service-section__inner {
    /* max-width: 1100px; */
    width: 100%;
    margin-left: 100px;
    padding: 0;
    display: flex;
    gap: clamp(60px, 4.68vw, 100px);
    align-items: center;
}

.service-section__inner2 {
    /* max-width: 1100px; */
    width: 100%;
    /* margin-left: 100px; */
    padding: 0;
    display: flex;
    flex-direction: row-reverse;
    gap: clamp(60px, 4.68vw, 100px);
    align-items: center;
}

.service-section--fullwidth .service-section__inner {
    /* max-width: 900px; */
    display: block;
}

.service-section__content {
    flex: 1;
}

.service-section__content2 {
    flex: 1;
    margin-right: 100px;
}

.service-section__image {
    flex: 0 0 40%;
    flex: 1;
    /* max-width: 400px; */
}

.service-section__image img {
    width: 100%;
    height: auto;
    /* border: 3px solid #0A324C; */
    border-radius: clamp(36px, 2.8vw, 72px) 0 0 clamp(36px, 2.8vw, 72px);
    /* box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1); */
}

.service-section__image2 {
    flex: 0 0 40%;
    flex: 1;
    /* max-width: 400px; */
}

.service-section__image2 img {
    width: 100%;
    height: auto;
    /* border: 3px solid #0A324C; */
    border-radius: 0 clamp(36px, 2.8vw, 72px) clamp(36px, 2.8vw, 72px) 0;
    /* box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1); */
}

.service-section__title {
    font-size: clamp(36px, 2.8vw, 72px);
    font-weight: bold;
    margin-bottom: 24px;
    color: #1a2a3a;
}

.service-section__desc {
    font-size: clamp(16px, 1.25vw, 32px);
    line-height: 1.8;
    margin-bottom: 32px;
    font-weight: 600;
}

.service-section__sub-title {
    font-size: clamp(18px, 1.4vw, 32px);
    font-weight: bold;
    padding-bottom: 16px;
    border-bottom: 1px solid #eee;
    margin-bottom: 24px;
}

.service-detail-item {
    margin-bottom: 24px;
}

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

.service-detail-item__title {
    font-size: clamp(16px, 1.25vw, 32px);
    font-weight: bold;
    margin-bottom: 8px;
    position: relative;
    padding-left: 16px;
}

.service-detail-item__title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: #1ab3a3;
    border-radius: 50%;
}

.service-detail-item__text {
    font-size: clamp(15px, 1.17vw, 28px);
    line-height: 1.7;
    margin: 0;
    padding-left: 16px;
    font-weight: 600;
}

.service-section__checklist {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-section__checklist li {
    font-size: clamp(16px, 1.25vw, 32px);
    padding-left: 32px;
    margin-bottom: 16px;
    position: relative;
    line-height: 1.7;
    font-weight: 600;
}

.service-section__checklist li::before {
    content: '☑';
    position: absolute;
    left: 0;
    top: 0;
    color: #1ab3a3;
    font-size: clamp(20px, 1.56vw, 40px);
}

.service-section__table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 32px;
}

.service-section__table th,
.service-section__table td {
    padding: 20px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.service-section__table thead th {
    font-size: clamp(15px, 1.17vw, 28px);
    color: #888;
    font-weight: normal;
}

.service-section__table tbody th {
    font-weight: bold;
    width: 20%;
    font-size: clamp(16px, 1.25vw, 32px);
}


/* Responsive */

@media (max-width: 960px) {
    .service-container {
        padding: 40px 0 100px;
    }
    .service-section {
        margin-bottom: 60px;
    }
    .service-section__inner {
        flex-direction: column;
        gap: 32px;
        padding: 0 16px;
    }
    .service-section__image {
        flex-basis: auto;
        width: 100%;
        max-width: 100%;
        order: -1;
        /* move image to top */
    }
    .service-section__title {
        font-size: 1.8rem;
    }
    .service-section__table {
        font-size: 0.9rem;
    }
    .service-section__table th,
    .service-section__table td {
        padding: 12px;
    }
    .service-section__table tbody tr {
        display: block;
        margin-bottom: 16px;
        border: 1px solid #eee;
        border-radius: 8px;
    }
    .service-section__table thead {
        display: none;
    }
    .service-section__table tbody td,
    .service-section__table tbody th {
        display: block;
        width: 100%;
        border: none;
    }
    .service-section__table tbody th {
        background: #f8f8f8;
        padding-top: 12px;
    }
}

@media (max-width: 960px) {
    .service-hero {
        padding: 60px 24px;
    }
    .service-hero__title {
        font-size: 2.5rem;
    }
    .service-hero__text {
        font-size: 1.1rem;
    }
    .service-list {
        gap: 40px;
    }
    .service-item {
        flex-direction: column;
        gap: 24px;
    }
    .service-item__image {
        width: 100%;
        height: 300px;
    }
    .service-item__content {
        width: 100%;
    }
    .service-item__title {
        font-size: 1.8rem;
    }
    .service-item__text {
        font-size: 1rem;
    }
}


/* PC */

@media (min-width: 1025px) {
    body.page-service {
        /* PC styles here */
    }
}


/* Tablet */

@media (min-width: 768px) and (max-width: 1024px) {
    body.page-service {
        /* Tablet styles here */
    }
}


/* Smartphone */

@media (max-width: 767px) {
    body.page-service {
        /* Smartphone styles here */
    }
}

@media (max-width: 480px) {
    .service-section__inner {
        max-width: 1100px;
        width: 85%;
        /* margin-left: 0; */
        margin: 0 0 0 auto;
        padding: 0;
        /* padding: 0 0 0 50px; */
        display: flex;
        gap: 16px;
        align-items: center;
    }
    .service-section__title {
        font-size: 1.2rem;
        margin: 0;
        padding: 0 16px 0 0;
    }
    #service-other .service-section__title {
        font-size: 1.2rem;
        margin: 0;
        padding: 0 16px 0 50px;
    }
    .service-section__desc {
        font-size: 15px;
        line-height: 1.8;
        margin-bottom: 32px;
        font-weight: 600;
    }
    /* 二つ目 */
    .service-section__inner2 {
        /* max-width: 1100px; */
        width: 100%;
        /* margin-left: 100px; */
        padding: 0;
        display: flex;
        flex-direction: column-reverse;
        gap: 16px;
        align-items: center;
    }
    .service-section__content2 {
        flex: 1;
        margin-right: 0;
        padding: 0 16px 0 50px;
    }
    .service-section__image2 {
        flex: 0 0 40%;
        flex: 1;
        /* max-width: 400px; */
        padding-right: 16px;
    }
    .service-section__checklist li {
        font-size: 15px;
        padding-left: 32px;
        margin-bottom: 16px;
        position: relative;
        line-height: 1.7;
        font-weight: 600;
    }
    .service-section--fullwidth .service-section__inner {
        width: 100%;
        margin: 0 auto;
        /* padding: 0 16px 0 50px; */
    }
    .third-desc {
        padding: 0 16px 0 50px;
    }
    .service-section__table {
        width: 100%;
        border-collapse: separate;
        margin-top: 32px;
        padding: 0 16px 0 50px;
    }
    .service-section__table tbody th {
        background: #f8f8f8;
        padding-top: 12px;
        width: 91%;
    }
    .service-section__table tbody td,
    .service-section__table tbody th {
        display: block;
        width: auto;
        border: none;
    }
}