body > header {
    padding: 40px 0 !important;  /* 上下10pxのパディング */
}

/* ロゴの位置調整 */
body > header .logo {
	margin-top: -3px !important;  /* 上に移動（負の値） */
	margin-left: 10px !important;
}

/* ナビゲーションの位置調整 */
body > header .header-nav {
    margin-right: 10px !important;
    margin-top: -9px !important;  /* 上に移動（負の値） */
}

/* 共通スタイル */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

h2 {
    font-size: 32px;
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

/* ヒーローセクション */
.recruit-hero {
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: flex-start; /* 中央揃えから左揃えに変更 */
    text-align: left; /* 中央揃えから左揃えに変更 */
    margin-top: 0;
	position: relative;  /* 追加 */
    overflow: hidden;    /* 追加 */
	z-index: 1;
}

.hero-background {
    position: absolute;  /* fixedからabsoluteに変更 */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;  /* 100vhから100%に変更 */
    z-index: -1;
    overflow: hidden;
    perspective: 2000px;
}

.hero-sections-wrapper {
    position: relative;
    overflow: hidden;
}

.cube-wrapper {
    position: absolute;
    transform-style: preserve-3d;
    will-change: transform;
	z-index: -1;
    /* アニメーションをここでは定義しない */
}

.cube {
    position: relative;
    transform-style: preserve-3d;
    /* アニメーションをここでは定義しない */
    width: 100%;
    height: 100%;
}

.cube-face {
    position: absolute;
    width: 100%;
    height: 100%;
    background: transparent;
    border: 2px solid;
    border-color: #09163a;
    backface-visibility: visible;
}

/* 立方体の各面の位置を正確に調整 */
.cube-face:nth-child(1) { transform: translateZ(calc(50% - 1px)); }
.cube-face:nth-child(2) { transform: translateZ(calc(-50% + 1px)) rotateY(180deg); }
.cube-face:nth-child(3) { transform: translateX(calc(50% - 1px)) rotateY(90deg); }
.cube-face:nth-child(4) { transform: translateX(calc(-50% + 1px)) rotateY(-90deg); }
.cube-face:nth-child(5) { transform: translateY(calc(-50% + 1px)) rotateX(90deg); }
.cube-face:nth-child(6) { transform: translateY(calc(50% - 1px)) rotateX(-90deg); }

@keyframes rotate {
    from {
        transform: rotateX(0) rotateY(0) rotateZ(0);
    }
    to {
        transform: rotateX(360deg) rotateY(360deg) rotateZ(360deg);
    }
}


.recruit-hero-content {
    margin-left: calc((100% - 1200px) / 2); /* コンテンツエリアの左端に合わせる */
    padding-left: 0; /* 既存のパディングをリセット */
	z-index: 2;
}

.recruit-hero-content h1 {
    font-size: 72px;
    font-weight: bold;
    margin-bottom: 0;
    letter-spacing: 4px;
    font-family: 'Noto Sans JP', sans-serif;
    margin-left: -5px; /* 文字の左側の空白を微調整 */
	color: #968242;
	background-color: white;
	border-radius: 50px; /* 角を丸く */
}

.message-content strong:first-child {
    color: #968242;
}

.recruit-hero-content p {
    font-size: 20px;
    letter-spacing: 2px;
    font-weight: 500;
    position: relative;
    display: inline-block; /* インラインブロック要素に変更 */
    padding: 5px 20px 5px 40px; /* 左側の余白を増やして横線用のスペースを確保 */
    background-color: white;
    border-radius: 50px;
}

.recruit-hero-content p::before {
    content: '';
    position: absolute;
	left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 1px;
    background-color: #333;
}

/* メッセージセクション */
.recruit-message {
    background-color: #fff;
	padding-top: 0;
	position: relative;  /* 追加 */
	z-index: 2; /* 立方体より上に表示 */
}

.message-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 0;
    position: relative;
    padding-left: 600px; /* 左側の余白を500pxの横線+余白分確保 */
	z-index: 2; /* 立方体より上に表示 */
}

.message-content::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 500px; /* 横線の長さはそのまま */
    height: 1px;
    background-color: #333;
}

.message-content p {
    font-size: 16px; /* テキストサイズを18pxから16pxに縮小 */
    line-height: 2;
}

/* 募集職種セクション */
.recruit-positions h2 {
    text-align: left; /* 中央揃えから左揃えに変更 */
    margin-left: calc((100% - 1200px) / 2); /* RECRUITと同じ位置に配置 */
    padding-left: 0; /* 既存のパディングをリセット */
	font-size: 38px;
}

.position-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.position-card h3 {
    font-size: 24px;
    margin-bottom: 20px;
    text-align: center;
    color: #1a1a1a;
}

/* 募集職種セクション - アコーディオンスタイル */
.position-accordion {
    background: transparent; /* 背景を透明に */
    margin-bottom: 0; /* 下マージンを削除 */
    border-radius: 0; /* 角丸を削除 */
    box-shadow: none; /* 影を削除 */
}

.position-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0; /* 左右のパディングを削除 */
    cursor: pointer;
	border-bottom: 1px solid #ddd; /* ヘッダーに下線を追加 */
}

.position-header h3 {
    font-size: 24px;
    margin: 0;
	color: #1a1a1a;
    display: flex;
    align-items: center;
}

.position-header h3::before {
    content: attr(data-number);
    color: #999;
    font-size: 14px;
    margin-right: 10px;
}

