/* ========================================
   トップページ専用スタイル
   ======================================== */

/* トップページのメインコンテンツ余白をリセット */
.home .site-content {
    padding: 0;
    margin: 0;
}

/* ========================================
   ヒーローセクション - スライダー
   ======================================== */
.hero-section {
    position: relative;
    height: calc(100vh - 92px);
    min-height: 500px;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.hero-slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 500px;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    position: relative;
}

/* レスポンシブ画像対応 */
.hero-slide-picture {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-container {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: var(--spacing-3xl) 0;
    animation: fadeInUp 0.8s ease-out;
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--color-text-white);
    margin-bottom: var(--spacing-md);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
    font-family: var(--font-family-base);
}

.hero-subtitle {
    font-size: var(--font-size-lg);
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: var(--spacing-xl);
    line-height: 1.8;
    max-width: 800px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-actions .btn-lg {
    background: linear-gradient(135deg, var(--color-primary-green) 0%, var(--color-primary-green-light) 100%);
    border-radius: 50px;
    padding: 1rem 3.5rem 1rem 2.5rem;
    font-size: var(--font-size-lg);
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(46, 133, 64, 0.25);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.hero-actions .btn-lg span {
    position: relative;
    z-index: 1;
}

.hero-actions .btn-lg svg {
    position: absolute;
    right: 1rem;
    z-index: 1;
}

.hero-actions .btn-lg:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(46, 133, 64, 0.35);
}

/* スライダーコントロール */
.hero-slider-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    z-index: 10;
    pointer-events: none;
}

.slider-arrow {
    position: absolute;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.3);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-white);
    transition: all 0.3s ease;
    pointer-events: auto;
    backdrop-filter: blur(5px);
}

.slider-arrow:hover {
    background-color: var(--color-primary-green);
    transform: scale(1.1);
}

.slider-prev {
    left: 2rem;
}

.slider-next {
    right: 2rem;
}

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

.slider-dot {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.slider-dot:hover,
.slider-dot.active {
    background-color: var(--color-primary-green);
    border-color: var(--color-primary-green);
    transform: scale(1.3);
}

/* ========================================
   セクションタイトル - シルバーグラデーション
   ======================================== */
.products-section .section-title h2,
.reason-section .section-title h2,
.news-section .section-title h2 {
    font-size: 4rem;
    background: linear-gradient(135deg, #888888 0%, #c0c0c0 25%, #5a5a5a 50%, #b0b0b0 75%, #787878 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    font-weight: 800;
    letter-spacing: 0.15em;
}

/* タイトルとサブタイトルの余白を調整 */
.section-title h2 {
    margin-bottom: 0.5rem;
}

.section-title .subtitle {
    margin-top: 0;
}

/* ========================================
   製品セクション
   ======================================== */
.products-section {
    background-color: var(--color-bg-white);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: var(--spacing-xl);
}

.product-card {
    background-color: var(--color-bg-white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: all var(--transition-speed);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--box-shadow-lg);
}

.product-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background-color: var(--color-light-gray);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-speed);
}

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

.product-content {
    padding: var(--spacing-lg);
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--spacing-md);
    color: var(--color-primary-green);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-title {
    font-size: var(--font-size-xl);
    color: var(--color-text-primary);
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
}

.product-description {
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-md);
    line-height: 1.7;
    flex-grow: 1;
}

.product-content .btn {
    margin-top: auto;
}

/* 詳しく見るボタン専用スタイル */
.product-content .btn-outline {
    background-color: var(--color-bg-white);
    border: 2px solid var(--color-primary-green);
    color: var(--color-primary-green);
    border-radius: 50px;
    padding: 0.85rem 3.5rem 0.85rem 2rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    min-width: 200px;
}

.product-content .btn-outline::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-primary-green) 0%, var(--color-primary-green-light) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.product-content .btn-outline:hover {
    color: var(--color-text-white);
    border-color: var(--color-primary-green);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(46, 133, 64, 0.25);
}

.product-content .btn-outline:hover::after {
    opacity: 1;
}

.product-content .btn-outline span {
    position: relative;
    z-index: 1;
}

.product-content .btn-outline svg {
    position: absolute;
    right: 1rem;
    z-index: 1;
}

/* ========================================
   選ばれる理由セクション
   ======================================== */
.reason-section {
    background-color: var(--color-bg-light);
}

.reason-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: var(--spacing-xl);
}

.reason-card {
    background-color: var(--color-bg-white);
    padding: 0;
    border-radius: var(--border-radius-lg);
    text-align: center;
    transition: all var(--transition-speed);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.reason-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
}

.reason-image {
    width: 100%;
    margin-bottom: var(--spacing-md);
}

.reason-image picture {
    display: block;
    width: 100%;
}

.reason-image img {
    width: 100%;
    height: auto;
    display: block;
}

.reason-title-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: var(--spacing-sm);
    padding: 0 var(--spacing-lg);
}

.reason-title {
    font-size: var(--font-size-lg);
    color: var(--color-text-primary);
    margin: 0;
    font-weight: 700;
}

