@charset "UTF-8";

/* メインコンテンツ  */
#main-contents .gallary_page_header_filter_block .gal_hd_filter_tab {
  border-bottom: 3px solid #c8161e;
}

#main-contents .gallary_page_header_filter_block .gal_hd_filter_tab ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: distribute;
  justify-content: space-around;
  margin: 0;
  padding: 0;
  list-style-type: none;
}

#main-contents .gallary_page_header_filter_block .gal_hd_filter_tab ul li {
  -webkit-box-flex: 0;
  -ms-flex: none;
  flex: none;
  width: 22%;
  margin: 0;
  padding: 0;
  background: none;
}

#main-contents .gallary_page_header_filter_block .gal_hd_filter_tab ul li.active a {
  color: #fff;
  text-decoration: none;
  background-color: #c8161e;
  border-top: 1px solid #c8161e;
  border-left: 1px solid #c8161e;
  border-right: 1px solid #c8161e;
}

#main-contents .gallary_page_header_filter_block .gal_hd_filter_tab ul li.active a:hover:before,
#main-contents .gallary_page_header_filter_block .gal_hd_filter_tab ul li.active a:before {
  content: "";
  position: absolute;
  top: auto;
  bottom: -20px;
  left: calc(50% - 12px);
  width: 24px;
  height: 16px;
  color: #c8161e;
  border: 12px solid transparent;
  border-top: 8px solid #c8161e;
}

#main-contents .gallary_page_header_filter_block .gal_hd_filter_tab ul li a {
  font-size: 18px;
  font-size: 1.125rem;
  display: block;
  padding: 10px 20px;
  border-top: 1px solid #989898;
  border-right: 1px solid #989898;
  border-left: 1px solid #989898;
  position: relative;
  color: #666565;
  background-color: #efefef;
}

#main-contents .gallary_page_header_filter_block .gal_hd_filter_tab ul li a:hover {
  text-decoration: none;
  color: #666565;
  background-color: #fff;
  border-top: 1px solid #c8161e;
  border-right: 1px solid #c8161e;
  border-left: 1px solid #c8161e;
}

#main-contents .gallary_page_header_filter_block .gal_hd_filter_tab ul li a:hover:before {
  border-left: 8px solid #c8161e;
}

#main-contents .gallary_page_header_filter_block .gal_hd_filter_tab ul li a:before {
  content: "";
  position: absolute;
  top: calc(50% - 8px);
  left: -12px;
  width: 16px;
  height: 16px;
  border: 8px solid transparent;
  border-left: 8px solid #989898;
}

#main-contents .gallary_page_header_filter_block .gal_cont_inner {
  display: none;
  padding: 15px;
  border: 1px solid #ccc;
}

#main-contents .gallary_page_header_filter_block .gal_cont_inner.active {
  display: block;
}

#main-contents .gallary_page_header_filter_block .gal_cont_inner ul {
  font-size: 14px;
  font-size: 0.875rem;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

#main-contents .gallary_page_header_filter_block .gal_cont_inner ul li {
  display: inline-block;
  margin: 0;
  padding: 4px 10px;
  margin-right: 5px;
  margin-bottom: 5px;
  text-align: center;
  border: 1px solid #d0d0d0;
  background: none;
  background-color: #f4f4f4;
}

#main-contents .gallary_page_header_filter_block .gal_cont_inner ul li a {
  color: #666565;
}

@media screen and (max-width: 768px) {
  #main-contents .gallary_page_header_filter_block .gal_hd_filter_tab {
    border-bottom: 3px solid #c8161e;
  }

  #main-contents .gallary_page_header_filter_block .gal_hd_filter_tab ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: distribute;
    justify-content: space-around;
    margin: 0;
    padding: 0;
    list-style-type: none;
  }

  #main-contents .gallary_page_header_filter_block .gal_hd_filter_tab ul li {
    -webkit-box-flex: 0;
    -ms-flex: none;
    flex: none;
    width: 24%;
    margin: 0;
    padding: 0;
    background: none;
  }

  #main-contents .gallary_page_header_filter_block .gal_hd_filter_tab ul li.active a {
    color: #fff;
    text-decoration: none;
    background-color: #c8161e;
    border-top: 1px solid #c8161e;
    border-left: 1px solid #c8161e;
    border-right: 1px solid #c8161e;
  }

  #main-contents .gallary_page_header_filter_block .gal_hd_filter_tab ul li.active a:before {
    content: "";
    position: absolute;
    top: auto;
    bottom: -20px;
    left: calc(50% - 12px);
    width: 24px;
    height: 16px;
    color: #c8161e;
    border: 12px solid transparent;
    border-top: 8px solid #c8161e;
  }

  #main-contents .gallary_page_header_filter_block .gal_hd_filter_tab ul li a {
    font-size: 12px;
    font-size: 0.75rem;
    text-align: center;
    display: block;
    padding: 10px 2px;
    border-top: 1px solid #989898;
    border-right: 1px solid #989898;
    border-left: 1px solid #989898;
    position: relative;
    color: #666565;
    background-color: #efefef;
  }
}

@media screen and (min-width: 769px) {
  #main-contents .jisseki-row .jisseki-col6.jicol4 {
    -webkit-box-flex: 0;
    -ms-flex: 0 1 32%;
    flex: 0 1 32%;
    max-width: 32%;
  }
}


