/*
Theme Name: あなたのテーマ名
Theme URI: https://あなたのサイト.com
Author: あなたの名前
Author URI: https://あなたのサイト.com
Description: あなたのテーマの説明
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: your-theme-textdomain
*/

/* ===============================
   カラーパレット + デフォルト設定
   =============================== */

/* カラーパレット */
:root {
    /* メインカラー - 青系統 */
    --primary-dark: #1e64a3;   /* 深い青、タイトルや重要な要素に */
    --primary-main: #3498db;   /* メインの青、アクセントやボタンに */
    --primary-light: #59b7ff;  /* 明るい青、背景やホバー状態に */
    --primary-lighter: #e6f3ff; /* 最も明るい青、背景やカードに */
    
    /* アクセントカラー */
    --accent-orange: #ff7e2a;   /* オレンジ、注目させたい要素やCTAに */
    --accent-green: #2ecc71;    /* グリーン、成功や肯定的な要素に */
    --accent-purple: #9c59b6;   /* パープル、特別な機能や高級感に */
    
    /* モノクロカラー */
    --text-dark: #333333;       /* 主要テキスト */
    --text-medium: #666666;     /* 説明文など */
    --text-light: #999999;      /* 補助的なテキスト */
    --border-color: #e0e6ed;    /* 境界線 */
    --bg-light: #f7f9fc;        /* 薄い背景色 */
    --bg-white: #ffffff;        /* 白背景 */
    
    /* グラデーション */
    --gradient-blue: linear-gradient(135deg, #1e64a3 0%, #3498db 100%);
    --gradient-primary: linear-gradient(90deg, #3498db 0%, #59b7ff 100%);
    --gradient-sunset: linear-gradient(90deg, #ff7e2a 0%, #ffb347 100%);
    --gradient-forest: linear-gradient(90deg, #2ecc71 0%, #55e592 100%);
    
    /* 影効果 */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 5px 15px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-primary: 0 8px 25px rgba(52, 152, 219, 0.25);
    --shadow-accent: 0 8px 25px rgba(255, 126, 42, 0.25);
}

/* ブラウザ余白のリセット - 基本設定のみ */
html, body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow-x: hidden !important;
    width: 100% !important;
}

/* ===============================
   フロントページ専用: レイアウトリセット
   =============================== */

/* フロントページ専用: mainタグのマージン/パディングを0に */
body.home main#main-content,
body.home main,
body.front-page main#main-content,
body.front-page main {
    margin: 0 !important;
    padding: 0 !important;
}

/* フロントページ専用: WordPressラッパー要素のマージン/パディングを0に */
body.home #body_wrap,
body.home #content,
body.home #main_content,
body.home .l-mainContent,
body.home .l-content,
body.home .l-container,
body.home .l-mainContent__inner,
body.home .post_content,
body.home article,
body.front-page #body_wrap,
body.front-page #content,
body.front-page #main_content,
body.front-page .l-mainContent,
body.front-page .l-content,
body.front-page .l-container,
body.front-page .l-mainContent__inner,
body.front-page .post_content,
body.front-page article {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* フロントページ専用: ヒーローセクションがヘッダーの直下に来るように */
body.home .hero,
body.home section.hero,
body.front-page .hero,
body.front-page section.hero {
    margin-top: 0 !important;
    padding-top: 0 !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* フロントページ専用: WordPressラッパー内のヒーローセクションもマージン0 */
body.home #body_wrap .hero,
body.home .l-content .hero,
body.home .l-container .hero,
body.home .l-mainContent .hero,
body.home #content .hero,
body.home #main_content .hero,
body.home article .hero,
body.home main .hero,
body.front-page #body_wrap .hero,
body.front-page .l-content .hero,
body.front-page .l-container .hero,
body.front-page .l-mainContent .hero,
body.front-page #content .hero,
body.front-page #main_content .hero,
body.front-page article .hero,
body.front-page main .hero {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* ============================================
   以下のスタイルはフロントページ専用
   body.home または body.front-page クラスでスコープ
   ============================================ */

/* フロントページ専用: WordPressテーマの制限を解除 */
body.home #body_wrap,
body.home #content,
body.home #main_content,
body.home .l-mainContent,
body.home .l-content,
body.home .l-container,
body.home .l-mainContent__inner,
body.home .post_content,
body.home article,
body.home main,
body.front-page #body_wrap,
body.front-page #content,
body.front-page #main_content,
body.front-page .l-mainContent,
body.front-page .l-content,
body.front-page .l-container,
body.front-page .l-mainContent__inner,
body.front-page .post_content,
body.front-page article,
body.front-page main {
    overflow-x: visible !important;
    overflow: visible !important;
}

/* フロントページ専用: ブログセクションの親要素 */
body.home .blog-section,
body.front-page .blog-section {
    overflow-x: visible !important;
    overflow: visible !important;
}

/* フロントページ専用: WordPressブロックエディタの幅制限を解除 */
body.home .wp-block-group,
body.home .wp-block-group__inner-container,
body.home .is-layout-constrained,
body.front-page .wp-block-group,
body.front-page .wp-block-group__inner-container,
body.front-page .is-layout-constrained {
    max-width: none !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* ===============================
   全体レイアウトのベース
   （フロントページ専用のセクションスタイル）
   =============================== */

/* フロントページ専用: セクションの基本スタイル */
body.home section.media-section,
body.home section.services-overview,
body.home section.other-services-section,
body.home section.features-section,
body.home section.promise-section,
body.home section.about-digikita-section,
body.home section.company-info-section,
body.home section.contact-section,
body.home section.visit-section,
body.front-page section.media-section,
body.front-page section.services-overview,
body.front-page section.other-services-section,
body.front-page section.features-section,
body.front-page section.promise-section,
body.front-page section.about-digikita-section,
body.front-page section.company-info-section,
body.front-page section.contact-section,
body.front-page section.visit-section {
    width: 100%;
    margin: 0;
    padding: 60px 0;
    box-sizing: border-box;
    display: block !important;
    text-align: left !important;
    max-width: none !important;
    width: 100vw !important;
}

/* 汎用コンテナ - 全ページ共通 */
.container {
    max-width: 1200px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* フロントページ専用: セクション内のコンテナを中央揃え */
body.home .media-section .container,
body.home .blog-section .container,
body.home .services-overview .container,
body.home .other-services-section .container,
body.home .features-section .container,
body.home .promise-section .container,
body.home .about-digikita-section .container,
body.home .company-info-section .container,
body.home .contact-section .container,
body.home .visit-section .container,
body.front-page .media-section .container,
body.front-page .blog-section .container,
body.front-page .services-overview .container,
body.front-page .other-services-section .container,
body.front-page .features-section .container,
body.front-page .promise-section .container,
body.front-page .about-digikita-section .container,
body.front-page .company-info-section .container,
body.front-page .contact-section .container,
body.front-page .visit-section .container {
    max-width: 1400px !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 40px !important;
    padding-right: 40px !important;
    box-sizing: border-box !important;
    position: relative !important;
    left: auto !important;
    right: auto !important;
}

/* フロントページ専用: 1920px 以上の超ワイド画面用 */
@media (min-width: 1921px) {
    body.home .container,
    body.front-page .container {
        max-width: 1800px !important;
    }
    
    body.home .media-section .container,
    body.home .blog-section .container,
    body.home .services-overview .container,
    body.home .other-services-section .container,
    body.home .features-section .container,
    body.home .promise-section .container,
    body.home .about-digikita-section .container,
    body.home .company-info-section .container,
    body.home .contact-section .container,
    body.home .visit-section .container,
    body.front-page .media-section .container,
    body.front-page .blog-section .container,
    body.front-page .services-overview .container,
    body.front-page .other-services-section .container,
    body.front-page .features-section .container,
    body.front-page .promise-section .container,
    body.front-page .about-digikita-section .container,
    body.front-page .company-info-section .container,
    body.front-page .contact-section .container,
    body.front-page .visit-section .container {
        max-width: 1800px !important;
    }
}

/* セクション間のセパレーターはデフォルトで非表示に */
.section-separator,
.wave-separator {
    display: none;
}

/* ===============================
   ビューポート全幅表示
   （フロントページ専用）
   =============================== */

/* フロントページ専用: 画面幅いっぱいに表示したいセクション */
body.home .media-section,
body.home .blog-section,
body.home .services-overview,
body.home .other-services-section,
body.home .features-section,
body.home .promise-section,
body.home .about-digikita-section,
body.home .company-info-section,
body.home .contact-section,
body.home .visit-section,
body.front-page .media-section,
body.front-page .blog-section,
body.front-page .services-overview,
body.front-page .other-services-section,
body.front-page .features-section,
body.front-page .promise-section,
body.front-page .about-digikita-section,
body.front-page .company-info-section,
body.front-page .contact-section,
body.front-page .visit-section {
    width: 100vw !important;
    max-width: none !important;
    position: relative !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
}

/* フロントページ専用: WordPressラッパー内でも全幅表示 */
body.home #body_wrap .media-section,
body.home #body_wrap .blog-section,
body.home #body_wrap .services-overview,
body.home #body_wrap .other-services-section,
body.home #body_wrap .features-section,
body.home #body_wrap .promise-section,
body.home #body_wrap .about-digikita-section,
body.home #body_wrap .company-info-section,
body.home #body_wrap .contact-section,
body.home #body_wrap .visit-section,
body.home .l-content .media-section,
body.home .l-content .blog-section,
body.home .l-content .services-overview,
body.home .l-content .other-services-section,
body.home .l-content .features-section,
body.home .l-content .promise-section,
body.home .l-content .about-digikita-section,
body.home .l-content .company-info-section,
body.home .l-content .contact-section,
body.home .l-content .visit-section,
body.home .l-mainContent .media-section,
body.home .l-mainContent .blog-section,
body.home .l-mainContent .services-overview,
body.home .l-mainContent .other-services-section,
body.home .l-mainContent .features-section,
body.home .l-mainContent .promise-section,
body.home .l-mainContent .about-digikita-section,
body.home .l-mainContent .company-info-section,
body.home .l-mainContent .contact-section,
body.home .l-mainContent .visit-section,
body.front-page #body_wrap .media-section,
body.front-page #body_wrap .blog-section,
body.front-page #body_wrap .services-overview,
body.front-page #body_wrap .other-services-section,
body.front-page #body_wrap .features-section,
body.front-page #body_wrap .promise-section,
body.front-page #body_wrap .about-digikita-section,
body.front-page #body_wrap .company-info-section,
body.front-page #body_wrap .contact-section,
body.front-page #body_wrap .visit-section,
body.front-page .l-content .media-section,
body.front-page .l-content .blog-section,
body.front-page .l-content .services-overview,
body.front-page .l-content .other-services-section,
body.front-page .l-content .features-section,
body.front-page .l-content .promise-section,
body.front-page .l-content .about-digikita-section,
body.front-page .l-content .company-info-section,
body.front-page .l-content .contact-section,
body.front-page .l-content .visit-section,
body.front-page .l-mainContent .media-section,
body.front-page .l-mainContent .blog-section,
body.front-page .l-mainContent .services-overview,
body.front-page .l-mainContent .other-services-section,
body.front-page .l-mainContent .features-section,
body.front-page .l-mainContent .promise-section,
body.front-page .l-mainContent .about-digikita-section,
body.front-page .l-mainContent .company-info-section,
body.front-page .l-mainContent .contact-section,
body.front-page .l-mainContent .visit-section {
    width: 100vw !important;
    max-width: none !important;
    position: relative !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
    overflow-x: visible !important;
    overflow: visible !important;
}

/* フロントページ専用: ブログセクションの全幅表示 */
body.home .blog-section,
body.front-page .blog-section {
    width: 100vw !important;
    max-width: 100vw !important;
    min-width: 100vw !important;
    position: relative !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
    overflow-x: visible !important;
    overflow: visible !important;
    background-color: #5ba3d9 !important;
    background: #5ba3d9 !important;
    transform: translateX(0) !important;
}

/* フロントページ専用: セクション背景色 */
body.home .media-section,
body.front-page .media-section {
    background-color: var(--primary-lighter);
}
body.home .blog-section,
body.front-page .blog-section {
    background-color: #5ba3d9 !important;
    background: #5ba3d9 !important;
}
body.home .services-overview,
body.front-page .services-overview {
    background-color: var(--bg-white);
}
body.home .other-services-section,
body.front-page .other-services-section {
    background-color: var(--bg-light);
}
body.home .features-section,
body.front-page .features-section {
    background-color: var(--primary-lighter);
}
body.home .promise-section,
body.front-page .promise-section {
    background-color: var(--bg-light);
}
body.home .about-digikita-section,
body.front-page .about-digikita-section {
    background-color: var(--primary-lighter);
}
body.home .company-info-section,
body.front-page .company-info-section {
    background-color: var(--bg-light);
}
body.home .contact-section,
body.front-page .contact-section {
    background: var(--gradient-primary);
    color: white;
}
body.home .visit-section,
body.front-page .visit-section {
    background-color: var(--bg-white);
}

/* ===============================
   CTAセクション - 全幅表示
   （フロントページ専用）
   =============================== */
body.home .cta-section,
body.front-page .cta-section {
    width: 100vw !important;
    max-width: none !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    position: relative !important;
    left: 0 !important;
    box-sizing: border-box !important;
    background: #151d28 !important;
}

/* フロントページ専用: WordPressラッパー内のCTAセクションも全幅 */
body.home #body_wrap .cta-section,
body.home .l-content .cta-section,
body.home footer .cta-section,
body.front-page #body_wrap .cta-section,
body.front-page .l-content .cta-section,
body.front-page footer .cta-section {
    width: 100vw !important;
    max-width: none !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
}

/* ===============================
   セクション内のコンテンツを中央配置
   （フロントページ専用）
   =============================== */
body.home .media-section > *:not(.container),
body.home .services-overview > *:not(.container),
body.home .other-services-section > *:not(.container),
body.home .features-section > *:not(.container),
body.home .promise-section > *:not(.container),
body.home .about-digikita-section > *:not(.container),
body.home .company-info-section > *:not(.container),
body.home .contact-section > *:not(.container),
body.home .visit-section > *:not(.container),
body.front-page .media-section > *:not(.container),
body.front-page .services-overview > *:not(.container),
body.front-page .other-services-section > *:not(.container),
body.front-page .features-section > *:not(.container),
body.front-page .promise-section > *:not(.container),
body.front-page .about-digikita-section > *:not(.container),
body.front-page .company-info-section > *:not(.container),
body.front-page .contact-section > *:not(.container),
body.front-page .visit-section > *:not(.container) {
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    box-sizing: border-box !important;
}

@media (min-width: 1921px) {
    body.home .media-section > *:not(.container),
    body.home .services-overview > *:not(.container),
    body.home .other-services-section > *:not(.container),
    body.home .features-section > *:not(.container),
    body.home .promise-section > *:not(.container),
    body.home .about-digikita-section > *:not(.container),
    body.home .company-info-section > *:not(.container),
    body.home .contact-section > *:not(.container),
    body.home .visit-section > *:not(.container),
    body.front-page .media-section > *:not(.container),
    body.front-page .services-overview > *:not(.container),
    body.front-page .other-services-section > *:not(.container),
    body.front-page .features-section > *:not(.container),
    body.front-page .promise-section > *:not(.container),
    body.front-page .about-digikita-section > *:not(.container),
    body.front-page .company-info-section > *:not(.container),
    body.front-page .contact-section > *:not(.container),
    body.front-page .visit-section > *:not(.container) {
        max-width: 1800px !important;
    }
}

/* ===============================
   ヒーローセクション（hero）- 上部余白調整
   （フロントページ専用）
   =============================== */

/* フロントページ専用: ヒーローセクションの全幅表示 */
body.home .hero,
body.front-page .hero {
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    overflow: hidden;
    padding: 0 !important;
    margin-top: -60px !important;
    margin-bottom: 0 !important;
    height: auto;
    max-height: 100vh;
    border: none !important;
}

body.home .hero-background,
body.front-page .hero-background {
    width: 100%;
    position: relative;
    padding: 0;
    margin: 0;
}

body.home .hero-background img,
body.front-page .hero-background img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* フロントページ専用: 青いセクションを削除 */
body.home .hero::after,
body.front-page .hero::after {
    display: none;
}

body.home .hero-content,
body.front-page .hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;
    max-width: 1200px;
    z-index: 10;
    padding: 0 20px;
    box-sizing: border-box;
}

body.home .hero-text,
body.front-page .hero-text {
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

body.home .hero-text h1,
body.front-page .hero-text h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: 0.03em;
}

body.home .hero-text p,
body.front-page .hero-text p {
    font-size: 1.8rem;
    margin: 0.5rem 0;
}

/* フロントページ専用: スマホ向け調整 - ヒーローテキスト位置 */
@media (max-width: 768px) {
    body.home .hero,
    body.front-page .hero {
        min-height: 70vh;
    }
    
    body.home .hero-background img,
    body.front-page .hero-background img {
        min-height: 70vh;
        object-position: center top;
    }
    
    body.home .hero-content,
    body.front-page .hero-content {
        padding: 0 !important;
        top: calc(50% + 0.5rem) !important;
        transform: translate(-50%, -30%) !important;
    }
}

@media (max-width: 480px) {
    body.home .hero,
    body.front-page .hero {
        min-height: 60vh;
    }
    
    body.home .hero-background img,
    body.front-page .hero-background img {
        min-height: 60vh;
    }
    
    body.home .hero-content,
    body.front-page .hero-content {
        padding: 0 !important;
        top: calc(50% + 0.5rem) !important;
        transform: translate(-50%, -30%) !important;
    }
}

/* ===============================
   飛行機アニメーション
   （フロントページ専用）
   =============================== */

/* フロントページ専用: 飛行機アイコン */
body.home .airplane,
body.front-page .airplane {
    position: absolute;
    bottom: 50px;
    left: 0;
    z-index: 20;
    animation: flyAcross 10s linear infinite;
}

@keyframes flyAcross {
    0% {
        transform: translateX(-100px) translateY(0);
    }
    10% {
        transform: translateX(calc(20vw - 100px)) translateY(-15px);
    }
    30% {
        transform: translateX(calc(40vw - 100px)) translateY(10px);
    }
    50% {
        transform: translateX(calc(60vw - 100px)) translateY(-5px);
    }
    70% {
        transform: translateX(calc(80vw - 100px)) translateY(15px);
    }
    90% {
        transform: translateX(calc(100vw)) translateY(0);
    }
    100% {
        transform: translateX(calc(120vw)) translateY(0);
    }
}

body.home .airplane img,
body.front-page .airplane img {
    width: 100px;
    height: auto;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.2));
    animation: rockPlane 2s ease-in-out infinite;
}

/* 飛行機の揺れるアニメーション */
@keyframes rockPlane {
    0% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(3deg);
    }
    75% {
        transform: rotate(-3deg);
    }
    100% {
        transform: rotate(0deg);
    }
}

/* フロントページ専用: 飛行機の軌跡 */
body.home .airplane::after,
body.front-page .airplane::after {
    content: '';
    position: absolute;
    top: 50%;
    left: -40px;
    width: 30px;
    height: 3px;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.7) 100%);
    z-index: -1;
    opacity: 0.8;
    filter: blur(2px);
    animation: fadeTrail 1s infinite;
}

@keyframes fadeTrail {
    0% {
        opacity: 0.6;
        width: 20px;
    }
    50% {
        opacity: 0.8;
        width: 30px;
    }
    100% {
        opacity: 0.6;
        width: 20px;
    }
}

/* フロントページ専用: キラキラエフェクト */
body.home .sparkle,
body.front-page .sparkle {
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    z-index: 5;
    animation: twinkle 4s infinite;
}

/* フロントページ専用: レスポンシブ対応 */
@media (max-width: 1200px) {
    body.home .hero-text h1,
    body.front-page .hero-text h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    body.home .hero-text h1,
    body.front-page .hero-text h1 {
        font-size: 2.2rem;
    }
    
    body.home .hero-text p,
    body.front-page .hero-text p {
        font-size: 1.3rem;
    }
    
    body.home .airplane,
    body.front-page .airplane {
        bottom: 30px;
    }
    body.home .airplane img,
    body.front-page .airplane img {
        width: 70px !important;
        height: auto !important;
    }
}

@media (max-width: 480px) {
    body.home .hero-text h1,
    body.front-page .hero-text h1 {
        font-size: 1.8rem;
    }
    
    body.home .hero-text p,
    body.front-page .hero-text p {
        font-size: 1.1rem;
    }
    body.home .airplane img,
    body.front-page .airplane img {
        width: 60px !important;
        height: auto !important;
    }
}

/* ===============================
   各種コンポーネントのスタイル
   =============================== */

/* 例：.service-card, .feature-card, .promise-item など */
/* 必要に応じて front-page.php のインラインCSSをこちらに移行 */

/* 例：.services-overview, .service-card-container, etc. */
.services-overview {
    padding: 60px 0;
    background: linear-gradient(to bottom, #ffffff, #f7fafd);
}

/* カードのサンプル */
.service-card-container {
    background: #ffffff;
    border-radius: 12px;
    border: 2px solid #e8f4fc;
    overflow: hidden;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}
.service-card-container:hover {
    box-shadow: 0 15px 40px rgba(52,152,219,0.1);
    transform: translateY(-5px);
}
.service-card-header {
    background: linear-gradient(135deg, #f2f9ff 0%, #e8f4fc 100%);
    padding: 15px 25px;
    border-bottom: 1px solid #e8f4fc;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.service-card-header h3 {
    margin: 0;
    color: #333;
    font-size: 18px;
    font-weight: 600;
}
.service-card-badge {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    box-shadow: 0 2px 5px rgba(52,152,219,0.3);
}

.service-card-content {
    padding: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: center;
}
.service-info {
    flex: 1;
    min-width: 300px;
}
.service-info h3 {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    margin: 0 0 10px 0;
}
.service-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, #3498db, #2980b9);
    border-radius: 1.5px;
    margin-bottom: 20px;
}
.service-description {
    color: #666;
    line-height: 1.7;
    margin-bottom: 25px;
    font-size: 16px;
}
.service-highlight {
    background: #f2f9ff;
    border: 1px solid #d6eeff;
    border-radius: 8px;
    padding: 12px 15px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}
.service-highlight:hover {
    background: #e8f4fc;
    transform: translateX(5px);
}
.highlight-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(52,152,219,0.15);
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.service-highlight span {
    color: #3498db;
    font-weight: 600;
}
.btn-ad-menu {
    display: inline-flex;
    align-items: center;
    padding: 14px 30px;
    border-radius: 50px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(52,152,219,0.3);
    transition: all 0.3s ease;
    margin-top: 20px;
}
.btn-ad-menu svg {
    margin-left: 8px;
    transition: transform 0.3s ease;
}
.btn-ad-menu:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(52,152,219,0.4);
}
.btn-ad-menu:hover svg {
    transform: translateX(5px);
}
.service-image {
    flex: 1;
    min-width: 300px;
    position: relative;
}
.service-dashboard {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}
.service-dashboard:hover {
    transform: translateY(-10px) rotate(2deg);
    box-shadow: 0 20px 40px rgba(52,152,219,0.2);
}
.service-dashboard img {
    width: 100%;
    height: auto;
    display: block;
}
.dashboard-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255,255,255,0.9);
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.dashboard-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.stat-value {
    font-size: 24px;
    font-weight: 700;
    color: #3498db;
}
.stat-label {
    font-size: 12px;
    color: #666;
}

/* サービスリンク */
.service-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 30px;
}
.service-link {
    text-decoration: none;
    display: block;
}
.service-link-card {
    position: relative;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}
