/****************

master.cssは編集不可！！
LESSファイルを編集すること！

****************/
/*bootstrapの設定を読み込み*/
section {
  position: relative;
}
.text-bold {
  font-size: clamp(0.75rem, calc(0.5555555555555556vw + 0.625rem), 1rem);
  font-weight: 600;
}
.text-semibold {
  font-size: clamp(0.75rem, calc(0.5555555555555556vw + 0.625rem), 1rem);
  font-weight: 500;
}
.contact-text {
  font-size: clamp(0.75rem, calc(0.5555555555555556vw + 0.625rem), 1rem);
}
.small-text {
  font-size: clamp(0.625rem, calc(0.5555555555555556vw + 0.5rem), 0.875rem);
}
.text-red {
  color: #8D1C17;
}
.sp-center {
  text-align: center;
}
@media (min-width: 768px) {
  .sp-center {
    text-align: left;
  }
}
h2.contact-tit {
  font-size: clamp(0.875rem, calc(0.7792207792207793vw + 0.6996753246753247rem), 1.625rem);
  font-weight: 600;
  text-align: center;
  margin-bottom: clamp(1.25rem, calc(1.1904761904761905vw + 0.9821428571428572rem), 1.875rem);
}
.white-content {
  padding-top: clamp(1.875rem, calc(1.948051948051948vw + 1.4366883116883118rem), 3.75rem);
  padding-bottom: clamp(1.875rem, calc(1.948051948051948vw + 1.4366883116883118rem), 3.75rem);
  padding-left: clamp(1.25rem, calc(1.2987012987012987vw + 0.9577922077922078rem), 2.5rem);
  padding-right: clamp(1.25rem, calc(1.2987012987012987vw + 0.9577922077922078rem), 2.5rem);
  background-color: #ffffff;
  position: relative;
  margin-bottom: clamp(1.875rem, calc(3.571428571428571vw + 1.0714285714285716rem), 3.75rem);
}
.form-wrap {
  width: 100%;
}
@media (min-width: 992px) {
  .form-wrap {
    width: 820px;
    margin-left: auto;
    margin-right: auto;
  }
}
.contact-phone {
  display: flex;
  align-items: center;
  font-size: clamp(1.25rem, calc(2.7777777777777777vw + 0.625rem), 2.5rem);
  font-weight: 500;
  justify-content: center;
  margin-bottom: 0;
  padding-bottom: 15px;
  border-bottom: 2px solid #8D1C17;
}
@media (min-width: 768px) {
  .contact-phone {
    justify-content: normal;
    padding-bottom: 0;
    border-bottom: none;
    border-right: 2px solid #8D1C17;
    text-align: left;
  }
}
.contact-phone img {
  width: 30px;
  margin-right: 10px;
}
@media (min-width: 992px) {
  .contact-phone img {
    width: 50px;
  }
}
.contact-time {
  font-size: clamp(0.875rem, calc(0.8333333333333334vw + 0.6875rem), 1.25rem);
  font-weight: 500;
  text-align: center;
  padding-top: 15px;
  margin-bottom: 0;
}
@media (min-width: 768px) {
  .contact-time {
    padding-top: 0;
    padding-left: 40px;
    text-align: left;
  }
}
.contactform-text {
  font-size: clamp(0.75rem, calc(0.5555555555555556vw + 0.625rem), 1rem);
  font-weight: 500;
  line-height: 3.125rem;
  margin-bottom: 0;
}
.req-text {
  color: #8D1C17;
}
/* ベース */
.acc {
  border: 1px solid #ddd;
  border-radius: 12px;
  overflow: clip;
  /* 角丸を保ったまま中を切る */
  background: #fff;
}
/* summaryのデフォルト三角を消す */
.acc > summary {
  list-style: none;
}
.acc > summary::-webkit-details-marker {
  display: none;
}
.acc__head {
  cursor: pointer;
  padding: 14px 16px;
  font-size: clamp(0.75rem, calc(0.5555555555555556vw + 0.625rem), 1rem);
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
/* 右側の矢印 */
.acc__head::after {
  content: "▾";
  transition: transform 240ms ease;
}
/* 中身：gridで高さ可変でも滑らかに */
.acc__body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 240ms ease;
}
.acc__inner {
  overflow: hidden;
  padding: 0 16px;
  /* 開閉時の余白はinnerに持たせる */
  padding-bottom: 14px;
  font-size: clamp(0.75rem, calc(0.5555555555555556vw + 0.625rem), 1rem);
  color: #333;
  line-height: 1.7;
}
/* 開いたとき */
.acc[open] .acc__body {
  grid-template-rows: 1fr;
}
.acc[open] .acc__head::after {
  transform: rotate(180deg);
}
/* ユーザーが「動きを減らす」設定ならアニメ無し */
@media (prefers-reduced-motion: reduce) {
  .acc__body,
  .acc__head::after {
    transition: none;
  }
}
.submit-wrap {
  position: relative;
  width: 180px;
  height: 50px;
  -webkit-transition: 0.5s ease-in-out;
  transition: 0.5s ease-in-out;
}
@media (min-width: 768px) {
  .submit-wrap {
    width: 200px;
  }
}
@media (min-width: 992px) {
  .submit-wrap {
    width: 220px;
    height: 60px;
  }
}
.submit-wrap .circle-icon {
  position: absolute;
  top: 5px;
  right: 5px;
  display: block;
  width: 36px;
  height: 36px;
  background-color: #ffffff;
  border: 1px solid #ffffff;
  border-radius: 50%;
  transition: 0.5s ease-in-out;
}
@media (min-width: 992px) {
  .submit-wrap .circle-icon {
    width: 40px;
    height: 40px;
  }
}
.submit-wrap .circle-icon:before {
  content: "";
  width: .5rem;
  height: .5rem;
  position: absolute;
  top: 50%;
  left: 50%;
  clip-path: polygon(0 45%, 85% 45%, 50% 0, 60% 0, 100% 50%, 60% 100%, 50% 100%, 85% 55%, 0 55%);
  background-color: #8D1C17;
  transform: translate(-50%, -50%);
  transition: 0.5s ease-in-out;
}
.submit-wrap:hover .btn-circle {
  background-color: transparent;
}
.submit-wrap:hover .btn-circle::before {
  background-color: #ffffff;
}
