/* リセットCSS */
*, *:before, *:after {
  box-sizing: border-box;
}
body, h1, h2, p, ul, ol, li, figure, img {
  margin: 10;
  padding: 0;
  border: 0;
}

ul, ol {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

a:hover {
  text-decoration: underline;
}

/* 全体のスタイル */
body {
  font-family: Arial, Roboto, "Droid Sans", "Yu Gothic", "游ゴシック", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif;
  line-height: 1.4;
  color: #333;
  background-color: #ddd;
}

/* ヘッダー */
#header {
  display: none; /* PC表示ではヘッダー非表示 */
}

/* コンテナ */
.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 15px;
  display: flex;
}

.main-content {
  width: 75%;
  order: 2;
  padding: 20px;
}

.news-item {
  margin-bottom: 30px;
}

.lead {
  font-weight: bold;
  color: #666;
  margin-bottom: 10px;
}

/* メイン画像 */
.main-image {
  width: 75%;
  order: 2; /* PC表示では右側 */
}

.main-image img {
  max-width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  .main-content {
    width: 100%;
    order: 1;
    padding: 10px 0;
  }
	}

/* 作品 */
.work-detail {
    padding: 20px 0;
}

.work-info, .work-description {
    margin-bottom: 30px;
    line-height: 1.6;
}

.work-images, .performance-images {
    margin-bottom: 40px;
}

.work-images img, .performance-images img {
    max-width: 100%;
    height: auto;
    display: block;
    margin-bottom: 15px;
}

/* 作品説明文の下に間隔を追加 */
.work-images p {
    margin-bottom: 30px;
    line-height: 1.5;
}

.performance-section {
    margin-top: 40px;
}

.performance-section h3 {
    font-size: 16px;
    margin-bottom: 15px;
    font-weight: bold;
}

@media (max-width: 768px) {
    .work-detail {
        padding: 10px 0;
    }
    
    .work-info, .work-description, .performance-section {
        margin-bottom: 20px;
    }
}

/* bio */

.biography-content {
    padding: 20px 0;
    line-height: 1.6;
}

.biography-section, .biography-section-en {
    margin-bottom: 40px;
}

.exhibition-category {
    margin-bottom: 30px;
}

.exhibition-category h5 {
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
}

.exhibition-list {
    margin-left: 0;
}

.artist-name {
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .biography-content {
        padding: 10px 0;
    }
    
    .biography-section, .biography-section-en {
        margin-bottom: 30px;
    }
    
    .exhibition-category {
        margin-bottom: 20px;
    }
}

/* サイドバー */
.sidebar {
  width: 25%;
  padding-right: 20px;
  order: 1; /* PC表示では左側 */
}

/* サイト名 */
.site-title h2 {
  font-size: 18px;
  line-height: 1.2;
  margin-bottom: 1em;
}

.site-title p {
  margin-bottom: 20px;
}

/* ナビゲーション */
.main-nav a {
  display: block;
  padding: 5px 0;
  color: #000; 
  font-size: 14px;
}

.main-nav a.active {
  color: #999999;
  font-weight: normal;
}

/* フッター */
footer {
  text-align: center;
  padding: 20px 0;
  font-size: 12px;
  color: #b3b3b3;
}

/* モバイルメニュートグル - PC表示では非表示 */
.mobile-menu-toggle {
  display: none;
}

/* レスポンシブ対応 (メディアクエリ) */
@media (max-width: 768px) {
  /* モバイル表示ではヘッダーを表示 */
  #header {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #ddd;
    padding: 10px 15px;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  }
  
  .mobile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .mobile-header h1 {
    font-size: 16px;
    line-height: 1.2;
  }
  
  .mobile-header p {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: block;
    cursor: pointer;
    padding: 5px 10px;
    border: 1px solid #fff;
  }
  
  /* コンテンツを下げる */
  .container {
    margin-top: 60px;
    flex-direction: column;
  }
  
  /* メイン画像を上に */
  .main-image {
    width: 100%;
    order: 1;
  }
  
  /* サイドバーをモバイルメニューに */
  .sidebar {
    width: 100%;
    order: 2;
    padding: 20px 0;
  }
  
  /* PCでのみ表示するサイト名を非表示 */
  .site-title {
    display: none;
  }
  
 /* モバイルメニューを固定位置に */
  .sidebar {
    display: none;
    position: fixed;
    top: 60px; /* ヘッダーの高さ分 */
    left: 0;
    width: 100%;
    height: calc(100vh - 60px); /* ヘッダーを除いた全画面 */
    background: #ddd;
    z-index: 999; /* ヘッダーより下、コンテンツより上 */
    padding: 20px 15px;
    overflow-y: auto; /* メニューが長い場合のスクロール */
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  }
  
  .sidebar.show-mobile-menu {
    display: block; /* メニュートグルでクリックすると表示 */
  }
	
/* メインコンテンツの調整 */
  .main-content {
    width: 100%;
    order: 1;
    padding: 10px 15px;
  }
	
.site-title-mobile h1 a {
    color: inherit;
    text-decoration: none;
}
	
　.site-title-mobile h1 a:hover {
    text-decoration: none;
}
	
	/* ハンバーガーアイコン */
.hamburger {
    display: inline-block;
    width: 24px;
    height: 18px;
    position: relative;
    cursor: pointer;
}

.hamburger,
.hamburger::before,
.hamburger::after {
    background-color: #333;
    height: 2px;
    border-radius: 1px;
    transition: all 0.3s ease;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    bottom: -8px;
}

/* メニューが開いているときの×印 */
.show-mobile-menu .hamburger {
    background-color: transparent;
}

.show-mobile-menu .hamburger::before {
    transform: rotate(45deg);
    top: 0;
}

.show-mobile-menu .hamburger::after {
    transform: rotate(-45deg);
    bottom: 0;
}
	
}