@charset "utf-8";

/* sea-style yoyaku : riding_school :: riding_school.css */

/* common
=========================================================================== */

article#container h1 {
  margin-bottom: 30px;
  padding: 0;
  font-size: 2rem;
  text-align: center;
}
article#container h1::before {
  display: none;
}
article#container h1 b {
  display: block;
  font-size: 2.8rem;
}

article#container h1 + .contents p {
  font-size: 1.4rem;
}

article#container a {
  transition: all ease .3s;
}

.contents {
  font-weight: 500;
}

@media screen and (max-width: 767px){
  article#container h1 {
    margin-bottom: 20px;
    font-size: 1.6rem;
  }
  article#container h1 b {
    font-size: 2.2rem;
  }
} /* */


/* areaNav
=========================================================================== */

.areaNav {
  display: flex;
  font-size: 2rem;
  margin-bottom: 50px;
  text-align: center;
  line-height: 1;
}
.areaNav a {
  position: relative;
  width: 16.66%;
  margin-left: 4px;
  padding: 0.75em 0.25em;
  border-radius: 3px;
  background: #cbe4a6;
}
.areaNav a:first-child {
  margin-left: 0;
}
.areaNav a.active {
  background: #7cbc21;
  color: #fff;
  font-weight: bold;
}
.areaNav a.active::after {
  position: absolute;
  top: 100%;
  left: calc(50% - 8px);
  border: 8px solid transparent;
  border-top: 14px solid #7cbc21;
  border-bottom: none;
  content: "";
}
.areaNav a:hover, .areaNav a:active {
  background: #7cbc21;
  color: #fff;
  text-decoration: none;
}

@media screen and (max-width: 767px){
  .areaNav {
    margin-bottom: 25px;
    flex-wrap: wrap;
    font-size: 1.5rem;
  }
  .areaNav a {
    width: calc(33.33% - 2.66px);
  }
  .areaNav a:nth-child(3n+1) {
    margin-left: 0;
  }
  .areaNav a:nth-child(3n) ~ a {
    margin-top: 4px;
  }
  .areaNav a.active::after {
    display: none;
  }
} /* */


/* areaWrap
=========================================================================== */

.areaWrap h2 {
  margin-bottom: 20px;
  font-size: 3rem;
  font-weight: 500;
  text-align: center;
}


/* scheduleList
=========================================================================== */

.scheduleList {
  margin-bottom: 75px;
}

