@charset "utf-8";
/* CSS Document */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}

:focus {
	outline: 0;
}

ins {
	text-decoration: none;
}
del {
	text-decoration: line-through;
}

img {
	vertical-align:bottom;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

a{
	color:#003399;
	text-decoration:none;
}

/* 初期化終了 */

html{
	background-color:#fcfcfc;
	font-family:'ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro','メイリオ',Verdana,'ＭＳ Ｐゴシック',sans-serif;
	font-size: 62.5%;
}

body {
	font-size: 12px; 
	font-size: 1.2rem;
	line-height:150%;
	color:#2e2a2b;
}

#container #header{
	width:970px;
	height:238px;
	margin-left:auto;
	margin-right:auto;
	margin-top:20px;
}

#container #header .logo{
	padding-top:40px;
	float:left;
}


#container #header #global_navi{
	float:right;
	width:414px;
}

#container #header #global_navi ul{
	width:414px;
}

#container #header #global_navi ul li{
	float:left;
}

#container #main_img_wrap{
	background-color:#020306;
	height:302px;
}

#container #main_img_wrap #main_img{
	width:1118px;
	margin-left:auto;
	margin-right:auto;
}

#container #main_img_wrap #main_img img{
	margin-left:74px;
}

#container #content_wrap{
	border-top:solid #e4e2e1 1px;
}

#container #content{
	width:970px;
	margin-left:auto;
	margin-right:auto;
	padding-top:50px;
}

#container #content #left_content{
	width:285px;
	float:left;
}

#container #content #left_content h2{
	padding-left:25px;
}

#container #content #right_content{
	width:633px;
	padding-left:26px;
	padding-right:26px;
	float:left;
}

#container #content #under_content{
	width:970px;
}

#container #footer{
	width:970px;
	margin-left:auto;
	margin-right:auto;
	color:#656263;
	margin-top:40px;
	
}

#container #footer p{
	font-size: 11px; 
	font-size: 1.1rem;
}


#container #footer p.info_title{
	font-size: 10px; 
	font-size: 1.0rem;
	color:#bcbbbb;
	line-height:200%;
	border-left:#d7d7d7 solid 1px;
	padding:0px 15px;
}

#container #footer p.info{
	line-height:200%;
	border-left:#d7d7d7 solid 1px;
	padding:5px 15px;
	width:280px;
	float:left;
}

#container #footer p.address{
	text-align:center;
	margin:60px 0px;
	color:#999696;
}

#container #footer a.up{
	float:right;
}

br.clear {
    clear: both;
    font-size: 0px;
    line-height: 0%;
    height: 0px
}




/* ============================================
   レスポンシブ対応 (追加: 2024)
   ブレークポイント: 768px以下をスマホ表示
   ============================================ */

/* 画像の最大幅制御（全幅対応） */
img {
    max-width: 100%;
    height: auto;
}

@media screen and (max-width: 768px) {

    /* --- コンテナ全体 --- */
    #container {
        width: 100%;
        overflow-x: hidden;
    }

    /* --- ヘッダー --- */
    #container #header {
        width: 100%;
        height: auto;
        margin-top: 0;
        padding: 12px 15px;
        box-sizing: border-box;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    #container #header .logo {
        float: none;
        padding-top: 0;
    }

    #container #header .logo {
        width: 180px;
        height: auto;
    }

    /* --- グローバルナビ（PC用画像ナビを非表示） --- */
    #container #header #global_navi {
        float: none;
        width: auto;
    }

    #container #header #global_navi ul {
        width: auto;
    }

    /* PC用の画像ナビボタンを非表示 */
    #container #header #global_navi ul li img {
        display: none;
    }

    /* モバイル用テキストナビを表示 */
    #mobile-nav {
        display: block !important;
        width: 100%;
        background-color: #2e2a2b;
        padding: 0;
    }

    #mobile-nav ul {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
        flex-wrap: wrap;
    }

    #mobile-nav ul li {
        flex: 1 1 50%;
        box-sizing: border-box;
        border-right: 1px solid #555;
        border-bottom: 1px solid #555;
    }

    #mobile-nav ul li:nth-child(even) {
        border-right: none;
    }

    #mobile-nav ul li a {
        display: block;
        color: #ffffff !important;
        text-decoration: none;
        font-size: 13px;
        font-size: 1.3rem;
        padding: 12px 8px;
        text-align: center;
        line-height: 1.4;
    }

    #mobile-nav ul li a:hover,
    #mobile-nav ul li a.current {
        background-color: #a9111e;
        color: #ffffff !important;
    }

    /* PC用ナビを非表示 */
    #container #header #global_navi {
        display: none;
    }

    /* --- メインビジュアル --- */
    #container #main_img_wrap {
        height: auto;
    }

    #container #main_img_wrap #main_img {
        width: 100%;
    }

    #container #main_img_wrap #main_img picture {
        display: block;
        width: 100%;
    }

    #container #main_img_wrap #main_img img {
        display: block;
        width: 100%;
        height: auto;
        margin-left: 0;
    }

    /* --- コンテンツエリア --- */
    #container #content {
        width: 100%;
        padding: 20px 15px;
        box-sizing: border-box;
    }

    /* 左カラム（サイドナビ）をフル幅・上部に */
    #container #content #left_content {
        width: 100%;
        float: none;
        margin-bottom: 20px;
    }

    #container #content #left_content h2 {
        padding-left: 0;
        text-align: center;
    }

    #container #content #left_content h2 img {
        display: block;
        width: auto;
        max-width: 200px;
        margin-left: auto;
        margin-right: auto;
    }

    /* 下層ページのタイトルテキストを中央揃え */
    #container #content #right_content > h3,
    #container #content #right_content > h3 + p {
        text-align: center;
    }

    /* 右カラム（メインコンテンツ）をフル幅に */
    #container #content #right_content {
        width: 100%;
        float: none;
        padding-left: 0;
        padding-right: 0;
        box-sizing: border-box;
    }

    #container #content #under_content {
        width: 100%;
    }

    #container #content #under_content img {
        margin: 20px 10px;
        max-width: calc(50% - 20px);
    }

    /* --- フッター --- */
    #container #footer {
        width: 100%;
        margin-top: 20px;
        padding: 15px;
        box-sizing: border-box;
    }

    #container #footer p.info {
        width: 100%;
        float: none;
        margin-bottom: 10px;
    }

    #container #footer p.address {
        margin: 20px 0;
    }

    #container #footer a.up {
        float: none;
        display: block;
        text-align: right;
        margin-bottom: 10px;
    }

}

