#titleBlock {
  margin: 40px auto 50px;
}

#titleBlock > h2 {
  font-size: 48px;
  color: #009944;
  letter-spacing: 0.1em;
  text-align: center;
  margin-bottom: 30px;
}

#titleBlock > h3 {
  font-size: 28px;
  color: #009944;
  font-weight: 600;
  text-align: center;
  margin-bottom: 10px;
}

#titleBlock > p {
  font-size: 20px;
  color: #009944;
  font-weight: 600;
  text-align: center;
}

@media (max-width: 900px) {
  #titleBlock {
    width: 86%;
    margin: 30px auto 30px;
  }

  #titleBlock > h2 {
    font-size: 28px;
    margin-bottom: 20px;
  }

  #titleBlock > h3 {
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: 500;
  }

  #titleBlock > p {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
    text-align: left;
  }
}
#consultationSection {
  padding: 60px 0;
  background-color: #f1f1f1;
}

#consultationBlock {
  width: 1000px;
  padding: 40px 0;
  border-radius: 20px;
  margin: auto;
  background-color: #fefefe;
}

#consultationBlock > h4 {
  font-size: 20px;
  color: #009944;
  letter-spacing: 0.05em;
  text-align: center;
}

#consultationFlex {
  display: flex;
  justify-content: center;
  margin-top: 30px;
  column-gap: 20px;
}

#consultationFlex > div {
  width: 240px;
  height: 120px;
  border: solid 2px #009944;
  border-radius: 5px;
  text-align: center;
  transition: all 0.3 ease-in-out;
}

#consultationFlex > div:hover {
  filter: opacity(0.8);
}

#consultationFlex > div > a {
  display: inline-block;
  padding: 10px 0;
  width: 100%;
  height: 100%;
  transition: all 0.3 ease-in-out;
}

#consultationFlex > div a > img {
  width: 48px;
  object-fit: contain;
  margin-top: 10px;
  margin-bottom: 10px;
}

#consultationFlex > div a > img.conIcon02 {
  width: 45px;
  margin-top: 15px;
  margin-bottom: 15px;
}

#consultationFlex > div a > img.conIcon03 {
  width: 20px;
  margin-top: 5px;
  margin-bottom: 5px;
}

#consultationFlex > div a > h5 {
  font-size: 18px;
  color: #009944;
  font-family: "Noto Sans JP", sans-serif;
  padding-bottom: 5px;
}

#consultationFlex > div a > p {
  font-size: 11px;
  color: #009944;
  font-weight: 400;
  line-height: 1.2;
}

@media (max-width: 900px) {
  #consultationSection {
    padding: 30px 0;
  }

  #consultationBlock {
    width: 90%;
    padding: 30px 0 20px;
  }

  #consultationBlock > h4 {
    font-size: 18px;
  }

  #consultationFlex {
    flex-direction: column;
  }

  #consultationFlex > div {
    width: 84%;
    height: auto;
    border: solid 1px #009944;
    border-radius: 35px;
    margin: auto;
    margin-bottom: 20px;
  }

  #consultationFlex > div > a {
    position: relative;
    padding: 12px 0;
  }

  #consultationFlex > div a > img {
    width: 30px;
    position: absolute;
    top: -1px;
    left: 10%;
  }

  #consultationFlex > div a > img.conIcon02 {
    width: 26px;
    top: 18px;
    margin-top: 0;
    margin-bottom: 0;
  }

  #consultationFlex > div a > img.conIcon03 {
    width: 15px;
    top: 12px;
    left: 12%;
    margin-top: 0;
    margin-bottom: 0;
  }

  #consultationFlex > div a > h5 {
    font-size: 15px;
    text-align: left;
    padding-left: 25%;
  }

  #consultationFlex > div a > p {
    font-size: 9px;
    text-align: left;
    padding-left: 25%;
  }
}
#guideDetailBlock {
  padding: 40px 0 80px;
  background-color: #009944;
  scroll-margin-top: 60px;
}

.guideTabs {
  width: 1000px;
  margin: 40px auto 0;
}

