/*
Theme Name: SARKLAND Recruit
Theme URI: https://sarkland-recruit.jp/
Author: SARKLAND
Description: 株式会社サークランド採用サイト専用テーマ。求人管理プラグインと連携します。
Version: 1.4.1
Requires at least: 7.1
Tested up to: 7.1.1
Requires PHP: 8.3
Text Domain: sarkland-recruit
*/

/* Corporate-site aligned header */
body{border-top:4px solid #e60012}
body:before{content:"";position:fixed;z-index:9999;top:0;left:0;right:0;height:4px;background:linear-gradient(90deg,#e60012 0 72%,#f3bd29 100%)}
.site-header{position:relative;z-index:30;background:#fff;border-bottom:1px solid #e7e7e7}
.site-header .header-inner{height:94px}
.brand.corporate-brand{display:flex;align-items:center;gap:15px;min-width:330px}
.brand.corporate-brand img{width:220px;height:auto;filter:none}
.brand-divider{width:1px;height:36px;background:#d8d8d8}
.brand-site{display:flex;flex-direction:column;line-height:1.25}
.brand.corporate-brand .brand-site strong{font-size:.78rem;letter-spacing:.04em;white-space:nowrap}
.brand.corporate-brand .brand-site small{margin-top:3px;color:#555;font-size:.61rem;font-weight:700;letter-spacing:.13em;white-space:nowrap}
.site-header .entry{border-radius:999px;background:#e60012}
.site-header .entry:hover{color:#fff;background:#b9000e}

/* Corporate-site aligned footer */
.site-footer{padding:64px 0 24px;color:#fff;background:#121317}
.corp-footer-grid{display:grid;grid-template-columns:1.45fr .8fr .8fr;gap:70px}
.footer-corporate-brand{display:inline-flex;flex-direction:column;align-items:flex-start;line-height:1.25}
.footer-corporate-brand strong{color:#fff;font-size:1.45rem;letter-spacing:.025em}
.footer-corporate-brand small{display:block;margin-top:6px;color:#ff4b55;font-size:.66rem;font-weight:900;letter-spacing:.16em}
.footer-address{margin:24px 0 0;color:#b9b9b9;font-size:.8rem;line-height:1.9}
.footer-column h4{margin:0 0 17px;padding-bottom:10px;border-bottom:1px solid #444;font-size:.82rem;letter-spacing:.08em}
.footer-column a{display:block;padding:5px 0;color:#aaa;font-size:.78rem}
.footer-column a:hover{color:#fff}
.footer-bottom{display:flex;justify-content:space-between;gap:24px;margin-top:48px;padding-top:20px;border-top:1px solid #333;color:#777;font-size:.7rem}
.footer-policy{display:flex;gap:18px}.footer-policy a:hover{color:#fff}

/* FAQ, employee stories and job-category pages */
.content-page{padding:76px 0 110px;background:#f4f1eb}.content-kicker{margin:0 0 12px;color:#a27b21;font-size:.74rem;font-weight:900;letter-spacing:.18em}.content-title{max-width:900px;margin:0;font-size:clamp(2.2rem,5vw,4.5rem);font-weight:600;line-height:1.18}.content-lead{max-width:760px;margin:22px 0 0;color:#64615b;line-height:1.9}.content-head{margin-bottom:52px}
.btn{display:inline-flex;align-items:center;justify-content:center;min-width:210px;padding:14px 20px;border:1px solid #171717;font-size:.82rem;font-weight:900}.btn:hover,.btn.dark{color:#fff;background:#171717}.btn.dark:hover{color:#171717;background:#e9bc45}
.faq-tabs{display:flex;flex-wrap:wrap;gap:9px;margin:0 0 34px}.faq-tab{padding:10px 16px;border:1px solid #bcb7ad;background:#fff;font:700 .78rem/1 inherit;cursor:pointer}.faq-tab.is-active,.faq-tab:hover{color:#fff;background:#171717}.faq-list{display:grid;gap:12px}.faq-item{border:1px solid #d6d1c7;background:#fff}.faq-item summary{display:flex;align-items:center;gap:16px;padding:22px 24px;font-weight:800;cursor:pointer;list-style:none}.faq-item summary::-webkit-details-marker{display:none}.faq-item summary:before{content:"Q";display:grid;flex:0 0 36px;place-items:center;width:36px;height:36px;color:#fff;background:#bd2b31;font:700 1rem Georgia,serif}.faq-item summary:after{content:"＋";margin-left:auto;font-size:1.2rem}.faq-item[open] summary:after{content:"−"}.faq-answer{display:grid;grid-template-columns:36px 1fr;gap:16px;margin:0 24px;padding:0 0 24px;color:#5f5c56;line-height:1.9}.faq-answer:before{content:"A";display:grid;place-items:center;width:36px;height:36px;background:#e9bc45;color:#171717;font:700 1rem Georgia,serif}.faq-answer p{margin:4px 0 0}.faq-group-title{margin:44px 0 16px;font-size:1.45rem}
.voice-grid,.role-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.voice-card,.role-card{display:flex;flex-direction:column;border:1px solid #d8d3ca;background:#fff;transition:.2s transform,.2s box-shadow}.voice-card:hover,.role-card:hover{transform:translateY(-4px);box-shadow:0 14px 35px #312b2115}.voice-photo,.role-photo{aspect-ratio:4/3;overflow:hidden;background:#dad6ce}.voice-photo img,.role-photo img{width:100%;height:100%;object-fit:cover}.image-placeholder{display:grid;place-items:center;width:100%;height:100%;color:#7d786f;background:linear-gradient(135deg,#e4e0d8,#cbc6bc);font-size:.72rem;font-weight:900;letter-spacing:.16em}.voice-card-body,.role-card-body{display:flex;flex:1;flex-direction:column;padding:24px}.voice-meta,.role-label{margin:0 0 10px;color:#a27b21;font-size:.7rem;font-weight:900;letter-spacing:.12em}.voice-card h2,.role-card h2{margin:0 0 12px;font-size:1.35rem;line-height:1.45}.voice-card p,.role-card p{color:#67635c;font-size:.86rem;line-height:1.8}.card-link{margin-top:auto;padding-top:15px;font-size:.76rem;font-weight:900}
.profile-hero,.role-hero{display:grid;grid-template-columns:1fr 1fr;min-height:540px;background:#171717;color:#fff}.profile-hero-copy,.role-hero-copy{display:flex;flex-direction:column;justify-content:center;padding:clamp(36px,6vw,88px)}.profile-hero-media,.role-hero-media{min-height:420px}.profile-hero-media img,.role-hero-media img{width:100%;height:100%;object-fit:cover}.profile-name,.role-hero h1{margin:12px 0 18px;font-size:clamp(2.3rem,5vw,4.8rem);line-height:1.12}.profile-facts{display:flex;flex-wrap:wrap;gap:8px}.profile-facts span{padding:7px 10px;border:1px solid #ffffff4d;font-size:.73rem}.profile-content,.role-content{padding:76px 0 110px}.prose{max-width:820px;margin:0 auto}.prose h2{margin:54px 0 16px;font-size:clamp(1.6rem,3vw,2.35rem)}.prose p{color:#5e5b55;line-height:2}.profile-actions{display:flex;justify-content:center;gap:12px;margin-top:58px}
.role-list-intro{display:grid;grid-template-columns:1fr 1fr;gap:42px;align-items:end;margin-bottom:50px}.role-list-intro p{color:#66625b;line-height:1.9}.role-card{min-height:440px}.role-card .role-photo{aspect-ratio:16/10}.role-points{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin:52px 0}.role-panel{padding:32px;border:1px solid #d7d2c8;background:#f7f4ee}.role-panel h2{margin:0 0 18px;font-size:1.45rem}.role-panel ul{margin:0;padding-left:1.2em}.role-panel li{margin:9px 0;line-height:1.7}.role-timeline{margin:54px 0}.role-timeline h2{font-size:2rem}.timeline-list{margin-top:22px;border-top:1px solid #d7d2c8}.timeline-row{display:grid;grid-template-columns:90px 1fr;gap:20px;padding:18px 0;border-bottom:1px solid #d7d2c8}.timeline-row time{color:#a27b21;font-weight:900}.related-jobs{margin-top:70px;padding:46px;background:#171717;color:#fff}.related-jobs-head{display:flex;align-items:end;justify-content:space-between;gap:30px;margin-bottom:28px}.related-jobs h2{margin:4px 0 0;font-size:1.75rem}.related-all{padding-bottom:4px;border-bottom:1px solid #777;font-size:.78rem;font-weight:900}.related-all:hover{border-color:#e9bc45;color:#e9bc45}.related-job-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.related-job-card{display:flex;min-height:230px;flex-direction:column;padding:25px;color:#171717;background:#fff;border-top:4px solid #e9bc45;transition:.2s transform,.2s background}.related-job-card:hover{transform:translateY(-4px);background:#f5efe2}.related-job-place{color:#9b7418;font-size:.7rem;font-weight:900;letter-spacing:.08em}.related-job-card h3{margin:8px 0 18px;font-size:1.05rem;line-height:1.55}.related-job-card dl{margin:auto 0 18px;border-top:1px solid #ddd}.related-job-card dl div{display:grid;grid-template-columns:72px 1fr;gap:10px;padding:8px 0;border-bottom:1px solid #ddd;font-size:.73rem}.related-job-card dt{font-weight:900}.related-job-card dd{margin:0;color:#5e5b55}.related-job-arrow{display:flex;justify-content:space-between;align-items:center;font-size:.73rem;font-weight:900}.related-job-arrow b{font-size:1.2rem}

/* Company and policy pages */
.company-hero{padding:100px 0 110px;color:#fff;background:#171717}.company-hero .content-kicker{color:#e9bc45}.company-hero .content-lead{color:#c5c5c5}.company-section{padding:92px 0;background:#f4f1eb}.company-section:nth-of-type(odd){background:#fff}.company-section h2{margin:8px 0 24px;font-size:clamp(2rem,4vw,3.5rem);line-height:1.35}.company-intro{display:grid;grid-template-columns:.9fr 1.1fr;gap:90px}.company-intro p{color:#5e5b55;line-height:2}.company-business{background:#171717!important;color:#fff}.company-business .content-kicker{color:#e9bc45}.company-business-grid{display:grid;grid-template-columns:repeat(4,1fr);margin-top:42px;border-top:1px solid #444;border-left:1px solid #444}.company-business-grid article{padding:30px;border-right:1px solid #444;border-bottom:1px solid #444}.company-business-grid b{color:#e9bc45;font:400 1.7rem/1 Georgia,serif}.company-business-grid h3{margin:45px 0 12px}.company-business-grid p{color:#aaa;font-size:.85rem}.company-network{display:grid;grid-template-columns:1fr 1fr;gap:75px;align-items:center}.company-network>div>p:last-child{color:#5e5b55;line-height:2}.network-facts{display:grid;grid-template-columns:1fr 1fr;gap:1px;background:#d2cdc3;border:1px solid #d2cdc3}.network-facts div{padding:24px;background:#fff}.network-facts strong{display:block;font:600 2rem/1.2 Georgia,serif}.network-facts span{color:#6b675f;font-size:.72rem}.company-outline dl{max-width:900px;margin:34px 0 0;border-top:1px solid #222}.company-outline dl div{display:grid;grid-template-columns:200px 1fr;border-bottom:1px solid #d7d2c8}.company-outline dt{padding:18px;background:#ebe7df;font-size:.78rem;font-weight:900}.company-outline dd{margin:0;padding:18px 24px}.company-cta{padding:75px 0;color:#fff;background:#bd2b31}.company-cta .wrap{display:flex;align-items:center;justify-content:space-between;gap:35px}.company-cta .content-kicker{color:#fff}.company-cta h2{margin:0;font-size:clamp(1.8rem,4vw,3rem);line-height:1.35}.company-cta .btn{border-color:#fff;color:#fff}.company-cta .btn:hover{color:#171717;background:#fff}.policy-content{max-width:900px;padding:50px;background:#fff;border:1px solid #d8d4cd}.policy-content h2{margin:44px 0 14px;padding-bottom:10px;border-bottom:1px solid #ddd;font-size:1.35rem}.policy-content h2:first-child{margin-top:0}.policy-content p,.policy-content li{color:#555;line-height:1.95}.policy-content li+li{margin-top:6px}

/* Application form */
.entry-page{padding:74px 0 110px;background:#f4f1eb}
.entry-header{max-width:800px;margin-bottom:42px}.entry-header h1{margin:14px 0 18px;font-size:clamp(2.4rem,5vw,4.4rem);font-weight:600;line-height:1.25}.entry-header p{color:#66645f}
.entry-progress{display:grid;grid-template-columns:repeat(3,1fr);margin:0 0 42px;padding:0;list-style:none;border:1px solid #d8d4cd;background:#fff}
.entry-progress li{position:relative;padding:17px 12px;text-align:center;color:#888;font-size:.78rem;font-weight:800}.entry-progress li+li{border-left:1px solid #d8d4cd}.entry-progress li.active{color:#171717;background:#e9bc45}
.entry-progress b{display:block;font:400 1.1rem/1 Georgia,serif;margin-bottom:6px}
.entry-form{padding:44px;background:#fff;border:1px solid #d8d4cd}.entry-form-row{display:grid;grid-template-columns:220px 1fr;gap:28px;padding:22px 0;border-bottom:1px solid #e4e1da}.entry-form-row:first-child{padding-top:0}.entry-form-row:last-of-type{border-bottom:0}.entry-form-label{font-size:.86rem;font-weight:800}.required{display:inline-block;margin-left:8px;padding:2px 7px;color:#fff;background:#bd2b31;font-size:.62rem}.optional{display:inline-block;margin-left:8px;padding:2px 7px;background:#e7e4de;font-size:.62rem}.entry-control input:not([type=checkbox]):not([type=radio]),.entry-control select,.entry-control textarea{width:100%;padding:13px 14px;border:1px solid #bbb;background:#fff;font:inherit}.entry-control textarea{min-height:150px;resize:vertical}.entry-control .radio-group{display:flex;flex-wrap:wrap;gap:14px 24px}.entry-control .radio-group input{width:auto;margin-right:6px}.consent-check{display:inline-flex;align-items:flex-start;gap:10px;max-width:100%;line-height:1.7;cursor:pointer}.entry-control .consent-check input[type=checkbox]{flex:0 0 auto;width:20px;height:20px;margin:3px 0 0;padding:0;accent-color:#bd2b31}.consent-check a{text-decoration:underline;text-underline-offset:3px}.cf-turnstile{min-height:65px}.entry-help{margin:7px 0 0;color:#777;font-size:.74rem}.entry-error{margin:0 0 28px;padding:16px 20px;border-left:4px solid #bd2b31;background:#fff2f2;color:#8d181d}.entry-actions{display:flex;justify-content:center;gap:14px;margin-top:32px}.entry-submit,.entry-back{min-width:230px;padding:17px 24px;border:1px solid #171717;font-weight:900;cursor:pointer}.entry-submit{color:#fff;background:#171717}.entry-submit:hover{color:#171717;background:#e9bc45}.entry-back{background:#fff}.entry-back:hover{background:#eee}.confirm-value{white-space:pre-wrap}.entry-complete{padding:64px 40px;text-align:center;background:#fff;border:1px solid #d8d4cd}.entry-complete .complete-mark{display:grid;place-items:center;width:70px;height:70px;margin:0 auto 24px;border-radius:50%;color:#fff;background:#bd2b31;font-size:2rem}.entry-complete h2{font-size:2rem}.entry-complete p{color:#66645f}.entry-complete a{margin-top:22px}.sr-honeypot{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;overflow:hidden!important}

@media(max-width:1040px){.brand.corporate-brand img{width:190px}.brand.corporate-brand{min-width:auto}.brand-site{display:none}.brand-divider{display:none}.corp-footer-grid{grid-template-columns:1fr 1fr}.footer-company{grid-column:1/-1}.company-business-grid{grid-template-columns:1fr 1fr}}
@media(max-width:900px){.voice-grid,.role-grid{grid-template-columns:repeat(2,1fr)}.profile-hero,.role-hero{grid-template-columns:1fr}.profile-hero-media,.role-hero-media{order:-1;min-height:360px}.role-list-intro{grid-template-columns:1fr}.role-points,.company-intro,.company-network{grid-template-columns:1fr}.related-job-grid{grid-template-columns:1fr}}
@media(max-width:700px){body{border-top-width:3px}.site-header .header-inner{height:76px}.brand.corporate-brand img{width:174px}.corp-footer-grid{grid-template-columns:1fr;gap:36px}.footer-company{grid-column:auto}.footer-corporate-brand strong{font-size:1.2rem}.footer-bottom{flex-direction:column}.entry-page,.content-page{padding:52px 0 80px}.entry-progress li{padding:13px 5px;font-size:.68rem}.entry-form{padding:24px 18px}.entry-form-row{grid-template-columns:1fr;gap:9px;padding:18px 0}.entry-actions{flex-direction:column-reverse}.entry-submit,.entry-back{width:100%}.voice-grid,.role-grid{grid-template-columns:1fr}.faq-item summary{padding:18px 15px}.faq-answer{margin:0 15px}.profile-hero-media,.role-hero-media{min-height:280px}.profile-actions{flex-direction:column}.related-jobs{padding:28px 20px}.related-jobs-head,.company-cta .wrap{align-items:flex-start;flex-direction:column}.timeline-row{grid-template-columns:70px 1fr}.company-hero{padding:70px 0}.company-section{padding:64px 0}.company-business-grid{grid-template-columns:1fr}.company-outline dl div{grid-template-columns:1fr}.company-outline dt,.company-outline dd{padding:13px 15px}.policy-content{padding:26px 20px}}

/* Work categories: new graduate / mid-career */
.role-card h3{margin:0 0 12px;font-size:1.35rem;line-height:1.45}.recruitment-paths{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-bottom:96px}.recruitment-path{position:relative;display:grid;grid-template-columns:auto 1fr auto;gap:24px;align-items:center;min-height:190px;padding:30px 34px;overflow:hidden;color:#fff;background:#171717}.recruitment-path:after{content:"";position:absolute;right:-45px;bottom:-70px;width:180px;height:180px;border:1px solid #ffffff24;border-radius:50%;transition:.25s transform}.recruitment-path:hover:after{transform:scale(1.14)}.recruitment-path-new{background:#9a7219}.recruitment-path-career{background:#202328}.path-number{align-self:start;color:#ffffff8f;font-size:.72rem;font-weight:900}.path-copy{display:flex;flex-direction:column}.path-copy small{font-size:.68rem;font-weight:900;letter-spacing:.16em}.path-copy strong{margin:8px 0 12px;font-size:clamp(1.8rem,3vw,2.6rem)}.path-copy em{font-size:.8rem;font-style:normal;line-height:1.7}.recruitment-path b{font-size:1.4rem}.role-recruitment-section{scroll-margin-top:30px;margin-bottom:110px}.role-section-visual{position:relative;height:min(44vw,480px);min-height:320px;overflow:hidden}.role-section-visual>img{width:100%;height:100%;object-fit:cover}.role-visual-banner{position:absolute;left:0;bottom:0;display:flex;width:min(480px,72%);min-height:165px;flex-direction:column;justify-content:center;padding:28px 36px;color:#fff;background:#171717ef}.role-new-section .role-visual-banner{background:#8c6717ef}.role-visual-banner small{margin-bottom:10px;font-size:.66rem;font-weight:900;letter-spacing:.16em}.role-visual-banner strong{font-size:clamp(1.45rem,3vw,2.25rem);line-height:1.35}.role-section-heading{display:grid;grid-template-columns:minmax(230px,.75fr) 1.25fr;gap:70px;margin:48px 0 34px}.role-section-heading h2{margin:0;font-size:clamp(2.2rem,4vw,3.7rem);line-height:1.1}.role-section-lead{margin:0;color:#5d5952;line-height:2}.role-feature-list{display:flex;flex-wrap:wrap;gap:8px;margin:24px 0 0;padding:0;list-style:none}.role-feature-list li{padding:8px 12px;border:1px solid #cfc8bb;background:#fff;font-size:.72rem;font-weight:800}.role-recruitment-section .role-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.role-recruitment-section .role-card{min-height:0}.role-empty{padding:28px;border:1px solid #d8d3ca;background:#fff;color:#67635c}
@media(max-width:900px){.role-section-heading{grid-template-columns:1fr;gap:24px}}
@media(max-width:700px){.role-recruitment-section .role-grid,.recruitment-paths{grid-template-columns:1fr}.recruitment-paths{margin-bottom:70px}.recruitment-path{min-height:155px;padding:24px 22px}.role-recruitment-section{margin-bottom:80px}.role-section-visual{height:400px}.role-section-visual>img{object-position:center}.role-visual-banner{width:calc(100% - 24px);min-height:145px;padding:24px}.role-section-heading{margin-top:34px}}

/* Clear visual separation between graduate and mid-career recruitment */
.role-recruitment-section{padding:0 34px 44px;border:1px solid #d8d3ca;background:#fff}.role-new-section{border-top:7px solid #9a7219}.role-career-section{border-top:7px solid #202328;background:#ece9e3}.role-category-bar{display:grid;grid-template-columns:auto 1fr auto;gap:20px;align-items:center;margin:0 -34px;padding:20px 34px;color:#fff;background:#9a7219}.role-career-section .role-category-bar{background:#202328}.role-category-bar>span{display:grid;width:42px;height:42px;place-items:center;border:1px solid #ffffff6b;border-radius:50%;font-size:.72rem;font-weight:900}.role-category-bar div{display:flex;flex-direction:column}.role-category-bar small{font-size:.62rem;font-weight:900;letter-spacing:.16em}.role-category-bar strong{margin-top:3px;font-size:1.35rem}.role-category-bar em{padding:8px 12px;border:1px solid #ffffff69;font-size:.72rem;font-style:normal;font-weight:800}.role-section-visual{margin:0 -34px}.role-section-heading{padding-top:4px}.recruitment-switch{display:grid;grid-template-columns:auto 1fr auto;gap:24px;align-items:center;margin:-62px 0 48px;padding:30px 38px;color:#fff;background:#202328;border-left:9px solid #e9bc45;box-shadow:0 16px 38px #211c141f}.recruitment-switch>span{font-size:.62rem;font-weight:900;letter-spacing:.16em;writing-mode:vertical-rl}.recruitment-switch div{display:flex;flex-direction:column}.recruitment-switch small{color:#e9bc45;font-size:.72rem;font-weight:900;letter-spacing:.08em}.recruitment-switch strong{margin-top:5px;font-size:clamp(1.8rem,4vw,3rem);line-height:1.2}.recruitment-switch b{font-size:1.8rem}.role-career-section .role-card{border-color:#c7c1b6}.role-career-section .role-feature-list li{background:#f8f6f1}
@media(max-width:700px){.role-recruitment-section{padding:0 18px 28px}.role-category-bar{grid-template-columns:auto 1fr;margin:0 -18px;padding:17px 18px}.role-category-bar em{grid-column:1/-1;width:max-content;max-width:100%}.role-section-visual{margin:0 -18px}.recruitment-switch{grid-template-columns:1fr auto;margin:-38px 0 38px;padding:24px 22px}.recruitment-switch>span{display:none}.recruitment-switch strong{font-size:1.75rem}}

/* v1.3.1 / VOICE: prevent photo and rasterized text from being blurred by card transforms. */
.voice-card:hover,
.voice-card:focus-visible {
    transform: none; /* no GPU layer interpolation for images or Japanese text */
    border-color: #b8a47c;
    box-shadow: 0 12px 28px rgba(49,43,33,.10);
}
.voice-photo img,
.profile-hero-media img {
    display: block;
    image-rendering: auto;
    filter: none;
    transform: none;
    will-change: auto;
    backface-visibility: visible;
}
.voice-card-body,
.profile-hero-copy {
    text-shadow: none;
    transform: none;
}
/* Text is kept as real HTML outside the photo, not rasterized into an image. */
.voice-card-body h2,
.voice-card-body .voice-meta,
.voice-card-body p,
.profile-hero-copy .profile-name,
.profile-hero-copy p {
    text-shadow: none;
    -webkit-font-smoothing: auto;
}
@media (prefers-reduced-motion: reduce) {
    .voice-card { transition: none; }
}
