/* 各セクションの余白 */
.career-plan.section,
.recruitment-details.section,
.faq.section,
.entry-section.section,
.banner.section {
    padding: 0 8% 5% 8%;
}

.banner.section h2 {
    font-size: 2rem;
    text-align: center;
    width: fit-content;
    margin: 0 auto;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--main-color);
}

.banner.section .banner img {
    height: auto;
}

.banner.section .recruitment-area-wording {
    margin: 50px 0;
    text-align: center;
    line-height: 1.6;
}

.accordion-wrapper {
    margin: 0 auto;
}

/* セクションタイトル */
.company-section-title {
    position: relative;
    display: grid;
    gap: 10px;
    text-align: center;
    background: var(--text-white-color);
    color: var(--text-color);
    border: 1px solid rgba(0, 0, 0, 0.25);
    box-shadow: .4375rem .4375rem rgba(0, 0, 0, 0.15);
    padding: 2%;
    margin: 3rem 0;
    line-height: 2rem;
}

.company-section-title .ja {
    font-size: 2rem;
    font-weight: 700;
}

.company-section-title .en {
    font-weight: 400;
    font-size: 1.2rem;
    /* background-image: var(--title-back-border-bottom);
    padding: var(--title-padding);
    width: fit-content;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
    display: inline; */
}

.company-section-title .introduction {
    position: absolute;
    top: -20px;
    right: 0;
    height: 160px;
    width: 160px;
    display: none;
}

details {

    /* --------アコーディオンの中身のスタイル-------- */
    &::details-content {
        transition: height 0.4s, opacity 0.4s, content-visibility 0.4s allow-discrete;
        height: 0;
        opacity: 0;
        overflow: clip;
        background-color: #f0f2ff;
    }

    /* --------アコーディオンの中身のスタイル（開いている時）-------- */
    &[open]::details-content {
        opacity: 1;
    }

    /* アコーディオンが開いた時のスタイル */
    &[open] .icon {
        transform: rotate(180deg);
    }
}

@supports (interpolate-size: allow-keywords) {
    :root {
        interpolate-size: allow-keywords;
        /* height:0（数値型） → auto（文字型） のアニメーションを可能にするための指定 */
    }

    details[open]::details-content {
        height: auto;
    }
}

@supports not (interpolate-size: allow-keywords) {
    details[open]::details-content {
        height: 150px;
        overflow-y: scroll;
        /* 溢れる場合はスクロール可能にする */
    }
}

summary {
    display: grid;
    grid-template-columns: 1fr 24px;
    gap: 6px;
    align-items: center;
    padding: 16px 24px;
    background: var(--text-white-color);
    border: 1px solid var(--main-3-color);
    font-weight: bold;
    color: #002255;
    cursor: pointer;
    line-height: 1.6;

    /* Safariで表示されるデフォルトの三角形アイコンを消します */
    &::-webkit-details-marker {
        display: none;
    }
}

/* --------アイコンを作ります-------- */
.icon {
    display: block;
    position: relative;
    width: 24px;
    margin-left: 6px;
    flex-shrink: 0;
    transform-origin: center 43%;
    transition: transform 0.4s;

    /* アイコンのバーのスタイル */
    &::before,
    &::after {
        content: "";
        position: absolute;
        display: block;
        width: 15px;
        height: 3px;
        background-color: var(--main-color);
    }

    &::before {
        left: 0;
        transform: rotate(45deg);
    }

    &::after {
        right: 0;
        transform: rotate(-45deg);
    }
}

/* --------アコーディオンの中身のスタイル-------- */
.content {
    background-color: var(--main-5-color);
    padding: 16px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    line-height: 1.8;
}

/* FAQが設定されていない場合のメッセージスタイル */
.no-faq-message {
    background-color: var(--main-5-color);
    padding: 32px 24px;
    text-align: center;
    border: 1px solid var(--main-3-color);
    border-radius: 8px;
    margin-top: 2rem;
}

