@charset "utf-8";
@import url("https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@300;400;600&display=swap");

/* ==========================================================
    玉木歯科医院 採用サイト（/entry/）風デザイン
    - フォント : Noto Serif JP（各HTMLの<head>でGoogle Fontsを読込）
    - メイン色 : #060a54（紺） / アクセント : #a98c4a（ゴールド）
------------------------------------------------------------- */
:root {
    --c-navy: #060a54;
    --c-gold: #a98c4a;
    --c-gold-light: #f7f3ea;
    --c-text: #060a54;
    --c-error: #c0392b;
    --c-border: #a98c4a;
    --f-serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", YuMincho, serif;
    --f-heading: "Yu Mincho", YuMincho, "Noto Serif JP", "Hiragino Mincho ProN", serif;
}

/* ----------------------------------------------------------
    リセット / 新要素設定
------------------------------------------------------------- */
html, body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, p, blockquote, pre, code, form, fieldset, legend, table, th, td, caption, a, article, aside, nav, section, figure, figcaption, footer, header, main, audio, canvas, video, menu, details {
    margin: 0;
    padding: 0;
    background: transparent;
    font-size: 100%;
    vertical-align: baseline;
}
fieldset, legend, img { border: 0; }
article, aside, nav, section, figure, figcaption, footer, header, main, menu, details { display: block; }
audio:not([controls]) { display: none; }
[hidden] { display: none; }
*, *::before, *::after { box-sizing: border-box; }

/* ----------------------------------------------------------
    ベース
------------------------------------------------------------- */
html {
    overflow-y: scroll;
    -webkit-text-size-adjust: 100%;
}
body {
    background: #fff;
    color: var(--c-text);
    font-family: var(--f-serif);
    font-size: 15px;
    font-weight: 300;
    line-height: 1.8;
    letter-spacing: .06em;
    word-wrap: break-word;
    -webkit-font-smoothing: antialiased;
}

/* ----------------------------------------------------------
    要素
------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    font-feature-settings: "palt";
    line-height: 1.4;
    color: var(--c-navy);
}
p { margin: 0 0 1em; }
ul, ol { list-style: none; }
dt { font-weight: 600; }
hr {
    display: block;
    height: 1px;
    margin: 1em 0;
    padding: 0;
    border: 0;
    border-top: 1px solid #ddd;
}
a { color: var(--c-gold); transition: opacity .3s; }
a:hover { opacity: .7; }
img { vertical-align: middle; max-width: 100%; }
strong, b, em { font-weight: 600; font-style: normal; }

table {
    border-collapse: collapse;
    border-spacing: 0;
}
th, td {
    font-weight: normal;
    text-align: left;
}

/* ----------------------------------------------------------
    フォーム部品
------------------------------------------------------------- */
input, textarea, select, button {
    margin: 0;
    font-family: inherit;
    font-size: inherit;
    color: inherit;
}

input[type=text],
input[type=email],
input[type=tel],
input[type=number],
input[type=url],
input[type=date],
input[type=password],
textarea,
select {
    width: 100%;
    max-width: 100%;
    padding: 10px 14px;
    background: #fff;
    border: 1px solid var(--c-border);
    border-radius: 4px;
    color: #000;
    font-size: 15px;
    font-weight: 300;
    line-height: 1.8;
    letter-spacing: normal;
    box-shadow: none;
    -webkit-appearance: none;
    appearance: none;
    transition: border-color .3s, box-shadow .3s;
}
input::placeholder,
textarea::placeholder { color: #b5b5c3; }

input[type=text]:focus,
input[type=email]:focus,
input[type=tel]:focus,
input[type=number]:focus,
input[type=url]:focus,
input[type=date]:focus,
input[type=password]:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--c-navy);
    box-shadow: 0 0 0 3px rgba(169, 140, 74, .15);
}

textarea {
    min-height: 180px;
    overflow: auto;
    vertical-align: top;
    resize: vertical;
}

