/* トップページ専用CSS */

/* ====================
   アイキャッチ（ファーストビュー）
==================== */
.hero {
    display: flex;
    width: 100%;
    height: calc(100vh - 54px); /* ナビゲーションの高さを引く */
    min-height: 500px;
    background-color: #f5f5f5;
    padding: 30px;
    gap: 30px;
}

/* 左側：スライダーエリア（2/3） */
.hero-slider {
    width: 66.666%;
    height: 100%;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.heroSwiper {
    width: 100%;
    height: 100%;
}

.hero-slide {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* スライダー画像 */
.hero-slide-1 {
    background-color: #e8f4f8;
    background-image: url('../images/slider_1.jpg');
}

.hero-slide-2 {
    background-color: #f8e8e8;
    background-image: url('../images/slider_2.jpg');
}

.hero-slide-3 {
    background-color: #f0f8e8;
    background-image: url('../images/slider_3.jpg');
}

/* 画像の拡張子が異なる場合は以下を使用してください */
/* .jpg の場合は上記のまま */
/* .png の場合は .jpg を .png に変更 */
/* .webp の場合は .jpg を .webp に変更 */

/* 右側：会社情報エリア（1/3） */
.hero-info {
    width: 33.333%;
    height: 100%;
    background-color: var(--accent-color);
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 40px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.hero-logo {
    text-align: center;
}

.hero-logo .logo-image {
    width: 300px;
    height: 300px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    background-color: transparent;
}

.hero-logo .logo-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.hero-contact {
    text-align: center;
    padding: 30px 20px;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 8px;
}

.contact-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 10px;
}

.contact-phone {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #FFE44D;
    margin-bottom: 10px;
    transition: all 0.3s;
}

.contact-phone:hover {
    opacity: 0.8;
}

.contact-hours {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
}

.hero-address {
    text-align: center;
    color: white;
}

.hero-address p {
    margin: 5px 0;
    font-weight: 500;
}

/* ====================
   ナビゲーションメニュー
==================== */
.main-nav {
    background-color: var(--accent-color);
    transition: all 0.3s;
    height: 54px; /* 固定高さ */
}

.main-nav.sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.nav-menu {
    display: flex;
    gap: 0;
    width: 100%;
    justify-content: space-between;
}

.nav-menu li {
    flex: 1;
}

.nav-menu a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 54px;
    color: white;
    font-weight: 500;
    padding: 0 12px;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    transition: background-color 0.3s;
    white-space: nowrap;
    font-size: 0.95rem;
}

.nav-menu li:last-child a {
    border-right: none;
}

.nav-menu a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    opacity: 1;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: white;
    transition: all 0.3s;
}

/* ====================
   共通要素
==================== */
.section-label {
    display: inline-block;
    background-color: #FFE44D;
    color: #333;
    padding: 8px 20px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
    border-radius: 20px;
}

.section-title-large {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 30px;
    text-align: center;
}

.section-title-medium {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 40px;
    text-align: center;
}

.container-wide {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 1rem;
    text-align: center;
    border: 2px dashed var(--border-color);
    background-color: var(--bg-light);
}

.btn-center {
    text-align: center;
    margin-top: 40px;
}

.btn-more {
    display: inline-block;
    padding: 12px 40px;
    background-color: white;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-more:hover {
    background-color: var(--accent-color);
    color: white;
    transform: translateY(-2px);
}

/* ====================
   会社紹介セクション
==================== */
.intro-section {
    background-color: white;
    text-align: center;
}

.intro-text {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.9;
    color: var(--text-light);
    font-size: 1rem;
}

/* ====================
   会社の特徴（画像+テキスト）
==================== */
.feature-image-section {
    background-color: var(--bg-light);
}

.feature-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.feature-text {
    flex: 1;
}

.feature-heading {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 20px;
    line-height: 1.6;
}

.feature-description {
    color: var(--text-light);
    line-height: 1.9;
    font-size: 1rem;
}

.feature-image {
    flex: 1;
    height: 400px;
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 10px;
}

/* ====================
   3つのポイント
==================== */
.points-section {
    background-color: white;
}

.points-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
}

.point-item {
    text-align: center;
}

.point-image-circle {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.point-image-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.point-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 15px;
}

.point-text {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* ====================
   事業内容（画像+テキスト）
==================== */
.service-detail-section {
    background-color: white;
}

.service-detail-section:nth-of-type(even) {
    background-color: var(--bg-light);
}

.service-detail-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.service-detail-reverse .service-detail-content {
    flex-direction: row-reverse;
}

.service-detail-image {
    flex: 1;
    height: 350px;
}

.service-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 10px;
}

