@charset "utf-8";

.page-mv {
  background: url(/updata/2026/faq/img/bg_kv.webp) 0 0 / cover no-repeat;
}

.faq {
  padding: 60px 15px 100px;
  background: linear-gradient(to bottom, #f2f2f2 342px, #fff 342px);
}

.faq .lead {
  text-align: center;
  font-size: 1.6rem;
  font-weight: 500;
  margin-bottom: 40px;
}

.tabs ul {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1160px;
  margin: 0 auto 25px;
}

.tabs li {
  background: #000;
  color: #fff;
  text-align: center;
  width: 48%;
  padding: 25px 0;
  font-weight: bold;
  font-size: 2.6rem;
  cursor: pointer;
  position: relative;
  font-weight: 600;
}

.tabs li span {
  font-family: "Poppins";
  font-weight: 500;
  font-size: 3rem;
}

.tabs li.active:after {
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-right: 10px solid transparent;
  border-left: 10px solid transparent;
  border-top-width: 15px;
  border-bottom: 0;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -13px;
}

.tabs li.active {
  box-shadow: none;
  color: #fff;
  position: relative;
  background: linear-gradient(to left, #dda23c, #d52d24, #910324);
}

.tabs li.active:after {
  border-top-color: #d52c24;
}

.tabs .online.active {
  background: linear-gradient(to left, #2ba294, #108e12, #114f00);
}

.tabs .online.active:after {
  border-top-color: #108e12;
}

.faq-cat ul {
  display: flex;
  border-right: 1px solid #999999;
  max-width: 1160px;
  margin: 0 auto 145px;
}

.faq-cat ul li {
  flex: 1;
  border-left: 1px solid #999999;
}

.faq-cat ul li a {
  display: block;
  text-align: center;
  text-decoration: none;
  color: #000;
  font-size: 1.6rem;
  padding: 10px 0 35px;
  position: relative;
  font-weight: 600;
}

.faq-cat ul li a::before {
  content: "";
  position: absolute;
  display: block;
  width: 10px;
  height: 10px;
  left: 0;
  right: 0;
  bottom: 12px;
  margin: auto;
  border-top: 1px solid #d52c24;
  border-right: 1px solid #d52c24;
  transform: rotate(135deg);
  transition: .3s;
}

.tab-box {
  display: none;
  max-width: 1280px;
  margin: 0 auto;
}

.tab-box.open {
  display: block;
}

.tab-box section+section {
  margin-top: 45px;
}

.tab-box .b-tit01 {
  font-size: 2.5rem;
  padding: 0 0 15px 0;
  margin-bottom: 15px;
  font-weight: 600;
  border-bottom: 4px solid #000;
}

.tab-box dl {
  background: #f2f2f2;
  line-height: 1.8;
}

.tab-box dl+dl {
  margin-top: 18px;
}

.tab-box dt {
  font-size: 2.2rem;
  font-weight: 600;
  position: relative;
  display: flex;
  align-items: stretch;
}

.tab-box dt span {
  font-weight: 600;
  padding: 15px 0;
}

.tab-box dt::before {
  content: "Q";
  color: #fff;
  display: flex;
  justify-content: center;
  flex-shrink: 0;
  width: 64px;
  font-family: "Poppins";
  font-weight: 600;
  font-size: 2.6rem;
  padding-top: 10px;
  margin-right: 24px;
}

.tab-box dd::before {
  content: "A";
  display: flex;
  justify-content: center;
  flex-shrink: 0;
  width: 64px;
  font-family: "Poppins";
  font-weight: 600;
  font-size: 2.6rem;
  padding-top: 10px;
  margin-right: 24px;
  background: #c2c2c2;
  color: #fff;
}

.tab-box dt::before {
  background: linear-gradient(to left, #dda23c, #d52d24, #910324);
}

.tab-box dd {
  display: flex;
  border-top: 1px solid #c2c2c2;
}

.tab-box dd div {
  padding: 15px 30px 15px 0;
}

.tab-box dd p {
  font-size: 1.4rem;
  width: 100%;
}

.tab-box dd p+p,
.tab-box dd p+ul {
  margin-top: 1em;
}

.tab-box dd p a {
  color: #d52c24;
  text-decoration: underline;
  word-break: break-all;
}

.tab-box dd .note li {
  text-indent: -1em;
  padding-left: 1em;
}

.tab-box dd .note li+li {
  margin-top: 0.5em;
}

.tabs .online.active::before {
  border-top-color: #108e12;
}

.tab-area .online dl a {
  color: #108e12;
}

.online .faq-cat ul li a::before {
  border-color: #108e12;
}

.online dt::before {
  background: linear-gradient(to left, #2ba294, #108e12, #114f00);
}



/* ----------------------------------------------------
hover
---------------------------------------------------- */
@media (hover: hover) {
  .faq-cat li a:hover::before {
    bottom: 6px;
  }

  .faq-txt dd p a:hover {
    text-decoration: none;
  }
}


/* ----------------------------------------------------
メディアクエリ設定 (smartPhone only)   0～768px
---------------------------------------------------- */
@media screen and (max-width: 960px) {
  .page-mv {
    background-image: url(/updata/2026/faq/img/bg_kv_sp.webp);
  }

  .faq {
    padding: 8vw 5.333vw 10vw;
    background: linear-gradient(to bottom, #f2f2f2 51.3vw, #fff 51.3vw);
  }

  .faq .lead {
    font-size: 3.733vw;
    margin-bottom: 4vw;
  }

  .tabs ul {
    margin-bottom: 5.333vw;
  }

  .tabs li {
    padding: 2.666vw 0;
    font-size: 3.733vw;
  }

  .tabs li span {
    font-size: 4.2666vw;
  }

  .tabs li.active::after {
    border-right: 2vw solid transparent;
    border-left: 2vw solid transparent;
    border-top-width: 3vw;
    bottom: -2.5vw;
  }

  .faq-cat ul {
    margin-bottom: 16vw;
  }

  .faq-cat ul li a {
    font-size: 2.933vw;
    padding: 1.6vw 0 6.4vw;
  }

  .tab-box section+section {
    margin-top: 12.5vw;
  }

  .faq-cat ul li a::before {
    width: 2.133vw;
    height: 2.133vw;
    bottom: 1.6vw;
    border-width: 0.4vw;
  }

  .tab-box .b-tit01 {
    font-size: 5.333vw;
    padding: 0 0 2.666vw 0;
    margin-bottom: 2.666vw;
  }

  .tab-box dl+dl {
    margin-top: 3.333vw;
  }

  .tab-box dt {
    font-size: 4.266vw;
    line-height: 1.5;
  }

  .tab-box dt span {
    padding: 4.5vw 4.266vw 4.5vw 0;
  }

  .tab-box dt::before,
  .tab-box dd::before {
    font-size: 5.8666vw;
    width: 10.666vw;
    margin-right: 4.266vw;
    padding-top: 3.4vw;
  }

  .tab-box dd p {
    font-size: 3.7333vw;
  }

  .tab-box dd div {
    padding: 4.5vw 4.266vw 4.5vw 0;
  }
}