/**
Theme Name: AndUp Child
Author: Yuta Arai
Description: アンドアップ訪問看護ステーション用のテーマ
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: andup-child
Template: astra
*/

/* 縦書き設定（アルファベットは横倒し） */
.vertical-text {
    writing-mode: vertical-rl; /* 縦書きモード */
    text-orientation: mixed;   /* 日本語は上向き、英語は横向き（標準） */
}

/* 親コンテナにCSS ID「feature-parent」を設定してください */
#feature-parent {
    /* 画像を「子コンテナの幅 + 左右の余白分」で固定し、それ以上大きくしない */
    background-size: 1300px auto !important; 
    background-position: center top !important; /* 上端を基準にする */
    background-repeat: no-repeat !important;
}

/* 画面幅が1300pxより小さい時（ノートPCやタブレット）は、画面幅に合わせる */
@media (max-width: 1300px) {
    #feature-parent {
        background-size: 96% auto !important;
    }
}
/* サイト全体の横溢れを防止するBEM的なアプローチ */
.site-main {
    overflow-x: hidden;
    width: 100%;
}

/* もしくはHTML/Body全体に対して */
html, body {
    overflow-x: hidden;
}

/* ============================================================
   フォーム全体
   ============================================================ */
.contact-form {
    font-family: "Noto Sans JP", sans-serif;
    max-width: 850px;
    margin: 30px auto 0;
    padding: 80px 100px 100px;
    background: #fff;
    border-radius: 60px;
    position: relative;
    overflow: visible !important;
    z-index: 1;
}

.form-row {
    display: flex;
    margin-bottom: 10px;
    align-items: center;
}

.form-row__label {
    flex: 0 0 200px;
    font-weight: bold;
    color: #2A1600;
    display: flex;
    align-items: center;
    gap: 12px;
}

.form-row__content {
    flex: 1;
    display: flex;
    align-items: center;
}

.form-row__content input,
.form-row__content textarea {
    width: 100%;
    border: none;
    background: #EFEEEB;
    padding: 15px 20px;
    border-radius: 10px;
    color: #2A1600;
    box-sizing: border-box;
}

/* inputのみ60px固定 */
.form-row__content input {
    height: 60px;
}

/* textareaは高さを自由に（そのまま） */
.form-row__content textarea {
    min-height: 160px;
}

/* ============================================================
   ラベルタグ（必須・任意）
   ============================================================ */
.label-tag {
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 99px;
    color: #fff;
    font-weight: bold;
    line-height: 1;
    display: inline-block;
    white-space: nowrap;
	margin-right:14px;
}

.label-tag--optional {
    background: #D8CFC7;
}

.contact-form--top .label-tag--required {
    background: #F07C39;
}

.contact-form--recruit .label-tag--required {
    background: #D72854;
}

/* ============================================================
   確認画面へボタンエリア
   ============================================================ */
#btn-confirm-wrap {
    margin-top: 40px;
    margin-left: 220px;
}

#btn-to-confirm {
    width: 100%;
    border: none;
    padding: 20px 0;
    border-radius: 50px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    background: #F07C39;
    color: #fff;
    display: block;
    box-sizing: border-box;
    transition: 0.3s;
}

#btn-to-confirm:hover {
    background: #E05D84;
    transform: translateY(-2px);
}

/* ============================================================
   確認画面の戻る＋送信ボタンエリア
   ============================================================ */
#btn-back-wrap {
    margin-top: 40px;
    margin-left: 220px;
    display: flex;
    align-items: center;
    gap: 20px;
}

#btn-to-back {
    flex-shrink: 0;
    width: 100px;
    height: 64px;
    background: #fff;
    color: #F07C39;
    border: 2px solid #F07C39;
    border-radius: 50px;
    font-weight: bold;
    font-size: 18px;
    cursor: pointer;
    transition: 0.3s;
	  margin-right:16px;
}

#btn-to-back:hover {
    background: #F07C39;
    color: #fff;
}

/* CF7のpタグを無効化して送信ボタンをflexに追従させる */
#btn-back-wrap p {
    flex: 1;
    margin: 0;
    padding: 0;
    display: flex;
}

#btn-back-wrap p input[type="submit"],
#btn-back-wrap input[type="submit"] {
    flex: 1;
    height: 64px;
    border: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: bold;
    background: #F07C39;
    color: #fff;
    cursor: pointer;
    width: 100%;
    transition: 0.3s;
    -webkit-appearance: none;
    appearance: none;
}

#btn-back-wrap p input[type="submit"]:hover,
#btn-back-wrap input[type="submit"]:hover {
    background: #E05D84;
    transform: translateY(-2px);
}

/* ============================================================
   確認画面テキスト
   ============================================================ */
.conf-text {
    text-align: center;
    color: #2A1600;
    margin-bottom: 40px;
    font-weight: bold;
}

/* ============================================================
   ステップバー
   ============================================================ */
.p-step-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
}

.p-step-bar__circle {
    width: 60px;
    height: 60px;
    border: 2px solid #F07C39;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: #F07C39;
    font-weight: bold;
    font-size: 14px;
}

.p-step-bar__item.is-active .p-step-bar__circle {
    background: #F07C39;
    color: #fff;
}

