/*
Theme Name: Hoikushi Career X
Theme URI: https://example.com/
Author: Second Gate
Author URI: https://example.com/
Description: ハイクラス保育士転職サービスのWordPressテーマ
Version: 1.0
License: GPL v2 or later
Text Domain: hoikushi-career-x
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .pc{
        display: block;
    }
    .sp{
        display: none !important;
    }
}

body {
    font-family: 'Hiragino Mincho ProN', 'ヒラギノ明朝 ProN', 'Yu Mincho', '游明朝', serif;
    line-height: 1.6;
    color: #333;
}

.main-visual {
    padding: 0;
    position: relative;
    width: 100%;
}

.register {
    width: 25.62%;
    height: 5.27vw;
    display: block;
    position: absolute;
    left: 31.4%;
    transform: translateX(-50%);
    bottom: 8%;
    opacity: 0;
    cursor: pointer;
}
.register img{
    width: 100%;
}

header {
    background-color: #fff;
    padding: 13px 0 6px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.header-content {
    max-width: 1842px;
    margin: 0 auto;
    padding: 0 71.4px;
}

.logo {
    height: 33.698px;
    width: auto;
}

.hero {
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    background-color: #f8f9fa;
}

.hero-content {
    flex: 1;
    padding-right: 40px;
}

.hero h1 {
    font-size: 16px;
    color: #666;
    margin-bottom: 10px;
}

.hero h2 {
    font-size: 36px;
    margin-bottom: 30px;
    line-height: 1.3;
}

.hero-stats {
    margin-bottom: 30px;
}

.stat {
    background-color: #4a5568;
    color: white;
    padding: 10px 20px;
    margin-bottom: 10px;
    border-radius: 5px;
    display: inline-block;
}

.cta-button {
    background-color: #e74c3c;
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 18px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #c0392b;
}

.hero-image {
    flex: 1;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.featured-jobs {
    background-color: #2c3e50;
    color: white;
    padding: 51px 20px 70px;
    text-align: center;
    position: relative;
}

.featured-jobs h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.featured-jobs > p {
    margin-bottom: 30px;
}

.featured-jobs h3 {
    font-size: 20px;
    margin-bottom: 30px;
}

.featured-jobs h3.with-lines {
    position: relative;
    display: inline-block;
    padding: 0 40px;
}

.featured-jobs h3.with-lines::before,
.featured-jobs h3.with-lines::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30px;
    height: 1px;
    background-color: white;
}

.featured-jobs h3.with-lines::before {
    left: 0;
}

.featured-jobs h3.with-lines::after {
    right: 0;
}

.job-carousel-container {
    position: relative;
    max-width: 1800px;
    margin: 0 auto;
    /* padding: 0 60px; */
}

.job-carousel-wrapper {
    overflow: hidden;
    max-width: 1002px;
    margin: 0 auto;
    width: 74.22%;
}

.job-carousel {
    /* padding: 0 10px; */
}

.job-carousel .slick-track {
    display: flex !important;
}

.job-carousel .slick-slide {
    margin: 0 15px;
    box-sizing: content-box;
}

.job-card {
    /* width: 520px; */
    height: fit-content;
}

.job-card img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.slick-dots li{
    margin: 0 7.9px;
}

.slick-dots li{
    height: 12px;
    width: 12px;
    border-radius: 30%;
    background-color: transparent;
    border: 2px solid #e5e5e5;
    cursor: pointer;
    box-sizing: content-box;
}

.slick-dots li button{
    height: 12px;
    width: 12px;
    background: rgba(229, 229, 229,0);
    transition: all 0.3s ease;
}
.featured-jobs .slick-dots li button:hover{
    background: rgba(229, 229, 229,1);
}
.featured-jobs .carousel-next{
    right: 8.37%;
}
.featured-jobs .carousel-prev{
    left: 8.37%;
}
.featured-jobs .carousel-next img,
.featured-jobs .carousel-prev img{
    width: 100%;
}

.featured-jobs .carousel-dots{
    margin-top: 46px;
}

.job-header {
    margin-bottom: 15px;
}

.job-type {
    font-size: 13px;
    color: #666;
    margin-bottom: 5px;
}