.toggle-btn {
    font-size: 30px; /* 28pxから42pxに変更 */
    color: #333;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    width: 42px; /* 幅を指定 */
    height: 42px; /* 高さを指定 */
    display: flex; /* Flexboxを使用 */
    align-items: center; /* 垂直方向の中央揃え */
    justify-content: center; /* 水平方向の中央揃え */
    line-height: 1; /* 行の高さを調整 */
}

.position-content {
    display: block; /* displayプロパティをnoneからblockに変更 */
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), 
                opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                padding 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    padding: 0;
}

.position-accordion.active .toggle-btn {
    transform: rotate(135deg);
}

/* アクティブ時のスタイル */
.position-accordion.active .position-content {
    max-height: 2000px; /* コンテンツの最大高さを設定 */
    opacity: 1;
    padding: 30px 0;
}

/* 「+ボタン」を押した際のスタイル */
.position-section {
    margin-bottom: 40px;
    border-bottom: 1px solid #eee;
    padding-bottom: 30px;
    display: flex; /* Flexboxを追加 */
    align-items: flex-start; /* 上揃えに */
}

.position-section:last-child {
    margin-bottom: 0;
    border-bottom: none;
}

.position-section h4 {
    font-size: 16px;
    color: #1a1a1a;
    margin-bottom: 0; /* マージンを削除 */
    width: 180px; /* 左側の見出し幅を固定 */
    flex-shrink: 0; /* 幅を固定 */
}

/* 右側のコンテンツ用のスタイル */
.position-section .section-content {
    flex: 1; /* 残りのスペースを埋める */
    padding-left: 40px; /* 左側の見出しとの間隔 */
}

.position-section p {
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 0;
}

.position-section ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.position-section ul li {
    position: relative;
    padding-left: 15px;
    margin-bottom: 8px;
    line-height: 1.6;
}

.position-section ul li::before {
    content: "-";
    position: absolute;
    left: 0;
    color: #666;
}

.position-section ul li:last-child {
    margin-bottom: 0;
}


/* 募集要項セクション */
.recruit-requirements {
    background-color: #fff;
    padding: 80px 0;
}

.recruit-requirements h2 {
    text-align: left;
    margin-left: calc((100% - 1200px) / 2);
    padding-left: 0;
    font-size: 38px;
    margin-bottom: 100px;
}

/* カテゴリボタン */
.category-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 80px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.category-btn {
    color: #968242;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-align: center;
    line-height: 75px;
    width: 100%;
    height: 75px;
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    border: 1px solid rgba(150, 130, 66, 0.15);
    position: relative;
    display: block;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    border-radius: 8px;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(150, 130, 66, 0.08);
}

.category-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s;
}

.category-btn::after {
    content: '→';
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #000000;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    font-size: 20px;
    font-weight: 700;
    opacity: 0.8;
    z-index: 2;
}

