@charset "UTF-8";
/*
 * Unlimited Glowth 求人LP（recruit）専用スタイル
 * - 画像主体LPの縦積みレイアウト
 * - 丸八ダイレクトフォームのメインカラーをオレンジ(#FD690E)に上書き
 */

:root {
    --ug-orange: #FD690E;
    --ug-orange-dark: #e25a06;
    --ug-max: 640px; /* LPの最大幅（スマホ主体LP） */
}

/* ========== 全体レイアウト ========== */
.ug-lp {
    width: 100%;
    background: #fff;
}

/* CTAクリック時のスクロール着地位置（上部にわずかな余白を確保） */
#form,
#form .wpforms-container {
    scroll-margin-top: 20px;
}

.ug-lp__inner {
    max-width: var(--ug-max);
    margin: 0 auto;
    background: #fff;
}

/* 画像は横幅いっぱい・隙間なく縦積み */
.ug-lp img {
    display: block;
    width: 100%;
    height: auto;
}

/* コンテンツ画像ブロック */
.ug-cnt {
    margin: 0;
    line-height: 0;
}

/* ========== ヘッダー（ug01_hd）========== */
/* 左ロゴ＋右に緑の応募ボタンが一体化した画像。右側にクリック領域を重ねる */
.ug-hd {
    position: relative;
    line-height: 0;
}

.ug-hd__img {
    width: 100%;
    height: auto;
}

/* 画像右側の「30秒で簡単応募」ボタン部分に透明リンクを重ねる */
.ug-hd__cta {
    position: absolute;
    top: 0;
    right: 0;
    /* ボタンは画像右側のおよそ半分・高さ全体 */
    width: 52%;
    height: 100%;
    display: block;
    cursor: pointer;
}

/* ========== ヘッダー（recruit02：ワイヤーフレーム2）========== */
/* 画像ではなくHTML。左に社名、右にオレンジの「応募フォームへ」 */
.ug-hd2 {
    display: flex;
    align-items: stretch;
    min-height: 48px;
    border-bottom: 1px solid #ddd;
    background: #fff;
}

.ug-hd2__name {
    flex: 1 1 63%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 4px 8px;
    font-size: clamp(11px, 2.6vw, 14px);
    line-height: 1.4;
    color: #333;
}

/* ロゴ画像（.ug-lp img の横幅100%を打ち消し、原寸以下で表示） */
.ug-lp .ug-hd2__logo {
    width: auto;
    max-width: 100%;
    height: auto;
}

.ug-hd2__cta {
    flex: 0 0 37%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ff9900;
    color: #000;
    font-weight: bold;
    font-size: clamp(13px, 3.4vw, 16px);
    text-decoration: none;
    transition: opacity .2s ease;
}

.ug-hd2__cta:hover {
    opacity: .85;
}

/* ========== CTA画像ボタン（cta01/02/03）========== */
.ug-cta {
    display: block;
    line-height: 0;
    transition: opacity .2s ease;
}

.ug-cta:hover {
    opacity: .85;
}

/* ========== フォーム ========== */
.ug-form {
    max-width: var(--ug-max);
    margin: 0 auto;
    padding: 0 16px 40px;
    scroll-margin-top: 0;
}

/* ---- メインカラー(#02c6ed 水色)をオレンジへ上書き ---- */

/* 進行状況インジケーター（ステップの丸）*/
.ug-form .wpforms-page-indicator-page-number,
.ug-form .wpforms-page-indicator.circles .active .wpforms-page-indicator-page-number {
    background-color: var(--ug-orange) !important;
}
.ug-form .wpforms-page-indicator.circles .wpforms-page-indicator-page-title.active {
    color: var(--ug-orange) !important;
}

/* 入力欄フォーカス時のボーダー */
.ug-form input:focus,
.ug-form select:focus,
.ug-form textarea:focus {
    border-color: var(--ug-orange) !important;
    outline-color: var(--ug-orange) !important;
}

/* 送信・次へボタン */
.ug-form .wpforms-submit,
.ug-form .wpforms-page-next,
.ug-form button[type="submit"] {
    background-color: var(--ug-orange) !important;
    border-color: var(--ug-orange) !important;
    color: #fff !important;
}
.ug-form .wpforms-submit:hover,
.ug-form .wpforms-page-next:hover,
.ug-form button[type="submit"]:hover {
    background-color: var(--ug-orange-dark) !important;
    border-color: var(--ug-orange-dark) !important;
}

/* 「戻る」ボタン（枠線＋文字色オレンジ） */
.ug-form .wpforms-page-prev {
    color: var(--ug-orange) !important;
    border: solid 2px var(--ug-orange) !important;
    background: #fff !important;
}

/*
 * テーマ既存フォームCSS(form.css)で使われている水色 #02c6ed を
 * オレンジへ寄せるための包括的な上書き。
 * .ug-form 配下に限定してスコープを絞る。
 */
.ug-form .step-flow__item_now,
.ug-form .type-shine {
    background-color: var(--ug-orange) !important;
}

/* ========== フッター微調整 ========== */
.ug-lp + footer,
footer {
    text-align: center;
    padding: 20px 0;
    font-size: 12px;
    color: #888;
}

/* ========== レスポンシブ ========== */
@media screen and (min-width: 641px) {
    /* PCでも中央の縦1カラムを維持（画像主体LPのため） */
    .ug-lp__inner {
        box-shadow: 0 0 20px rgba(0, 0, 0, .06);
    }
}
