:root {
    /* カラーパレット */
    --primary: #F0A07B; /* 温かみのあるオレンジ */
    --primary-hover: #E58D66;
    --secondary: #8BC3A3; /* 淡いグリーン */
    --secondary-hover: #75B08F;
    --accent: #F9D074; /* アクセントのイエロー */
    
    --bg-color: #FEFCFB; /* ごく薄いアイボリー */
    --bg-light: #F4F8F6; /* セクション背景 */
    
    --text-main: #4A4A4A;
    --text-light: #7A7A7A;
    
    --white: #FFFFFF;
    --border: #EAEAEA;
    
    /* シャドウ */
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
    --shadow-md: 0 8px 24px rgba(0,0,0,0.08);
    --shadow-lg: 0 16px 32px rgba(0,0,0,0.1);
    
    /* フォント */
    --font-heading: 'Zen Maru Gothic', sans-serif;
    --font-body: 'Zen Maru Gothic', sans-serif;
    
    /* トランジション */
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-color);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* レイアウトユーティリティ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 100px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.text-center {
    text-align: center;
}

/* タイトル */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.4;
    color: var(--text-main);
}

.section-title {
    font-size: 32px;
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}

.title-line {
    width: 60px;
    height: 4px;
    background-color: var(--secondary);
    margin: 0 auto 48px;
    border-radius: 2px;
}

/* ボタン */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
}

.btn-secondary {
    background-color: var(--secondary);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: var(--secondary-hover);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--secondary);
    color: var(--secondary);
}

.btn-outline:hover {
    background-color: var(--secondary);
    color: var(--white);
}

.btn-large {
    padding: 16px 40px;
    font-size: 18px;
}

/* ヘッダー */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(254, 252, 251, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid var(--border);
}

.header.scrolled {
    box-shadow: var(--shadow-sm);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-img {
    height: 48px;
    width: auto;
    display: block;
}

.nav-menu {
    display: flex;
}

.nav-list {
    display: flex;
    gap: 32px;
}

.nav-list a {
    font-weight: 500;
    color: var(--text-main);
    position: relative;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary);
    transition: var(--transition);
}

.nav-list a:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    gap: 16px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}

.mobile-menu-btn span {
    width: 30px;
    height: 3px;
    background-color: var(--text-main);
    border-radius: 3px;
    transition: var(--transition);
}

