html {
  font-size: 300%;
}
html,
body {
  height: 100%;
}
body {
  overflow-y: hidden;
  overflow-x: hidden;
}
.header {
  margin: 0;
}
p {
  margin: 0.2em 0 0 0;
  padding: 0 0 0 0;
}

h1 {
  /* margin:0.3em 0 0 0; */
  margin: 0;
  padding: 0;
  font-weight: normal;
  border-bottom: none;
  text-align: center;
  /*
margin:0;padding:0;
font-weight: normal;
border-bottom: none;
line-height: 1.2em;
text-align:center;
*/
}

body {
  margin: 0 auto;
  padding: 0;
  min-height: 100%;
  text-align: center;
  font-family: "HG丸ｺﾞｼｯｸM-PRO", "Hiragino Kaku Gothic Pro",
    "ヒラギノ角ゴ Pro W3", Meiryo, "メイリオ", Osaka, "MS PGothic",
    "ＭＳ Ｐゴシック", arial, helvetica, sans-serif;
  font-size: 1rem;
}

.grid-container {
  /* height: 100vh; */
  height: 100%;
}
.marquee {
  width: 100%;
  padding: 0.5em 0;
  overflow: hidden;
  /*    margin-bottom:10px;*/
  position: relative;
}
.marquee p:after {
  content: "";
  white-space: nowrap;
  padding-right: 50px;
}

.marquee p {
  margin: 0;
  padding-left: 100%;
  display: inline-block;
  white-space: nowrap;
  /*
    -webkit-animation-name:marquee;
    -webkit-animation-timing-function:linear;
    -webkit-animation-duration:40s;
    -webkit-animation-iteration-count:infinite;
    -moz-animation-name:marquee;
    -moz-animation-timing-function:linear;
    -moz-animation-duration:40s;
    -moz-animation-iteration-count:infinite;
    -ms-animation-name:marquee;
    -ms-animation-timing-function:linear;
    -ms-animation-duration:40s;
    -ms-animation-iteration-count:infinite;
    -o-animation-name:marquee;
    -o-animation-timing-function:linear;
    -o-animation-duration:40s;
    -o-animation-iteration-count:infinite;
    animation-name:marquee;
    animation-timing-function:linear;
    animation-duration:40s;
    animation-iteration-count:infinite;
*/
}
@-webkit-keyframes marquee {
  from {
    -webkit-transform: translate(0%);
  }
  99%,
  to {
    -webkit-transform: translate(-100%);
  }
}
@-moz-keyframes marquee {
  from {
    -moz-transform: translate(0%);
  }
  99%,
  to {
    -moz-transform: translate(-100%);
  }
}
@-ms-keyframes marquee {
  from {
    -ms-transform: translate(0%);
  }
  99%,
  to {
    -ms-transform: translate(-100%);
  }
}
@-o-keyframes marquee {
  from {
    -o-transform: translate(0%);
  }
  99%,
  to {
    -o-transform: translate(-100%);
  }
}
@keyframes marquee {
  from {
    transform: translate(0%);
  }
  99%,
  to {
    transform: translate(-100%);
  }
}

@media only screen and (min-width: 1680px) and (max-width: 2180px) and (orientation: landscape) {
  html {
    font-size: 250%;
  }
}

@media only screen and (min-width: 1280px) and (max-width: 1680px) and (orientation: landscape) {
  html {
    font-size: 242.5%;
  }
}
@media only screen and (min-width: 768px) and (orientation: portrait) {
  html {
    font-size: 182.5%;
  }
}
@media only screen and (min-width: 768px) and (max-width: 1280px) and (orientation: landscape) {
  html {
    font-size: 182.5%;
  }
}
@media only screen and (max-width: 414px) and (orientation: portrait) {
  html {
    font-size: 102.5%;
  }
}
@media only screen and (min-width: 414px) and (max-width: 736px) and (orientation: landscape) {
  html {
    font-size: 102.5%;
  }
}
@media only screen and (min-width: 375px) and (max-width: 667px) and (orientation: landscape) {
  html {
    font-size: 92.5%;
  }
}
@media only screen and (max-width: 320px) and (orientation: portrait) {
  html {
    font-size: 82.5%;
  }
}
@media only screen and (min-width: 320px) and (max-width: 568px) and (orientation: landscape) {
  html {
    font-size: 72.5%;
  }
}
@media only screen and (min-width: 320px) and (max-width: 480px) and (orientation: landscape) {
  html {
    font-size: 62.5%;
    /* =10px */
  }
}

@-webkit-keyframes animated {
  0% {
    -webkit-transform: translate(0, 0);
    opacity: 0.1;
  }
  50% {
    -webkit-transform: translate(100px, 0);
    opacity: 0.5;
  }
  100% {
    -webkit-transform: translate(0, 0);
    opacity: 1;
  }
}

/* marquee css */
.marquee2 {
  padding: 0.5em 0;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  text-align: left;
}

