/*---------------------
混雑状況（リクライナー無し・2施設用）
---------------------*/
.preface-wrap {
  padding: 5em 0;
}
#congestions {
  text-align: center;
}

/* テーブル */
#conges-area {
	padding: 2em 0;
}

#conges {
	width: 95%;
	max-width: 720px;
	margin: 0 auto;
	border-collapse: collapse;
	table-layout: fixed;
}
#conges td {
  width: calc(100% / 3);
  text-align: center;
  vertical-align: middle;
  border: none;
  background: none;
  font-size: 1.2em;
  padding: 0 15px;
}

/* 1セル目：混雑状況＋時刻の四角い見出し */
#conges .title-cell {
  vertical-align: middle;
}
#conges .square {
  display: block;
  width: 100px;
  height: 100px;
  margin: 0 auto;
  padding: 10px 15px;
  box-sizing: border-box;
  background: #f7ba02;
  color: #313131;
  font-size: 1.8em;
  font-weight: bold;
  line-height: 120%;
  text-align: center;
}
#conges .title-time {
	display: block;
	margin-top: 10px;
	font-size: 16px;
	font-weight: 500;
	color: #333;
}

/* 見出し行（岩盤処など） */
#table_header td {
  height: 42px;
  font-weight: bold;
  white-space: nowrap;
}

/* 本体（アイコン）行 */
#table_body td {
  height: 100px;
  padding: 10px 15px 0;
}
#table_body img {
  display: block;
  width: 70px;
  height: 70px;
  margin: 0 auto;
}

/* 男湯・女湯トグル */
#conges .segmented-control {
  display: inline-flex;
  width: auto;
  min-width: 0;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}
#conges .segmented-control__item {
  width: auto;
  margin: 0;
  padding: 0;
}
#conges .segmented-control__input {
  position: absolute;
  opacity: 0;
}
#conges .segmented-control__label {
  display: block;
  width: 50px;
  min-width: 50px;
  box-sizing: border-box;
  padding: 5px 4px;
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
  text-align: center;
  white-space: nowrap;
  background: #f3f3f3;
  border: 1px solid #ddd;
  color: #777;
  cursor: pointer;
}
#conges .segmented-control__item:first-child .segmented-control__label {
  border-radius: 5px 0 0 5px;
}
#conges .segmented-control__item:last-child .segmented-control__label {
  border-left: 0;
  border-radius: 0 5px 5px 0;
}
#conges .segmented-control__input:checked + .segmented-control__label {
  background: #2f80c9;
  color: #fff;
  font-weight: bold;
}
#conges
  .segmented-control__input:checked
  + .segmented-control__label[for='men'] {
  background: #3d5093;
  color: #fff;
}
#conges
  .segmented-control__input:checked
  + .segmented-control__label[for='women'] {
  background: #e9566a;
  color: #fff;
}

/* 休館バナー */
.conges-closed img {
  display: block;
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
}

/* ========================================
   レスポンシブ
======================================== */
@media screen and (max-width: 550px) {
  #conges td {
    padding: 0;
  }
  #table_body td {
    padding: 10px 0 0;
  }
  #conges .square {
    width: 80px;
    height: 80px;
    font-size: 1.5em;
    padding: 8px;
  }
}
@media screen and (max-width: 480px) {
  #table_header td {
    height: 38px;
  }
  #table_body td {
    height: 85px;
  }
  #table_body img {
    width: 60px;
    height: 60px;
  }
  #conges .square {
    width: 70px;
    height: 70px;
    font-size: 1.3em;
  }
  #conges .segmented-control__label {
    width: 45px;
    min-width: 45px;
    padding: 4px 2px;
    font-size: 12px;
  }
}