/* ヒーローセクション */
.hero {
    min-height: 100vh;
    padding: 140px 24px 80px;
    display: flex;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.hero-content {
    flex: 1;
    z-index: 2;
}

.hero-subtitle {
    display: inline-block;
    padding: 6px 16px;
    background-color: rgba(139, 195, 163, 0.15);
    color: var(--secondary);
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 48px;
    line-height: 1.3;
    margin-bottom: 24px;
    color: var(--text-main);
}

.hero-description {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-description:last-child {
    margin-bottom: 0;
}

.hero-buttons {
    display: flex;
    gap: 16px;
}

.hero-image-container {
    flex: 1;
    position: relative;
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image {
    max-width: 100%;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    z-index: 10;
    position: relative;
    animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

/* お知らせ */
.news {
    padding: 24px 0;
    background-color: var(--white);
    border-bottom: 1px solid var(--border);
    border-top: 1px solid var(--border);
}

.news-wrapper {
    display: flex;
    align-items: center;
    gap: 24px;
}

.news-label {
    font-weight: 700;
    color: var(--secondary);
    min-width: 80px;
}

.news-list {
    flex: 1;
}

.news-list li {
    display: flex;
    align-items: center;
    gap: 16px;
}

.news-date {
    color: var(--text-light);
    font-size: 14px;
}

.news-category {
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 4px;
    color: var(--white);
}

.tag-recruit { background-color: var(--primary); }

.news-link {
    font-weight: 500;
}

.news-link:hover {
    color: var(--secondary);
}

/* About / 特徴 */
.about-content {
    max-width: 800px;
    margin: 0 auto 60px;
    text-align: center;
    font-size: 18px;
    line-height: 1.8;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-card {
    background: var(--white);
    padding: 40px 32px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 24px;
}

.feature-card h3 {
    margin-bottom: 16px;
    font-size: 20px;
}

.feature-card p {
    color: var(--text-light);
}

/* サービス内容 */
.service-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.card-image {
    height: 200px;
}

.bg-pastel-green { background-color: #E2F0E8; }
.bg-pastel-orange { background-color: #FCEBE3; }
.bg-pastel-blue { background-color: #E6F0FA; }
.bg-pastel-pink {
    background: linear-gradient(135deg, #FCEBE3, #F9D9D0);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-jifee-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--primary);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
    letter-spacing: 0.05em;
}

.card-jifee-link {
    display: inline-block;
    margin-top: 16px;
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
    border-bottom: 1px solid var(--primary);
    padding-bottom: 2px;
    transition: var(--transition);
}

.card-jifee-link:hover {
    color: var(--primary-hover);
    border-color: var(--primary-hover);
}

.card-body {
    padding: 32px;
}

.card-body h3 {
    margin-bottom: 16px;
    font-size: 20px;
}

.card-body p {
    color: var(--text-light);
}

/* 採用情報プレビュー */
.recruit-wrapper {
    display: flex;
    background: linear-gradient(135deg, var(--white) 0%, var(--bg-light) 100%);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.recruit-content {
    flex: 1;
    padding: 64px;
}

.recruit-content h2 {
    font-size: 32px;
    margin-bottom: 24px;
    color: var(--primary);
}

.recruit-content p {
    margin-bottom: 32px;
    font-size: 16px;
    line-height: 1.8;
}

.recruit-points {
    margin-bottom: 40px;
}

.recruit-points li {
    margin-bottom: 16px;
    font-weight: 500;
    font-size: 18px;
}

.recruit-image {
    flex: 1;
    background-color: #F0E6DD; /* 仮の背景色 */
    min-height: 100%;
}

/* フローティングボタン */
.fab-container {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 99;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.fab {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.fab:hover {
    transform: scale(1.1);
}

.fab-contact {
    background-color: var(--primary);
}

/* フッター */
.footer {
    background-color: #333;
    color: #fff;
    padding: 80px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 64px;
}

.footer-logo {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 24px;
    font-family: var(--font-heading);
}

.footer-info p {
    color: #aaa;
    margin-bottom: 16px;
}

.footer-links h4 {
    color: #fff;
    margin-bottom: 24px;
    font-size: 18px;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #aaa;
}

.footer-links a:hover {
    color: var(--secondary);
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid #444;
    color: #888;
    font-size: 14px;
}

/* レスポンシブ */
@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        padding-top: 120px;
        text-align: center;
    }
    
    .hero-title { font-size: 36px; }
    
    .hero-content {
        margin-bottom: 40px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .features-grid, .service-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-cards {
        gap: 20px;
    }
    
    .recruit-wrapper {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .nav-menu, .header-actions {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    /* モバイルメニュー展開時 */
    .header.active {
        background-color: var(--white);
        box-shadow: var(--shadow-md);
    }
    
    .header.active .header-container {
        flex-wrap: wrap;
    }
    
    .header.active .logo {
        order: 1;
    }
    
    .header.active .mobile-menu-btn {
        order: 2;
    }
    
    .header.active .nav-menu {
        display: flex;
        order: 3;
        width: 100%;
        margin-top: 24px;
        padding-top: 24px;
        border-top: 1px solid var(--border);
        justify-content: center;
    }
    
    .header.active .nav-list {
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 20px;
    }
    
    .header.active .header-actions {
        display: flex;
        order: 4;
        width: 100%;
        flex-direction: column;
        margin-top: 24px;
        padding-bottom: 16px;
        gap: 12px;
    }
    
    .header.active .header-actions .btn {
        width: 100%;
    }
    
    /* ハンバーガーアイコンの×化 */
    .header.active .mobile-menu-btn span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .header.active .mobile-menu-btn span:nth-child(2) {
        opacity: 0;
    }
    .header.active .mobile-menu-btn span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    .news-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .news-list li {
        flex-wrap: wrap;
    }
    
    .features-grid, .service-cards, .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .recruit-content {
        padding: 32px;
    }
}

/* 採用情報ページ固有のスタイル */
.page-header {
    padding: 160px 0 60px; /* 下部の余白を80pxから60pxに縮小 */
    background: linear-gradient(135deg, var(--bg-light) 0%, #fff 100%);
    text-align: center;
}

/* ページヘッダー直後のセクションのパディング調整 */
.page-header + section {
    padding-top: 40px; /* 100pxから40pxに縮小して隙間を詰める */
}

.page-title {
    font-size: 40px;
    margin-bottom: 16px;
    color: var(--primary);
}

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.benefit-item {
    background: var(--white);
    padding: 32px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    text-align: left;
}

.benefit-item h4 {
    color: var(--secondary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.recruit-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 32px;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.recruit-table th, .recruit-table td {
    padding: 24px;
    border-bottom: 1px solid var(--border);
    text-align: left;
}

.recruit-table th {
    background-color: var(--bg-light);
    width: 200px;
    font-weight: 700;
    color: var(--text-main);
}

.recruit-table tr:last-child th, .recruit-table tr:last-child td {
    border-bottom: none;
}

.cta-section {
    background-color: var(--secondary);
    color: var(--white);
    text-align: center;
    padding: 80px 24px;
    border-radius: 24px;
    margin: 80px auto;
    max-width: 1000px;
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: 24px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.btn-white {
    background-color: var(--white);
    color: var(--secondary);
}

.btn-line {
    background-color: #06C755;
    color: var(--white);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-line:hover {
    background-color: #05b34c;
}

@media (max-width: 768px) {
    .benefit-grid {
        grid-template-columns: 1fr;
    }
    
    .recruit-table th {
        display: block;
        width: 100%;
        padding-bottom: 8px;
    }
    
    .recruit-table td {
        display: block;
        width: 100%;
        padding-top: 8px;
    }
}

/* 理念セクションのスタイル */
.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.philosophy-card {
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    overflow: hidden;
    height: 100%;
}

.philosophy-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.philosophy-card-inner {
    padding: 40px 32px;
    position: relative;
}

.phi-num {
    font-size: 64px;
    font-weight: 900;
    color: var(--secondary);
    opacity: 0.1;
    position: absolute;
    top: 10px;
    right: 20px;
    line-height: 1;
}

.philosophy-card h3 {
    font-size: 20px;
    color: var(--secondary);
    margin-bottom: 20px;
    position: relative;
}

.philosophy-card h3 span {
    font-size: 16px;
    margin-right: 8px;
}

.philosophy-details p {
    font-size: 15px;
    margin-bottom: 8px;
    line-height: 1.5;
}

.philosophy-details strong {
    color: var(--secondary);
    display: inline-block;
    width: 80px;
}

@media (max-width: 992px) {
    .philosophy-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* 自費サービスセクション */
.jifee {
    background-color: var(--bg-color);
}

.jifee-badge {
    display: inline-block;
    padding: 6px 20px;
    background: linear-gradient(135deg, var(--primary), #E58D66);
    color: var(--white);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
}

.jifee-lead {
    max-width: 680px;
    margin: 0 auto 56px;
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.9;
}

/* サービスカテゴリ */
.jifee-categories {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 64px;
}

.jifee-cat-card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border-top: 4px solid var(--primary);
    transition: var(--transition);
}

.jifee-cat-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.jifee-cat-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.jifee-cat-card h3 {
    font-size: 15px;
    color: var(--text-main);
    line-height: 1.6;
}

/* 料金表 */
.jifee-price-wrapper {
    background: var(--white);
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    max-width: 800px;
    margin: 0 auto 40px;
}

.jifee-price-header {
    background: linear-gradient(135deg, var(--primary), #E58D66);
    color: var(--white);
    padding: 28px 40px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.jifee-price-label {
    font-size: 22px;
    font-weight: 700;
    font-family: var(--font-heading);
}

.jifee-price-header p {
    font-size: 15px;
    opacity: 0.9;
}

.jifee-price-grid {
    padding: 8px 0;
}

.jifee-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 28px 40px;
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.jifee-price-row:last-child {
    border-bottom: none;
}

.jifee-price-row:hover {
    background-color: var(--bg-light);
}

.jifee-price-time {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.jifee-time-main {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-main);
}

.jifee-time-day {
    font-size: 13px;
    color: var(--text-light);
}

.jifee-price-amount {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.jifee-yen {
    font-size: 18px;
    color: var(--primary);
    font-weight: 600;
}

.jifee-num {
    font-size: 40px;
    font-weight: 700;
    color: var(--primary);
    font-family: var(--font-heading);
    line-height: 1;
}

.jifee-unit {
    font-size: 16px;
    color: var(--text-light);
}

.jifee-price-note {
    background-color: #FFF8F5;
    border-top: 1px solid var(--border);
    padding: 20px 40px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: var(--text-main);
}

.jifee-note-icon {
    font-size: 18px;
}

.jifee-price-note strong {
    color: var(--primary);
}

.jifee-contact-note {
    text-align: center;
    color: var(--text-light);
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.jifee-contact-link {
    color: var(--secondary);
    font-weight: 600;
    border-bottom: 1px solid var(--secondary);
    padding-bottom: 2px;
    transition: var(--transition);
}

.jifee-contact-link:hover {
    color: var(--secondary-hover);
    border-color: var(--secondary-hover);
}

@media (max-width: 992px) {
    .jifee-categories {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .jifee-categories {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .jifee-cat-card {
        padding: 28px 16px;
    }

    .jifee-price-row {
        padding: 20px 24px;
    }

    .jifee-price-header {
        padding: 20px 24px;
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .jifee-num {
        font-size: 32px;
    }

    .jifee-price-note {
        padding: 16px 24px;
    }
}