.no-faq-message p {
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

/* テーブルデータがない場合のメッセージスタイル */
.no-recruitment-data {
    text-align: center;
    padding: 3rem 2rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    border: 2px dashed #ddd;
    margin: 2rem 0;
}

.no-recruitment-data p {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}

/* スムーズスクロールの設定 */
html {
    scroll-behavior: smooth;
}

/* ページ内アンカーリンクのオフセット調整 */
/* ヘッダーが固定されている場合の調整 */
#recruitment-details,
#entry-section {
    background: var(--main-5-color);
    scroll-margin-top: 2rem;
}

/* ページ内ナビゲーションボタンのスタイル */
.page-navigation {
    padding: 2rem 8%;
    margin-bottom: 3rem;
}

.nav-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
    flex-wrap: wrap;
}

/* ページ内ジャンプボタンの基本スタイル */
.nav-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    min-width: 180px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    color: var(--text-white-color);
    background: linear-gradient(135deg, var(--main-color) 0%, var(--main-2-color) 100%);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* ボタンのホバーエフェクト用疑似要素 */
.nav-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.nav-button:hover::before {
    left: 100%;
}

/* キャリアプランボタンのスタイル */
.career-button {
    background: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 100%);
    color: var(--text-white-color);
    border: 2px solid #6c5ce7;
}

