/* リフォーム詳細ページ専用スタイル */

/* パンくずリスト */
.breadcrumb {
    background-color: #f9f9f9;
    padding: 1.5rem 0;
    border-bottom: 1px solid #eee;
    margin-top: 8rem;
}

.breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.breadcrumb-list li {
    font-size: 1.4rem;
    color: #666;
    position: relative;
}

.breadcrumb-list li:not(:last-child)::after {
    content: '/';
    margin: 0 1rem;
    color: #ccc;
}

.breadcrumb-list li a {
    color: #2A9D8F;
}

.breadcrumb-list li a:hover {
    text-decoration: underline;
}

.breadcrumb-list li:last-child {
    color: #333;
    font-weight: 500;
}

/* ヒーローセクション */
.reform-hero {
    position: relative;
    height: 50vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    color: #fff;
}

.reform-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.reform-hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.4));
}

.reform-hero-content {
    max-width: 800px;
    padding: 0 2rem;
}

.reform-hero-title {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards 0.2s;
}

.reform-hero-text {
    font-size: 2.2rem;
    margin-bottom: 2.5rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards 0.4s;
}

.reform-hero-price {
    display: inline-flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards 0.6s;
}

.price-label {
    font-size: 1.4rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    margin-right: 1rem;
}

.price-range {
    font-size: 1.8rem;
    font-weight: 700;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 概要セクション */
.overview-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.overview-text p {
    font-size: 1.6rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 2rem;
}

.overview-text p:last-child {
    margin-bottom: 0;
}

.overview-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.overview-image img {
    transition: transform 0.5s ease;
}

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

/* メリットセクション */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.benefit-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    font-size: 3rem;
    color: #2A9D8F;
    margin-bottom: 2rem;
}

.benefit-card h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #333;
}

.benefit-card p {
    font-size: 1.5rem;
    color: #666;
    line-height: 1.7;
}

/* キッチンタイプセクション */
.types-content {
    display: flex;
    flex-direction: column;
    gap: 5rem;
}

.type-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.type-item:nth-child(even) {
    direction: rtl;
}

.type-item:nth-child(even) .type-info {
    direction: ltr;
}

.type-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.type-image img {
    transition: transform 0.5s ease;
}

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

.type-info h3 {
    font-size: 2.8rem;
    margin-bottom: 2rem;
    color: #333;
}

.type-info p {
    font-size: 1.6rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 2.5rem;
}

.type-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.feature {
    display: flex;
    align-items: center;
}

.feature-label {
    min-width: 120px;
    padding: 0.7rem 1.2rem;
    background-color: #f1f9f8;
    color: #2A9D8F;
    border-radius: 5px;
    font-size: 1.4rem;
    font-weight: 500;
    text-align: center;
    margin-right: 1.5rem;
}

.feature-text {
    font-size: 1.5rem;
    color: #333;
}

/* 費用相場セクション */
.cost-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: start;
}

.cost-table-container {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.cost-table {
    width: 100%;
    border-collapse: collapse;
}

.cost-table th {
    background-color: #2A9D8F;
    color: #fff;
    padding: 1.5rem;
    text-align: left;
    font-size: 1.6rem;
    font-weight: 500;
}

.cost-table td {
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
    font-size: 1.5rem;
}

.cost-table tr:last-child td {
    border-bottom: none;
}

.cost-table tbody tr:hover {
    background-color: #f9f9f9;
}

.grade-name {
    font-weight: 700;
    color: #333;
}

.price-range {
    color: #2A9D8F;
    font-weight: 500;
}

.grade-features ul {
    margin: 0;
    padding-left: 2rem;
}

.grade-features li {
    margin-bottom: 0.5rem;
    color: #666;
}

.grade-features li:last-child {
    margin-bottom: 0;
}

.cost-notes {
    background-color: #fff;
    border-radius: 10px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.cost-notes h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #333;
}

.cost-notes ul {
    margin-bottom: 2rem;
    padding-left: 2rem;
}

.cost-notes li {
    font-size: 1.5rem;
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.7;
}

.note-text {
    font-size: 1.4rem;
    color: #999;
    font-style: italic;
}

/* 施工事例セクション */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 4rem;
}

.case-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.case-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.case-image-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background-color: #eee;
}

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

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

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