/* セレクト：右側に▼ */
select {
    padding-right: 40px;
    cursor: pointer;
    background-image: linear-gradient(45deg, transparent 50%, var(--c-gold) 50%),
                      linear-gradient(135deg, var(--c-gold) 50%, transparent 50%);
    background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%;
    background-size: 6px 6px;
    background-repeat: no-repeat;
}

/* ラジオ / チェックボックス：ゴールドの丸 */
input[type=radio],
input[type=checkbox] {
    -webkit-appearance: none;
    appearance: none;
    position: relative;
    width: 20px;
    height: 20px;
    margin: 0 8px 0 0;
    vertical-align: -4px;
    background: #fff;
    border: 1px solid var(--c-gold);
    border-radius: 50%;
    cursor: pointer;
    flex-shrink: 0;
}
input[type=checkbox] { border-radius: 3px; }
input[type=radio]:checked::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    margin: -5px 0 0 -5px;
    background: var(--c-gold);
    border-radius: 50%;
}
input[type=checkbox]:checked { background: var(--c-gold); }
input[type=checkbox]:checked::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 6px;
    width: 5px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
input[type=radio]:focus-visible,
input[type=checkbox]:focus-visible { outline: 2px solid var(--c-navy); outline-offset: 2px; }

label {
    display: inline-flex;
    align-items: center;
    margin: 0 28px 8px 0;
    cursor: pointer;
    font-weight: 300;
}

/* 送信系ボタン */
input[type=submit],
input[type=button],
button {
    display: inline-block;
    width: 400px;
    max-width: 100%;
    height: 80px;
    padding: 0 20px;
    background: #fff;
    border: 2px solid var(--c-gold);
    border-radius: 0;
    color: var(--c-gold);
    font-family: var(--f-serif);
    font-size: 18px;
    font-weight: 400;
    letter-spacing: .1em;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    transition: background-color .5s ease-in-out, color .5s ease-in-out;
}
input[type=submit]:hover,
input[type=button]:hover,
button:hover {
    background: var(--c-gold);
    color: #fff;
}
input[type=submit]:disabled,
input[type=button]:disabled { opacity: .5; cursor: default; }

/* ----------------------------------------------------------
    汎用
------------------------------------------------------------- */
/* マージン系 */
.m0 { margin: 0 !important; }
.m5 { margin: 5px !important; }
.m10 { margin: 10px !important; }
.m15 { margin: 15px !important; }
.m20 { margin: 20px !important; }
.m25 { margin: 25px !important; }
.m30 { margin: 30px !important; }
.m35 { margin: 35px !important; }
.m40 { margin: 40px !important; }
.m44 { margin: 44px !important; }
.m40 { margin: 40px !important; }
.mt0 { margin-top: 0 !important; }
.mt5 { margin-top: 5px !important; }
.mt10 { margin-top: 10px !important; }
.mt15 { margin-top: 15px !important; }
.mt20 { margin-top: 20px !important; }
.mt25 { margin-top: 25px !important; }
.mt30 { margin-top: 30px !important; }
.mt35 { margin-top: 35px !important; }
.mt40 { margin-top: 40px !important; }
.mt45 { margin-top: 45px !important; }
.mt50 { margin-top: 50px !important; }
.mb0 { margin-bottom: 0 !important; }
.mb5 { margin-bottom: 5px !important; }
.mb10 { margin-bottom: 10px !important; }
.mb15 { margin-bottom: 15px !important; }
.mb20 { margin-bottom: 20px !important; }
.mb25 { margin-bottom: 25px !important; }
.mb30 { margin-bottom: 30px !important; }
.mb35 { margin-bottom: 35px !important; }
.mb40 { margin-bottom: 40px !important; }
.mb45 { margin-bottom: 45px !important; }
.mb50 { margin-bottom: 50px !important; }
.ml0 { margin-left: 0 !important; }
.ml5 { margin-left: 5px !important; }
.ml10 { margin-left: 10px !important; }
.ml15 { margin-left: 15px !important; }
.ml20 { margin-left: 20px !important; }
.ml25 { margin-left: 25px !important; }
.ml30 { margin-left: 30px !important; }
.ml35 { margin-left: 35px !important; }
.ml40 { margin-left: 40px !important; }
.ml45 { margin-left: 45px !important; }
.ml50 { margin-left: 50px !important; }
.mr0 { margin-right: 0 !important; }
.mr5 { margin-right: 5px !important; }
.mr10 { margin-right: 10px !important; }
.mr15 { margin-right: 15px !important; }
.mr20 { margin-right: 20px !important; }
.mr25 { margin-right: 25px !important; }
.mr30 { margin-right: 30px !important; }
.mr35 { margin-right: 35px !important; }
.mr40 { margin-right: 40px !important; }
.mr45 { margin-right: 45px !important; }
.mr50 { margin-right: 50px !important; }