.career-button:hover {
    background: linear-gradient(135deg, #a29bfe 0%, #6c5ce7 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(108, 92, 231, 0.3);
}

/* ジョブローテーションボタンのスタイル */
.rotation-button {
    background: linear-gradient(135deg, #00cec9 0%, #55efc4 100%);
    color: var(--text-white-color);
    border: 2px solid #00cec9;
}

.rotation-button:hover {
    background: linear-gradient(135deg, #55efc4 0%, #00cec9 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 206, 201, 0.3);
}

/* 募集要項ボタンのスタイル */
.recruitment-button {
    background: linear-gradient(135deg, var(--main-color) 0%, var(--main-2-color) 100%);
    color: var(--text-white-color);
    border: 2px solid var(--main-color);
}

.recruitment-button:hover {
    background: linear-gradient(135deg, var(--main-2-color) 0%, var(--main-color) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 34, 85, 0.3);
}

/* エントリーボタンのスタイル */
.entry-button {
    background: linear-gradient(135deg, var(--accent-color) 0%, #e67e22 100%);
    color: var(--text-white-color);
    border: 2px solid var(--accent-color);
}

.entry-button:hover {
    background: linear-gradient(135deg, #e67e22 0%, var(--accent-color) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 126, 34, 0.3);
}

/* ボタンテキストのスタイル */
.button-text {
    flex: 1;
    text-align: center;
}

/* ボタンアイコンのスタイル */
.button-icon {
    margin-left: 0.5rem;
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.nav-button:hover .button-icon {
    transform: translateY(3px);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .page-navigation {
        padding: 1.5rem 5%;
    }

    .nav-buttons {
        gap: 1rem;
    }

    .nav-button {
        font-size: 0.9rem;
        padding: 0.875rem 1.25rem;
        min-width: 140px;
    }
}

@media (max-width: 480px) {
    .page-navigation {
        padding: 1rem 3%;
    }

    .nav-button {
        font-size: 0.95rem;
        padding: 0.75rem 1.25rem;
    }
}

/* エントリーCTAボタンのスタイル */
.entry-actions {
    margin-top: 2rem;
    text-align: center;
}

.entry-cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--accent-color) 0%, #e67e22 100%);
    color: var(--text-white-color);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(230, 126, 34, 0.2);
    position: relative;
    overflow: hidden;
}

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

.entry-cta-button:hover::before {
    left: 100%;
}

.entry-cta-button:hover {
    background: linear-gradient(135deg, #e67e22 0%, var(--accent-color) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 126, 34, 0.4);
}

/* ===== 各種制度（4ボタン＋モーダル） ===== */
.systems-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    padding: 1rem 0;
}

.system-card {
    background: var(--main-gradient);
    border: 1px solid var(--main-color);
    color: var(--text-white-color);
    box-shadow: var(--shadow);
    padding: 1rem;
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: .75rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.system-card:hover {
    transform: scale(1.05);
}

.system-card:focus {
    outline: 3px solid var(--main-3-color);
    outline-offset: 2px;
}

.system-title {
    font-size: 1.1rem;
    text-align: center;
}

/* .system-open-btn はボタン廃止に伴い削除 */

/* モーダル */
.modal[aria-hidden="true"] {
    display: none;
}

.modal.is-open {
    display: block;
}

/* 会社情報のポップアップと整合するモーダル表現 */
.modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(5px);
    /* Safari対応 */
    animation: fadeIn 0.3s ease-in-out;
}

.modal-dialog {
    background: #fff;
    padding: 2rem;
    overflow: hidden;
    overflow-y: auto;
    max-width: 850px;
    max-height: 430px;
    width: 90%;
    margin: 5% auto;
    position: relative;
    border: 2px solid #000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    animation: scaleIn 0.3s ease-in-out;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: .75rem;
}

.modal-title {
    color: var(--main-color);
    font-weight: 600;
    font-size: 2rem;
    line-height: 140%;
    text-align: center;
    border-bottom: 1px solid #eee;
    margin-bottom: 2rem;
}

.modal-close {
    cursor: pointer;
    position: absolute;
    top: 15px;
    right: 15px;
    width: 35px;
    height: 35px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: var(--main-gradient);
    box-shadow: var(--shadow);
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

.modal-close:hover {
    transform: scale(1.2);
}

.modal-close svg {
    width: 100%;
    height: 100%;
}

.modal-body {
    line-height: 1.8;
}

@media (max-width: 768px) {
    .modal-dialog {
        width: 70%;
        margin: 25% auto;
    }

    /* モバイルでは閉じるボタンを画面右下寄りに固定配置 */
    .modal-close {
        position: fixed;
        bottom: 5%;
        top: auto;
        right: 42%;
        width: 50px;
        height: 50px;
        z-index: 1001;
    }

    .modal-title {
        font-size: 1.3rem;
        margin-bottom: 1.2rem;
    }
}

/* フェード/スケールのアニメーション（会社情報のpopup用に合わせる） */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* ボタンのアクティブ状態 */
.nav-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.entry-cta-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(230, 126, 34, 0.3);
}

/* ボタンにフォーカスが当たった時のスタイル（アクセシビリティ対応） */
.nav-button:focus,
.entry-cta-button:focus {
    outline: 3px solid var(--main-3-color);
    outline-offset: 2px;
}

/* ボタンのロード時アニメーション */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nav-button {
    animation: fadeInUp 0.6s ease-out;
}

.nav-button:nth-child(1) {
    animation-delay: 0.1s;
}

.nav-button:nth-child(2) {
    animation-delay: 0.2s;
}

/* キャリアプラン・ジョブローテーションセクションのスタイル */

/* 共通セクションスタイル */
.career-section,
.job-rotation-section {
    display: none;
    padding: 0 8% 5% 8%;
    background: linear-gradient(135deg, #f8faff 0%, var(--text-white-color) 100%);
    position: relative;
    overflow: hidden;
}

.career-section::before,
.job-rotation-section::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(0, 34, 85, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* キャリアセクション個別スタイル */
.career-content,
.job-rotation-content {
    max-width: 1200px;
    margin: 0 auto;
}

/* 説明文スタイル */
.career-description,
.job-rotation-description {
    margin-bottom: 3rem;
    text-align: center;
}

.career-description p,
.job-rotation-description p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
    margin: 0 auto;
    max-width: 800px;
}

/* サブセクションタイトル */
.subsection-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--main-color);
    margin: 3rem 0 2rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--main-3-color);
    position: relative;
}

.subsection-title::before {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--main-color);
}

/* 等級と育成体系スタイル */

.grade-system-image,
.training-schedule-image,
.job-rotation-image {
    height: 300px;
    overflow: hidden;
}

/* プレースホルダースタイル */
.grade-system-placeholder,
.training-schedule-placeholder,
.job-rotation-placeholder {
    margin: 2rem 0;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, #f0f2ff 0%, #e8ecf0 100%);
    border: 2px dashed var(--main-3-color);
    border-radius: 12px;
    text-align: center;
}

.grade-system-placeholder p,
.training-schedule-placeholder p,
.job-rotation-placeholder p {
    color: #666;
    font-style: italic;
    margin: 0;
    font-size: 1rem;
}

/* 研修制度スタイル */

.training-description p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-color);
    text-align: left;
    max-width: none;
}

