@charset "utf-8";
@import url(cmn.css);
@import url(base.css);

/* ==========================================================================
	FAQ PAGE
	========================================================================== */

.faq-main,
#main.faq-main {
  float: none;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

#main.faq-main article > .tit {
  text-align: center;
  font-size: 2.8rem;
  font-weight: normal;
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 20px;
}

#main.faq-main article > .tit::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  background-color: #d80003;
  margin: 20px auto 0;
}

.faq-lead {
  font-family: 'Oswald', sans-serif;
  font-size: 1.4rem;
  letter-spacing: 0.15em;
  color: rgba(0, 0, 0, 0.4);
  margin: -10px 0 50px;
  text-align: center;
}

.faq-nav {
  margin: 0 0 80px;
  padding: 35px 40px 30px;
  background-color: #f5f5f5;
  border-top: solid 4px #d80003;
  border-bottom: none;
}

.faq-nav ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.faq-nav li {
  margin: 0;
  max-width: none;
}

.faq-nav a {
  display: block;
  position: relative;
  padding: 16px 40px 16px 18px;
  color: #333;
  font-size: 1.5rem;
  line-height: 1.5;
  background-color: #fff;
  border: solid 1px #e0e0e0;
  border-left: solid 4px #d80003;
  -webkit-transition: all 0.25s ease-in-out;
          transition: all 0.25s ease-in-out;
}

.faq-nav a::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 16px;
  width: 8px;
  height: 8px;
  margin-top: -6px;
  border-right: solid 2px #999;
  border-bottom: solid 2px #999;
  -webkit-transform: rotate(-45deg);
          transform: rotate(-45deg);
  -webkit-transition: border-color 0.25s ease-in-out, right 0.25s ease-in-out;
          transition: border-color 0.25s ease-in-out, right 0.25s ease-in-out;
}

