@charset "UTF-8";
body {
  line-height: 1.7;
  font-size: 14px;
  font-family: "BIZ UDPGothic","Arial","Helvetica Neue","Hiragino Kaku Gothic ProN","Hiragino Sans","メイリオ",sans-serif;
  color: #222;
  src: url('../fonts/DFMRGC.TTC') format("truetype");
  src: url('../fonts/DFMaruGothic-UB-WINP-RKSJ-H-02.ttf');
  src: url('../fonts/BIZUDPGothic-Bold.ttf') format("truetype");
  src: url('../fonts/BIZUDPGothic-Regular.ttf') format("truetype");
}

header h2 {
  text-align: center;
  line-height: 20px;
  margin-top: 20px;
  border-bottom: 5px solid #014496;
  padding-bottom: 6px;
  margin-bottom: 8px;
}

.nhk {
  font-family:"ＤＦＰ極太丸ゴシック体","DFMaruGothic-UB-WINP-RKSJ-H",sans-serif;
  font-style: italic;
}

.tablike{
  display: flex;
  text-align: center;
  font-weight: 600;
  font-size: 16px;
}

/*.tab{
  display: flex;
  text-align: center;
  flex-wrap: wrap;
}*/

.tab-label {
  flex: 1;
  padding: 5px;
  margin: 5px 5px 0px 5px;
  color: black;
  background: LightGray;
  order: -1;
  border-radius: 5px 5px 0 0;
  font-weight: 600;
  font-size: 16px;
}
.tab-label a {
  display: flex;
  align-items: center; /* 縦方向中央揃え */
  justify-content: center; /* 横方向中央揃え */
  height: 100%; /* タブいっぱいをクリック可能に */
  width: 100%;  /* 同上 */
  text-decoration: none; /* （任意）リンクの下線を消す */
}
.tab-labeled {  
  display: flex; /* 追加 */
  align-items: center; /* 追加：縦方向中央寄せ */
  justify-content: center; /* 追加：横方向中央寄せ */

  flex: 1;
  padding: 5px;
  margin: 5px 5px 0px 5px;
  color: black;
  background: lightblue;
  order: -1;
  border-radius: 5px 5px 0 0;
  font-weight: 600;
  font-size: 16px;
}
/*.tab-content {
  width: 100%;
  height: 0;
  overflow: hidden;
  opacity: 0;
}*/
/* アクティブなタブ */
/*.tab-switch:checked+.tab-label {
  background: lightblue;
}
.tab-switch:checked+.tab-label+.tab-content {
  height: auto;
  opacity: 1;
}

.tab-switch {
  display: none;
}*/

.text{
  text-align:left;
  font-weight: 600;
  font-size: 24px;
  margin-left: 20px;
  margin-right: 20px;
}

.imagep{
  text-align:left;
  font-weight: 500;
  font-size: 20px;
  margin-left: 10px;
  margin-right: 10px;
  color: black;
}

.images{
  width: 100%;
  max-width: 800px;
}

html {
  scroll-behavior: smooth;
}

.pagetop {
  height: 50px;
  width: 50px;
  position: fixed;
  right: 30px;
  bottom: 120px;
  background: #fff;
  border: solid 2px #000;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
}

.pagetop__arrow {
  height: 10px;
  width: 10px;
  border-top: 3px solid #000;
  border-right: 3px solid #000;
  transform: translateY(20%) rotate(-45deg);
}

a,a:visited {
  color: #000;
  text-decoration: none;
}

#search-container {
  margin-top: 20px;
  text-align: center;
}

#search-box {
  padding: 8px;
  width: 200px;
}

.result-item {
  border: 2px solid #ddd;
  margin: 10px 0;
  padding: 10px;
}

.button {
  display: inline-block;
  padding: 10px 20px;
  margin: 5px 0;
  background-color: #007BFF;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  text-align: center;
  font-size: 16px;
}

.button:hover {
  background-color: #0056b3;
}

/*ボタンの角を丸める*/
button--radius {
  border-radius: 100vh;
}

