h1{
    height: 4em;
    padding-top: 1em;
    padding-left: 10px;
    padding-right: 10px;
    background-image: url(../img/top_bg.jpg);
    color: black;
    text-align: center;
    background-size: cover;
    background-position: center center;
}

a[rel="noopener"]:after {
  margin: 0 3px;
  font-family: FontAwesome;
  vertical-align: middle;
  content: '\f08e';
}

.footer{
    text-align: center;
    color: white;
    padding: 15px;
    margin-top: 30px;
    background-color:#514068E6;
}

a.footer{
    text-decoration:none; 
    color: white;
}

.headtitle{
    width: 100%;
    text-align: left;
    border-bottom: 1px solid #514068E6;
    margin: 30px 0 15px 0;
    padding-left: 5px;
}

.bg-imagecolor{
    background-color: #514068E6;
    color: #FFF;
}

p, li{
    text-align: justify;
}

.dl-important-dates dt{
    padding-left: 1em;
    color: #514068E6;
}

.dl-important-dates dd{
    padding-left: 2em;
}

.newsdate{
    display: block;
    width: 100%;
    text-align: right;
    color: #514068E6;
}

.committee, .important_dates_top{
    max-width: 1200px;
    margin-right: auto;
    margin-left: 0;
    margin-top: 5px;
    margin-bottom: 30px;
}

dl.committee dt, dl.committee dd{
    border: 0;
}
@media screen and (min-width: 481px) {
    dl.committee dt{
        width: 45%;
        text-align: right;
        padding-right: 20px;
    }
    
    dl.important_dates_top dt{
        width: 50%;
        text-align: right;
        padding-right: 20px;
    }

    dl.committee dd{
        width: 55%;
    }
    
    dl.important_dates_top dd{
        width: 45%;
    }

    .container-committee{
        max-width: 800px;
        margin-right: auto;
        margin-left: auto;
    }

    .container-committee h3{
        text-align: center;
        margin-top: 30px;
    }
}
.title_header{
    background-color: #c8e7fa;
    text-align: center;
    margin-top: 1em;
    padding: 0.5em;
    border-radius: 10px;
}
.break_header{
    background-color: whitesmoke;
    text-align: center;
    margin-top: 1em;
    padding: 0.7em;
    border-radius: 10px;
}

@media screen and (max-width: 480px) {
    dl.committee dt{
        width: 100%;
        margin-left: 1em;
    }
    dl.important_dates_top dt{
        width: 100%;
        margin-left: 1em;
    }
    dl.committee dd{
        width: 100%;
        margin-left: 2em;
    }
    dl.important_dates_top dd{
        width: 100%;
        margin-left: 2em;
    }
}

.red{
    color: red !important;
}

.btn-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
}

.custom-btn {
  background-color: #514068E6;
  color: #ffffff;
  padding: 10px 100px;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
  display: inline-block;
}

.custom-btn:hover {
  background-color: #2a2a6e;
}


.responsive-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
}

.responsive-grid > .column {
  flex: 1 1 calc(33.333% - 20px); /* 3カラム（gapの分を差し引く） */
  box-sizing: border-box;
}

/* 900px以下で1カラムに */
@media (max-width: 1075px) {
  .responsive-grid > .column {
    flex: 1 1 100%;
  }
}

.under{
    margin-bottom: 20px !important;
}

.responsive-grid-2 {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 40px auto;
  max-width: 1000px;
}

/* 各カラム共通設定 */
.responsive-grid-2 > .column {
  flex: 1 1 calc(50% - 20px);
  box-sizing: border-box;
  display: flex;
  justify-content: flex-end; /* デフォルトは右寄せにしておく */
}

/* 右側のカラムは左寄せに変更 */
.responsive-grid-2 > .column.right {
  justify-content: flex-start;
}

/* レスポンシブ：1カラム時は中央寄せ */
@media (max-width: 900px) {
  .responsive-grid-2 > .column {
    flex: 1 1 100%;
    justify-content: center;
  }
}

/* 初期状態（デスクトップ）では、dt・dd を縦に並べない */
.column dt,
.column dd {
  margin: 0;
}

