﻿/*--------------------------------------------------------------
# 全体設定
--------------------------------------------------------------*/
.header .container {
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
}
.main .container {
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
}
.footer .container {
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
}

/*--------------------------------------------------------------
# ID設定
--------------------------------------------------------------*/
#hero {
  background-image: url("../img/main_bg.jpg");
  background-repeat: no-repeat;
  background-position: center center;
  background-attachment: fixed;
  background-size: cover;
  margin: 0;
}

#news {
  background-color: #eaeae5;
  border-top: 1px solid #99827c;
  border-bottom: 1px solid #99827c;
  padding-top: 7em;
}

#about,
#info,
#caststaff,
#ticket,
#kikaku,
#note,
#flyer {
  position: relative; /* 疑似要素の基準点として指定 */
  background-image: url("../img/main_bg.jpg");
  background-repeat: no-repeat;
  background-position: center center;
  background-attachment: fixed;
  background-size: cover;
  margin: 0;
}

/*--------------------------------------------------------------
# セクション上部の区切り線
--------------------------------------------------------------*/
#about::before,
#info::before,
#caststaff::before,
#ticket::before,
#kikaku::before,
#note::before,
#flyer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 5%;
  width: 90%;
  height: 5px;
  background-color: var(--accent-color);
}

/*--------------------------------------------------------------
# リンクの文字色設定
--------------------------------------------------------------*/
:is(#news, #info, #caststaff, #ticket, #kikaku, #note, #flyer, #about .tab-content) a {
  color: var(--link-color);
}
:is(#news, #info, #caststaff, #ticket, #kikaku, #note, #flyer, #about .tab-content) a:hover {
  color: var(--link-hover);
  text-decoration: underline;
  text-decoration-thickness: 0.08em; /* 例：フォントサイズの8% */
  text-underline-offset: 0.15em; /* 少し離すとスッキリ */
}

/*--------------------------------------------------------------
# 文字設定
--------------------------------------------------------------*/
.lh-160 {
  line-height: 160%;
}
.lh-180 {
  line-height: 180%;
}
.lh-200 {
  line-height: 200%;
}
.fw-500 {
  font-weight: 500;
}
.fw-700 {
  font-weight: 700;
}
.lsp-1 {
  letter-spacing: 1px;
}

#about,
#info h2 {
  letter-spacing: 1px;
}

.serif {
  font-family: "Shippori Mincho", serif;
}

.notes {
  font-size: clamp(14px, 0.9em, 16px);
  font-weight: 400;
}
.notes-s {
  font-size: clamp(13px, 0.85em, 15px);
  font-weight: 400;
}
.notes-95 {
  font-size: clamp(14px, 0.95em, 18px);
  font-weight: 400;
}

div.notes {
  margin: 0.5em 0;
}

.text-right {
  text-align: right;
}

img.maxw-100 {
  max-width: 100%;
}

/*--------------------------------------------------------------
# 罫線設定
--------------------------------------------------------------*/
.border-bttom {
  border-bottom: 1px solid;
}

/*--------------------------------------------------------------
# dl dt dd設定（公演情報部分）
--------------------------------------------------------------*/
dl.data {
  margin: 1em 0;
}

dl.data dt {
  font-size: 85%;
  text-align: left;
  margin-bottom: 0.7em;
  padding: 0 4px 0 3px;
  display: inline-block;
  background-color: var(--accent-color);
  color: #fff;
  font-weight: 400;
}

dl.data dd {
  line-height: 180%;
  margin-bottom: 2.3em;
  margin-left: 0.2em;
}

dl.data-grey dt {
  background-color: #666;
  color: #ffffff;
  font-weight: 400;
}

/*--------------------------------------------------------------
# note-list設定（ノート部分）
--------------------------------------------------------------*/
.note-list {
  list-style: none;
  padding-left: 0.1em;
  color: var(--accent-color);
  line-height: 180%;
}
.note-list li {
  padding-bottom: 1em;
}

/*--------------------------------------------------------------
# フッター設定
--------------------------------------------------------------*/
.footer {
  background-color: #232323;
}
.footer .credits a {
  color: #ffffff;
  opacity: 0.7;
}
.footer .social-links a {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}
.footer .social-links a:hover {
  background: #ffffff;
  color: #232323;
}
.footer .social-links a .social-icon {
  width: 22px;
  height: 22px;
  display: inline-block;
  vertical-align: middle;
  filter: brightness(0) invert(1);
}
.footer .social-links a:hover .social-icon {
  filter: none;
}
/*--------------------------------------------------------------
# 区切り線のレスポンシブ対応
--------------------------------------------------------------*/
@media (max-width: 1199.98px) {
  #about::before,
  #info::before,
  #caststaff::before,
  #note::before,
  #flyer::before {
    width: 100%;
    left: 0;
  }
}

/*--------------------------------------------------------------
# ヘッダーのカスタマイズ
--------------------------------------------------------------*/

/* ヘッダーの基本背景色 */
.header {
  background-color: #232323;
  transition: all 0.5s;
}

/* スクロール後のヘッダー背景色 */
.scrolled .header {
  background-color: rgba(35, 35, 35, 0.95);
  box-shadow: 0px 0 18px rgba(0, 0, 0, 0.5);
}

/* サイトタイトルの文字色 */
.header .logo h1 {
  color: #ffffff;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

#info h4,
#info h1 {
  font-family: "Shippori Mincho", serif;
}

/* --- デスクトップ用ナビゲーションの文字色 --- */
@media (min-width: 992px) {
  /* 通常時のリンク色 */
  .navmenu a,
  .navmenu a:focus {
    color: rgba(255, 255, 255, 0.8);
  }

  /* ホバー時・アクティブ時のリンク色 */
  .navmenu a:hover,
  .navmenu li:hover > a {
    color: rgba(255, 255, 255, 0.65);
  }

  .navmenu .active,
  .navmenu .active:focus {
    color: #ffffff;
  }

  /* ホバー時の下線の色 */
  .navmenu > ul > li > a:before {
    background-color: #ffffff;
  }
}

/* --- モバイル用ナビゲーションのアイコン色 --- */
.mobile-nav-toggle {
  color: rgba(255, 255, 255, 0.8);
}

.mobile-nav-toggle:hover {
  color: #ffffff;
}

/*--------------------------------------------------------------
# heroのアニメ定義（デフォルトのふわふわはmain.cssに記載）
--------------------------------------------------------------*/
@keyframes bicycle-forward {
  0% {
    transform: translateX(0);
  }
  35% {
    transform: translateX(-4px);
  }
  50% {
    transform: translateX(-6px);
  }
  65% {
    transform: translateX(-4px);
  }
  100% {
    transform: translateX(0);
  }
}

.hero .animated-goto2 {
  margin-bottom: 60px;
  animation: bicycle-forward 4.8s ease-in-out infinite;
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  .hero .animated-goto2 {
    animation: none;
  }
}

/*--------------------------------------------------------------
# 文字関係の設定
--------------------------------------------------------------*/
.jisage {
  text-indent: 1em;
}
.nichiji {
  padding: 0 0.8rem;
  margin: 0 0.2rem;
  line-height: 200%;
  border-left: #636060 4px solid;
}



