/*
 * トップページ専用スタイル
 * Design69準拠レイアウト
 */

/* ============================================
   ヒーローセクション
   ============================================ */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 100, 0, 0.7) 0%, rgba(32, 178, 170, 0.5) 100%);
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
    width: 90%;
    max-width: 900px;
}

.hero-catchcopy-en {
    font-family: var(--font-serif);
    font-size: 72px;
    font-weight: 400;
    color: var(--white);
    letter-spacing: 8px;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-catchcopy-ja {
    font-size: 18px;
    color: var(--white);
    letter-spacing: 5px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-text {
    font-size: 16px;
    color: var(--white);
    line-height: 2;
    margin-bottom: 40px;
    opacity: 0.9;
}

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

.hero-btn {
    padding: 18px 50px;
    font-size: 14px;
    letter-spacing: 2px;
}

.hero-features {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
    z-index: 10;
}

.feature-badge {
    background-color: rgba(255, 255, 255, 0.95);
    color: var(--text-color);
    padding: 20px 25px;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: var(--shadow);
    min-width: 200px;
}

.badge-icon {
    font-family: var(--font-serif);
    font-size: 28px;
    font-weight: 600;
    color: var(--primary-color);
    letter-spacing: 1px;
}

.badge-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.badge-text strong {
    font-size: 16px;
    color: var(--primary-color);
}

.badge-text span {
    font-size: 12px;
    color: #666;
}

/* スライダードット */
.slider-dots {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot.active {
    background-color: var(--white);
}

.slider-dot:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

/* ============================================
   お知らせセクション（3カラムグリッド）
   ============================================ */
.news-section {
    background-color: var(--white);
    position: relative;
}

.news-section .blob-decoration {
    width: 400px;
    height: 400px;
    top: -150px;
    right: -100px;
    background-color: var(--beige);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.news-card {
    background-color: var(--white);
    box-shadow: var(--shadow);
    transition: var(--transition);
    overflow: hidden;
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.news-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-card-body {
    padding: 25px;
}

.news-card-date {
    font-size: 12px;
    color: #999;
    margin-bottom: 10px;
}

.news-card-title {
    font-size: 16px;
    font-weight: bold;
    line-height: 1.6;
    color: var(--text-color);
}

/* ============================================
   サービスセクション（CONTENTS1スタイル）
   ============================================ */
.services-section {
    background-color: var(--light-bg);
    position: relative;
    overflow: hidden;
}

.services-section .rectangle-decoration {
    width: 40%;
    height: 80%;
    top: 10%;
    right: 0;
    background-color: var(--beige);
}

.service-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 100px;
    position: relative;
}

.service-block:last-child {
    margin-bottom: 0;
}

.service-block.reverse {
    direction: rtl;
}

.service-block.reverse > * {
    direction: ltr;
}

.service-image {
    position: relative;
}

.service-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.service-content {
    position: relative;
    padding: 20px 0;
}

.service-number {
    font-family: 'Times New Roman', serif;
    font-size: 100px;
    color: var(--beige);
    line-height: 1;
    position: absolute;
    top: -50px;
    left: -30px;
    z-index: -1;
}

.service-title-en {
    font-family: 'Times New Roman', serif;
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.service-title-ja {
    font-size: 14px;
    color: #666;
    margin-bottom: 25px;
    letter-spacing: 2px;
}

.service-description {
    font-size: 15px;
    line-height: 2;
    color: #666;
    margin-bottom: 30px;
}

.service-list {
    margin-bottom: 30px;
}

.service-list li {
    padding: 8px 0;
    font-size: 14px;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-list li::before {
    content: '✓';
    color: var(--primary-color);
    font-weight: bold;
}

/* ============================================
   ABOUT USセクション
   ============================================ */
.about-section {
    background-color: var(--white);
    position: relative;
}

.about-section .rectangle-decoration {
    width: 50%;
    height: 60%;
    top: 20%;
    left: 0;
    background-color: var(--beige);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.about-text-area {
    position: relative;
}

.about-number {
    font-family: 'Times New Roman', serif;
    font-size: 150px;
    color: var(--beige);
    line-height: 1;
    position: absolute;
    top: -80px;
    left: -50px;
    z-index: -1;
}

.about-title {
    font-family: 'Times New Roman', serif;
    font-size: 42px;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.about-description {
    font-size: 15px;
    line-height: 2.2;
    color: #666;
    margin-bottom: 40px;
}

/* ============================================
   施工実績セクション（ギャラリー）
   ============================================ */
.works-section {
    background-color: var(--light-bg);
}

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

.works-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.works-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: var(--transition);
}

.works-item:hover img {
    transform: scale(1.1);
}

.works-item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 30px 20px 20px;
    opacity: 0;
    transition: var(--transition);
}

.works-item:hover .works-item-overlay {
    opacity: 1;
}

.works-item-title {
    color: var(--white);
    font-size: 16px;
    font-weight: bold;
}

.works-item-desc {
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    margin-top: 5px;
}

/* ============================================
   対応地域セクション
   ============================================ */
.area-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    text-align: center;
}

.area-section .section-title-en {
    color: var(--white);
}

.area-section .section-title-ja {
    color: rgba(255, 255, 255, 0.8);
}

.area-main-text {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 20px;
}

.area-sub-text {
    font-size: 16px;
    line-height: 2;
    opacity: 0.9;
    margin-bottom: 40px;
}

.area-note {
    font-size: 14px;
    opacity: 0.8;
}

/* ============================================
   お問い合わせCTAセクション
   ============================================ */
.cta-section {
    background-color: var(--beige);
    padding: 100px 0;
}

.cta-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.cta-text-area h2 {
    font-family: 'Times New Roman', serif;
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.cta-text-area p {
    font-size: 15px;
    line-height: 2;
    color: #666;
    margin-bottom: 30px;
}

.cta-contact-box {
    background-color: var(--white);
    padding: 50px;
    box-shadow: var(--shadow);
}

.cta-contact-box h3 {
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 30px;
    text-align: center;
}

.cta-tel {
    font-family: 'Times New Roman', serif;
    font-size: 32px;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cta-buttons .btn {
    width: 100%;
    text-align: center;
}

/* ============================================
   FAQ/項目セクション
   ============================================ */
.faq-preview-section {
    background-color: var(--white);
}

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

.faq-item {
    border-bottom: 1px solid var(--dark-beige);
    padding: 25px 0;
}

.faq-item-title {
    font-size: 16px;
    font-weight: bold;
    color: var(--text-color);
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.faq-item-title::before {
    content: 'Q';
    font-family: 'Times New Roman', serif;
    font-size: 20px;
    color: var(--primary-color);
    font-weight: normal;
}

.faq-item-text {
    font-size: 14px;
    line-height: 2;
    color: #666;
    padding-left: 35px;
}

/* ============================================
   カテゴリーセクション
   ============================================ */
.category-section {
    background-color: var(--light-bg);
}

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

.category-card {
    background-color: var(--white);
    padding: 40px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.category-title {
    font-size: 20px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.category-text {
    font-size: 14px;
    line-height: 2;
    color: #666;
}

/* ============================================
   アクセスセクション
   ============================================ */
.access-section {
    background-color: var(--white);
}

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

.access-map {
    height: 400px;
    background-color: var(--light-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
}

.access-info h3 {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.access-info-list {
    margin-bottom: 30px;
}

.access-info-item {
    display: flex;
    padding: 15px 0;
    border-bottom: 1px solid var(--light-bg);
}

.access-info-label {
    width: 120px;
    font-size: 14px;
    color: #666;
}

.access-info-value {
    flex: 1;
    font-size: 14px;
    color: var(--text-color);
}

/* ============================================
   レスポンシブ対応
   ============================================ */
@media (max-width: 1024px) {
    .hero-catchcopy-en {
        font-size: 48px;
    }
    
    .hero-features {
        bottom: 80px;
    }
    
    .news-grid {
        gap: 30px;
    }
    
    .service-block {
        gap: 50px;
    }
    
    .service-number {
        font-size: 80px;
    }
    
    .about-number {
        font-size: 100px;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 100vh;
        display: flex;
        flex-direction: column;
    }
    
    .hero-catchcopy-en {
        font-size: 28px;
        letter-spacing: 3px;
        word-break: keep-all;
    }
    
    .hero-catchcopy-ja {
        font-size: 14px;
        letter-spacing: 3px;
        margin-bottom: 25px;
    }
    
    .hero-text {
        font-size: 13px;
        line-height: 1.8;
        margin-bottom: 30px;
    }
    
    .hero-text br {
        display: none;
    }
    
    .hero-features {
        display: none;
    }
    
    .hero-content {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        padding: 140px 25px 50px;
        width: 100%;
        max-width: 100%;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }
    
    .hero-btn {
        width: 100%;
        padding: 16px 30px;
        font-size: 13px;
    }
    
    .slider-dots {
        bottom: 25px;
    }
    
    .scroll-indicator {
        display: none;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-block {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .service-block.reverse {
        direction: ltr;
    }
    
    .service-image img {
        height: 250px;
    }
    
    .service-number {
        font-size: 60px;
        top: -30px;
        left: 0;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .about-image img {
        height: 300px;
    }
    
    .about-number {
        font-size: 80px;
        top: -40px;
        left: 0;
    }
    
    .about-title {
        font-size: 28px;
    }
    
    .works-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .works-item img {
        height: 180px;
    }
    
    .cta-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .cta-contact-box {
        padding: 30px 20px;
    }
    
    .cta-tel {
        font-size: 24px;
    }
    
    .category-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .access-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .access-map {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .hero-catchcopy-en {
        font-size: 24px;
    }
    
    .hero-btn {
        padding: 15px 30px;
        font-size: 12px;
    }
    
    .works-grid {
        grid-template-columns: 1fr;
    }
    
    .works-item img {
        height: 220px;
    }
    
    .service-title-en {
        font-size: 28px;
    }
    
    .about-title {
        font-size: 24px;
    }
    
    .area-main-text {
        font-size: 22px;
    }
}
