@charset "UTF-8";
:root {
  --c-green: #00712f;
  --c-gry: #333;
  --c-red: #dc2630;
}

#faq .page-title{
  margin-bottom: 50px;
}

.faq_column{
  padding: 20px 3rem;
  margin-bottom: 20px;
  border-radius: 20px;
  background: #fff;
}

.faq_column dl {
  margin: 0;
  padding: 15px 0 0;
}

.faq_column dl dt {
  position: relative;
  cursor: pointer;
  font-size: 22px;
  font-weight: bold;
  padding-left: 50px;
  padding-bottom: 20px;
}

.faq_column dl dt::before {
  content: "Q.";
  position: absolute;
  top: calc(50% - 10px);
  left: 0;
  color: var(--c-green);
  font-size: 36px;
  font-weight: bold;
  transform: translateY(-50%);
}

.faq_column dl dt::after {
  content: "";
  position: absolute;
  top: calc(50% - 10px);
  right: 1rem;
  width: 20px;
  height: 20px;
  border-right: 1px solid var(--c-green);
  border-bottom: 1px solid var(--c-green);
  transform: translateY(-65%) rotate(45deg);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.faq_column dl dt.active::after {
  transform: translateY(-35%) rotate(-135deg);
}

.faq_column dl dd {
  max-height: 0;
  margin: 0;
  overflow: hidden;
  opacity: 0;
  font-size: 16px;
  line-height: 2em;
  transition: max-height 0.5s ease, opacity 0.3s ease;
}

.faq_column dl dd.active {
  max-height: var(--faq-height, 0px);
  opacity: 1;
}

.faq_column dl dd .inner {
  position: relative;
  display: block;
  border-top: 2px dotted #ddd;
  padding: 20px 0 20px 50px;
  font-weight: 500;
}

.faq_column dl dd .inner::before {
  content: "A.";
  position: absolute;
  top: 20px;
  left: 0;
  color: var(--c-red);
  font-size: 36px;
  font-weight: bold;
  line-height: 1;
}

.faq-links{
  margin-top: 80px;
  background-color: #fff;
  border-radius: 30px;
}

.faq-links ul{
  padding: 50px 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: stretch;
}

.faq-links ul li{
  list-style: none;
}

.faq-links ul li.tel a{
  display: flex;
  flex-direction: column;
  background-color: #16B364;
  border-radius: 20px;
}

.faq-links ul li.fax span.inner{
  display: flex;
  flex-direction: column;
  background-color: #C79F6C;
  border-radius: 20px;
}

.faq-links ul li.mail a{
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: #609ABE;
  border-radius: 20px;
}

.faq-links ul li a,
.faq-links ul li > span.inner{
  box-sizing: border-box;
  min-height: 100%;
  height: 100%;
  padding: 20px 30px;
  color: #fff;
  text-decoration: none;
  text-align: center;
  transition: 0.5s;
}

.faq-links ul li a:hover{
  opacity: 0.7;
  transition: 0.5s;
}

.faq-links ul li .txt{
  display: block;
  color: #fff;
  font-size: 22px;
  font-weight: bold;
  line-height: 1.8;
  letter-spacing: 0.05em;
}

.faq-links ul li.mail .txt{
  font-size: 22px;
  line-height: 1.6;
}

.faq-links ul li .icon{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 10x;
  color: #fff;
  font-size: clamp(24px, 2.5vw, 36px);
  font-weight: bold;
  line-height: 1;
}

.faq-links ul li.tel .icon img{
  width: 50px;
  height: auto;
}

.faq-links ul li.fax .icon img{
  width: 58px;
  height: auto;
}

.faq-links ul li.mail .icon{
  margin-top: 0;
  margin-bottom: 10px;
}

.faq-links ul li.mail .icon img{
  width: 60px;
}


@media (max-width: 768px) {
#faq .page-title{
  margin-bottom: 30px;
}

.faq_column{
  padding: 10px 2rem;
}

.faq_column dl {
  margin: 0;
  padding: 15px 0 0;
}

.faq_column dl dt {
  font-size: 18px;
  padding-left: 40px;
  padding-right: 20px;
  padding-bottom: 20px;
}

.faq_column dl dt::before {
  font-size: 28px;
}

.faq_column dl dt::after {
  right: 0;
  width: 15px;
  height: 15px;
}

.faq_column dl dd .inner {
  padding: 20px 0 20px 40px;
  font-size: 14px;
}

.faq_column dl dd .inner::before {
  font-size: 28px;
}

.faq-links{
  margin-top: 60px;
}

.faq-links ul{
  padding: 50px 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: stretch;
}

.faq-links ul li a,
.faq-links ul li > span.inner{
  box-sizing: border-box;
  min-height: 100%;
  height: 100%;
  padding: 20px 30px;
  color: #fff;
  text-decoration: none;
  text-align: center;
}

.faq-links ul li.mail a{
  padding: 40px 30px;
}

.faq-links ul li .txt{
  display: block;
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  line-height: 1.8;
  letter-spacing: 0.05em;
}

.faq-links ul li.mail .txt{
  font-size: 18px;
}

.faq-links ul li .icon{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 10x;
  color: #fff;
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
}

.faq-links ul li.tel .icon img{
  width: 38px;
  height: auto;
}

.faq-links ul li.fax .icon img{
  width: 42px;
  height: auto;
}

.faq-links ul li.mail .icon{
  margin-top: 0;
  margin-bottom: 10px;
}

.faq-links ul li.mail .icon img{
  width: 40px;
}
}
