/* PC用のスタイル */
@media screen and (min-width: 769px) {
  header {
    display: none;
  }
  .outer-table {
    display: block;
  }
}

.outer-table {
    background-image: url('image/common.files/image012.png');
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center; 
}

.inner-table {
    font-size: 80%;
    display: flex;
    flex-direction: column;
    align-items: center; 
    margin-left: 160px;   /* メニュ全体位置 */

}

.cell {
    display: flex;
    justify-content: flex-end; 
    align-items: flex-start; 
    width: 200px;  /* メニュー間隔 */
    position: relative;
}

.image-cell {
    width: 80px;
    display: flex;
    justify-content: flex-end; /* 画像を右寄せ */
}

.links-cell .row {
    display: flex;
    justify-content: flex-start; /* リンクを左寄せ */
}

.links-cell {
    display: flex;
    flex-direction: column;

}
.cell a[href="gaiyo.htm"], .cell a[href="concert.htm"] , .cell a[href="bosyu.htm"] {
    position: absolute;
    left: 50px;   /*１段目の左右の位置 */
    top: -50px;
}


.cell a[href="shokai.htm"], .cell a[href="program.htm"] {
    position: absolute;
    left: 50px;   /*２段目の左右の位置 */
    top: -30px;
}


.image-cell {
    width: 50px;
}

@media screen and (min-width: 769px) {
    .table-container {
        flex-direction: row;
    }
    .table-row {
        flex-direction: row;
    }
}

body {
    background-image: url('image/common.files/image012.png');
}

/* 全体のスタイル */
body {
    font-size: 16px;    /* ここで全体のフォントサイズを設定 */
                        /* 必要に応じて他のスタイルを追加 */
}


div {
  align: center;
}

table {
  border: 0;
  width: 80vw; /* ビューポートの幅に対する80% */
  height: 50px;
  margin-left: 10vw; /* ビューポートの幅に対する10% */
}

tr {
  height: 23.2pt;
}

td.concert, td.date, td.program {
  width: 20%; /* 全体の幅に対する20% */
  background: saddlebrown;
  padding: 1.0pt;
  p {
      text-align: center;
      font-size: 80%;
  }
}

td.concert {
  width: 15%; /* 全体の幅に対する15% */
}

td.date {
  width: 15%; /* 全体の幅に対する15% */
}

td.program {
  width: 50%; /* 全体の幅に対する30% */
}

p {
  text-align: left;
  font-size: 80%;
}

td.concert-details, td.date-details, td.program-details {
  padding: 1.0pt;
  background: url("image/common.files/image001.png");
}




/* スマホの時のスタイル */
@media screen and (max-width: 768px) {
  td.concert, td.date, td.program {
    display: none; /* 非表示に設定 */
  }
  td.concert-details, td.date-details, td.program-details {
    display: inline-block;
    width: 100%; 
  }
}


@media screen and (max-width: 768px) {
  table {
    display: flex;
    flex-direction: column;
  }
  td.concert, td.date, td.program {
    display: none; /* 非表示に設定 */
  }
  td.concert-details, td.date-details, td.program-details {
    width: 100%; 
  }
  td.concert-details {
    min-height: 10px; /* 最小の高さを50pxに設定 */
  }

  td.date-details {
    min-height: 10px; /* 最小の高さを50pxに設定 */
  }

  td.program-details {
    min-height: 50px; /* 最小の高さを100pxに設定 */
  }
}









/* スマートフォン向けのスタイル */
@media screen and (max-width: 768px) {
  body {
    font-size: 14px; /* スマートフォンでは全体のフォントサイズを小さく設定 */
  }

  table {
    margin-top: 50px;
    width: 97vw; /* ビューポートの幅に対する97% */
    margin-left: 2vw; /* ビューポートの幅に対する2% */
    }
}



/* スマホ用のスタイル */
@media screen and (max-width: 768px) {
  header {
    display: block;
  }
  .outer-table {
    display: none;
  }
}

header {
  position: fixed;
  width: 100%;
  height: 50px;
  top: 0;
  left: 0;
  background: #000;
  border-bottom: 1px solid #000;
  z-index: 100;
}

.menu-button {
  position: relative;
  z-index: 1;
}

header img {
  height: 35px; /* ヘッダーの高さの70% */
  width: calc(70% - 0px); /* メニューボタンの幅と余白を考慮し、元の幅の70% */
  object-fit: cover; /* 画像がはみ出さないように調整 */
  object-position: left; 
  background: #000;
}



nav ul {
  list-style-type: none; /* 中点（ドット）を消す */
}

.spmenu_btn {
  display: block;
  position: absolute;
  top: 14px;
  right: 15px;
  width: 30px;
  height: 22px;
  background: #fff;
  border-top: 10px solid #000;
  border-bottom: 10px solid #000;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -moz-transition: all 0.3s;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
.spmenu_btn:before {
  content: '';
  position: absolute;
  width: 30px;
  height: 2px;
  background: #fff;
  top: -9px;
  right: 0;
  -moz-transition: all 0.3s;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
.spmenu_btn:after {
  content: '';
  position: absolute;
  width: 30px;
  height: 2px;
  background: #fff;
  bottom: -9px;
  right: 0;
  -moz-transition: all 0.3s;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
.spmenu_btn.active {
  background: #000;
}
.spmenu_btn.active:before {
  -moz-transform: rotate(-135deg);
  -webkit-transform: rotate(-135deg);
  transform: rotate(-135deg);
  top: 0;
  right: 0;
}
.spmenu_btn.active:after {
  -moz-transform: rotate(135deg);
  -webkit-transform: rotate(135deg);
  transform: rotate(135deg);
  bottom: 0;
  right: 0;
}
.spmenu {
  display: none;
  position: absolute;
  top: 51px;
  left: 0;
  width: 100%;
  background: #000;
}
nav {
  display: block;
  width: 100%;
  margin: 0 auto;
}
nav li a {
  display: block;
  width: 100%;
  color: #FFF;
  padding: 15px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  position: relative;
  border-bottom: 1px solid #999;
  font-size: 14px;
}