/* ============================================
   財団の活動：事業報告（スマホ表示・再調整）
   日付(dt)＋内容(dd)を1項目として表示
   ============================================ */
@media screen and (max-width: 768px) {

    /* 事業報告リスト全体 */
    #container #content #right_content dl {
        display: block;
        width: 100%;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box;
    }

    /* 日付：罫線を完全に削除 */
    #container #content #right_content dl dt {
        display: block !important;
        float: none !important;
        clear: both;
        width: 100% !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 22px 0 7px !important;
        border: 0 !important;
        border-top: 0 !important;
        border-right: 0 !important;
        border-bottom: 0 !important;
        border-left: 0 !important;
        box-sizing: border-box;
        line-height: 1.7 !important;
    }

    /* タイトル・説明文：このブロック下だけに罫線 */
    #container #content #right_content dl dd {
        display: block;
        float: none !important;
        width: 100% !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 0 22px !important;
        border: 0 !important;
        border-bottom: 1px solid #d9d9d9 !important;
        box-sizing: border-box;
        line-height: 1.9 !important;
    }

    /* 罫線から日付までの余白を、説明文から罫線までと同じ22pxに統一 */
    #container #content #right_content dl dt:first-of-type {
        padding-top: 22px !important;
    }

    /* 最後の説明欄にも同じ罫線を維持 */
    #container #content #right_content dl dd:last-child {
        border-bottom: 1px solid #d9d9d9 !important;
    }

    /* dd内のタイトルがstrong等で指定されている場合の間隔 */
    #container #content #right_content dl dd strong,
    #container #content #right_content dl dd b {
        display: block;
        margin: 0 0 7px !important;
        line-height: 1.6 !important;
    }

    /* 改行直後の文章が詰まりすぎないよう調整 */
    #container #content #right_content dl dd br {
        line-height: 1.8;
    }
}

/* ============================================
   きものショー：過去のきものショー（スマホ表示・再調整 v2）
   見出しは上部に1回だけ表示し、各開催回は縦並び
   ============================================ */
