@charset "utf-8";
/* schedule/page.html で使用するCSS */

body {
  background: #eee;
  font-family: "Noto Sans JP", sans-serif;
  color: #333;
  font-size: 1rem;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
  word-wrap: break-word;
}

* {
  box-sizing: border-box;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: #333;
  text-decoration: none;
  outline: none;
}

.news-body a:hover {
  color: #960021 !important; /* ホバー時のテキスト色を赤色に */
  text-decoration: underline; /* アンダーラインを表示 */
}

img {
  max-width: 100%;
  height: auto;
}

/* area */

#container {
  overflow-x: hidden;
  /*以下、IE11用*/
  z-index: 1;
  position: relative;
}

/* font-family */

h1,
h2,
#service .service-area section h3,
#g-nav,
#footer-link,
.scrolldown1 span,
#vidual-area dt,
.footer-logo {
  font-family: "Oswald", sans-serif;
  letter-spacing: 0.2em;
}

/* heading */

h2 {
  font-size: 2rem;
  margin: 0 0 50px 0;
  text-transform: uppercase;
}

/* header */

#header h1 a {
  color: #333;
}

#header h1 {
  position: absolute;
  top: 22px;
  left: 20px;
  text-transform: uppercase;
  font-size: 1rem;
  line-height: 1;
  white-space: nowrap;
}

.scrolldown1 span {
  transform: rotate(-90deg);
  text-transform: uppercase;
  left: -23px;
  top: -31px;
}

/* vidualarea */
#vidual-area {
  position: relative;
  height: 100vh;
  margin-top: 70px;
}

body.appear #vidual-area::after {
  content: "";
  background: #960021;
  width: 0;
  height: 0%;
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: -1;
}

#vidual-area #slider-area {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  z-index: -1; /*最背面へ*/
}

#vidual-area h2 {
  line-height: 1.5;
  text-transform: uppercase;
  font-size: 3vw;
  position: absolute;
  top: 36%;
  left: 5%;
}

/* #vidual-area dl の既存の配置ルールを維持 */
#vidual-area dl {
  position: absolute;
  left: 2%;
  bottom: 2%;
  /* ここに以前のdlの中央配置に関するflexboxプロパティを統合します */
  display: flex; /* dtとddを横並びにするためflexboxを使用 */
  flex-direction: row; /* dtとddを横に並べる */
  align-items: center; /* 縦方向の中央に揃える */
  gap: 20px; /* dtとddの間のスペース */
  color: #eee; /* dl全体の色を薄いグレーに */
}

/* dtとddをインラインブロックにする既存のルールを上書きして、dlのflexboxを活かす */
#vidual-area dt,
#vidual-area dd {
  /* display: inline-block; は削除または上書きされます。 */
  /* dlのflexboxによって制御されるため、個別のdisplay設定は不要です。 */
  /* ただし、dtが単独でテキストのため、display:inline-block;はそのまま保持しても影響は小さいです */
}

/* "Follow Us" テキストのスタイル */
#vidual-area dt {
  text-transform: uppercase; /* 既存のルールを保持 */
  color: #333; /* テキストの色を薄いグレーに */
  font-size: 1.2rem; /* フォントサイズを調整 */
  margin-bottom: 0; /* dtとddを横並びにするため、下マージンは不要 */
}

#vidual-area dd ul {
  /* アイコンリストのスタイル */
  list-style: none; /* リストのマーカーを削除 */
  padding: 0; /* デフォルトのパディングを削除 */
  margin: 0; /* デフォルトのマージンを削除 */
  display: flex; /* アイコンを横並びにするためフレックスコンテナに */
  justify-content: center; /* アイコンを水平方向の中央に配置 */
  gap: 10px; /* アイコン間のスペースを調整 */
}

#vidual-area dd ul li {
  /* リストアイテムの既存マージンを上書きして、gapを使用 */
  margin: 0; /* gapプロパティを使うため、liのマージンはリセット */
}