.job-company {
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

.job-location {
    color: #888;
    font-size: 13px;
    margin-bottom: 15px;
}

.job-salary {
    font-size: 14px;
    font-weight: normal;
    margin-bottom: 20px;
    color: #333;
}

.job-salary .salary-amount {
    font-size: 24px;
    font-weight: bold;
    color: #e74c3c;
}

.job-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.job-features li {
    font-size: 13px;
    color: #555;
    line-height: 1.8;
    padding-left: 15px;
    position: relative;
    margin-bottom: 8px;
}

.job-features li:before {
    content: "・";
    position: absolute;
    left: 0;
    color: #666;
}

.carousel-prev,
.carousel-next {
    position: absolute;
    top: 50.5%;
    transform: translateY(-50%);
    background-color: transparent;
    border: none;
    color: white;
    font-size: 24px;
    width: 2.32%;
    height: fit-content;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s;
    padding: 0;
}

.carousel-prev:hover,
.carousel-next:hover {
    opacity: 0.7;
}

.career-achievements .carousel-prev{
    left: 8.37%;
}
.career-achievements .carousel-next{
    right: 8.37%;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 57px;
}

.dot {
    width: 20px;
    height: 8px;
    background-color: rgba(255,255,255,0.3);
    border-radius: 4px;
    cursor: pointer;
}

/* Slick dots integration */
.slick-dots {
    padding: 0;
    margin: 0;
    list-style: none;
}

.slick-dots li {
    display: inline-block;
    border-radius: 30%;
}

.slick-dots li button {
    display: block;
    padding: 0;
    background-color: transparent;
    border: none;
    cursor: pointer;
    font-size: 0;
    line-height: 0;
}

.slick-dots li.slick-active button{
    background-color: rgb(229, 229, 229);
}

/* Slick arrows customization */
.slick-arrow {
    background: none;
    border: none;
    font-size: inherit;
    color: inherit;
}

.slick-prev:before,
.slick-next:before {
    content: none;
}

.career-achievements {
    background-color: rgb(245, 242, 235);
    padding: 89px 20px 72px;
    text-align: center;
}
.career-achievements .section-title-image{
    max-width: 440px;
    margin: 0 auto 38px;
}
.career-achievements .slick-dots li{
    border-color: rgb(46, 62, 80);
}
.career-achievements .slick-dots li.slick-active button{
    background-color: rgb(46, 62, 80, 1);
}

.section-image {
    width: 100%;
    height: auto;
    display: block;
}

.section-title-image {
    max-width: 888px;
    width: 100%;
    height: auto;
    margin: 0 auto 35px;
    display: block;
}

.career-achievements h2 {
    font-size: 28px;
    margin-bottom: 40px;
}

.career-achievements h2.with-lines {
    position: relative;
    display: inline-block;
    padding: 0 50px;
}

.career-achievements h2.with-lines::before,
.career-achievements h2.with-lines::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40px;
    height: 1px;
    background-color: #333;
}

.career-achievements h2.with-lines::before {
    left: 0;
}

.career-achievements h2.with-lines::after {
    right: 0;
}

.case-carousel-container {
    position: relative;
    margin: 0 auto;
    max-width: 1800px;
}
.career-achievements .carousel-next img,
.career-achievements .carousel-prev img{
    width: 100%;
}

.case-carousel-wrapper {
    overflow: hidden;
    margin: 0 auto;
    max-width: 1013px;
    width: 78.22%;
}

.case-carousel {
}

.case-carousel .slick-track {
    display: flex !important;
}

.case-carousel .slick-slide {
    margin: 0 26.5px;
}

.case-card {
    width: 300px;
    height: fit-content;
}

.case-card img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.career-advisor {
    padding: 0;
    background-color: white;
}

.career-advisor h2 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 40px;
}

.advisor-content {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
    gap: 40px;
}

.advisor-features {
    flex: 1;
}

.advisor-feature {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.feature-number {
    font-size: 36px;
    font-weight: bold;
    color: #e74c3c;
    margin-right: 20px;
}

.advisor-feature p {
    font-size: 16px;
    line-height: 1.8;
}

.advisor-image {
    flex: 1;
}

.advisor-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.registration-form {
    background-color: #ffffff;
    padding: 80px 20px 113px;
}

.registration-form h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 20px;
    margin-left: 35px;
}

.registration-form > p {
    text-align: center;
    font-size: 13.2px;
    color: #666;
    margin-bottom: 37px;
    font-family: "Zen Kaku Gothic New", sans-serif;
}

#registration-form {
    max-width: 585px;
    margin: 0 auto;
    font-family: "Zen Kaku Gothic New", sans-serif;
}

