@charset "utf-8";

.panel-label {
  background-color: #ecf0f1;
  color: #bdc3c7;
  cursor: pointer;
  display: block;
  font-size: .875em;
  padding: 6px 0;
  transition-duration: 200ms;
  transition-property: background-color, color;
  user-select: none;
  width: 100%;
}

.panel-label:hover {
  color: #003399;
}

.panels {
  background-color: white;
}

.panels .container {
  margin: 0 auto;
  padding: 0 10px;
}

.tayoriContainer div,
.serviceContainer > div {
  max-height: 0;
  opacity: 0;
  transition: opacity 600ms;
}

.tayoriContainer p,
.serviceContainer p {
  padding: 5px;
}

.tayori-image {
  text-align: center;
}

.tayori-blank {
  display: block;
  height: 100%;
  width: 100%;
}

/* ｔayoriA-Controller BEGIN */

.tayoriA1-ctrl:checked ~ .tayoriContainer .container1 {
  max-height: initial;
  opacity: 1;
}

.tayoriA1-ctrl:checked ~ .tayoriContainer .container2 {
  border: 0;
  height: 0;
}

.tayoriA2-ctrl:checked ~ .tayoriContainer .container2 {
  max-height: initial;
  opacity: 1;
}

.tayoriA2-ctrl:checked ~ .tayoriContainer .container1 {
  border: 0;
  height: 0;
}

.tayoriA1-ctrl:checked ~ .tabs-list .li-for-tayoriA1 {
  border-right: none;
  box-shadow: none;
  cursor: default;
  pointer-events: none;
  transform: translate3d(0, 1px, 0);
}

.tayoriA1-ctrl:checked ~ .tabs-list .li-for-tayoriA1.last {
  border-right: 1px solid transparent;
}

.tayoriA1-ctrl:checked ~ .tabs-list .li-for-tayoriA1 + li {
  border-left: 1px solid #dfdfdf;
}

.tayoriA1-ctrl:checked ~ .tabs-list .li-for-tayoriA1 .panel-label {
  background-color: white;
  color: #003399;
}

.tayoriA1-ctrl:checked ~ .tabs-list .li-for-tayoriA1 .panel-label::after {
  height: 6px;
}

.tayoriA2-ctrl:checked ~ .tabs-list .li-for-tayoriA2 {
  border-right: none;
  box-shadow: none;
  cursor: default;
  pointer-events: none;
  transform: translate3d(0, 1px, 0);
}

.tayoriA2-ctrl:checked ~ .tabs-list .li-for-tayoriA2.last {
  border-right: 1px solid transparent;
}

.tayoriA2-ctrl:checked ~ .tabs-list .li-for-tayoriA2 + li {
  border-left: 1px solid #dfdfdf;
}

.tayoriA2-ctrl:checked ~ .tabs-list .li-for-tayoriA2 .panel-label {
  background-color: white;
  color: #003399;
}

.tayoriA2-ctrl:checked ~ .tabs-list .li-for-tayoriA2 .panel-label::after {
  height: 6px;
}

/* tayoriA-Controller END */

.tabs-list {
  border-bottom: 1px solid #dfdfdf;
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: center;
}

.tabs-list li {
  border-right: 1px solid #dfdfdf;
  display: flex;
  position: relative;
  text-align: center;
  width: 18%;
}

.tabs-list li:hover {
  border-right: none;
  transition: none;
}

.tabs-list li:hover.last {
  border-right: 1px solid transparent;
}

.tabs-list li:hover + li {
  border-left: 1px solid #dfdfdf;
}

.tabs-list li .panel-label {
  position: relative;
}

.tabs-list li .panel-label::after {
  background-color: #003399;
  bottom: 100%;
  content: "";
  height: 0;
  left: 0;
  position: absolute;
  transition-duration: 200ms;
  transition-property: height;
  width: 100%;
}

.tabs-list li .panel-label:hover::after {
  height: 6px;
}

.panel-radios {
  display: none;
}
