/* =========================================
   【完全版】コーポレートサイト用CSS
   ========================================= */

/* --- 1. 全体レイアウトの強制リセット --- */
#yyc-lp {
    font-family: 'Noto Sans JP', sans-serif !important;
    color: #333;
    line-height: 1.8;
    background-color: #fff;
    
    /* 画面幅いっぱいに広げる設定 */
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding: 0;
    overflow-x: hidden; /* 横スクロール防止 */
}

/* 基本要素のリセット */
#yyc-lp * { box-sizing: border-box; }
#yyc-lp a { text-decoration: none !important; color: inherit; transition: all 0.3s ease; }
#yyc-lp ul { list-style: none; padding: 0; margin: 0; }
#yyc-lp img { max-width: 100%; height: auto; vertical-align: bottom; }


/* --- 2. ヘッダー（スリム化・固定表示） --- */
#yyc-lp .header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px; /* 高さをスリムに固定 */
    padding: 5px 40px; /* 上下の余白を詰める */
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* ロゴ画像 */
#yyc-lp .logo img {
    height: 36px !important; /* ロゴサイズ調整 */
    width: auto !important;
    margin: 0;
    display: block;
}

/* ナビゲーション */
#yyc-lp .nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
    height: 100%;
    margin: 0;
}

#yyc-lp .nav-link {
    font-size: 0.9rem;
    font-weight: 700;
    color: #333;
    position: relative;
    letter-spacing: 0.05em;
}
#yyc-lp .nav-link:hover { color: #0068b7; }

/* ストアボタン */
#yyc-lp .btn-sm {
    padding: 8px 20px !important;
    font-size: 0.85rem !important;
}

/* ハンバーガーメニュー（PCでは非表示） */
#yyc-lp .hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #0068b7;
}


/* --- 3. ヒーローセクション --- */
#yyc-lp .lp-hero {
    position: relative;
    height: 80vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    background-image: url('https://yoyorewind.com/jp/wp-content/uploads/2025/11/slider202204.webp');
    background-size: cover;
    background-position: center;
}

#yyc-lp .lp-hero::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.7));
}

#yyc-lp .lp-hero-content {
    position: relative; z-index: 1; padding: 0 20px; width: 100%; max-width: 1000px;
}

#yyc-lp .lp-hero-tagline {
    font-size: clamp(1.5rem, 4vw, 2.8rem);
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 20px;
    color: #fff;
    text-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

#yyc-lp .lp-hero-sub-tagline {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: 500;
    letter-spacing: 0.1em;
    margin-bottom: 40px;
    opacity: 0.9;
    text-transform: uppercase;
    color: #fff;
}

/* ボタン共通 */
#yyc-lp .lp-btn-group { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }

#yyc-lp .lp-btn {
    display: inline-block;
    padding: 14px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    letter-spacing: 0.05em;
}

#yyc-lp .lp-btn-primary {
    background-color: #0068b7;
    color: #fff !important;
    border: 2px solid #0068b7;
}
#yyc-lp .lp-btn-primary:hover {
    background-color: #00509d;
    border-color: #00509d;
    transform: translateY(-3px);
}

#yyc-lp .lp-btn-outline {
    background-color: transparent;
    color: #fff !important;
    border: 2px solid #fff;
}
#yyc-lp .lp-btn-outline:hover {
    background-color: #fff;
    color: #0068b7 !important;
    transform: translateY(-3px);
}


/* --- 4. リンクカード（重要：デザイン崩れ防止） --- */
#yyc-lp .lp-links-container {
    margin-top: -60px;
    position: relative;
    z-index: 10;
    padding-bottom: 50px;
    padding-left: 20px;
    padding-right: 20px;
}

#yyc-lp .lp-links-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 30px !important;
    max-width: 1200px;
    margin: 0 auto;
}

#yyc-lp .lp-link-card {
    /* カードの基本デザイン */
    background: #fff !important;
    padding: 40px 30px !important;
    border-radius: 12px !important;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08) !important;
    text-align: center !important;
    transition: transform 0.3s ease !important;
    border-top: 4px solid #0068b7 !important;
    
    /* 幅の指定（3列） */
    flex: 1 1 300px !important;
    max-width: 380px !important;
    width: 100% !important;
    cursor: pointer !important;
}

#yyc-lp .lp-link-card:hover {
    transform: translateY(-10px) !important;
    box-shadow: 0 20px 50px rgba(0,0,0,0.12) !important;
}

#yyc-lp .lp-link-card h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.6rem !important;
    margin-bottom: 15px !important;
    color: #333 !important;
    border: none !important;
}

