/*
Theme Name: three_piece
Description: スリーピース
Version: 1.0
Text Domain: my-theme
*/

:root { --navy: #002244; --gold: #b89c50; --bg: #fdfdfd; --text: #333; --light-gold: #f9f6ef; }
        body { font-family: "Hiragino Mincho ProN", serif; line-height: 1.8; color: var(--text); margin: 0; background: var(--bg); overflow-x: hidden; }
        body.nav-open { overflow: hidden; }
        a { text-decoration: none; }

        /* ナビゲーション */
        .menu-btn { position: fixed; top: 20px; left: 20px; z-index: 3000; background: var(--navy); color: white; border: 1px solid var(--gold); width: 50px; height: 50px; border-radius: 5px; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; box-shadow: 0 2px 10px rgba(0,0,0,0.3); }
        .menu-btn span { display: block; width: 25px; height: 2px; background: white; transition: 0.3s; }
        nav.global-nav { position: fixed; top: 0; left: -100%; width: 280px; height: 100%; background: rgba(0, 34, 68, 0.98); z-index: 2500; padding: 80px 20px; transition: 0.4s; box-shadow: 5px 0 15px rgba(0,0,0,0.3); }
        nav.global-nav.active { left: 0; }
        nav.global-nav ul { list-style: none; padding: 0; margin: 0; }
        nav.global-nav ul li { margin-bottom: 15px; border-bottom: 1px solid rgba(184, 156, 80, 0.3); }
        nav.global-nav ul li a { color: white; display: block; padding: 12px; transition: 0.3s; }
        nav.global-nav ul li a:hover { color: var(--gold); padding-left: 15px; }
        .nav-login-btn { background: var(--gold); color: white !important; border-radius: 4px; text-align: center; font-weight: bold; margin-top: 10px; }

        /* 動画背景ヒーローセクション */
        .hero-video-wrapper { position: relative; width: 100%; height: 80vh; min-height: 600px; overflow: hidden; display: flex; align-items: center; justify-content: center; border-bottom: 5px solid var(--gold); }
        .hero-video { position: absolute; top: 50%; left: 50%; min-width: 100%; min-height: 100%; width: auto; height: auto; transform: translateX(-50%) translateY(-50%); z-index: 1; object-fit: cover; }
        .hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 34, 68, 0.6); z-index: 2; }
        .hero-content { position: relative; z-index: 3; color: white; text-align: center; padding: 0 20px; }
        .hero-content h1 { font-size: 2.5rem; letter-spacing: 0.2em; margin-bottom: 20px; text-shadow: 0 2px 10px rgba(0,0,0,0.5); }
        .hero-catch { display: inline-block; border: 1px solid var(--gold); padding: 8px 25px; color: var(--gold); font-weight: bold; letter-spacing: 2px; margin-bottom: 20px; background: rgba(0,0,0,0.3); }

        .container { max-width: 900px; margin: 0 auto; padding: 60px 20px; }
        .home .section-title { text-align: center; color: var(--navy); font-size: 1.8rem; margin-bottom: 50px; position: relative; padding-bottom: 15px; }
        .home .section-title::after { content: ""; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 50px; height: 3px; background: var(--gold); }

        /* お知らせエリア */
        .news-box { background: white; padding: 30px; border-radius: 12px; box-shadow: 0 5px 20px rgba(0,0,0,0.05); margin-bottom: 60px; border: 1px solid #eee; }
        .news-title { font-weight: bold; color: var(--navy); border-left: 4px solid var(--gold); padding-left: 15px; margin-bottom: 20px; font-size: 1.2rem; }
        .news-list { list-style: none; padding: 0; margin: 0; }
        .news-item { display: flex; border-bottom: 1px dashed #f0f0f0; padding: 12px 0; font-size: 0.95rem; }
        .news-item:last-child { border-bottom: none; }
        .news-date { width: 120px; color: var(--gold); font-weight: bold; flex-shrink: 0; }
        .news-content { flex: 1; color: #444; }
        .news-content a { color: var(--navy); text-decoration: underline; font-weight: bold; transition: 0.3s; }
        .news-content a:hover { color: var(--gold); }

        /* フック：強みの提示 */
        .hook-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-bottom: 60px; }
        .hook-card { background: white; padding: 30px; border-radius: 12px; text-align: center; box-shadow: 0 5px 20px rgba(0,0,0,0.05); border-top: 4px solid var(--gold); }
        .hook-card h3 { color: var(--navy); margin-top: 0; font-size: 1.3rem; }
        .hook-card img { width: 100%; height: 200px; object-fit: cover; border-radius: 8px; margin: 15px 0; background: #eee; }
        
        .branch-section { text-align: center; margin-bottom: 80px; }
        .btn-main { display: inline-block; background: var(--gold); color: white; padding: 18px 40px; border-radius: 50px; font-weight: bold; font-size: 1.1rem; transition: 0.3s; box-shadow: 0 4px 15px rgba(184, 156, 80, 0.3); margin: 10px; }
        .btn-main:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(184, 156, 80, 0.4); }

        /* コンプライアンス宣言 */
        .trust-box { background: var(--light-gold); padding: 40px; border-radius: 12px; border-left: 5px solid var(--navy); margin-bottom: 60px; }
        .trust-box h3 { color: var(--navy); margin-top: 0; }

        /* 共通CTAセクション */
        .cta-section { background: var(--navy); color: white; text-align: center; padding: 60px 20px; }
        .cta-section h2 { color: var(--gold); margin-top: 0; font-size: 1.6rem; }
        .cta-section p { margin-bottom: 30px; font-size: 0.95rem; }
        .btn-outline { display: inline-block; border: 2px solid var(--gold); color: var(--gold); padding: 16px 40px; border-radius: 50px; font-weight: bold; font-size: 1.1rem; transition: 0.3s; margin: 10px; }
        .btn-outline:hover { background: var(--gold); color: white; }
        .btn-login-solid { display: inline-block; background: var(--gold); color: white; padding: 18px 40px; border-radius: 50px; font-weight: bold; font-size: 1.1rem; transition: 0.3s; margin: 10px; }
        .btn-login-solid:hover { transform: translateY(-3px); box-shadow: 0 5px 15px rgba(184, 156, 80, 0.4); }

        footer { background: #001122; color: #888; padding: 40px 20px; text-align: center; font-size: 0.85rem; }
        .footer-links { margin-bottom: 20px; display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
        .footer-links a { color: #bbb; text-decoration: underline; }

        @media (max-width: 768px) {
            .hook-grid { grid-template-columns: 1fr; }
            .btn-main, .btn-outline, .btn-login-solid { width: 100%; box-sizing: border-box; }
            .news-item { flex-direction: column; }
            .news-date { margin-bottom: 5px; }
        }