/* ===== サービスページ専用スタイル ===== */

/* ページヘッダー */
.page-header {
    background-color: #F5F5F5;
    padding: 60px 60px;
}

.page-header-container {
    max-width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    min-height: 40vh;
}

.page-header-title {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 40px 0;
}

.page-header-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 40px 0 40px 40px;
}

.page-main-title {
    font-size: 72px;
    font-weight: 400;
    color: #666;
    letter-spacing: 0.05em;
    line-height: 1;
    font-family: 'Montserrat', sans-serif;
    margin: 0;
}

.page-nav {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid #999;
    padding-top: 30px;
    width: 100%;
}

.page-nav-link {
    color: #999;
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.1em;
    padding: 18px 0;
    border-bottom: 1px solid #E0E0E0;
    transition: all 0.3s;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
}

.page-nav-link:hover {
    color: #D48FB1;
    padding-left: 15px;
    border-bottom-color: #D48FB1;
}

/* サービス概要 */
.service-overview {
    padding: 0;
}

.service-overview-bg {
    position: relative;
    background-image: url('../img/hero-1.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 100px 20px;
    min-height: 500px;
    display: flex;
    align-items: center;
}

.service-overview-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.85);
    z-index: 1;
}

.service-overview .container {
    position: relative;
    z-index: 2;
}

.service-overview .section-title-mincho {
    color: #333;
}

.service-intro-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.service-intro-text p {
    font-size: 18px;
    line-height: 2;
    color: #444;
    font-weight: 500;
}

/* サービス詳細カード（リスト形式） */
.service-details {
    background-color: #fff;
    padding: 80px 20px;
}

.service-list {
    max-width: 900px;
    margin: 0 auto;
}

.service-list-item {
    display: flex;
    gap: 30px;
    padding: 35px 0;
    border-bottom: 1px solid #F0F0F0;
    transition: all 0.3s;
}

.service-list-item:first-child {
    padding-top: 0;
}

.service-list-item:last-child {
    border-bottom: none;
}

.service-list-item:hover {
    padding-left: 15px;
}

.service-list-item:hover .service-list-icon {
    background-color: #D48FB1;
}

.service-list-item:hover .service-list-icon svg {
    color: #fff;
}

.service-list-icon {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    background-color: #FFF5F8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.service-list-icon svg {
    width: 35px;
    height: 35px;
    color: #D48FB1;
    stroke-width: 2;
    transition: all 0.3s;
}

.service-list-content {
    flex: 1;
    padding-top: 5px;
}

.service-list-content h3 {
    font-size: 22px;
    color: #333;
    margin-bottom: 12px;
    font-weight: 600;
}

.service-list-content p {
    color: #666;
    line-height: 1.9;
    font-size: 15px;
}

/* 特徴リスト（新デザイン） */
.service-features {
    background-color: #FAFAFA;
    padding: 100px 20px;
    position: relative;
    overflow: hidden;
}

.service-features::before {
    content: 'OUR FEATURE';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 140px;
    font-weight: 700;
    color: rgba(212, 143, 177, 0.05);
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.05em;
    white-space: nowrap;
    z-index: 0;
    pointer-events: none;
}

.service-features .container {
    position: relative;
    z-index: 1;
}

