/* Armage Hero Section Frontend Styles */

.armage-hero-full-wrapper {
    margin: 0;
    padding: 0;
    width: 100%;
}

/* ヒーローセクション */
.armage-hero-section {
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.armage-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.armage-hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.armage-hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.6rem);
    margin-bottom: 1.5rem;
    opacity: 0.95;
    line-height: 1.5;
    font-weight: 400;
}

.armage-hero-buttons {
    margin-top: 1.5rem;
}

/* ボタンがない場合の余白調整 */
.armage-hero-content .armage-hero-subtitle:last-child {
    margin-bottom: 0;
}

.armage-hero-content .armage-hero-title:last-child {
    margin-bottom: 0;
}

.armage-hero-btn {
    display: inline-block;
    padding: 20px 40px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    cursor: pointer;
    max-width: 300px;
    width: auto;
}

.armage-hero-btn-primary {
    background: #008EC2;
    color: white;
    box-shadow: 0 8px 32px rgba(0, 142, 194, 0.3);
}

.armage-hero-btn-primary:hover {
    background: #006EA0;
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 142, 194, 0.4);
    color: white;
}

/* タイトルサイズバリエーション */
.armage-hero-title-xs {
    font-size: clamp(1.4rem, 3vw, 2.2rem) !important;
}

.armage-hero-title-small {
    font-size: clamp(1.8rem, 4vw, 3rem) !important;
}

.armage-hero-title-medium {
    font-size: clamp(2.2rem, 5vw, 3.8rem) !important;
}

.armage-hero-title-large {
    font-size: clamp(2.5rem, 6vw, 4.5rem) !important;
}

.armage-hero-title-xlarge {
    font-size: clamp(3rem, 7vw, 5.5rem) !important;
}

.armage-hero-title-xxlarge {
    font-size: clamp(3.5rem, 8vw, 6.5rem) !important;
}

/* ボタンサイズバリエーション */
.armage-hero-btn-small {
    padding: 8px 16px !important;
    font-size: clamp(0.9rem, 1.8vw, 1rem) !important;
    max-width: 220px !important;
}

.armage-hero-btn-medium {
    padding: 14px 28px !important;
    font-size: clamp(1rem, 2vw, 1.2rem) !important;
    max-width: 280px !important;
}

.armage-hero-btn-large {
    padding: 16px 32px !important;
    font-size: clamp(1.1rem, 2.5vw, 1.3rem) !important;
    max-width: 350px !important;
}

/* 背景スタイル - テーマカラーパレット対応 */
.armage-hero-bg-gradient {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%) !important;
}

.armage-hero-bg-primary {
    background: #0EA5E9 !important;
}

.armage-hero-bg-accent {
    background: #F59E0B !important;
}

.armage-hero-bg-sky-blue {
    background: #0284C7 !important;
}

.armage-hero-bg-indigo {
    background: #4338CA !important;
}

.armage-hero-bg-cyan {
    background: #0891B2 !important;
}

.armage-hero-bg-emerald {
    background: #059669 !important;
}

.armage-hero-bg-teal {
    background: #0D9488 !important;
}

.armage-hero-bg-lime {
    background: #65A30D !important;
}

.armage-hero-bg-rose {
    background: #E11D48 !important;
}

.armage-hero-bg-pink {
    background: #DB2777 !important;
}

.armage-hero-bg-fuchsia {
    background: #C026D3 !important;
}

.armage-hero-bg-violet {
    background: #7C3AED !important;
}

.armage-hero-bg-purple {
    background: #9333EA !important;
}

.armage-hero-bg-orange {
    background: #EA580C !important;
}

.armage-hero-bg-yellow {
    background: #EAB308 !important;
}

.armage-hero-bg-dark {
    background: #1F2937 !important;
}

.armage-hero-bg-gray {
    background: #6B7280 !important;
}

.armage-hero-bg-slate {
    background: #475569 !important;
}

.armage-hero-bg-light {
    background: #F8FAFC !important;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.1);
}

.armage-hero-bg-white {
    background: #FFFFFF !important;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.1);
}

/* テキストカラー */
.armage-hero-text-white {
    color: white;
}

.armage-hero-text-dark {
    color: #333333;
}

.armage-hero-text-blue {
    color: #008EC2;
}

/* コンテンツセクション */
.armage-content-section {
    padding: 80px 20px;
}

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

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

.armage-content-image-right .armage-content-wrapper {
    grid-template-columns: 1fr 1fr;
}

.armage-content-image-right .armage-content-image {
    order: 2;
}

.armage-content-image-right .armage-content-text {
    order: 1;
}

.armage-content-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.armage-content-image img:hover {
    transform: scale(1.02);
}

.armage-content-image-placeholder {
    width: 100%;
    height: 400px;
    background: #e9ecef;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 1.1rem;
    border: 2px dashed #ccc;
}

.armage-content-text h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: #333;
    margin-bottom: 0.5rem;
    font-weight: 400;
}