.p-step-bar__divider {
    width: 60px;
    height: 2px;
    border-top: 2px dotted #F07C39;
}

/* ============================================================
   採用ページ固有設定
   ============================================================ */
input[name="experience-years"] {
    width: 60px !important;
    height: 60px !important;
    flex: 0 0 60px !important;
    text-align: center;
    padding: 0 !important;
    margin: 0 10px !important;
}

.contact-form--recruit .mwform-radio-field {
    display: flex !important;
    flex-direction: row !important;
    gap: 30px;
    align-items: center;
}

.contact-form--recruit .mwform-radio-field label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    white-space: nowrap;
    color: #2A1600;
}

/* ============================================================
   スマホ対応
   ============================================================ */
@media (max-width: 767px) {
    .contact-form {
        margin-top: 140px;
        padding: 60px 40px 100px;
    }

    .form-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .form-row__label {
        flex: 0 0 auto;
        width: 100%;
        margin-bottom: 8px;
    }

    #btn-confirm-wrap,
    #btn-back-wrap {
        margin-left: 0;
    }

    #btn-back-wrap {
        flex-direction: column-reverse;
        gap: 12px;
    }

    #btn-to-back {
        width: 33%;
    }
}
/* ============================================================
   採用ページ ステップバー配色（ピンク）
   ============================================================ */
.p-step-bar--recruit .p-step-bar__circle {
    border-color: #D72854;
    color: #D72854;
}

.p-step-bar--recruit .p-step-bar__item.is-active .p-step-bar__circle {
    background: #D72854;
    color: #fff;
}

.p-step-bar--recruit .p-step-bar__divider {
    border-top-color: #D72854;
}

/* 採用ページ 確認ボタンエリア */
#btn-confirm-wrap-recruit {
    margin-top: 40px;
    margin-left: 220px;
}

#btn-to-confirm-recruit {
    width: 100%;
    border: none;
    padding: 20px 0;
    border-radius: 50px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    background: #D72854;
    color: #fff;
    display: block;
    box-sizing: border-box;
    transition: 0.3s;
}

#btn-to-confirm-recruit:hover {
    background: #b01f42;
    transform: translateY(-2px);
}

/* 採用ページ 戻る＋送信ボタンエリア */
#btn-back-wrap-recruit {
    margin-top: 40px;
    margin-left: 220px;
    display: flex;
    align-items: center;
    gap: 16px;
}

#btn-to-back-recruit {
    flex-shrink: 0;
    width: 160px;
    height: 64px;
    background: #fff;
    color: #D72854;
    border: 2px solid #D72854;
    border-radius: 50px;
    font-weight: bold;
    font-size: 18px;
    cursor: pointer;
    transition: 0.3s;
	margin-right:16px;
}

#btn-to-back-recruit:hover {
    background: #D72854;
    color: #fff;
}

#btn-back-wrap-recruit p {
    flex: 1;
    margin: 0;
    padding: 0;
    display: flex;
}

#btn-back-wrap-recruit p input[type="submit"],
#btn-back-wrap-recruit input[type="submit"] {
    flex: 1;
    height: 64px;
    border: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: bold;
    background: #D72854;
    color: #fff;
    cursor: pointer;
    width: 100%;
    transition: 0.3s;
    -webkit-appearance: none;
    appearance: none;
}

#btn-back-wrap-recruit p input[type="submit"]:hover,
#btn-back-wrap-recruit input[type="submit"]:hover {
    background: #b01f42;
    transform: translateY(-2px);
}

/* スマホ対応 */
@media (max-width: 767px) {
    #btn-confirm-wrap-recruit,
    #btn-back-wrap-recruit {
        margin-left: 0;
    }
    #btn-back-wrap-recruit {
        flex-direction: column-reverse;
        gap: 12px;
    }
    #btn-to-back-recruit {
        width: 40%;
    }
}
/* 希望雇用形態 ラジオボタン横並び */
.contact-form--recruit .wpcf7-radio {
    display: flex;
    gap: 30px;
    align-items: center;
}

.contact-form--recruit .wpcf7-radio .wpcf7-list-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.contact-form--recruit .wpcf7-radio .wpcf7-list-item label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: #2A1600;
    white-space: nowrap;
}
/* 臨床経験年数 横並び */
.experience-row {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    flex-wrap: nowrap !important;
}

.experience-row input[type="number"] {
    width: 80px !important;
    height: 60px !important;
    flex-shrink: 0 !important;
    text-align: center !important;
    padding: 0 10px !important;
}

/* CF7のpタグを無効化 */
.experience-row p {
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

.experience-nen {
    flex-shrink: 0;
    color: #2A1600;
    font-weight: bold;
}
/* Cloudflare Turnstileの位置 */

.wpcf7-turnstile.cf-turnstile {
    margin-top: 40px;
    display: block;
    text-align: center;
}

/* ================================================================================================================================ 
 * 一覧ページ
================================================================================================================================ */

/* 一覧ページのアイコン位置調整 */
.header-tel .elementor-icon-box-wrapper{
	display:flex !important;
}
.header-tel .elementor-icon-box-icon{
	line-height: 0;
}
/* 一旦非表示 */
.number-check{
	display:none;
}