.category-btn:hover {
    background: linear-gradient(135deg, #968242 0%, #b8941f 100%);
    color: #ffffff;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 35px rgba(150, 130, 66, 0.4);
    border: 1px solid rgba(150, 130, 66, 0.8);
}

.category-btn:hover::before {
    left: 100%;
}

.category-btn:hover::after {
    transform: translateY(-50%) translateX(5px) scale(1.1);
    color: #ffffff;
    opacity: 1;
}

.category-btn.active {
    background: linear-gradient(135deg, #968242 0%, #b8941f 100%);
    color: #ffffff;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 35px rgba(150, 130, 66, 0.4);
    border: 1px solid rgba(150, 130, 66, 0.8);
}

.category-btn.active::after {
    color: #ffffff;
    transform: translateY(-50%) translateX(5px) scale(1.1);
    opacity: 1;
}

/* ポジションボタン */
.position-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin-bottom: 60px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 40px;
}

.position-btn {
    padding: 28px 32px;
    border: none;
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    color: #2c3e50;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    text-align: left;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
}

.position-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(150, 130, 66, 0.05) 0%, rgba(9, 22, 58, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.position-btn::after {
    content: '→';
    font-size: 20px;
    color: #968242;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    font-weight: 700;
    position: relative;
    z-index: 2;
}

.position-btn:hover::before {
    opacity: 1;
}

.position-btn:hover {
    background: linear-gradient(145deg, #f8f9fa 0%, #e9ecef 100%);
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border: 2px solid rgba(150, 130, 66, 0.2);
}

.position-btn:hover::after {
    transform: translateX(8px) scale(1.2);
    color: #968242;
}

.position-btn.active {
    background: linear-gradient(135deg, #968242 0%, #b8941f 100%);
    color: #ffffff;
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 20px 40px rgba(150, 130, 66, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.position-btn.active::before {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    opacity: 1;
}

.position-btn.active::after {
    color: #ffffff;
    transform: translateX(8px) scale(1.2);
}

/* 募集要項セクション */
.requirements-section {
    display: none;
}

.requirements-section.active {
    display: block;
}

.requirements-content {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 20px;
}

.requirement-row {
    display: flex;
    border: 1px solid #e0e0e0;
    margin-bottom: 0;
    align-items: stretch;
    min-height: 60px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.requirement-row:last-child {
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 40px;
}

.requirement-label {
    font-weight: 600;
    color: #ffffff;
    background: linear-gradient(135deg, #968242 0%, #b8941f 100%);
    min-width: 200px;
    flex-shrink: 0;
    font-size: 16px;
    padding: 20px;
    display: flex;
    align-items: center;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.requirement-value {
    flex: 1;
    font-size: 15px;
    line-height: 1.8;
    color: #2c3e50;
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    padding: 20px;
    display: flex;
    align-items: center;
    font-weight: 500;
}

/* Wantedly iframe container */
.wantedly-container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 40px 20px;
    text-align: left;
}

.wantedly-title {
    font-size: 30px;
    font-weight: 600;
    color: #333;
    margin-bottom: 50px;
    text-align: left;
    border-left: 10px solid #968242;
    padding-left: 16px;
    line-height: 1.4;
}

.iframe-section {
    display: none;
}

.iframe-section.active {
    display: block;
}

.wantedly-container iframe {
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.wantedly-container iframe:hover {
    transform: scale(1.05);
}

/* スタイリッシュなコンタクトフォーム */
.contact-form-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(150, 130, 66, 0.1);
    border: 1px solid rgba(150, 130, 66, 0.1);
    box-sizing: border-box;
}

/* Contact Form 7用のスタイル */
.wpcf7-form {
    max-width: 80%;
    margin: 0 auto;
}

.wpcf7-form .wpcf7-form-control-wrap {
    width: 100%;
    display: block;
}

.wpcf7-form .wpcf7-form-control {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* Contact Form 7の入力欄をform-groupと同じ幅に */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form select,
.wpcf7-form textarea {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

/* Contact Form 7のラベルとフィールドの幅を統一 */
.wpcf7-form p {
    width: 80%;
    max-width: 80%;
    margin: 0;
}

.wpcf7-form label {
    width: 100%;
    display: block;
}

/* Contact Form 7をカスタムフォームと同じデザインに */
.wpcf7-form {
    max-width: 80%;
    margin: 0 auto;
}

.wpcf7-form p {
    width: 100%;
    max-width: 100%;
    margin: 0;
}

.wpcf7-form label {
    width: 100%;
    display: block;
}

/* Contact Form 7の入力欄をカスタムフォームと同じスタイルに */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form select,
.wpcf7-form textarea {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

/* Contact Form 7のプライバシーポリシーとボタンの幅を統一 */
.wpcf7-form .checkbox-label,
.wpcf7-form .wpcf7-acceptance {
    max-width: 80%;
    margin: 0;
    width: 80%;
    box-sizing: border-box;
}

.wpcf7-form .form-submit {
    max-width: 80%;
    margin: 0 auto;
    width: 80%;
    box-sizing: border-box;
}

/* プライバシーポリシーのテキスト部分も80%に */
.wpcf7-form .checkbox-text {
    max-width: 80%;
    margin: 0;
    width: 80%;
    box-sizing: border-box;
}

/* Contact Form 7のacceptanceフィールドを横一列に修正 */
.wpcf7-form .wpcf7-acceptance {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    flex-wrap: nowrap !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
}

.wpcf7-form .wpcf7-acceptance .wpcf7-list-item {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    list-style: none !important;
}

.wpcf7-form .wpcf7-acceptance .wpcf7-list-item input[type="checkbox"] {
    display: inline-block !important;
    width: 18px !important;
    height: 18px !important;
    margin: 0 !important;
    padding: 0 !important;
    vertical-align: middle !important;
    flex-shrink: 0 !important;
    order: 1 !important;
}

.wpcf7-form .wpcf7-acceptance .wpcf7-list-item-label {
    display: inline !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
    order: 2 !important;
    flex: 1 !important;
}

/* Contact Form 7標準のacceptanceフィールドのスタイル */
.wpcf7-form .wpcf7-acceptance {
    margin: 0 !important;
    padding: 0 !important;
}

.wpcf7-form .wpcf7-acceptance .wpcf7-list-item {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.wpcf7-form .wpcf7-acceptance .wpcf7-list-item input[type="checkbox"] {
    margin-right: 8px !important;
}

.wpcf7-form .wpcf7-acceptance .wpcf7-list-item-label {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
}

/* プライバシーポリシーリンクのスタイル */
.wpcf7-form .privacy-link {
    color: #000000 !important;
    text-decoration: underline !important;
}

.wpcf7-form .privacy-link:hover {
    color: #333333 !important;
}

/* プライバシーポリシーのacceptanceフィールドを中央配置 */
.wpcf7-form .wpcf7-acceptance {
    text-align: center !important;
    margin: 30px 0 !important;
    max-width: 80% !important;
    width: 80% !important;
    margin-left: auto !important;
    margin-right: auto !important;
}



.wpcf7-form .submit-button {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* Contact Form 7のhidden-fields-containerの位置ずれを修正 */
.wpcf7-form .wpcf7-form-control-wrap {
    margin: 0 !important;
    padding: 0 !important;
}

.wpcf7-form .wpcf7-response-output {
    margin: 20px 0 !important;
    padding: 10px !important;
    border: 1px solid #ddd !important;
    border-radius: 4px !important;
}

/* Contact Form 7のhidden-fields-containerを非表示 */
.wpcf7-form .wpcf7-form-control-wrap.hidden-fields-container {
    display: none !important;
}

/* Contact Form 7のプライバシーポリシー上のbrタグのみ非表示 */
.wpcf7-form .checkbox-label br,
.wpcf7-form .form-group:has(.checkbox-label) br {
    display: none;
}

.form-header {
    text-align: center;
    margin-bottom: 40px;
}

.form-header h3 {
    font-size: 28px;
    font-weight: 600;
    color: #968242;
    margin-bottom: 12px;
    letter-spacing: 0.05em;
}

.form-header p {
    font-size: 16px;
    color: #7f8c8d;
    line-height: 1.6;
}

.stylish-contact-form {
    max-width: 100%;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.form-group {
    position: relative;
    max-width: 80%;
    margin: 0 auto;
    width: 80%;
    box-sizing: border-box;
}

    .form-group.full-width {
        grid-column: 1 / -1;
        max-width: 80%;
        margin: 0 auto;
        width: 80%;
        box-sizing: border-box;
    }

    .file-upload-label {
        height: 50px;
    }

    .file-upload-text {
        font-size: 14px;
    }

    /* file-upload-iconは削除（アイコンを削除したため） */

.form-label {
    min-width: 200px;
    flex: 0 0 180px;
    font-weight: bold;
    color: #968242;
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.6;
}

/* label-textは不要になったため削除 */

/* required-badgeは削除（アスタリスクに変更） */

.required-asterisk {
    color: #dc3545;
    font-weight: bold;
    margin-left: 4px;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    max-width: 100%;
    padding: 16px 20px;
    border: 2px solid rgba(150, 130, 66, 0.15);
    border-radius: 8px;
    font-size: 15px;
    color: #2c3e50;
    background: #ffffff;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 2px 8px rgba(150, 130, 66, 0.05);
    box-sizing: border-box;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: #968242;
    box-shadow: 0 4px 16px rgba(150, 130, 66, 0.15);
    transform: translateY(-1px);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #bdc3c7;
    font-style: italic;
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
    font-family: inherit;
    line-height: 1.6;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    color: #968242;
    line-height: 1.6;
}

.checkbox-input {
    display: none;
}

.custom-checkbox {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(150, 130, 66, 0.3);
    border-radius: 4px;
    margin-right: 12px;
    position: relative;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    flex-shrink: 0;
}

.checkbox-input:checked + .custom-checkbox {
    background: linear-gradient(135deg, #968242 0%, #b8941f 100%);
    border-color: #968242;
}

.checkbox-input:checked + .custom-checkbox::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
}

.checkbox-text {
    font-size: 14px;
    color: #333;
    line-height: 1.5;
    white-space: nowrap;
}

.privacy-link {
    color: #000000;
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.3s ease;
}

.privacy-link:hover {
    color: #333333;
    text-decoration: underline;
}

.form-submit {
    text-align: center;
    margin-top: 40px;
}

.submit-button {
    background: linear-gradient(135deg, #968242 0%, #b8941f 100%);
    color: #ffffff;
    border: none;
    padding: 18px 40px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 4px 16px rgba(150, 130, 66, 0.3);
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 200px;
    justify-content: center;
}

.submit-button:hover:not(:disabled) {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 24px rgba(150, 130, 66, 0.4);
}

.submit-button:disabled {
    background: #bdc3c7;
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 2px 8px rgba(189, 195, 199, 0.3);
}

/* ファイルアップロード用スタイル */
.file-upload-container {
    position: relative;
    width: 100%;
}

.file-input {
    display: none;
}

.file-upload-label {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 60px;
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    border: 2px dashed #968242;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
}

.file-upload-label:hover {
    background: linear-gradient(145deg, #f8f9fa 0%, #e9ecef 100%);
    border-color: #b8941f;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(150, 130, 66, 0.15);
}

.file-upload-text {
    font-size: 16px;
    font-weight: 600;
    color: #968242;
    margin-right: 8px;
}

/* file-upload-iconは削除（アイコンを削除したため） */

.file-info {
    display: none;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 50px;
    background: linear-gradient(145deg, #e8f5e8 0%, #d4edda 100%);
    border: 1px solid #c3e6cb;
    border-radius: 8px;
    padding: 0 16px;
    margin-top: 12px;
}

.file-name {
    font-size: 14px;
    font-weight: 500;
    color: #155724;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.file-remove {
    background: #dc3545;
    color: #ffffff;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.file-remove:hover {
    background: #c82333;
    transform: scale(1.1);
}

.button-icon {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.submit-button:hover:not(:disabled) .button-icon {
    transform: translateX(3px);
}

/* レスポンシブ対応 */
@media (max-width: 1200px) {
    .contact-form-container {
        max-width: 100%;
        margin: 0 20px;
    }
    
    .form-group,
    .form-group.full-width {
        max-width: 1000px;
        margin: 0 auto;
    }
}

@media (max-width: 1000px) {
    .contact-form-container {
        padding: 30px 20px;
        margin: 0 20px;
        max-width: calc(100% - 40px);
    }
    
    .form-group,
    .form-group.full-width {
        max-width: 80%;
        margin: 0 auto;
        width: 80%;
    }
}

@media (max-width: 900px) {
    .contact-form-container {
        padding: 25px 15px;
        margin: 0 15px;
        max-width: calc(100% - 30px);
    }
    
    .form-group,
    .form-group.full-width {
        max-width: 80%;
        margin: 0 auto;
        width: 80%;
    }
}

@media (max-width: 800px) {
    .contact-form-container {
        padding: 20px 15px;
        margin: 0 15px;
        max-width: calc(100% - 30px);
    }
    
    .form-group,
    .form-group.full-width {
        max-width: 80%;
        margin: 0 auto;
        width: 80%;
    }
}

@media (max-width: 768px) {
    .contact-form-container {
        padding: 30px 15px;
        margin: 0 15px;
        max-width: calc(100% - 30px);
    }
    
    .form-group,
    .form-group.full-width {
        max-width: 80%;
        margin: 0 auto;
        width: 80%;
    }
    
    .form-header h3 {
        font-size: 24px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .form-input,
    .form-select,
    .form-textarea {
        padding: 14px 16px;
        font-size: 14px;
    }
    
    .submit-button {
        padding: 16px 32px;
        font-size: 15px;
        min-width: 180px;
    }
}

@media (max-width: 480px) {
    .contact-form-container {
        padding: 20px 10px;
        margin: 0 10px;
        max-width: calc(100% - 20px);
    }
    
    .form-group,
    .form-group.full-width {
        max-width: 80%;
        margin: 0 auto;
        width: 80%;
    }
    
    .form-header h3 {
        font-size: 20px;
    }
    
    .form-input,
    .form-select,
    .form-textarea {
        padding: 12px 14px;
        font-size: 13px;
    }
    
    .submit-button {
        padding: 14px 24px;
        font-size: 14px;
        min-width: 160px;
    }
}

/* 待遇・福利厚生セクション */
.recruit-benefits {
    background-color: #fff;
    padding: 80px 0;
}

.recruit-benefits h2 {
    text-align: left; /* 中央揃えから左揃えに変更 */
    margin-left: calc((100% - 1200px) / 2); /* RECRUITと同じ位置に配置 */
    padding-left: 0; /* 既存のパディングをリセット */
    font-size: 38px;
}

.benefits-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex; /* Flexboxを使用 */
    flex-direction: column; /* 縦方向に配置 */
    align-items: center; /* 中央寄せ */
}

.benefit-item {
    width: 100%; /* 幅を100%に設定 */
    max-width: 600px; /* 最大幅を設定 */
    margin-bottom: 40px;
    text-align: left; /* テキストは左揃えのまま */
}

.benefit-item:last-child {
    margin-bottom: 0;
}

.benefit-item h3 {
    font-size: 24px;
    color: #1a1a1a;
    margin-bottom: 15px;
    position: relative;
    padding-left: 20px;
	white-space: nowrap; /* 追加：折り返しを防止 */
}

.benefit-item h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background-color: #968242;
    border-radius: 50%;
}

.benefit-item p {
    font-size: 15px;
    line-height: 1.8;
    margin-left: 20px;
}

.benefit-item ul {
    list-style: none;
    padding-left: 20px;
}

.benefit-item ul li {
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 8px;
}

.benefit-item ul li:last-child {
    margin-bottom: 0;
}

/* デフォルト（PC表示）では改行を無効化 */
.office-info .address br {
    display: none;
}

/* 応募方法セクション */
.recruit-process {
    background-color: #fff;
    padding: 80px 0;
}

.recruit-process h2 {
    text-align: left;
    margin-left: calc((100% - 1200px) / 2);
    padding-left: 0;
    font-size: 38px;
}

.process-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.process-item {
    width: 100%;
    max-width: 600px;
    margin-bottom: 40px;
    text-align: left;
}
.process-item:first-child {
	display: none;
}
.process-item:last-child {
    margin-bottom: 0;
}

.process-item h3 {
    font-size: 24px;
    color: #1a1a1a;
    margin-bottom: 20px;
    position: relative;
    padding-left: 20px;
	white-space: nowrap; /* 追加：折り返しを防止 */
}

.process-item h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background-color: #968242;
    border-radius: 50%;
}

.process-item ul {
    list-style: none;
    padding-left: 20px;
}

.process-item ul li {
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 10px;
    position: relative;
}

/* 応募方法セクション - フローステップ */
.flow-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px; /* ステップ間の間隔を調整 */
    margin: 20px 0;
    flex-wrap: nowrap; /* 折り返しを防止 */
    white-space: nowrap; /* テキストの折り返しを防止 */
}

.flow-steps .step {
    background-color: #f8f9fa;
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 15px;
}

.flow-steps .arrow {
    margin: 0 10px; /* 矢印の余白を調整 */
    color: #666;
    font-size: 20px;
}

.flow-steps .note {
    width: 100%;
    text-align: center;
    font-size: 14px;
    color: #666;
    margin-top: 15px;
}

/* エントリーセクション */
.recruit-entry {
    background-color: #fff;
    padding: 80px 0;
}

.recruit-entry h2 {
    text-align: left;
    margin-left: calc((100% - 1200px) / 2);
    font-size: 45px;
    margin-bottom: 50px;
}


/* エントリーセクション - ステップ表示 */

.entry-text {
	max-width: 600px;
	margin: 0 auto;
	padding: 0 20px;
	font-size: 15px;
	line-height: 1.8;
}
.entry-text p {
	margin-bottom: 8px;
}

.entry-steps {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
    gap: 40px;
	max-width: 800px;
    margin: 0 auto 50px; /* 上下左右の余白 */
    padding: 0 20px;
	display:none
}

.entry-steps .step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    opacity: 0.5;
    transition: all 0.3s ease; /* アニメーション効果 */
}

.entry-steps .step.active {
    opacity: 1;
}

.step-number {
    color: #999; /* 非アクティブな番号の色 */
}
.step.active .step-number {
    color: #968242; /* アクティブな番号の色 */
}

.entry-steps .step-number {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}

.entry-steps .step-text {
    font-size: 14px;
    line-height: 1.4;
}

/* 確認画面のスタイル */
.confirmation-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.confirm-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.confirm-label {
    font-weight: bold;
    margin-bottom: 8px;
}

.confirm-value {
    padding: 8px;
    background-color: #f5f5f5;
    border-radius: 4px;
}

/* 確認画面のボタンスタイル */
.confirmation-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.confirmation-buttons button {
    padding: 15px 40px;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;  /* トランジション効果を追加 */
}

/* 「修正する」ボタン */
.confirmation-buttons button:first-child {
    background-color: #ccc;
    color: #fff;
}

.confirmation-buttons button:first-child:hover {
    background-color: #968242;  /* 立方体の黄色に変更 */
}

/* 「送信する」ボタン */
.confirmation-buttons button:last-child {
    background-color: #09163a;  /* 紺色 */
    color: #fff;
}

.confirmation-buttons button:last-child:hover {
    background-color: #968242;  /* 立方体の黄色に変更 */
}

/* 完了画面のスタイル */
.completion-message {
    text-align: center;
    padding: 40px 20px;
}

.completion-message h3 {
    color: #968242;
    margin-bottom: 20px;
}

/* エントリーボタン */
.entry-button {
    display: block;
    width: 100%;
    max-width: 300px;
    margin: 40px auto 0;
    padding: 15px;
    background-color: #09163a;
    color: #fff;
    text-align: center;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;

}

/* 無効状態のスタイル */
.entry-button:disabled {
    background-color: #cccccc; /* グレー */
    color: #ffffff; /* 白 */
    cursor: not-allowed;
}

/* 無効状態のホバー時のスタイル */
.entry-button:disabled:hover {
    background-color: #cccccc; /* グレーのまま */
}

.entry-button:hover {
    background-color: #968242;
}

/* フォーム */
.entry-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 20px;
	display: none;
}

.form-group {
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 1000px; /* フォームグループ全体の最大幅を設定 */
    margin-left: auto;
    margin-right: auto;
}

.form-group label {
	min-width: 200px; /* ラベルの最小幅を設定 */
    flex: 0 0 180px; /* 幅を固定 */
    font-weight: bold;
    text-align: left;
}

.form-group select,
.form-group select option {
    cursor: pointer;
}

.required {
    color: #968242; /* 赤色（#ff4444）からオレンジ色（#968242）に変更 */
    margin-left: 8px;
    font-size: 12px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    min-width: 500px;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    background-color: #f5f5f5;
    height: auto; /* heightをautoに設定 */
}

.form-group textarea {
    height: 200px;
    resize: none;
    min-height: 200px; /* 最小の高さも設定 */
}

.form-group.textarea-group {
    align-items: flex-start;
}

/* テキストエリアを含むフォームグループ */
.form-group:has(textarea) {
    align-items: flex-start; /* 上揃えに変更 */
}

/* プライバシーポリシー用の特別なスタイル */
.form-group.privacy-policy {
    display: flex;
    justify-content: center; /* 中央揃え */
    max-width: none;
    min-width: auto;
    margin: 30px auto; /* 上下のマージンを設定し、左右をautoで中央に */
}

.privacy-policy {
    text-align: center;
	display: block; /* Flexboxを解除 */
}

.privacy-policy label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    white-space: nowrap;
    min-width: auto; /* 最小幅の設定を解除 */
    flex: none; /* flex設定を解除 */
}

/* チェックボックスのサイズと余白を調整 */
.privacy-policy input[type="checkbox"] {
    margin: 0;
    width: auto;
    min-width: auto;
}

.privacy-policy .privacy-text .underline {
    text-decoration: underline;
    cursor: pointer;
}

.privacy-policy .privacy-text a.underline {
    text-decoration: underline;
    color: inherit; /* 親要素の色を継承 */
    transition: color 0.3s ease; /* 色の変化をスムーズに */
}

.privacy-policy .privacy-text a.underline:hover {
    color: #0066cc; /* ホバー時の青色 */
}

::placeholder {
    color: #999;
    font-size: 14px;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
	/* ヘッダーロゴの位置調整 */
    body > header .logo {
    margin-top: 6px !important; /* 上方向への移動を増加 */
    margin-left: 0 !important;  /* 左方向への移動を増加 */
    }
	
	body > header {
        padding: 15px 0 !important; /* 上下のパディングを40pxから15pxに減少 */
    }
	
	/* ハンバーガーメニューの表示設定 */
    .menu-toggle {
        display: block;
        position: fixed;
        right: 20px;
        top: 16px;
        width: 30px;
        height: 24px;
        cursor: pointer;
        z-index: 1001;
    }

    /* ハンバーガーメニューの線 */
    .menu-toggle span {
        display: block;
        position: absolute;
        width: 100%;
        height: 2px;
        background-color: #09163a;
        transition: all 0.4s ease;
    }

    .menu-toggle span:nth-child(1) { top: 0; }
    .menu-toggle span:nth-child(2) { top: 11px; }
    .menu-toggle span:nth-child(3) { bottom: 0; }

    /* メニューオープン時のハンバーガーボタン */
    .menu-toggle.active span {
        background-color: #ffffff;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: translateY(11px) rotate(-45deg);
    }
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-11px) rotate(45deg);
    }

    /* PCナビゲーションを非表示 */
    .header-nav ul {
        display: none;
    }

    /* モバイルナビゲーション */
    .mobile-nav {
        display: flex; /* blockからflexに変更 */
		justify-content: center;
        align-items: center;
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: #09163a;
        transition: all 0.5s cubic-bezier(0.8, 0, 0.2, 1);
        z-index: 1000;
    }
	
	.mobile-nav a {
		display: block;
		padding: 20px;
		color: #968242; /* 立方体と同じ金色 */
		font-size: 24px;
		text-decoration: none;
		transition: color 0.3s ease;
	}
	
	/* ホバー時の色も同じ金色を維持 */
	.mobile-nav a:hover {
		color: #968242;
	}

    .mobile-nav.active {
        right: 0;
    }
	
	.mobile-nav ul {
        list-style: none;
        padding: 0;
        margin: 0;
        text-align: center;
    }

    .mobile-nav li {
        margin: 20px 0;
    }
	
	.container {
        padding: 0 15px; /* 左右の余白を少し縮小 */
        width: 100%; /* コンテナの幅を画面の95%に設定 */
        max-width: none; /* max-widthの制限を解除 */
    }
	
    .recruit-hero {
        height: 300px;
        margin-top: 60px;
    }

    .recruit-hero-content {
        margin-left: 20px;
    }
    
    .recruit-hero-content h1 {
        font-size: 48px;
    }
    
    .recruit-hero-content p {
        font-size: 24px;
    }

    section {
        padding: 60px 0;
    }

    h2 {
        font-size: 28px;
    }

    .message-content {
        padding-left: 20px;
        padding-top: 30px; /* 上部のパディングを削除 */
        margin-top: -30px; /* 上に30px移動 */
		width: 100%; /* メッセージコンテンツも同様に95%に */
    }
    
    .message-content::before {
        display: none; /* 横線を非表示に */
    }
	
	/* PCの改行を無効化 */
    .message-content br {
        display: none;
    }

    /* モバイル用の改行を有効化 */
    .message-content .sp-break {
        display: block;
        margin-bottom: 0.5em; /* 改行後の余白 */
    }
    
    .message-content p {
        font-size: 14px;
    }

    .position-card {
        padding: 20px;
    }
	
	/* メッセージセクションの下部余白も調整 */
    .recruit-message {
        padding-bottom: 0; /* 必要に応じて調整 */
    }
	
	/* 募集ポジションセクションの調整 */
    .recruit-positions {
		margin-top: 60px; /* より大きな負の値で上に移動 */
        padding-top: 0; /* 上部パディングを削除 */
    }
	
	.recruit-positions h2 {
        margin-left: 20px; /* モバイル表示時の余白 */
		padding-top: -170px; /* 上部の余白を80pxから30pxに減らす */
		margin-bottom: 20px; /* 40pxから20pxに減らす */
		font-size: 30px;
		text-align: center; /* 中央揃えに変更 */
		padding-right: 40px;
    }
	
	/* 募集ポジションの見出しサイズ調整 */
    .position-header h3 {
        font-size: 20px; /* 24pxから18pxに変更 */
    }
	
	/* 募集ポジションの説明文スタイル調整 */
    .position-section {
        flex-direction: column; /* 縦方向に並べる */
        padding: 0; /* パディングを削除 */
        width: 100%; /* 幅を100%に */
    }

    .position-section h4 {
        width: 100%; /* 見出しの幅を100%に */
        margin-bottom: 10px; /* 下マージンを追加 */
        font-weight: bold; /* 見出しを太字に */
    }

    .position-section .section-content {
        padding-left: 0; /* 左パディングを削除 */
        width: 100%; /* 幅を100%に */
    }

    .position-section p,
    .position-section ul {
        width: 100%; /* テキストの幅を100%に */
        padding: 0; /* パディングを削除 */
    }

    .position-section ul li {
        padding-left: 15px; /* リストアイテムの左パディング */
        margin-bottom: 8px; /* リストアイテム間のマージン */
    }
	
	/* 募集要項セクションのモバイル対応 */
	.recruit-requirements {
		padding-top: 0;
		margin-top: 30px;
	}
	
	.category-buttons {
		grid-template-columns: 1fr;
		gap: 15px;
		padding: 0 20px;
		margin-bottom: 40px;
	}
	
	.category-btn {
		font-size: 13px;
		height: 45px;
		line-height: 45px;
		border-radius: 8px;
		box-shadow: 0 3px 12px rgba(150, 130, 66, 0.08);
		border: 1px solid rgba(150, 130, 66, 0.2);
	}
	
	.category-btn::after {
		font-size: 18px;
		right: 16px;
	}
	
	.position-buttons {
		grid-template-columns: 1fr;
		gap: 20px;
		padding: 0 20px;
		margin-bottom: 50px;
	}
	
	.position-btn {
		font-size: 15px;
		padding: 24px 28px;
		min-height: 90px;
		border-radius: 16px;
	}
	
	.recruit-requirements h2 {
		font-size: 30px;
		text-align: center;
		padding-right: 40px;
		white-space: nowrap;
		transform: translateX(-10px);
		margin-left: 20px;
	}
	
	.requirements-content {
		padding: 0 20px;
	}
	
	.requirement-row {
		flex-direction: column;
		min-height: auto;
		border-radius: 8px;
		box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
	}
	
	.requirement-label {
		min-width: auto;
		padding: 15px;
		margin-bottom: 0;
		font-size: 14px;
		border-right: none;
		border-bottom: 1px solid rgba(255, 255, 255, 0.2);
		text-align: center;
	}
	
	.requirement-value {
		font-size: 14px;
		line-height: 1.6;
		padding: 15px;
	}
	
	.wantedly-container {
		padding: 30px 20px;
		text-align: left;
	}
	
	.wantedly-title {
		font-size: 24px;
		margin-bottom: 30px;
		padding-left: 12px;
		border-left: 8px solid #968242;
	}
	
	.wantedly-container iframe {
		width: 100% !important;
		min-width: 240px !important;
		max-width: 100% !important;
	}

	.recruit-benefits {
		padding-top: 0; /* 上部のパディングを削除 */
		margin-top: 30px; /* 上に移動 */
	}
	
	.recruit-benefits h2 {
		font-size: 30px;
		text-align: center; /* 中央揃えに変更 */
        padding-right: 40px;
		white-space: nowrap; /* 追加：折り返しを防止 */
		transform: translateX(-10px); /* 追加：左に10px移動 */
    }

    .benefits-content {
        padding: 0 20px;
    }
    
    .benefit-item {
        margin-bottom: 30px;
    }
    
    .benefit-item h3 {
        font-size: 16px;
    }
    
    .benefit-item p,
    .benefit-item ul li {
        font-size: 14px;
    }
	
	.office-info .address br + span {
        display: inline-block;
        padding-left: 1em; /* インデントの量を調整できます */
    }
	
	/* 応募方法セクションの位置調整 */
    .recruit-process {
        padding-top: 0; /* 上部のパディングを削除 */
    }

    .recruit-process h2 {
        margin-left: 20px;
        font-size: 30px;
		text-align: center; /* 中央揃えに変更 */
        padding-right: 40px;
    }

    .process-content {
        padding: 0 20px;
    }
	
	.process-item h3 {
        font-size: 16px;
    }

    .step {
        margin-bottom: 10px;
    }

    .arrow {
        transform: rotate(90deg);
        margin: 10px 0;
    }
	
	.recruit-entry {
		padding-top: 0; /* 上部のパディングを削除 */
	}

    .recruit-entry h2 {
        margin-left: 20px;
        font-size: 33px;
		text-align: center; /* 中央揃えに変更 */
        padding-right: 40px;
    }

    /* フローステップのモバイルレイアウト調整 */
    .flow-steps {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;
        width: 100%;
        padding: 0 20px;
    }

    /* 各行のスタイル */
    .flow-row {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        margin-bottom: 10px;
    }

    .flow-steps .step {
        background-color: #f8f9fa;
        padding: 8px 15px;
        border-radius: 4px;
        font-size: 14px;
        white-space: nowrap;
        flex-shrink: 0;
        text-align: center;
    }

    .flow-steps .arrow {
        margin: 0 10px;
        font-size: 16px;
        flex-shrink: 0;
        color: #666;
        display: inline-block;
		transform: none; /* 回転をリセット（矢印を→に） */
    }

    /* 2行目の最初の矢印の位置調整 */
    .flow-row:nth-child(2) {
        padding-left: 20px; /* 2行目全体を少し右にずらす */
    }

    /* エントリーステップのモバイルレイアウト調整 */
    .entry-steps {
        flex-direction: row; /* 横並びに変更 */
        justify-content: center; /* 中央揃え */
        align-items: center;
        gap: 15px; /* ステップ間の間隔 */
        padding: 0 10px;
        flex-wrap: nowrap; /* 折り返しを防止 */
    }

    .entry-steps .step {
        flex: 1; /* 均等に幅を分配 */
        min-width: 0; /* 最小幅を0に設定 */
        display: flex;
        flex-direction: column; /* 数字とテキストを縦に配置 */
        align-items: center;
        gap: 5px;
    }

    .entry-steps .step-number {
        font-size: 18px; /* 数字のサイズを調整 */
        margin-bottom: 5px;
    }

    .entry-steps .step-text {
        font-size: 12px; /* テキストサイズを調整 */
        text-align: center;
        line-height: 1.2;
    }
	
	/* フォームのモバイルレイアウト調整 */
    .entry-form {
        width: 100%;
        padding: 0 15px;
    }

    .form-group {
        flex-direction: column; /* ラベルと入力欄を縦並びに */
        gap: 10px;
        margin-bottom: 20px;
        width: 100%;
    }

    .form-group label {
        width: 100%;
        min-width: unset; /* 最小幅の制限を解除 */
        flex: none;
        text-align: left;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        width: 100%;
        min-width: unset; /* 最小幅の制限を解除 */
        max-width: 100%;
    }

    /* テキストエリアの高さ調整 */
    .textarea-group textarea {
        height: 150px;
    }
}

@media (min-width: 769px) {
    /* PC表示では改行を無効化 */
    .address br {
        display: none;
    }
	
	.flow-steps {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 15px;
        margin: 20px 0;
    }

    .flow-row {
        display: contents; /* 重要：flow-rowを無視して子要素を直接配置 */
    }
}

@media (max-width: 768px) {
    /* モバイル表示では改行を有効化 */
    .address br {
        display: block;
    }
}

@media (max-width: 1200px) {
    .recruit-hero-content {
        margin-left: 40px; /* 画面幅が狭い場合は固定の余白に */
    }
	
	.recruit-positions h2 {
        margin-left: 40px; /* 画面幅が狭い場合は固定の余白に */
    }
	
	.recruit-requirements h2 {
        margin-left: 40px; /* 画面幅が狭い場合は固定の余白に */
    }

	.recruit-benefits h2 {
        margin-left: 40px; /* 画面幅が狭い場合は固定の余白に */
    }

    .recruit-process h2 {
        margin-left: 40px;
    }

    .recruit-entry h2 {
        margin-left: 40px;
    }

    .benefit-item h3 {
        white-space: normal; /* モバイル表示時は折り返しを許可 */
    }

    .process-item h3 {
        white-space: normal; /* モバイル表示時は折り返しを許可 */
    }
}
