/* ============================================
   ヒーローメインセクション
   - 琵琶湖アイキャッチ画像
   - キャッチコピー
   - サービスGIF 2種（サンプルサイト＋簡単更新）
============================================ */

.hero-main {
    background: #fff;
    padding: 0 0 60px 0;
    position: relative;
}

/* 琵琶湖画像 */
.hero-image-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

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

/* h1オーバーレイ（デフォルト：PC用 - 右上隅） */
.hero-title-overlay {
    position: absolute;
    top: 30px;
    right: calc((100% - 1200px) / 2 + 30px);
    width: auto;
    max-width: 550px;
    text-align: left;
    z-index: 10;
}

.hero-title-overlay h1 {
    font-size: 2rem;
    font-weight: bold;
    color: #fff;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 0, 0, 0.6);
    line-height: 1.5;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.6));
    padding: 25px 35px;
    border-radius: 12px;
    backdrop-filter: blur(3px);
}

.hero-subtitle-small {
    font-size: 1.1rem;
    font-weight: normal;
    display: block;
    margin-top: 10px;
}

/* キャッチコピー */
.hero-catchcopy {
    text-align: center;
    padding: 50px 20px 40px;
}

.catchcopy-main {
    font-size: 1.8rem;
    font-weight: bold;
    line-height: 1.8;
    color: #333;
    margin: 0;
}

