/*------------------------------------------

root定義

---------------------------------------------*/
:root {
    /*----------------------------------------------------------------------------------
    カラー設定
----------------------------------------------------------------------------------*/
    --color-primary: #F99F2C;
    --color-primary-50: rgba(12, 8, 116, 0.5);
	--color-sub:antiquewhite;
	--color-blue: #3600cc;
    --color-white: #FFF;
    --color-secondary: #FEF2F2;
    --color-shironezu: #FEF2F2;
    --color-gray: #f7f7f7;
    --color-black: #333333;
    --color-text: #333333;
    --color-company: #4a90e2;
    --color-background: #F0F0F0;
    --color-background-secondary: #FFEDD7;
    --color-bg-light: #f8f9fa;
    --color-border: #e5e5e5;
    /*----------------------------------------------------------------------------------
    フォント設定、文字サイズ、文字の太さ
----------------------------------------------------------------------------------*/
    /* --font-family-accent: 'Montserrat', sans-serif; */
    --font-family-body: 'Noto Sans JP', sans-serif;

    --font-size-xxs: 1.2rem;
    --font-size-xs: 1.4rem;
    --font-size-default: 1.6rem;
    --font-size-md: 1.8rem;
    --font-size-ml: 2.6rem;
    --font-size-lg: 3.6rem;
    --font-size-xl: 4.2rem;
    --font-size-xxl: 4.8rem;
    --font-size-xxxl: 6rem;
    

    --font-weight-medium: 500;
    --font-weight-semi-bold: 600;
    --font-weight-bold: 700;

    /*----------------------------------------------------------------------------------
    テキストスタイル
----------------------------------------------------------------------------------*/
    --line-height-title: 1.2;
    --line-height-normal: normal;
    --line-height-default: 1.5;
    --line-height-relaxed: 1.8;
    --line-height-loose: 3.0;

    --letter-spacing-normal: normal;
    --letter-spacing-tight: 0.05em;
    --letter-spacing-default: 0.1em;
    --letter-spacing-relaxed: 0.2em;

    /*----------------------------------------------------------------------------------
    角丸スタイル
----------------------------------------------------------------------------------*/
    --border-radius-sm: 4px;
    --border-radius-m: 7px;
    --border-radius-lg: 16px;
    --border-radius-xl: 50px;
    --border-radius-full: 50%;
    /*----------------------------------------------------------------------------------
余白設定
----------------------------------------------------------------------------------*/
    --space-xs: 4px;
    --space-s: 8px;
    --space-sm: 12px;
    /* テキスト間の余白 */
    --space-m: 20px;
    /* 要素間の余白 */
    --space-ml: 26px;
    /* 要素間の余白 */
    --space-l: 30px;
    /* 要素の囲みの余白 */
    --space-xl: 60px;
    /* 大きな要素間 */
    --space-xxl: 120px;
    /* 大きなセクション間 */
    --space-xxxl: 200px;

    /*----------------------------------------------------------------------------------
ボックスシャドウ
----------------------------------------------------------------------------------*/
}

/*----------------------------------------------------------------------------------
メディアクエリ
----------------------------------------------------------------------------------*/
@media (max-width: 767px) {
    :root {
        --font-size-xxs: 1.2rem;
        --font-size-xs: 1.4rem;
        --font-size-default: 1.4rem;
        --font-size-md: 1.6rem;
        --font-size-ml: 2.0rem;
        --font-size-lg: 2.4rem;
        --font-size-xl: 3.0rem;
        --font-size-xxl: 3.6rem;
        --font-size-xxxl: 4.8rem;

        --space-xs: 4px;
        --space-s: 8px;
        --space-sm: 12px;
        /* テキスト間の余白 */
        --space-m: 20px;
        /* 要素間の余白 */
        --space-ml: 26px;
        /* 要素間の余白 */
        --space-l: 30px;
        /* 要素の囲みの余白 */
        --space-xl: 30px;
        /* 大きな要素間 */
        --space-xxl: 90px;
        /* 大きなセクション間 */
        --space-xxxl: 200px;
        }
}

* {
    font-family: var(--font-family-body);
    font-size: var(--font-size-default);
    line-height: var(--line-height-default);
    letter-spacing: var(--letter-spacing-default);
    font-size: var(--font-size-default);
}

html {
    font-size: 10px; /* 1.0rem = 10px */
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    touch-action: manipulation;
}

body {
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    touch-action: manipulation;
    position: relative;
    min-height: 100vh;
}

.sp-only{
    display: none!important;
}
/* モバイルでのスクロール改善 */
@media (max-width: 980px) {
    html, body {
        -webkit-overflow-scrolling: touch;
        touch-action: manipulation;
        overscroll-behavior: none;
    }
    
    main, .sub-page {
        -webkit-overflow-scrolling: touch;
        touch-action: manipulation;
    }
    .pc-only{
        display: none!important;
    }
    .sp-only{
        display: block;
    }
}

.scroll {
    scroll-margin-top: 120px;
}