#yyc-lp .lp-text-link {
    color: #0068b7 !important;
    font-weight: 700 !important;
    display: inline-block !important;
}


/* --- 5. セクション共通設定 --- */
#yyc-lp .lp-section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

#yyc-lp .lp-bg-light {
    background-color: #f4f7f6;
    width: 100%;
}

#yyc-lp .lp-section-header {
    text-align: center;
    margin-bottom: 60px;
}

#yyc-lp .lp-section-title {
    font-family: 'Oswald', sans-serif;
    font-size: 2.5rem;
    color: #0068b7;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: none !important;
}

#yyc-lp .lp-section-subtitle {
    font-size: 1rem;
    color: #666;
    font-weight: 700;
    display: inline-block;
    border-bottom: 2px solid #eee;
    padding-bottom: 5px;
}


/* --- 6. 動画セクション --- */
#yyc-lp .lp-video-container {
    max-width: 900px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    background: #000;
}
#yyc-lp .lp-video-container iframe {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0;
}


/* --- 7. チームセクション --- */
#yyc-lp .lp-team-visual {
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
#yyc-lp .lp-team-message {
    background: #f9f9f9; padding: 20px; text-align: center; font-weight: 700; color: #555;
}


/* --- 8. 事業内容 --- */
#yyc-lp .lp-business-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
#yyc-lp .lp-business-item {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
}
#yyc-lp .lp-business-num {
    font-family: 'Oswald', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: #e0e0e0;
    line-height: 1;
    margin-bottom: 10px;
}
#yyc-lp .lp-business-item h3 {
    font-size: 1.4rem; margin-bottom: 15px; color: #0068b7; font-weight: 700; border: none !important;
}


/* --- 9. 会社概要・ブランド --- */
#yyc-lp .lp-company-table {
    width: 100%; border-collapse: collapse; font-size: 1rem; margin: 0;
}
#yyc-lp .lp-company-table th, #yyc-lp .lp-company-table td {
    padding: 20px; border-bottom: 1px solid #eee; text-align: left; background: transparent;
}
#yyc-lp .lp-company-table th { width: 30%; color: #333; font-weight: 700; }

#yyc-lp .lp-clients-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 60px;
}
#yyc-lp .lp-client-box h4 {
    font-size: 1.1rem; border-left: 4px solid #0068b7; padding-left: 15px;
    margin-bottom: 20px; background: none;
}
#yyc-lp .lp-client-list { display: flex; flex-wrap: wrap; gap: 10px; }
#yyc-lp .lp-client-tag {
    background: #eee; padding: 8px 16px; border-radius: 4px;
    font-size: 0.9rem; color: #555; font-weight: 500; display: inline-block;
}
#yyc-lp .lp-tag-primary {
    background: #e6f3ff; color: #0068b7; font-weight: 700; border: 1px solid rgba(0, 104, 183, 0.2);
}


/* --- 10. フッター --- */
#yyc-lp .footer {
    background-color: #222;
    color: #fff;
    padding: 80px 20px 30px;
    text-align: center;
    width: 100%;
}
#yyc-lp .footer-logo img {
    height: 40px !important; width: auto !important; margin: 0 auto 20px;
    filter: brightness(0) invert(1); opacity: 0.9; display: block;
}
#yyc-lp .footer-nav {
    margin-bottom: 40px; display: flex; justify-content: center; gap: 30px; flex-wrap: wrap;
}
#yyc-lp .footer-nav a {
    color: #aaa; font-size: 0.95rem; font-weight: 500; text-decoration: none !important;
}
#yyc-lp .footer-nav a:hover { color: #fff; }
#yyc-lp .copyright {
    font-size: 0.8rem; color: #666; border-top: 1px solid #333;
    padding-top: 30px; margin-top: 30px; font-family: 'Oswald', sans-serif;
}


