/* リセットとベース設定 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Shippori Mincho', serif;
    color: #333;
    line-height: 1.6;
    background: #fff;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ヘッダー */
.header-minimal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.header-minimal.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.nav-menu {
    display: flex;
    gap: 40px;
}

.nav-link {
    font-size: 16px;
    position: relative;
    transition: opacity 0.3s;
}

.nav-link:hover {
    opacity: 0.7;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #333;
    transition: width 0.3s;
}

.nav-link:hover::after {
    width: 100%;
}

/* ヒーローセクション */
.hero-section {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #ffffff;
}

/* 動画背景 */
.hero-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg-video video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
    opacity: 0.8; /* 動画をはっきり表示 */
}

/* 白いオーバーレイ */
.white-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.72);
    z-index: 1;
}

/* ドットオーバーレイ */
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='10' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='5' cy='5' r='3' fill='rgba(255,255,255,0.8)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    opacity: 0.2;
    z-index: 2;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ffffff;
    z-index: -1;
}

.hero-content {
    text-align: center;
    z-index: 10;
    position: relative;
    padding: 0 20px;
}

/* タイトル */
.hero-title {
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: 0.05em;
    margin-bottom: 30px;
    color: #333;
}

.title-line {
    display: block;
    overflow: hidden;
}

.line-mask {
    display: inline-block;
    opacity: 0;
    transform: translateY(30px);
    animation: lineReveal 1.5s ease forwards;
}

.line-1 .line-mask {
    animation-delay: 0.5s;
}

.line-2 .line-mask {
    animation-delay: 1.3s;
}

@keyframes lineReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* サブタイトル */
.subtitle-wrapper {
    margin-bottom: 40px;
}

.hero-subtitle {
    font-size: clamp(18px, 2vw, 24px);
    color: #666;
    letter-spacing: 0.05em;
}

.subtitle-mask {
    display: inline-block;
    opacity: 0;
    animation: fadeIn 1.5s ease forwards;
    animation-delay: 2.1s;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* CTAボタン */
.cta-wrapper {
    opacity: 0;
    animation: fadeIn 1.5s ease forwards;
    animation-delay: 2.9s;
}

.hero-cta {
    display: inline-block;
    padding: 18px 50px;
    background: #333;
    color: #fff;
    font-size: 16px;
    letter-spacing: 0.1em;
    transition: all 0.3s;
}

.hero-cta:hover {
    background: #555;
    transform: translateY(-2px);
}

.cta-text {
    font-weight: 400;
}

.cta-arrow {
    display: inline-block;
    margin-left: 8px;
    transition: transform 0.3s;
}

.hero-cta:hover .cta-arrow {
    transform: translateX(3px);
}


/* コンセプトセクション */
.concept-section {
    padding: 120px 0;
    background: #fff;
}

.concept-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

/* コンセプトカードのアニメーション */
.concept-card {
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
}

.concept-card:nth-child(1) {
    animation-delay: 0.2s;
}

.concept-card:nth-child(2) {
    animation-delay: 0.4s;
}

.concept-card:nth-child(3) {
    animation-delay: 0.6s;
}

.concept-card:nth-child(4) {
    animation-delay: 0.8s;
}

@media screen and (max-width: 1200px) {
    .concept-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .concept-grid {
        grid-template-columns: 1fr;
    }
}

.concept-card {
    text-align: center;
    padding: 40px 20px;
    position: relative;
    transition: all 0.3s;
}

.concept-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: #333;
    opacity: 0;
    transition: opacity 0.3s;
}

.concept-card:hover::after {
    opacity: 1;
}

.concept-number {
    font-size: 60px;
    font-weight: 100;
    color: #e0e0e0;
    margin-bottom: 20px;
    line-height: 1;
}

.concept-title {
    font-size: 22px;
    margin-bottom: 10px;
    font-weight: 500;
}

.concept-subtitle {
    font-size: 14px;
    color: #999;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
    font-style: italic;
}

.concept-description {
    font-size: 15px;
    line-height: 1.8;
    color: #666;
}

.concept-statement {
    text-align: center;
    padding: 40px;
    background: #fafafa;
    margin: 0 auto;
    max-width: 600px;
}