/* パディング系 */
.p0 { padding: 0 !important; }
.p5 { padding: 5px !important; }
.p10 { padding: 10px !important; }
.p15 { padding: 15px !important; }
.p20 { padding: 20px !important; }
.p25 { padding: 25px !important; }
.p30 { padding: 30px !important; }
.p35 { padding: 35px !important; }
.p40 { padding: 40px !important; }
.p45 { padding: 45px !important; }
.p50 { padding: 50px !important; }
.pt0 { padding-top: 0 !important; }
.pt5 { padding-top: 5px !important; }
.pt10 { padding-top: 10px !important; }
.pt15 { padding-top: 15px !important; }
.pt20 { padding-top: 20px !important; }
.pt25 { padding-top: 25px !important; }
.pt30 { padding-top: 30px !important; }
.pt35 { padding-top: 35px !important; }
.pt40 { padding-top: 40px !important; }
.pt45 { padding-top: 45px !important; }
.pt50 { padding-top: 50px !important; }
.pb0 { padding-bottom: 0 !important; }
.pb5 { padding-bottom: 5px !important; }
.pb10 { padding-bottom: 10px !important; }
.pb15 { padding-bottom: 15px !important; }
.pb20 { padding-bottom: 20px !important; }
.pb25 { padding-bottom: 25px !important; }
.pb30 { padding-bottom: 30px !important; }
.pb35 { padding-bottom: 35px !important; }
.pb40 { padding-bottom: 40px !important; }
.pb45 { padding-bottom: 45px !important; }
.pb50 { padding-bottom: 50px !important; }
.pl0 { padding-left: 0 !important; }
.pl5 { padding-left: 5px !important; }
.pl10 { padding-left: 10px !important; }
.pl15 { padding-left: 15px !important; }
.pl20 { padding-left: 20px !important; }
.pl25 { padding-left: 25px !important; }
.pl30 { padding-left: 30px !important; }
.pl35 { padding-left: 35px !important; }
.pl40 { padding-left: 40px !important; }
.pl45 { padding-left: 45px !important; }
.pl50 { padding-left: 50px !important; }
.pr0 { padding-right: 0 !important; }
.pr5 { padding-right: 5px !important; }
.pr10 { padding-right: 10px !important; }
.pr15 { padding-right: 15px !important; }
.pr20 { padding-right: 20px !important; }
.pr25 { padding-right: 25px !important; }
.pr30 { padding-right: 30px !important; }
.pr35 { padding-right: 35px !important; }
.pr40 { padding-right: 40px !important; }
.pr45 { padding-right: 45px !important; }
.pr50 { padding-right: 50px !important; }

/* 幅指定(%) */
.w5per { width: 5% !important; }
.w10per { width: 10% !important; }
.w15per { width: 15% !important; }
.w20per { width: 20% !important; }
.w25per { width: 25% !important; }
.w30per { width: 30% !important; }
.w35per { width: 35% !important; }
.w40per { width: 40% !important; }
.w45per { width: 45% !important; }
.w50per { width: 50% !important; }
.w55per { width: 55% !important; }
.w60per { width: 60% !important; }
.w65per { width: 65% !important; }
.w70per { width: 70% !important; }
.w75per { width: 75% !important; }
.w80per { width: 80% !important; }
.w85per { width: 85% !important; }
.w90per { width: 90% !important; }
.w95per { width: 95% !important; }
.w100per { width: 100% !important; }

