/**
 * 美容皮膚科悩み詳細ページ - 固有CSS
 * Cosmetic Dermatology Concern Detail Pages
 * main.cssと併用（重複回避）
 */

/* ===== HERO SECTION ===== */
.concern-hero {
    background: var(--gradient-light);
    padding: 140px 0 100px;
    position: relative;
    overflow: hidden;
}

.concern-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(166, 157, 153, 0.05) 0%, transparent 50%);
}

.concern-hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.concern-hero-content {
    text-align: left;
}

.concern-hero-image {
    text-align: center;
}

.concern-hero-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    /* 四角いデザイン */
    box-shadow: var(--shadow-medium);
}

.concern-catchphrase {
    font-size: 16px;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 300;
    letter-spacing: 0.05em;
}

.concern-hero h1 {
    font-size: clamp(48px, 6vw, 64px);
    font-weight: 300;
    letter-spacing: 0.1em;
    color: var(--primary-color);
    margin-bottom: 30px;
    line-height: 1.2;
}

.concern-treatment-tags {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.treatment-tag {
    background: var(--white);
    color: var(--primary-color);
    padding: 12px 24px;
    border-radius: 8px;
    /* 四角いデザイン */
    font-size: 14px;
    font-weight: 300;
    letter-spacing: 0.05em;
    border: 1px solid rgba(166, 157, 153, 0.2);
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
}

.treatment-tag:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.concern-description {
    font-size: 18px;
    color: var(--text-medium);
    line-height: 1.8;
    font-weight: 300;
    margin-bottom: 30px;
}

.concern-highlight {
    background: var(--primary-color);
    color: white;
    padding: 30px;
    border-radius: 12px;
    /* 四角いデザイン */
    margin-bottom: 40px;
}

.concern-highlight h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: 400;
}

.concern-highlight-list {
    list-style: none;
    padding: 0;
}

.concern-highlight-list li {
    margin-bottom: 15px;
    padding-left: 20px;
    position: relative;
    font-weight: 300;
    line-height: 1.6;
}

.concern-highlight-list li::before {
    content: "▶";
    position: absolute;
    left: 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 12px;
}

/* ===== SECTION HEADERS ===== */
.section-header-with-subtitle {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    font-size: 14px;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 300;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.section-main-title {
    font-size: clamp(28px, 4vw, 36px);
    color: var(--primary-color);
    font-weight: 400;
    margin-bottom: 20px;
}

/* ===== ABOUT SECTION CARDS WITH IMAGES ===== */
.about .grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.about .card {
    background: var(--white);
    border-radius: 12px;
    /* 四角いデザイン */
    overflow: hidden;
    box-shadow: var(--shadow-light);
    border: 1px solid rgba(166, 157, 153, 0.1);
    transition: all 0.3s ease;
}

.about .card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.card:hover .card-image img {
    transform: scale(1.05);
}

.card-content h4 {
    color: var(--primary-color);
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 15px;
}

.card-content p {
    color: var(--text-medium);
    line-height: 1.7;
    font-weight: 300;
}

/* ===== TYPE SECTION ===== */
.type-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.type-card {
    background: var(--white);
    border-radius: 12px;
    /* 四角いデザイン */
    padding: 40px;
    box-shadow: var(--shadow-light);
    border: 1px solid rgba(166, 157, 153, 0.1);
    transition: all 0.3s ease;
}

.type-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.type-card h3 {
    color: var(--primary-color);
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--accent-color);
}

.type-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.type-features,
.type-causes {
    background: var(--accent-color);
    padding: 25px;
    border-radius: 8px;
    /* 四角いデザイン */
}

.type-features h4,
.type-causes h4 {
    color: var(--primary-color);
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 15px;
}

.type-features p,
.type-causes p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-medium);
    font-weight: 300;
}

/* ===== MENU SECTION ===== */
.menu-card {
    background: var(--white);
    border-radius: 12px;
    /* 四角いデザイン */
    padding: 50px;
    box-shadow: var(--shadow-light);
    border: 1px solid rgba(166, 157, 153, 0.1);
    margin-bottom: 60px;
    transition: all 0.3s ease;
}

.menu-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.menu-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.menu-title {
    font-size: 32px;
    color: var(--primary-color);
    font-weight: 400;
    margin: 0;
}

.menu-badge {
    background: var(--gradient-primary);
    color: white;
    padding: 6px 16px;
    border-radius: 8px;
    /* 四角いデザイン */
    font-size: 12px;
    font-weight: 300;
    letter-spacing: 0.05em;
}

.menu-description {
    font-size: 16px;
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 40px;
    font-weight: 300;
}