.service-detail-text {
    flex: 1;
}

.service-detail-heading {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 20px;
}

.service-detail-description {
    color: var(--text-light);
    line-height: 1.9;
    font-size: 1rem;
}

/* ====================
   相談セクション
==================== */
.consultation-section {
    background-color: white;
}

.consultation-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-color);
    text-align: center;
    margin-bottom: 20px;
}

.consultation-text {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.consultation-checklist {
    max-width: 600px;
    margin: 0 auto 30px;
}

.consultation-checklist li {
    padding: 12px 20px 12px 40px;
    margin-bottom: 10px;
    background-color: var(--bg-light);
    border-radius: 5px;
    position: relative;
    color: var(--text-color);
}

.consultation-checklist li::before {
    content: "✓";
    position: absolute;
    left: 15px;
    color: var(--accent-color);
    font-weight: 700;
}

.consultation-note {
    text-align: center;
    color: var(--accent-color);
    font-weight: 600;
    font-size: 1.1rem;
}

/* ====================
   お問い合わせセクション
==================== */
.contact-section {
    background: linear-gradient(135deg, #E63946 0%, #C8102E 100%);
    color: white;
}

.contact-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 15px;
    letter-spacing: 0.1em;
}

.contact-subtitle {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 40px;
}

.contact-info {
    max-width: 700px;
    margin: 0 auto;
    background-color: white;
    padding: 50px 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.contact-phone-large {
    text-align: center;
    margin-bottom: 30px;
}

.contact-label-large {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 10px;
}

.phone-number-large {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 10px;
    transition: all 0.3s;
}

.phone-number-large:hover {
    opacity: 0.7;
}

.contact-hours-large {
    font-size: 0.9rem;
    color: var(--text-light);
}

.contact-button-wrap {
    text-align: center;
}

.btn-contact-large {
    display: inline-block;
    padding: 18px 60px;
    background-color: var(--accent-color);
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.btn-contact-large:hover {
    background-color: #C8102E;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* ====================
   レスポンシブ
==================== */
@media (max-width: 1024px) {
    .nav-menu a {
        padding: 0 8px;
        font-size: 0.85rem;
    }

    .feature-content {
        flex-direction: column;
        gap: 40px;
    }

    .feature-image {
        width: 100%;
    }

    .service-detail-content {
        flex-direction: column;
        gap: 40px;
    }

    .service-detail-reverse .service-detail-content {
        flex-direction: column;
    }

    .points-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        height: auto;
        padding: 20px;
        gap: 20px;
    }

    .hero-slider {
        width: 100%;
        height: 400px;
        border-radius: 15px;
    }

    .hero-info {
        width: 100%;
        padding: 40px 30px;
        gap: 30px;
        border-radius: 15px;
    }

    .hero-logo .logo-image {
        width: 200px;
        height: 200px;
    }

    .contact-phone {
        font-size: 1.5rem;
    }

    .main-nav {
        position: relative;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: white;
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 0;
        transition: right 0.3s;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        z-index: 1002;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu a {
        color: var(--text-color);
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        text-align: left;
        padding: 15px 30px;
    }

    .nav-menu a:hover {
        background-color: var(--bg-light);
    }

    .hamburger {
        display: flex;
        z-index: 1003;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .section-title-large {
        font-size: 1.5rem;
    }

    .section-title-medium {
        font-size: 1.4rem;
    }

    .feature-content {
        gap: 30px;
    }

    .feature-image {
        width: 100%;
        height: 300px;
    }

    .point-image-circle {
        width: 150px;
        height: 150px;
    }

    .service-detail-content {
        flex-direction: column;
        gap: 30px;
    }

    .service-detail-reverse .service-detail-content {
        flex-direction: column;
    }

    .contact-info {
        padding: 40px 30px;
    }

    .phone-number-large {
        font-size: 2rem;
    }

    .btn-contact-large {
        padding: 15px 50px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 450px;
        padding: 15px;
        gap: 15px;
    }

    .hero-slider {
        border-radius: 10px;
    }

    .hero-info {
        border-radius: 10px;
        padding: 30px 20px;
    }

    .section-title-large {
        font-size: 1.3rem;
    }

    .section-title-medium {
        font-size: 1.2rem;
    }

    .intro-text {
        font-size: 0.95rem;
    }

    .feature-heading {
        font-size: 1.3rem;
    }

    .point-image-circle {
        width: 120px;
        height: 120px;
    }

    .contact-title {
        font-size: 1.8rem;
    }

    .contact-info {
        padding: 30px 20px;
    }

    .phone-number-large {
        font-size: 1.6rem;
    }
}
