@charset "utf-8";
.line_contact_container {
  background: #f4f9f9;
  &.bg_flower_double::before {
    opacity: 0.75;
  }
  .border_box {
    border: 5px solid #bedfe2;
  }
  .icon {
    width: 74px;
    
  }
  .txt_box {
    gap: 0 20px;
    p {
      font-size: clamp(18px, 2.0vw, 20px);
    }
  }
  .select_area {
    background: #dceef0;
    padding: 3% 0;
    width: 70%;
    margin: 3% auto 0;
  }
  .selectbox_wrapper {
      position: relative;
  }
  
  .selectbox_wrapper::before,
  .selectbox_wrapper::after {
      position: absolute;
      content: '';
      pointer-events: none;
  }
  
  .selectbox_wrapper::before {
      display: inline-block;
      right: 0;
      width: 3.0em;
      height: 3.0em;
      border-radius: 0 3px 3px 0;
      background-color: var(--site-primary);
  }
  
  .selectbox_wrapper::after {
      position: absolute;
      top: 50%;
      right: 1.4em;
      transform: translate(50%, -50%) rotate(45deg);
      width: 6px;
      height: 6px;
      border-bottom: 3px solid #fff;
      border-right: 3px solid #fff;
  }
  
  .selectbox_wrapper select {
      appearance: none;
      min-width: 270px;
      height: 3.0em;
      padding: .4em 3.6em .4em .8em;
      border: none;
      border-radius: 3px;
      background-color: #ffffff;
      color: #333;
      font-size: 1em;
      cursor: pointer;
  }
  
  .selectbox_wrapper select:focus {
      outline: 2px solid var(--site-primary);
  }
  .result_box {
    display: none;
  }
  .result_box p {
    margin: 4% 0 2.5%;
    white-space: pre-wrap;
  }
  .result_box .sub_txt {
    margin: -1% 0 3.5%;
  }
  .btn_line {
    width: 44%;
  }
}
@media only screen and (max-width: 960px) {
  .line_contact_container {
    .icon {
      width: 60px;
    }
    .select_area {
      width: 100%;
    }
  }
}
@media only screen and (max-width: 568px) {
  .line_contact_container {
    .icon {
      width: 50px;
    }
    .txt_box {
      gap: 8px 0;
      flex-direction: column;
      p {
        font-size: 4.8vw;
        text-align: center;
      }
    }
    .border_box {
      border-width: 3px;
      padding: 18px 15px 20px;
    }
    .select_area {
      padding: 6% 6%;
      margin-top: 5%;
    }
    .selectbox_wrapper select {
      min-width: 100%;
    }
    .result_box p {
      font-size: 16px;
      margin: 6% 0 1.5%;
    }
    .result_box .sub_txt {
      margin: 3% 0 3.5%;
    }
    .btn_line {
      width: 100%;
      margin-top: 2.5%;
    }
  }
}
