/* ==========================================================
   1. 「アクセス」「トピックス」などの各ページ
   ========================================================== */

.accessFlex {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

/* 左側エリア：HTMLの <div class="primaryContent"> と同等の役割 */
.accessLeft {
    flex: 2; 
}

/* マップ外枠：【アクセス】の <div class="locationMap"> */
.locationMap {
    margin-top: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
}

/* 右側カラム：【よくある質問】【トピックス】の <div class="accessRight"> */
.accessRight {
    flex: 0 0 250px; 
    display: flex;
    flex-direction: column;
    gap: 20px;
}


/* ==========================================================
   2. 「よくある質問」「トピックス」の右側サイドバー
   ========================================================== */

.snsSection {
    background: #fdfdfd;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 10px;
}

.snsTimeline {
    max-height: 350px; 
    overflow-y: auto;
}

.insta-link {
    display: block;
    text-align: center;
    padding: 20px;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white !important;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

.contact-notice {
    background-color: #fdfdfd;
    padding: 10px;
    border: 1px solid #eee;
    border-radius: 10px;
    margin-bottom: 5px;
}
.contact-notice p { font-size: 0.9rem; line-height: 1.5; color: #555; margin-top: 10px; }


/* ==========================================================
   3. 「トピックス」セクションのボタン関連
   ========================================================== */

.readMoreContainer {
    text-align: right;
    margin-top: 15px;
}

.readMoreBtn {
    display: inline-block;
    padding: 10px 25px;
    background-color: transparent;
    color: #0BD;
    border: 2px solid #0BD;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.readMoreBtn:hover {
    background-color: #0BD;
    color: #fff;
    transform: translateX(5px);
}

.readMoreBtn i {
    margin-left: 5px;
    font-size: 0.8rem;
}

/* ==========================================================
   4. OB・OG
   ========================================================== */

.letter-lead {
    margin-bottom: 20px;
}

.letter-footer {
    text-align: right;
    margin-top: 15px;
}

.event-details {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    border-left: 5px solid #00b7ce; 
    margin: 25px 0;
}

.event-details dl {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
}

.event-details dt {
    width: 5em;
    font-weight: bold;
    color: #00b7ce;
    margin-bottom: 10px;
}

.event-details dd {
    width: calc(100% - 5em);
    margin-left: 0;
    margin-bottom: 10px;
}

@media (max-width: 480px) {
    .event-details dt, 
    .event-details dd {
        width: 100%;
    }
    .event-details dt {
        margin-bottom: 2px;
    }
}

.member-link-container {
    text-align: center;
    margin-top: 30px;
    padding: 20px;
    border: 2px dashed #ccc;
    border-radius: 10px;
}

.member-note {
    font-size: 0.9em;
    color: #e74c3c;
    margin-bottom: 15px;
    font-weight: bold;
}

.btn-member {
    display: inline-block;
    background-color: #333; 
    color: #fff;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s, transform 0.2s;
}

.btn-member:hover {
    background-color: #555;
    transform: translateY(-2px);
    color: #fff;
}

.btn-member i {
    margin-right: 8px;
}


/* ==========================================================
   5.　関係者ページ
   ========================================================== */

.member-status {
    text-align: right;
    padding: 10px;
    font-size: 0.8em;
    color: #27ae60;
    font-weight: bold;
}

.member-news {
    list-style: none;
    padding: 0;
}
.member-news li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}
.member-news li span {
    background: #eee;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.85em;
    margin-right: 10px;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 15px;
}
.dl-item {
    display: flex;
    align-items: center;
    padding: 15px;
    background: #fdfdfd;
    border: 1px solid #ddd;
    border-radius: 5px;
    text-decoration: none;
    color: #333;
    transition: 0.2s;
}
.dl-item:hover {
    background: #f0f8ff;
    border-color: #00b7ce;
}
.dl-item i {
    font-size: 1.5em;
    color: #e74c3c;
    margin-right: 12px;
}

.link-back-public {
    color: #e74c3c !important;
    font-weight: bold;
}

.link-back-public:hover {
    color: #c0392b !important;
    text-decoration: underline;
}

@media (max-width: 480px) {
    .download-grid {
        grid-template-columns: 100%;
    }
}


/* ==========================================================
   4. Q&A
   ========================================================== */

.faq-page {
    margin-left: 10% !important;
    margin-right: 10% !important;
}

.faq-page .entryHeader,
.faq-page .entryBody {
    margin-left: 0;
}

.faq-page .entryHeader h2 {
    font-size: 1.8rem;
    color: #0084b4; 
}

.faq-page .entryBody p {
    font-size: 1.1rem;
    padding-left: 10px;
    border-left: 3px solid #0BD; 
}


/* ==========================================================
   4.　schedule
   ========================================================== */

.collapsible-header {
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.collapsible-header:hover {
    background: #f0f0f0;
    border-color: #0084b4;
}

.tap-guide {
    font-size: 0.75rem;
    color: #0084b4;
    margin-top: 5px;
    font-weight: bold;
}

.toggle-button {
    width: 35px;
    height: 35px;
    background: #0084b4;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.toggle-icon {
    font-size: 1.5rem;
    line-height: 1;
    font-weight: bold;
    transition: transform 0.3s;
}

.collapsible-header.is-open {
    background: #eef9ff;
}

.collapsible-header.is-open .toggle-icon {
    transform: rotate(45deg);
}


.collapsible-content {
    max-height: 0 !important;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease-out, opacity 0.3s;
}

.collapsible-content.is-open {
    max-height: 1000px !important; 
    opacity: 1;
    padding: 10px 0;
}



/* ==========================================================
   4. スマホ対応
   ========================================================== */
@media screen and (max-width: 900px) {
    .accessFlex {
        flex-direction: column;
    }
    
    .locationMap iframe {
        height: 300px;
    }
}


/* ==========================================================
   tournament.html 
   ========================================================== */
.year-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    padding: 20px 0;
}

.year-card {
    display: block;
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 30px 24px;
    text-decoration: none;
    color: #432;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    position: relative;
}

.year-card:hover {
    border-color: #0BD;
    box-shadow: 0 6px 20px rgba(0,189,221,0.15);
    transform: translateY(-3px);
}

.year-label {
    font-size: 1.8rem;
    font-weight: 900;
    color: #0BD;
    display: block;
    margin-bottom: 4px;
    font-family: "Yu Mincho", serif;
}

.year-count {
    font-size: 0.9rem;
    color: #888;
}

.year-arrow {
    position: absolute;
    top: 30px;
    right: 24px;
    font-size: 1.2rem;
    color: #0BD;
}

.year-tournaments {
    margin-top: 12px;
    font-size: 0.9rem;
    color: #666;
    line-height: 1.8;
    border-top: 1px solid #f0f0f0;
    padding-top: 12px;
}