/*
Theme Name: Enka Concert
Description: 演歌コンサート情報サイト用テーマ
Version: 1.0
*/
:root { --accent:#1a1a1a; --accent2:#c0392b; --bg:#fff; --border:#e8e8e8; --sub:#888; --card:#fff; }
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0;}
html{font-size:15px;}
html,body{margin:0;padding:0;height:100%;}
body{font-family:'Noto Sans JP','Hiragino Kaku Gothic ProN','Meiryo',sans-serif;background:#f4f4f4;color:#1a1a1a;line-height:1.7;display:flex;flex-direction:column;min-height:100vh;}
a{color:inherit;text-decoration:none;}
img{max-width:100%;height:auto;display:block;}
.wrap{max-width:1080px;margin:0 auto;padding:0 20px;}
.main-only{max-width:900px;margin:0 auto;padding:24px 0 0;}
.main{min-width:0;}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);}

/* HEADER */
.ec-hd{background:#fff;position:sticky;top:0;z-index:200;border-bottom:3px solid #1a1a1a;box-shadow:0 2px 8px rgba(0,0,0,.07);}
.ec-hd-inner{max-width:1080px;margin:0 auto;padding:0 20px;display:flex;align-items:center;justify-content:space-between;height:56px;}
.ec-logo{display:flex;align-items:center;gap:10px;text-decoration:none;flex-shrink:0;}
.ec-logo-badge{width:32px;height:32px;border-radius:4px;background:#1a1a1a;display:inline-flex;align-items:center;justify-content:center;font-size:.58rem;font-weight:800;letter-spacing:.02em;color:#fff;flex-shrink:0;line-height:1.2;text-align:center;}
.ec-logo-text{display:flex;flex-direction:column;line-height:1.2;}
.ec-logo-name{color:#1a1a1a;font-size:.95rem;font-weight:800;letter-spacing:-.02em;}
.ec-logo-sub{color:#aaa;font-size:.5rem;font-weight:400;letter-spacing:.1em;}
.ec-nav{display:flex;align-items:center;gap:2px;}
.ec-nav a{color:#555;font-size:.75rem;padding:5px 9px;border-radius:3px;white-space:nowrap;transition:all .15s;}
.ec-nav a:hover{color:#1a1a1a;background:#f0f0f0;}
.ec-search-btn{background:none;border:none;cursor:pointer;padding:6px;color:#555;display:flex;align-items:center;transition:color .15s;flex-shrink:0;}
.ec-search-btn:hover{color:#1a1a1a;}
.ec-search-btn svg{width:18px;height:18px;}
.ec-hamburger{display:none !important;}
.ec-hamburger span{display:block;width:22px;height:2px;background:#555;border-radius:2px;transition:all .25s;}
.ec-mobile-nav{display:none;background:#fff;border-bottom:1px solid #eee;}
.ec-mobile-nav.open{display:block;}
.ec-mobile-nav a{display:block;color:#555;font-size:.85rem;padding:12px 20px;border-bottom:1px solid #f0f0f0;}
.ec-mobile-nav a:hover{background:#f8f8f8;}
.ec-search-bar{display:none;background:#f8f8f8;border-bottom:1px solid #e8e8e8;padding:10px 20px;}
.ec-search-bar.open{display:block;}
.ec-search-bar form{max-width:600px;margin:0 auto;display:flex;}
.ec-search-bar input[type="search"]{flex:1;padding:9px 14px;background:#fff;border:1px solid #ddd;border-right:none;font-size:.85rem;outline:none;}
.ec-search-bar input[type="search"]:focus{border-color:#1a1a1a;}
.ec-search-bar button{padding:9px 18px;background:#1a1a1a;color:#fff;border:none;font-size:.82rem;font-weight:600;cursor:pointer;}

/* BADGES */
.status-badge{display:inline-block;font-size:.6rem;font-weight:700;padding:2px 7px;border-radius:2px;letter-spacing:.04em;}
.status-open{background:#1a1a1a;color:#fff;}
.status-soldout{background:#e8e8e8;color:#999;}
.status-soon{background:#555;color:#fff;}
.status-ended{background:#e8e8e8;color:#bbb;}
.pref-badge{display:inline-block;font-size:.6rem;font-weight:700;padding:2px 6px;background:#f0f0f0;color:#666;border-radius:2px;}
.date-badge{font-size:.72rem;font-weight:700;color:#1a1a1a;}

/* SEC */
.sec{margin-bottom:16px;}
.sec h2{font-size:.68rem;font-weight:800;letter-spacing:.2em;color:#999;border-bottom:2px solid #1a1a1a;padding-bottom:8px;}

/* FEATURED */
.featured{display:grid;grid-template-columns:160px 1fr;border:1px solid #e8e8e8;background:#fff;margin-bottom:24px;transition:box-shadow .2s;overflow:hidden;align-items:center;}
.featured:hover{box-shadow:0 4px 20px rgba(0,0,0,.1);}
.feat-img{width:160px;height:160px;overflow:hidden;background:#f0f0f0;flex-shrink:0;}
.feat-img img{width:100%;height:100%;object-fit:cover;transition:transform .4s;}
.featured:hover .feat-img img{transform:scale(1.03);}
.feat-body{padding:24px;display:flex;flex-direction:column;justify-content:space-between;}
.feat-meta{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-bottom:12px;}
.feat-title{font-size:1.1rem;font-weight:800;line-height:1.5;margin-bottom:14px;color:#1a1a1a;}
.feat-info{font-size:.78rem;color:#666;display:flex;flex-direction:column;gap:5px;}

/* GRID */
.card-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:24px;}
.card{background:#fff;border:1px solid #e8e8e8;overflow:hidden;transition:box-shadow .2s;}
.card:hover{box-shadow:0 4px 16px rgba(0,0,0,.08);}
.card-img{height:140px;overflow:hidden;background:#f0f0f0;display:flex;align-items:center;justify-content:center;}
.card-img img{width:100%;height:100%;object-fit:cover;transition:transform .3s;}
.card:hover .card-img img{transform:scale(1.04);}
.card-body{padding:12px;}
.card-meta{display:flex;gap:6px;align-items:center;flex-wrap:wrap;margin-bottom:6px;}
.card-title{font-size:.82rem;font-weight:700;line-height:1.5;color:#1a1a1a;display:block;}
.card-title:hover{color:#c0392b;}
.card-sub{font-size:.7rem;color:#888;margin-top:3px;}

/* LIST */
.list-item{display:flex;gap:14px;padding:14px;margin-bottom:2px;background:#fff;border:1px solid #e8e8e8;transition:background .15s;}
.list-item:hover{background:#fafafa;}
.list-img{flex-shrink:0;width:90px;height:68px;overflow:hidden;background:#f0f0f0;}
.list-img img{width:100%;height:100%;object-fit:cover;}
.list-placeholder{width:90px;height:68px;background:#f0f0f0;display:flex;align-items:center;justify-content:center;font-size:1.5rem;color:#ccc;}
.list-body{flex:1;min-width:0;}
.list-meta{display:flex;gap:6px;align-items:center;flex-wrap:wrap;margin-bottom:4px;}
.list-title{font-size:.88rem;font-weight:700;line-height:1.5;color:#1a1a1a;display:block;}
.list-title:hover{color:#c0392b;}
.list-sub{font-size:.7rem;color:#888;margin-top:2px;}

/* SIDEBAR */
.sidebar{min-width:0;}
.side-card{background:#fff;border:1px solid #e8e8e8;padding:16px;margin-bottom:20px;}
.side-hd{font-size:.6rem;font-weight:800;letter-spacing:.18em;color:#999;border-bottom:2px solid #1a1a1a;padding-bottom:8px;margin-bottom:14px;display:block;text-align:center;}
.side-item{display:flex;gap:10px;padding:8px 0;border-bottom:1px solid #f0f0f0;}
.side-item:last-child{border-bottom:none;}
.side-item-img{flex-shrink:0;width:56px;height:42px;overflow:hidden;background:#f0f0f0;}
.side-item-img img{width:100%;height:100%;object-fit:cover;}
.side-item-body{flex:1;min-width:0;}
.side-item-title{font-size:.78rem;font-weight:600;line-height:1.4;color:#1a1a1a;display:block;}
.side-item-title:hover{color:#c0392b;}
.side-item-sub{font-size:.65rem;color:#999;margin-top:2px;}
.pref-list{display:flex;flex-wrap:wrap;gap:5px;}
.pref-list a{font-size:.7rem;padding:4px 8px;background:#f4f4f4;color:#555;border:1px solid #e8e8e8;border-radius:2px;transition:all .15s;}
.pref-list a:hover{background:#1a1a1a;color:#fff;border-color:#1a1a1a;}

/* SINGLE */
.art-wrap{background:#fff;border:1px solid #e8e8e8;padding:28px;}
.art-meta{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-bottom:12px;}
.art-h1{font-size:1.3rem;font-weight:800;line-height:1.5;margin-bottom:16px;}
.art-divider{height:2px;background:linear-gradient(90deg,#1a1a1a 0%,#e8e8e8 100%);margin-bottom:24px;}
.art-thumb{width:160px;height:160px;overflow:hidden;margin:24px auto 24px;background:#f0f0f0;border-radius:4px;}
.article-body{font-size:.92rem;line-height:1.9;}
.article-body h2{font-size:1rem;font-weight:800;background:#f4f4f4;border-left:4px solid #1a1a1a;padding:10px 14px;margin:28px 0 14px;}
.article-body p{margin-bottom:1.2em;}
.art-related{margin-top:40px;}
.art-related-hd{font-size:.62rem;font-weight:800;letter-spacing:.15em;color:#999;border-bottom:2px solid #1a1a1a;padding-bottom:8px;margin-bottom:16px;}
.art-related-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;}
.art-related-item{display:flex;gap:10px;background:#f8f8f8;padding:10px;}
.art-related-item img{width:72px;height:54px;object-fit:cover;flex-shrink:0;}
.art-related-title{font-size:.78rem;font-weight:600;line-height:1.4;color:#1a1a1a;display:block;}
.art-related-title:hover{color:#c0392b;}
.art-nav{display:flex;gap:12px;margin-top:24px;}
.art-nav a{flex:1;padding:12px;border:1px solid #e8e8e8;font-size:.78rem;color:#555;transition:all .15s;}
.art-nav a:hover{border-color:#1a1a1a;color:#1a1a1a;}

/* PAGINATION */
.pagination{margin:32px 0 16px;display:flex;justify-content:center;flex-wrap:wrap;gap:6px;}
.pagination .page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:36px;height:36px;padding:0 10px;border:1px solid #ddd;color:#333;font-size:.85rem;font-weight:600;}
.pagination .page-numbers:hover{border-color:#1a1a1a;color:#1a1a1a;}
.pagination .page-numbers.current{background:#1a1a1a;border-color:#1a1a1a;color:#fff;}
.pagination .page-numbers.dots{border:none;color:#999;}

/* ARCHIVE/SEARCH */
.archive-hd,.search-hd{font-size:.65rem;font-weight:800;letter-spacing:.15em;color:#999;border-bottom:2px solid #1a1a1a;padding-bottom:8px;margin-bottom:20px;}
.archive-hd span,.search-hd span{color:#1a1a1a;font-size:1rem;letter-spacing:0;}
.search-form-wrap form{display:flex;margin-bottom:28px;}
.search-form-wrap input[type="search"]{flex:1;padding:10px 16px;border:2px solid #ddd;border-right:none;font-size:.9rem;outline:none;}
.search-form-wrap input[type="search"]:focus{border-color:#1a1a1a;}
.search-form-wrap button{padding:10px 20px;background:#1a1a1a;color:#fff;border:none;font-size:.85rem;font-weight:600;cursor:pointer;}
.search-none{padding:60px 0;text-align:center;color:#999;}

/* 404 */
.not-found-wrap{max-width:560px;margin:80px auto 120px;padding:0 24px;text-align:center;}
.not-found-code{font-size:7rem;font-weight:800;color:#e8e8e8;line-height:1;letter-spacing:-4px;margin-bottom:8px;}
.not-found-title{font-size:1.2rem;font-weight:700;margin-bottom:12px;}
.not-found-desc{color:#666;font-size:.9rem;line-height:1.8;margin-bottom:32px;}
.not-found-home{display:inline-block;background:#1a1a1a;color:#fff;padding:12px 32px;font-size:.9rem;font-weight:600;}
.not-found-home:hover{background:#333;color:#fff;}

/* PAGE */
.page-wrap{max-width:720px;margin:0 auto;background:#fff;border:1px solid #e8e8e8;padding:40px;}
.page-wrap h1{font-size:1.4rem;font-weight:800;margin-bottom:8px;}
.page-wrap .page-date{font-size:.75rem;color:#999;margin-bottom:24px;padding-bottom:20px;border-bottom:1px solid #eee;}
.page-wrap .page-content h2{font-size:1rem;font-weight:800;border-left:4px solid #1a1a1a;padding:8px 14px;background:#f8f8f8;margin:28px 0 12px;}
.page-wrap .page-content p{font-size:.9rem;line-height:1.9;margin-bottom:1.2em;color:#444;}

/* FOOTER */
.ec-footer{background:#111;color:rgba(255,255,255,.6);margin-top:auto;padding-bottom:0;}
.ec-footer-inner{max-width:1080px;margin:0 auto;padding:40px 20px 0;}
body{margin:0;padding:0;}
.ec-footer-top{display:grid;grid-template-columns:280px 1fr;gap:48px;padding-bottom:36px;}
.ec-footer-brand .ec-logo-name{color:#fff;}
.ec-footer-brand p{font-size:.78rem;margin-top:10px;line-height:1.7;color:rgba(255,255,255,.35);}
.ec-footer-area h4{font-size:.62rem;font-weight:800;letter-spacing:.15em;color:rgba(255,255,255,.3);margin-bottom:14px;}
.ec-footer-pref-list{display:flex;flex-wrap:wrap;gap:6px;}
.ec-footer-pref-list a{font-size:.72rem;color:rgba(255,255,255,.45);padding:3px 8px;border:1px solid rgba(255,255,255,.12);border-radius:2px;transition:all .15s;white-space:nowrap;}
.ec-footer-pref-list a:hover{color:#fff;border-color:rgba(255,255,255,.4);}
.ec-footer-bottom{border-top:1px solid rgba(255,255,255,.1);padding:16px 0;font-size:.72rem;color:rgba(255,255,255,.3);display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:10px;}
.ec-footer-site-nav{display:flex;gap:16px;flex-wrap:wrap;}
.ec-footer-site-nav a{font-size:.72rem;color:rgba(255,255,255,.3);transition:color .15s;}
.ec-footer-site-nav a:hover{color:rgba(255,255,255,.7);}

/* RESPONSIVE */
@media(max-width:900px){.featured{grid-template-columns:1fr;}.card-grid{grid-template-columns:repeat(2,1fr);}.ec-footer-top{grid-template-columns:1fr;gap:28px;}}
@media(max-width:640px){.ec-nav{display:none;}.ec-hamburger{display:flex;}.ec-logo-name{font-size:.82rem;}.card-grid{grid-template-columns:repeat(2,1fr);}.art-related-grid{grid-template-columns:1fr;}.art-wrap{padding:16px;}.art-h1{font-size:1.1rem;}.ec-footer-bottom{flex-direction:column;align-items:flex-start;gap:8px;}}
@media(max-width:400px){.card-grid{grid-template-columns:1fr;}}
@media(max-width:640px){.ec-nav{display:none;}.ec-hamburger{display:flex;}.ec-logo-name{font-size:.82rem;}.card-grid{grid-template-columns:1fr;}.art-related-grid{grid-template-columns:1fr;}.ec-footer-grid{grid-template-columns:1fr 1fr;}.art-wrap{padding:16px;}.art-h1{font-size:1.1rem;}}
@media(max-width:400px){.ec-footer-grid{grid-template-columns:1fr;}}