select{
  padding: 7px;
  width: 35%;
  border-radius: 10px
}
input{
  font-size: 1em;
  padding: 7px;
  min-width: 26.7%;
  color: rgb(84, 85, 85);
}
input[type="reset"]{
  margin-left: 5px;
}

#result {
  margin-top: 20px;
  text-align: center;
  font-weight: bold;
  img {width: 100%;}
}

/*メニューをページ下部に固定*/
#navigation-bar {
  position: fixed;
  width: 100%;
  bottom: 0;
  opacity: 0.9;
  z-index: 99;
  background-color: #fff; /* 背景色を追加 */
  padding-bottom: env(safe-area-inset-bottom);
}

/* メニューを横並びにする */
#navigation-bar ul {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
}

#navigation-bar li {
  flex: 1; /* フレックスを使用して均等に分ける */
  display: flex; /* フレックスを使って中央揃え */
  justify-content: center; /* 水平方向の中央揃え */
  align-items: center; /* 垂直方向の中央揃え */
  padding: 0;
  font-size: 16px;
  border-right: 3px solid #000;
  text-align: center; /* 中央揃え */
}

/* ボタンを調整 */
#navigation-bar li a {
  color: #000;
  display: flex; /* フレックスを使って中央揃え */
  justify-content: center; /* 水平方向の中央揃え */
  align-items: center; /* 垂直方向の中央揃え */
  width: 100%; /* リストアイテムの幅を100%に */
  height: 100%; /* リストアイテムの高さを100%に */
  padding: 2px; /* 余白を調整 */
  text-decoration: none; /* 下線を消す */
}

/* ホバーエフェクト */
#navigation-bar li a:hover {
  background-color: #f7f6f5; /* ホバー時の背景色 */
  color: #000000; /* ホバー時のテキスト色 */
}


.rn #room {
  flex-grow: 1;
  background-color: lightgreen;
  padding-top: 10px;
  margin: 4px 2px 0 5px;
  border-radius: 5px 5px 0 0;
}
.rn #floor {
  flex-grow: 1;
  background-color: lightblue;
  padding: 5px;
  margin: 5px 6px 1px 3px;
  border-radius: 5px 5px 0 0px;
}
.rn #floor a{
  text-decoration: none;
  display: block;
}
.fl #room {
  flex-grow: 1;
  background-color: lightgreen;
  padding: 5px;
  margin: 5px 3px 1px 6px;
  border-radius: 5px 5px 0 0px;
}
.fl #floor {
  flex-grow: 1;
  background-color: lightblue;
  padding-top: 10px;
  margin: 4px 5px 0 2px;
  border-radius: 5px 5px 0 0;
}
.fl #room a{
  text-decoration: none;
  display: block;
}

a:hover{
  opacity: 0.6;
}
.sroom{
  text-align: center;
  border-radius: 5px 5px 5px 5px;
  padding-top: 10px;
  margin: 0 5px 4px 5px;
  background-color: lightgreen;
  font-size: 16px;
}
.sfloor{
  text-align: center;
  border-radius: 0px 0px 5px 5px;
  padding: 15px;
  margin: 0 5px 4px 5px;
  background-color: lightblue;
  font-size: 16px;
}
select{
  padding: 7px;
  width: 35%;
  border-radius: 10px
}
input{
  font-size: 1em;
  padding: 7px;
  min-width: 26.7%;
  color: rgb(84, 85, 85);
}
input[type="reset"]{
  margin-left: 5px;
}
ul li{
  margin: 0 0px;
}
ul li:nth-of-type(n+2){
  display: none; 
}
ul{
  list-style-type: none;
  width: 100%;
  padding: 0;
  margin: 13px auto 0;
}
main p{
  text-align: center;
  margin: 3px auto;
  color: #646464;
}
footer{
  margin-top: 20px;
  border-top: 2.4px solid #014496;
  padding: 16px;
}
footer p{
  text-align: right;
  padding-right: 5px;
  margin: 0;
}
