/* ===================================
   下層ページテンプレートのスタイル
   =================================== */

/* --- 下層ページ共通ヘッダー --- */
body:not(.page-index) .header {
    background-color: #45b035;
}

body:not(.page-index) .header-left img {
    content: url('common/images/page-header-logo_01.png');
}

body:not(.page-index) .header-right img {
    content: url('common/images/page-header-subtitle_01.png');
}

/* --- 下層ページ Body & Main Content --- */
body:not(.page-index) .site-container {
    height: auto;
    min-height: 100vh;
    overflow: visible;
    background-image: none;
}

body:not(.page-index) .main-content {
    overflow: visible;
}

/* --- ページ固有の背景色 --- */
body.page-feature .site-container {
    background-color: #fffded;
}

/* --- 全幅のタイトル画像 --- */
.page-title-wrapper {
    text-align: center;
    margin: 80px auto 60px;
    width: 96%;
    max-width: 945px; 
}

.page-title-wrapper img {
    max-width: 100%;
    height: auto;
}

/* --- 幅が制限されたコンテンツエリア --- */
.content-area {
    width: 96%;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
    padding: 40px;
    background-color: #ffffff;
    border-radius: 8px;
    box-sizing: border-box;
}



/* ===================================
   特集ページ (feature.php) のスタイル
   =================================== */

.page-feature .intro-text-block {
    text-align: center;
    margin: 0 auto 40px;
    width: 96%;
    max-width: 800px;
    font-size: 18px;
    line-height: 2.2;
    letter-spacing: 0.05em;
}

.page-feature .intro-text-block p {
    margin: 0;
}

@media (max-width: 640px) {
    .page-feature .intro-text-block {
        text-align: left;
        font-size: 16px;
    } 

    .page-feature .intro-text-block .pc-break {
        display: none;
    }
}

   .page-feature .content-area {
    margin-bottom: 40px;
    background-color: #fffded;
    font-size: 20px;
    line-height: 2.0;
    letter-spacing: 0.05em;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-feature .content-area img {
    max-width: 100%;
    height: auto;
}

.page-feature .content-area p {
    width: 100%;
    text-align: left;
}

.page-feature .feature-text,
.page-feature .feature-card > p,
.page-feature .column > p {
    text-indent: 1em;
}

/* --- コンテンツ内余白 --- */
.page-feature .content-area > img.content-img {
    display: block;
}

.page-feature .content-area img[src*="feature-01-midashi_01.png"] {
    margin-bottom: 10px;
}

/* --- PC/SP 表示切り替え --- */
.page-feature .pc-only {
    display: block;
}
.page-feature .sp-only {
    display: none;
}

@media (max-width: 640px) {
    .page-feature .pc-only {
        display: none;
    }
    .page-feature .sp-only {
        display: block;
    }
    /* SP画像サイズ調整 */
    .page-feature .sp-only img {
        width: auto;
        max-width: 100%;
        margin: 0 auto;
    }
}

/* feature-01-image_01.png の下の余白調整 */
.page-feature .content-area .content-img:has(+ .feature-section-02),
.page-feature .content-area picture:has(+ .feature-section-02) {
    margin-bottom: 60px;
}

/* --- feature-row レイアウト (PC) --- */
.page-feature .feature-row {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-top: 20px;
}

.page-feature .feature-row .col-left {
    flex: 0 0 55%; /* 左カラムを少し広げる */
    margin-top: -60px; /* 上にずらす */
}

.page-feature .feature-row .col-right {
    flex: 1;
}

.page-feature .feature-row img {
    width: 100%;
    height: auto;
}

.page-feature .feature-caption {
    margin-top: 15px;
    font-size: 14px;
    line-height: 1.8;
    text-align: left;
    text-indent: 0.5em;
}

/* --- SP用レイアウト調整 --- */
.page-feature .sp-only img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    width: auto;
}

.page-feature .sp-only .feature-caption {
    text-align: left;
    margin-top: 20px;
    margin-bottom: 40px;
}

.page-feature .note-text {
    font-size: 14px;
    color: #555;
    margin-top: 16px;
}

.page-feature .note-text + img.content-img {
    margin-top: 60px;
}

.page-feature .content-img + .content-img {
    margin-top: 60px;
}