.tabMenu {
  display: flex;
  list-style: none;
  padding: 0;
  position: sticky;
  top: 150px;
  z-index: 20;
  border-bottom: solid #fefefe 5px;
}

.tabMenu li {
  font-size: 15px;
  color: #fefefe;
  background-color: #009944;
  font-weight: 600;
  letter-spacing: 0.1em;
  width: 400px;
  text-align: center;
  box-sizing: border-box;
  position: relative;
  top: 0;
  padding-left: 2px;
}

.tabMenu li > span {
  display: inline-block;
  width: 100%;
  height: 100%;
  padding: 14px 0 15px;
  border: solid 2px #fefefe;
  border-bottom: none;
  border-radius: 20px 20px 0 0;
  color: #fefefe;
  background-color: #009944;
}

.tabMenu li > a {
  display: inline-block;
  width: 100%;
  height: 100%;
  padding: 14px 0 15px;
  border: solid 2px #fefefe;
  border-bottom: none;
  border-radius: 20px 20px 0 0;
  color: #fefefe;
  background-color: #009944;
  box-sizing: border-box;
}

.tabMenu li:first-child {
  padding-left: 0;
}

.tabMenu li.tabActive {
  background-color: #009944;
}

.tabMenu li.tabActive > span {
  color: #434343;
  background-color: #fefefe;
}

.tabContent {
  background-color: #fefefe;
  border-radius: 0 0 20px 20px;
}

.tabContent > div {
  width: 100%;
  padding: 70px 100px 80px;
  box-sizing: border-box;
}

.tabContent > div:nth-child(2), .tabContent > div:nth-child(3) {
  display: none;
}

@media (max-width: 1000px) {
  #guideDetailBlock {
    padding: 20px 0 50px;
    scroll-margin-top: 40px;
  }

  .guideTabs {
    width: 90%;
    margin: 30px auto 0;
  }

  .tabMenu li {
    font-size: 12px;
    width: 50%;
    letter-spacing: 0;
  }

  .tabContent > div {
    padding: 50px 50px;
  }
}
@media (max-width: 900px) {
  .tabMenu {
    top: 90px;
  }
}
@media (max-width: 800px) {
  .tabContent > div {
    padding: 40px 20px;
  }
}
#moveinTitle {
  margin: auto;
  margin-bottom: 50px;
}

#moveinTitle > h4 {
  font-size: 32px;
  color: #009944;
  letter-spacing: 0.03em;
  text-align: center;
  margin-bottom: 20px;
}

#moveinTitle > p {
  font-size: 16px;
  color: #009944;
  text-align: center;
}

@media (max-width: 900px) {
  #moveinTitle {
    margin: auto;
    margin-bottom: 30px;
  }

  #moveinTitle > h4 {
    font-size: 20px;
  }

  #moveinTitle > p {
    font-size: 14px;
    text-align: left;
    line-height: 1.4;
  }
}
#faqLink {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  align-items: stretch;
}

#faqLink > div {
  display: flex;
  align-items: center;
  width: 190px;
  background-color: #009944;
  border-radius: 30px;
  margin: 0 5px 20px;
  text-align: center;
  transition: all 0.3s ease-in-out;
}

#faqLink > div:hover {
  filter: opacity(0.8);
}

#faqLink > div a {
  color: #fefefe;
  font-size: 15px;
  width: 100%;
  height: 100%;
  display: table-cell;
  height: auto;
  line-height: 1.4;
  /*height:36px; line-height: 36px;*/
  text-align: center;
  padding-top: 8px;
  padding-bottom: 8px;
}

#faqLink > div a:hover {
  filter: opacity(0.8);
}

