/**
 * Updated Content Sections Styles
 * THANNECT website sections
 */

/* Section Label */
.section-label {
    display: inline-block;
    color: #667eea;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

/* Concept Section - RiDEAL Style */
.concept-section {
    padding: 80px 0;
    background: #e6dfd3;
}

.concept_inr {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.concept_text {
    flex: 0 0 400px;
    opacity: 1;
}

.concept_text h1 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.3;
}

.concept_subtitle {
    font-size: 1rem;
    color: #666;
    margin-bottom: 30px;
}

.concept_text p {
    font-size: 0.95rem;
    line-height: 1.9;
    color: #666;
    margin-bottom: 30px;
}

.concept_text .btn-primary {
    display: inline-block;
    padding: 14px 30px;
    background: #D4A574;
    color: #fff !important;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.concept_text .btn-primary:hover {
    background: #c49563;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 165, 116, 0.3);
}

.reason_box {
    flex: 1;
}

.reason_grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.reason_item {
    background: white;
    padding: 20px 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.reason_item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.reason_number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #D4A574;
    margin-bottom: 10px;
}

.reason_item h3 {
    font-size: 1.2rem;
    color: #2c3e50;
    margin-bottom: 10px;
    font-weight: 600;
}

.reason_item p {
    font-size: 0.85rem;
    line-height: 1.7;
    color: #666;
}

/* Responsive for RiDEAL Style */
@media (max-width: 1024px) {
    .concept_inr {
        flex-direction: column;
        gap: 40px;
    }

    .concept_text {
        flex: none;
        width: 100%;
    }

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

@media (max-width: 768px) {
    .concept_inr {
        padding: 0 20px;
    }

    .concept_text h1 {
        font-size: 2rem;
    }

    .reason_item {
        padding: 20px;
    }

    .reason_number {
        font-size: 1.5rem;
    }

    .reason_item h3 {
        font-size: 1.1rem;
    }

    .reason_item p {
        font-size: 0.85rem;
    }
}

/* Old Grid Styles (fallback) */
.concept-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

@media (min-width: 1600px) {
    .concept-grid {
        gap: 40px;
    }
}

@media (max-width: 1200px) {
    .concept-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.concept-item {
    text-align: center;
    padding: 35px 25px;
    background: #f8f9fa;
    border-radius: 12px;
    transition: transform 0.3s ease;
    min-height: 450px;
}

.concept-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

@media (max-width: 1200px) {
    .concept-item {
        padding: 30px 20px;
        min-height: auto;
    }
}

.concept-number {
    font-family: 'Didot', 'Bodoni MT', 'Noto Serif Display', 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 600;
    background: linear-gradient(135deg, #D4A574 0%, #C19A6B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
    font-style: italic;
}

.concept-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.concept-content h3 {
    color: #2c3e50;
    font-size: 20px;
    margin-bottom: 12px;
    font-weight: 600;
}

.concept-content p {
    color: #666;
    line-height: 1.7;
    font-size: 13px;
    text-align: left;
}

/* Services Grid - 上段3列、下段4列 */
.services-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 30px;
    margin-top: 50px;
}

/* 最初の3つのサービスカード（上段） */
.service-card:nth-child(1),
.service-card:nth-child(2),
.service-card:nth-child(3) {
    grid-column: span 4;
}

/* 次の4つのサービスカード（下段） */
.service-card:nth-child(4),
.service-card:nth-child(5),
.service-card:nth-child(6),
.service-card:nth-child(7) {
    grid-column: span 3;
}

/* タブレット版 */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .service-card:nth-child(1),
    .service-card:nth-child(2),
    .service-card:nth-child(3),
    .service-card:nth-child(4),
    .service-card:nth-child(5),
    .service-card:nth-child(6),
    .service-card:nth-child(7) {
        grid-column: span 1;
    }
}

.service-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-icon {
    height: 200px;
    overflow: hidden;
}

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

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

.service-content {
    padding: 25px;
}

.service-content h3 {
    color: #2c3e50;
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: 600;
}

.service-content small {
    font-size: 14px;
    color: #999;
}

.service-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 14px;
}

.service-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s ease;
}

.service-link span {
    margin-left: 5px;
}

.service-link:hover {
    color: #764ba2;
}

/* Programs Section */
.programs-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.program-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.program-card:hover {
    transform: translateY(-5px);
}

.program-image {
    height: 250px;
    overflow: hidden;
    position: relative;
}

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

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

.program-content {
    padding: 25px;
}

.program-link {
    position: absolute;
    top: 20px;
    right: 20px;
    background: white;
    padding: 8px 16px;
    border-radius: 20px;
    color: #667eea;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.program-content h3 {
    color: #2c3e50;
    font-size: 20px;
    margin-bottom: 10px;
}

