.c-footer, .c-footer--border-top {
  padding-top: 0;
}
.only-sp {
  display: none;
}
@media screen and (max-width: 1024px) {
  .only-sp {
    display: block;
  }
}

.only-pc {
  display: block;
}
@media screen and (max-width: 1024px) {
  .only-pc {
    display: none;
  }
}

.breadcrumb ol {
  flex-wrap: wrap;
  gap: .5rem 1.25rem;
}

/* nazonazo */
.nazonazo {
  font-weight: 700;
}

.mv {
  width: 96%;
  font-size: 1rem;
  margin-top: -2.5rem;
  padding-bottom: 3.125rem;
}

.tabs {
  width: 100%;
  margin: 0 auto;
  font-size: 1rem;
  font-family: var(--main-font);
  background-color: var(--bg-gray);
}

.tab_item {
  width: calc(100%/3);
  height: 4rem;
  background-color: var(--bg-gray);
  border-radius: 16px 16px 0 0;
  line-height: 4rem;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  color: #3D3937;
  display: block;
  float: left;
  text-align: center;
  font-weight: bold;
  transition: all 0.2s ease;
}

.tab_item:hover {
  opacity: 0.75;
}

input[name="tab_item"] {
  display: none;
}

.tab_content {
  display: none;
  padding: 0 15px;
  clear: both;
  overflow: hidden;
  border-top: 3px solid var(--blue);
}

#child01:checked ~ #child01_content,
#child02:checked ~ #child02_content,
#child03:checked ~ #child03_content {
  display: block;
}

.tabs input:checked + .tab_item {
  border-radius: 16px 16px 0 0;
  background-color: var(--blue);
  color: #fff;
}

.tab_content .tab__inner .ttl {
  position: relative;
  font-size: 1.5rem;
  color: #002DC3;
  text-align: center;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
}

.tab_content .tab__inner .ttl::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  margin: 0 auto;
  width: 1rem;
  height: 0.75rem;
  background: url(../img/tri_b.webp);
  background-position: top center;
  background-size: contain;
  background-repeat: no-repeat;
}

.tab_content {
  background-color: var(--gray);
  padding: 1rem 1rem 1.5rem;
}

.tab_content .tab__inner .list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: 1fr;
  gap: 1rem;
  place-content: center;
  background-color: var(--gray);
}

.tab_content .tab__inner .list .list__item {
  display: flex;
  align-items: center;
  gap: .5rem;
  justify-content: center;
  border: 1px solid var(--blue02);
  border-radius: 5px;
  background-color: var(--bg-gray);
  padding: 0.73rem 10px;
  cursor: pointer;
}
.tab_content .tab__inner .list .list__item img {
  width: 1rem;
  height: 0.75rem;
}
.tab_content .tab__inner .list .list__item .list__item--ttl {
  width: 85%;
  font-size: 0.78rem;
  line-height: 1.2;
  text-align: center;
}

.download {
  margin-bottom: 2.5rem;
}

.download .download_text {
  margin-top: 1.5rem;
  text-align: center;
}

.download .round_btn {
  display: block;
  width: 90%;
  margin: 1rem auto 0;
  text-align: center;
  background: #F0642D;
  border-radius: 100px;
  padding: 5.8px 20px;
}

.download .round_btn .btn_txt {
  position: relative;
  font-size: 1.125rem;
  font-weight: 700;
  font-style: normal;
  color: var(--white);
}

.download .round_btn .btn_txt::after {
  position: absolute;
  content: '';
  top: 0;
  bottom: 0;
  margin: auto 0;
  right: 0rem;
  width: 1.28rem;
  height: 1.28rem;
  background: url(/common/img/arrow_dl.webp) top right / contain no-repeat;
}

.download .txt {
  font-size: 0.875rem;
  text-align: center;
}

/* 問題ページ */
.mv_under {
  width: 100%;
  font-size: 1rem;
  margin-top: -2.5rem;
  padding-bottom: 2.5rem;
}

.qa {
  display: none;
  position: relative;
  padding: 3.8rem 0 2.66rem;
  background-color: var(--gray);
  margin-bottom: 2.5rem;
}

.qa.active {
  display: block;
}

.qa .inner {
  width: 88%;
  margin: 0 auto;
}

.qa::before {
  position: absolute;
  top: 0;
  content: '';
  width: 100%;
  height: 10px;
  background: url(/common/img/bg_sp.webp) top left / 23px 10px repeat-x var(--white);
}

.qa::after {
  position: absolute;
  bottom: 0;
  content: '';
  width: 100%;
  height: 10px;
  background: url(/common/img/bg_sp.webp) top left / 23px 10px repeat-x var(--white);
  transform: rotate(180deg);
}

.qa .link {
  display: inline-block;
  position: relative;
  font-size: 0.875rem;
  color: var(--blue);
  padding-left: 1.7rem;
  margin-top: 2.5rem;
}

.qa .link::before {
  content: '';
  width: 1.3rem;
  height: 1.3rem;
  background: url(../img/arrow_l.webp) no-repeat center / 1.3rem;
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  margin: auto 0;
}

.qa .ttl {
  position: relative;
  font-size: 1.5rem;
  color: var(--blue);
  text-align: center;
  padding-bottom: 1rem;
  margin-bottom: 2.75rem;
}

.qa .ttl::after {
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  margin: 0 auto;
  content: '';
  width: 1rem;
  height: 0.75rem;
  background: url(../img/tri_b.webp) no-repeat bottom / contain;
}

.qa .list .list__item {
  background: var(--white);
  border-radius: 24px;
  padding: 1.5rem;
  margin-top: 1.5rem;
}

