@charset "utf-8";
/* common style
-------------------------------------------------------------- */
/* sv */
.sv p {
  padding-top: 3rem;
}

@media (width <= 767px) {
  .sv p {
    text-align: left;
    font-size: 1.5rem;
  }
}

/* tab（FAQページ内の配置調整）
-------------------------------------------------------------- */
.tabAnchor {
  display: block;
  visibility: hidden;
}

.tab {
  padding: 20rem 16rem 0 7rem;
}

.tabNav {
  position: relative;
  justify-content: center;
}

.tabNav::after {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--green);
  content: "";
  z-index: -1;
}

@media (width <= 767px) {
 .tabNav {
    gap: 1rem;
  }
  
  .tabNav::after {
    content: none;
  }
 
  .tabNav li {
    height: 7rem;
    border: 1px solid var(--green);
    border-radius: 10px;
  }
  
  .tabNav li::after {
    content: none;
  }
  
  .tabNav li.is-active {
    height: 7rem;
    border: 1px solid var(--green);
  }
}

/* anchorLayout / anchorNav
-------------------------------------------------------------- */
.tab .anchorLayout {
  padding: 9rem 0 10rem;
  gap: 11rem;
}

.tab .anchorNav {
  padding-left: 0;
  width: 26.5rem;
}

.tab .anchorNav .anchorNavHead {
  position: relative;
  margin-bottom: 2.4rem;
  padding-left: 2.5rem;
  color: #000;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.3;
}

.tab .anchorNav .anchorNavHead .dot {
  position: absolute;
  top: 1rem;
  left: 0;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background-color: var(--green);
}

.tab .anchorNav ul {
  padding-left: 2.5rem;
}

.tab .anchorNav li {
  margin-bottom: 0;
  padding-left: 0;
}

.tab .anchorNav li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 0;
  color: var(--black);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.5;
  opacity: 1;
}

.tab .anchorNav li a::before {
  content: none;
}

.tab .anchorNav li a::after {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-right: 1px solid var(--green);
  border-bottom: 1px solid var(--green);
  transform: rotate(45deg);
  margin-top: -4px;
  transition: border-color .3s ease-in-out;
  content: "";
}

.tab .anchorNav li.is-current a,
.tab .anchorNav li a:hover {
  color: var(--green);
  font-weight: 700;
}

.tab .anchorNav li.is-current a::after,
.tab .anchorNav li a:hover::after {
  border-color: var(--green);
}

/* FAQコンテンツ（右カラム）
-------------------------------------------------------------- */
.faqLabel {
  margin-bottom: 7rem;
  color: #000;
  font-size: 3.2rem;
  font-weight: 700;
}

.faqLabel .en2 {
  display: inline-block;
  margin-right: 3rem;
  color: var(--green);
  font-size: 4rem;
  font-weight: 700;
  line-height: 1;
}

.faqCategory {
  margin-bottom: 7rem;
  scroll-margin-top: var(--headerHeight, 96px);
}

.faqCategoryTitle {
  align-items: center;
  margin-bottom: 1em;
  color: var(--green);
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.5;
}

.faqCategoryTitle .icQ {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  margin-right: 1.5rem;
  width: 3.8rem;
  height: 3.8rem;
  border: 1px solid var(--green);
  border-radius: 50%;
  color: var(--green);
  font-weight: 500;
}

/* アコーディオン（Q&A）
-------------------------------------------------------------- */
.acc {
  margin-left: 3rem;
  border-bottom: 1px solid var(--lightGreen);
}

.acc dt {
  position: relative;
  padding: 4.5rem 10rem 4.5rem 5.5rem;
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 1.6;
  cursor: pointer;
}

.acc dt:not(:first-of-type) {
  border-top: 1px solid var(--lightGreen);
}

.acc dt .q,
.acc dd .a {
  position: absolute;
  top: 4rem;
  left: 2.5rem;
  color: var(--green);
  font-size: 2.4rem;
  font-weight: 700;
}

.acc dd .a {
  top: -0.8rem;
}

.acc dt::before {
  position: absolute;
  top: 0;
  right: 3rem;
  bottom: 0;
  margin: auto;
  width: 4.6rem;
  height: 4.6rem;
  border: 1px solid var(--green);
  border-radius: 50%;
  background-color: var(--green);
  background-image:
    linear-gradient(var(--white), var(--white)),
    linear-gradient(var(--white), var(--white));
  background-position: center;
  background-repeat: no-repeat;
  background-size: 1.3rem 1px, 1px 1.3rem;
  transition: background-color .3s ease-in-out, background-size .3s ease-in-out;
  content: "";
}

