/*
Theme Name: kurakaRecruit
Theme URI: https://kuraka-g.com/recruit-form/
Description: パート応募フォーム専用テーマ（Contact Form 7 を使わない）。入力→確認（個人情報の同意・Cloudflare Turnstile）→送信。添付はメールで送り、サーバーに残さない。
Version: 0.1.0
Author: クラカグループ 情報管理室
Requires at least: 7.0
Requires PHP: 8.1
Text Domain: kuraka-recruit
*/

*,*::before,*::after{box-sizing:border-box}
html{font-size:62.5%}
body{margin:0;background:#f5efe0;color:#000;font-family:-apple-system,BlinkMacSystemFont,"Hiragino Sans","Hiragino Kaku Gothic ProN","Noto Sans JP",Meiryo,sans-serif;font-size:1.8rem;line-height:1.7;-webkit-text-size-adjust:100%}
a{color:#cd2653}
.kf-wrap{max-width:64rem;margin:0 auto;padding:0 2rem 6rem}
.kf-header{width:100%;height:8vw;min-height:60px;max-height:150px;background:url(https://kuraka-g.com/assets/images/eye-catch-cut001.webp) center/cover no-repeat}
.kf-title{font-size:3.2rem;line-height:1.4;margin:4rem 0 2rem;font-weight:700;text-align:center;color:#16902e}
.kf-lead{color:#e00;margin:0 0 3rem}
.kf-steps{display:flex;gap:.6rem;list-style:none;padding:0;margin:0 0 3rem;font-size:1.5rem}
.kf-steps li{flex:1;text-align:center;padding:.6rem 0;background:#e6dcc4;color:#555}
.kf-steps li.is-current{background:#cd2653;color:#fff;font-weight:700}

.kf-form fieldset{border:2px solid #dcd7ca;margin:0 0 1.6rem;padding:2rem 3rem 3rem}
.kf-form legend{padding:0 1.5rem;font-weight:400;font-size:1.7rem}
.kf-req{color:#cd2653;font-size:1.4rem;margin-left:.5em}
.kf-form input[type=text],.kf-form input[type=email],.kf-form input[type=tel],.kf-form select,.kf-form textarea{width:100%;font-size:1.6rem;padding:1.2rem 1.4rem;border:1px solid #dcd7ca;background:#fff;color:#000;border-radius:0;font-family:inherit}
.kf-form select{width:auto;min-width:24rem}
.kf-form textarea{min-height:16rem;resize:vertical}
.kf-form .kf-err{color:#e00;font-size:1.5rem;margin:.6rem 0 0}
.kf-form .has-error input,.kf-form .has-error select,.kf-form .has-error textarea{border-color:#e00}
.kf-choices{display:flex;flex-wrap:wrap;gap:.8rem 2.4rem}
.kf-choices label{display:inline-flex;align-items:center;gap:.6rem;cursor:pointer}
.kf-choices input{width:2rem;height:2rem;margin:0}
.kf-form input[type=number]{width:12rem;font-size:1.6rem;padding:1.2rem 1.4rem;border:1px solid #dcd7ca;background:#fff;border-radius:0}
.kf-form input[type=file]{font-size:1.5rem;max-width:100%}
.kf-filenote{font-size:1.5rem;border:1px solid #333;background:#fff;padding:1.2rem 1.6rem;margin:0 0 1.6rem}
.kf-filenote p{margin:0}
.kf-hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}

.kf-btns{display:flex;flex-wrap:wrap;gap:1.6rem;margin-top:2.4rem}
.kf-btn{display:inline-block;border:0;background:#cd2653;color:#fff;font-weight:700;font-size:1.7rem;line-height:1.25;padding:1.4em 2em;cursor:pointer;font-family:inherit;text-decoration:none}
.kf-btn:disabled{opacity:.45;cursor:not-allowed}
.kf-btn--sub{background:#777}

.kf-confirm{width:100%;border-collapse:collapse;background:#fff;margin:0 0 3rem}
.kf-confirm th,.kf-confirm td{border:1px solid #dcd7ca;padding:1.2rem 1.4rem;text-align:left;vertical-align:top;font-size:1.6rem}
.kf-confirm th{width:30%;background:#faf7ef;font-weight:700}
.kf-confirm td{white-space:pre-wrap;word-break:break-all}

.kf-privacy{background:#fff;border:2px solid #cd2653;padding:2rem 2.4rem;margin:0 0 2.4rem}
.kf-privacy h2{font-size:1.8rem;margin:0 0 1rem}
.kf-privacy p{font-size:1.6rem;margin:0 0 1rem}
.kf-consent{display:flex;gap:1rem;align-items:flex-start;font-weight:700;font-size:1.7rem;cursor:pointer}
.kf-consent input{width:2.4rem;height:2.4rem;margin:.2rem 0 0;flex:none}
.kf-turnstile{margin:2rem 0 0;min-height:65px}
.kf-alert{background:#fff0f0;border:2px solid #e00;color:#c00;padding:1.4rem 2rem;margin:0 0 2.4rem}
.kf-notice-admin{background:#fff8d6;border:2px dashed #c90;padding:1rem 1.6rem;margin:0 0 2rem;font-size:1.5rem}

/* 完了ページ（固定ページ本文の既存マークアップ） */
#thanks-header,#kuraka-header,#cut-header{width:100%;height:8vw;min-height:60px;max-height:150px;background:url(https://kuraka-g.com/assets/images/eye-catch-cut001.webp) center/cover no-repeat}
#recruit-thanks{text-align:center;padding:4rem 0}
#recruit-thanks .tel{margin-top:2rem}
.thsnks-img img{max-width:100%;height:auto}
#recruit-thanks h5{font-size:2.6rem;margin:0 0 2rem}
.thanks-btn{display:inline-block;margin-top:3rem}
.thanks-btn a{display:inline-block;font-weight:700;color:#fff;background:#cd2653;font-size:1.7rem;line-height:1.25;text-align:center;padding:1.1em 1.44em;text-decoration:none}
.kf-page-content{padding-top:2rem}

@media (max-width:600px){
  body{font-size:1.6rem}
  .kf-title{font-size:2.4rem;margin-top:3rem}
  .kf-form fieldset{padding:1.4rem 1.4rem 2rem}
  .kf-form select{width:100%;min-width:0}
  .kf-confirm th,.kf-confirm td{display:block;width:100%}
  .kf-confirm th{border-bottom:0}
  .kf-btn{width:100%;text-align:center}
}