/* footer toiawase btn : 2025.12 */
/* 問い合わせボタン */
.footer_toiawase_btn {
  margin-top: min(100px, 10vw);
  text-align: center;
}

.footer_toiawase_btn a {
  /* font-size: fluid-size(18px, 21px); */
  font-size: clamp(1.125rem, 1.051rem + 0.35vw, 1.313rem);
  font-weight: bold;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 420px;
  margin: 0 auto;
  padding: 10px 32px 16px;
  text-align: center;
  color: #fff;
  background-color: #111;
  background-image: url("../images/ico_yaji_yoko.svg");
  background-repeat: no-repeat;
  background-position: 95% 50%;
}

.footer_toiawase_btn a .toi_md {
  display: block;
  /* font-size: fluid-size(12px, 14px); */
  font-size: clamp(0.75rem, 0.701rem + 0.23vw, 0.875rem);
  font-weight: normal;
  text-align: center;
  padding-bottom: 2px;
}

.footer_toiawase_btn a .toi_b {
  display: block;
  padding-bottom: 5px;
}

@media screen and (max-width: 768px) {
  .footer_toiawase_btn a {
    width: 300px;
  }
}

/* 問い合わせフォーム */
#main-contents #toiawase_page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px;
}

@media screen and (max-width: 768px) {
  #main-contents #toiawase_page {
    padding: 20px 0px;
  }
}

#main-contents .toiawase_komoku {
  border: 1px solid #7a7979;
  border-radius: 4px;
  padding: 5px;
  margin-bottom: 10px;
}

#main-contents .toiawase_komoku h6 {
  font-weight: normal;
  margin-left: 1em;
  margin-bottom: 0;
  padding-bottom: 0;
}

#main-contents .toiawase_komoku .wpcf7-form-control.wpcf7-checkbox {
  display: block;
}

#main-contents .toiawase_komoku .wpcf7-form-control.wpcf7-checkbox .wpcf7-list-item {
  display: inline-block;
  margin-right: 2em;
}

#main-contents .toiawase_komoku .wpcf7-form-control.wpcf7-checkbox .wpcf7-list-item label {
  line-height: 1.2;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  position: relative;
  width: 100%;
  height: 26px;
  margin: 15px 0;
  overflow: hidden;
  cursor: pointer;
}

#main-contents .toiawase_komoku .wpcf7-form-control.wpcf7-checkbox .wpcf7-list-item label .wpcf7-list-item-label {
  margin-left: 45px;
  margin-top: 2px;
}

#main-contents .toiawase_komoku .wpcf7-form-control.wpcf7-checkbox .wpcf7-list-item label:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 38px;
  height: 100%;
  border-radius: 50px;
  display: block;
  background: #ccc;
  -webkit-transition: 0.2s ease-out;
  transition: 0.2s ease-out;
}

#main-contents .toiawase_komoku .wpcf7-form-control.wpcf7-checkbox .wpcf7-list-item label:after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 19px;
  height: 19px;
  display: block;
  border-radius: 50px;
  background: #fff;
  border: 1px solid #999;
  -webkit-transition: 0.2s ease-out;
  transition: 0.2s ease-out;
  -webkit-filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.2));
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.2));
}

#main-contents .toiawase_komoku .wpcf7-form-control.wpcf7-checkbox .wpcf7-list-item label input[type=checkbox] {
  display: none;
}

#main-contents .toiawase_komoku .wpcf7-form-control.wpcf7-checkbox .wpcf7-list-item label:has(input[type=checkbox]:checked):before {
  background: #00a0de;
}

#main-contents .toiawase_komoku .wpcf7-form-control.wpcf7-checkbox .wpcf7-list-item label:has(input[type=checkbox]:checked):after {
  left: 16px;
}

@media screen and (max-width: 768px) {
  #main-contents .toiawase_komoku .wpcf7-form-control.wpcf7-checkbox .wpcf7-list-item {
    display: block;
    width: 94%;
    margin-right: 0;
  }
}

#main-contents .input-group .input-group-addon {
  position: relative;
}

#main-contents .input-group .input-group-addon .hissu {
  position: absolute;
  top: 0;
  right: -8px;
  padding: 2px 5px;
  background-color: #f00;
  color: #fff;
  font-size: 0.75em;
  line-height: 1.2;
  border-radius: 3px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

@media screen and (max-width: 768px) {
  #main-contents .input-group .input-group-addon.wd20 {
    text-align: left;
    width: 28%;
  }
}

#main-contents .input-group input.inp-cntl90 {
  width: 100%;
}

#main-contents .input_textarea {
  position: relative;
}

#main-contents .input_textarea .hissu {
  position: absolute;
  top: 0;
  right: auto;
  left: 5px;
  padding: 2px 5px;
  background-color: #f00;
  color: #fff;
  font-size: 0.75em;
  line-height: 1.2;
  border-radius: 3px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  z-index: 150;
}

#main-contents .input_textarea textarea {
  width: 100%;
  padding: 16px 10px 10px 10px;
  line-height: 1.5;
}

#main-contents .url_input {
  padding: 5px;
}

#main-contents .submitbtn {
  text-align: center;
}

#main-contents .submitbtn input {
  padding: 12px 35px 8px;
}

#main-contents .wpcf7-spinner {
  display: block;
}