/*
Theme Name: toc-child
Version: 1.0
Template: toc
*/

.page-content,
.entry-content,
.entry-summary {
  margin: 0;
}

.page_mv__ttl.txt_en {
  text-transform: uppercase;
}

li>ul,
li>ol {
  margin: 0;
}

footer small {
  font-family: 'Mukta', sans-serif;
}

strong {
  font-weight: 700;
}

.catch {
  font-size: 1.4em;
  margin-bottom: 1em;
}

.gmap {
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 0;
  height: 0;
  overflow: hidden;
  margin-top: 20px;
}

.gmap iframe,
.gmap object,
.gmap embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.blog-mainimg {
  margin-bottom: 40px;
}

.detail-sidebar__search input[type="search"] {
  font-size: inherit;
  padding: 11px 10px !important;
}

/* --- ラジオボタンとチェックボックスのスタイル --- */
.contact__check input,
.contact__radio input {
  display: none !important;
}

.contact__check .wpcf7-list-item,
.contact__radio .wpcf7-list-item {
  width: 50%;
  margin: 10px 0 0;
}

.contact__check .wpcf7-list-item-label,
.contact__radio .wpcf7-list-item-label {
  display: flex;
  align-items: center;
  position: relative;
}

.contact__check .wpcf7-list-item-label:before,
.contact__radio .wpcf7-list-item-label:before {
  content: "";
  width: 30px;
  height: 30px;
  margin-right: 15px;
  border: none;
  background: #F2F4F6;
  display: block;
}

.contact__radio .wpcf7-list-item-label:before {
  border-radius: 100%;
}

/* checked時の背景色 */
.contact__check input:checked+.wpcf7-list-item-label:before,
.contact__radio input:checked+.wpcf7-list-item-label:before {
  background: #289B5C;
}

.contact__radio .wpcf7-list-item-label::after {
  content: '';
  position: absolute;
  left: 10px;
  top: 10px;
  background: #fff;
  width: 10px;
  height: 10px;
  border-radius: 100%;
  opacity: 0;
}

.contact__check .wpcf7-list-item-label::after {
  content: '\f00c';
  font: var(--fa-font-solid);
  position: absolute;
  left: 8px;
  top: 6px;
  font-size: 18px;
  color: #fff;
  opacity: 0;
}

/* checked時のアイコンを表示 */
.contact__check input:checked+.wpcf7-list-item-label::after,
.contact__radio input:checked+.wpcf7-list-item-label::after {
  opacity: 1;
}

/* --- 同意チェックボックスのスタイル --- */
.contact__privacy input {
  display: none;
}

.wpcf7-acceptance .wpcf7-list-item {
  display: block;
}

/* JavaScriptで追加される.is-checkedクラスを使ってスタイルを適用 */
.contact__privacy input:checked+.wpcf7-list-item-label {
  color: #fff;
  background: #289B5C;
}

.contact__privacy input:checked+.wpcf7-list-item-label .material-icons {
  color: #289B5C;
}

.form-btn-return.btn {
  width: 200px;
  background: #F2F4F6;
  color: #000;
  padding: 22px 0;
}

.form-btn-return.btn::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 50%;
  width: 22px;
  height: 6px;
  border-left: 1px solid #000;
  border-bottom: 1px solid #000;
  transform: skew(-45deg) translateY(-50%);
}

.form-btn-send {
  display: inline-block;
  position: relative;
}

.form-btn-send:before {
  content: '';
  position: absolute;
  left: 272px;
  top: 50%;
  width: 22px;
  height: 6px;
  border-right: 1px solid #fff;
  border-bottom: 1px solid #fff;
  transform: skew(45deg) translateY(-50%);
  z-index: 2;
}

.form-btn-send .btn {
  display: inline-block;
  width: 315px;
  z-index: 0;
  padding: 22px 0;
  border-radius: 60px;
  color: #fff;
  font-size: 1.6rem;
  text-align: center;
  box-shadow: 0 5px 15px rgba(144, 144, 144, 0.53);
  overflow: hidden;
  transition: .3s;
  background: linear-gradient(to right, #FFD000, #FF9300);
}

.contact__privacy label {
  padding: 0 !important;
}

.wpcf7-acceptance .wpcf7-list-item {
  margin: 0;
}

.wpcf7-acceptance .wpcf7-list-item-label {
  padding: 8px;
  flex: 1;
  padding: 8px;
}

.btn {
  padding: 22px 0 !important;
}

.btn_03 {
  padding: 0 25px 0 0 !important;
}

input {
  border: none !important;
}

input:placeholder-shown {
  color: #B4BABF !important;
}

.banner_link {
  text-align: center;
  transition: 0.3s;
}

@media screen and (min-width: 768px) {
  .banner_link:hover {
    opacity: 0.7;
  }
}

.header_contact {
  display: none;
}

.header_contact.rec {
  background: linear-gradient(to right, #7EAB27, #006F32);
}

.header_contact.rec i {
  display: block;
  padding: 15px 0 4px;
  font-size: 1.9rem;
}

@media screen and (min-width: 400px) {
  .header_contact {
    display: block;
  }
}

@media screen and (min-width: 992px) {
  .header_contact {
    width: 160px;
    height: 50px;
    font-size: 1.4rem;
    display: flex;
  }

  .header_contact.rec {
    margin-right: 10px;
    background: none;
  }

  .header_contact.rec i {
    margin-right: 15px;
    padding: 0;
  }

  .header_contact.rec::before {
    background: linear-gradient(to right, #7EAB27, #006F32);
  }

  .header_contact.rec::after {
    background: #619D2A;
  }
}
