@charset "utf-8";
/* CSS Document */
body {
    overflow-x: hidden;
    font-family: 'メイリオ', sans-serif, 'Hiragino Sans', 'ヒラギノ角ゴ ProN W3', sans-serif;
    color: #333;
    line-height: 1.6;
}
main {
    overflow: hidden;
    margin-bottom: 80px; /* フッターとの間隔を確保 */
}

/* フォーム全体のラッパー */
#form_wrap {
    padding: 20px; /* 全体の余白 */
}

/* フォームタイトル */
.form-title {
    margin: 60px auto 40px;
    text-align: center;
}
.form-title h2 {
    position: relative;
    display: inline-block;
    font-size: 2.2rem; /* 少し大きく */
    color: #856b30; /* ホテルのテーマカラーに合わせる */
    margin-bottom: 20px; /* Pタグとの間隔を調整 */
    letter-spacing: 0.05em; /* 文字間隔を調整 */
}
.form-title h2:before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -10px; /* 下線と文字の間隔を調整 */
    display: inline-block;
    width: 80px; /* 下線の長さを調整 */
    height: 1px;
    background-color: #bb8f55; /* ホテルのテーマカラーに合わせる */
    transition: .5s all;
}
.form-title p {
    font-size: 1.1rem;
    color: #555;
}

/* 電話案内ボックス */
.form-tel {
    width: 60%; /* 幅を調整 */
    max-width: 800px; /* 最大幅を設定 */
    margin: 0 auto 40px;
    padding: 20px;
    background-color: #f8f8f8; /* 明るい背景色 */
    border: 1px solid #eee;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05); /* 控えめな影 */
}
.form-tel p {
    margin-bottom: 10px;
    color: #666;
    font-size: 0.95rem;
}
.form-tel a {
    font-size: 1.8rem; /* 電話番号を大きく */
    color: #bb8f55; /* テーマカラー */
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease;
}
.form-tel a:hover {
    color: #856b30; /* ホバー時の色 */
}

/* フォーム本体のスタイル */
#contact-form {
    width: 60%; /* 幅を調整 */
    max-width: 800px; /* 最大幅を設定 */
    margin: 0 auto;
    padding: 40px;
    background: #FFF;
    border: solid 1px #e0e0e0; /* 控えめなボーダー */
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08); /* 影を強化 */
}

.color-wrap {
    padding: 0; /* Mailform Proの`.color-wrap`のpaddingをリセット */
    background: none; /* Mailform Proの`.color-wrap`の背景をリセット */
}

/* フォーム項目リスト */
dl.mailform {
    width: 100%; /* 親要素に合わせる */
    margin: 0 auto;
    border: none; /* dlのボーダーを削除 */
    background: none; /* dlの背景を削除 */
    padding: 0; /* dlのpaddingをリセット */
}
dl.mailform dt {
    margin-bottom: 8px;
    color: #444;
    font-size: 1rem;
    display: flex; /* 必須マークと横並びにするため */
    align-items: center;
}
dl.mailform dd {
    margin-bottom: 25px; /* 各項目間の余白 */
}