.faq-nav a:hover {
  color: #d80003;
  border-color: #d80003;
  background-color: #fff;
  text-decoration: none;
  -webkit-box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
          box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.faq-nav a:hover::after {
  right: 12px;
  border-color: #d80003;
}

.faq-section {
  margin-bottom: 80px;
  scroll-margin-top: 100px;
}

.faq-section > h3 {
  color: #d80003;
  font-size: 2rem;
  background: none;
  padding: 0 0 15px;
  margin-bottom: 30px;
  border-bottom: solid 2px #000;
}

.faq-qa {
  border-top: solid 1px #ddd;
}

.faq-item {
  position: relative;
  border-bottom: solid 1px #ddd;
}

.faq-question {
  display: flex;
  align-items: flex-start;
  width: 100%;
  box-sizing: border-box;
  font-family: inherit;
  font-size: inherit;
  font-weight: normal;
  text-align: left;
  line-height: 1.7;
  padding: 22px 50px 22px 0;
  cursor: pointer;
  color: inherit;
  background: none;
  border: none;
  outline: none;
  -webkit-appearance: none;
          appearance: none;
  -webkit-transition: color 0.3s ease-in-out;
          transition: color 0.3s ease-in-out;
}

.faq-question::before {
  content: 'Q';
  flex-shrink: 0;
  display: inline-block;
  width: 36px;
  height: 36px;
  line-height: 36px;
  text-align: center;
  font-family: 'Oswald', sans-serif;
  font-size: 1.8rem;
  font-weight: 500;
  color: #fff;
  background-color: #d80003;
  margin-right: 18px;
}

.faq-question::after {
  content: '';
  position: absolute;
  top: 34px;
  right: 10px;
  width: 10px;
  height: 10px;
  border-right: solid 2px #000;
  border-bottom: solid 2px #000;
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
  -webkit-transition: transform 0.3s ease-in-out, border-color 0.3s ease-in-out;
          transition: transform 0.3s ease-in-out, border-color 0.3s ease-in-out;
}

.faq-question:hover {
  color: #d80003;
}

.faq-question:hover::after {
  border-color: #d80003;
}

.faq-answer {
  position: relative;
  overflow: hidden;
  max-height: 0;
  padding: 0 20px 0 54px;
  opacity: 0;
  -webkit-transition: max-height 0.35s ease-in-out, opacity 0.25s ease-in-out, padding 0.35s ease-in-out;
          transition: max-height 0.35s ease-in-out, opacity 0.25s ease-in-out, padding 0.35s ease-in-out;
}

.faq-answer::before {
  content: 'A';
  flex-shrink: 0;
  position: absolute;
  left: 0;
  top: 0;
  display: block;
  width: 36px;
  height: 36px;
  line-height: 36px;
  text-align: center;
  font-family: 'Oswald', sans-serif;
  font-size: 1.8rem;
  font-weight: 500;
  color: #fff;
  background-color: #000;
}

.faq-answer-inner {
  padding-left: 0;
}

.faq-answer p {
  margin: 0 0 1em;
  line-height: 1.9;
}

.faq-answer ul {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.faq-answer ul li {
  position: relative;
  margin-bottom: 8px;
  padding-left: 1.2em;
  font-weight: normal;
}

.faq-answer ul li::before {
  content: '';
  display: block;
  position: absolute;
  width: 6px;
  height: 6px;
  top: 0.7em;
  left: 0;
  background-color: #d80003;
}

.faq-answer img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 10px 0 20px;
  border: solid 1px #ddd;
}

.faq-item.is-open .faq-answer {
  max-height: 80em;
  padding: 0 20px 30px 54px;
  opacity: 1;
}

.faq-item.is-open .faq-question {
  color: #d80003;
  font-weight: bold;
}

.faq-item.is-open .faq-question::after {
  top: 38px;
  border-color: #d80003;
  -webkit-transform: rotate(-135deg);
          transform: rotate(-135deg);
}

.faq-link {
  margin-top: 25px;
}

.faq-link a {
  display: inline-block;
  padding: 12px 30px;
  text-align: center;
  color: #fff;
  background-color: #000;
  border: none;
  -webkit-transition: background-color 0.3s ease-in-out;
          transition: background-color 0.3s ease-in-out;
}

.faq-link a:hover {
  background-color: #d80003;
  color: #fff;
  text-decoration: none;
}

/* ==========================================================================
	TABLET - 1024px
	========================================================================== */

@media screen and (max-width:1024px){

#main.faq-main article > .tit {
  font-size: 2.4rem;
}

.faq-nav {
  padding: 28px 24px 22px;
}

.faq-nav a {
  font-size: 1.4rem;
  padding: 14px 36px 14px 14px;
}

.faq-section > h3 {
  font-size: 1.8rem;
}

}

/* ==========================================================================
	SP - 640px
	========================================================================== */

@media screen and (max-width: 640px) {

#main.faq-main article > .tit {
  font-size: 2rem;
}

.faq-nav {
  padding: 20px 15px 15px;
  margin-bottom: 50px;
}

.faq-nav ul {
  grid-template-columns: 1fr;
  gap: 10px;
}

.faq-nav li {
  width: 100%;
  margin: 0;
}

.faq-nav a {
  font-size: 1.4rem;
  padding: 14px 36px 14px 14px;
}

.faq-section {
  margin-bottom: 50px;
}

.faq-section > h3 {
  font-size: 1.6rem;
}

.faq-question {
  padding: 18px 35px 18px 0;
  font-size: 1.4rem;
}

.faq-question::before,
.faq-answer::before {
  width: 28px;
  height: 28px;
  line-height: 28px;
  font-size: 1.4rem;
  margin-right: 12px;
}

.faq-question::after {
  top: 28px;
  right: 5px;
}

.faq-answer {
  padding-left: 40px;
}

.faq-item.is-open .faq-answer {
  padding: 0 10px 25px 40px;
}

.faq-item.is-open .faq-question::after {
  top: 32px;
}

}