/* ジョブローテーションセクション */
.job-rotation-section {
    background: linear-gradient(135deg, var(--text-white-color) 0%, #f8faff 100%);
}

/* キャリア事例スタイル */

.career-examples-default,
.career-examples-list {
    display: grid;
    gap: 2rem;
}

.career-example-item {
    background: var(--title-background);
    padding: 2rem;
    box-shadow: .4375rem .4375rem rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.career-example-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.career-example-item:hover::before {
    width: 8px;
}

.career-example-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--main-color);
    margin: 0 0 1rem 0;
    position: relative;
}

.career-path {
    font-size: 0.95rem;
    line-height: 1.7;
    padding: 6%;
    background: var(--text-white-color);
    color: var(--text-color);
}

.career-path p {
    margin: 0;
}

/* レスポンシブ対応 */
@media (min-width: 1024px) {

    .career-examples-default,
    .career-examples-list {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 1023px) {

    .career-examples-default,
    .career-examples-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {

    .career-section,
    .job-rotation-section {
        padding: 3rem 5% 4% 5%;
    }

    .career-description p,
    .job-rotation-description p {
        font-size: 1rem;
    }

    .subsection-title {
        font-size: 1.3rem;
        margin: 2.5rem 0 1.5rem 0;
    }

    .grade-system-image,
    .training-schedule-image,
    .job-rotation-image {
        padding: 1.5rem;
        margin: 1.5rem 0;
    }

    .career-example-item {
        padding: 1.5rem;
    }

    .career-example-title {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {

    .career-section,
    .job-rotation-section {
        padding: 2rem 3% 3% 3%;
    }

    .grade-system-image,
    .training-schedule-image,
    .job-rotation-image {
        padding: 1rem;
        margin: 1rem 0;
    }

    .grade-system-placeholder,
    .training-schedule-placeholder,
    .job-rotation-placeholder {
        padding: 2rem 1rem;
    }

    .career-example-item {
        padding: 1.25rem;
    }

    .subsection-title {
        font-size: 1.2rem;
    }
}

/* アニメーション */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.career-section,
.job-rotation-section {
    animation: fadeInUp 0.8s ease-out;
}

/* アクセシビリティ向上 */
@media (prefers-reduced-motion: reduce) {

    .grade-system-image,
    .training-schedule-image,
    .job-rotation-image,
    .career-example-item {
        transition: none;
    }

    .career-section,
    .job-rotation-section {
        animation: none;
    }

    .grade-system-image:hover,
    .training-schedule-image:hover,
    .job-rotation-image:hover,
    .career-example-item:hover {
        transform: none;
    }
}

/* 募集要項テーブルのスタイル */
.recruitment-details {
    padding: 4rem 8% 5% 8%;
}

.recruitment-table-container {
    margin: 2rem 0;
    background: var(--text-white-color);
    overflow: hidden;
    position: relative;
}

/* 基本テーブルスタイル */
.recruitment-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--text-white-color);
}

.recruitment-table tr {
    border-bottom: 1px solid var(--text-color);
    transition: background-color 0.3s ease;
}

.recruitment-table tr:last-child {
    border-bottom: none;
}

.recruitment-table tr:hover {
    background-color: rgba(0, 34, 85, 0.03);
}

/* ラベル列（左列）のスタイル */
.recruitment-label {
    font-weight: 700;
    font-size: 1rem;
    padding: 1.5rem 1.25rem;
    text-align: left;
    vertical-align: top;
    width: 180px;
    min-width: 180px;
    position: relative;
}

/* 値列（右列）のスタイル */
.recruitment-value {
    padding: 1.5rem 1.25rem;
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.7;
    vertical-align: top;
}

.recruitment-value p {
    margin: 0 0 0.5rem 0;
}

.recruitment-value p:last-child {
    margin-bottom: 0;
}

/* デスクトップでのスタイル調整 */
@media (min-width: 769px) {
    .recruitment-table-container {
        border: 1px solid #e8ecf0;
    }

    .recruitment-label {
        width: 200px;
        min-width: 200px;
        font-size: 1.05rem;
    }

    .recruitment-value {
        font-size: 0.8rem;
    }
}

/* タブレット対応 */
@media (max-width: 768px) and (min-width: 481px) {
    .recruitment-details {
        padding: 3rem 5% 4% 5%;
    }

    .recruitment-label {
        width: 160px;
        min-width: 160px;
        padding: 1.25rem 1rem;
        font-size: 0.95rem;
    }

    .recruitment-value {
        padding: 1.25rem 1rem;
        font-size: 0.9rem;
    }
}

/* スマートフォン対応：左列固定のスクロールテーブル */
@media (max-width: 480px) {
    .recruitment-details {
        padding: 2rem 3% 3% 3%;
    }

    .recruitment-table-container {
        position: relative;
        overflow-x: auto;
        border-radius: 8px;
        margin: 1.5rem 0;
    }

    /* スクロール可能なテーブル用のラッパー */
    .recruitment-table-container::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 20px;
        height: 100%;
        background: linear-gradient(to left, rgba(255, 255, 255, 0.8), transparent);
        pointer-events: none;
        z-index: 2;
    }

    /* .recruitment-table { min-width: 600px } の提案はコメント化 */

    /* 左列固定のスタイル */
    .recruitment-label {
        position: sticky;
        left: 0;
        z-index: 1;
        width: 140px;
        min-width: 140px;
        padding: 1rem 0.75rem;
        font-size: 0.85rem;
        background: linear-gradient(135deg, var(--main-5-color) 0%, #f0f2ff 100%);
        box-shadow: 2px 0 4px rgba(0, 0, 0, 0.1);
        border-right: 2px solid var(--main-3-color);
    }

    .recruitment-value {
        padding: 1rem 0.75rem;
        font-size: 0.85rem;
        line-height: 1.6;
        /* 右列の最小幅 */
    }

    /* スクロールヒントの追加 */
    .recruitment-table-container::after {
        content: '← スクロールして詳細を確認';
        position: absolute;
        bottom: -25px;
        right: 0;
        font-size: 0.75rem;
        color: #666;
        font-style: italic;
    }
}

/* 極小画面対応 */
@media (max-width: 360px) {
    .recruitment-label {
        width: 120px !important;
        padding: 0.875rem 0.5rem !important;
        font-size: 0.8rem !important;
    }

    .recruitment-value {
        padding: 0.875rem 0.5rem !important;
        font-size: 0.8rem !important;
    }

    /* .recruitment-table: 追加定義なし */
}

/* アクセシビリティ向上 */
@media (prefers-reduced-motion: reduce) {
    .recruitment-table tr {
        transition: none;
    }
}

/* 印刷時のスタイル */
@media print {
    .recruitment-table-container {
        box-shadow: none;
        border: 1px solid #ccc;
    }

    .recruitment-label {
        background: #f5f5f5 !important;
        color: #000 !important;
    }

    .recruitment-value {
        color: #000 !important;
    }

    .recruitment-table-container::after {
        display: none;
    }
}

/* エントリーCTAボタンのスタイル（既存のエントリーセクション用） */
.entry-actions {
    margin-top: 2rem;
    text-align: center;
}

.entry-cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--accent-color) 0%, #e67e22 100%);
    color: var(--text-white-color);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(230, 126, 34, 0.2);
    position: relative;
    overflow: hidden;
}

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

.entry-cta-button:hover::before {
    left: 100%;
}

.entry-cta-button:hover {
    background: linear-gradient(135deg, #e67e22 0%, var(--accent-color) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 126, 34, 0.4);
}

/* ボタンのアクティブ状態 */
.nav-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.entry-cta-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(230, 126, 34, 0.3);
}

/* ボタンにフォーカスが当たった時のスタイル（アクセシビリティ対応） */
.nav-button:focus,
.entry-cta-button:focus {
    outline: 3px solid var(--main-3-color);
    outline-offset: 2px;
}

/* ボタンのロード時アニメーション */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nav-button {
    animation: fadeInUp 0.6s ease-out;
}

.nav-button:nth-child(1) {
    animation-delay: 0.1s;
}

.nav-button:nth-child(2) {
    animation-delay: 0.2s;
}