﻿.js-side-anchor {
  display: none;
}
.faq {
  padding-bottom: clamp(60px,calc(148px + 88 * ((100vw - calc(var(--vmin) * 1px)) / calc(var(--vmax) - var(--vmin)))),148px);
}
.faq-anchor__item {
  border-top: 1px solid var(--border-gray-color);
}
.faq-anchor__item:last-child {
  border-bottom: 1px solid var(--border-gray-color);
}
.faq-anchor__link {
  padding: 1em;
  display: block;
  color: var(--font-defalut-color);
  font-size: clamp(12px,calc(12px + 3 * ((100vw - calc(var(--vmin) * 1px)) / calc(var(--vmax) - var(--vmin)))),15px);
  letter-spacing: 0.05em;
  transition: color 0.2s ease, background-color 0.2s ease;
}
.faq-anchor__link.is-active {
  color: var(--font-defalut-color);
  font-weight: 600;
  background-color: var(--base-bg-gray-color);
}
.faq-content {
  padding: 60px 0 clamp(97px,calc(97px + 51 * ((100vw - calc(var(--vmin) * 1px)) / calc(var(--vmax) - var(--vmin)))),148px);
}
.faq-detail + .faq-detail {
  padding-top: clamp(43px,calc(43px + 17 * ((100vw - calc(var(--vmin) * 1px)) / calc(var(--vmax) - var(--vmin)))),60px);;
}
.faq-content__title-head {
  text-align: center;
}
.faq-content__title {
  color: var(--font-defalut-color);
  font-size: clamp(18px,calc(18px + 6 * ((100vw - calc(var(--vmin) * 1px)) / calc(var(--vmax) - var(--vmin)))),24px);
  font-weight: 600;
  letter-spacing: 0.05em;
}
.faq-content__wrap {
  margin-top: clamp(23px,calc(23px + 11 * ((100vw - calc(var(--vmin) * 1px)) / calc(var(--vmax) - var(--vmin)))),34px);
}
.faq-content__wrap + .faq-content__wrap {
  margin-top: 1px;
}
.faq-content__question {
  padding: 1em;
  color: var(--font-defalut-color);
  font-size: clamp(12px,calc(12px + 3 * ((100vw - calc(var(--vmin) * 1px)) / calc(var(--vmax) - var(--vmin)))),15px);
  font-weight: 600;
  letter-spacing: 0.05em;
  background-color: var(--base-bg-gray-color);
  position: relative;
  cursor: pointer;
}
.faq-content__question::after {
  content: "";
  width: 8px;
  height: 5px;
  display: block;
  background-image: url(/cms/edwin_tokyo/img/common/icon_arrow_bottom_bk.svg);
  background-size: 8px 5px;
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%) rotate(180deg);
}
.accordion-content {
  height: 0;
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
  transition: height 0.4s ease, opacity 0.3s ease, visibility 0.3s ease;
}
.faq-content__accordion.is-open .accordion-content {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.faq-content__answer-content {
  padding: clamp(10px,calc(10px + 10 * ((100vw - calc(var(--vmin) * 1px)) / calc(var(--vmax) - var(--vmin)))),20px) clamp(10px,calc(10px + 10 * ((100vw - calc(var(--vmin) * 1px)) / calc(var(--vmax) - var(--vmin)))),20px) clamp(20px,calc(20px + 10 * ((100vw - calc(var(--vmin) * 1px)) / calc(var(--vmax) - var(--vmin)))),30px);
}
.faq-content__answer-content > p {
  color: var(--font-defalut-color);
  font-size: clamp(12px,calc(12px + 3 * ((100vw - calc(var(--vmin) * 1px)) / calc(var(--vmax) - var(--vmin)))),15px);
  letter-spacing: 0.05em;
}

.faq-content__wrap + .faq-content__title-head {
  margin-top: clamp(43px,calc(43px + 19 * ((100vw - calc(var(--vmin) * 1px)) / calc(var(--vmax) - var(--vmin)))),64px);
}
.faq-content__title-head + .no-result {
  margin-top: 20px;
}
.fixed-faq-anchor {
  width: 100%;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
}
.fixed-faq-anchor.is-active {
  display: block;
}
.fixed-faq-anchor__button {
  width: 100%;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  border: none;
  border-radius: 0;
  background-color: var(--font-defalut-color);
  position: relative;
  z-index: 101;
}
#fixed-faq-anchor-menu {
  width: 100%;
  height: calc(80vh - 50px);
  padding: 15px 20px 20px;
  position: fixed;
  bottom: 50px;
  background: #fff;
  overflow-y: scroll;
  box-shadow: 0px -5px 6px 0px rgba(0, 0, 0, 0.15);
}

@media screen and (min-width: 769px) {
  .faq-wrap {
    display: flex;
    gap: 0 clamp(20px,calc(20px + 40 * ((100vw - calc(var(--vmin) * 1px)) / calc(var(--vmax) - var(--vmin)))),60px);
  }
  .fixed-faq-anchor {
    display: none;
  }
  .side-content,
  .js-side {
    width: 100%;
    max-width: 300px;
    margin-top: 60px;
    align-self: flex-start;
    position: sticky;
    top: calc(var(--header-height) + 30px);
  }
  .main-content,
  .js-main {
    width: 100%;
    max-width: 840px;
  }
  .faq-content__title {
    text-align: left;
  }
  .faq-content {
    padding-top: 0;
  }
}