.name-container{
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.name-flex{
    display: flex;
    gap: 20px;
}

.postal-code-container{
    display: flex;
    gap: 10px;
    align-items: center;
}
#postal-code{
    max-width: 190px;
}
.postal-code-span{
    font-size: 14px;
    margin-left: 3px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: flex;
    align-items: center;
    margin-bottom: 9px;
    font-weight: bold;
    font-size: 16px;
}

.form-group .postal-code-container,
.form-group > input{
    margin-bottom: 15px;
}

.form-group.address{
    margin-bottom: 15px;
}

.form-group.birth-year{
    margin-bottom: 15px;
}

.required {
    display: inline-block;
    color: #e74c3c;
    border: 1px solid #e74c3c;
    font-size: 10px;
    padding: 0px 3px;
    margin-left: 9px;
    border-radius: 3px;
    font-weight: normal;
}

.form-group input,
.form-group select{
    width: 100%;
    padding: 12px 17px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
}
.form-group select{
    -webkit-appearance: none;
    appearance: none;
    position: relative;
    background-image: url(assets/images/selector_arrow.png);
    background-size: 11px 6px;
    background-repeat: no-repeat;
    background-position: right 16px center;
}
.form-group.phone{
    margin-bottom: 15px;
}
.form-group.phone input{
    max-width: 550px;
    display: block;
}
.form-group.employment label{
    margin-bottom: 12px;
}

#birth-year{
    max-width: 189px;
}

.submit-button-container{
    display: flex;
    justify-content: center;
}

.mb-10 {
    margin-bottom: 10px;
}

.employment-options {
    display: flex;
    gap: 44px;
    flex-wrap: wrap;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    margin-right: 9px;
    width: 16px;
    height: 16px;
}

/* エラー表示用スタイル */
.form-group.error input,
.form-group.error select {
    border-color: #e74c3c;
}

input.error,
select.error {
    border-color: #e74c3c;
}

.error-message {
    display: block;
    color: #e74c3c;
    font-size: 13px;
    margin-top: 5px;
    line-height: 1.4;
}

.form-group .error-message {
    margin-left: 5px;
}

.checkbox-label span {
    font-weight: normal;
}

.consent {
    text-align: center;
    margin: 75px 0 27px;
}

.consent p {
    font-size: 13.4px;
    color: #666;
}

.consent a {
    color: #2c3e50;
    text-decoration: underline;
}

.submit-button {
    width: 100%;
    max-width: 348px;
    display: block;
    color: white;
    border: none;
    padding: 0;
    font-size: 0;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s;
    opacity: 1;
    box-shadow: 0px 4px 3px rgba(0, 0, 0, 0.4);
}

.submit-button:hover {
    opacity: 0.8;
}
.submit-button img{
    max-width: 100%;
}

.service-flow {
    padding: 0;
    background-color: white;
}

.service-flow h2 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 50px50px;
}

.flow-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.flow-step {
    text-align: center;
    flex: 1;
}

.step-number {
    font-size: 36px;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 20px;
}

.step-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.flow-step h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.flow-step p {
    font-size: 14px;
    color: #666;
}

.flow-arrow {
    font-size: 36px;
    color: #e74c3c;
    margin: 0 20px;
}

footer {
    background-color: #2c3e50;
    color: white;
    padding: 35px 20px 55px;
    text-align: center;
}

.footer-content nav {
    margin-bottom: 33px;
}

.footer-content nav a {
    color: white;
    text-decoration: none;
    margin: 0px 14px;
    display: inline-flex;
    align-items: center;
    font-size: 15px;
}

.footer-content nav a:hover {
    text-decoration: underline;
}

.footer-icon {
    width: 12px;
    height: 14px;
    margin-right: 8px;
}

.copyright {
    width: 235px;
    margin: 0 auto;
}
.copyright img{
    width: 100%;
}



