@charset "utf-8";

/** ***************************************************************************
 * アンカーナビ
 * ************************************************************************* */

#main-contents nav.anchor-nav ul.list {
  max-width: none;
  margin-left: -5px;
  margin-right: -5px;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: flex-start;
}

#main-contents nav.anchor-nav ul.list li {
  width: calc(100% / 2);
  min-width: 11em;
  padding: 5px;
}

#main-contents nav.anchor-nav ul.list li a {
  height: 100%;
  padding: 0.5em 0.5em 1.625em;
  color: #fff;
  border-radius: 8px;
  text-align: center;
  background-color: rgba(var(--accentcolor-marutsu-1), 1.0);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 0;
}

#main-contents nav.anchor-nav ul.list li a::after {
  content: '';
  width: 0.875em;
  height: 1em;
  background: url("../_image/_common/icon-arrow-3.png") 0 0 / 100% 100% no-repeat;
  filter: brightness(0) invert(1);
  transform-origin: center center;
  transform: rotate(90deg);
  position: absolute;
  z-index: 1;
  left: calc(50% - 0.5em);
  bottom: 0.5em;
}

#main-contents nav.anchor-nav ul.list li em {
  font-style: normal;
  font-weight: inherit;
  vertical-align: middle;
  display: inline-block;
}

@media screen and (min-width:737px) {

  #main-contents nav.anchor-nav ul.list li {
    width: calc(100% / 3);
  }

}

/**
 * 上部
 */

#anchor-nav-top {
  margin-bottom: 15px;
}

@media screen and (min-width:737px) {

  #anchor-nav-top {
    margin-bottom: 30px;
  }

}

/** ***************************************************************************
 * よくある質問共用
 * ************************************************************************* */

/**
 * タイトル
 */

#main-contents section.faq .section-title {
  margin-bottom: 2px;
  padding: 0.25em 0.5em 0.375em;
  color: rgb(var(--accentcolor-marutsu-1));
  font-size: 1.286em;
  font-weight: 600;
  background-color: #f5f5f5;
}

@media screen and (min-width:737px) {

  #main-contents section.faq .section-title {
    font-size: 1.333em;
  }

}

/**
 * よくある質問
 */

#main-contents dl.faq div.item {
  border-bottom: 1px solid #cecece;
}

#main-contents dl.faq dt {
  padding: 1.25em 0.25em 1.25em 0.625em;
  cursor: pointer;
  letter-spacing: 1px;
  font-size: 1.067em;
  font-weight: 600;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  transition: background-color 0.3s ease-in-out 0.0s;
  background-color: transparent;
}

#main-contents dl.faq .active dt {
  background-color: #f4f4f4;
}

#main-contents dl.faq dt::before {
  content: 'Q';
  margin-top: -0.05em;
  margin-right: 0.5em;
  color: rgb(var(--accentcolor-marutsu-1));
  line-height: 1;
  font-family: 'DIN 1451';
  font-size: 1.714em;
}

#main-contents dl.faq dt::after {
  content: '＋';
  margin-top: -0.05em;
  margin-left: auto;
  margin-right: 0;
  padding-left: 0.5em;
  color: rgb(var(--accentcolor-marutsu-1));
  line-height: 1;
  font-size: 1.714em;
}

#main-contents dl.faq .active dt::after {
  content: '－';
}

#main-contents dl.faq dd {
  margin-left: 1.75em;
  padding: 1.25em 1em 1.25em 1.25em;
  overflow: hidden;
  transition:
    max-height 0.2s ease-out 0.0s,
    padding-top 0.5s ease-in-out 0.0s,
    padding-bottom 0.5s ease-in-out 0.0s;
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
}

#main-contents dl.faq .active dd {
  border-top: 1px dotted #999;
  transition:
    max-height 0.3s ease-in-out 0.0s,
    padding-top 0.3s ease-in-out 0.0s,
    padding-bottom 0.3s ease-in-out 0.0s;
  max-height: 100vh;
  padding-top: 1.25em;
  padding-bottom: 1.25em;
}

@media screen and (min-width:737px) {

  #main-contents dl.faq dt::before {
    font-size: 1.875em;
  }

}