.features-grid-new {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.feature-card-new {
    background: linear-gradient(to bottom, #fff 0%, #fff 70%, rgba(255, 255, 255, 0) 100%);
    padding: 40px 30px 60px;
    border-radius: 20px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.feature-card-new::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(to bottom, rgba(212, 143, 177, 0) 0%, rgba(212, 143, 177, 0.08) 100%);
    pointer-events: none;
}

.feature-card-new:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 40px rgba(212, 143, 177, 0.2);
}

.feature-card-number {
    position: absolute;
    top: 25px;
    left: 30px;
    font-size: 64px;
    font-weight: 700;
    color: #5DBEC4;
    font-family: 'Montserrat', sans-serif;
    line-height: 1;
    z-index: 1;
}

.feature-card-icon-svg {
    width: 100px;
    height: 100px;
    margin: 60px auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.feature-card-icon-svg svg {
    width: 100%;
    height: 100%;
    color: #5DBEC4;
    stroke-width: 1.5;
}

.feature-card-new h3 {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.5;
    position: relative;
    z-index: 1;
    text-align: center;
}

.feature-card-new p {
    color: #666;
    line-height: 1.9;
    font-size: 14px;
    position: relative;
    z-index: 1;
    text-align: left;
}

/* FAQ */
.faq {
    background-color: #fff;
    padding: 80px 20px;
}

.faq-list {
    max-width: 900px;
    margin: 50px auto 0;
}

.faq-item {
    margin-bottom: 30px;
    padding: 30px;
    background-color: #FFF5F8;
    border-radius: 15px;
    transition: all 0.3s;
}

.faq-item:hover {
    box-shadow: 0 4px 20px rgba(212, 143, 177, 0.15);
}

.faq-question {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 20px;
}

.faq-q {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background-color: #D48FB1;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
}

.faq-question p {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    line-height: 1.6;
    padding-top: 8px;
}

.faq-answer {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding-left: 0;
}

.faq-a {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background-color: #E8B4C8;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
}

.faq-answer p {
    color: #555;
    line-height: 1.9;
    font-size: 16px;
    padding-top: 8px;
}

.faq-answer a {
    color: #D48FB1;
    text-decoration: underline;
    transition: color 0.3s;
}

.faq-answer a:hover {
    color: #B86A8F;
}

/* 関連ページ（バナー形式 - 斜めレイアウト） */
.related-pages {
    background-color: #F5F1E8;
    padding: 100px 20px;
    overflow: hidden;
}

.related-banners {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    margin-top: 60px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    perspective: 1000px;
    min-height: 450px;
}

.related-banner {
    position: relative;
    width: 380px;
    height: 480px;
    text-decoration: none;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.related-banner:nth-child(1) {
    transform: rotate(-8deg) translateX(40px);
    z-index: 1;
}

.related-banner:nth-child(2) {
    transform: rotate(0deg) scale(1.1);
    z-index: 3;
    margin: 0 -50px;
}

.related-banner:nth-child(3) {
    transform: rotate(8deg) translateX(-40px);
    z-index: 1;
}

.related-banner:hover {
    transform: rotate(0deg) scale(1.15) translateY(-20px) !important;
    z-index: 10 !important;
    box-shadow: 0 30px 80px rgba(212, 143, 177, 0.4);
}

.banner-image {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.banner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
    filter: brightness(0.9);
}

.related-banner:hover .banner-image img {
    transform: scale(1.1);
    filter: brightness(1);
}

.banner-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.5) 60%, transparent 100%);
    color: #fff;
    z-index: 1;
    transition: all 0.4s;
}

.related-banner:hover .banner-overlay {
    padding-bottom: 50px;
    background: linear-gradient(to top, rgba(212, 143, 177, 0.9) 0%, rgba(212, 143, 177, 0.6) 60%, transparent 100%);
}

.banner-overlay h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #fff;
    transform: translateY(0);
    transition: transform 0.4s;
}

.related-banner:hover .banner-overlay h3 {
    transform: translateY(-5px);
}