#vidual-area dd ul li a {
  /* 各アイコンリンクのスタイル（円形と色） */
  display: flex; /* アイコン自体を中央に配置するためフレックスコンテナに */
  justify-content: center; /* アイコンを水平方向の中央に配置 */
  align-items: center; /* アイコンを垂直方向の中央に配置 */
  width: 50px; /* 円の幅 */
  height: 50px; /* 円の高さ */
  border-radius: 50%; /* 円形にする */
  background-color: #333; /* 背景色を濃いグレーに */
  color: #eee; /* アイコンの色を薄いグレーに */
  text-decoration: none; /* 下線を削除 */
  font-size: 1.5rem; /* アイコンのサイズを調整 */
  transition: background-color 0.3s ease; /* ホバー時のアニメーション */
}

#vidual-area dd ul li a:hover {
  /* アイコンにマウスオーバーした時のスタイル */
  background-color: #555; /* ホバー時の背景色を少し明るく */
}

/* imgタグのアイコンは使用しないため、関連CSSは削除するかコメントアウト */
/* #vidual-area ul img{
    width:20px;
} */

/* レスポンシブ対応の調整 */
@media screen and (max-width: 960px) {
  #vidual-area {
    height: 90vh; /* 既存のルールを保持 */
  }
  #vidual-area #slider-area {
    width: 100%; /* 既存のルールを保持 */
    height: 90vh; /* 既存のルールを保持 */
  }
  #vidual-area h2 {
    font-size: 2.1rem; /* 既存のルールを保持 */
  }
  #vidual-area dl {
    left: 20px; /* 既存のルールを保持 */
    bottom: 16px; /* 既存のルールを保持 */
    /* モバイルではdlの並びを縦にする場合は、以下を追加 */
    /* flex-direction: column; */
    /* gap: 10px; */
  }
  #vidual-area dd ul {
    gap: 5px; /* モバイルでのアイコン間のスペースを調整 */
  }
  #vidual-area dd ul li a {
    width: 40px; /* モバイルでのアイコン円の幅を調整 */
    height: 40px; /* モバイルでのアイコン円の高さを調整 */
    font-size: 1.2rem; /* モバイルでのアイコンサイズを調整 */
  }
}

@media screen and (max-width: 450px) {
  #vidual-area h2 {
    font-size: 7vw;
    top: inherit;
    bottom: 13%;
  }
}

#service {
  padding: 10% 15% 0;
}

#service .back-button {
  position: absolute;
  right: 10%;
  font-size: 1rem; /* 例: フォントサイズ */
  line-height: 1.6; /* 例: 行の高さ */
  margin-top: -50px;
  margin-bottom: 30px; /* 例: 下部マージン */
  z-index: 100;
}

@media screen and (min-width: 1500px) {
  #service .back-button {
    right: 10%; /* または calc(1500px * 0.15); */
  }
}

@media screen and (max-width: 768px) {
  #service {
    padding: 10% 10% 0 10%;
  }
  #service .back-button {
    right: 10%; /* 768px以下の場合の右端からの割合 */
  }
}

@media screen and (max-width: 570px) {
  #service {
    padding: 10% 10% 0 10%;
  }
  #service .back-button {
    right: 30px; /* 570px以下の場合の右端からの固定値 */
  }
}

/*==================================================
　機能編 7-1-34	少し出ていた線が伸びる
===================================*/

.btnlinestretches2 {
  /*線の基点とするためrelativeを指定*/
  position: relative;
  /*ボタンの形状*/
  color: #333;
  padding: 5px 40px;
  display: inline-block;
  text-decoration: none;
  outline: none;
  font-family: "Oswald", sans-serif;
}

/*線の設定*/
.btnlinestretches2::before,
.btnlinestretches2::after {
  content: "";
  /*絶対配置で線の位置を決める*/
  position: absolute;
  /*事前に出現させる線の形状*/
  border: solid #333;
  width: 10px;
  height: 10px;
  /*アニメーションの指定*/
  transition: all 0.3s ease-in-out;
}

.btnlinestretches2::before {
  /*事前に出現させる線の位置*/
  top: 0;
  left: 0;
  /*事前に出現させる線の形状*/
  border-width: 1px 0 0 1px;
}

