/*
Theme Name: 京都朝日会
Theme URI: 
Author: 
Description: 京都の朝日新聞販売店（ASA）ネットワークの公式テーマ（和モダン版）
Version: 1.1.0
Text Domain: kyoto-asahikai
*/

:root {
    --primary-color: #1a2c4e;
    --accent-color: #b51a1a;
    --bg-base: #fbfaf5;
    --bg-light: #ffffff;
    --text-main: #333333;
    --text-light: #666666;
    --border-color: #d6d2c4;
    --gold: #c3a661;
}

body {
    margin: 0;
    font-family: "Yu Mincho", "Noto Serif JP", "Hiragino Mincho ProN", serif;
    color: var(--text-main);
    background-color: var(--bg-base);
    line-height: 1.8;
    letter-spacing: 0.05em;
}

p, .news-list, .asa-table td, .top-notice {
    font-family: 'Noto Sans JP', sans-serif;
}

h1, h2, h3 { font-weight: 500; }
a { text-decoration: none; color: var(--primary-color); transition: all 0.3s; }
a:hover { color: var(--gold); }
.container { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
img { max-width: 100%; height: auto; }

.section-title {
    text-align: center;
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 50px;
    letter-spacing: 0.1em;
}
.section-title::after {
    content: '';
    display: block;
    width: 1px;
    height: 40px;
    background-color: var(--accent-color);
    margin: 20px auto 0;
}

.top-notice { background-color: var(--text-main); color: #fff; text-align: center; padding: 10px; font-size: 13px; letter-spacing: 0.05em; }
header { background-color: var(--bg-light); border-bottom: 1px solid var(--border-color); position: sticky; top: 0; z-index: 100; }
.header-inner { display: flex; justify-content: space-between; align-items: center; height: 80px; }
.logo { font-size: 26px; color: var(--primary-color); margin: 0; letter-spacing: 0.1em; }
.global-nav ul { list-style: none; display: flex; gap: 35px; margin: 0; padding: 0; }
.global-nav a { color: var(--text-main); font-size: 15px; position: relative; padding-bottom: 5px; }
.global-nav a::after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 1px;
    background-color: var(--gold); transition: width 0.3s;
}
.global-nav a:hover::after { width: 100%; }

.hero { position: relative; height: 550px; overflow: hidden; background-color: #000; }
.hero-slideshow { position: absolute; top: 0; left: 0; width: 100%; height: 100%; margin: 0; padding: 0; }
.hero-slideshow li {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    list-style: none; background-size: cover; background-position: center;
    transition: opacity 2s ease-in-out;
}
.hero-content {
    position: relative; z-index: 10; height: 100%; display: flex;
    flex-direction: column; align-items: center; justify-content: center;
    text-align: center; color: #FFFFFF; pointer-events: none;
}
.hero-title { font-size: 46px; margin-bottom: 20px; text-shadow: 0 2px 6px rgba(0,0,0,0.6); font-weight: normal; line-height: 1.4; }
.hero-subtitle { font-size: 16px; letter-spacing: 0.2em; text-shadow: 0 2px 4px rgba(0,0,0,0.6); }

.info-section { padding: 90px 0; }
.info-grid { display: flex; gap: 40px; }
.info-card { background: var(--bg-light); padding: 40px; border: 1px solid var(--border-color); }
.holiday-box { flex: 1; border-top: 3px solid var(--accent-color); }
.news-box { flex: 2; border-top: 3px solid var(--primary-color); }
.card-title { font-size: 22px; margin-top: 0; margin-bottom: 25px; border-bottom: 1px solid var(--border-color); padding-bottom: 15px; color: var(--primary-color); }
.news-list { list-style: none; padding: 0; margin: 0; }
.news-list li { border-bottom: 1px solid var(--border-color); padding: 15px 0; display: flex; gap: 20px; }
.news-date { color: var(--gold); font-family: "Noto Serif JP", serif; font-size: 15px; min-width: 100px; }

.papers-section { padding: 80px 0; background-color: var(--bg-light); border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); }
.papers-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 15px; margin-top: 50px; }
.paper-card {
    display: flex; align-items: center; justify-content: center;
    background-color: var(--bg-base); border: 1px solid var(--border-color);
    padding: 30px 10px; text-align: center; color: var(--text-main);
    transition: all 0.3s; height: 100%; box-sizing: border-box;
}
.paper-card:hover { border-color: var(--primary-color); background-color: var(--primary-color); color: #fff; }

.action-section { background-color: var(--bg-base); padding: 80px 0; text-align: center; border-bottom: 1px solid var(--border-color); }
.action-btn {
    display: inline-block; background-color: transparent; color: var(--primary-color);
    padding: 15px 50px; border: 1px solid var(--primary-color);
    font-size: 16px; letter-spacing: 0.1em; margin-top: 30px;
    transition: all 0.3s;
}
.action-btn:hover { background-color: var(--primary-color); color: var(--bg-light); }

footer { background-color: var(--text-main); color: #a0a0a0; padding: 60px 0 30px; text-align: center; font-family: 'Noto Sans JP', sans-serif; }
.footer-logo { font-size: 26px; color: #ffffff; margin-bottom: 20px; font-family: "Noto Serif JP", serif; letter-spacing: 0.1em; }
.footer-address { font-size: 14px; margin-bottom: 40px; line-height: 2; }
.copyright { font-size: 12px; border-top: 1px solid #4a4a4a; padding-top: 20px; letter-spacing: 0.05em; }

.page-main { padding: 80px 0; }
.page-header { margin-bottom: 50px; text-align: center; }
.page-title { font-size: 36px; color: var(--primary-color); margin: 0 0 20px; letter-spacing: 0.1em; }
.page-title::after { content: ''; display: block; width: 1px; height: 30px; background-color: var(--accent-color); margin: 20px auto 0; }

.asa-table th { background: var(--bg-base); color: var(--primary-color); border-top: 2px solid var(--primary-color); border-bottom: 1px solid var(--border-color); font-family: "Noto Serif JP", serif; }
.asa-table td { background: var(--bg-light); border-bottom: 1px dotted var(--border-color); }
.asa-table { border-collapse: collapse; }

@media (max-width: 768px) {
    .header-inner { flex-direction: column; height: auto; padding: 15px 0; }
    .global-nav ul { flex-wrap: wrap; justify-content: center; gap: 15px; margin-top: 15px; }
    .info-grid { flex-direction: column; }
    .hero-title { font-size: 32px; }
    .action-btn { width: 80%; box-sizing: border-box; }
}


/* 見出しの装飾を横線（下線）に戻す */
.section-title::after,
.page-title::after {
    content: '';
    display: block;
    width: 60px;   /* 横線の長さ */
    height: 2px;   /* 横線の太さ */
    background-color: var(--accent-color);
    margin: 15px auto 0;
}