@media (max-width: 767px) {
    .sp{
        display: block;
    }
    .pc{
        display: none !important;
    }

    header{
        padding-top: 16px;
        padding-bottom: 6px;
    }
    .header-content{
        padding: 0 30px;
    }

    .logo{
        max-height: 45.5px;
        height: auto;
        max-width: 95%;
    }

    .register-container{
        display: block;
        width: 100%;
        height: 33.07vw;
        background-image: url(assets/images/register_sp_bg.jpg);
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        position: relative;
    }
    .register{
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 81.07vw;
        height: 16.78vw;
        cursor: pointer;
    }

    .featured-jobs{
        padding-top: 79px;
        padding-bottom: 45px;
    }

    .section-title-image{
        max-width: min(550px, 92.6%);
        margin: 0 6.4% 55px;
    }
    .job-card, .case-card{
        padding: 0 0 0 4.64vw;
    }
    .job-card img{
        width: 69.64vw;
    }
    .job-carousel .slick-slide{
        width: 70.64vw;
    }

    .career-achievements{
        padding-top: 70px;
        padding-bottom: 23px;
    }
    .career-achievements .section-title-image{
        max-width: 525px;
        margin-bottom: 64px;
    }
    .case-carousel-container{
        width: 100%;
    }
    .case-carousel .slick-slide{
        width: auto;
    }
    .case-card img{
        width: 86.77vw;
    }
    
    .flow-steps {
        flex-direction: column;
    }
    
    .flow-arrow {
        transform: rotate(90deg);
        margin: 20px 0;
    }
    
    .job-carousel-wrapper,
    .case-carousel-wrapper {
        margin: 0 -20px;
        width: 100vw;
    }
    
    .job-carousel .slick-slide,
    .case-carousel .slick-slide {
        margin: 0;
    }
    
    .job-card,
    .case-card {
        width: 100%;
    }
    
    .case-result {
        flex-direction: column;
    }
    
    .case-arrow {
        transform: rotate(90deg);
        margin: 10px 0;
    }

    .registration-form h2{
        font-size: min(53px, 8.48vw);
        margin-bottom: min(28px, 4.48vw);
        margin-left: min(35px, 5.6vw);
    }

    .registration-form > p{
        font-size: 16px;
        margin-bottom: 56px;
    }

    .registration-form{
        padding-right: 16px;
        padding-left: 16px;
        padding-top: 109px;
        padding-bottom: 95px;
    }

    .postal-code-span{
        margin-left: 15px;
        font-size: 14px;
        letter-spacing: -0.05em;
    }

    .form-group input, .form-group select{
        padding: 12px 12px;
        font-size: 16px;
    }

    .form-group{
        margin-bottom: 15px;
    }

    .form-group label{
        font-size: 18px;
        margin-bottom: 16px;
        align-items: center;
    }
    .required{
        font-size: 15px;
        margin-left: 13px; 
        padding: 0px 5px;  
    }

    #postal-code{
        max-width: 283px;
    }

    .form-group .postal-code-container, .form-group > input {
        margin-bottom: 10px;
    }

    .form-group.address {
        margin-bottom: 15px;
    }

    .form-group.birth-year label{
        margin-bottom: 16px;
    }

    #birth-year {
        max-width: 282px;
    }
    .form-group select{
        background-size: 16px 9px;
        background-position: right 25px center;
    }

    .form-group.birth-year {
        margin-bottom: 15px;
    }

    .form-group.phone {
        margin-bottom: 15px;
    }
    .form-group.phone label{
        margin-bottom: 12px;
    }
    .form-group.employment label{
        margin-bottom: 10px;
        margin-right: 15px;
    }

    .checkbox-label input[type="checkbox"]{
        width: 22px;
        height: 22px;
        margin-right: 10px;
    }
    .employment-options{
        gap: 0;
    }


    .form-group.employment{
        margin-bottom: 75px;
    }

    .consent{
        margin-left: -10px;
        margin-right: -10px;
        margin-bottom: 38px;
    }
    .consent p {
        font-size: 16px;
        letter-spacing: -0.05em;
    }
    .submit-button{
        max-width: 528px;
    }
    .footer-content nav a{
        font-size: 16px;
        margin: 0px 25px;
    }
    footer{
        padding-top: 80px;
        padding-bottom: 95px;
    }
    .footer-icon{
        width: 12px;
        height: 14px;
        margin-right: 8px;
    }

    .footer-content nav{
        margin-bottom: 75px;
    }

    .copyright{
        
        max-width: 100%;

    }
    
    /* スマホ用エラー表示の改善 */
    .error-message {
        font-size: 12px;
        margin-top: 3px;
        background-color: #fff5f5;
        padding: 5px 8px;
        border-radius: 4px;
        border-left: 3px solid #e74c3c;
    }
    
    .form-group.error {
        margin-bottom: 25px;
    }
    
    input.error,
    select.error {
        border-color: #e74c3c;
        background-color: #fff5f5;
    }
    
    /* チェックボックスのエラー表示 */
    .employment-options .error-message {
        margin-top: 10px;
        margin-left: 0;
    }
}