p{
    font-size: var(--font-size-default);
    line-height: var(--line-height-default);
    letter-spacing: var(--letter-spacing-default);
}
span{
    font-size: var(--font-size-default);
    line-height: var(--line-height-default);
    letter-spacing: var(--letter-spacing-default);
}

.container {
    width:100%;
}
.wide_1440{
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
    padding: 0 var(--space-m);
}

.btn{
    display: inline-block;
    font-size: var(--font-size-md);
    padding: var(--space-sm) var(--space-l);
    background-color: var(--color-white);
    color: var(--color-primary);
    text-decoration: none;
    border: 1px solid var(--color-primary);
    border-radius: var(--border-radius-xl);
    font-weight: var(--font-weight-bold);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn.fill{
    background-color: var(--color-primary);
    color: var(--color-white);
    animation: pulse-glow 2s infinite;
}

/* パルス効果のキーフレーム */
@keyframes pulse-glow {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(249, 159, 44, 0.7);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(249, 159, 44, 0.3);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(249, 159, 44, 0);
    }
}

/* ホバー時の拡大効果 */
.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn.fill:hover {
    animation: none;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 20px rgba(249, 159, 44, 0.4);
}

h2.section-title{
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-title);
    padding-bottom: var(--space-m);
    margin-bottom: var(--space-xl);
    color: var(--color-black);
    position: relative;
    text-align: center;
}



h2.section-title::after {
    content: "";
    position: absolute;
    width: 27px;
    height: 3px;
    background: var(--color-primary);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}
@media (min-width: 1200px) {
    h2.section-title::after {
        width: 70px;
        height: 6px;
    }
}
.yellow-mark{
    background: #ff0;
}
.sub-page {
    padding: var(--space-xl) 0 var(--space-xxl) 0;
}
/*------------------------------------------
FAQ (Accordion)　TOPページとFAQページで共通
---------------------------------------------*/
.faq {
    width: 100%;
    background-color: var(--color-white);
    padding-top: var(--space-xxl);
    padding-bottom: var(--space-xxl);
    display: inline-block;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--color-white);
    border-radius: var(--border-radius);
    border: 1px solid var(--color-border);
    transition: box-shadow 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.faq-item summary {
    padding: var(--space-m) var(--space-l);
    cursor: pointer;
    font-size: var(--font-size-md);
    font-weight: var(--font-weight-bold);
    
    list-style: none;
    position: relative;
    transition: background-color 0.3s ease;
}

.faq-item summary:hover {
    background-color: var(--color-background);
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    position: absolute;
    right: var(--space-m);
    top: 50%;
    color: var(--color-primary);
    transform: translateY(-50%);
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-bold);
    transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
    content: '−';
    transform: translateY(-50%) rotate(180deg);
}

.faq-item[open] summary {
    border-bottom: 1px solid var(--color-border);
}

.faq-item .faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    padding: 0 var(--space-l);
}

.faq-item[open] .faq-content {
    max-height: none;
    padding: var(--space-l);
   
}

.faq-item .faq-content p {
    font-size: var(--font-size-default);
    color: var(--text-color-secondary);
    line-height: var(--line-height-default);
    margin: 0;
}

/* 求人カテゴリーのスタイル */
.job-categories {
    display: flex;
    flex-direction: column;
    gap: var(--space-l);
}

.job-category {
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    padding: var(--space-m);
    background-color: var(--color-background);
}

.job-category h4 {
    font-size: var(--font-size-md);
    font-weight: var(--font-weight-bold);
    color: var(--color-primary);
    margin: 0 0 var(--space-s) 0;
    padding-bottom: var(--space-xs);
    border-bottom: 2px solid var(--color-primary);
}

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

.job-list li {
    margin-bottom: var(--space-s);
    padding: var(--space-xs) 0;
    border-bottom: 1px solid var(--color-border-light);
}

.job-list li:last-child {
    margin-bottom: 0;
    border-bottom: none;
}

.job-list strong {
    font-weight: var(--font-weight-bold);
    color: var(--text-color);
    display: block;
    margin-bottom: var(--space-xs);
}

.job-description {
    font-size: var(--font-size-sm);
    color: var(--text-color-secondary);
    line-height: var(--line-height-default);
    display: block;
    margin-left: var(--space-xs);
}

/* モバイル対応 */
@media (max-width: 980px) {
    .job-categories {
        gap: var(--space-m);
    }
    
    .job-category {
        padding: var(--space-s);
    }
    
    .job-category h4 {
        font-size: var(--font-size-sm);
    }
    
    .job-list li {
        margin-bottom: var(--space-xs);
        padding: var(--space-xs) 0;
    }
    
    .job-description {
        font-size: var(--font-size-xs);
        margin-left: 0;
    }
}

/*------------------------------------------
スクロールフェードインアニメーション
---------------------------------------------*/
.fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-up.active {
    opacity: 1;
    transform: translateY(0);
}

/* より滑らかなアニメーションのための遅延設定 */
.fade-up:nth-child(1) { transition-delay: 0.05s; }
.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.15s; }
.fade-up:nth-child(4) { transition-delay: 0.2s; }