.reason-title-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.reason-title-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.reason-description {
    color: var(--color-text-secondary);
    line-height: 1.7;
    font-size: var(--font-size-sm);
    padding: 0 var(--spacing-lg) var(--spacing-lg);
    text-align: left;
}

/* 強みボタン専用スタイル */
.reason-section .reason-btn {
    background-color: var(--color-bg-white);
    border: 2px solid var(--color-primary-green);
    color: var(--color-primary-green);
    border-radius: 50px;
    padding: 0.85rem 3.5rem 0.85rem 2rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    min-width: 200px;
}

.reason-section .reason-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-primary-green) 0%, var(--color-primary-green-light) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.reason-section .reason-btn:hover {
    color: var(--color-text-white);
    border-color: var(--color-primary-green);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(46, 133, 64, 0.25);
}

.reason-section .reason-btn:hover::after {
    opacity: 1;
}

.reason-section .reason-btn span {
    position: relative;
    z-index: 1;
}

.reason-section .reason-btn svg {
    position: absolute;
    right: 1rem;
    z-index: 1;
}

/* ========================================
   お知らせセクション
   ======================================== */
.news-section {
    background-color: var(--color-bg-white);
}

.news-list {
    max-width: 900px;
    margin: var(--spacing-xl) auto 0;
}

/* お知らせ一覧を見るボタン */
.news-section .btn-outline {
    background-color: var(--color-bg-white);
    border: 2px solid var(--color-primary-green);
    color: var(--color-primary-green);
    border-radius: 50px;
    padding: 0.85rem 3.5rem 0.85rem 2rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    min-width: 200px;
}

.news-section .btn-outline::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-primary-green) 0%, var(--color-primary-green-light) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.news-section .btn-outline:hover {
    color: var(--color-text-white);
    border-color: var(--color-primary-green);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(46, 133, 64, 0.25);
}

.news-section .btn-outline:hover::after {
    opacity: 1;
}

.news-section .btn-outline span {
    position: relative;
    z-index: 1;
}

.news-section .btn-outline svg {
    position: absolute;
    right: 1rem;
    z-index: 1;
}

.news-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: var(--spacing-md) 0;
    border-bottom: 1px solid var(--color-border-light);
    transition: background-color var(--transition-speed);
}

.news-item:hover {
    background-color: var(--color-light-gray);
    padding-left: var(--spacing-sm);
    padding-right: var(--spacing-sm);
}

.news-date {
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
    font-weight: 600;
    white-space: nowrap;
}

.news-category {
    display: inline-block;
    font-size: 0.8rem;
    padding: 4px 14px;
    border-radius: 20px;
    font-weight: 600;
    white-space: nowrap;
    letter-spacing: 0.05em;
}

/* タグカラー */
.news-category.tag-製品情報,
.news-category.tag-product-info,
.news-category.tag-product-updates {
    background: #4a9eda;
    color: #ffffff;
}

.news-category.tag-メディア,
.news-category.tag-media {
    background: #d47e9e;
    color: #ffffff;
}

.news-category.tag-お知らせ,
.news-category.tag-news {
    background: #e67e50;
    color: #ffffff;
}

/* 旧カテゴリークラス（互換性のため残す） */
.news-category.seihin-joho,
.news-category.product-info,
.news-category.製品情報 {
    background-color: #4a9eda;
    color: #ffffff;
}

.news-category.media,
.news-category.メディア {
    background-color: #d47e9e;
    color: #ffffff;
}

.news-category.oshirase,
.news-category.news,
.news-category.お知らせ {
    background-color: #e67e50;
    color: #ffffff;
}

.news-title {
    flex-grow: 1;
    font-size: var(--font-size-base);
    font-weight: 500;
    margin: 0;
}

.news-title a {
    color: var(--color-text-primary);
    text-decoration: none;
}

.news-title a:hover {
    color: var(--color-primary-green);
}

/* ========================================
   お問い合わせセクション
   ======================================== */
.contact-section {
    position: relative;
    overflow: hidden;
    padding: 0 !important;
    background-color: transparent !important;
}

.contact-background {
    position: relative;
    background-image: url('../images/background05.avif');
    background-size: cover;
    background-position: center;
    padding: var(--spacing-3xl) 0;
}

.contact-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.contact-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

/* お問い合わせセクションのタイトルスタイル */
.contact-section .section-title h2 {
    font-size: 4rem;
    color: var(--color-text-white);
    font-weight: 800;
    font-family: var(--font-family-en);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 0.5rem;
}

.contact-section .section-title .subtitle {
    font-size: var(--font-size-lg);
    color: var(--color-text-white);
    margin-top: 0;
}

.contact-text {
    margin-bottom: var(--spacing-xl);
    margin-top: var(--spacing-md);
}

.contact-subtitle {
    font-size: var(--font-size-lg);
    color: var(--color-text-white);
    line-height: 1.8;
}

.contact-actions {
    max-width: 800px;
    margin: 0 auto;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: var(--spacing-xl);
}

.contact-method {
    background-color: rgba(255, 255, 255, 0.8);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-lg);
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-icon {
    margin: 0 auto var(--spacing-md);
    display: block;
}