.armage-content-subtitle {
    font-size: 1.2rem;
    color: #008EC2;
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: inline-block;
    padding: 8px 16px;
    background: rgba(0, 142, 194, 0.1);
    border-radius: 25px;
}

.armage-content-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin: 0;
}

/* 背景色バリエーション */
.armage-content-bg-light {
    background: #f8f9fa;
}

.armage-content-bg-white {
    background: #ffffff;
}

.armage-content-bg-gray {
    background: #e9ecef;
}

.armage-content-bg-dark {
    background: #333333;
    color: white;
}

.armage-content-bg-dark .armage-content-text h2,
.armage-content-bg-dark .armage-content-description {
    color: white;
}

/* テキスト配置 */
.armage-content-align-left .armage-content-text {
    text-align: left;
}

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

.armage-content-align-right .armage-content-text {
    text-align: right;
}

/* 画像非表示時のレイアウト */
.armage-content-no-image .armage-content-text-only {
    max-width: 800px;
    margin: 0 auto;
}

.armage-content-align-left.armage-content-no-image .armage-content-text-only {
    text-align: left;
}

.armage-content-align-center.armage-content-no-image .armage-content-text-only {
    text-align: center;
}

.armage-content-align-right.armage-content-no-image .armage-content-text-only {
    text-align: right;
}

/* アイコンセクション */
.armage-icon-section {
    padding: 80px 20px;
}

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

.armage-icon-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    text-align: center;
    margin-bottom: 50px;
    color: #333;
    font-weight: 400;
}

.armage-icon-grid {
    display: grid;
    grid-template-columns: repeat(var(--columns-desktop, 3), 1fr);
    gap: 40px;
    justify-items: center;
}

.armage-icon-item {
    text-align: center;
    transition: transform 0.3s ease;
}

.armage-icon-item:hover {
    transform: translateY(-5px);
}

.armage-icon-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.armage-icon-link:hover {
    text-decoration: none;
    color: inherit;
}

.armage-icon-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 4px solid #008EC2;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.armage-icon-image::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    background: linear-gradient(45deg, #008EC2, #F8A703);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.armage-icon-item:hover .armage-icon-image::before {
    opacity: 1;
}

.armage-icon-item:hover .armage-icon-image {
    border-color: transparent;
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 142, 194, 0.3);
}

.armage-icon-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.armage-icon-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.armage-icon-placeholder-text {
    font-size: 2.5rem;
    font-weight: 700;
    color: #008EC2;
    text-transform: uppercase;
}

.armage-icon-caption {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin: 0;
    transition: color 0.3s ease;
}

.armage-icon-item:hover .armage-icon-caption {
    color: #008EC2;
}

/* 背景色バリエーション */
.armage-icon-bg-white {
    background: #ffffff;
}

.armage-icon-bg-light {
    background: #f8f9fa;
}

.armage-icon-bg-gray {
    background: #e9ecef;
}

.armage-icon-bg-dark {
    background: #333333;
}

.armage-icon-bg-dark .armage-icon-title,
.armage-icon-bg-dark .armage-icon-caption {
    color: white;
}

.armage-icon-bg-dark .armage-icon-item:hover .armage-icon-caption {
    color: #F8A703;
}

/* アニメーション */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.armage-hero-title,
.armage-hero-subtitle,
.armage-hero-buttons {
    animation: fadeInUp 0.8s ease-out forwards;
}

.armage-hero-subtitle {
    animation-delay: 0.2s;
}

.armage-hero-buttons {
    animation-delay: 0.4s;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .armage-hero-section {
        padding: 50px 20px;
    }
    
    .armage-content-section {
        padding: 60px 20px;
    }
    
    .armage-content-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .armage-content-image {
        order: -1 !important;
    }
    
    .armage-content-text {
        order: 1 !important;
        text-align: center !important;
    }
    
    .armage-hero-btn {
        padding: 14px 28px;
        font-size: 1rem;
    }
    
    .armage-icon-section {
        padding: 60px 20px;
    }
    
    .armage-icon-grid {
        grid-template-columns: repeat(var(--columns-mobile, 1), 1fr);
        gap: 30px;
    }
    
    .armage-icon-image {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 480px) {
    .armage-hero-section {
        padding: 40px 15px;
    }
    
    .armage-content-section {
        padding: 40px 15px;
    }
    
    .armage-content-wrapper {
        gap: 30px;
    }
    
    .armage-content-image img,
    .armage-content-image-placeholder {
        height: 250px;
    }
    
    .armage-hero-btn {
        width: auto;
        max-width: 280px;
        padding: 12px 24px;
    }
    
    .armage-icon-section {
        padding: 40px 15px;
    }
    
    .armage-icon-grid {
        gap: 25px;
    }
    
    .armage-icon-image {
        width: 90px;
        height: 90px;
    }
    
    .armage-icon-caption {
        font-size: 1rem;
    }
}