.banner-overlay p {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

/* レスポンシブ（モバイル） */
@media (max-width: 768px) {
    .section-title-mincho {
        font-size: 24px;
    }

    .page-header {
        min-height: auto;
        padding: 40px 20px;
    }

    .page-header-container {
        grid-template-columns: 1fr;
        gap: 40px;
        min-height: auto;
    }

    .page-header-title {
        padding: 20px 0;
        justify-content: flex-start;
    }

    .page-header-nav {
        padding: 20px 0;
        justify-content: flex-start;
    }

    .page-main-title {
        font-size: 60px;
    }

    .page-nav {
        padding-top: 20px;
    }

    .page-nav-link {
        font-size: 14px;
        padding: 15px 0;
    }

    .service-overview-bg {
        padding: 60px 20px;
        min-height: 400px;
    }

    .service-intro-text p {
        font-size: 16px;
    }

    .service-list {
        padding: 0 10px;
    }

    .service-list-item {
        gap: 20px;
        padding: 25px 0;
    }

    .service-list-icon {
        width: 60px;
        height: 60px;
    }

    .service-list-icon svg {
        width: 30px;
        height: 30px;
    }

    .service-list-content h3 {
        font-size: 18px;
    }

    .service-list-content p {
        font-size: 14px;
    }

    .service-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-detail-card {
        padding: 30px 20px;
    }

    .feature-item {
        flex-direction: column;
        gap: 20px;
        margin-bottom: 30px;
        padding-bottom: 30px;
    }

    .feature-number {
        width: 50px;
        height: 50px;
        font-size: 18px;
    }

    .area-category ul {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .area-list {
        padding: 25px 20px;
    }

    .faq-item {
        padding: 20px;
    }

    .faq-question,
    .faq-answer {
        gap: 15px;
    }

    .faq-q,
    .faq-a {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }

    .faq-question p {
        font-size: 16px;
    }

    .faq-answer p {
        font-size: 15px;
    }

    /* 選ばれる理由セクション（モバイル） */
    .service-features {
        padding: 60px 20px;
    }

    .service-features::before {
        font-size: 60px;
    }

    .features-grid-new {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-top: 40px;
    }

    .feature-card-new {
        padding: 35px 25px 45px;
    }

    .feature-card-number {
        font-size: 48px;
        top: 20px;
        left: 25px;
    }

    .feature-card-icon-svg {
        width: 80px;
        height: 80px;
        margin: 50px auto 25px;
    }

    .feature-card-new h3 {
        font-size: 18px;
        margin-bottom: 12px;
    }

    .feature-card-new p {
        font-size: 14px;
        line-height: 1.8;
    }

    .related-banners {
        flex-direction: column;
        gap: 30px;
        min-height: auto;
        perspective: none;
    }

    .related-banner {
        width: 100%;
        max-width: 400px;
        height: 350px;
        margin: 0 auto !important;
    }

    .related-banner:nth-child(1),
    .related-banner:nth-child(2),
    .related-banner:nth-child(3) {
        transform: rotate(0deg) !important;
        z-index: 1 !important;
    }

    .related-banner:hover {
        transform: scale(1.05) translateY(-10px) !important;
    }

    .banner-overlay {
        padding: 30px 25px;
    }

    .banner-overlay h3 {
        font-size: 24px;
    }
}

/* さらに小さい画面用（400px以下） */
@media (max-width: 400px) {
    .page-header {
        padding: 40px 20px;
    }

    .page-header-title {
        padding: 15px 0;
    }

    .page-header-nav {
        padding: 15px 0;
    }

    .page-main-title {
        font-size: 48px;
    }

    .section-title-mincho {
        font-size: 22px;
    }

    .service-overview-bg,
    .service-details,
    .service-features,
    .faq,
    .related-pages {
        padding-left: 15px;
        padding-right: 15px;
    }

    .service-list {
        padding: 0 5px;
    }

    .service-list-item {
        gap: 15px;
        padding: 20px 0;
    }

    .service-list-icon {
        width: 55px;
        height: 55px;
    }

    .service-list-icon svg {
        width: 28px;
        height: 28px;
    }

    .service-list-content h3 {
        font-size: 17px;
    }

    .service-list-content p {
        font-size: 13px;
    }

    .feature-card-new {
        padding: 30px 20px 40px;
    }

    .feature-card-number {
        font-size: 42px;
        top: 15px;
        left: 20px;
    }

    .feature-card-icon-svg {
        width: 70px;
        height: 70px;
        margin: 45px auto 20px;
    }

    .feature-card-new h3 {
        font-size: 16px;
    }

    .feature-card-new p {
        font-size: 13px;
    }

    .faq-item {
        padding: 15px;
    }

    .faq-question p {
        font-size: 15px;
    }

    .faq-answer p {
        font-size: 14px;
    }

    .related-banner {
        height: 300px;
    }

    .banner-overlay {
        padding: 25px 20px;
    }

    .banner-overlay h3 {
        font-size: 20px;
    }
}