.concept-statement p {
    font-size: 20px;
    letter-spacing: 0.1em;
    font-weight: 300;
}

/* 創造的文化セクション */
.creative-culture-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #f8f8f8 0%, #f0f0f0 100%);
}

.creative-culture-section .section-title {
    opacity: 0;
    animation: scaleIn 1s ease forwards;
}

.creative-culture-section .section-subtitle {
    opacity: 0;
    animation: fadeIn 1s ease 0.3s forwards;
}

.culture-visual {
    margin: 60px 0;
}

.culture-process {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1000px;
    margin: 0 auto;
}

.process-step {
    flex: 1;
    text-align: center;
    padding: 30px 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    opacity: 0;
    animation: slideInBottom 1s ease forwards;
}

.process-step:nth-child(1) {
    animation-delay: 0.5s;
}

.process-step:nth-child(3) {
    animation-delay: 0.7s;
}

.process-step:nth-child(5) {
    animation-delay: 0.9s;
}

.process-step:nth-child(7) {
    animation-delay: 1.1s;
}

.process-step:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.process-arrow {
    opacity: 0;
    animation: fadeIn 0.5s ease forwards;
}

.process-arrow:nth-child(2) {
    animation-delay: 0.6s;
}

.process-arrow:nth-child(4) {
    animation-delay: 0.8s;
}

.process-arrow:nth-child(6) {
    animation-delay: 1s;
}

.step-number {
    font-size: 48px;
    font-weight: 100;
    color: #333;
    margin-bottom: 20px;
}

.step-title {
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 500;
}

.step-description {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
}

.process-arrow {
    font-size: 36px;
    color: #333;
    margin: 0 20px;
}


.culture-message {
    text-align: center;
    margin-top: 80px;
    padding: 60px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.culture-message p {
    font-size: 20px;
    line-height: 2;
    letter-spacing: 0.05em;
}

/* レスポンシブ対応 */
@media screen and (max-width: 1200px) {
    .culture-process {
        flex-direction: column;
        gap: 30px;
    }
    
    .process-arrow {
        transform: rotate(90deg);
        margin: 10px 0;
    }
    
}

@media screen and (max-width: 768px) {
    .creative-culture-section {
        padding: 80px 0;
    }
    
    .process-step {
        padding: 25px 15px;
    }
    
    .step-number {
        font-size: 36px;
    }
    
    .step-title {
        font-size: 18px;
    }
    
    .step-description {
        font-size: 13px;
    }
    
    .culture-message {
        padding: 40px 20px;
    }
    
    .culture-message p {
        font-size: 16px;
    }
}

/* 募集職種セクション */
.positions-section {
    padding: 120px 0;
    background: #fafafa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.section-title {
    font-size: clamp(32px, 4vw, 48px);
    text-align: center;
    margin-bottom: 80px;
    letter-spacing: 0.08em;
    font-weight: 400;
}

.positions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.position-card {
    background: #fafafa;
    padding: 40px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.position-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #333;
    transform: translateX(-100%);
    transition: transform 0.3s;
}

.position-card:hover::before {
    transform: translateX(0);
}

.position-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.position-header {
    display: block;
    margin-bottom: 20px;
}

.position-title {
    font-size: 24px;
    font-weight: 500;
    line-height: 1.3;
    margin-top: 25px;
}

.position-type {
    position: absolute;
    top: 25px;
    right: 20px;
    font-size: 11px;
    padding: 3px 10px;
    background: #333;
    color: #fff;
    border-radius: 15px;
}

.position-salary {
    font-size: 18px;
    color: #333;
    margin-bottom: 20px;
    font-weight: 500;
}

.position-description {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 30px;
    flex-grow: 1;
}

.position-btn {
    width: 100%;
    padding: 15px;
    background: transparent;
    border: 2px solid #333;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
    margin-top: auto;
}

.position-btn:hover {
    background: #333;
    color: #fff;
}

/* モーダル */
.job-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    background: #fff;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalIn 0.3s ease;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    font-size: 30px;
    cursor: pointer;
    z-index: 1;
    transition: transform 0.3s;
}

.modal-close:hover {
    transform: rotate(90deg);
}