/* --- 11. スマホ対応（レスポンシブ） --- */
@media (max-width: 768px) {
    /* 全体 */
    #yyc-lp { width: 100%; left: 0; right: 0; margin-left: 0; margin-right: 0; }
    
    /* ヘッダー */
    #yyc-lp .header { padding: 5px 15px; height: 50px; }
    #yyc-lp .logo img { height: 28px !important; }
    #yyc-lp .hamburger { display: block; font-size: 1.2rem; }
    
    /* メニュー（非表示） */
    #yyc-lp .nav-menu {
        display: none; position: absolute; top: 100%; left: 0; width: 100%;
        background: #fff; flex-direction: column; padding: 20px;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }
    #yyc-lp .nav-menu.active { display: flex; height: auto; }
    
    /* ヒーロー */
    #yyc-lp .lp-hero-tagline { font-size: 1.8rem; }
    
    /* リンクカード */
    #yyc-lp .lp-links-container { margin-top: -30px; }
    #yyc-lp .lp-link-card { flex: 1 1 100% !important; max-width: 100% !important; }
    
    /* 会社概要・ブランド */
    #yyc-lp .lp-clients-grid { grid-template-columns: 1fr; gap: 30px; }
    #yyc-lp .lp-company-table th, #yyc-lp .lp-company-table td { display: block; width: 100%; }
    #yyc-lp .lp-company-table th { padding-bottom: 5px; color: #0068b7; }
    #yyc-lp .lp-company-table td { padding-top: 0; }
    
    /* フッター */
    #yyc-lp .footer-nav { flex-direction: column; gap: 15px; }
}
.site-footer{display:none;}
/* --- 動画エリアの黒帯削除パッチ --- */

#yyc-lp .lp-video-container {
    /* 背景色を黒から透明に変更 */
    background: transparent !important;
    /* 枠の影を少し自然に調整 */
    box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
}

#yyc-lp .lp-video-container iframe {
    /* 動画本体の余計な余白を強制排除 */
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    /* 縦横比を厳密にフィットさせる */
    width: 100% !important;
    height: 100% !important;
}
/* --- ブランドタグのリンク設定・クリック制御 --- */

/* 1. 共通設定（クリック不可に見せる） */
#yyc-lp .lp-client-tag {
    cursor: default !important; /* マウスカーソルを矢印のままにする */
    transition: none !important; /* アニメーションを無効化 */
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
}

/* 2. リンク付きタグの設定（クリック可能に見せる） */
#yyc-lp a.lp-tag-link {
    cursor: pointer !important; /* マウスカーソルを指マークにする */
    transition: all 0.2s ease !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1) !important; /* リンク付きのみ影をつける */
    text-decoration: none !important;
}

/* リンク付きタグのホバー時 */
#yyc-lp a.lp-tag-link:hover {
    transform: translateY(-2px) !important; /* 少し浮き上がる */
    box-shadow: 0 4px 8px rgba(0,0,0,0.15) !important;
    background-color: #d0eaff !important; /* 色を少し濃く */
}

/* 日本公式マーク（JP）のデザイン */
#yyc-lp .lp-jp-mark {
    font-size: 0.75em !important;
    background: #fff !important;
    color: #333 !important;
    padding: 1px 5px !important;
    border-radius: 3px !important;
    border: 1px solid rgba(0,0,0,0.1) !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
}

/* --- ブランドボタン（日本語ページ表記版）のスタイル --- */

/* 1. リスト全体の整列（縦に引き伸ばさない） */
#yyc-lp .lp-client-list {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    align-items: center !important; /* これで縦の膨らみを防止 */
}

/* 2. ボタン本体の整形 */
#yyc-lp .lp-client-tag,
#yyc-lp a.lp-tag-link {
    display: inline-flex !important;
    align-items: baseline !important; /* 文字のベースラインを揃える */
    height: auto !important;
    padding: 8px 14px !important; /* 上下の余白を適度に */
    line-height: 1.4 !important;
    text-decoration: none !important;
    white-space: nowrap !important; /* 折り返し禁止（1行に収める） */
    border-radius: 4px !important;
    box-sizing: border-box !important;
    margin: 0 !important;
}

/* 3. リンク付きボタンの見た目（指マーク＆ホバー効果） */
#yyc-lp a.lp-tag-link {
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    border: 1px solid #0068b7 !important; /* 枠線をつけてボタン感を出す */
    background-color: #fff !important;
    color: #0068b7 !important;
}

#yyc-lp a.lp-tag-link:hover {
    background-color: #0068b7 !important;
    color: #fff !important;
    transform: translateY(-2px) !important;
}

/* 4. （日本語ページ）テキストのデザイン */
#yyc-lp .lp-jp-text {
    font-size: 0.85em !important; /* 本体より少し小さく */
    font-weight: normal !important;
    margin-left: 6px !important;
    opacity: 0.8 !important;
    color: inherit !important; /* 親の色を引き継ぐ */
}

/* 5. リンクなしボタン（クリック不可） */
#yyc-lp span.lp-client-tag {
    cursor: default !important;
    background: #f4f4f4 !important;
    border: 1px solid #ddd !important;
    color: #555 !important;
}