@import "../root.css";

/* リノベーション実績ページ - PC版 */

/* 導入部分 */
.renovation-results-intro-area {
    width: 100%;
    margin-top: 80px;
    padding: 60px 0;
    background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
}

.renovation-results-intro-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.intro-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 30px;
    color: #1a1a1a;
    line-height: 1.4;
}

.intro-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    letter-spacing: 0.5px;
}

/* ギャラリーセクション */
.renovation-results-gallery {
    width: 100%;
    padding: 80px 0;
    background-color: #fafafa;
}

.gallery-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
}

.result-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.result-item:nth-child(even) {
    grid-template-columns: 1fr 1fr;
    direction: rtl;
}

.result-item:nth-child(even)>* {
    direction: ltr;
}

/* ビフォーアフター画像 */
.result-image-wrapper {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    min-width: 0;
}

.result-before-after {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    height: 100%;
    gap: 2px;
}

.before-image,
.after-image {
    position: relative;
    overflow: hidden;
    background-color: #e0e0e0;
}

.before-image img,
.after-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-label {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: bold;
    letter-spacing: 2px;
    border-radius: 4px;
}

/* 実績内容 */
.result-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    min-width: 0;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.result-title {
    font-size: 1.8rem;
    font-weight: bold;
    color: #1a1a1a;
    margin-bottom: 15px;
    border-left: 4px solid #333;
    padding-left: 15px;
}

.result-title h3 {
    margin: 0;
}

.result-description {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #555;
    display: grid;
    gap: 10px;
}

.result-description p {
    margin: 0;
}

.result-description strong {
    color: #333;
    font-weight: 600;
}

.description-text {
    margin-top: 10px !important;
    padding-top: 10px;
    border-top: 1px solid #e0e0e0;
    color: #666;
}

/* 実績の特徴セクション */
.renovation-features-area {
    width: 100%;
    padding: 80px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f5f5f5 100%);
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
}

.features-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: bold;
    color: #1a1a1a;
    margin-bottom: 60px;
}

.features-title h2 {
    margin: 0;
}

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

.feature-card {
    background: white;
    padding: 30px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

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

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto;
    color: #333;
    flex-shrink: 0;
}

.feature-icon svg {
    width: 100%;
    height: 100%;
}

.feature-title {
    font-size: 1.1rem;
    font-weight: bold;
    color: #1a1a1a;
}

.feature-title h3 {
    margin: 0;
}

.feature-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
    flex-grow: 1;
}

/* CTA セクション */
.renovation-cta-area {
    width: 100%;
    padding: 80px 20px;
    background: linear-gradient(135deg, #0A1020 0%, #1a2d47 100%);
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    color: white;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 30px;
    color: white;
}

.cta-title h2 {
    margin: 0;
}

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

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

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 40px;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    border: 2px solid white;
    transition: all 0.3s ease;
    text-transform: none;
}

.cta-button span {
    letter-spacing: 1px;
}

.primary-button {
    background: white;
    color: #0A1020;
}

.primary-button:hover {
    background: #f0f0f0;
    border-color: #f0f0f0;
}

.secondary-button {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.secondary-button:hover {
    background: rgba(255, 255, 255, 0.1);
}