.job-detail {
    display: none;
    padding: 60px;
}

.detail-title {
    font-size: 36px;
    margin-bottom: 40px;
    letter-spacing: 0.05em;
}

.detail-section {
    margin-bottom: 50px;
}

.detail-section h4 {
    font-size: 24px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.timeline {
    padding-left: 20px;
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 50%;
    width: 10px;
    height: 10px;
    background: #333;
    border-radius: 50%;
    transform: translateY(-50%);
}

.timeline-item .time {
    font-weight: 600;
    margin-right: 20px;
    min-width: 60px;
}

.timeline-item .task {
    color: #666;
}

.detail-list dt {
    font-weight: 600;
    margin-bottom: 10px;
    margin-top: 20px;
    font-size: 18px;
}

.detail-list dd {
    margin-left: 0;
    margin-bottom: 20px;
    color: #666;
    line-height: 1.8;
}

.detail-section h5 {
    font-size: 20px;
    margin: 30px 0 15px;
}

.detail-section ul {
    list-style: none;
    padding-left: 0;
}

.detail-section ul li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.detail-section ul li::before {
    content: '・';
    position: absolute;
    left: 0;
}

.apply-button {
    display: inline-block;
    padding: 18px 60px;
    background: #333;
    color: #fff;
    font-size: 18px;
    letter-spacing: 0.1em;
    transition: all 0.3s;
    margin-top: 40px;
}

.apply-button:hover {
    background: #555;
    transform: translateY(-2px);
}

.apply-button.disabled,
.apply-button:disabled {
    background: #ccc;
    color: #666;
    cursor: not-allowed;
    opacity: 0.7;
}

.apply-button.disabled:hover,
.apply-button:disabled:hover {
    background: #ccc;
    transform: none;
}

/* 当店で学べることセクション */
.about-section {
    padding: 120px 0;
    background: #fafafa;
}

.section-subtitle {
    text-align: center;
    font-size: 20px;
    color: #666;
    margin-bottom: 60px;
}

.learn-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

@media screen and (max-width: 1200px) {
    .learn-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .learn-grid {
        grid-template-columns: 1fr;
    }
}

.learn-card {
    background: #fff;
    padding: 35px 25px;
    text-align: center;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.learn-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #333;
    transform: translateX(-100%);
    transition: transform 0.3s;
}

.learn-card:hover::before {
    transform: translateX(0);
}

.learn-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.learn-icon {
    margin-bottom: 30px;
}

.learn-title {
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 500;
}

.learn-excerpt {
    color: #666;
    line-height: 1.7;
    margin-bottom: 25px;
    font-size: 15px;
}

.learn-more {
    background: transparent;
    border: 2px solid #333;
    padding: 12px 30px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
}

.learn-more:hover {
    background: #333;
    color: #fff;
}

/* 学べることモーダル */
.learn-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.learn-modal-content {
    background: #fff;
    max-width: 700px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    padding: 60px;
    position: relative;
    animation: modalIn 0.3s ease;
}

.learn-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    font-size: 30px;
    cursor: pointer;
    transition: transform 0.3s;
}

.learn-modal-close:hover {
    transform: rotate(90deg);
}

.learn-detail {
    display: none;
}

.learn-detail h3 {
    font-size: 28px;
    margin-bottom: 30px;
}

.learn-detail p {
    margin-bottom: 20px;
    line-height: 2;
    color: #666;
}

/* チームセクション */
.team-section {
    padding: 120px 0;
    background: #fff;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 80px;
}

@media screen and (max-width: 1200px) {
    .value-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .value-grid {
        grid-template-columns: 1fr;
    }
}

.value-card {
    padding: 35px 25px;
    background: #fafafa;
    transition: all 0.3s;
}

.value-card:hover {
    background: #f0f0f0;
    transform: translateX(10px);
}

.value-number {
    font-size: 40px;
    font-weight: 700;
    color: #ddd;
    margin-bottom: 15px;
}

.value-title {
    font-size: 18px;
    margin-bottom: 15px;
    font-weight: 500;
    line-height: 1.4;
}

.value-description {
    color: #666;
    line-height: 1.7;
    font-size: 15px;
}

