/* ==================================
   RAMEXperts™️ - 追加スタイル
   ================================== */

/* ==========================================
   キャッチコピー - ビカッと一発光る
   ========================================== */

.hero-catchcopy {
    position: relative;
    overflow: hidden;
}

.hero-catchcopy::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.8) 50%,
        transparent 100%
    );
    animation: flash-sweep 4s ease-out infinite;
}

@keyframes flash-sweep {
    0% {
        left: -100%;
    }
    100% {
        left: 150%;
    }
}

.hero-catchcopy::after {
    animation: flash-sweep 0.6s ease-out forwards;
    animation-delay: 1s;
}

/* ==========================================
   情シス応援バッジ - 控えめな吹き出し風
   ========================================== */

/* ==========================================
   手書きマーカー風 丸囲み
   ========================================== */

.marker-highlight {
    position: absolute;
    top: 75px;
    right: -8%;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 26px 14px 18px;
    transform: rotate(-3deg);
    z-index: 10;
}

/* 手書き風の丸囲み */
.marker-highlight::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -10px;
    right: -10px;
    bottom: -5px;
    border: 4px solid #e63946;
    border-radius: 60% 40% 50% 45% / 50% 55% 45% 50%;
    transform: rotate(2deg);
    opacity: 0.85;
}

/* 二重線で手書き感を強調 */
.marker-highlight::after {
    content: '';
    position: absolute;
    top: -8px;
    left: -14px;
    right: -6px;
    bottom: -8px;
    border: 3px solid #e63946;
    border-radius: 45% 55% 60% 40% / 55% 45% 50% 50%;
    transform: rotate(-1deg);
    opacity: 0.5;
}

.marker-check {
    font-family: 'Yomogi', cursive;
    font-size: 1.9rem;
    color: #e63946;
    font-weight: 700;
    position: relative;
    z-index: 1;
    text-shadow: 1px 1px 0 rgba(255,255,255,0.5);
}

.marker-text {
    font-family: 'Yomogi', cursive;
    font-size: 1.25rem;
    color: #fff;
    font-weight: 400;
    position: relative;
    z-index: 1;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

@media (max-width: 1024px) {
    .marker-highlight {
        top: 70px;
        right: -2%;
        padding: 12px 24px 12px 18px;
    }
    
    .marker-check {
        font-size: 1.8rem;
    }
    
    .marker-text {
        font-size: 1.25rem;
    }
}

@media (max-width: 768px) {
    .marker-highlight {
        position: relative;
        top: auto;
        right: auto;
        transform: rotate(-2deg);
        margin: 0 auto 20px;
        justify-content: center;
    }
    
    .marker-check {
        font-size: 1.6rem;
    }
    
    .marker-text {
        font-size: 1.1rem;
    }
}

/* ==========================================
   キーワード強調 - シアン色
   ========================================== */

.text-cyan {
    color: #39CCCC;
    font-size: 1.25em;
    font-weight: 600;
}

.text-large {
    font-size: 1.45em;
}

/* CTAボタン下の注釈 */
.cta-note {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 14px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
}

.cta-note span {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* 「メモリ、」ほんの少し小さく + 字間広げ */
.text-server-memory {
    font-size: 0.95em;
    letter-spacing: 0.35em;
}



/* 「あります。」字間を広げて上品に強調 + ボフンアニメーション */
.text-arimasu {
    letter-spacing: 0.25em;
    display: inline-block;
    animation: bofun 0.5s ease-out 1.5s both;
}

@keyframes bofun {
    0% {
        transform: scale(0.7);
        opacity: 0;
    }
    50% {
        transform: scale(1.15);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* ==========================================
   吊り広告風タイトル - 印刷物のような上品さ
   ========================================== */

.hero-title-editorial {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.4;
    letter-spacing: 0.04em;
    margin-bottom: 28px;
    color: #fff;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-title-editorial .text-emphasis {
    font-size: 5rem;
}

.hero-title-editorial .highlight {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 900;
    font-size: 4.5rem;
    letter-spacing: 0.02em;
    color: #fff;
    margin-top: 14px;
}

@media (max-width: 1024px) {
    .hero-title-editorial {
        font-size: 3.2rem;
    }
    
    .hero-title-editorial .text-emphasis {
        font-size: 4rem;
    }
    
    .hero-title-editorial .highlight {
        font-size: 3.6rem;
    }
}

@media (max-width: 768px) {
    .hero-title-editorial {
        font-size: 2.2rem;
        letter-spacing: 0.02em;
        line-height: 1.5;
    }
    
    .hero-title-editorial .text-emphasis {
        font-size: 2.8rem;
    }
    
    .hero-title-editorial .highlight {
        font-size: 2.5rem;
        margin-top: 10px;
    }
}

@media (max-width: 480px) {
    .hero-title-editorial {
        font-size: 1.8rem;
    }
    
    .hero-title-editorial .text-emphasis {
        font-size: 2.3rem;
    }
    
    .hero-title-editorial .highlight {
        font-size: 2rem;
    }
}

/* ==========================================
   📞 電話バナー - シンプル版
   ========================================== */

.hero-phone-banner {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    background: rgba(255, 255, 255, 0.95);
    padding: 12px 28px;
    border-radius: 50px;
    margin-bottom: 28px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.hero-phone-banner .phone-label {
    font-size: 0.85rem;
    color: #333;
    font-weight: 600;
}

.hero-phone-banner .phone-number {
    font-size: 1.4rem;
    font-weight: 900;
    color: #0074D9;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

.hero-phone-banner .phone-number:hover {
    color: #001f3f;
}

.hero-phone-banner .phone-number i {
    font-size: 1.1rem;
}

.hero-phone-banner .phone-hours {
    font-size: 0.8rem;
    color: #39CCCC;
    font-weight: 600;
}

@media (max-width: 768px) {
    .hero-phone-banner {
        flex-direction: column;
        gap: 8px;
        padding: 16px 24px;
        border-radius: 16px;
    }
    
    .hero-phone-banner .phone-number {
        font-size: 1.3rem;
    }
}

/* ==========================================
   製品グリッド - 3カラム固定
   ========================================== */

.products-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

@media (max-width: 1024px) {
    .products-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .products-grid-3 {
        grid-template-columns: 1fr;
    }
}