@media (max-width: 700px) {
  #faqLink > div {
    align-items: center;
    width: 142px;
    margin: 0 auto 20px;
  }

  #faqLink > div a {
    font-size: 13px;
    display: table-cell;
    height: auto;
    padding-top: 7px;
    padding-bottom: 7px;
  }
}
/*
#faqLink { display: flex; justify-content: center; column-gap:10px; }
#faqLink > div a { color:$whiteColor; font-size:15px; display: block; width:190px; height:36px; line-height: 36px; background-color:$mainColor; text-align:center; border-radius: 20px; transition: all 0.3s ease-in-out; }
#faqLink > div a:hover { filter: opacity(0.8); }
@media (max-width: 900px) {
  #faqLink { flex-wrap: wrap; }
  #faqLink > div a { font-size:13px; width:142px; height:30px; line-height: 30px; margin-bottom:10px; }
}
*/
div.faqSection {
  padding-top: 60px;
}

div.faqSection > h5 {
  font-size: 24px;
  color: #009944;
}

div.faqSection > div.faqBlock {
  margin-top: 20px;
  border: solid 1px #009944;
}

div.faqSection > div.faqBlock details {
  margin: auto;
  position: relative;
}

div.faqSection > div.faqBlock details::before {
  content: "";
  top: 20px;
  left: 30px;
  width: 26px;
  height: 21px;
  background: url("../image/faq/faqIcon.png");
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
}

div.faqSection > div.faqBlock details::after {
  content: "";
  top: 22px;
  right: 30px;
  width: 15px;
  height: 15px;
  background-color: #009944;
  border-radius: 10px;
  position: absolute;
}

div.faqSection > div.faqBlock details summary {
  font-size: 16px;
  line-height: 1.4;
  color: #009944;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
  padding: 20px 30px;
  padding-left: 66px;
  position: relative;
  z-index: 10;
}

div.faqSection > div.faqBlock details summary::before {
  content: "";
  width: 7px;
  height: 1px;
  top: 29px;
  right: 34px;
  background-color: #fefefe;
  position: absolute;
}

div.faqSection > div.faqBlock details summary::after {
  content: "";
  width: 7px;
  height: 1px;
  top: 29px;
  right: 34px;
  background-color: #fefefe;
  position: absolute;
  transform: rotateZ(90deg);
  transition: all 0.6s ease-in-out;
}

div.faqSection > div.faqBlock details[open] summary::after {
  transform: rotateZ(0);
}

div.faqSection > div.faqBlock details p {
  font-size: 14px;
  line-height: 1.4;
  padding: 5px 30px 20px 66px;
}

div.faqSection > div.faqBlock details p > a {
  color: #434343;
  width: fit-content;
  display: inline-block;
  position: relative;
}

div.faqSection > div.faqBlock details p > a:hover {
  color: #009944;
}

div.faqSection > div.faqBlock details p > a::after {
  content: "";
  background-color: #434343;
  width: 100%;
  height: 1px;
  bottom: 0;
  left: 0;
  position: absolute;
}

div.faqSection > div.faqBlock details p > a:hover::after {
  animation: extendLine 0.6s ease-in-out forwards;
}

@media (max-width: 900px) {
  div.faqSection {
    padding-top: 40px;
  }

  div.faqSection > h5 {
    font-size: 18px;
  }

  div.faqSection > div.faqBlock {
    margin-top: 15px;
  }

  div.faqSection > div.faqBlock details::before {
    top: 16px;
    left: 16px;
    width: 24px;
    height: 20px;
  }

  div.faqSection > div.faqBlock details::after {
    top: 17px;
    right: 16px;
  }

  div.faqSection > div.faqBlock details summary {
    font-size: 14px;
    line-height: 1.4;
    padding: 15px 20px;
    padding-left: 50px;
    padding-right: 30px;
  }

  div.faqSection > div.faqBlock details summary::before {
    top: 24px;
    right: 20px;
  }

  div.faqSection > div.faqBlock details summary::after {
    top: 24px;
    right: 20px;
  }

  div.faqSection > div.faqBlock details p {
    font-size: 12px;
    padding: 1px 30px 20px 50px;
  }
}
@keyframes extendLine {
  0% {
    transform: scale(0, 1);
    transform-origin: left bottom;
  }
  100% {
    transform: scale(1, 1);
    transform-origin: left bottom;
    background-color: #009944;
  }
}