.btnlinestretches2::after {
  /*事前に出現させる線の位置*/
  bottom: 0;
  right: 0;
  /*事前に出現させる線の形状*/
  border-width: 0 1px 1px 0;
}

/*hoverした際の線の形状*/
.btnlinestretches2:hover::before,
.btnlinestretches2:hover::after {
  width: calc(100% - 2px);
  height: calc(100% - 2px);
  border-color: #960021;
}
/* ===== LIVE/NEWS詳細ページ用 ===== */
.news-headline {
  font-weight: bold;
  font-size: 1.5rem;
  margin-bottom: 2rem;
  letter-spacing: 0.05em;
  line-height: 1.3;
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.news-meta-tag {
  background: #960021;
  color: #fff;
  font-weight: bold;
  padding: 0.2em 1em;
  border-radius: 4px;
  font-size: 1rem;
}

.news-meta-date {
  font-size: 0.9rem;
  color: #666;
}

.news-meta-date {
  color: #888;
  font-size: 1rem;
}

/* イベント詳細2カラムレイアウト */
.event-detail-container {
  display: block;
}
.event-detail-container.has-image {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}
.event-detail-container .event-image {
  flex: 0 0 340px;
  max-width: 340px;
  min-width: 180px;
  margin-bottom: 2rem;
}
.event-detail-container .event-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.event-detail-container .event-main {
  flex: 1 1 0%;
  min-width: 0;
}
@media (max-width: 800px) {
  .event-detail-container.has-image {
    flex-direction: column;
    gap: 1.5rem;
  }
  .event-detail-container .event-image {
    max-width: 100%;
    width: 100%;
    margin-bottom: 0;
  }
}

/* 拡大画像モーダル */
.image-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  justify-content: center;
  align-items: center;
  transition: opacity 0.2s;
}
.image-modal img {
  max-width: 90vw;
  max-height: 80vh;
  border-radius: 10px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}
.image-modal-close {
  position: absolute;
  top: 30px;
  right: 40px;
  color: #fff;
  font-size: 2.5rem;
  font-weight: bold;
  cursor: pointer;
  z-index: 10000;
  text-shadow: 0 2px 8px #000;
}
@media (max-width: 600px) {
  .image-modal img {
    max-width: 98vw;
    max-height: 60vh;
  }
  .image-modal-close {
    top: 10px;
    right: 16px;
    font-size: 2rem;
  }
}

/* --- カード型プレビュー（前へ・次へ） --- */

.pagination-inner {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 20px;
  margin-top: 40px;
}
@media (max-width: 570px) {
  .pagination-inner {
    flex-direction: column-reverse;
  }
}

.card-preview {
  min-width: 140px;
  max-width: 220px;
  text-align: center;
  opacity: 1;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08), 0 1.5px 4px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.2s, transform 0.2s;
  padding: 10px 8px 8px 8px;
  margin: 0 2px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
@media (max-width: 570px) {
  .card-preview {
    min-width: 300px;
  }
}
.card-preview:hover {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18), 0 2px 8px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px) scale(1.03);
  opacity: 1;
  background: #f8f8fc;
}
.card-thumb {
}
/* Removed .card-thumb styles to save height */
.card-thumb.no-image {
  display: none !important;
}
.card-title {
  font-size: 1em;
  font-weight: bold;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 4px;
  max-width: 160px;
  width: 100%;
  display: block;
  box-sizing: border-box;
  align-self: stretch;
}
@media (max-width: 570px) {
  .card-title {
    min-width: 255px;
  }
}
.card-date {
  font-size: 0.9em;
  color: #666;
  margin-bottom: 6px;
}
.card-preview .pagination-btn {
  text-decoration: none;
  color: inherit;
  display: block;
  transition: box-shadow 0.18s;
}
.card-nav-label {
  display: inline-block;
  font-weight: bold;
  font-size: 1em;
  padding: 0 8px;
  margin-top: 8px;
  letter-spacing: 0.05em;
  background: none;
  border-radius: 0;
  box-shadow: none;
  transition: color 0.18s;
}
.pagination-btn:hover .card-nav-label {
  background: none;
}
.note {
  font-size: 0.9rem;
  color: #666;
  margin-top: 20px;
}
