#previewApp#previewApp@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;
    margin: 0; /* bodyのデフォルトマージンをリセット */
    padding: 0; /* bodyのデフォルトパディングをリセット */
header}

main {
    overflow: hidden; /* 子要素のはみ出しを隠す */
    margin-bottom: 80px; /* フッターとの間隔を確保 */
}

/* リンクのデフォルトスタイル */
a {
    color: inherit; /* 親要素の文字色を継承 */
    text-decoration: none; /* デフォルトの下線を削除 */
}

a:hover {
    opacity: 0.7; /* ホバー時に少し透明にする */
    transition: opacity 0.3s ease; /* 滑らかな変化 */
}

/* ====================================
   フォーム共通スタイル
   ==================================== */

/* フォーム全体のラッパー */
#form_wrap {
    padding: 20px; /* 全体の余白 */
    box-sizing: border-box; /* paddingとborderをwidthに含める */
}

/* フォームタイトル */
.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;
    letter-spacing: 0.05em;
    font-weight: bold;
}
.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);
    box-sizing: border-box;
}
.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;
}

/* フォーム本体のスタイル */
#job-form { /* ここを #job-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);
    box-sizing: border-box;
}

/* Mailform Pro の .color-wrap のスタイルをリセット */
.color-wrap {
    padding: 0;
    background: none;
}

/* フォーム項目リスト */
dl.mailform {
    width: 100%;
    margin: 0 auto;
    border: none;
    background: none;
    padding: 0;
}
dl.mailform dt {
    margin-bottom: 8px;
    color: #444;
    font-size: 1rem;
    display: flex; /* 必須マークと横並び */
    align-items: center;
}
dl.mailform dd {
    margin-bottom: 25px;
}

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

/* テキスト入力フィールド, メールアドレス, 電話番号, テキストエリア, セレクトボックス */
input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
    width: 100%;
    padding: 12px 15px;
    border-radius: 6px;
    border: solid 1px #ccc;
    font-size: 1rem;
    color: #333;
    box-sizing: border-box;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    /* デフォルトのブラウザスタイルをリセット (矢印などを消す) */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus,
select:focus {
    border-color: #bb8f55;
    box-shadow: 0 0 5px rgba(187, 143, 85, 0.3);
    outline: none;
}

textarea {
    resize: vertical;
    min-height: 120px;
}

/* セレクトボックスのカスタム矢印 */
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;
}


/* 半幅レイアウト (2カラム) */
.half {
    display: flex;
    justify-content: space-between;
    gap: 4%;
    margin-bottom: 25px;
}
.half > div {
    width: 48%;
}
.half dt {
    margin-bottom: 8px;
}
.half dd {
    margin-bottom: 0;
}

/* ラジオボタン・チェックボックス */
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 { /* 既存の .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 15px; /* 同意チェックボックスとの間隔を考慮 */
    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;
}

/* 同意チェックボックスのラッパー */
.agree-checkbox {
    text-align: center;
    margin-top: 15px;
    margin-bottom: 30px;
    font-size: 0.95rem;
    color: #444;
    display: flex;
    align-items: center;
    justify-content: center;
}
.agree-checkbox label {
    cursor: pointer;
    vertical-align: middle;
    margin-bottom: 0; /* 不要なマージンをリセット */
}


/* 送信ボタン */
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: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);
  align-items: center; /* これを追加 */
  justify-content: center; /* これも追加すると水平方向も中央揃えになる */
}

.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: 24px;
  color: #333;
  margin-bottom: 20px;
  text-align: center;
  border-bottom: 2px solid #eee;
  padding-bottom: 10px;
}

.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;
}

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 Queries)
   ==================================== */

/* PCとタブレットの間 (～1024px) */
@media screen and (max-width: 1024px) {
    #job-form { /* ここを #job-form に変更 */
        width: 75%;
        padding: 30px;
    }
    .form-tel {
        width: 75%;
    }
}

/* タブレットとスマートフォン (～768px) */
@media screen and (max-width: 768px) {
    .form-title h2 {
        font-size: 1.8rem;
    }
    .form-title h2:before {
        width: 50px;
        bottom: -8px;
    }
    .form-tel {
        width: 90%;
        padding: 15px;
    }
    .form-tel a {
        font-size: 1.4rem;
    }
    #job-form { /* ここを #job-form に変更 */
        width: 95%;
        padding: 20px;
    }
    .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;
    }

    .agree-checkbox {
        margin-top: 10px;
        margin-bottom: 20px;
        font-size: 0.9rem;
    }
}

/* スマートフォン (～480px) */
@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 特定のオーバーライド
   ==================================== */
/* Mailform Proのmfp_rows, mfp_col5, mfp_col10に対する調整 */
/* flexなどが設定されている場合に解除し、幅を100%に強制 */
.mfp_rows {
    display: block !important;
}
.mfp_col5, .mfp_col10 {
    width: 100% !important;
}

/* Mailform Proのddのborder-bottomをリセット */
dl.mailform dd {
    border-bottom: none;
    padding-bottom: 0;
}

/* footer.fit はフォームとは直接関係ないですが、元のコードにあったため残しておきます */
footer.fit {
    position: fixed;
    bottom: 0;
    width: 100%; /* 固定フッターの場合に必要に応じて幅を指定 */
}

/* その他、元のコードにあったがフォームと直接関係ないセレクタは省略 */
/* 例えば、header, nav, .fat-nav, .menu, .accordion, .sns, #page-top など */
