@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
}

/* ========================================================
   Idol Member Introduction & Schedule Detail CSS
   ======================================================== */

/* --- group-introduce.php --- */
.imi-section { margin-bottom: 50px; }
.imi-section-title { 
    font-size: 24px; 
    font-weight: bold;
    border-left: 6px solid #2271b1; 
    padding-left: 15px; 
    margin-bottom: 25px; 
    color: #333;
    line-height: 1.4;
}
.imi-subsection-title {
    font-size: 18px;
    font-weight: bold;
    border-left: 4px solid #1db954;
    padding-left: 12px;
    margin: 25px 0 15px 0;
    color: #333;
    line-height: 1.4;
}
.imi-section-lead {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
    margin: -10px 0 18px 0;
    padding: 10px 15px;
    background: #f8f9fa;
    border-radius: 6px;
}

.imi-group-intro-box {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    line-height: 1.8;
    font-size: 16px;
    color: #444;
    border: 1px solid rgba(0,0,0,0.05);
}

.imi-music-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)) !important;
    gap: 20px !important;
}
.imi-video-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
}
.imi-video-title-area {
    padding: 12px 15px 5px;
    font-size: 15px;
    font-weight: bold;
    color: #333;
    line-height: 1.5;
    min-height: 3em;
    margin-bottom: 8px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.imi-video-wrap {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    background: #000;
}
.imi-video-wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.imi-video-meta {
    padding: 8px 15px 12px;
    font-size: 13px;
    color: #777;
    line-height: 1.5;
}
.imi-video-meta .imi-video-genre {
    display: inline-block;
    font-size: 11px;
    background: #eee;
    padding: 2px 6px;
    border-radius: 3px;
    margin-top: 4px;
}

.imi-profile-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 20px 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.5);
}
.imi-profile-table tr { border-bottom: 1px solid rgba(0,0,0,0.05); }
.imi-profile-table tr:last-child { border-bottom: none; }
.imi-profile-table th {
    background: linear-gradient(135deg, #f6f8fd 0%, #f1f4fb 100%);
    padding: 16px;
    text-align: right;
    font-weight: bold;
    color: #444;
    width: 30%;
    border-right: 1px solid rgba(255,255,255,0.8);
    vertical-align: middle;
    font-size: 16px;
    white-space: nowrap;
}
.imi-profile-table td {
    padding: 16px;
    text-align: left;
    color: #555;
    vertical-align: middle;
    font-size: 16px;
    background: #fff;
}
@media screen and (max-width: 480px) {
    .imi-profile-table th, .imi-profile-table td {
        font-size: 14px;
        padding: 12px 10px;
    }
    .imi-profile-table th { width: auto; white-space: nowrap; }
    .imi-music-grid { grid-template-columns: 1fr !important; }
}

.imi-marker {
    background: linear-gradient(transparent 70%, #dbebf8 70%);
    padding: 0 4px;
    display: inline-block;
    line-height: 1.4;
}

.imi-live-schedule-list { display: flex; flex-direction: column; gap: 12px; }
.imi-live-event-card {
    display: flex;
    align-items: stretch;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.07);
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.06);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.imi-live-event-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.13);
    transform: translateY(-1px);
}
.imi-live-event-date-col {
    background: #2563eb;
    color: #fff;
    min-width: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 14px 12px;
    flex-shrink: 0;
    text-align: center;
}
.imi-live-event-month { font-size: 11px; font-weight: bold; opacity: 0.85; letter-spacing: 0.05em; }
.imi-live-event-day { font-size: 28px; font-weight: bold; line-height: 1.1; }
.imi-live-event-dow { font-size: 11px; opacity: 0.8; margin-top: 2px; }
.imi-live-event-body { padding: 14px 18px; flex: 1; min-width: 0; }
.imi-live-event-name { font-size: 15px; font-weight: bold; color: #222; line-height: 1.45; margin-bottom: 6px; }
.imi-live-event-meta { font-size: 13px; color: #666; line-height: 1.6; }
.imi-live-event-meta .imi-live-meta-icon { display: inline-block; width: 1.3em; }
.imi-live-ticket-btn {
    display: inline-flex; align-items: center; gap: 5px; margin-top: 8px; padding: 6px 14px;
    border-radius: 999px; background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    color: #fff !important; font-size: 12px; font-weight: bold; text-decoration: none !important;
    box-shadow: 0 3px 8px rgba(21,128,61,0.22); transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.imi-live-ticket-btn:hover { transform: translateY(-1px); box-shadow: 0 5px 12px rgba(21,128,61,0.32); }
.imi-live-empty { text-align: center; padding: 30px; color: #999; background: #f9f9f9; border-radius: 10px; font-size: 15px; }
.imi-live-performers { font-size: 12px; color: #777; margin-top: 5px; line-height: 1.7; }
.imi-live-performer-tag {
    display: inline-block; padding: 1px 8px; border-radius: 999px; font-size: 11px;
    background: #f0f0f0; color: #555; margin: 2px 2px 2px 0;
}
.imi-live-performer-tag.is-current { background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%); color: #fff; font-weight: bold; }
@media screen and (max-width: 480px) {
    .imi-live-event-date-col { min-width: 66px; padding: 12px 8px; }
    .imi-live-event-day { font-size: 24px; }
    .imi-live-event-name { font-size: 14px; }
    .imi-live-event-meta { font-size: 12px; }
    .imi-live-event-body { padding: 12px 14px; }
}

.imi-video-link-wrap { margin: 0 0 20px; text-align: center; }
.imi-video-link-btn {
    display: inline-flex; align-items: center; gap: 8px; padding: 13px 30px;
    border-radius: 999px; background: linear-gradient(135deg, #7c3aed 0%, #4f46e5 100%);
    color: #fff; font-size: 16px; font-weight: bold; text-decoration: none;
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.35); transition: transform 0.2s ease, box-shadow 0.2s ease;
    letter-spacing: 0.03em;
}
.imi-video-link-btn:hover { color: #fff; text-decoration: none; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(79, 70, 229, 0.45); }

.imi-product-btn-wrap { text-align: center; margin: 18px 0 28px; }
.imi-product-btn {
    display: inline-flex; align-items: center; gap: 8px; padding: 13px 28px;
    border-radius: 999px; background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #fff !important; font-size: 15px; font-weight: bold; text-decoration: none !important;
    box-shadow: 0 6px 18px rgba(220, 38, 38, 0.3); transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.imi-product-btn:hover { color: #fff !important; text-decoration: none !important; transform: translateY(-2px); box-shadow: 0 10px 22px rgba(220, 38, 38, 0.4); }

.imi-report-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.imi-report-card {
    background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.06); display: flex; flex-direction: column;
    transition: box-shadow 0.2s ease, transform 0.2s ease; text-decoration: none; color: inherit;
}
.imi-report-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,0.13); transform: translateY(-2px); text-decoration: none; color: inherit; }
.imi-report-thumb-wrap { width: 100%; aspect-ratio: 16 / 9; background: #f0f0f0; overflow: hidden; flex-shrink: 0; }
.imi-report-thumb-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.imi-report-thumb-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 36px; color: #ccc; }
.imi-report-body { padding: 12px 14px 14px; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.imi-report-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.imi-report-site {
    font-size: 11px; font-weight: bold; padding: 2px 8px; border-radius: 999px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%); color: #fff; white-space: nowrap;
}
.imi-report-date { font-size: 12px; color: #888; }
.imi-report-title { font-size: 14px; font-weight: bold; color: #222; line-height: 1.5; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; flex: 1; }
.imi-report-read-more { font-size: 12px; color: #2563eb; font-weight: bold; margin-top: 4px; }
@media screen and (max-width: 480px) {
    .imi-report-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .imi-report-title { font-size: 13px; }
}

/* --- schedule-detail.php --- */
.isd-wrap { max-width: 800px; margin: 0 auto; font-family: sans-serif; }
.isd-event-title { font-size: 22px; font-weight: bold; line-height: 1.4; border-bottom: 2px solid #00a32a; padding-bottom: 10px; margin-bottom: 15px; }
.isd-event-meta { font-size: 14px; margin-bottom: 20px; color: #555; background: #f9f9f9; padding: 15px; border-radius: 5px; }
.isd-meta-item { margin-bottom: 8px; }
.isd-meta-item strong { display: inline-block; width: 60px; color: #333; }
.isd-ticket-btn { display: inline-block; background: #00a32a; color: #fff !important; font-weight: bold; padding: 12px 24px; text-decoration: none !important; border-radius: 4px; text-align: center; margin: 10px 0 25px 0; font-size: 15px; box-shadow: 0 2px 5px rgba(0,0,0,0.2); transition: all 0.2s; }
.isd-ticket-btn:hover { background: #008822; transform: translateY(-1px); }

/* マップ・周辺イベント */
.isd-map-wrap { margin-bottom: 30px; }
.isd-map-iframe { width: 100%; height: 300px; border: 0; border-radius: 4px; box-shadow: 0 1px 3px rgba(0,0,0,0.1); }
.isd-nearby-box { background: #fffcf0; border: 1px solid #f2e6c2; padding: 15px; border-radius: 4px; margin-top: 15px; }
.isd-nearby-box .isd-subtitle { font-size: 15px; margin: 0 0 10px 0; color: #8a6d3b; border: none; padding: 0; }
.isd-nearby-date-header { display: inline-block; background: #8a6d3b; color: #fff; padding: 3px 8px; border-radius: 3px; font-size: 12px; font-weight: bold; margin-bottom: 5px; margin-top: 10px; }
.isd-nearby-list { margin: 0 0 15px 0; padding-left: 20px; font-size: 13px; line-height: 1.6; }
.isd-nearby-item { margin-bottom: 5px; }
.isd-nearby-list a { color: #0066cc; text-decoration: none; display: inline-block; }
.isd-nearby-list a:hover { text-decoration: underline; }
.isd-nearby-time { font-weight: bold; color: #d63638; margin-right: 5px; }

/* 出演者一覧 (Common parts merged) */
.isd-section-title { font-size: 18px; font-weight: bold; margin: 30px 0 15px 0; padding-left: 10px; border-left: 4px solid #333; }
.isd-group-card { background: #fff; border: 1px solid #ddd; border-radius: 6px; padding: 15px; margin-bottom: 20px; box-shadow: 0 1px 2px rgba(0,0,0,0.05); }
.isd-group-header { display: flex; align-items: center; gap: 15px; margin-bottom: 15px; }
.isd-group-img { width: 160px; height: 120px; border-radius: 8px; object-fit: cover; border: 1px solid #eee; flex-shrink: 0; }
.isd-group-img-placeholder { width: 80px; height: 80px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: #f0f0f0; font-size: 12px; color: #999; text-align: center; }
.isd-group-name { min-width: 0; flex: 1; }
.isd-group-name h3 { margin: 0 0 5px 0; font-size: 17px; font-weight: bold; border: none; padding: 0; overflow-wrap: break-word; word-break: break-word; }
.isd-x-link { font-size: 12px; color: #0f1419; text-decoration: none; display: inline-flex; align-items: center; gap: 3px; }
.isd-x-link:hover { text-decoration: underline; color: #000; }

.isd-members-scroll { display: flex; gap: 15px; overflow-x: auto; padding-bottom: 10px; margin-bottom: -10px; -webkit-overflow-scrolling: touch; }
.isd-members-scroll::-webkit-scrollbar { height: 6px; }
.isd-members-scroll::-webkit-scrollbar-thumb { background: #ccc; border-radius: 3px; }
.isd-members-scroll::-webkit-scrollbar-track { background: #f5f5f5; }

/* In schedule-detail.php, members are slightly larger */
.isd-wrap .isd-member-item { width: 125px; flex-shrink: 0; text-align: center; }
.isd-wrap .isd-member-img, .isd-wrap .isd-member-img-placeholder { width: 115px; height: 115px; border-radius: 50%; margin: 0 auto 8px auto; overflow: hidden; box-sizing: border-box; border: 1px solid #ddd; }

/* In group-introduce.php, members are slightly smaller */
.isd-member-item { width: 95px; flex-shrink: 0; text-align: center; }
.isd-member-img, .isd-member-img-placeholder { width: 85px; height: 85px; border-radius: 50%; margin: 0 auto 8px auto; overflow: hidden; box-sizing: border-box; border: 1px solid #ddd; }

.isd-member-img img, .isd-wrap .isd-member-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.isd-member-img-placeholder { display: flex; align-items: center; justify-content: center; background: #f5f5f5; font-size: 28px; }
.isd-wrap .isd-member-img-placeholder { font-size: 36px; }
.isd-member-name { font-size: 12px; font-weight: bold; color: #444; word-break: break-all; line-height: 1.3; }

@media (max-width: 600px) {
    .isd-event-title { font-size: 18px; }
    .isd-meta-item { font-size: 13px; }
    .isd-ticket-btn { width: 100%; box-sizing: border-box; }
}