.acc dt.open::before {
  background-color: var(--white);
  background-image:
    linear-gradient(var(--green), var(--green)),
    linear-gradient(var(--green), var(--green));
  background-size: 1.3rem 1px, 0 1.3rem;
}

.acc dd {
  display: none;
  position: relative;
  padding: 0 10rem 3rem 5.5rem;
  font-size: 1.6rem;
  line-height: 1.9;
}

.acc dd p + p {
  margin-top: 1.5rem;
}
.acc dd a {
  color: var(--green);
  text-decoration: underline;
}

.acc dd a:hover {
  text-decoration: none;
}

.faqAnchorContent a[href^="tel:"] {
  color: inherit;
  text-decoration: none;
}

.faqTel {
  padding-top: 2rem;
}

.faqTel a {
  position: relative;
  padding-left: 2rem;
  color: var(--green)!important;
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: .1rem;
}

.faqTel a::before {
  position: absolute;
  top: .5rem;
  left: 0;
  width: 16px;
  height: 16px;
  background: url(../img/common/ico_tel_gr.svg) no-repeat center / contain;
  content: "";
}

.faqTel small {
  font-size: 1.4rem;
}

.faqTime {
  position: relative;
  padding-left: 2rem;
  margin-top: 0!important;
}

.faqTime::before {
  position: absolute;
  top: 1.2rem;
  left: .6rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  content: "";
}

.faqNote {
  position: relative;
  padding-left: 2rem;
  margin-top: 0!important;
}

.faqNote span {
  position: absolute;
  top: 0;
  left: 0; 
}

.faqCategory--simple h2 {
  margin-bottom: 4rem;
}

.faqCategory--simple p {
  margin-left: 5rem;
}

@media (width <= 1200px) {
  .tab {
    padding: 10rem 3rem 0;
  }

  .tab .anchorLayout {
    padding: 4rem 0 8rem;
    gap: 4rem;
  }

  .tab .anchorNav {
    width: 24rem;
  }

  .faqLabel {
    font-size: 2rem;
  }

  .faqLabel .en {
    font-size: 3rem;
  }

  .faqCategoryTitle {
    font-size: 2rem;
  }

  .acc dt {
    font-size: 1.5rem;
  }

  .acc dd {
    font-size: 1.5rem;
  }
}

@media (width <= 767px) {
  .tab {
    padding: 3rem 5% 0;
  }

  .tab .anchorLayout {
    padding: 5rem 0 0;
  }

  .tab .anchorNav {
    margin-bottom: 5rem;
    width: 100%;
  }

  .tab .anchorNav .anchorNavHead {
    margin-bottom: .5rem;
  }

  .tab .anchorNav ul {
    padding: 0 1rem;
  }

  .tab .anchorNav li {
    border-bottom: 1px solid var(--lightGreen);
  }

  .tab .anchorNav li a {
    padding: 1.2rem;
  }
  
  .faqLabel {
    margin-bottom: 5rem;
    font-size: 3rem;
    letter-spacing: .5rem;
  }

  .faqLabel .en2 {
    margin-right: 1.5rem;
    font-size: 3rem;
    letter-spacing: .1rem;
  }

  .faqCategory {
    margin-bottom: 5rem;
  }

  .faqCategoryTitle {
    font-size: 2.4rem;
  }

  .faqCategoryTitle .icQ {
    width: 2.8rem;
    height: 2.8rem;
    font-size: 1.5rem;
  }

  .acc {
    margin: 0;
  }

  .acc dt {
    padding: 2.5rem 4.5rem 2.5rem 3.5rem;
    font-size: 1.8rem;
  }

  .acc dt .q, .acc dd .a {
    top: 2rem;
    left: 1rem;
  }

  .acc dd .a {
    top: -1rem;
  }

  .acc dt::before {
    right: 0;
    width: 3.6rem;
    height: 3.6rem;
  }

  .acc dd {
    padding: 0 4.5rem 2.5rem 3.5rem;
    font-size: 1.5rem;
  }

  .faqTel {
    padding-top: 1rem;
  }
  .faqTel a {
    font-size: 2rem
  }
  
  .faqCategory--simple .faqTel a {
    font-size: 2rem;
  }

  .faqCategory--simple p {
    margin-left: 0;
    padding-bottom: 1rem;
    font-size: 1.6rem;
  }
}