.page-feature .midashi-02,
.page-feature .midashi-03 {
    margin-top: 100px !important;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 5px;
}









.page-feature .align-left {
    align-self: flex-start;
    width: 100%;
}





.page-feature .sp-colored-block {
    background-color: #ebf8f5;
    padding: 20px 0;
    margin-top: 30px;
    text-align: center;
    box-sizing: border-box;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.page-feature .sp-colored-block img {
    margin-bottom: 20px;
    margin-top: 0 !important; /* 隣接セレクタによるmargin-top: 60pxを打ち消し */
    width: auto;
    max-width: 95%;
    height: auto;
}

.page-feature .sp-colored-block img:last-child {
    margin-bottom: 0;
}

.page-feature .sp-colored-block img[src*="feature-sp-04-image_02.png"] {
    max-width: 90%;
}

.page-feature .margin-bottom-large {
    margin-bottom: 40px !important;
}

.page-feature .reference-text {
    font-size: 10px;
    text-align: center;
    margin-top: 10px;
    margin-bottom: 0;
}

@media (max-width: 640px) {
    .page-feature .margin-bottom-large {
        margin-bottom: 40px !important;
    }
}



/* --- 特集ページのレスポンシブ --- */
@media (max-width: 640px) {
    .page-title-wrapper {
        margin-bottom: 40px;
    }

    .page-feature .midashi-02,
    .page-feature .midashi-03 {
        margin-top: 50px !important;
    }
    
    .page-feature .content-area {
        font-size: 16px;
        width: 96%;
        padding-top: 10px;
        padding-left: 0;
        padding-right: 0;
    }


    

}


/* ===================================
   インタビューページ (interview.php) のスタイル
   =================================== */

   .page-interview .main-content {
    padding-top: 0;
}

.interview-title-block {
    background-color: #fceef4;
    padding: 80px 0;
    text-align: center;
}

.page-interview .content-area {
    /* ベースの .content-area のスタイルを上書き */
    max-width: none;
    width: 100%;
    border-radius: 0;
    margin-bottom: 0;
    padding: 40px 0; /* 上下の余白のみ設定 */
    
    /* インタビューページ固有のスタイル */
    font-size: 20px;
    line-height: 2.0;
    letter-spacing: 0.05em;
}

.content-inner {
    max-width: 880px;
    width: 96%;
    margin: 0 auto;
}

.content-inner img {
    max-width: 100%;
    height: auto;
}

.profile-section {
    display: flex;
    flex-direction: row-reverse;
    align-items: flex-start;
    gap: 30px;
    margin-bottom: 80px;
}

.profile-left {
    width: calc(50% - 15px);
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.profile-left p {
    margin: 0;
}

.profile-left img[src*="interview-01-image_01.png"] {
    width: 100%;
    max-width: 220px;
    height: auto;
}

.profile-left a[href*="jinken-movie_01.mp4"] img {
    width: 100%;
    max-width: 229px;
    height: auto;
}

.profile-right {
    width: calc(50% - 15px);
}

.interview-article {
    margin-bottom: 60px;
}

.interview-article > picture {
    display: block; /* pictureタグが正しく幅を持つように */
    margin-bottom: 30px;
}
.interview-article > picture > img {
    display: block; /* imgの下の余白を消す */
}


.article-text p {
    text-indent: 1em;
    margin-top: 0;
    margin-bottom: 0.5em; /* 段落下の余白を調整 */
}

.hobby-section {
    position: relative;
    margin-top: 60px;
    padding-top: 40px; /* 重なる画像分の上部スペース確保 */
}

.hobby-box {
    background-color: #d7edff;
    max-width: 780px;
    margin: 0 auto 120px;
    padding: 10px 0;
    text-align: center;
}

.hobby-catchphrase {
    position: absolute;
    top: 50px;
    left: 90px;
    transform: translateY(-50%);
    z-index: 1;
}

.hobby-heading {
    margin: 10px 0;
}

.hobby-text {
    text-indent: 1em;
    text-align: left;
    padding: 0 40px;
    margin-bottom: 30px;
}

/* ===================================
   インタビューページ (interview.php) のレスポンシブ
   =================================== */

@media (max-width: 780px) {
    .page-interview .hobby-catchphrase {
        left: 0;
    }
}

@media (max-width: 640px) {
    .page-interview .content-area {
        font-size: 16px;
    }

    .page-interview .profile-section {
        flex-direction: column;
        align-items: center; 
    }

    .page-interview .profile-left,
    .page-interview .profile-right {
        width: 100%;
    }

    .page-interview .profile-right {
        text-align: center;
    }

    .page-interview .profile-left {
        align-items: center;
    }

    .page-interview .profile-left p {
        text-align: left;
    }
    
    /* --- 親要素の並び替え --- */
    .page-interview .profile-right {
        order: 1;
    }
    .page-interview .profile-left {
        order: 2;
    }

    /* --- .profile-left内の要素の並び替え --- */
    .page-interview .profile-left p {
        order: 1;
    }
    .page-interview .profile-left a[href*="jinken-movie_01.mp4"] {
        order: 2;
    }
    .page-interview .profile-left .interview-scene-photo {
        order: 3;
        width: 100%;
        text-align: center;
    }

    /* --- PC用のmax-widthをスマホ表示で上書き --- */
    .page-interview .profile-left img[src*="interview-01-image_01.png"] {
        max-width: 300px;
    }
}



/* ===================================
   案内ページ (guidance.php) のスタイル
   =================================== */

   .page-guidance .site-container {
    background-color: #ffffdb;
}

.page-guidance .main-content {
    background-image: url('common/images/guidance-bg_01.png');
    background-repeat: repeat-y;
    background-position: center top;
    
    padding: 0 40px 0 40px;
    box-sizing: border-box;

    display: flex;
    flex-direction: column;
}

.guidance-inner {
    max-width: 1000px;
    width: 100%;
    background-color: #FFFFFF;
    margin: 60px auto 0;
    padding: 1px 0; 
    
    flex-grow: 1;
}

.guidance-content {
    max-width: 780px;
    margin: 0 auto;
    padding-bottom: 0;
}

.guidance-content img {
    max-width: 100%;
    height: auto;
}

/* --- 新しいフェス用スタイル --- */
.guidance-fes-title {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 40px;
    margin-top: 70px;
}

.stage-event-section {
    margin-bottom: 60px;
}

.stage-event-heading {
    background-color: #ea5514; /* オレンジ色 */
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 30px;
    margin-top: 0;
    line-height: 1.4;
}

.stage-event-list {
    margin-bottom: 40px;
}

.event-row {
    display: flex;
    align-items: baseline;
    padding: 10px 0;
    gap: 20px;
}

.event-time {
    color: #00b8ee;
    font-weight: bold;
    font-size: 24px;
    flex-shrink: 0;
    width: 80px;
    font-family: "Roboto", sans-serif;
}

.event-name {
    color: #231815;
    font-weight: bold;
    font-size: 18px;
    line-height: 1.5;
}

.separator-img {
    width: 100%;
    height: auto;
    display: block;
    margin: 5px 0;
}

.sp-break {
    display: none;
}

.fes-bottom-columns {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.fes-col-left {
    flex: 1;
}

.fes-col-right {
    flex: 1;
}

.other-events-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.other-events-list li {
    position: relative;
    padding-left: 1.5em;
    margin-bottom: 10px;
    font-weight: bold;
    color: #231815;
    font-size: 16px;
}

.other-events-list li::before {
    content: "●";
    color: #00b8ee;
    position: absolute;
    left: 0;
    top: 0;
}

.check-box {
    background-color: #fff000;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
}

.check-inner {
    display: inline-block;
    text-align: left;
    max-width: 100%;
}

.check-title-img {
    width: auto;
    max-width: 100%;
    height: auto;
    display: block;
    margin-bottom: 10px;
}

.check-content {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
}

.check-note {
    font-size: 12px;
    font-weight: bold;
    text-align: left;
    margin: 0;
    line-height: 1.4;
}

.check-link-area {
    display: flex;
    align-items: center;
    gap: 5px;
}

.check-btn img {
    height: 30px;
    width: auto;
}

.guidance-section-divider {
    width: 100%;
    height: 1px;
    background-color: #828282;
    margin-top: 80px;
    border: none;
}

.guidance-main-title {
    display: block;
    margin: 80px auto 0;
    max-width: 100%;
    height: auto;
}

/* --- 以前のコンテンツ用スタイル (復元) --- */


.guidance-intro-text {
    text-align: center;
    margin-top: 40px;
    font-size: 16px;
    font-weight: bold;
    line-height: 2;
}

.guidance-intro-text .mobile-break {
    display: none;
}

.text-highlight {
    color: #e40012;
}

.media-showcase {
    display: flex;
    gap: 30px;
    margin-top: 60px;
    align-items: flex-start;
}

.showcase-item {
    flex: 1;
}

.showcase-item > img:first-child {
    margin-bottom: 18px;
    display: block;
    width: 100%;
}

.item-content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.item-icon-wrapper {
    flex-shrink: 0;
}

.item-text-content {
    width: 100%;
    text-align: center;
}

.item-text-content > img {
    margin-bottom: 10px;
    display: inline-block;
}

.item-text-content p {
    font-size: 14px;
    text-align: left;
    line-height: 1.6;
    width: 100%;
    margin-top: 3px;
    padding: 0 25px;
    box-sizing: border-box;
}

.schedule-section {
    margin-top: 60px;
}

.schedule-heading-wrapper {
    margin-bottom: 30px;
}

.schedule-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.schedule-table th,
.schedule-table td {
    border: 1px solid #ccc;
    padding: 6px;
    text-align: left;
    vertical-align: middle;
    line-height: 1.2;
    letter-spacing: 0.05em;
}

.schedule-table th {
    background-color: #ef8200;
    color: #FFFFFF;
    font-weight: bold;
    text-align: center;
}

.schedule-table td {
    background-color: #fffbda;
}

/* --- 列の幅を指定 --- */
.schedule-table th:nth-child(1), .schedule-table td:nth-child(1) { width: 30%; }
.schedule-table th:nth-child(2), .schedule-table td:nth-child(2) { width: 30%; }
.schedule-table th:nth-child(3), .schedule-table td:nth-child(3) { width: 15%; }
.schedule-table th:nth-child(4), .schedule-table td:nth-child(4) { width: 15%; }

/* --- 列ごとの文字スタイルを指定 --- */
.schedule-table td:nth-child(1) { font-size: 13.5px; font-weight: bold; }
.schedule-table td:nth-child(2) { font-size: 11px; font-weight: normal; }
.schedule-table td:nth-child(3) { font-weight: normal; }
.schedule-table td:nth-child(4) { font-size: 12px; font-weight: normal; }

/* --- 日時セルの文字スタイル --- */
.schedule-table .date {
    font-size: 12px;
    font-weight: normal;
}
.schedule-table .time {
    font-size: 11px;
    font-weight: normal;
}



.table-note {
    font-size: 12px;
    margin-top: 15px;
    line-height: 1.5;
}

.table-note .mobile-only-break {
    display: none;
}

.schedule-list-mobile {
    display: none;
}

.access-section {
    margin-top: 70px;
    padding-bottom: 70px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    gap: 20px 30px;
    grid-template-areas: 
        "heading1 map"
        "buttons  map"
        "heading2 map"
        "text     map"
        "button3  map";
}

.access-heading-1 { grid-area: heading1; }
.button-group { grid-area: buttons; }
.access-map { grid-area: map; align-self: start; }
.access-heading-2 { grid-area: heading2; }
.access-text { grid-area: text; }
.access-button { grid-area: button3; }

.button-group {
    display: flex;
    gap: 10px;
}

.access-text p {
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}


/* --- 案内ページのレスポンシブ --- */
@media (max-width: 780px) {
    .guidance-content {
        width: 96%;
    }
}

@media (max-width: 640px) {
    .guidance-inner {
        margin-top: 0;
    }

    .guidance-fes-title {
        margin-bottom: 30px;
        margin-top: 10px;
    }

    .stage-event-heading {
        font-size: 16px;
        padding: 8px 15px;
        margin-bottom: 20px;
    }

    .event-row {
        gap: 10px;
        padding: 8px 0;
    }

    .event-time {
        font-size: 16px;
        width: 50px;
    }

    .event-name {
        font-size: 13px;
    }

    .fes-bottom-columns {
        flex-direction: column;
        gap: 40px;
        align-items: stretch;
    }

    .check-inner {
        text-align: center;
    }

    .check-content {
        flex-direction: column;
        gap: 10px;
        align-items: center;
        justify-content: center;
    }

    .check-note {
        text-align: center;
    }

    .check-note .pc-only {
        display: none;
    }

    .check-btn img {
        height: 28px;
    }

    .sp-break {
        display: block;
    }

    .event-name {
        font-size: 13px;
    }

    .other-events-list li {
        font-size: 13px;
    }

    .guidance-section-divider {
        margin-top: 40px;
    }

    .guidance-main-title {
        margin-top: 40px;
    }

    /* --- メディアショーケースのレスポンシブ (復元) --- */
    .item-content-wrapper {
        flex-direction: row;
        align-items: flex-start;
        gap: 15px;
    }

    .item-text-content {
        text-align: left;
    }

    .item-text-content > img {
        margin-bottom: 5px;
        display: block;
    }

    .item-text-content p {
        padding: 0;
    }

    /* --- 以前のコンテンツ用レスポンシブ (復元) --- */
    .guidance-intro-text {
        text-align: left;
    }

    .guidance-intro-text .pc-break {
        display: none;
    }
    
    .guidance-intro-text .mobile-break {
        display: initial;
    }

    .media-showcase {
        flex-direction: column;
        gap: 40px;
    }
    
    .showcase-item {
        width: 96%;
        margin-left: auto;
        margin-right: auto;
    }

    .showcase-item > img:first-child {
        width: 100%;
        margin-bottom: 20px;
    }
    
    .item-text-content p {
        width: 100%;
        margin-top: 3px;
    }
    
    .schedule-section {
        width: 100vw;
        margin-left: calc(50% - 50vw);
        background-color: #fffad9;
        padding: 40px 12%;
        box-sizing: border-box;
    }
    
    .schedule-heading-wrapper {
        background-color: #FFFFFF;
        padding: 10px 16px;
        display: inline-block;
        margin-bottom: 30px;
    }

    .table-wrapper {
        display: none;
    }

    .schedule-list-mobile {
        display: block;
    }

    .table-note .mobile-only-break {
        display: initial;
    }

    .schedule-card {
        border-bottom: 1px solid #999;
        padding-bottom: 20px;
        margin-bottom: 20px;
    }
    .schedule-card:last-child {
        border-bottom: none;
        margin-bottom: 0;
    }

    .card-section {
        margin-bottom: 15px;
    }
    .card-section:last-child {
        margin-bottom: 0;
    }

    .card-heading {
        background-color: #00adea;
        color: #FFFFFF;
        font-size: 12px;
        padding: 4px 8px;
        border-radius: 0;
        display: inline-block;
        margin: 0 0 8px 0;
    }

    .card-heading-orange {
        background-color: #ef8200;
    }
    
    .card-title-text {
        font-weight: bold;
        font-size: 16px!important;
    }
    
    .schedule-list-mobile p {
        font-size: 14px;
        line-height: 1.6;
        margin: 0;
    }

    .access-section {
        display: flex;
        flex-direction: column;
        gap: 20px;
        align-items: center;
        width: 100vw;
        margin-top: 0;
        margin-left: calc(50% - 50vw);
        background-color: #fffad9;
        padding: 40px 14%;
        box-sizing: border-box;
    }
    
    .access-item {
        width: 100%;
        max-width: 400px;
    }

    .access-heading-1 { order: 1; }
    .button-group { order: 2; }
    .access-map {
        order: 3;
        align-self: auto;
        text-align: center;
    }
    .access-heading-2 { order: 4; }
    .access-text { order: 5; }
    .access-button { order: 6; }
}

.text-center {
    text-align: center !important;
}

/* --- 汎用クラス --- */
.emphasis-dot {
    /* text-emphasis は使用せず ruby タグで制御 */
    text-emphasis: none;
    -webkit-text-emphasis: none;
}

.emphasis-dot rt {
    font-size: 0.25em; /* ドットのサイズ調整 (0.5emが標準) */
    color: #231815;   /* 本文色に合わせる */
    text-align: center;
    position: relative;
    top: -5px; /* 本文との距離を調整 */
}