.qa .list .list__item .txt {
  position: relative;
  font-size: 0.875rem;
  font-weight: 500;
  margin: 0 auto;
  padding-top: 2.875rem;
}

.qa .list .list__item .txt::before {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
  content: 'Q';
  width: 1.875rem;
  height: 1.875rem;
  border-radius: 50%;
  background: #FFB432;
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.87rem;
  text-align: center;
}

.qa .list .list__item .btn_open {
  display: block;
  margin-left: auto;
  margin-top: 1rem;
  position: relative;
  font-size: 0.875rem;
  font-weight: bold;
  font-family: var(--main-font);
  text-align: right;
  color: var(--blue);
  padding-right: 1.7rem;
}

.qa .list .list__item .btn_open::after {
  content: '';
  width: 1.3rem;
  height: 1.3rem;
  background: url(../img/arrow_b.webp) no-repeat center / 1.3rem;
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto 0;
}

.qa .list .list__item .btn_open.open {
  opacity: 0;
  margin-top: 0;
}

.qa .list .list__item .a_box .a_box_txt {
  font-size: 0.875rem;
  font-weight: bold;
  text-align: center;
  color: var(--blue);
  margin-bottom: 1rem;
}

.qa .list .list__item .a_box .btn_close {
  display: block;
  margin-left: auto;
  position: relative;
  font-size: 0.875rem;
  font-weight: bold;
  font-family: var(--main-font);
  text-align: right;
  color: var(--blue);
  padding-right: 1.7rem;
}

.qa .list .list__item .a_box .btn_close::after {
  content: '';
  width: 1.3rem;
  height: 1.3rem;
  background: url(../img/close.webp) no-repeat center / 1.3rem;
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto 0;
}

.qa .list .list__item .a_box {
  display: none;
}

.qa .list .list__item .a_box.open {
  display: block;
}

.qa .pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0 0.5rem;
  margin: 1.5rem auto 0;
}

.qa .pagination .dot {
  content: '';
  width: 1rem;
  height: 1rem;
  background: url(../img/dot.webp) center / 1rem no-repeat;
  border: none;
}

.qa .pagination .prev,
.qa .pagination .next {
  display: block;
  position: relative;
}

.qa .pagination .prev img,
.qa .pagination .next img {
  position: absolute;
  right: 0;
  left: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  width: 0.35rem;
  height: 0.7rem;
}

.qa .pagination .prev.disabled,
.qa .pagination .next.disabled {
  opacity: 0;
}

.qa .pagination li {
  display: block;
  border-radius: 50%;
  width: 2rem;
  height: 2rem;
  font-size: 1rem;
  text-align: center;
  line-height: 1.8rem;
  border: 1px solid var(--blue);
  background: var(--gray);
  color: var(--blue);
}

.qa .pagination li a {
  display: block;
}

.qa .pagination li.prev,
.qa .pagination li.next {
  border: none;
  background: none;
  color: var(--blue);
}

.qa .pagination li.active {
  border-radius: 50%;
  width: 2rem;
  height: 2rem;
  font-size: 1rem;
  text-align: center;
  line-height: 1.8rem;
  border: 1px solid var(--blue);
  background: var(--blue);
  color: var(--white);
}

@media screen and (min-width: 1024px) {
  .breadcrumb ol {
    gap: 1.25rem;
  }

  .nazonazo {
    width: 100%;
    margin-top: 2rem;
  }

  .mv {
    width: 63%;
    margin: 0 auto;
    padding-bottom: 2.5rem;
  }

  .mv .list__item {
    width: 100%;
    font-size: 1rem;
    text-align: center;
  }

  .mv .list__item:nth-of-type(1) {
      width: 50%;
      margin: 0 auto 1em;
  }

  .tabs {
    width: 60%;
    background-color: var(--white);
    margin-bottom: 0;
  }
  
  .tab_content {
    width: 100vw;
    margin: 0 calc(50% - 50vw);
    padding: 2rem 0 3.75rem;
  }

  .tab__inner {
    width: 60%;
    margin: 0 auto;
  }

  .tab_content .tab__inner .list {
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 1rem 1.25rem;
  }

  .tab_item {
    width: 33.3%;
    border-radius: 16px 16px 0 0;
    font-size: 1.25rem;
  }

  .tab_content .tab__inner .list .list__item .list__item--ttl {
    font-size: 1rem;
  }
  
  .tab_content .tab__inner .ttl {
    font-size: 2rem;
    margin-bottom: 2.5rem;
  }

  .download .round_btn .btn_txt {
    font-size: 1.25rem;
  }

  .download .round_btn .btn_txt::after {
    right: 2rem;
    width: 1.3125rem;
    height: 1.3125rem;
  }

  .download .txt {
    font-size: 1rem;
  }

  .download .round_btn {
    width: 40%;
    padding: 18px 0;
  }

  .mv_under {
    width: 62.8%;
    margin: 0 auto;
    padding-bottom: 3.125rem;
  }

  .qa {
    padding-top: 3rem;
    margin-bottom: 3.75rem;
  }

  .qa .ttl {
    font-size: 2rem;
    margin: 3rem 0 2.5rem 0;
    padding-bottom: 1.4rem;
  }

  .qa .inner {
    width: 70%;
    margin: 0 auto;
  }

  .qa .list {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
  }

  .qa .list .list__item {
    width: 48.8%;
    margin-top: 0;
    padding: 2rem 2.5rem;
  }

  .qa .list .list__item .btn_open {
    font-size: 1rem;
  }

  .qa .list .list__item .txt {
    margin: 0.5rem 0 1.5rem;
  }

  .qa .list .list__item .btn_open::after {
    width: 1.5rem;
    height: 1.5rem;
  }

  .qa .pagination {
    margin: 4.375rem auto 0;
  }
}