.contact-method h3 {
    font-size: var(--font-size-base);
    color: var(--color-text-primary);
    margin-bottom: var(--spacing-md);
    font-weight: 400;
    text-align: center;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-method .btn-primary {
    background: linear-gradient(135deg, var(--color-primary-green) 0%, var(--color-primary-green-light) 100%);
    border-radius: 50px;
    padding: 0.625rem 3rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(46, 133, 64, 0.25);
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    min-width: 280px;
}

.contact-phone-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
}

.contact-method .btn-primary span {
    position: relative;
    z-index: 1;
}

.contact-method .btn-primary svg {
    position: absolute;
    right: 0.75rem;
    z-index: 1;
}

.contact-method .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(46, 133, 64, 0.35);
}

.contact-phone-large {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    margin: 0 0 var(--spacing-xs) 0;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 0.625rem 0;
}

.contact-phone-large a {
    color: var(--color-primary-green);
    text-decoration: none;
}

.contact-phone-large a:hover {
    color: var(--color-primary-green-light);
}

.contact-hours {
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
    text-align: center;
    margin-top: var(--spacing-sm);
}

/* ========================================
   ヒーローセクション - PC画面での左寄せ
   ======================================== */
@media (min-width: 993px) {
    .hero-content {
        text-align: left;
        max-width: none;
        width: 100%;
    }
    
    .hero-content .container {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        max-width: 100%;
        padding-left: 8rem;
        padding-right: 2rem;
    }
    
    .hero-title {
        text-align: left;
        margin-left: 0;
        margin-right: auto;
        max-width: 700px;
    }
    
    .hero-subtitle {
        text-align: left;
        margin-left: 0;
        margin-right: auto;
        max-width: 600px;
    }
    
    .hero-actions {
        justify-content: flex-start;
        margin-left: 0;
    }
}

/* ========================================
   レスポンシブ: ノートPC
   ======================================== */
@media (max-width: 1200px) {
    .hero-section {
        height: calc(100vh - 92px);
        min-height: 500px;
    }
    
    .hero-slider-wrapper {
        height: 100%;
        min-height: 500px;
    }
    
    .hero-slide {
        height: 100%;
        min-height: 500px;
    }
    
    .hero-container {
        height: 100%;
        min-height: 500px;
    }
}

/* ========================================
   レスポンシブ: タブレット
   ======================================== */
@media (max-width: 992px) {
    .hero-section {
        height: calc(100vh - 92px);
        min-height: 500px;
    }
    
    .hero-slider-wrapper {
        height: 100%;
        min-height: 500px;
    }
    
    .hero-slide {
        height: 100%;
        min-height: 500px;
    }
    
    .hero-container {
        height: 100%;
        min-height: 500px;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .slider-arrow {
        width: 35px;
        height: 35px;
    }
    
    .slider-prev {
        left: 1rem;
    }
    
    .slider-next {
        right: 1rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .reason-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-methods {
        grid-template-columns: 1fr;
    }
    
    /* セクションタイトル - タブレット */
    .products-section .section-title h2,
    .reason-section .section-title h2,
    .news-section .section-title h2,
    .contact-section .section-title h2 {
        font-size: 3rem;
    }
}

/* ========================================
   レスポンシブ: スマートフォン
   ======================================== */
@media (max-width: 768px) {
    .hero-section {
        height: calc(100vh - 70px);
        min-height: 500px;
    }
    
    .hero-slider-wrapper {
        height: 100%;
        min-height: 500px;
    }
    
    .hero-slide {
        height: 100%;
        min-height: 500px;
    }
    
    .hero-container {
        height: 100%;
        min-height: 500px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: var(--font-size-base);
    }
    
    /* スマホ版では矢印を非表示 */
    .slider-arrow {
        display: none;
    }
    
    .hero-slider-dots {
        bottom: 2.5rem;
    }
    
    .slider-dot {
        width: 10px;
        height: 10px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .reason-grid {
        grid-template-columns: 1fr;
    }
    
    .news-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .contact-phone-large {
        font-size: var(--font-size-3xl);
    }
    
    .contact-methods {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .contact-method {
        padding: var(--spacing-lg);
    }
    
    /* セクションタイトル - スマートフォン */
    .products-section .section-title h2,
    .reason-section .section-title h2,
    .news-section .section-title h2,
    .contact-section .section-title h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        height: calc(100vh - 65px);
        min-height: 500px;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .btn-lg {
        padding: 0.85rem 1.75rem;
        font-size: var(--font-size-base);
    }
    
    .product-card {
        margin-bottom: var(--spacing-md);
    }
    
    .contact-phone-large {
        font-size: var(--font-size-2xl);
    }
    
    .contact-method {
        padding: var(--spacing-md);
    }
    
    .contact-method .btn-primary {
        min-width: auto;
        width: 100%;
        max-width: 280px;
    }
    
    /* セクションタイトル - 小型スマートフォン */
    .products-section .section-title h2,
    .reason-section .section-title h2,
    .news-section .section-title h2,
    .contact-section .section-title h2 {
        font-size: 2rem;
    }
}







