﻿@charset "UTF-8";

/* PC */
@media only screen and (min-width: 768px) {
  #faq {
    width: 1200px;
    margin: 0 auto 120px;
  }
  #faq h1 {
    color: var(--color01);
    font-size: 24px;
    font-weight: bold;
    border-bottom: 5px solid var(--color05);
    padding: 0 0 10px;
    margin: 0 0 30px;
    letter-spacing: 1px;
  }
  #faq .nav {
    display: flex;
    flex-wrap: wrap;
    margin: 0 0 55px;
  }
  #faq .nav li {
    width: 220px;
    margin: 0 25px 0 0;
    border-bottom: 1px solid #E1E1E1;
  }
  #faq .nav li:nth-child(-n+5) {
    border-top: 1px solid #E1E1E1;
  }
  #faq .nav li:nth-child(5n) {
    margin: 0;
  }
  #faq .nav li a {
    display: block;
    padding: 20px 35px 20px 10px;
    font-size: 12px;
    font-weight: bold;
    background: url(../img/usr/common/icon_arrow_bottom.png) no-repeat right 10px center;
  }
  #faq .nav li a:hover {
    color: var(--color02);
    text-decoration: none;
  }
  #faq .faq-section:not(:last-child) {
    margin: 0 0 55px;
  }
  #faq .faq-section h2 {
    position: relative;
    font-size: 22px;
    font-weight: bold;
    border-bottom: 1px solid #585858;
    letter-spacing: 1px;
    padding: 0 0 15px;
    margin: 0 0 35px;
  }
  #faq .faq-section h2:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 30px;
    height: 3px;
    background: var(--color05);
  }
  #faq .faq-section dl:not(:last-child) {
    margin: 0 0 30px;
  }
  #faq .faq-section dt {
    position: relative;
    font-weight: bold;
    margin: 0 0 10px;
    padding: 0 0 0 25px;
    color: var(--color01);
  }
  #faq .faq-section dd {
    position: relative;
    padding: 0 0 0 25px;
  }
  #faq .faq-section dt span,
  #faq .faq-section dd span {
    position: absolute;
    top: 0;
    left: 0;
    width: 20px;
    text-align: center;
    font-weight: bold;
  }
  #faq .faq-section dd a {
    text-decoration: underline;
  }
  #faq .faq-section dd a:hover {
    text-decoration: none;
  }
}

/* SP */
@media only screen and (max-width: 767px) {
  #faq {
    margin: 0 0 60px;
  }
  #faq h1 {
    color: var(--color01);
    font-size: 20px;
    padding: 0 0 5px;
    margin: 0 0 20px;
    border-bottom: 5px solid var(--color03);
  }
  #faq .nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 0 0 35px;
  }
  #faq .nav li {
    width: calc((100% - 5px) / 2);
    border-bottom: 1px solid #E1E1E1;
  }
  #faq .nav li:nth-child(-n+2) {
    border-top: 1px solid #E1E1E1;
  }
  #faq .nav li a {
    display: block;
    font-size: 12px;
    font-weight: bold;
    padding: 19px 30px 19px 10px;
    background: url(../img/usr/sp/common/icon_arrow_bottom.png) no-repeat right 10px center / 19px;
  }
  .faq-section:not(:last-child) {
    margin: 0 0 30px;
  }
  .faq-section h2 {
    position: relative;
    font-size: 18px;
    padding: 0 0 10px;
    margin: 0 0 25px;
    border-bottom: 1px solid #585858;
  }
  #faq .faq-section h2:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 30px;
    height: 3px;
    background: var(--color03);
  }
  .faq-section dl:not(:last-child) {
    margin: 0 0 20px;
  }
  #faq .faq-section dt {
    position: relative;
    font-weight: bold;
    margin: 0 0 10px;
    padding: 0 0 0 25px;
    color: var(--color01);
  }
  #faq .faq-section dd {
    position: relative;
    padding: 0 0 0 25px;
  }
  #faq .faq-section dt span,
  #faq .faq-section dd span {
    position: absolute;
    top: 0;
    left: 0;
    width: 20px;
    text-align: center;
    font-weight: bold;
  }
  #faq .faq-section dd a {
    text-decoration: underline;
  }
}
