/* フォーム上部に表示されるエラーメッセージを非表示 */
.screen-reader-response {
    display: none;
}

/* フォーム内エラーメッセージを赤色に指定 */
.wpcf7-not-valid-tip {
    color: #e92323;
}

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

/* 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:first-of-type: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: 30px;
}

/* active三角形上部 */
.msr_flow02 li:first-of-type::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: 30px;
}

/* 三角形下部 */
.msr_flow02 li::after {
  background-color: var(--color-main);
  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: 1px;
}

/* 三角形上部 */
.msr_flow02 li::before {
  background-color: var(--color-main);
  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: 1px;
}


/*　お問い合わせフォーム　*/
.Form {
  margin-top: 40px;
  margin-left: auto;
  margin-right: auto;
}

.Form-Item {
  padding: 10px 0;
  width: 100%;
  display: block;
}

.Form-Item-Label {
  width: 100%;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.Form-Item-Input {
  padding-left: 1em;
  padding-right: 1em;
  height: 48px;
  flex: 1;
  width: 100%;
  background: #dfeeed;
  font-size: 16px;
}

input.Form-Item-Input:-webkit-autofill {
  box-shadow: 0 0 0 1000px #dfeeed inset;
}

.Form-Item-Input::placeholder {
  color: var(--color-main);
}

.Form-Item-Checkbox {
  display: flex;
  align-items: center;
  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);
}

.Form-Item-Checkbox.label--hidden .wpcf7-list-item-label {
  display: none;
}

.Address-Flex {
  display: flex;
  gap: 30px;
}

.Address-Flex span{
    display: block;
}

.Address-Flex span:first-of-type {
  flex: none;
  min-width: 0;
  width: 125px;
}

.Address-Flex span:last-of-type {
    flex-grow: 1;
    & input {
        width: 100%;
    }
}

.check-box {
  padding: 12px;
  width: 16px;
  height: 16px;
  border: 1px solid var(--color-main);
}

.t-c-main {
  color: var(--color-main);
  text-decoration: underline;
}

.c-red {
  color: #d50032;
}

.jc-c {
  display: flex;
  justify-content: center;
  &>span{
    text-align: center;
  }
}

.Form-Item textarea {
  overflow: auto;
  height: 230px;
}

/* ボタン */
.back-to-top {
  display: flex;
  align-items: center;
  max-width: 300px;
  width: 100%;
  padding: 7px;
  margin: min(8vw, 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;
  padding-left: 30px;
}

.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);
  /* ← ホバー時のアニメーション */
}

.wpcf7-response-output {
    display: none;
}



/* pc */
@media screen and (min-width: 999.8px) {
  h2 {
    font-size: 3.5rem;
  }

  h3 {
    font-size: 2.6rem;
  }

  /* p {
    font-size: 1.6rem;
  } */

  /* sec01 */
  .container01 {
    height: 27vw;
  }

  /* sec02 */

  #sec02 .contents {
    box-shadow: 0 10px 25px 0 rgba(9, 9, 9, .1);
    padding: clamp(1.875rem, 0.463rem + 7.06vw, 143px);
  }

  .tab_item {
    height: 90px;
    line-height: 90px;
  }

  .Address-Flex span:first-of-type {
    flex: none;
    min-width: 0;
    width: 170px;
  }
  
  .Address-Flex span:last-of-type {
      flex-grow: 1;
      & input {
          width: 100%;
      }
  }
  

  /* sec09, footer */
  #sec09 {
    display: block;
    width: 100%;
  }

  .footer__container {
    height: auto;
  }

  .footer__menu {
    display: flex;
  }

  p.copy {
    padding-bottom: 40px;
  }
}

br.sm {
  display: none;
}

@media screen and (max-width: 500px) {

  .msr_flow02 li:nth-child(2) {
    min-width: 130px;
  }
  .msr_flow02 li {
    &>span {
      position: relative;
      top: 8px;
      line-height: 1.2;
      display: inline-block;
    }

    br.sm {
      display: inline-block;
    }

  }





}