@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

/* =====問い合わせフォーム===== */
/* フォーム全体 */
.cmn_table {
  max-width: 800px;
  margin: 0 auto;
}

/* 各行 */
.cmn_table dl {
  display: flex;
  border-bottom: 1px solid #e5e7eb;
  padding: 20px 0;
}

/* 左ラベル */
.cmn_table dt {
  width: 30%;
  font-weight: 600;
  padding-right: 20px;
}

/* 必須マーク */
.cmn_table dt span {
  color: #dc2626;
  margin-left: 6px;
}

/* 右入力欄 */
.cmn_table dd {
  width: 70%;
  margin: 0;
}

.cmn_table input[type="text"],
.cmn_table input[type="email"],
.cmn_table input[type="tel"],
.cmn_table textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
  box-sizing: border-box;
}

/* フォーカス時 */
.cmn_table input:focus,
.cmn_table textarea:focus {
  border-color: #3b82f6; /* SWELLメインカラーに合わせて調整 */
  outline: none;
}

/* テキストエリア */
.cmn_table textarea {
  min-height: 160px;
  resize: vertical;
}

/* 送信ボタン */
.contact_btn {
  text-align: center;
  margin-top: 40px;
}

.contact_btn ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact_btn li {
  display: inline-block;
}

.contact_btn input[type="submit"] {
  background:#333;
  color: #fff;
  border: none;
  padding: 16px 48px;
  border-radius: 3px;
	width:100%;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
}

.contact_btn input[type="submit"]:hover {
  opacity: 0.85;
}

/* 送信ボタンを確実に中央寄せ */
.contact_btn ul {
  display: flex;
  justify-content: center;
}

.contact_btn li {
  list-style: none;
}

/* ===== SP時：項目名と入力欄を縦並び ===== */
@media (max-width: 768px) {
  .cmn_table dl {
    flex-direction: column;
    padding: 16px 0;
  }

  .cmn_table dt,
  .cmn_table dd {
    width: 100%;
  }

  .cmn_table dt {
    padding-right: 0;
    margin-bottom: 8px;
  }
}