.team-philosophy {
    background: #333;
    padding: 60px;
    color: #fff;
    margin-top: 60px;
}

.philosophy-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.philosophy-title {
    font-size: 28px;
    margin-bottom: 30px;
}

.team-philosophy p {
    line-height: 2;
    margin-bottom: 20px;
    opacity: 0.9;
}

.culture-highlight {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    margin: 30px 0;
    border-radius: 8px;
}

.culture-highlight h4 {
    font-size: 22px;
    margin-bottom: 20px;
    color: #fff;
}

.culture-highlight p {
    margin-bottom: 15px;
}

.culture-highlight p:last-child {
    margin-bottom: 0;
}

.philosophy-highlight {
    font-size: 20px;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
}

/* イノベーションセクション */
.innovation-section {
    padding: 120px 0;
    background: #fafafa;
}

.innovation-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 25px;
    margin-bottom: 60px;
}

@media screen and (max-width: 1600px) {
    .innovation-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media screen and (max-width: 1024px) {
    .innovation-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .innovation-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media screen and (max-width: 480px) {
    .innovation-grid {
        grid-template-columns: 1fr;
    }
}

.innovation-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.innovation-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.innovation-image {
    width: 100%;
    height: 0;
    padding-bottom: 100%; /* 1:1のアスペクト比 */
    position: relative;
    overflow: hidden;
    background: #f0f0f0;
}

.innovation-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.innovation-title {
    font-size: 18px;
    margin: 20px 10px 10px;
    font-weight: 500;
    text-align: center;
}

.innovation-description {
    font-size: 14px;
    line-height: 1.7;
    color: #666;
    padding: 0 20px 20px;
    flex: 1;  /* 残りのスペースを埋める */
}

/* 詳しく見るボタン */
.innovation-detail-btn {
    display: block;
    width: calc(100% - 40px);
    margin: 0 20px 20px;
    padding: 10px 20px;
    background: #333;
    margin-top: auto;  /* ボタンを下部に押し付ける */
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.innovation-detail-btn:hover {
    background: #555;
    transform: translateY(-1px);
}

/* モーダル基本スタイル */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.8);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 40px;
    border-radius: 8px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-close {
    position: absolute;
    right: 20px;
    top: 20px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

.modal-close:hover,
.modal-close:focus {
    color: #000;
}

/* イノベーション詳細モーダル */
.innovation-modal {
    max-width: 1000px;
    width: 90%;
}

.innovation-detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.innovation-detail-media {
    width: 100%;
    height: 0;
    padding-bottom: 75%; /* デフォルトは画像用 4:3のアスペクト比 */
    position: relative;
    overflow: hidden;
    background: #f0f0f0;
    border-radius: 8px;
}

.innovation-detail-media img,
.innovation-detail-media video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain; /* 画像・動画全体が見えるように */
    background: #000; /* 動画の背景を黒に */
}

.innovation-detail-text h3 {
    font-size: 28px;
    margin-bottom: 20px;
    font-weight: 500;
}

.innovation-detail-text p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
}

@media screen and (max-width: 768px) {
    .innovation-detail-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .innovation-detail-text h3 {
        font-size: 24px;
    }
}

.innovation-message {
    text-align: center;
    padding: 60px;
    background: #333;
    color: #fff;
    border-radius: 8px;
}

.innovation-message p {
    font-size: 18px;
    line-height: 2;
    letter-spacing: 0.05em;
}

/* CTAセクション */
.cta-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    text-align: center;
}

.cta-title {
    font-size: clamp(36px, 4vw, 48px);
    margin-bottom: 20px;
    letter-spacing: 0.05em;
}

.cta-subtitle {
    font-size: 20px;
    color: #666;
    margin-bottom: 40px;
}

.cta-button {
    display: inline-block;
    padding: 18px 60px;
    background: #333;
    color: #fff;
    font-size: 18px;
    letter-spacing: 0.1em;
    transition: all 0.3s;
}

.cta-button:hover {
    background: #555;
    transform: translateY(-2px);
}