.marquee2 .marquee2-inner:after {
  content: "";
  white-space: nowrap;
}

.marquee2 .marquee2-inner {
  margin: 0;
  padding-left: 100%;
  display: inline-block;
  white-space: nowrap;
  -webkit-animation-name: marquee2;
  -webkit-animation-timing-function: linear;
  -webkit-animation-duration: 500s;
  -webkit-animation-iteration-count: infinite;
  -moz-animation-name: marquee2;
  -moz-animation-timing-function: linear;
  -moz-animation-duration: 500s;
  -moz-animation-iteration-count: infinite;
  -ms-animation-name: marquee2;
  -ms-animation-timing-function: linear;
  -ms-animation-duration: 500s;
  -ms-animation-iteration-count: infinite;
  -o-animation-name: marquee2;
  -o-animation-timing-function: linear;
  -o-animation-duration: 500s;
  -o-animation-iteration-count: infinite;
  animation-name: marquee2;
  animation-timing-function: linear;
  animation-duration: 500s;
  animation-iteration-count: infinite;
}

@-webkit-keyframes marquee2 {
  from {
    -webkit-transform: translate(0);
  }
  to {
    -webkit-transform: translate(-100%);
  }
}
@-moz-keyframes marquee2 {
  from {
    -moz-transform: translate(0);
  }
  to {
    -moz-transform: translate(-100%);
  }
}
@-ms-keyframes marquee2 {
  from {
    -ms-transform: translate(0);
  }
  to {
    -ms-transform: translate(-100%);
  }
}
@-o-keyframes marquee2 {
  from {
    -o-transform: translate(0);
  }
  to {
    -o-transform: translate(-100%);
  }
}
@keyframes marquee2 {
  from {
    transform: translate(0);
  }
  to {
    transform: translate(-100%);
  }
}

/* for slide */
.fadeout {
  opacity: 0;
  transition: 3s ease-in-out;
  -webkit-transition: 3s ease-in-out;
}
.fadein {
  opacity: 1;
  transition: 3s ease-in-out;
  -webkit-transition: 3s ease-in-out;
}

/* テロップ */
.telop {
  display: flex;
}

/* 現在順番 */
.order1,
.order2,
.order3,
.order4,
.order5,
.order6,
.order7,
.order8 {
  /* margin:0 0.5em 0.5em 0.5em; */
  margin: 0.2em;
  border-radius: 14px;
  box-shadow: 0px 0px 25px 5px #ccc;
  text-align: center;
  font-weight: bold;
  opacity: 1;
  background-color: #ffffff;
  -webkit-flex: 1;
  flex: 1;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-flow: column nowrap;
  flex-flow: column nowrap;
}

/* スライド */
.slide {
  margin: 0 0.5em 0.5em 0.5em;
}

.nowtime {
  margin: 0;
}

/*now-sub*/
.now-sub {
  padding: 0;
  border-radius: 20px;
  box-shadow: 0px 0px 25px 5px #ccc;
  font-weight: bold;
  text-align: center;
  opacity: 1;
  background-color: #ffffff;
  display: -webkit-flex;
  display: flex;
  flex: 2;
  -webkit-flex-flow: column nowrap;
  flex-flow: column nowrap;
}
.now-sub .now-title {
  color: #333;
  color: black;
  padding: 0.2rem;
}
.now-sub .no {
  vertical-align: super;
}
.now-sub .com {
  vertical-align: super;
}
.now-no {
  -webkit-flex: 1;
  flex: 1;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-flow: row nowrap;
  flex-flow: row nowrap;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-align-items: center;
  align-items: center;
}
.now-no-wrapper {
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: baseline;
  align-items: baseline;
}

.wait-time-no {
  -webkit-flex: 1;
  flex: 1;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-flow: row nowrap;
  flex-flow: row nowrap;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-align-items: center;
  align-items: center;
}
.wait-time-no-wrapper {
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: baseline;
  align-items: baseline;
}

.waitno1,
.waitno2,
.waitno3,
.waitno4,
.waitno5 {
  /* Mod 2020.01.17 */
  /* margin:0 0.1em 0.5em 0.1em; */
  margin: 0 0.1em 0em 0.1em;
  border-radius: 14px;
  box-shadow: 0px 0px 25px 5px #ccc;
  text-align: center;
  font-weight: bold;
  opacity: 1;
  background-color: #ffffff;
  -webkit-flex: 1;
  flex: 1;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-flow: column nowrap;
  flex-flow: column nowrap;
}

.waitno1 .title,
.waitno2 .title,
.waitno3 .title,
.waitno4 .title,
.waitno5 .title {
  color: #333;
  color: black;
  padding: 0.2rem;
}

.waitno1 .no,
.waitno2 .no,
.waitno3 .no,
.waitno4 .no,
.waitno5 .no {
  vertical-align: baseline;
}

.waitno1 .com,
.waitno2 .com,
.waitno3 .com,
.waitno4 .com,
.waitno5 .com {
  vertical-align: baseline;
}