/* フロート */
.fl { float: left !important; }
.fr { float: right !important; }

/* テキスト系 */
.tal { text-align: left !important; }
.tar { text-align: right !important; }
.tac { text-align: center !important; }
.breakAll { word-break: break-all !important; }

/* 表示系 */
.dispN { display: none !important; }
.dispI { display: inline !important; }
.dispIB { display: inline-block !important; }
.dispB { display: block !important; }
.dispF { display: flex !important; }

/* フォント系 */
.fontNormal { font-weight: normal !important; }
.fontBold { font-weight: bold !important; }
.font10 { font-size: 10px !important; }
.font12 { font-size: 12px !important; }
.font14 { font-size: 14px !important; }

/* カラー系 */
.colorBlack { color: #000; }

/* Clearfix */
.clear, .cf { clear: both; }
.clearfix:before, .clearfix:after,
.cf:before, .cf:after {
    content: " ";
    display: table;
}
.clearfix:after, .cf:after { clear: both; }
.clearfix, .cf { *zoom: 1; }

/* ----------------------------------------------------------
    メインコンテンツ
------------------------------------------------------------- */
#wrapper {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    padding: 100px 40px 120px;
    background: #fff;
}

#main { padding: 0; }

.section { margin-bottom: 0; }

/* 見出し（ENTRY FORM / 応募フォーム） */
.section__head {
    margin-bottom: 60px;
    text-align: center;
}
.section__en {
    margin: 0 0 14px;
    color: var(--c-gold);
    font-size: 15px;
    font-weight: 300;
    letter-spacing: .06em;
    line-height: 1.6;
}
.section__ttl {
    margin: 0 0 20px;
    padding: 0;
    background: none;
    color: var(--c-navy);
    font-family: var(--f-heading);
    font-size: 30px;
    font-weight: 600;
    letter-spacing: .048em;
    line-height: 1.8;
    text-align: center;
}
.section__body { padding: 0; }

/* 説明文 */
#txt_explain {
    color: var(--c-navy);
    text-align: center;
}
#txt_explain p {
    margin: 0;
    font-size: 15px;
    line-height: 2;
}

/* 必須マーク等 */
.req {
    display: inline-block;
    margin-left: 6px;
    color: var(--c-gold);
    font-weight: 600;
}

/* エラーメッセージ */
.red_txt {
    color: var(--c-error);
    font-size: 14px;
    line-height: 1.8;
}
.section__body > .red_txt {
    margin: 0 0 30px;
    text-align: center;
}

/* ----------------------------------------------------------
    フォーム項目（{$form_data} のテーブルを縦積みレイアウトに）
------------------------------------------------------------- */
.table,
.table tbody,
.table tr,
.table th,
.table td {
    display: block;
    width: 100%;
}
.table {
    margin: 0 0 60px;
    border: 0;
}
.table tr {
    margin-bottom: 32px;
}
.table tr:last-child { margin-bottom: 0; }

/* 項目名 */
.table th {
    margin-bottom: 10px;
    padding: 0;
    background: none;
    border: 0;
    color: var(--c-navy);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .06em;
    line-height: 1.8;
}
.table th span,
.table th .red_txt {
    margin-left: 4px;
    color: var(--c-gold);
    font-size: 13px;
    font-weight: 600;
}

/* 入力欄 */
.table td {
    padding: 0;
    background: none;
    border: 0;
    color: var(--c-navy);
    font-size: 13px;
    font-weight: 300;
    line-height: 1.8;
}
.table td input[type=text],
.table td input[type=email],
.table td input[type=tel],
.table td input[type=number],
.table td input[type=url],
.table td input[type=date],
.table td input[type=password],
.table td textarea,
.table td select {
    margin-bottom: 8px;
    font-size: 15px;
}
/* 姓・名 / せい・めい（XServerが style="width:80px" を出力するため上書き） */
.table td input[style*="width:80px"] {
    width: calc(50% - 50px) !important;
    margin: 0 16px 8px 0;
}
.table td:has(> input[style*="width:80px"]) {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}
.table td:has(> input[style*="width:80px"]) > input[style*="width:80px"] {
    flex: 1;
    width: auto !important;
    min-width: 0;
    margin: 0 12px 0 0;
}
.table td:has(> input[style*="width:80px"]) > input[style*="width:80px"]:last-of-type { margin-right: 0; }

