@charset "UTF-8";
/*====================================
お問合せ入力フォーム
確認ページ
完了ページ
====================================*/
/*ページ全体タイトル*/
.title-wrap-wh {
  width: 100%; }
  .title-wrap-wh .title-style1 {
    padding: 2em 0 2.5em 0; }

/* ページの幅調整 */
#contact-form-page,
#contact-conf-page,
#contact-done-page {
  width: 90%;
  max-width: 1080px;
  margin: 0 auto;
  margin: 20px auto 100px; }

.fw-100 {
  /*フレックスの余白を埋めるため※共通*/
  display: flex;
  /*width: 100%;*/
  flex-direction: column;
  flex: 1;
  gap: 1rem;
  justify-content: flex-start; }

/*--------------------------------------------------------------------*/
/*お問い合せ選択*/
.form-desc {
  /* お問合せフォーム説明 */
  margin-bottom: 30px; }
  .form-desc p {
    margin-bottom: 10px;
    line-height: 1.8; }

.select-desc {
  margin: 5rem 0 2rem; }
  .select-desc p {
    font-size: 1.8rem;
    font-weight: bold; }

.form-group-select .wrap {
  width: 100%;
  max-width: 380px;
  min-width: 200px; }

/* 矢印リンク */
.arrow-link {
  margin-top: 30px; }
  .arrow-link a {
    font-weight: bold;
    position: relative;
    padding-left: 0.5rem;
    margin-left: 2.4rem;
    display: inline-block; }
    .arrow-link a::before {
      content: '';
      position: absolute;
      left: -28px;
      top: 50%;
      transform: translateY(-50%);
      width: 2.4rem;
      height: 2.4rem;
      background-color: #38B281;
      border-radius: 50%; }
    .arrow-link a::after {
      content: '';
      position: absolute;
      left: -21px;
      top: 50%;
      transform: translateY(-50%) rotate(45deg);
      width: 8px;
      height: 8px;
      border-top: 2px solid white;
      border-right: 2px solid white; }

/*--------------------------------------------------------------------*/
/*使い方・接続方法などのご相談*/
.required-elem,
.required-elem-sp,
.en-required-elem,
.en-required-elem-sp {
  /*フォームテーブルの必須タグ*/
  width: 45px;
  display: inline-block;
  background-color: #38B281;
  color: #ffffff;
  font-size: 1.2rem;
  padding: 0.2rem 0.8rem;
  margin-right: 1.5rem;
  margin-top: 1.2rem; }

.elem-0 {
  opacity: 0; }

.en-required-elem,
.en-required-elem-sp {
  width: 75px; }

.required-elem-sp,
.en-required-elem-sp {
  margin-left: 1rem;
  display: none; }