.program-content p {
    color: #666;
    line-height: 1.6;
    font-size: 14px;
}

/* Trainer Section */
.trainer-section {
    padding: 80px 0;
    background: white;
}

.trainer-feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 50px;
    align-items: center;
}

.trainer-image img {
    width: 100%;
    border-radius: 12px;
}

.trainer-badge {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 20px;
}

.trainer-info h3 {
    color: #2c3e50;
    font-size: 32px;
    line-height: 1.4;
    margin-bottom: 20px;
}

.trainer-name {
    color: #666;
    font-size: 18px;
    margin-bottom: 30px;
}

.trainer-bio p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}

.trainer-link {
    display: inline-block;
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    margin-top: 20px;
    transition: color 0.3s ease;
}

.trainer-link:hover {
    color: #764ba2;
}

/* Pricing Section */
.pricing-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 50px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-card {
    background: white;
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    position: relative;
}

.pricing-card.featured {
    transform: scale(1.05);
}

.pricing-header h3 {
    color: #2c3e50;
    font-size: 24px;
    margin-bottom: 20px;
}

.pricing-price {
    margin-bottom: 30px;
}

.price-option {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 10px;
}

.price-duration {
    color: #666;
    font-size: 16px;
}

.price-amount {
    font-size: 32px;
    color: #2c3e50;
    font-weight: bold;
}

.price-tax {
    color: #999;
    font-size: 14px;
}

.pricing-features {
    list-style: none;
    margin-bottom: 30px;
}

.pricing-features li {
    padding: 10px 0;
    color: #666;
    border-bottom: 1px solid #f0f0f0;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.testimonial-text {
    color: #666;
    line-height: 1.8;
    font-size: 15px;
}

/* Blog Section */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.blog-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

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

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

.blog-category {
    position: absolute;
    top: 20px;
    left: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.blog-content {
    padding: 25px;
}

.blog-date {
    color: #999;
    font-size: 14px;
    display: block;
    margin-bottom: 10px;
}

.blog-content h3 {
    color: #2c3e50;
    font-size: 18px;
    line-height: 1.4;
    margin-bottom: 15px;
}

.blog-content p {
    color: #666;
    line-height: 1.6;
    font-size: 14px;
}

.blog-cta {
    text-align: center;
    margin-top: 40px;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    color: white;
    font-size: 36px;
    margin-bottom: 20px;
    font-weight: 600;
}

.cta-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    min-width: 180px;
}

/* Access Section */
.access-section {
    padding: 80px 0;
    background: white;
}

.access-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 50px;
}

.access-map {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    line-height: 0;
    position: relative;
    height: 600px;
}

.access-map iframe {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    border: none;
    margin: 0;
    padding: 0;
    transform: scale(1);
}

.access-details {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 12px;
}

.access-details h3 {
    color: #2c3e50;
    font-size: 24px;
    margin-bottom: 30px;
}

.access-details dl {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 15px;
}

.access-details dt {
    color: #999;
    font-size: 14px;
}

.access-details dd {
    color: #666;
    line-height: 1.6;
}

.access-badges {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    margin-bottom: 30px;
}

.badge {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
    .concept-grid,
    .programs-grid,
    .testimonials-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    /* services-gridは別途設定 */
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card:nth-child(1),
    .service-card:nth-child(2),
    .service-card:nth-child(3),
    .service-card:nth-child(4),
    .service-card:nth-child(5),
    .service-card:nth-child(6),
    .service-card:nth-child(7) {
        grid-column: span 1;
    }
    
    .trainer-feature,
    .access-content {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .access-details dl {
        grid-template-columns: 1fr;
    }
}

/* モバイル用コンセプトスライダー */
.concept-slider-wrapper {
    position: relative;
}

.concept-slider-dots {
    display: none;
}

@media (max-width: 768px) {
    .concept-slider-wrapper {
        overflow: hidden;
        position: relative;
        padding: 0 20px;
    }
    
    .concept-grid {
        display: flex !important;
        transition: transform 0.3s ease;
        gap: 0;
        margin-left: -20px;
        margin-right: -20px;
    }
    
    .concept-item {
        flex: 0 0 100%;
        width: 100%;
        padding: 35px 20px;
        margin: 0;
        min-height: auto;
    }
    
    .concept-slider-dots {
        display: flex;
        justify-content: center;
        gap: 8px;
        margin-top: 30px;
    }
    
    .slider-dot {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: #d0d0d0;
        border: none;
        cursor: pointer;
        transition: background 0.3s ease, transform 0.3s ease;
        padding: 0;
    }
    
    .slider-dot.active {
        background: #D4A574;
        transform: scale(1.2);
    }
    
    .slider-dot:hover {
        background: #D4A574;
    }
}