@charset "UTF-8";

/* =========================================
   1. BASE SETTINGS
   ========================================= */
:root {
    --bg-color: #FFFFFF;
    --text-color: #111;
    --gray-light: #F5F5F7;
    --accent-red: #CE1126;
    --accent-blue: #003399;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
    margin: 0; font-family: 'Noto Sans JP', sans-serif;
    color: var(--text-color); background-color: var(--bg-color);
    line-height: 1.8; letter-spacing: 0.05em; -webkit-font-smoothing: antialiased;
    overflow-x: hidden; width: 100%;
    overflow-wrap: break-word; /* ?????? */
    word-wrap: break-word;
}

h1, h2, h3, h4, h5 {
    margin: 0; font-family: 'Montserrat', sans-serif;
    font-weight: 900; letter-spacing: -0.02em; line-height: 1.1; color: #000;
}

a { text-decoration: none; color: inherit; transition: opacity 0.3s; }
a:hover { opacity: 0.7; }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1000px; margin: 0 auto; padding: 0 24px; }

/* Navigation */
nav {
    display: flex; justify-content: space-between; align-items: center;
    padding: 20px 40px; position: absolute; width: 100%; top: 0; z-index: 100;
    box-sizing: border-box; background: linear-gradient(to bottom, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 100%);
}
.logo a {
    font-family: 'Oswald', sans-serif; font-size: 2rem;
    letter-spacing: 0.1em; color: #fff; text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}
.nav-links { list-style: none; display: flex; gap: 30px; margin: 0; }
.nav-links a {
    font-family: 'Montserrat', sans-serif; font-size: 1rem;
    font-weight: 700; color: #fff; text-transform: uppercase;
    letter-spacing: 0.1em; text-shadow: 0 2px 10px rgba(0,0,0,0.8);
    opacity: 0.8;
}
.nav-links a:hover, .nav-links a.active { opacity: 1; border-bottom: 2px solid var(--accent-red); }


/* =========================================
   2. INDEX PAGE STYLES
   ========================================= */
.hero {
    height: 90vh; min-height: 500px;
    background-image: url('images/hero-bg.jpg');
    background-size: cover; background-position: center;
    display: flex; align-items: center; justify-content: center;
    text-align: center; position: relative; background-attachment: fixed;
}
.hero::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.1); }
.hero-content { position: relative; z-index: 2; color: #fff; width: 90%; }

.hero-en {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(4rem, 11vw, 9rem); 
    font-weight: 700; margin-bottom: 10px; line-height: 1;
    white-space: nowrap; color: #fff;
    -webkit-text-stroke: 2px #000; text-shadow: 4px 4px 0 #000; 
}
.hero-jp {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 900; margin-bottom: 50px; line-height: 1.2;
    text-shadow: 0 5px 20px rgba(0,0,0,0.5);
}
.text-red { color: var(--accent-red); }

/* Buttons */
.btn-neon {
    display: inline-block; padding: 20px 60px; color: #fff; 
    font-weight: 700; letter-spacing: 0.1em; font-size: 1.5rem;
    border: 3px solid #fff; background: rgba(0, 0, 0, 0.3);
    box-shadow: 0 0 10px #fff, 0 0 20px var(--accent-red), 0 0 40px var(--accent-red);
    text-shadow: 0 0 5px #fff, 0 0 10px var(--accent-red);
    transition: all 0.3s; border-radius: 4px;
}
.btn-neon:hover { 
    background: var(--accent-red); color: #fff;
    box-shadow: 0 0 20px #fff, 0 0 40px var(--accent-red), 0 0 60px var(--accent-red);
}

.btn-neon-dark {
    display: inline-block; padding: 20px 80px; color: #fff; 
    font-weight: 700; letter-spacing: 0.1em; font-size: 1.3rem;
    border: 3px solid var(--accent-red); background: #000; 
    box-shadow: 0 0 15px rgba(206, 17, 38, 0.8), 0 0 30px rgba(206, 17, 38, 0.4); 
    transition: all 0.3s; border-radius: 4px;
}
.btn-neon-dark:hover { 
    background: var(--accent-red); 
    box-shadow: 0 0 30px var(--accent-red), 0 0 60px var(--accent-red);
    transform: translateY(-3px);
}

.home-contact { background: #111; color: #fff; text-align: center; padding: 80px 20px; }
.home-contact h2 { margin-bottom: 20px; font-family: 'Oswald', sans-serif; }
.home-contact p { font-size: 1.1rem; font-weight: 700; margin-bottom: 30px; opacity: 0.8; }
.btn-contact {
    background-color: var(--accent-red); color: #fff;
    padding: 15px 50px; border-radius: 50px; font-size: 1.1rem;
    font-weight: 700; letter-spacing: 0.05em; transition: all 0.3s; display: inline-block;
}
.btn-contact:hover { background-color: #cc0010; transform: translateY(-3px); }


/* =========================================
   3. SHARED COMPONENTS (Works Grid)
   ========================================= */
.works-wrapper { background: #fff; padding: 100px 0; }
.section-title { font-size: 3.5rem; color: #000; margin-bottom: 60px; font-family: 'Oswald', sans-serif; }
.jp-title-sub { display: block; font-size: 1rem; color: #666; margin-top: 5px; font-weight: 700; font-family: 'Noto Sans JP', sans-serif; letter-spacing: 0.1em; }

.works-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.work-card {
    position: relative; overflow: hidden; border-radius: 8px; 
    box-shadow: 0 10px 20px rgba(0,0,0,0.1); transition: transform 0.3s;
}
.work-card:hover { transform: translateY(-5px); }
.work-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 0.5s; }
.work-card:hover img { transform: scale(1.1); }

/* Photo Adjustments */
.pos-tokyo-out { object-position: center !important; transform: scale(1.05); } 
.pos-jets-face { object-position: 50% 0% !important; transform: scale(1.2); }
.pos-easl-crop { object-position: center 25% !important; transform: scale(1.1); transform-origin: center top; }
.pos-samurai-fix { object-position: center !important; }
.pos-top { object-position: top; }
.pos-center { object-position: center; }

.work-info {
    position: absolute; bottom: 0; left: 0; width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    padding: 20px; box-sizing: border-box; color: #fff;
}
.work-info h4 { font-size: 1.5rem; font-family: 'Oswald', sans-serif; margin-bottom: 5px; color: #fff; }
.work-info p { font-size: 0.9rem; font-weight: 700; color: #ccc; margin: 0; }


/* =========================================
   4. CAREER PAGE STYLES
   ========================================= */
.career-body { background-color: #f9f9f9; }
.page-header {
    height: 40vh; min-height: 350px; background-size: cover; background-position: center 75%;
    display: flex; align-items: flex-end; position: relative;
}
.page-header::after {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.5));
}
.header-content { position: relative; z-index: 2; color: #fff; width: 100%; max-width: 1000px; margin: 0 auto; padding: 0 24px 60px; }
.header-content h1 { font-family: 'Oswald', sans-serif; font-size: 4rem; line-height: 1; }
.header-content p { font-size: 1.2rem; opacity: 0.9; font-weight: 700; }

.profile-detail-wrapper { background: #fff; padding: 80px 0; }
.profile-detail { display: flex; align-items: center; gap: 60px; padding: 0 24px; }
.profile-text { flex: 3; }
.profile-image { flex: 2; max-width: 400px; }
.profile-image img { width: 100%; border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,0.15); }
.philosophy h2 { font-size: 2.5rem; margin-bottom: 30px; color: var(--accent-blue); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jp-text { font-size: 1.1rem; line-height: 2.2; color: #333; font-weight: 500; }
.specs-box-simple { margin-top: 30px; border-top: 1px solid #eee; padding-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.spec-row-simple { display: flex; align-items: baseline; border-bottom: 1px solid #f9f9f9; padding-bottom: 5px; }
.spec-row-simple .label { width: 100px; font-size: 0.85rem; color: #999; font-weight: 700; flex-shrink: 0; }
.spec-row-simple .value { font-size: 1rem; font-weight: 700; color: #333; }

.visual-break {
    height: 400px; background-size: cover; background-position: center;
    background-attachment: fixed; display: flex; align-items: center; justify-content: center;
    position: relative; text-align: center;
}
.visual-break::after { content: ''; position: absolute; top:0; left:0; width:100%; height:100%; background: rgba(0,0,0,0.3); }
.visual-content { position: relative; z-index: 2; background: rgba(0,0,0,0.6); padding: 30px 60px; border: 1px solid rgba(255,255,255,0.3); }
.visual-content h2 { font-size: 3rem; font-family: 'Oswald', sans-serif; color: #fff !important; margin-bottom: 5px; text-shadow: none; }
.visual-content p { font-size: 1rem; font-weight: 700; color: #fff !important; margin: 0; letter-spacing: 0.2em; }

/* PC Layout: 3 Columns */
.career-layout { display: flex; justify-content: center; align-items: flex-start; padding-bottom: 100px; max-width: 1600px; margin: 0 auto; position: relative; }
.side-gallery { width: 25%; padding: 20px; display: flex; flex-direction: column; gap: 30px; padding-top: 100px; }
.side-gallery img { 
    width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; 
    border-radius: 4px; box-shadow: 0 5px 20px rgba(0,0,0,0.1); 
    transition: transform 0.3s; filter: grayscale(40%); 
}
.side-gallery img:hover { transform: scale(1.05); filter: grayscale(0%); z-index: 10; }
.left img:nth-child(even) { margin-left: auto; width: 90%; }
.right img:nth-child(odd) { margin-right: auto; width: 90%; }

.timeline-center { width: 50%; max-width: 700px; background: #fff; padding: 60px 40px; box-shadow: 0 0 50px rgba(0,0,0,0.05); position: relative; z-index: 5; margin-top: -50px; border-radius: 8px 8px 0 0; }
.timeline-block { display: grid; grid-template-columns: 100px 1fr; gap: 30px; margin-bottom: 60px; border-left: 2px solid #eee; padding-left: 30px; }
.timeline-year { font-family: 'Oswald', sans-serif; font-size: 2.2rem; color: var(--accent-blue); line-height: 1; text-align: right; }
.timeline-list { display: flex; flex-direction: column; gap: 15px; }
.job { padding-bottom: 10px; border-bottom: 1px solid #f9f9f9; }
.job-desc { font-size: 1.05rem; font-weight: 500; color: #333; }


/* =========================================
   5. CONTACT PAGE STYLES
   ========================================= */
.contact-body { background: #fff; }
.contact-hero { padding: 100px 20px 50px; text-align: center; background: #fff; }
.contact-title { font-size: 3.5rem; font-family: 'Oswald', sans-serif; margin-bottom: 20px; }
.contact-lead { font-size: 1rem; font-weight: 700; color: #666; margin-bottom: 60px; line-height: 2; }
.contact-container { max-width: 800px; margin: 0 auto 100px; padding: 0 20px; }

.guideline-message { text-align: center; margin-bottom: 40px; font-weight: 700; color: #333; }
.guideline-box { background: #f9f9f9; padding: 40px; border-radius: 8px; margin-bottom: 50px; border-left: 5px solid var(--accent-blue); }
.guideline-title { font-size: 1.5rem; font-weight: 900; margin-bottom: 20px; font-family: 'Oswald', sans-serif; border-bottom: 2px solid #333; display: inline-block; padding-bottom: 5px; }
.guideline-item { margin-bottom: 20px; }
.guideline-item h4 { font-size: 1.1rem; font-weight: 700; margin-bottom: 5px; color: #333; }
.guideline-item p, .guideline-item li { font-size: 0.95rem; color: #555; }
.guideline-item ul { padding-left: 20px; }
.guideline-list li { margin-bottom: 10px; }

.guideline-note { background: #fff; padding: 20px; border-radius: 6px; border-left: 4px solid var(--accent-red); font-size: 0.9rem; color: #666; font-weight: 700; margin-top: 30px; }

.contact-action { text-align: center; padding: 60px 20px; border-top: 1px solid #eee; }
.contact-action h3 { font-size: 2rem; margin-bottom: 15px; font-family: 'Oswald', sans-serif; }
.contact-action p { margin-bottom: 40px; font-weight: 500; }
.btn-mail, .btn-google { display: inline-block; padding: 15px 50px; border: 2px solid #fff; color: #fff; font-size: 1.2rem; font-weight: 700; border-radius: 50px; transition: all 0.3s; }
.small-note { margin-top: 30px; font-size: 0.85rem; color: #999; }


/* =========================================
   6. MOBILE LAYOUT (MEDIA QUERIES)
   ========================================= */
@media (max-width: 1024px) {
    /* -- Hide Elements -- */
    .side-gallery { display: none; }
    .nav-links { display: none; }
    
    /* -- Global Resets -- */
    .career-layout, body, html { width: 100%; overflow-x: hidden; }
    .career-layout { display: block; padding-bottom: 0; }
    
    /* -- Typography Resets -- */
    .hero-en { font-size: 2.8rem; white-space: normal; line-height: 1.1; margin-bottom: 15px; word-break: break-word; }
    .hero-jp { font-size: 1.8rem; white-space: normal; line-height: 1.4; word-break: break-all; }
    .philosophy h2 { font-size: 1.8rem; white-space: normal; line-height: 1.3; word-break: break-word; }
    .jp-text { font-size: 1rem; text-align: left; line-height: 1.8; }
    
    /* -- Backgrounds -- */
    .hero, .page-header, .visual-break, .career-body {
        background-attachment: scroll !important;
        background-position: center center !important;
        background-size: cover !important;
    }
    
    .hero { height: 80vh; }
    .page-header { height: 40vh; }
    .visual-break { height: 250px; }
    .visual-content { width: 90%; padding: 20px; }
    
    /* -- Layout Blocks -- */
    .profile-detail { flex-direction: column-reverse; gap: 30px; padding: 0 20px; }
    .profile-image { max-width: 100%; }
    
    .timeline-center { 
        width: 100%; max-width: 100%; margin-top: 0; border-radius: 0; box-shadow: none; 
        background: rgba(255, 255, 255, 0.95); padding: 40px 15px; box-sizing: border-box;
    }
    .profile-detail-wrapper, .works-wrapper { background: rgba(255, 255, 255, 0.95); padding: 60px 0; width: 100%; }
    
    .timeline-block { grid-template-columns: 1fr; padding-left: 15px; border-left: 3px solid var(--accent-red); }
    .timeline-year { text-align: left; font-size: 1.8rem; margin-bottom: 10px; }
    .job-desc { font-size: 0.95rem; word-break: break-all; }
    
    /* -- Buttons & Contact -- */
    .btn-neon-dark, .btn-hero, .btn-contact, .btn-google { width: 90%; padding: 15px 0; font-size: 1rem; box-sizing: border-box; }
    
    .contact-title { font-size: 2.5rem; }
    .contact-lead { font-size: 1rem; text-align: left; }
    .guideline-box { padding: 30px 20px; }
}

/* Footer */
footer { background: #111; color: #888; text-align: center; padding: 40px; font-size: 0.8rem; position: relative; z-index: 10; }