@charset "utf-8";
html {
  scroll-behavior: smooth;
  scroll-padding-top: 140px;
}
.tab-switchers{
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-bottom: 40px;
}
.tab-switchers .tab-label {
  display: flex;
  width: calc((100% - (16px * 5)) / 6);
}
.tab-switchers .tab-label a{
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  color: #2e3133;
  padding: 1.2rem 1rem;
  border: 1px solid #ccc;
  background-color: #fff;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.6rem;
  line-height: 1.6;
  text-align: center;
  text-decoration: none;
}
.tab-switchers .tab-label a:hover {
  color: #dc002f;
  text-decoration: underline;
}
.tab-switchers .tab-label.active a {
  color: #dc002f;
}
.tab-content {
  flex: 100%;
  display: none;
  overflow: hidden;
  position: relative;
}
.tab-content.active{
  display: block;
}
input[name="tab-switch"] {
  display: none;
}
.tab-switchers input:checked + .tab-label {
  color: #dc002f;
}
#contactForm{
  display: none;
}
.tabs:has(.tab-label.active) + #contactForm{
  display: block;
}

.faq-list li+li{
  margin-top: 10px;
}

.m-form-checkbox__text.__large {
  font-weight: 700;
  font-size: 1.8rem;
}

.m-form-checkbox__text::before {
  top: 0.3em;
}

.m-form-checkbox__text::after {
  top: 0.4em;
}

.only-pc{
  display: block;
}
.only-sp{
  display: none !important;
}
@media screen and (max-width:969px) {
  .tab-switchers .tab-label {
    width: calc((100% - (20px * 1)) / 2);
    flex-wrap: wrap;
    font-size: 1.6rem;
  }
  .prd-layout-grid.of-column-2 > *{
    width: 100%;
  }
}
@media screen and (max-width:768px) {
  .only-pc{
    display: none !important;
  }
  .only-sp{
    display: block !important;
  }
  .tab-switchers{
    flex-direction: column;
  }
  .tab-switchers .tab-label {
    width: 100%;
  }
  .tab-switchers .tab-label a{
    padding: 1.6rem 2rem;
    font-size: 1.8rem;
  }
  .m-form-checkbox__text.__large {
    font-size: 1.7rem;
  }  
}