.image-label {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.5rem 1rem;
    background-color: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: 1.2rem;
    font-weight: 500;
    border-radius: 5px;
}

.case-content {
    padding: 2.5rem;
}

.case-content h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #333;
}

.case-details {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

.detail-item {
    display: flex;
    flex-direction: column;
}

.detail-label {
    font-size: 1.2rem;
    color: #999;
    margin-bottom: 0.5rem;
}

.detail-value {
    font-size: 1.6rem;
    font-weight: 500;
    color: #333;
}

.case-description {
    font-size: 1.5rem;
    color: #666;
    line-height: 1.7;
}

.cases-cta {
    text-align: center;
    margin-top: 5rem;
}

/* アドバイスセクション */
.advice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.advice-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
}

.advice-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.advice-number {
    position: absolute;
    top: -2rem;
    left: 3rem;
    font-size: 5rem;
    font-weight: 700;
    color: rgba(42, 157, 143, 0.1);
    z-index: 0;
}

.advice-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #333;
    position: relative;
    z-index: 1;
}

.advice-card p {
    font-size: 1.5rem;
    color: #666;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

/* おすすめ会社セクション */
.company-slider {
    position: relative;
    overflow: hidden;
}

.company-slide {
    padding: 1rem;
}

.company-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.company-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.company-logo {
    height: 200px;
    overflow: hidden;
}

.company-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.company-info {
    padding: 2.5rem;
}

.company-name {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #333;
}

.company-rating {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.rating-stars {
    color: #FFD700;
    margin-right: 1rem;
}

.rating-number {
    font-weight: 700;
    color: #333;
}

.company-description {
    font-size: 1.5rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.slider-nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
}

.prev-btn,
.next-btn {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background-color: #2A9D8F;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.prev-btn:hover,
.next-btn:hover {
    background-color: #238a7e;
    transform: scale(1.1);
}

.companies-cta {
    text-align: center;
    margin-top: 5rem;
}

/* FAQ セクション */
.faq-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.faq-item {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2.5rem;
    cursor: pointer;
}

.faq-question h3 {
    font-size: 1.8rem;
    color: #333;
    flex: 1;
}

.toggle-icon {
    font-size: 1.6rem;
    color: #2A9D8F;
    transition: transform 0.3s ease;
}

.faq-item.active .toggle-icon {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 2.5rem 2.5rem;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-answer p {
    font-size: 1.5rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-answer ul {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.faq-answer li {
    font-size: 1.5rem;
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.7;
}

.faq-answer li:last-child {
    margin-bottom: 0;
}

/* CTA セクション */
.cta-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.cta-content h2 {
    font-size: 3.6rem;
    margin-bottom: 2rem;
    color: #333;
    line-height: 1.3;
}

.cta-content p {
    font-size: 1.8rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 3rem;
}

.cta-buttons {
    display: flex;
    gap: 2rem;
}

.cta-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.cta-image img {
    transition: transform 0.5s ease;
}

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

/* レスポンシブデザイン */
@media (max-width: 1200px) {
    .reform-hero-title {
        font-size: 4rem;
    }
    
    .reform-hero-text {
        font-size: 1.8rem;
    }
    
    .cost-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .type-item {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .type-item:nth-child(even) {
        direction: ltr;
    }
    
    .cta-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .cta-content {
        text-align: center;
    }
    
    .cta-buttons {
        justify-content: center;
    }
}

@media (max-width: 992px) {
    .overview-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .company-slide {
        padding: 1rem 3rem;
    }
}

@media (max-width: 768px) {
    .reform-hero {
        height: 40vh;
    }
    
    .reform-hero-title {
        font-size: 3.2rem;
    }
    
    .reform-hero-text {
        font-size: 1.6rem;
    }
    
    .cases-grid {
        grid-template-columns: 1fr;
    }
    
    .case-image-container {
        display: flex;
        flex-direction: column;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .reform-hero-price {
        display: block;
        text-align: center;
    }
    
    .price-label {
        display: block;
        margin-bottom: 0.5rem;
    }
    
    .type-features {
        grid-template-columns: 1fr;
    }
    
    .feature {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .feature-label {
        margin-bottom: 1rem;
        margin-right: 0;
    }
}