@charset "utf-8";
/*===========================================================================
all
==========================================================================*/
/*:::::::::::【背景】::::::::::*/
.back {
  padding: 150px 0;
}
@media (max-width:1280px) {}
@media (max-width:1024px) {}
@media (min-height:1366px) { /*ipad pro*/
  .back {
    padding: 100px 0;
  }
}
@media (max-width:900px) {
  .back {
    padding: 100px 0;
  }
}
@media (max-width:600px) {}
@media (max-width:450px) {}
@media (max-width: 400px) {}
/*:::::::::::【横幅】::::::::::*/
.width {
  max-width: 70%;
  margin: 0 auto;
  position: relative;
  z-index: 5;
}
@media (max-width:1500px) {}
@media (max-width:1400px) {
  .width {
    max-width: 80%;
  }
}
@media (max-width:1280px) {}
@media (max-width:1024px) {}
@media (min-height:1366px) { /*ipad pro*/
}
@media (max-width:900px) {
  .width {
    max-width: 90%;
  }
}
@media (max-width:600px) {}
@media (max-width:450px) {}
@media (max-width: 400px) {}
/*:::::::::::【コンテンツ】::::::::::*/
.contents {
  position: relative;
  /*
  margin: 100px auto 0 auto;
*/
}
@media (max-width:1280px) {}
@media (max-width:1024px) {}
@media (min-height:1366px) { /*ipad pro*/
  .contents {
    /*
    margin: 50px auto 0 auto;
*/
  }
}
@media (max-width:900px) {
  .contents {
    /*
    margin: 50px auto 0 auto;
*/
  }
}
@media (max-width:600px) {}
@media (max-width:450px) {}
@media (max-width: 400px) {}
/*========================================================================
コンタクトフォーム
========================================================================*/
/* ===== 全体背景 ===== */
.back.r-back {
  padding: 40px 20px;
}
.width.r-width {
  max-width: 900px;
  margin: 0 auto;
}
/* ===== フォームカード ===== */
.form-table {
  width: 100%;
  border-collapse: separate;
  background-color: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  border-spacing: 0;
  border: 2px solid #e2f4fb; /* ← 外枠追加 */
}
.form-table th, .form-table td {
  padding: 20px;
  vertical-align: top;
  border-bottom: 1px solid #e2f4fb;
}
/* 左ラベルセル */
.form-table th {
  background-color: #e8f7ff;
  width: 30%;
  color: #003f5f;
  font-weight: 600;
  line-height: 1.4;
  border-right: 1px solid #cfeffb;
}
.form-table th .h-flex {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5em;
}
.form-table th span {
  display: inline-block;
  background-color: #00a0dc;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.4;
  padding: 2px 6px;
  border-radius: 4px;
}
.cf-flex {
	display: flex;
	justify-content: flex-start;
	align-items: center;
	grid-gap: 5px;
}
/* ===== 入力フィールド共通 ===== */
.form-input, textarea, .styled-select {
  width: 100% !important;
  background-color: #fff;
  border: 1px solid #9fd5ef;
  border-radius: 6px;
  box-shadow: 0 0 0 3px rgba(0, 160, 220, 0.03);
  padding: 12px 14px;
  font-size: 1rem;
  color: #003f5f;
  line-height: 1.5;
  transition: box-shadow 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}
