@charset "UTF-8";
.hero-section {
    width: 100%;
    height: auto; 
    background-color: #f0f0f0;
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

/* ============================================================
   Swiper共通・ベース設定（既存の打ち消し）
   ============================================================ */
.swiper-pagination-bullet-active {
    background: #000 !important;
}

.swiper-button-next::before, 
.swiper-button-prev::before {
    content: "";
    position: absolute;
    top: 0; bottom: 0; right: 0; left: 0;
    margin: auto;
    width: 12px;
    height: 12px;
    border-top: 3px solid #000 !important;
    border-right: 3px solid #000 !important;
    color: #000 !important;
    transition: .15s ease-in-out;
}

.swiper-button-next::before { transform: rotate(45deg); }
.swiper-button-prev::before { transform: rotate(-135deg); }

.swiper-button-next::after, .swiper-button-prev::after {
    display: none !important;
}

/* ============================================================
   .top-swiper 専用設定
   ============================================================ */
.top-swiper-outer {
    position: relative;
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 60px;
}

.top-swiper {
    box-sizing: border-box;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 0 50px;
    position: relative;
    overflow: hidden;
}

.top-swiper .swiper-slide {
    display: flex;
    height: auto;
    transform: none; 
    flex-shrink: 0;
}

.top-swiper .swiper-slide-active,
.top-swiper .swiper-slide-duplicate-active {
    transform: none;
}

.top-card-image img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.top-card {
    display: flex;
    flex-direction: column;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    text-decoration: none;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    box-sizing: border-box;
    transition: transform 0.3s;
}

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

.top-card-content {
    padding: 15px;
    text-align: center;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.top-card-title {
    color: #000;
    font-weight: 800;
    font-size: 1.5rem;
    line-height: 1.4;
}

.top-card-sub-title {
    color: #000;
    font-weight: 800;
    font-size: 1.0rem;
    line-height: 1.4;
}

.top-swiper-outer .swiper-button-next,
.top-swiper-outer .swiper-button-prev {
    background: rgba(255, 255, 255, 0.9) !important;
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15) !important;
    top: 50% !important;
    margin-top: -44px !important;
    z-index: 10 !important;
    display: flex !important;
    opacity: 1 !important;
}

.top-swiper-outer .swiper-button-prev { left: 0 !important; }
.top-swiper-outer .swiper-button-next { right: 0 !important; }

.top-swiper-outer .swiper-button-disabled {
    opacity: 0.3 !important;
    cursor: not-allowed !important;
}

.top-down-arrow {
    max-width: 280px; 
    display: block; 
    margin: 0 auto;
}

/* スマホ対応 */
@media (max-width: 768px) {
	.top-swiper-outer { 
		padding: 0 10px;
    }

	.top-swiper {
		padding: 0 0 40px !important;
	}

	.top-swiper > .swiper-wrapper {
		height: auto !important;
		align-items: flex-start !important;
	}

	.top-swiper .swiper-slide {
		height: auto !important;
	}

	.top-card-content {
        padding: 8px 4px !important;
        min-height: 50px !important;
        flex-direction: column;
    }

    .top-card-title {
        font-size: 0.8rem !important;
        line-height: 1.2 !important;
    }

    .top-card-sub-title {
        font-size: 0.85rem !important;
        margin-top: 4px;
    }

    .top-swiper-outer .swiper-button-next,
    .top-swiper-outer .swiper-button-prev { 
        display: none !important; 
    }
    .top-down-arrow {
        max-width: 130px; 
        display: block; 
        margin: 0 auto;
    }
}

.top-swiper .swiper-slide,
.top-swiper .top-card,
.top-swiper .top-card-image,
.top-swiper .top-card-content {
    margin-top: 0 !important;
}

.top-message {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
    line-height: 2.1;
    text-align: center;
}

.tm-title {
    font-size: 3rem;
    font-weight: 800;
    color: #ff19a3;
    margin-bottom: 40px;
    letter-spacing: 0.05em;
}

.tm-content {
    text-align: center;
}