.gr-title {
  /*グレーのタイトル*/
  font-size: 2rem;
  font-weight: bold;
  margin: 53px 0 30px 0;
  padding: 1rem;
  border-top: 1px solid #E1E1E1;
  border-bottom: 1px solid #E1E1E1; }

.input-with-required {
  display: flex;
  align-items: flex-start; }

.form-wrap .side-eng {
  /*半角英数字*/
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start; }
  .form-wrap .side-eng input {
    margin-right: 1rem; }
  .form-wrap .side-eng p {
    margin-top: 1rem;
    font-size: 1.4rem; }

/* フォームテーブル */
.form-content-wrap {
  width: 100%;
  border-collapse: collapse; }
  .form-content-wrap th, .form-content-wrap td {
    padding: 15px;
    vertical-align: top; }
  .form-content-wrap th {
    width: 250px;
    text-align: center; }
    .form-content-wrap th p {
      font-size: 1.4rem;
      margin-top: 1rem;
      font-weight: normal; }
  .form-content-wrap td input[type="email"] {
    max-width: 480px; }
  .form-content-wrap td input[type="tel"] {
    max-width: 222px; }
  .form-content-wrap .name-form input {
    max-width: 222px; }
  .form-content-wrap .address-form input {
    max-width: 498px; }
  .form-content-wrap .model-form input {
    max-width: 270px; }
  .form-content-wrap .shop-form input {
    max-width: 480px; }
  .form-content-wrap .checkbox-group {
    /*共通チェックボックスの調整*/
    display: flex;
    margin: 0;
    gap: 2rem; }
    .form-content-wrap .checkbox-group .checkbox-item {
      display: flex;
      align-items: center; }
      .form-content-wrap .checkbox-group .checkbox-item input {
        margin-top: 0;
        margin-right: 1rem; }

.form-group-input.add {
  /*住所ボタンの崩れ*/ }
  .form-group-input.add p,
  .form-group-input.add input,
  .form-group-input.add .btn-style4 {
    margin-bottom: 1rem; }
  .form-group-input.add .btn-style4 {
    width: 210px; }

.form-gr {
  /*グレーのテーブル*/ }
  .form-gr th, .form-gr td {
    border-bottom: 1px dotted #BFBFBF; }
  .form-gr th {
    background-color: #f5f5f5; }

.form-wh {
  /*白いテーブル*/ }
  .form-wh th {
    text-align: left; }

/*--------------------------------------------------------------------*/
/* お問い合わせ内容 */
/*テキストエリア*/
textarea {
  flex: 1;
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  resize: vertical;
  min-height: 200px; }
  textarea:focus {
    border-color: #38B281;
    outline: none; }

/*ファイル選択*/
.file-group {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem; }
  .file-group .file-label {
    width: 100px;
    flex-shrink: 0;
    /* 追加：縮小しないようにする */ }
  .file-group .file-button {
    position: relative;
    width: 220px;
    flex-shrink: 0;
    /* 追加：縮小しないようにする */ }
  .file-group .file-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer; }
  .file-group .file_name {
    word-wrap: break-word;
    /* 長い単語を必要に応じて折り返す */
    overflow-wrap: break-word;
    /* 新しい標準プロパティ（word-wrapの代替） */
    word-break: break-all;
    /* 必要に応じて任意の文字で改行を許可 */
    flex: 1;
    /* 追加：残りの空間を占める */
    margin-left: 10px;
    /* 追加：左側に少し余白を作る */ }

/*年月日*/
.date-box .date-title {
  width: 100px;
  padding: 0.5rem; }

.select-date {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem; }
  .select-date select {
    width: auto;
    min-width: 74px;
    border-radius: 0;
    display: inline-block;
    height: 35px;
    box-sizing: border-box;
    line-height: 1.5;
    color: #000;
    background-color: #fff;
    background-image: none;
    border: 1px solid #BFBFBF;
    outline: none;
    padding: 0 0.5em; }
  .select-date .unit {
    font-size: 1.4rem; }

/* 確認ボタン */
.form-submit {
  margin-top: 100px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center; }
  .form-submit button {
    margin: 0 3rem 3rem; }

#contact-form-page .form-submit button {
  max-width: 480px; }

/*--------------------------------------------------------------------*/
/*確認ページ*/
#contact-conf-page .file-section {
  flex: none; }
#contact-conf-page .form-img-wrap {
  width: 200px;
  height: 200px;
  margin-right: 1rem; }
  #contact-conf-page .form-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: top; }
#contact-conf-page .conf-form .conf-item {
  width: auto;
  margin-right: 2rem;
  margin-top: 1.1rem;
  white-space: pre-line;
  word-break: break-word;
  line-height: 1.8; }

/*--------------------------------------------------------------------*/
/*完了ページ*/
#contact-done-page .done-text {
  text-align: center; }
  #contact-done-page .done-text p {
    margin-bottom: 2rem;
    line-height: 1.8; }
    #contact-done-page .done-text p .big-text {
      font-size: 2rem; }

/*--------------------------------------------------------------------*/
/* レスポンシブ対応 */
@media screen and (max-width: 960px) {
  .file-group {
    display: block; }
    .file-group .file-label,
    .file-group .file-button {
      margin-bottom: 1rem; } }
@media screen and (max-width: 820px) {
  .title-wrap-wh .title-style1 {
    padding: 1em 0 1em 0; }

  .form-group-input.postal-code input {
    width: 100%; }

  .form-content-wrap .form-double {
    text-align: left; }
    .form-content-wrap .form-double input {
      width: 100%;
      max-width: 480px;
      flex: auto;
      margin-bottom: 1rem; }

  .input-with-required {
    display: block; }

  .form-table {
    /*縦並び・余白*/ }
    .form-table th, .form-table td {
      display: block;
      width: 100%;
      text-align: left;
      padding: 1rem;
      margin-bottom: 1.5rem;
      border-bottom: none; }
    .form-table .required-elem-sp,
    .form-table .en-required-elem-sp {
      margin-top: 0;
      display: inline-block; }
    .form-table .required-elem,
    .form-table .en-required-elem {
      display: none; }
    .form-table td {
      padding-top: 0.5rem; } }