.form-input::placeholder, textarea::placeholder {
  color: #8fa5b5;
}
.form-input:focus, textarea:focus, .styled-select:focus {
  outline: none;
  border-color: #00a0dc;
  box-shadow: 0 0 0 3px rgba(0, 160, 220, 0.15);
  background-color: #fafdff;
}
textarea {
  min-height: 150px;
  resize: vertical;
}
/* ===== セレクトボックス（▼カスタム） ===== */
.styled-select {
  max-width: 260px;
  cursor: pointer;
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #00a0dc 50%), linear-gradient(135deg, #00a0dc 50%, transparent 50%);
  background-size: 6px 6px, 6px 6px;
  background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%;
  background-repeat: no-repeat;
  background-color: #fff;
  font-weight: 500;
}
/* ===== プライバシーポリシー部分 ===== */
.privacy-box td {
  border-bottom: none !important;
}
.privacy-area {
  max-height: 300px;
  overflow-y: auto;
  border: 1px solid #9fd5ef;
  border-radius: 6px;
  background: linear-gradient(to bottom, #f4fcff 0%, #ffffff 40%);
  box-shadow: 0 0 0 3px rgba(0, 160, 220, 0.03);
  color: #003f5f;
  font-size: 0.95rem;
  line-height: 1.6;
	padding: 0 5px;
}
.privacy-title {
  display: block;
  position: relative;
  font-family: "Kiwi Maru", sans-serif;
  font-size: clamp(1.05rem, 1vw + .9rem, 1.25rem);
  font-weight: 600;
  color: #003f5f;
  padding: 10px 0 4px;
}
.privacy-title::before {
  content: "";
  width: 4px;
  height: 1.2em;
  background-color: #00a0dc;
  border-radius: 2px;
  display: inline-block;
  margin-right: 8px;
  vertical-align: middle;
}
.privacy-area p {
  padding: 16px 0 20px;
  border-bottom: 1px dashed #9fd5ef;
  font-size: clamp(0.95rem, 0.2vw + 0.9rem, 1.05rem);
	font-weight: 400;
  color: #003f5f;
}
.privacy-area p:first-child {
  padding-top: 0;
}
.privacy-area p:last-child {
  border-bottom: none !important;
}
/* 電話番号の強調 */
.pp-tel {
  display: block;
  margin-top: 16px;
  font-weight: 600;
  color: #00a0dc;
  font-size: clamp(0.9rem, 0.3vw + 0.8rem, 1.1rem);
}
/* ===== 同意チェック ===== */
.check-button {
  display: flex;
  justify-content: center; /* 左寄せで誠実感 */
  align-items: flex-start;
  margin-top: 16px;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #003f5f;
  font-weight: 500;
  position: relative;
}
.check-button input[type="checkbox"] {
  margin-right: 10px;
  margin-top: 3px;
  width: 18px;
  height: 18px;
  accent-color: #00a0dc; /* 対応ブラウザでは水色のチェックに */
  border-radius: 4px;
}
/* 水滴アイコンっぽい演出（任意。コメントアウトでON/OFF） */
/*
.check-button::before {
  content: "";
  position: absolute;
  left: -28px;
  top: 0;
  width: 16px;
  height: 16px;
  background: radial-gradient(circle at 30% 30%, #ffffff 0%, #cfeffb 60%, #00a0dc 100%);
  border-radius: 50% 50% 55% 55%;
  filter: drop-shadow(0 2px 2px rgba(0,160,220,.3));
}
*/
/* ===== 送信ボタン ===== */
.submit-btn {
  text-align: center;
}
button[type="submit"] {
  background-color: #00a0dc;
  color: #fff;
  font-weight: 600;
  padding: 12px 32px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  line-height: 1.4;
  font-size: 1rem;
  box-shadow: 0 2px 2px rgba(0, 160, 220, 0.3);
  transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
button[type="submit"]:hover {
  background-color: #008bbf;
  transform: translateY(2px);
  box-shadow: 0 0 0 rgba(0, 160, 220, 0.4);
}
/* ===== 最下行のボーダー調整 ===== */
.form-table tr:last-child td {
  border-bottom: none;
}
/* ===== スマホ向け（縦積みレイアウト） ===== */
@media (max-width: 900px) {
	.back.r-back {
  padding: 40px 20px;
}
  .form-table, .form-table tbody, .form-table tr, .form-table th, .form-table td {
    display: block;
    width: 100%;
  }
  .form-table th {
    border-right: none;
    border-bottom: none;
    border-left: 4px solid #00a0dc;
    border-radius: 4px 4px 0 0;
    background-color: #e8f7ff;
    box-shadow: 0 4px 8px rgba(0, 160, 220, 0.05) inset;
    font-size: 0.95rem;
  }
  .form-table td {
    border-bottom: 1px solid #e2f4fb;
    background-color: #fff;
    margin-bottom: 20px;
    border-radius: 0 0 6px 6px;
  }
  .styled-select {
    max-width: 100%;
  }
  .submit-btn {
    background: transparent;
  }
}
@media (max-width:600px) {
  /*--------------【メールフォーム】----------------*/
  .form-input, textarea {
    margin-top: 0;
  }
  /*:::::【お問い合わせ種類】:::::*/
  .styled-select {
    max-width: 100%;
  }
  .btn-th {
    display: none !important;
  }
  .submit-btn {
    background-color: #fff !important;
    margin-top: 0;
    margin-bottom: 0 !important;
  }
}