.searchArea {
  padding: 35px 0;
  background: url("/assets/img/bg-search.jpg") center;
}

.searchBox {
  height: 100%;
  padding: 15px 15px 25px;
  background-color: #fff;
}

.searchBox dt {
  margin-bottom: 0.5em;
  font-size: 1.6rem;
}

.searchBox dd + dt {
  margin-top: 20px;
}

.searchBox .g-textarea {
  height: 252px;
}

.searchBtns {
  display: flex;
  margin-top: 20px;
}

.searchBtns .g-btn {
  min-width: 0;
}

.searchBtns .g-btn-rensou,
.searchBtns .g-btn-word {
  flex: 1;
}

.searchBtns .g-btn-secondary {
  width: 70px;
  margin-left: 5px;
}

.searchControl {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
}

.searchControl > *:nth-child(n + 2) {
  margin-left: 15px;
}

.searchControl_display .g-dropdown {
  margin-right: 10px;
}

.searchControl_display span + .g-dropdown {
  margin-left: 10px;
}

.searchControl_btn {
  display: flex;
  align-items: center;
  font-weight: 600;
}

.searchControl_btn .g-btn {
  min-width: 0;
  margin-left: 10px;
  white-space: nowrap;
}

.searchControl_btn .g-btn_inner {
  min-height: 40px;
}

.searchItem {
  display: flex;
  padding: 6px 0;
  border: 1px solid #ccc;
  border-right: 0;
  border-left: 0;
  margin-bottom: -1px;
}

.searchItem a {
  color: #c00;
}

.searchItem .g-checkable {
  flex-shrink: 0;
  padding: 4px;
  margin-right: 15px;
}

.searchItem .g-checkable span {
  position: absolute;
  z-index: -1;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: #fae5cd;
}

.searchItem .g-checkable_el {
  margin-right: 0;
}

.searchItem .g-checkable_el:checked {
  border-color: transparent !important;
  background-color: transparent !important;
}

.searchItem .g-checkable_el:checked ~ span {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: #e47d03;
}

.searchItem .g-checkable_i {
  left: 7px !important;
}

.searchItem_data {
  padding: 3px 0;
}

.searchItem_sub {
  margin-top: 5px;
  font-size: 1.2rem;
}

.searchItem-word .g-checkable span {
  background-color: #b6daf3;
}

.searchItem-word .g-checkable_el:checked ~ span {
  background-color: #0c83d6;
}

.spinner {
  position: relative;
  display: block;
  width: 80px;
  height: 80px;
  margin: 100px auto;
}

.spinner div {
  -webkit-animation: spinner 1.2s linear infinite;
          animation: spinner 1.2s linear infinite;
  transform-origin: 40px 40px;
}

.spinner div::after {
  position: absolute;
  top: 3px;
  left: 37px;
  display: block;
  width: 6px;
  height: 18px;
  background: #c00;
  border-radius: 20%;
  content: ' ';
}

.spinner div:nth-child(1) {
  -webkit-animation-delay: -1.1s;
          animation-delay: -1.1s;
  transform: rotate(0deg);
}

.spinner div:nth-child(2) {
  -webkit-animation-delay: -1s;
          animation-delay: -1s;
  transform: rotate(30deg);
}

.spinner div:nth-child(3) {
  -webkit-animation-delay: -0.9s;
          animation-delay: -0.9s;
  transform: rotate(60deg);
}

.spinner div:nth-child(4) {
  -webkit-animation-delay: -0.8s;
          animation-delay: -0.8s;
  transform: rotate(90deg);
}

.spinner div:nth-child(5) {
  -webkit-animation-delay: -0.7s;
          animation-delay: -0.7s;
  transform: rotate(120deg);
}

.spinner div:nth-child(6) {
  -webkit-animation-delay: -0.6s;
          animation-delay: -0.6s;
  transform: rotate(150deg);
}

.spinner div:nth-child(7) {
  -webkit-animation-delay: -0.5s;
          animation-delay: -0.5s;
  transform: rotate(180deg);
}

.spinner div:nth-child(8) {
  -webkit-animation-delay: -0.4s;
          animation-delay: -0.4s;
  transform: rotate(210deg);
}

.spinner div:nth-child(9) {
  -webkit-animation-delay: -0.3s;
          animation-delay: -0.3s;
  transform: rotate(240deg);
}

.spinner div:nth-child(10) {
  -webkit-animation-delay: -0.2s;
          animation-delay: -0.2s;
  transform: rotate(270deg);
}

.spinner div:nth-child(11) {
  -webkit-animation-delay: -0.1s;
          animation-delay: -0.1s;
  transform: rotate(300deg);
}

.spinner div:nth-child(12) {
  -webkit-animation-delay: 0s;
          animation-delay: 0s;
  transform: rotate(330deg);
}

@-webkit-keyframes spinner {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@keyframes spinner {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

.empty {
  text-align: center;
}

.empty_link {
  margin-top: 10px;
}

.empty_link a {
  color: #c00;
}

@media (min-width: 769px) {
  .searchArea {
    padding: 40px 0;
  }
  .searchBox {
    padding: 30px 30px 50px;
  }
  .searchBox dt {
    font-size: 1.8rem;
  }
  .searchBtns {
    margin-top: 40px;
  }
  .searchBtns .g-btn-rensou,
  .searchBtns .g-btn-word {
    max-width: 327px;
  }
  .searchBtns .g-btn-secondary {
    width: 100%;
    max-width: 140px;
    flex: 1;
    margin-left: 10px;
  }
  .searchControl > *:nth-child(n + 2) {
    margin-left: 50px;
  }
  .searchItem {
    padding: 4px 0;
  }
  .searchItem .g-checkable {
    padding: 6px;
  }
  .searchItem .g-checkable_i {
    left: 9px !important;
  }
  .searchItem_data {
    padding: 15px 0;
  }
  .searchItem_sub {
    font-size: 1.4rem;
  }
  .empty {
    font-size: 1.8rem;
  }
}

@media (max-width: 768px) {
  .searchBtns .g-btn_inner {
    padding: 2px 10px;
  }
  .searchBtns .g-btn-rensou .g-btn_label,
  .searchBtns .g-btn-word .g-btn_label {
    padding-right: 2.8rem;
  }
  .searchBtns .g-btn-rensou .g-i-link,
  .searchBtns .g-btn-word .g-i-link {
    right: 10px;
    width: 2.3rem;
  }
  .searchBtns .g-btn-rensou .g-i-link::before,
  .searchBtns .g-btn-word .g-i-link::before {
    font-size: 2.3rem;
    transform: translateY(-2px);
  }
  .searchControl_btn {
    margin-top: 20px;
  }
  .searchItem {
    font-size: 1.3rem;
  }
}