.service-link-header {
    height: 5px;
    background: linear-gradient(to right, #3498db, #2980b9);
    border-radius: 10px 10px 0 0;
}
.service-link-content {
    padding: 20px;
    display: flex;
    align-items: center;
}
.service-link-icon {
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.service-link-text {
    color: #3498db;
    font-size: 15px;
    font-weight: 500;
    flex-grow: 1;
}
.service-link-arrow {
    color: #a0aec0;
    transition: all 0.3s ease;
}
.service-link:hover .service-link-card {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(52,152,219,0.15);
}
.service-link:hover .service-link-arrow {
    color: #3498db;
    transform: translateX(5px);
}

/* メディアクエリでレスポンシブ対応 */
@media (max-width: 768px) {
    .service-card-content {
        flex-direction: column;
    }
    .service-info,
    .service-image {
        width: 100%;
    }
    .service-links-grid {
        grid-template-columns: repeat(auto-fit, minmax(100%, 1fr));
    }
}

/* ===============================
   ここから先はお好みで他のセクション、
   .other-services-section, .features-section などのCSSを移行
   front-page.php の inline style をこちらへ
   =============================== */

/* 例：.contact-section, .contact-container, .contact-card など */
/* 例：.visit-section, .visit-container, etc. */
/* … */

/* ===============================
   ボタンスタイル
   =============================== */

/* ヒーローセクションの特長ボタン */
.btn-feature {
    display: inline-block; 
    background-color: white; 
    color: var(--primary-main); 
    padding: 15px 35px; 
    border-radius: 50px; 
    text-decoration: none; 
    font-weight: 600; 
    font-size: 16px; 
    border: 2px solid var(--primary-main); 
    box-shadow: var(--shadow-sm); 
    transition: all 0.3s ease;
}

.btn-feature:hover {
    background-color: var(--primary-main);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-icon {
    margin-left: 8px; 
    vertical-align: middle;
}

.btn-feature:hover .btn-icon {
    transform: translateX(5px);
}

/* 他のボタンスタイル */
.line-btn {
    display: inline-block;
    background-color: #06C755;
    color: white;
    padding: 16px 40px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 16px;
    box-shadow: 0 4px 10px rgba(6,199,85,0.3);
    transition: all 0.3s ease;
}

.line-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(6,199,85,0.4);
}

.contact-btn {
    display: inline-block;
    background-color: #38a0de;
    color: white;
    padding: 16px 40px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 16px;
    box-shadow: 0 4px 10px rgba(56,160,222,0.3);
    transition: all 0.3s ease;
}

.contact-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(56,160,222,0.4);
}

/* フロントページ専用: スマホ向け - ヒーローボタンの位置調整 */
@media (max-width: 768px) {
    body.home .hero-button,
    body.front-page .hero-button {
        position: relative;
        margin-top: -2.3rem !important;
    }
}