/* レスポンシブ時に縦並びに */
@media (max-width: 900px) {
  .responsive-grid-2 > .column {
    flex-direction: column;
  }

  .column dt {
    order: 0;
    font-weight: bold;
    margin-bottom: 8px;
      text-align: left !important;
  }

  .column dd {
    order: 1;
  }
}

.center{
    margin-bottom: 20px;
    text-align: center;
}

.committee2 {
  display: flex;
  flex-wrap: wrap;
  gap: 1em;
}

.committee2 .member {
  width: calc(33.333% - 1em);
  box-sizing: border-box;
}

@media (max-width: 900px) {
  .committee2 .member {
    width: 100%;
  }
}

.bold{
   font-weight: bold;
}


.responsive-grid-3 {
  display: flex !important;
  flex-wrap: wrap;
  gap: 20px;
  margin: 40px auto;
  max-width: 1000px;
}

/* 各カラムを確実に50%にする */
.responsive-grid-3 > .column {
  flex: 0 0 calc(50% - 10px); /* gapの半分を引いて帳尻を合わせる */
  box-sizing: border-box;
  text-align: right;
}

/* 右カラムは左寄せにしたいなら */
.responsive-grid-3 > .column.right {
  text-align: left;
}

/* 画面が狭いときは縦並び */
@media (max-width: 900px) {
  .responsive-grid-3 > .column {
    flex: 0 0 100%;
    text-align: center;
  }
}

.youtube-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 20px 0;
}

.youtube-item iframe {
  width: 100%;
  height: 200px;
  border: none;
}

/* 900px以下で1列表示 */
@media (max-width: 900px) {
  .youtube-grid {
    grid-template-columns: 1fr;
  }
}

/* ホテルCSS */
.containeraccommodation {
    display: flex;
    justify-content: space-between;
	 align-items: center;  /* アイテムを上下中央に揃える */
    margin: 20px 20px 40px 80px;
}

.left-column, .right-column {
    margin: 20px;
}

.left-column {
    flex: 1;
    margin-left: 90px;
}

.right-column {
    flex: 1;
}
/* 画面幅が950px以下の場合のスタイル */
@media screen and (max-width: 1045px) {
    .containeraccommodation {
        display: flex;
        flex-direction: column; /* 縦並びに変更 */
        justify-content: center; /* 垂直方向で中央に配置 */
        align-items: center; /* 水平方向で中央に配置 */
		margin: auto;
    }

    .left-column, .right-column {
        margin-bottom: 20px; /* 下のカラムとの間にスペースを作る */
    }

    .right-column {
        margin: auto; /* 左右中央に配置 */
        text-align: center; /* 右カラム内のテキストを中央寄せ */
		 max-width: 100%; /* 左カラムの最大幅を90%に設定 */
		
    }

    .left-column {
        max-width: 90%; /* 左カラムの最大幅を90%に設定 */
		  margin-left: 20px;
    }
}

.left {
    text-align: left;
}


.table_1 {
  margin: 0 auto;
  border-collapse: collapse;
}
.table_1 th {
 border: solid 1px #ffffff;
 background-color: #01013F;
 color: #ffffff;
 padding: 10px;
}
.table_1 td {
 border: solid 1px #000;
 background-color: #ffffff;
 color: #000;
 padding: 10px;
}

@media screen and (max-width: 900px) {
  .table_1 th, .table_1 td  {
    display: block;
  }
}

.centered2 {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 2em !important;
}

.centered {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    margin-bottom: 20px;
}

.topimg {
  position: relative;
  width: 100%;
}

.topimg img {
  width: 100%;
  height: auto;
  display: block;
}

/* 左上に配置するテキスト */
.text-left {
  position: absolute;
  top: 20%;   /* 上から5% */
  left: 10%;  /* 左から5% */
  color: white;
  font-size: 3vw;  /* 画面幅に応じて大きさ調整 */
  font-weight: bold;
  font-style: italic;
  text-shadow: 2px 2px 5px rgba(0,0,0,0.7);
}

/* 右下に配置するテキスト */
.text-right {
  position: absolute;
  bottom: 45%;  /* 下から5% */
  right: 40%;   /* 右から5% */
  color: white;
  font-size: 1.5vw;
  font-weight: normal;
  font-style: normal;
  text-shadow: 2px 2px 5px rgba(0,0,0,0.7);
}