.scheduleList h3 {
  position: relative;
  padding: 10px 15px;
  background: #1EA8DB;
  color: #fff;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}
.scheduleList h3::after {
  position: absolute;
  top: calc(50% - 7px);
  right: 15px;
  border: 7px solid transparent;
  border-top: none;
  border-bottom: 14px solid #fff;
  content: "";
}
.scheduleList h3.active::after {
  transform: rotate(180deg);
}
.scheduleList h3 * {
  display: inline-block;
  vertical-align: middle;
}
.scheduleList h3 span {
  margin-left: 0.5em;
  font-size: 1.2rem;
  font-weight: 500;
}

@media screen and (max-width: 767px){
  .scheduleList {
    margin-bottom: 30px;
  }

  .scheduleList h3 {
    margin-right: -10px;
    margin-left: -10px;
    padding: 10px;
  }
  .scheduleList h3::after {
    right: 10px;
  }
} /* */

.scheduleList table {
  margin-top: 15px;
  width: 100%;
  border: 1px solid #CACACA;
  font-size: 1.4rem;
}
.scheduleList th,
.scheduleList td {
  padding: 10px 15px;
  border: 1px solid #CACACA;
  text-align: center;
  font-weight: 500;
}
.scheduleList thead th {
  background: #EAEAEA;
  color: #666;
}
.scheduleList thead th:nth-child(1) { width: 18%; }
.scheduleList thead th:nth-child(2) { width: 18%; }
.scheduleList thead th:nth-child(3) { width: 14%; }
.scheduleList thead th:nth-child(4) { width: 14%; }
.scheduleList thead th:nth-child(5) { width: 18%; }
.scheduleList thead th:nth-child(6) { width: 18%; }
.scheduleList tbody th {
  background: #D4E5FA;
  text-align: left;
}
.scheduleList tbody td.sts,
.scheduleList tbody td.btn {
  background: #F5FFF3;
}
.scheduleList tbody td.btn a,
.scheduleList tbody td.btn span {
  display: block;
  padding: 0.3em;
  border-radius: 5px;
  font-size: 1.6rem;
}
.scheduleList tbody td.btn a {
  position: relative;
  background: #52A742;
  color: #fff;
}
.scheduleList tbody td.btn a:hover,
.scheduleList tbody td.btn a:active {
  background: #72CD33;
  text-decoration: none;
}
.scheduleList tbody td.btn a::after {
  position: absolute;
  top: calc(50% - 5px);
  right: 10px;
  width: 8px;
  height: 8px;
  border-top: 1px solid #fff;
  border-right: 1px solid #fff;
  transform: rotate(45deg);
  content: "";
}
.scheduleList tbody td.btn span {
  background: #D0D8CE;
  color: #9F9E9E;
}

/* [ ステータス ] */
.scheduleList [data-sts="休日"] { color: #ff0000; }
.scheduleList [data-sts="催行"] { color: #1b710f; }
.scheduleList [data-sts="満席"] { color: #666; }
.scheduleList [data-sts="終了"] { color: #666; }

@media screen and (max-width: 767px){
  .scheduleList table,
  .scheduleList tbody,
  .scheduleList tr,
  .scheduleList th {
    display: block;
    border: none;
  }
  .scheduleList thead {
    display: none;
  }
  .scheduleList tbody tr {
    position: relative;
    min-height: calc(1.6em + 14px + 5px + 1.6em + 1.6em + 0.6em);
    padding: 0 10px;
  }
  .scheduleList tbody tr + tr {
    margin-top: 15px;
  }
  .scheduleList tbody th {
    width: 100% !import;
    margin: 0 -10px 5px;
    padding: 7px 10px;
    border-right: none;
    border-left: none;
    font-weight: bold;
  }
  .scheduleList tbody td {
    display: block;
    padding: 0;
    border: none;
  }
  .scheduleList tbody td.time {
    position: absolute;
    top: 0;
    right: 0;
    width: calc(45% + 20px);
    padding: 7px 10px;
    font-weight: bold;
    background: rgba(255,255,255,0.5);
  }
  .scheduleList tbody td.model,
  .scheduleList tbody td.cap {
    text-align: left;
  }
  .scheduleList tbody td.sts,
  .scheduleList tbody td.btn {
    position: absolute;
    right: 10px;
    width: 45%;
    background: none;
  }
  .scheduleList tbody td.sts { top: calc(1.6em + 14px + 5px); }
  .scheduleList tbody td.btn { top: calc(1.6em + 14px + 5px + 1.6em); }
  .scheduleList tbody td.btn a,
  .scheduleList tbody td.btn span {
    font-size: 1.4rem;
  }

  .scheduleList tbody td::before { font-size: 1.2rem; }
  .scheduleList tbody td.model::before { content: "使用艇："; }
  .scheduleList tbody td.cap::before   { content: "定員："; }
  .scheduleList tbody td.sts::before   { content: "[申込数] "; }
} /* */

.scheduleList p {
  margin-top: 20px;
  padding: 0 15px;
  font-size: 1.6rem;
}
.scheduleList p a {
  display: inline-block;
  font-size: 1.8rem;
  font-weight: bold;
}
.scheduleList p a:hover,
.scheduleList p a:active {
  text-decoration: none;
}

@media screen and (max-width: 767px){
  .scheduleList p {
    margin-top: 10px;
    padding: 0;
    font-size: 1.4rem;
  }
  .scheduleList p a {
    font-size: 1.6rem;
  }
} /* */


/* attentionText
=========================================================================== */

.attentionText {
  background: #E9E9E9;
}
.attentionText .contents {
  padding: 30px 0;
}

.attentionText h2 {
  margin-bottom: 20px;
  padding-top: 50px;
  background: url(/jp/shared/img/icon_attention.svg) center top / 50px auto no-repeat;
  color: #D72424;
  font-size: 1.6rem;
  font-weight: 500;
  text-align: center;
}

.attentionText ul {
  margin-left: 1.5em;
  font-size: 1.4rem;
  line-height: 1.4;
}
.attentionText li {
  list-style: disc;
  margin-bottom: 10px;
}

@media screen and (max-width: 767px){
  .attentionText {
    margin-right: -10px;
    margin-left: -10px;
    padding: 0 10px;
  }
  .attentionText ul {
    font-size: 1.3rem;
  }
} /* */