.waittime1,
.waittime2,
.waittime3,
.waittime4,
.waittime5 {
  margin: 0 0.1em 0em 0.1em;
  border-radius: 14px;
  box-shadow: 0px 0px 25px 5px #ccc;
  text-align: center;
  font-weight: bold;
  opacity: 1;
  background-color: #ffffff;
  -webkit-flex: 1;
  flex: 1;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-flow: column nowrap;
  flex-flow: column nowrap;
}

.waittime1 .title,
.waittime2 .title,
.waittime3 .title,
.waittime4 .title,
.waittime5 .title {
  color: #333;
  color: black;
  padding: 0.2rem;
}

.waittime1 .no,
.waittime2 .no,
.waittime3 .no,
.waittime4 .no,
.waittime5 .no {
  vertical-align: baseline;
}

.waittime1 .com,
.waittime2 .com,
.waittime3 .com,
.waittime4 .com,
.waittime5 .com {
  vertical-align: baseline;
}

.flexbox {
  text-align: center;
}

.item-call {
  border-radius: 0.3rem;
  display: inline-flex;
  flex-wrap: wrap;
  width: 27%;
  /* height:20vh; */
  margin: 0.1rem;
  border: 2px solid #fff;
  vertical-align: top;
  align-content: flex-end;
  background-color: #e7f7bd;
  text-align: center;
  padding: 0.4rem 0 0.4rem 0;
}
.item-call2 {
  border-radius: 0.3rem;
  display: inline-flex;
  flex-wrap: wrap;
  /* width: 27%; */
  /* height:20vh; */
  margin: 0.1rem;
  border: 2px solid #fff;
  vertical-align: top;
  align-content: flex-end;
  background-color: #e7f7bd;
  text-align: center;
  padding: 0.4rem 0 0.4rem 0;
  height: 60%;
}
.item-call-title {
  text-align: center;
  font-size: 3rem;
  padding-bottom: 0.2rem;
  /* color:#35794B; */
  font-weight: bold;
}

.item-call-wrapper {
  flex-wrap: wrap;
  /*width:600px;*/
  width: 100%;
  /* Add 2021.12.03 中央寄せ */
  display: flex;
  justify-content: center;
  align-items: center;
}
.item-call-wrapper2 {
  flex-wrap: wrap;
  /*width:600px;*/
  width: 75%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.item-call-pagination {
  text-align: right;
  font-size: 2rem;
  width: 94%;
}
.item-call-pagination-on {
  width: 100px;
  height: 50px;
  margin: 0.1rem;
  background-color: #87cefa;
}
.item-call-pagination-off {
  width: 100px;
  height: 50px;
  margin: 0.1rem;
  background-color: #d3d3d3;
}
.item-no {
  /* Mod e.inet489.jp snkw3341 */
  /* font-size:3.4rem; */
  font-size: 2.5rem;
  /* del 2018.09.25 */
  /* position: relative; */
  /* top: 10%; */
  margin: 0 auto;
  /* del end */
  color: #ee4100;
  white-space: pre;
}
.item-center {
  display: flex;
  height: 75%;
}

img {
  object-fit: cover;
}

.call-border {
  border-radius: 14px;
  box-shadow: 0px 0px 25px 5px #ccc;
  text-align: left;
  font-weight: bold;
  opacity: 1;
  background-color: #ffffff;
  -webkit-flex-flow: column nowrap;
  flex-flow: column nowrap;
  margin: 0.2rem;
  /* padding: 0.2em; */
}

.item-call-suffix {
  border-radius: 0.3rem;
  display: inline-flex;
  flex-wrap: wrap;
  /* width: 27%; */
  /* height:20vh; */
  margin: 0.1rem;
  border: 2px solid #fff;
  vertical-align: bottom;
  align-content: flex-end;
  /* background-color: #E7F7BD; */
  text-align: center;
  padding: 0.4rem 0 0.4rem 0;
}

/** マーキーさせたい部分 */
.marquee3 {
  overflow: hidden;
  position: relative; /* マーキーの内容部分の位置の基準になるように */
}
/* マーキーの内容部分の高さ確保 */
.marquee3::after {
  content: "";
  white-space: nowrap;
  display: inline-block;
}
/* マーキーさせたい部分(内側) */
.marquee3 > .marquee3-inner {
  position: absolute;
  top: 0;
  white-space: nowrap;
  animation-name: marquee3;
  animation-timing-function: linear;
  animation-duration: 20s;
  animation-iteration-count: infinite;
}
/* マウスオーバーでマーキーストップ */
/* .marquee3 > .marquee3-inner:hover {
  animation-play-state: paused;
  cursor: default;
} */
/** マーキーアニメーション */
@keyframes marquee3 {
  0% {
    left: 100%;
    transform: translate(0);
  }
  100% {
    left: 0;
    transform: translate(-100%);
  }
}