/* ラジオ（input と label が並列で出力される） */
.table td input[type=radio],
.table td input[type=checkbox] {
    width: 20px !important;
    height: 20px;
    margin: 0 8px 0 0;
}
.table td label {
    color: var(--c-navy);
    font-size: 15px;
}
.table td br + label,
.table td label:first-child { margin-left: 0; }

/* 確認画面：入力値の表示 */
.table--confirm tr { margin-bottom: 0; }
.table--confirm th {
    margin: 0;
    padding: 24px 0 6px;
}
.table--confirm td {
    padding: 0 0 20px;
    border-bottom: 1px solid #e3dccb;
    font-size: 15px;
    min-height: 1.8em;
}
.table--confirm tr:first-child th { border-top: 1px solid #e3dccb; }

/* ----------------------------------------------------------
    ボタン
------------------------------------------------------------- */
.button_box {
    clear: both;
    padding: 0;
    text-align: center;
}
.button_box--confirm {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}
.button_box--confirm input[type=submit] { width: 300px; }

/* 「戻る」ボタンは控えめに */
input[type=submit][value="戻る"] {
    border-color: #c9c9d4;
    color: #8a8aa0;
}
input[type=submit][value="戻る"]:hover {
    background: #f2f2f6;
    color: var(--c-navy);
}

/* サイトへ戻る */
.back_link {
    margin-top: 60px;
    text-align: center;
    font-size: 14px;
}
.back_link a {
    position: relative;
    display: inline-block;
    padding-left: 18px;
    color: var(--c-navy);
    text-decoration: none;
    letter-spacing: .1em;
}
.back_link a::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 7px;
    height: 7px;
    margin-top: -4px;
    border-left: 1px solid var(--c-gold);
    border-bottom: 1px solid var(--c-gold);
    transform: rotate(45deg);
}

/* 完了画面 */
.complete_icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 30px;
    border: 1px solid var(--c-gold);
    border-radius: 50%;
    position: relative;
}
.complete_icon::after {
    content: "";
    position: absolute;
    top: 18px;
    left: 24px;
    width: 14px;
    height: 24px;
    border: solid var(--c-gold);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* ----------------------------------------------------------
    スマートフォン
------------------------------------------------------------- */
@media screen and (max-width: 767px) {
    #wrapper { padding: 60px 20px 80px; }
    .section__head { margin-bottom: 40px; }
    .section__en { font-size: 13px; margin-bottom: 8px; }
    .section__ttl { font-size: 24px; }
    #txt_explain { text-align: left; }
    #txt_explain p { font-size: 14px; }
    .table { margin-bottom: 40px; }
    .table tr { margin-bottom: 26px; }
    input[type=submit],
    input[type=button],
    button { width: 100%; height: 64px; font-size: 16px; }
    .button_box--confirm { flex-direction: column; gap: 14px; }
    .button_box--confirm input[type=submit] { width: 100%; }
    .back_link { margin-top: 40px; }
}

/* ----------------------------------------------------------
    ヘッダー（採用サイトと共通の見た目）
------------------------------------------------------------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    width: 100%;
    height: 70px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, .8);
}
.site-header__logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}
.site-header__logo:hover { opacity: .7; }
.site-header__logo img {
    width: 237px;
    height: auto;
}
.site-header__text {
    margin-left: 20px;
    padding-left: 20px;
    border-left: 1px solid #ccc;
    color: var(--c-navy);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.2;
}
#wrapper { padding-top: 170px; }

@media screen and (max-width: 767px) {
    .site-header { height: 56px; padding: 0 14px; }
    .site-header__logo img { width: 160px; }
    .site-header__text { margin-left: 12px; padding-left: 12px; font-size: 14px; }
    #wrapper { padding-top: 110px; }
}