/* フッター */
.footer-minimal {
    padding: 60px 0 30px;
    background: #222;
    color: #fff;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-info h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.footer-info p {
    margin-bottom: 10px;
    opacity: 0.8;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-links a:hover {
    opacity: 1;
}

.copyright {
    text-align: center;
    opacity: 0.6;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* アニメーション */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes rotateIn {
    from {
        opacity: 0;
        transform: rotate(-10deg) scale(0.9);
    }
    to {
        opacity: 1;
        transform: rotate(0) scale(1);
    }
}

@keyframes slideInBottom {
    from {
        opacity: 0;
        transform: translateY(100px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0);
    }
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* スクロールアニメーション用クラス */
.scroll-fade-in {
    opacity: 0;
    transition: opacity 1s ease, transform 1s ease;
}

.scroll-fade-in.visible {
    opacity: 1;
}

.scroll-fade-up {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease, transform 1s ease;
}

.scroll-fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-fade-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 1s ease, transform 1s ease;
}

.scroll-fade-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.scroll-fade-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 1s ease, transform 1s ease;
}

.scroll-fade-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scroll-scale {
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 1s ease, transform 1s ease;
}

.scroll-scale.visible {
    opacity: 1;
    transform: scale(1);
}

/* モバイルメニューボタン */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 30px;
    position: relative;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background: #333;
    position: absolute;
    left: 0;
    transition: all 0.3s;
}

.mobile-menu-btn span:nth-child(1) {
    top: 0;
}

.mobile-menu-btn span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.mobile-menu-btn span:nth-child(3) {
    bottom: 0;
}

.mobile-menu-btn.active span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}

/* モバイルメニュー */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.98);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-nav {
    text-align: center;
}

.mobile-nav-link {
    display: block;
    padding: 20px;
    font-size: 20px;
    letter-spacing: 0.1em;
    transition: all 0.3s;
}

.mobile-nav-link:hover {
    opacity: 0.6;
}

/* 追加のアニメーション効果 */
.position-card {
    opacity: 0;
    animation: scaleIn 0.8s ease forwards;
}

.position-card:nth-child(1) { animation-delay: 0.1s; }
.position-card:nth-child(2) { animation-delay: 0.2s; }
.position-card:nth-child(3) { animation-delay: 0.3s; }
.position-card:nth-child(4) { animation-delay: 0.4s; }

.learn-grid .learn-card {
    opacity: 0;
    animation: rotateIn 1s ease forwards;
}

.learn-card:nth-child(1) { animation-delay: 0.1s; }
.learn-card:nth-child(2) { animation-delay: 0.2s; }
.learn-card:nth-child(3) { animation-delay: 0.3s; }
.learn-card:nth-child(4) { animation-delay: 0.4s; }

.values-grid .value-card {
    opacity: 0;
    animation: slideInBottom 0.8s ease forwards;
}

.value-card:nth-child(1) { animation-delay: 0.1s; }
.value-card:nth-child(2) { animation-delay: 0.2s; }
.value-card:nth-child(3) { animation-delay: 0.3s; }
.value-card:nth-child(4) { animation-delay: 0.4s; }

.innovation-grid .innovation-card {
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
}

.innovation-card:nth-child(1) { animation-delay: 0.1s; }
.innovation-card:nth-child(2) { animation-delay: 0.2s; }
.innovation-card:nth-child(3) { animation-delay: 0.3s; }
.innovation-card:nth-child(4) { animation-delay: 0.4s; }

/* セクションタイトルアニメーション */
.section-title {
    opacity: 1;
    animation: none;
}

.section-subtitle {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.2s;
}


/* CTAボタンアニメーション */
.cta-buttons {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.4s;
}

/* フッターアニメーション */
.footer-minimal {
    opacity: 0;
    animation: fadeIn 1s ease forwards;
    animation-delay: 0.5s;
}

/* CTAセクションアニメーション */
.cta-section {
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

.cta-title {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.2s;
}

.cta-subtitle {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.4s;
}

.cta-button {
    opacity: 0;
    animation: scaleIn 0.8s ease forwards;
    animation-delay: 0.6s;
}

/* 数字カウントアップアニメーション */
@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.concept-number {
    animation: countUp 1s ease forwards;
}

/* ホバーエフェクトの強化 */
.position-card:hover,
.learn-card:hover,
.value-card:hover,
.innovation-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* リンクホバーアニメーション */
.nav-link,
.mobile-nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #333;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* ローディングアニメーション風エフェクト */
@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.loading-shimmer {
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255,255,255,0.4) 50%, 
        transparent 100%);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
}

