@charset "utf-8";

/* ボディ部 */
body {
  margin: 0;
  padding: 0;
  height: 100%;
  /* overflow: hidden; */

  background-image: url(../img/frame3.png);
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  /* background-color:rgba(255,255,255,0.5); */
  /* background-color:rgba(0,0,255,0.5);  */
  /* background-blend-mode:lighten; */
}

/* ヘッダー部 */
header {
  width: 100%;
  height:50px;
  top: 0;
  position: fixed;  
  align-items: center;
  padding: 10px 0px 10px 0px;
  display:flex;
  justify-content: space-between;
  align-items: center;
  
  background-color: #4472C4;
  color: white;
  z-index: 100;
}


header div{
  text-align: center;
  flex: 1;
}

header div:nth-child(2) {
  text-align: center;}

header p {
  text-align: center; 
  flex-grow: 1; 
  font-size: 22px;
  font-weight: bold;
}

.title-name{
  flex: 3;
}



.lang{
  flex: 1;
  gap: 5px; 
  display: flex;
  justify-content: right;
  align-items: center;
  font-weight: bold;
  font-size: 16px;
  margin-right: 25px;
}

.language-option {
  color:white;
}

.language-option:hover{
  background-color:skyblue;
  cursor: pointer;
}



.reload {
  flex: 1;
  gap: 5px; 
  display: flex;
  justify-content: left;
  align-items: center;
  font-weight: bold;
  margin-left: 25px;
}

.groupbox{
  border:2.5px solid #BFBFBF;
  border-radius: 10px;
  background-color: rgba(247, 242, 242, 0.15);
  margin: 5px;
  min-width: 500px;
  box-sizing: border-box;
  flex-basis: 100%;
  flex-grow: 1; 
  position:relative;
  margin-right:40px;
  margin-left:40px;
  display:initial;
}

.overlay-color{
  position: absolute;
    border-radius:7px;
  top: 0;
  left: 0;
  width: 100%; 
  height: 100%; 
  z-index: 1;
  background-color: rgba(255, 255, 255, 0.45);
}


.flex-info-group{
  display: flex;
  flex-wrap: wrap;
  word-wrap: normal;
  word-break: break-all;
  border-bottom: 1px dotted black;
  margin: 15px;
  margin-top: 5px;
}

.flex-info-group > div{
  flex-basis: 30%;
  flex-grow:2;
  min-width: 330px;
  z-index: 2;
}

.coast-name{
  font-size:40px;
  min-height: 25px;
  margin: 4px;
  display: flex;
  box-sizing: border-box;
  text-shadow: 6px 6px 5px rgba(0, 0, 0, 0.15);
  margin: 0px; white-space: nowrap; position: absolute;
}


.flex-info-details{
  font-size: 20px; 
  z-index: 2;
  position: relative;
}

.flex-info-details > div{
   display: flex;
   flex-wrap: nowrap;
   flex-direction: row;
   font-size:17px;
}
.flex-info-details .title{
  flex-shrink: 0;
  flex-basis: auto;
  white-space: nowrap;
}


.address-info{
  margin-bottom: 0px;
}
.swim-period{
  margin-top: 0px;
  margin-bottom: 0px;
}
.swim-time{
  margin-top: 0px;
}

#c_status{
  display: flex;
  width:100%;
  flex-basis: 100%;
  flex-grow: 1;
  flex-wrap: wrap;
  justify-content: center;
}
#c_status > *{
  margin: 15px;
}

.flex-status-group{
  display: flex;
  flex-wrap: wrap;
  /* flex-grow: 1; */
  /* max-width: 640px; */
  height: 180px;
  font-size:18pt;
}

.flex-status-group > *{
  z-index:2;
  width: 240px;
  /* height: 100%; */
  /* margin: 15px; */
}

.flex-status-group >P> label{
  border: 2.5px solid #BFBFBF;
  border-radius: 10px;
  background-color: white;
  display: inline-block;
  width: 100%;
  height: 100%;
  text-align: center;
  vertical-align: middle;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  flex-direction: column;
}

.status-label{
  display: flex;
  justify-content: center; 
  align-items: center;
  background-color: #f0f0f0c0;
  font-size: 25px;
  color: black;
  width: calc(100%);
  height: 40px;
  margin: auto,auto,70px,70px;
  /* padding: auto,70px; */
  z-index: 2;
  position: relative;
  text-align: center;
}


.img{
  box-sizing: border-box;
  max-width:min(480px, 100%);
  max-height:min(480px, 100%);
  min-width: 75px;
  min-height: 75px;
}


.flex-tab-group {
  display: none;
}


.has_bg{
  background-repeat: no-repeat;
  /* background-attachment: fixed; */
  background-size: cover;
  background-position: center;
}

.icon_img{
  height: 48px;
  width: 48px;
  object-fit: contain;
}

.hide_item{
  display: none !important;
}

@media (max-width: 600px) , (orientation: landscape) and (max-height: 600px){
  .content{
    padding: 0px;
    margin-bottom: 75px;
  }
  .groupbox{
    margin:0px;
    min-width: initial;
    max-width: 100%;
  }
  .flex-tab-group {
    display: flex;
    flex-wrap: wrap;
    height: 50px;
    max-width: 100%;
    width: 100%;
    position: absolute;
    bottom: 45px;
  }
  .flex-tab-group > *{
    height: 50px;
    word-break: keep-all;
    flex-grow: 1; 
  }

  input[type="text"]
  ,input[type="tel"]
  ,input[type="email"]{
    /* transform: scaleY(1.3); */
    height: 30px;
  }
  input[type="date"], input[type="time"]{
    /* transform: scale(1.3); */
    height: 30px;
    /* width: 150px; */
    min-width: initial;
  }
  input[type="checkbox"]{
    /* transform: scale(1.3); */
    height: 25px;
    width: 25px;
  }
  .flex-status-group > * {
    /* width: 120px; */
    /* height: 120px; */
    margin:0px;
  }

  .btn{
    height: 40px;
    width:40px;
    margin:0px;
    margin-top:5px;
  }
  .buttons{
      gap: 5px;
   }
  .break {
    visibility: visible;
    display: block;
  }

  .reload{
    margin-left:10px;
  }
  .lang{
    margin-right:10px;
  }

}