@media screen and (max-width: 768px) {

    /* 過去のきものショーの表全体 */
    #container #content #right_content h4 + table {
        width: 100% !important;
        border-collapse: collapse !important;
        border-spacing: 0 !important;
        table-layout: fixed;
    }

    /* ヘッダー行は上部に1か所だけ表示 */
    #container #content #right_content h4 + table tr:first-child {
        display: flex !important;
        flex-wrap: wrap;
        justify-content: space-between;
        row-gap: 8px;
        width: 100%;
        margin: 0 0 8px !important;
        padding: 0 0 18px !important;
        border-bottom: 1px solid #d9d9d9 !important;
        box-sizing: border-box;
    }

    #container #content #right_content h4 + table tr:first-child th {
        display: block !important;
        width: calc(50% - 8px) !important;
        padding: 0 !important;
        margin: 0 !important;
        border: 0 !important;
        background: transparent !important;
        font-size: 1.2rem !important;
        line-height: 1.6 !important;
        color: #7d7a7a !important;
        font-weight: bold !important;
        text-align: left !important;
        box-sizing: border-box;
    }

    /* データ行は1開催回ごとに縦並び */
    #container #content #right_content h4 + table tr:not(:first-child) {
        display: block !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 22px 0 !important;
        border-bottom: 1px solid #d9d9d9 !important;
        box-sizing: border-box;
    }

    /* セルの共通設定：罫線は会場の下だけになるよう個別セルの線は削除 */
    #container #content #right_content h4 + table tr:not(:first-child) td {
        display: block !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
        text-align: left !important;
        vertical-align: top !important;
        box-sizing: border-box;
        line-height: 1.9 !important;
    }

    /* 開催年 */
    #container #content #right_content h4 + table tr:not(:first-child) td:nth-child(1) {
        font-size: 1.7rem !important;
        font-weight: bold !important;
        line-height: 1.5 !important;
        margin-bottom: 16px !important;
    }

    /* 制作テーマ */
    #container #content #right_content h4 + table tr:not(:first-child) td:nth-child(2) {
        font-size: 1.6rem !important;
        line-height: 1.8 !important;
        margin-bottom: 16px !important;
    }

    /* ゲスト */
    #container #content #right_content h4 + table tr:not(:first-child) td:nth-child(3) {
        font-size: 1.6rem !important;
        line-height: 1.8 !important;
        margin-bottom: 16px !important;
        color: #2e2a2b !important;
    }

    /* ゲストが空白のときは詰める */
    #container #content #right_content h4 + table tr:not(:first-child) td:nth-child(3):empty {
        display: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* 会場：この下だけに区切り線が来る */
    #container #content #right_content h4 + table tr:not(:first-child) td:nth-child(4) {
        font-size: 1.6rem !important;
        line-height: 1.8 !important;
        margin-bottom: 0 !important;
    }

    /* PC用の開催年改行はスマホでは無効化 */
    .show-year-break {
        display: none !important;
    }
}

/* ============================================
   スマホ用ハンバーガーメニュー
   ============================================ */
.menu-toggle {
    display: none;
}

@media screen and (max-width: 768px) {
    #container #header {
        position: relative;
        z-index: 1001;
    }

    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        flex: 0 0 44px;
        width: 44px;
        height: 44px;
        margin: 0;
        padding: 0;
        border: 0;
        background: transparent;
        cursor: pointer;
        appearance: none;
        -webkit-appearance: none;
    }

    .menu-toggle span {
        display: block;
        width: 26px;
        height: 2px;
        margin: 3px 0;
        background-color: #2e2a2b;
        transition: transform 0.25s ease, opacity 0.25s ease;
        transform-origin: center;
    }

    .menu-toggle.is-open span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .menu-toggle.is-open span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.is-open span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* 既存の常時表示指定を上書きし、開いたときだけ表示 */
    #mobile-nav,
    #mobile-nav[style] {
        display: none !important;
        position: absolute;
        top: 68px;
        left: 0;
        z-index: 1000;
        width: 100%;
        padding: 0;
        background-color: #2e2a2b;
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.18);
    }

    #mobile-nav.is-open,
    #mobile-nav.is-open[style] {
        display: block !important;
    }

    #mobile-nav ul {
        display: block;
        width: 100%;
    }

    #mobile-nav ul li,
    #mobile-nav ul li:nth-child(even) {
        width: 100%;
        border-right: 0;
        border-bottom: 1px solid #555;
    }

    #mobile-nav ul li:last-child {
        border-bottom: 0;
    }

    #mobile-nav ul li a {
        padding: 15px 20px;
        text-align: left;
    }
}


/* ============================================
   全ページ共通：フッターナビゲーション
   ============================================ */
#container #footer .footer-nav {
    width: 100%;
    margin: 0 0 28px;
    padding: 18px 0;
    border-top: 1px solid #d7d7d7;
    border-bottom: 1px solid #d7d7d7;
    box-sizing: border-box;
}

#container #footer .footer-nav ul {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}

#container #footer .footer-nav li {
    position: relative;
    margin: 0;
    padding: 0 22px;
}

#container #footer .footer-nav li + li::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 1px;
    height: 14px;
    background-color: #d7d7d7;
    transform: translateY(-50%);
}

#container #footer .footer-nav a {
    color: #656263;
    font-size: 13px;
    font-size: 1.3rem;
    line-height: 1.6;
    text-decoration: none;
}

#container #footer .footer-nav a:hover {
    color: #a9111e;
    text-decoration: underline;
}

@media screen and (max-width: 768px) {
    #container #footer .footer-nav {
        margin-bottom: 24px;
        padding: 14px 0;
    }

    #container #footer .footer-nav ul {
        justify-content: flex-start;
        gap: 0;
    }

    #container #footer .footer-nav li {
        width: 50%;
        padding: 9px 10px;
        box-sizing: border-box;
        text-align: center;
    }

    #container #footer .footer-nav li + li::before {
        display: none;
    }

    #container #footer .footer-nav li:nth-child(odd) {
        border-right: 1px solid #e4e2e1;
    }

    #container #footer .footer-nav li:nth-child(n+3) {
        border-top: 1px solid #e4e2e1;
    }

    #container #footer .footer-nav a {
        display: block;
        font-size: 14px;
        font-size: 1.4rem;
    }
}