/* 文字アニメーション用の調整 */
.section-title span {
    will-change: opacity, transform;
}

.section-subtitle {
    opacity: 1 !important;
    animation: none !important;
}

/* カードタイトルの文字アニメーション */
.concept-card h3 span,
.position-card h3 span,
.learn-card h3 span,
.value-card h3 span,
.innovation-card h3 span {
    will-change: opacity, transform;
}

/* スクロール時の背景色変化 */
.section-title.animated {
    position: relative;
}

.section-title.animated::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 100px;
    height: 3px;
    background: #333;
    transition: transform 0.5s ease 0.5s;
}

.section-title.animated::after {
    transform: translateX(-50%) scaleX(1);
}

/* perspective効果の追加 */
.process-step {
    perspective: 1000px;
}

.step-title span {
    transform-origin: center bottom;
}

/* 数字アニメーション用スタイル */
.concept-number,
.step-number {
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.05em;
}

/* レスポンシブ */
@media screen and (max-width: 768px) {
    .header-inner {
        padding: 15px 20px;
    }
    
    .current-section {
        font-size: 12px;
        padding: 8px 20px;
        top: 60px;
    }
    
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .container {
        padding: 0 20px;
    }
    
    /* ヒーローセクション */
    .hero-content {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 24px;
    }
    
    .line-mask {
        white-space: nowrap;
    }
    
    .hero-subtitle {
        font-size: 16px;
        margin-bottom: 30px;
    }
    
    .hero-cta {
        padding: 15px 40px;
        font-size: 15px;
    }
    
    /* セクションタイトル */
    .section-title {
        font-size: 28px;
        margin-bottom: 50px;
    }
    
    .section-subtitle {
        font-size: 16px;
        margin-bottom: 40px;
    }
    
    /* 各セクションのパディング */
    .concept-section,
    .positions-section,
    .about-section,
    .team-section,
    .innovation-section,
    .cta-section {
        padding: 80px 0;
    }
    
    /* コンセプトカード */
    .concept-card {
        padding: 30px 15px;
    }
    
    .concept-number {
        font-size: 40px;
    }
    
    .concept-title {
        font-size: 20px;
    }
    
    .concept-description {
        font-size: 14px;
    }
    
    /* 募集職種カード */
    .positions-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .position-card {
        padding: 30px;
    }
    
    /* モーダル */
    .modal-content {
        padding: 40px 20px;
        margin: 10px;
        max-height: 95vh;
    }
    
    .job-detail {
        padding: 0;
    }
    
    .detail-title {
        font-size: 28px;
    }
    
    /* 学べることカード */
    .learn-card {
        padding: 30px 20px;
    }
    
    .learn-title {
        font-size: 18px;
    }
    
    .learn-excerpt {
        font-size: 14px;
    }
    
    /* チームカード */
    .value-card {
        padding: 30px 20px;
    }
    
    .value-number {
        font-size: 32px;
    }
    
    .value-title {
        font-size: 18px;
    }
    
    .value-description {
        font-size: 14px;
    }
    
    .team-philosophy {
        padding: 40px 20px;
    }
    
    .philosophy-title {
        font-size: 24px;
    }
    
    .culture-highlight {
        padding: 20px;
    }
    
    .culture-highlight h4 {
        font-size: 18px;
    }
    
    /* イノベーションカード */
    .innovation-card {
        display: flex;
        flex-direction: column;
        height: 100%;
    }
    
    .innovation-title {
        font-size: 18px;
    }
    
    .innovation-description {
        font-size: 14px;
    }
    
    .innovation-message {
        padding: 40px 20px;
    }
    
    .innovation-message p {
        font-size: 16px;
    }
    
    /* CTA */
    .cta-title {
        font-size: 28px;
    }
    
    .cta-subtitle {
        font-size: 16px;
    }
    
    .cta-button {
        padding: 15px 40px;
        font-size: 16px;
    }
    
    /* フッター */
    .footer-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
}