@charset "UTF-8";

/* 新規コンタクトフォームスタイルシート */
 form{
 max-width: initial;
 width: 100%;
 margin: 0 auto;
 padding: 20px;
 background-color: initial;
 border-radius: initial;
 box-shadow:initial;}

  .cf7-tabs{
    --cf7-color-bg: #faf7f3;
    --cf7-color-accent: #4CAF50;   
    --cf7-color-accent-soft: #eafbe6;
    --cf7-color-text: #333333;
    --cf7-color-text-sub: #666666;
    --cf7-color-border: #dcdcdc;
    --cf7-color-placeholder: #a3a3a3;
    --cf7-color-btn-gray: #e2e2e2;
    --cf7-radius: 4px;
  }
 
  .cf7-tabs{
    max-width: 900px; /* 前任者コードは720pxでしたが、参考画像の横幅に合わせて拡張 */
    margin: 0 auto;
    font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Noto Sans JP", sans-serif;
    color: var(--cf7-color-text);
  }
 
  /* ---------- タブナビ ---------- */
  .cf7-tab-nav{
    display: flex;
    flex-wrap: wrap;
    border-bottom: 3px solid var(--cf7-color-accent); /* 元コードは #ddd の下線 → ピンクに変更 */
    margin-bottom: 40px;
  }

  .cf7-tab-btn{
    flex: 1 1 auto;
    padding: 20px 8px;
    background: #fff;                 /* 元コードは #f5f5f5 → 白背景に変更 */
    border: 1px solid var(--cf7-color-border);
    border-bottom: none;
    font-size: 15px;
    text-align: center;
    font-weight: 500;
    color: var(--cf7-color-text);
    cursor: pointer;
    transition: background .2s, color .2s, border-color .2s;
  }
 
  .cf7-tab-btn + .cf7-tab-btn{
    border-left: none;                 /* 罫線が重ならないように */
  }
 
  .cf7-tab-btn:hover{
    background: #f5f5f5;
  }
 
  .cf7-tab-btn.is-active{
    background: var(--cf7-color-accent); /* 元コードは白背景+下線色のみ → 塗りつぶしに変更 */
    color: #fff;
    border-color: var(--cf7-color-accent);
    font-weight: bold;
  }
 
  .cf7-tab-btn.is-active:hover{
    background: var(--cf7-color-accent);
  }
 
  /* ---------- タブパネル ---------- */
  .cf7-tab-panel{ display: none; }
  .cf7-tab-panel.is-active{ display: block; }
 
  /* ==========================================================
     フォーム欄の共通スタイル(cf7-row 系)
     ※これは各 Contact Form 7 の「フォーム」タブ側に、
       下記クラスを使ってタグを組んだ場合に当たるCSSです。
       (id=8349の組み方は cf7-form-8349.html を参照)
  ========================================================== */
  .cf7-row{
    display: flex;
    align-items: flex-start;
    gap: 32px;
    padding: 18px 0;
  }
  .cf7-row__label{
    flex: 0 0 200px;
    padding-top: 12px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
  }

label span{
font-size:initial;
color: initial;
}

  .cf7-row__field{
    flex: 1 1 auto;
    max-width: 520px;
  }
  .cf7-required{
    display: inline-block;
    background: var(--cf7-color-accent-soft);
    color: var(--cf7-color-accent);
    font-size: 11px;
    font-weight: bold;
    padding: 3px 8px;
    border-radius: 3px;
    line-height: 1;
    white-space: nowrap;
  }
 
  .cf7-tabs input[type="text"],
  .cf7-tabs input[type="email"],
  .cf7-tabs input[type="tel"],
  .cf7-tabs input[type="url"], 
  .cf7-tabs textarea{
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--cf7-color-border);
    border-radius: var(--cf7-radius);
    background: #fff;
    font-size: 15px;
    font-family: inherit;
    color: var(--cf7-color-text);
  }

  .cf7-tabs input::placeholder,
  .cf7-tabs textarea::placeholder{
    color: var(--cf7-color-placeholder);
  }
  .cf7-tabs input:focus,
  .cf7-tabs textarea:focus{
    outline: none;
    border-color: var(--cf7-color-accent);
  }
  .cf7-tabs textarea{
    min-height: 150px;
    resize: vertical;
  }
 
  .cf7-split{
    display: flex;
    gap: 20px;
  }
 
  .cf7-address-zip{
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
  }

  .cf7-address-zip input{
    max-width: 200px;
    margin-bottom: initial;
  }
  .cf7-btn-gray{
    flex: 0 0 auto;
    padding: 0 20px;
    background: var(--cf7-color-btn-gray);
    border: 1px solid var(--cf7-color-border);
    border-radius: var(--cf7-radius);
    color: var(--cf7-color-text);
    font-size: 14px;
    cursor: pointer;
    white-space: nowrap;
  }
  .cf7-btn-gray:hover{ background: #d5d5d5; }
 
  .cf7-checkbox-group{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 20px;
    padding-top: 12px;
  }
  .cf7-checkbox-group label{
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
  }
  .cf7-checkbox-note{
    color: var(--cf7-color-text-sub);
    font-size: 13px;
    margin-left: 4px;
  }
 
  .cf7-privacy-text{
    padding-top: 12px;
    font-size: 14px;
    line-height: 1.9;
  }
  .cf7-privacy-text a{
    color: var(--cf7-color-accent);
    font-weight: bold;
    text-decoration: underline;
  }
  .cf7-privacy-agree{
    margin-top: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
  }
 
  .cf7-submit-row{
    text-align: center;
    padding-top: 40px;
  }
  .cf7-tabs input[type="submit"]{
    display: inline-block;
    min-width: 240px;
    padding: 16px 40px;
    background: var(--cf7-color-accent);
    color: #fff;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: opacity .2s ease;
  }
  .cf7-tabs input[type="submit"]:hover{ opacity: .85; }
 
  /* ---------- スマホ ---------- */
  @media (max-width: 680px){
    .cf7-tab-btn{
      flex: 1 1 50%;
      font-size: 13px;
      padding: 14px 6px;
    }
    .cf7-row{
      flex-direction: column;
      gap: 8px;
      padding: 16px 0;
    }
    .cf7-row__label{ flex-basis: auto; padding-top: 0; }
    .cf7-row__field{ max-width: 100%; }
    .cf7-split{ flex-direction: column; gap: 10px; }
    .cf7-tabs input[type="text"],
    .cf7-tabs input[type="email"],
    .cf7-tabs input[type="tel"],
	.cf7-tabs input[type="url"],
    .cf7-tabs textarea{
      font-size: 1.3rem; /* iOS自動ズーム対策の最低ライン */
    }
  }