.elementor-31 .elementor-element.elementor-element-e77c901{--display:flex;}.elementor-31 .elementor-element.elementor-element-54c2149 > .elementor-widget-container{margin:0px 0px 0px 0px;padding:0px 0px 0px 0px;}.elementor-31 .elementor-element.elementor-element-54c2149{width:100%;max-width:100%;}.elementor-31 .elementor-element.elementor-element-720b677{--display:flex;--margin-top:100px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:40px;--padding-left:0px;--padding-right:0px;}.elementor-31 .elementor-element.elementor-element-eb0c42b{padding:0px 0px 0px 0px;width:100%;max-width:100%;}/* Start custom CSS for html, class: .elementor-element-eb0c42b *//* Afacadフォントの読み込み */
@import url('https://fonts.googleapis.com/css2?family=Afacad:wght@400;700&display=swap');

/* 全体のセクション設定 */
.hero-section {
    display: flex;
    width: 100%;
    height: 80vh;
    min-height: 600px;
}

/* カラムの基本設定 */
.hero-col {
    flex: 1;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* 左カラム：画像 */
.hero-col-left {
    background-image: url('/wp-content/uploads/2026/07/img69.jpg');
}

/* 右カラム：画像 */
.hero-col-right {
    background-image: url('/wp-content/uploads/2026/07/img70.jpg');
}

/* 中央：赤帯エリア */
.hero-col-center {
    flex: 0 0 40%;
    background-color: #D83447;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px;
    color: #ffffff;
    text-align: center;
}

/* 中央コンテンツ（可変サイズ設定） */
.hero-content { width: 100%; }

.hero-content h1 {
    font-family: 'Arial Black', sans-serif;
    font-size: clamp(28px, 4vw, 48px);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: clamp(14px, 1.5vw, 18px);
    margin-bottom: 40px;
    line-height: 1.8;
}

/* ボタン設定（可変サイズ） */
.yamasa-recruit-entry-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: clamp(12px, 2vw, 20px) clamp(20px, 3vw, 30px) !important;
    background-color: #ffffff !important;
    color: #D83447 !important;
    font-family: 'Afacad', sans-serif !important;
    font-size: clamp(14px, 1.2vw, 16px) !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    border: none !important;
    border-radius: 50px !important;
    line-height: 1 !important;
    margin: 10px auto;
    width: 90%;
    max-width: 300px;
}

.yamasa-recruit-entry-btn:hover { background-color: #f0f0f0 !important; }
.yamasa-recruit-entry-btn span { 
    display: inline-block;
    transition: transform 0.3s ease !important; 
}
.yamasa-recruit-entry-btn:hover span { transform: translateX(5px); }

/* パンクズリスト（赤帯エリア内） */
.breadcrumb {
    margin-bottom: 20px;
    font-size: 13px;
    color: #ffffff;
}

.breadcrumb ol {
    list-style: none;
    display: flex;
    justify-content: center;
    padding: 0;
    margin: 0;
}

.breadcrumb ol li { display: flex; align-items: center; }
.breadcrumb ol li:not(:last-child)::after {
    content: ">";
    margin: 0 10px;
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumb a { color: #ffffff; text-decoration: none; opacity: 0.8; }
.breadcrumb a:hover { text-decoration: underline; opacity: 1; }
.breadcrumb li span { font-weight: bold; }

/* 900px以下で画像2カラムにするための修正 */
@media screen and (max-width: 900px) {
    .hero-section {
        display: flex;
        flex-wrap: wrap; /* ここが重要：要素を折り返し可能にする */
        height: auto;
    }

    /* 画像エリアを横並びにする */
    .hero-col-left,
    .hero-col-right {
        flex: 1 1 50%; /* 50%幅で横並び */
        height: 250px; /* 必要であれば高さを調整 */
        order: 1;      /* 画像を先に表示 */
    }

    /* 赤帯エリアを一番下にする */
    .hero-col-center {
        flex: 1 1 100%; /* 全幅 */
        order: 2;       /* 画像の後に表示 */
        padding: 40px 20px;
    }
}
/* 赤帯の中でのパンクズ表示調整 */
.hero-col-center .breadcrumb {
    padding: 0;
    margin-bottom: 20px;
    background: transparent; /* 背景を赤帯に合わせる */
}

.hero-col-center .breadcrumb a,
.hero-col-center .breadcrumb li,
.hero-col-center .breadcrumb li span {
    color: #ffffff !important; /* 文字を白に強制 */
    opacity: 0.9;
}

.hero-col-center .breadcrumb ol li:not(:last-child)::after {
    color: rgba(255, 255, 255, 0.6); /* 区切り文字を半透明の白に */
}/* End custom CSS */