
@charset "UTF-8";

html {
  font-size: 62.5%;
}

/* sp */

/* sec01 */
.container01 {
  width: 100%;
  height: 45vw;
  position: relative;
  background-image: url(../images/common/mv_contact.jpg);
  background-size: cover;
  background-position: top;
  background-repeat: no-repeat;
}

.d-none {
    display: none;
}

/* sec02 */
#sec02 {
  margin-top: min(15vw, 200px);
  /* margin-bottom: min(11.5vw, 130px); */
  line-height: 2;
}

#sec02 h2 {
  text-align: center;
  color: var(--color-main);
  margin-bottom: min(2vw, 60px);
}

#sec02 .contents {
  padding: min(5.3vw, 90px);
  background-color: var(--color-white);
}

/*タブ*/
.msr_flow02 {
  display: flex;
  color: #000000;
  list-style: none;
  overflow: hidden;
  margin-top: 20px;
  border: 1px solid#00817a;
}

.msr_flow02 li {
  background-color: var(--color-white);
  width: calc(100%/3);
  line-height: 60px;
  color: var(--color-main);
  display: block;
  float: left;
  font-size: clamp(14px, 2vw, 20px);
  min-width: 100px;
  padding: 0 10px;
  text-align: center;
  text-decoration: none;
}

.msr_flow02 .active {
  background-color: var(--color-main);
  color: var(--color-white);
}

/* active三角形下部 */
.msr_flow02 li:nth-child(2):after {
  background-color: #00817a;
  content: " ";
  display: block;
  height: 31px;
  margin-left: auto;
  margin-right: -20px;
  margin-top: -30px;
  position: relative;
  transform: skew(-30deg);
  -o-transform: skew(-30deg);
  -ms-transform: skew(-30deg);
  -moz-transform: skew(-30deg);
  -webkit-transform: skew(-30deg);
  width: 20px;
}

/* active三角形上部 */
.msr_flow02 li:nth-child(2)::before {
  background-color: #00817a;
  content: " ";
  display: block;
  float: right;
  height: 31px;
  margin-bottom: -30px;
  margin-left: auto;
  margin-right: -20px;
  transform: skew(30deg);
  -o-transform: skew(30deg);
  -ms-transform: skew(30deg);
  -moz-transform: skew(30deg);
  -webkit-transform: skew(30deg);
  width: 20px;
}

/* 三角形下部 */
.msr_flow02 li::after {
  background-color: var(--color-white);
  content: " ";
  display: block;
  height: 31px;
  margin-left: auto;
  margin-right: -20px;
  margin-top: -30px;
  position: relative;
  transform: skew(-30deg);
  -o-transform: skew(-30deg);
  -ms-transform: skew(-30deg);
  -moz-transform: skew(-30deg);
  -webkit-transform: skew(-30deg);
  width: 20px;
}

/* 三角形上部 */
.msr_flow02 li::before {
  background-color: var(--color-white);
  content: " ";
  display: block;
  float: right;
  height: 31px;
  margin-bottom: -30px;
  margin-left: auto;
  margin-right: -20px;
  transform: skew(30deg);
  -o-transform: skew(30deg);
  -ms-transform: skew(30deg);
  -moz-transform: skew(30deg);
  -webkit-transform: skew(30deg);
  width: 20px;
}


/*　お問い合わせフォーム　*/
.t-c-main {
  color: var(--color-main);
  text-decoration: underline;
}

.c-red {
  color: #d50032;
}

.jc-c {
  display: flex;
  justify-content: center;
}

.row {
  display: flex;
  align-items: flex-start;
  margin-block: 2rem;
  line-height: 1.5;
  flex-wrap: wrap;
}

dt {
  width: 100%;
  font-weight: normal;
}

dd {
  width: 100%;
  margin: 0;
}

.d-f {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 4rem;
  gap: 2.6rem;
}

.btn__wrapper._b {
  order: 2;
}

.btn__wrapper._s {
  order: 1;
}

.w-auto {
  width: auto;
}

.Form-Item-Checkbox {
  display: flex;
  align-items: start;
  gap: 0.5em;
  padding: 2rem 0;
}

.Form-Item-Checkbox input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin: 7px 0;
  -webkit-appearance: auto;
  appearance: auto;
  accent-color: var(--color-main);
  flex-shrink: 0;
}

/* ボタン */
.back-to-top {
  display: flex;
  align-items: center;
  max-width: 300px;
  width: 100%;
  padding: 7px;
  margin: min(5vw, 60px) auto;
  background-color: var(--color-main);
  color: #fff;
  font-size: 16px;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-decoration: none;
  box-sizing: border-box;
}

.back-to-top:hover {
  background-color: var(--color-main);
}

.label {
  flex-grow: 1;
  text-align: center;
}

.arrow-circle {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background-color: #fff;
  color: var(--color-main);
  border-radius: 50%;
  width: 30px;
  height: 30px;
  margin-left: auto;
  /* ← 右寄せ */
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.arrow-b {
  position: relative;
  transition: transform 0.3s ease;
}

.back-to-top:hover .arrow-b {
  transform: translateX(5px);
  /* ← ホバー時のアニメーション */
}

/* 修正するボタン */
.left {
  background-color: var(--color-white);
  color: var(--color-blsck);
  border: 1px solid var(--color-main);
}

.left .arrow-circle {
  border: 1px solid var(--color-main);
}

.left:hover .arrow-b {
  transform: translateX(-5px);
  /* ← ホバー時のアニメーション */
}

.left:hover {
  color: var(--color-white);
}

/* pc */
@media screen and (min-width: 999.8px) {

  h2 {
    font-size: 3.5rem;
  }

  h3 {
    font-size: 2.6rem;
  }

  /* sec01 */
  .container01 {
    height: 27vw;
    background-image: url(../images/common/mv_contact.png);
  }

  /* sec02 */

  .row {
    margin-block: 4rem;
  }

  .Form-Item-Checkbox {    display: flex;
    align-items: center;
  }

  .d-f {
    display: flex;
    max-width: 660px;
    margin: 0 auto;
    justify-content: space-between;
    flex-direction: row;
  }

  .btn__wrapper._b {
    order: 0;
  }

  .btn__wrapper._s {
    order: 2;
  }

  /* dt {
    width: 160px;
  } */

  #sec02 .contents {
    box-shadow: 0 0 50px rgba(9, 9, 9, 0.1);
  }


}

br.sm {
  display: none;
}

@media screen and (max-width: 500px) {
  .msr_flow02 li:nth-child(2) {
    min-width: 130px;
  }

  br.sm {
    display: inline-block;
  }

  .msr_flow02 li {
    &>span {
      position: relative;
      top: 8px;
      line-height: 1.2;
      display: inline-block;
    }
  }

}