/* 移行記事デザイン調整 */
.faq-content__answer-content a {
  color: #0037ff;
  text-decoration: underline;
  line-height: inherit;
}
.faq-content__answer-content p {
  margin: 5px 0;
  line-height: 2em;
}
.faq-content__answer-content h3 {
  font-size: 16px;
  font-weight: bold;
  padding: 7px 0;
  margin-top: 15px;
  border-bottom: 1px solid #666;
}
.faq-content__answer-content h4 {
  font-size: 16px;
  font-weight: bold;
  padding: 7px 0;
  margin: 25px 0 10px;
  border-bottom: 1px solid #666;
}
.faq-content__answer-content h5 {
  margin-top: 15px;
}
.faq-content__answer-content .ans {
  line-height: 2em;
}
/* リスト */
.faq-content__answer-content .s-list {
  padding: 5px;
  margin-left: 20px;
}
.faq-content__answer-content .s-list li {
  list-style: disc outside;
}
.faq-content__answer-content .list_nodeco {
  padding: 5px;
  margin-left: 15px;
}
.faq-content__answer-content .list_nodeco li {
  list-style: none;
}
.faq-content__answer-content .d-list,
.faq-content__answer-content .list-decimal {
  padding: 5px;
  margin-left: 20px;
}
.faq-content__answer-content .d-list li,
.faq-content__answer-content .list-decimal li {
  list-style: decimal outside;
}
.faq-content__answer-content .deci-list {
  margin-left: 20px;
}
.faq-content__answer-content .deci-list li {
  list-style: decimal outside;
}
/* レイアウト */
.faq-content__answer-content .horizontal-box2 {
  display: flex;
  justify-content: space-between;
}
.faq-content__answer-content .horizontal-box2 li {
  width: 49%;
}
.faq-content__answer-content .FS_measure {
  padding: 15px;
  text-align: center;
  background-color: #fff;
}
.faq-content__answer-content .FS_measure h3 {
  padding: 15px;
  font-size: 20px;
  font-weight: 600;
  border-bottom: none;
}
.faq-content__answer-content .FS_measure img {
  padding-bottom: 40px;
}
.faq-content__answer-content .box1 {
  border: 1px solid;
  background-color: #f0f0f0;
  padding: 0 10px 10px;
  margin: 15px 0;
}
.faq-content__answer-content .img_pc {
  display: block;
}
.faq-content__answer-content .img_sp {
  display: none;
}
.faq-content__answer-content .img_pc img,
.faq-content__answer-content .img_sp img {
  width: 100%;
  margin: 15px 0;
  border: 1px solid;
}
/* ご注文の流れ（アコーディオン） */
.faq-content__answer-content .sample-accordion {
  min-width: 300px;
  margin: 0 auto;
  padding: 0;
}
.faq-content__answer-content .sample-accordion .ac-content {
  margin: 0;
  padding: 0;
}
.faq-content__answer-content .sample-accordion input {
  display: none;
}
.faq-content__answer-content .sample-accordion label {
  display: block;
  margin-top: 15px;
  padding: 15px;
  font-size: 18px;
  background-color: #dedede;
  border-bottom: 1px solid #fff;
  box-sizing: border-box;
  cursor: pointer;
}
.faq-content__answer-content .sample-accordion label:hover {
  background: #ccc;
}
.faq-content__answer-content .sample-accordion .ac-cont {
  height: 0;
  padding: 0 10px;
  overflow: hidden;
  box-sizing: border-box;
  transition: 0.2s;
}
.faq-content__answer-content .sample-accordion input:checked + .ac-cont {
  height: auto;
  padding: 20px;
}
.return-note {
  margin-left: -14px;
  margin-top: 10px;
}

@media screen and (max-width: 768px) {
  .faq-content__answer-content a {
    text-decoration: none;
  }
  .faq-content__answer-content p {
    margin: 15px 0;
    line-height: 1.5;
  }
  .faq-content__answer-content h4 {
    margin: 20px 0 0;
    padding: 10px 0;
    border-bottom: 1px solid;
  }
  .faq-content__answer-content .s-list {
    padding: 10px;
    margin-left: 12px;
  }
  .faq-content__answer-content .d-list {
    padding: 0 0 0 25px;
    margin-left: 0;
  }
  .faq-content__answer-content .horizontal-box2 {
    display: block;
  }
  .faq-content__answer-content .horizontal-box2 li {
    width: 100%;
    margin-top: 10px;
  }
  .faq-content__answer-content .box1 {
    background-color: #ececec;
    margin: 0;
  }
  .faq-content__answer-content .img_pc {
    display: none;
  }
  .faq-content__answer-content .img_sp {
    display: block;
  }
  .faq-content__answer-content .img_pc img,
  .faq-content__answer-content .img_sp img {
    margin: 0;
  }
  .faq-content__answer-content .sample-accordion label {
    margin: 3px 0;
  }
  .faq-content__answer-content .sample-accordion input:checked + .ac-cont {
    padding: 10px;
  }
  .return-note {
    margin-left: -10px;
  }
}