.menu-details {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.menu-detail-item h4 {
    color: var(--primary-color);
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 15px;
}

.menu-detail-list {
    list-style: none;
    padding: 0;
}

.menu-detail-list li {
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--text-medium);
    font-weight: 300;
    padding-left: 15px;
    position: relative;
}

.menu-detail-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* ===== PRICE TABLE ===== */
.price-table {
    background: var(--white);
    border-radius: 12px;
    /* 四角いデザイン */
    overflow: hidden;
    box-shadow: var(--shadow-light);
    border: 1px solid rgba(166, 157, 153, 0.1);
    margin: 30px 0;
}

.price-table-header {
    background: var(--primary-color);
    color: white;
    padding: 20px 30px;
    text-align: center;
}

.price-table-header h4 {
    color: white;
    font-size: 18px;
    font-weight: 400;
    margin: 0;
}

.price-table-note {
    font-size: 12px;
    opacity: 0.9;
    margin-top: 5px;
}

.price-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    align-items: center;
    padding: 20px 30px;
    border-bottom: 1px solid var(--accent-color);
    transition: all 0.3s ease;
}

.price-row:last-child {
    border-bottom: none;
}

.price-row:hover {
    background: rgba(166, 157, 153, 0.02);
}

.price-service {
    font-weight: 400;
    color: var(--text-dark);
}

.price-service-detail {
    font-size: 12px;
    color: var(--text-medium);
    font-weight: 300;
    margin-top: 3px;
}

.price-initial,
.price-regular {
    text-align: right;
    font-weight: 400;
}

.price-initial {
    color: var(--primary-color);
}

.price-regular {
    color: var(--text-dark);
}

.price-note {
    font-size: 12px;
    color: var(--text-light);
}

/* ===== ADDON SERVICES ===== */
.addon-services {
    background: var(--accent-color);
    padding: 30px;
    border-radius: 12px;
    /* 四角いデザイン */
    margin-top: 30px;
}

.addon-services h4 {
    color: var(--primary-color);
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 20px;
}

.addon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.addon-item {
    background: var(--white);
    padding: 15px 20px;
    border-radius: 6px;
    /* 四角いデザイン */
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    transition: all 0.3s ease;
}

.addon-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-light);
}

.addon-name {
    color: var(--text-dark);
    font-weight: 300;
}

.addon-price {
    color: var(--primary-color);
    font-weight: 400;
}

/* ===== CTA SECTION ===== */
.concern-cta {
    background: var(--gradient-primary);
    color: white;
    text-align: center;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.concern-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
}

.concern-cta-container {
    position: relative;
    z-index: 2;
}

.concern-cta h2 {
    color: white;
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 400;
    margin-bottom: 30px;
}

.concern-cta p {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 40px;
    line-height: 1.8;
    font-weight: 300;
}

.cta-button {
    background: white;
    color: var(--primary-color);
    padding: 18px 40px;
    border-radius: 8px;
    /* 四角いデザイン */
    font-size: 16px;
    font-weight: 400;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
    color: var(--primary-color);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .concern-hero-container {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }

    .concern-hero-content {
        text-align: center;
    }

    .type-grid {
        grid-template-columns: 1fr;
    }

    .menu-details {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .about .grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .concern-hero {
        padding: 50px 0 80px;
    }

    .concern-hero-container {
        padding: 0 20px;
        gap: 40px;
        /* スマホ表示時：画像を一番上に配置 */
        grid-template-columns: 1fr;
        grid-template-areas:
            "image"
            "content";
    }

    .concern-hero-content {
        grid-area: content;
        text-align: center;
    }

    .concern-hero-image {
        grid-area: image;
    }

    .concern-hero-image img {
        height: 300px;
    }

    .concern-treatment-tags {
        justify-content: center;
        gap: 10px;
    }

    .treatment-tag {
        padding: 8px 16px;
        font-size: 12px;
    }

    .type-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .menu-card {
        padding: 30px 20px;
    }

    .menu-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .price-row {
        grid-template-columns: 1fr;
        gap: 10px;
        text-align: left;
    }

    .addon-grid {
        grid-template-columns: 1fr;
    }

    .card-content {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .concern-hero h1 {
        font-size: 36px;
    }

    .type-card {
        padding: 25px;
    }

    .price-table {
        margin: 20px -20px;
        border-radius: 0;
    }

    .concern-hero-image img {
        height: 200px;
    }
}

/* ===== UTILITY CLASSES ===== */
.mt-30 {
    margin-top: 30px;
}

.text-center {
    text-align: center;
}

.link-primary {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 400;
    transition: all 0.3s ease;
}

.link-primary:hover {
    color: var(--primary-dark);
}