.text-right2 {
  position: absolute;
  bottom: 20%;  /* 下から5% */
  right: 40%;   /* 右から5% */
  color: white;
  font-size: 1.5vw;
  font-weight: normal;
  font-style: normal;
  text-shadow: 2px 2px 5px rgba(0,0,0,0.7);
}

@media screen and (max-width: 767px) {
/* 左上に配置するテキスト */
.text-left {
  position: absolute;
  top: 20%;   /* 上から5% */
  left: 10%;  /* 左から5% */
  color: white;
  font-size: 4vw;  /* 画面幅に応じて大きさ調整 */
  font-weight: bold;
  font-style: italic;
  text-shadow: 2px 2px 5px rgba(0,0,0,0.7);
}

/* 右下に配置するテキスト */
.text-right {
  position: absolute;
  bottom: 45%;  /* 下から5% */
  right: 50%;   /* 右から5% */
  color: white;
  font-size: 1.7vw;
  font-weight: normal;
  font-style: normal;
  text-shadow: 2px 2px 5px rgba(0,0,0,0.7);
}
.text-right2 {
  position: absolute;
  bottom: 20%;  /* 下から5% */
  right: 50%;   /* 右から5% */
  color: white;
  font-size: 1.7vw;
  font-weight: normal;
  font-style: normal;
  text-shadow: 2px 2px 5px rgba(0,0,0,0.7);
}
    }

@media screen and (max-width: 650px) {
/* 左上に配置するテキスト */
.text-left {
  position: absolute;
  top: 20%;   /* 上から5% */
  left: 5%;  /* 左から5% */
  color: white;
  font-size: 4vw;  /* 画面幅に応じて大きさ調整 */
  font-weight: bold;
  font-style: italic;
  text-shadow: 2px 2px 5px rgba(0,0,0,0.7);
}

/* 右下に配置するテキスト */
.text-right {
  position: absolute;
  bottom: 45%;  /* 下から5% */
  right: 50%;   /* 右から5% */
  color: white;
  font-size: 1.7vw;
  font-weight: normal;
  font-style: normal;
  text-shadow: 2px 2px 5px rgba(0,0,0,0.7);
}
.text-right2 {
  position: absolute;
  bottom: 20%;  /* 下から5% */
  right: 50%;   /* 右から5% */
  color: white;
  font-size: 1.7vw;
  font-weight: normal;
  font-style: normal;
  text-shadow: 2px 2px 5px rgba(0,0,0,0.7);
}
    }

@media screen and (min-width: 1450px) {
/* 左上に配置するテキスト */
.text-left {
  position: absolute;
  top: 20%;   /* 上から5% */
  left: 5%;  /* 左から5% */
  color: white;
  font-size: 45px;  /* 画面幅に応じて大きさ調整 */
  font-weight: bold;
  font-style: italic;
  text-shadow: 2px 2px 5px rgba(0,0,0,0.7);
}

/* 右下に配置するテキスト */
.text-right {
  position: absolute;
  bottom: 45%;  /* 下から5% */
  right: 48%;   /* 右から5% */
  color: white;
  font-size: 20px;
  font-weight: normal;
  font-style: normal;
  text-shadow: 2px 2px 5px rgba(0,0,0,0.7);
}
.text-right2 {
  position: absolute;
  bottom: 20%;  /* 下から5% */
  right: 48%;   /* 右から5% */
  color: white;
  font-size: 20px;
  font-weight: normal;
  font-style: normal;
  text-shadow: 2px 2px 5px rgba(0,0,0,0.7);
}
    }

.dash-list {
  list-style: none; /* デフォルトの点（disc）を消す */
  padding-left: 0;  /* 必要に応じて余白を調整 */
}

.dash-list li::before {
  content: "-";
  margin-right: 0.5em; /* ハイフンとテキストの間にスペースを入れる */
}

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

.center-align{
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
}


.fontbig{
    font-size: 25px;
}

.blue-text{
    color: blue;
}

ul.custom-list {
            list-style: none;
            padding-left: 1em;
        }

ul.custom-list li::before {
            content: "- ";
            margin-left: -1em;
        }

.btn-success2{
    color: #fff;
    background-color: #00008b;
    border-color: #00008b;
}