/* 必須マーク */
.must {font-size:10px;color:#D00;margin-left:5px;}

/* 入力フィールド、セレクトボックス、テキストエリア */
input[type="radio"],
input[type="checkbox"] {
    width: auto; /* 幅を自動調整 */
    height: auto; /* 高さを自動調整 */
    margin-right: 8px;
    vertical-align: middle;
    border: 1px solid #ccc;
    background-color: #fff;
    cursor: pointer;
    padding: 0; /* paddingをリセット */
    outline: none;

    /* ブラウザのデフォルトスタイルを強制的に適用 */
    -webkit-appearance: checkbox; /* for checkbox */
    -moz-appearance: checkbox; /* for checkbox */
    appearance: checkbox; /* for checkbox */
    box-sizing: content-box; /* paddingやborderがwidth/heightに含まれないように */
}

/* ラジオボタンは丸く */
input[type="radio"] {
    border-radius: 50%;
    -webkit-appearance: radio;
    -moz-appearance: radio;
    appearance: radio;
}

.check_wrap {
    display: flex;
    align-items: center; /* ラベルとチェックボックスを縦方向中央揃え */
    margin-bottom: 10px;
}
.check_wrap label {
    font-size: 1rem;
    color: #444;
    cursor: pointer;
}

/* プライバシーポリシーリンク */
.privacy_link {
    text-align: center;
    margin: 30px 0;
    font-size: 0.9rem;
    color: #666;
}
.privacy_link a {
    display: inline;
    color: #bb8f55; /* テーマカラー */
    text-decoration: underline;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}
.privacy_link a:hover {
    color: #856b30;
}

/* 送信ボタン */
div.mfp_buttons {
    clear: both;
    padding: 20px 0;
    text-align: center;
}
div.mfp_buttons button {
	background:linear-gradient(to bottom,#8dcd38 0%,#53af25 100%);
	border:none;
	padding:15px 20px;
	font-size:14px;
	color:#FFF;
	width:300px;
	border-radius:10px;
	text-shadow:none;
	transition:.3s ease-in-out;
}
div.mfp_buttons button:hover{background:linear-gradient(to bottom,#8dcd38 0%,#53af25 100%);opacity:.5;}

/* ありがとうございます画面用 (このフォームでは直接使用しないが、共通化のため残す) */
.thanks-cap {
    margin: 50px auto;
    text-align: center;
    font-size: 1.2rem;
    color: #555;
}
.done a {
    display: inline-block;
    text-align: center;
    padding: 15px;
    width: 300px;
    margin: 30px auto;
    transition: .5s all;
    background: linear-gradient(to bottom, #8dcd38 0%, #53af25 100%);
    border-radius: 5px;
    color: #FFF;
    text-decoration: none;
}
.done a:hover {
    opacity: .8;
}

/* --- モーダル部分のスタイル（フォト相談会フォームから流用） --- */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.6);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.modal-content {
  background-color: #fff;
  margin: 80px auto;
  padding: 30px;
  border-radius: 10px;
  width: 90%;
  max-width: 600px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  position: relative;
  animation-name: animatetop;
  animation-duration: 0.4s;
}

@keyframes animatetop {
  from {top: -300px; opacity: 0}
  to {top: 0; opacity: 1}
}

.close-button {
  color: #aaa;
  float: right;
  font-size: 32px;
  font-weight: bold;
  position: absolute;
  top: 10px;
  right: 20px;
  cursor: pointer;
}

.close-button:hover,
.close-button:focus {
  color: #000;
  text-decoration: none;
}

.modal-content h2 {
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 20px;
  text-align: center;
  border-bottom: 2px solid #eee;
  padding-bottom: 10px;
}

.modal-form-details {margin-top:20px;}
.modal-form-details p {
  margin-bottom: 10px;
  font-size: 16px;
  line-height: 1.6;
}

.modal-form-details strong {
  color: #555;
  display: inline-block;
  width: 120px;
}

.modal-actions {
  text-align: center;
  margin-top: 30px;
}

.modal-button {
  padding: 12px 25px;
  margin: 0 10px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.confirm-button {
  background-color: #bb8f55; /* ホテルカラーに合わせる */
  color: white;
}

.confirm-button:hover {
  background-color: #cd853f;
}

.cancel-button {
  background-color: #777; /* 落ち着いた色に */
  color: white;
}

.cancel-button:hover {
  background-color: #555;
}

/* 同意チェックボックスのスタイル */
.agree-checkbox {
    text-align: center;
    margin-top: 15px; /* プライバシーリンクとの間隔 */
    margin-bottom: 30px; /* ボタンとの間隔 */
    font-size: 0.95rem;
    color: #444;
}

.agree-checkbox input[type="checkbox"] {
    width: auto; /* チェックボックスの幅を自動に */
    margin-right: 8px; /* ラベルとの間隔 */
    vertical-align: middle; /* テキストと高さを揃える */
    -webkit-appearance: checkbox; /* Safariでデフォルトスタイルを強制 */
    -moz-appearance: checkbox; /* Firefoxでデフォルトスタイルを強制 */
    appearance: checkbox; /* 標準のチェックボックススタイルを使用 */
    height: 18px; /* サイズ調整 */
    width: 18px; /* サイズ調整 */
    cursor: pointer;
}

.agree-checkbox label {
    cursor: pointer;
    vertical-align: middle;
}

a.back-link{display:block;width:300px;margin:20px auto;text-align:center;background:linear-gradient(to bottom,#8dcd38 0%,#53af25 100%);border-radius:30px;color:#FFF;padding:15px;transition:.3s ease-in-out;}
a.back-link i{color:#FFF;margin-right:10px;}
a.back-link:hover{opacity:.5;}

/* レスポンシブ対応の調整 */
@media screen and (max-width: 768px) {
    .agree-checkbox {
        margin-top: 10px;
        margin-bottom: 20px;
        font-size: 0.9rem;
    }
}

/* --- レスポンシブ対応 --- */
@media screen and (max-width: 1024px) {
    #contact-form {
        width: 75%;
        padding: 30px;
    }
    .form-tel {
        width: 75%;
    }
}

@media screen and (max-width: 768px) {
    .form-title h2 {
        font-size: 1.8rem;
    }
    .form-title h2:before {
        width: 50px;
        bottom: -8px;
    }
    .form-tel {
        width: 100%;
        padding: 15px;
    }
    .form-tel a {
        font-size: 1.4rem;
    }
    #contact-form {
        width: 100%;
        padding: 15px;
    }
    .half { /* このフォームにはhalfクラスがないが、万一のために */
        flex-direction: column;
        gap: 0;
    }
    .half > div {
        width: 100%;
    }
    .half dt {
        margin-top: 15px;
    }
    .half dt:first-child {
        margin-top: 0;
    }
    dl.mailform dd {
        margin-bottom: 20px;
    }
    div.mfp_buttons button {
        width: 90%;
        padding: 12px 20px;
        font-size: 1rem;
    }

    /* モーダル部分のレスポンシブ */
    .modal-content {
        margin: 40px auto;
        width: 95%;
        padding: 20px;
    }
    .modal-form-details strong {
        display: block;
        width: auto;
        margin-bottom: 5px;
    }
    .modal-button {
        display: block;
        width: calc(100% - 20px);
        margin: 10px auto;
    }
}

@media screen and (max-width: 480px) {
    .form-title h2 {
        font-size: 1.5rem;
    }
    .form-title p {
        font-size: 1rem;
    }
    .form-tel a {
        font-size: 1.2rem;
    }
}

/* Mailform Proの既存クラスが原因でレイアウトが崩れる場合は追加調整 */
.mfp_rows {
    display: block !important;
}
.mfp_col5, .mfp_col10 {
    width: 100% !important;
}

form#mailformpro input,
form#mailformpro select,
form#mailformpro textarea,
/* 元のform#mailformproがなく、#contact-formなのでここも調整 */
#contact-form input,
#contact-form select,
#contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border-radius: 6px;
    border: solid 1px #ccc;
    font-size: 1rem;
    color: #333;
    box-sizing: border-box;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
#contact-form select {
    background: url('data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22%23333%22%3E%3Cpath%20d%3D%22M7%2010l5%205%205-5z%22%2F%3E%3C%2Fsvg%3E') no-repeat right 10px center / 18px 18px;
}
dl.mailform dd {
    border-bottom: none;
    padding-bottom: 0;
}