/* サービス2列 */
.hero-services {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.service-item {
    text-align: center;
}

.service-gif {
    width: 100%;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.service-gif img {
    width: 100%;
    height: auto;
    display: block;
}

.service-title {
    font-size: 1.4rem;
    font-weight: bold;
    color: #0066cc;
    margin: 0 0 15px 0;
}

.service-description {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
    margin: 0;
}

/* GIF下の詳しい説明 */
.service-description-detailed {
    text-align: left;
    margin-top: 15px;
}

.service-description-detailed p {
    margin: 0 0 12px 0;
    line-height: 1.8;
}

.service-description-detailed p:last-child {
    margin-bottom: 0;
}

/* 3者比較セクション */
.comparison-section {
    margin-bottom: 15px;
}

.comparison-item {
    background: #f8f9fa;
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 10px;
    border-left: 4px solid #ddd;
}

.comparison-item:last-child {
    margin-bottom: 0;
}

.comparison-pentad {
    border-left-color: #ff6900;
    background: #fff5f0;
}

.comparison-general {
    border-left-color: #999;
}

.comparison-cheap {
    border-left-color: #999;
}

.comparison-title {
    font-size: 0.9rem;
    font-weight: bold;
    color: #333;
    margin: 0 0 8px 0;
}

.comparison-pentad .comparison-title {
    color: #ff6900;
}

.comparison-flow {
    font-size: 0.88rem;
    color: #444;
    margin: 0 0 6px 0;
    line-height: 1.7;
}

.comparison-note {
    font-size: 0.85rem;
    color: #666;
    margin: 0;
    font-style: italic;
}

.comparison-note strong {
    color: #ff6900;
    font-weight: bold;
    font-style: normal;
}

.service-benefit {
    font-size: 0.95rem;
    color: #0066cc;
    font-weight: 500;
    margin-top: 15px;
}

.service-item:first-child .service-benefit {
    color: #ff6900;
}

/* サービスヘッダー（h3周辺） */
.service-header {
    text-align: center;
    margin-bottom: 15px;
}

.service-label {
    font-size: 0.85rem;
    color: #0693e3;
    font-weight: 500;
    margin: 0 0 8px 0;
    padding: 6px 12px;
    background: #f0f8ff;
    border-radius: 20px;
    display: inline-block;
}

.service-subtitle {
    font-size: 0.95rem;
    color: #444;
    margin: 8px 0 0 0;
    line-height: 1.6;
}

.service-subtitle strong {
    font-size: 1.15rem;
    color: #0693e3;
    font-weight: bold;
}

/* レスポンシブ：タブレット */
@media (max-width: 1024px) {
    .hero-title-overlay {
        right: 30px;
        max-width: 480px;
    }
    
    .hero-title-overlay h1 {
        font-size: 1.7rem;
        padding: 20px 30px;
    }
    
    .hero-subtitle-small {
        font-size: 1rem;
    }
    
    .hero-services {
        gap: 35px;
        padding: 0 20px;
    }
    
    .catchcopy-main {
        font-size: 1.6rem;
    }
    
    .service-title {
        font-size: 1.3rem;
    }
}

/* レスポンシブ：モバイル */
@media (max-width: 768px) {
    .hero-main {
        padding: 0 0 40px 0;
    }
    
    /* モバイル：h1を写真の外に出す */
    .hero-title-overlay {
        position: static;
        width: 100%;
        max-width: 100%;
        padding: 20px 15px;
        background: #fff;
    }
    
    .hero-title-overlay h1 {
        font-size: 1.5rem;
        padding: 0;
        color: #333;
        background: none;
        text-shadow: none;
        backdrop-filter: none;
        border-radius: 0;
        text-align: center;
        line-height: 1.6;
    }
    
    .hero-subtitle-small {
        font-size: 1rem;
        margin-top: 8px;
        color: #666;
    }
    
    .hero-catchcopy {
        padding: 30px 15px 25px;
    }
    
    .catchcopy-main {
        font-size: 1.3rem;
        line-height: 1.7;
    }
    
    .hero-services {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 15px;
    }
    
    .service-title {
        font-size: 1.2rem;
    }
    
    .service-description {
        font-size: 0.95rem;
    }
    
    .service-description-detailed {
        margin-top: 12px;
    }
    
    .comparison-item {
        padding: 10px 12px;
        margin-bottom: 8px;
    }
    
    .comparison-title {
        font-size: 0.88rem;
        margin-bottom: 6px;
    }
    
    .comparison-flow {
        font-size: 0.85rem;
    }
    
    .comparison-note {
        font-size: 0.82rem;
    }
    
    .service-benefit {
        font-size: 0.92rem;
    }
    
    .service-header {
        margin-bottom: 12px;
    }
    
    .service-label {
        font-size: 0.82rem;
        padding: 5px 10px;
    }
    
    .service-subtitle {
        font-size: 0.92rem;
    }
    
    .service-subtitle strong {
        font-size: 1.1rem;
    }
}

/* レスポンシブ：極小モバイル */
@media (max-width: 480px) {
    .hero-title-overlay {
        padding: 15px 10px;
    }
    
    .hero-title-overlay h1 {
        font-size: 1.2rem;
        line-height: 1.5;
    }
    
    .hero-subtitle-small {
        font-size: 0.9rem;
        margin-top: 5px;
    }
    
    .catchcopy-main {
        font-size: 1.1rem;
        line-height: 1.6;
    }
    
    .hero-catchcopy {
        padding: 25px 10px 20px;
    }
    
    .service-title {
        font-size: 1.1rem;
    }
    
    .service-description {
        font-size: 0.9rem;
    }
    
    .hero-services {
        gap: 25px;
    }
    
    .service-description-detailed {
        margin-top: 10px;
    }
    
    .comparison-item {
        padding: 8px 10px;
        margin-bottom: 8px;
    }
    
    .comparison-title {
        font-size: 0.83rem;
        margin-bottom: 5px;
    }
    
    .comparison-flow {
        font-size: 0.8rem;
        margin-bottom: 4px;
    }
    
    .comparison-note {
        font-size: 0.78rem;
    }
    
    .service-benefit {
        font-size: 0.87rem;
        margin-top: 12px;
    }
    
    .service-header {
        margin-bottom: 10px;
    }
    
    .service-label {
        font-size: 0.78rem;
        padding: 4px 8px;
        margin-bottom: 6px;
    }
    
    .service-subtitle {
        font-size: 0.88rem;
        margin-top: 6px;
    }
    
    .service-subtitle strong {
        font-size: 1.05rem;
    }
}

/* ============================================
   ヒーローCTAボックス
============================================ */

.hero-cta-boxes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 1000px;
    margin: 30px auto 0;
    padding: 0 20px;
}

.hero-cta-box {
    background: #fff;
    border: 2px solid #ddd;
    border-radius: 15px;
    padding: 30px 25px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.hero-cta-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.hero-cta-sample {
    border-color: #ff6900;
}

.hero-cta-update {
    border-color: #0693e3;
}

.cta-box-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.cta-box-title {
    font-size: 1.4rem;
    font-weight: bold;
    color: #333;
    margin: 0 0 15px 0;
}

.hero-cta-sample .cta-box-title {
    color: #ff6900;
}

.hero-cta-update .cta-box-title {
    color: #0693e3;
}

.cta-box-description {
    font-size: 1rem;
    color: #555;
    line-height: 1.8;
    margin: 0 0 20px 0;
}

.price-highlight {
    font-size: 1.3rem;
    font-weight: bold;
    color: #0693e3;
    display: inline-block;
    padding: 2px 8px;
    background: linear-gradient(135deg, #e6f5ff 0%, #fff 100%);
    border-radius: 6px;
    border-bottom: 2px solid #0693e3;
}

.cta-box-button {
    display: inline-block;
    padding: 12px 25px;
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-align: center;
}

.cta-button-primary {
    background: #ff6900;
    color: #fff;
}

.cta-button-primary:hover {
    background: #e55d00;
    color: #fff;
}

.cta-button-secondary {
    background: #0693e3;
    color: #fff;
}

.cta-button-secondary:hover {
    background: #0576ba;
    color: #fff;
}

/* レスポンシブ：タブレット */
@media (max-width: 1024px) {
    .hero-cta-boxes {
        gap: 25px;
        padding: 0 20px;
    }
    
    .hero-cta-box {
        padding: 25px 20px;
    }
    
    .cta-box-title {
        font-size: 1.3rem;
    }
    
    .cta-box-icon {
        font-size: 2.5rem;
    }
    
    .cta-box-description {
        font-size: 0.95rem;
    }
}

/* レスポンシブ：モバイル */
@media (max-width: 768px) {
    .hero-cta-boxes {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
        margin-top: 25px;
    }
    
    .hero-cta-box {
        padding: 25px 20px;
    }
    
    .cta-box-title {
        font-size: 1.25rem;
    }
    
    .cta-box-description {
        font-size: 0.95rem;
    }
    
    .price-highlight {
        font-size: 1.2rem;
        padding: 2px 6px;
    }
    
    .cta-box-button {
        font-size: 0.95rem;
        padding: 10px 20px;
    }
}

/* レスポンシブ：極小モバイル */
@media (max-width: 480px) {
    .hero-cta-boxes {
        gap: 15px;
        padding: 0 10px;
    }
    
    .hero-cta-box {
        padding: 20px 15px;
    }
    
    .cta-box-icon {
        font-size: 2rem;
        margin-bottom: 10px;
    }
    
    .cta-box-title {
        font-size: 1.15rem;
    }
    
    .cta-box-description {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }
    
    .price-highlight {
        font-size: 1.1rem;
        padding: 2px 5px;
    }
    
    .cta-box-button {
        font-size: 0.9rem;
        padding: 10px 18px;
    }
}
