/* --- RESET & VARIABLES --- */
:root {
    --bg-main: #ffffff;
    --bg-sub: #f8f8f8;
    --text-main: #222222;
    /* Maximized contrast */
    --text-sub: #555555;
    --accent: #ff6600;
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Inter', 'Noto Sans JP', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    background: var(--bg-main);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
}

/* --- UTILS --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Scroll Animation */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- HEADER --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 20px 40px;
    background: rgba(255, 255, 255, 0.5);
    /* Increased transparency */
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    color: var(--text-main);
    box-shadow: none;
    /* Removed shadow for cleaner transparent look */
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Header Logo */
.logo {
    border: none;
    padding: 0;
    background: transparent;
}

.brand-logo-small {
    border: 2px solid var(--text-main);
    border-radius: 12px;
    padding: 6px 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: var(--text-main);
}

.brand-logo-small:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: scale(1.02);
}

.logo-sub {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    line-height: 1;
    margin-bottom: 2px;
}

.logo-main {
    font-family: var(--font-sans);
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 0.05em;
    line-height: 0.9;
}

.nav a {
    color: var(--text-main);
    text-decoration: none;
    margin-left: 30px;
    font-size: 0.95rem;
    font-weight: 600;
    transition: color 0.3s;
}

.nav a:hover {
    color: var(--accent);
}

/* --- HERO SECTION (iPad Slideshow) --- */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--bg-sub);
}

/* Ambient Background */
.hero-bg-blur {
    position: absolute;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle at 50% 50%, #ffffff 0%, #eeeeee 70%);
    opacity: 0.8;
    z-index: 1;
}

/* iPad Container */
.ipad-container {
    position: relative;
    z-index: 10;
    width: 90%;
    max-width: 1400px;
    height: 85vh;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

.ipad-frame {
    width: 100%;
    height: 100%;
    background: #111;
    /* Keep bezel black for realism */
    border-radius: 40px;
    box-shadow:
        0 0 0 2px #333,
        0 30px 60px rgba(0, 0, 0, 0.2),
        inset 0 0 20px rgba(255, 255, 255, 0.1);
    padding: 20px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #444;
}

.ipad-screen {
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

/* Slideshow */
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    transform: scale(1.05);
    animation: slowZoom 20s infinite alternate;
}

.slide.active {
    opacity: 1;
}

@keyframes slowZoom {
    0% {
        transform: scale(1.0);
    }

    100% {
        transform: scale(1.1);
    }
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    /* Dark overlay for text legibility */
    /* Dark overlay for text legibility */
    z-index: 1;
}

/* Slide Navigation Buttons */
.slide-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    z-index: 100;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: monospace;
}

.slide-nav:hover {
    background: rgba(255, 255, 255, 0.3);
    color: #fff;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.slide-nav.prev {
    left: 20px;
}

.slide-nav.next {
    right: 20px;
}

/* Hero Content inside iPad (Text is White on Dark Image) */
.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 20;
    text-align: center;
    color: #fff;
    width: 100%;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.8);
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 5vw, 5rem);
    font-weight: 400;
    margin-bottom: 0.5rem;
}

.hero-subtitle {
    font-size: clamp(0.8rem, 1.5vw, 1.2rem);
    letter-spacing: 0.3em;
    margin-bottom: 2rem;
    opacity: 0.95;
    font-weight: 500;
}

.hero-motto {
    font-family: var(--font-serif);
    font-size: clamp(1rem, 2vw, 1.5rem);
    line-height: 1.6;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    display: inline-block;
}

/* iPad Details */
.ipad-camera {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    background: #222;
    border-radius: 50%;
    box-shadow: inset 0 0 2px rgba(255, 255, 255, 0.2);
}

.ipad-home-line {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
}

.sound-control {
    position: absolute;
    bottom: 40px;
    right: 40px;
    z-index: 10;
    color: var(--text-sub);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-weight: 600;
}

/* --- MAIN SECTION --- */
.dark-section {
    background: var(--bg-main);
    color: var(--text-main);
    padding: 100px 0;
    position: relative;
}

/* Featured Project */
.featured-project {
    margin-bottom: 100px;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: center;
}

.project-preview {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    aspect-ratio: 16/9;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.project-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-preview:hover img {
    transform: scale(1.03);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: rgba(255, 102, 0, 0.9);
    /* Orange accent */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #fff;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(255, 102, 0, 0.4);
    transition: transform 0.3s;
}

.play-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.project-label {
    font-size: 0.85rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    display: block;
    margin-bottom: 1rem;
    font-weight: 700;
}

.project-title {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    color: var(--text-main);
}

.project-desc {
    color: var(--text-sub);
    line-height: 1.8;
    margin-bottom: 2.5rem;
    font-size: 1.05rem;
}

.more-link {
    color: var(--text-main);
    text-decoration: none;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 5px;
    font-size: 1rem;
    font-weight: 700;
    transition: color 0.3s;
}

.more-link:hover {
    color: var(--accent);
}

/* Works Section */
.works-section {
    margin-bottom: 100px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    color: var(--text-main);
    margin-bottom: 3rem;
    text-align: left;
    border-bottom: 3px solid var(--accent);
    padding-bottom: 0.5rem;
    display: inline-block;
}

/* Magazine Style Asymmetrical Grid */
.works-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: minmax(300px, auto);
    gap: 40px;
}

.work-item {
    background: #fff;
    border-radius: 20px;
    /* Rounded corners as requested */
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: none;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    position: relative;
    display: flex;
    flex-direction: column;
}

/* Specific Spans for Asymmetry */
/* Item 1: Large Feature (Left) - Span 6/12 columns, 2 Rows */
.work-item:nth-child(1) {
    grid-column: span 6;
    grid-row: span 2;
}

/* Item 2: Wide Top Right - Span 6/12 columns */
.work-item:nth-child(2) {
    grid-column: span 6;
    grid-row: span 1;
}

/* Item 3: Small Bottom Right - Span 3/12 columns */
.work-item:nth-child(3) {
    grid-column: span 3;
    grid-row: span 1;
}

/* Item 4: Small Bottom Right - Span 3/12 columns (Made Smaller as requested) */
.work-item:nth-child(4) {
    grid-column: span 3;
    grid-row: span 1;
    /* Reset layout from previous wide settings */
    flex-direction: column;
}

/* Responsive adjustments */
@media (max-width: 900px) {

    .work-item:nth-child(1),
    .work-item:nth-child(2),
    .work-item:nth-child(3),
    .work-item:nth-child(4) {
        grid-column: span 12;
        grid-row: auto;
        flex-direction: column;
    }

    .works-grid {
        display: flex;
        flex-direction: column;
        gap: 60px;
    }
}

.work-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.work-item a {
    color: inherit;
    text-decoration: none;
    display: block;
    height: 100%;
    width: 100%;
}

/* Remove complex flex layouts for item 4 since we are using overlay now */
.work-item:nth-child(4) a {
    flex-direction: column;
}

.work-thumb {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #000;
    position: relative;
}

.work-item:nth-child(4) .work-thumb {
    width: 100%;
    height: 100%;
}

.work-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.19, 1, 0.22, 1), opacity 0.5s;
    opacity: 0.9;
}

.work-item:hover .work-thumb img {
    transform: scale(1.1);
    opacity: 0.6;
    /* Darken image on hover */
}

/* Poster Style Overlay */
.work-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.6) 70%, transparent 100%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
    pointer-events: none;
}

.work-item:nth-child(4) .work-info {
    width: 100%;
    /* Reset width for small card */
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.6) 70%, transparent 100%);
    /* Reset gradient */
}

@media (max-width: 900px) {
    .work-item:nth-child(4) .work-info {
        width: 100%;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.6) 70%, transparent 100%);
    }
}

/* Decorative Number - Update Color for Overlay */
.work-info::before {
    content: '';
    position: absolute;
    top: 20px;
    right: 20px;
    font-family: var(--font-serif);
    font-size: 5rem;
    color: rgba(255, 255, 255, 0.15);
    font-weight: 700;
    z-index: -1;
    line-height: 1;
}

.work-item:nth-child(1) .work-info::before {
    content: '01';
}

.work-item:nth-child(2) .work-info::before {
    content: '02';
}

.work-item:nth-child(3) .work-info::before {
    content: '03';
}

.work-item:nth-child(4) .work-info::before {
    content: '04';
}

/* English Subtitle */
.en-title {
    font-family: var(--font-serif);
    font-size: 0.9rem;
    color: var(--accent);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 0.2rem;
    opacity: 0.9;
    font-weight: 600;
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

/* Japanese Main Title (Poster Style) */
.work-info h4 {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 2.5rem;
    /* Large default */
    color: #ffffff;
    margin-bottom: 0.5rem;
    font-weight: 900;
    /* Extra Bold */
    line-height: 1.1;
    letter-spacing: 0.02em;
    position: relative;
    z-index: 2;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.8);
    transform-origin: left bottom;
    transition: transform 0.3s ease;
}

/* Extra Large for the Big Item 1 */
.work-item:nth-child(1) .work-info h4 {
    font-size: 3.5rem;
}

.work-item:hover h4 {
    transform: scale(1.02);
    color: #fff;
    /* Keep white */
}

.work-info p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    position: relative;
    z-index: 2;
    letter-spacing: 0.05em;
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.8);
}

/* Read More Indicator */
.work-readmore {
    margin-top: 0.5rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: #fff;
    /* White for read more to standout less than accent or more? Let's use accent line */
    text-transform: uppercase;
    letter-spacing: 0.2em;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    opacity: 0.8;
    position: relative;
    z-index: 2;
    border-bottom: 1px solid var(--accent);
    padding-bottom: 3px;
    width: fit-content;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.8);
}

.work-item:hover .work-readmore {
    opacity: 1;
    color: var(--accent);
}

.work-item a {
    color: inherit;
    text-decoration: none;
}

.work-thumb {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #f0f0f0;
}

.work-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.work-item:hover .work-thumb img {
    transform: scale(1.08);
}

.work-info {
    padding: 24px;
}

.work-info h4 {
    font-size: 1.2rem;
    color: var(--text-main);
    margin-bottom: 0.5rem;
    font-family: var(--font-sans);
    font-weight: 700;
}

.work-info p {
    font-size: 0.9rem;
    color: var(--text-sub);
}

/* 2-Column Info Grid */
.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    border-top: 1px solid #eee;
    padding-top: 80px;
}

.info-col {
    text-align: center;
    padding: 50px;
    background: var(--bg-sub);
    border-radius: 16px;
    border: 1px solid #eee;
}

.info-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--accent);
}

.info-col h3 {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.info-col p {
    color: var(--text-sub);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.info-sub {
    color: var(--text-main) !important;
    margin-top: 1.5rem;
    font-weight: 700;
    font-size: 1.1rem !important;
}

/* --- FOOTER SECTION --- */
.white-section {
    background: #eeeeee;
    /* Gray background for footer */
    color: var(--text-main);
    padding: 100px 0;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.profile-area {
    display: flex;
    align-items: center;
    gap: 40px;
}

.profile-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    filter: grayscale(100%);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.profile-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-text h3 {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.profile-text p {
    font-size: 1rem;
    color: var(--text-sub);
    letter-spacing: 0.1em;
}

.contact-btn {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    text-decoration: none;
    padding: 18px 50px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(255, 102, 0, 0.3);
}

.contact-btn:hover {
    background: #e65c00;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 102, 0, 0.4);
}

/* --- SERVICE DETAIL PAGE STYLES --- */
.service-hero {
    position: relative;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-sub);
    overflow: hidden;
    color: var(--text-main);
}

.service-hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
}

.service-label {
    font-size: 1rem;
    letter-spacing: 0.3em;
    color: var(--accent);
    display: block;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.service-title {
    font-family: var(--font-serif);
    font-size: clamp(3rem, 6vw, 5rem);
    margin-bottom: 1rem;
    color: var(--text-main);
}

.service-subtitle {
    font-size: 1.1rem;
    color: var(--text-sub);
    letter-spacing: 0.15em;
    font-weight: 500;
}

.service-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 120px;
    font-size: 1.2rem;
    line-height: 2.2;
    color: var(--text-sub);
}

.service-intro h2 {
    color: var(--text-main) !important;
}

/* Flow Section */
.flow-section {
    margin-bottom: 120px;
}

.flow-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.flow-item {
    background: #f5f5f5;
    /* Changed to gray base */
    padding: 0;
    /* Removed padding to let image sit flush or controlled by inner container */
    border-radius: 16px;
    position: relative;
    border: 1px solid #ddd;
    /* Slightly darker border for better definition */
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    overflow: hidden;
    /* Ensure image stays within border radius */
}

.flow-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.flow-content-inner {
    padding: 30px 40px 40px;
    /* New padding wrapper for content */
}


.flow-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: #ffe0cc;
}

.flow-num {
    font-family: var(--font-serif);
    font-size: 4rem;
    color: #f0f0f0;
    position: absolute;
    top: 20px;
    right: 30px;
    font-weight: 700;
    z-index: 0;
}

.flow-content {
    position: relative;
    z-index: 1;
}

.flow-content h3 {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.flow-jp {
    font-size: 1rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.flow-desc {
    font-size: 1rem;
    color: var(--text-sub);
    line-height: 1.8;
}

/* Pricing Section */
.pricing-section {
    max-width: 900px;
    margin: 0 auto 80px;
    text-align: center;
}

.pricing-card {
    background: #fff;
    border: 1px solid #eee;
    padding: 80px 50px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
}

.pricing-header h3 {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.pricing-header p {
    color: var(--text-sub);
    margin-bottom: 3rem;
    font-size: 1.2rem;
}

.pricing-price {
    font-family: var(--font-serif);
    font-size: 4.5rem;
    color: var(--accent);
    margin-bottom: 2rem;
}

.pricing-price .currency {
    font-size: 2rem;
    vertical-align: top;
    margin-right: 10px;
    color: var(--text-main);
}

.pricing-price .tax {
    font-size: 1.2rem;
    color: var(--text-sub);
    margin-left: 15px;
}

.pricing-note {
    color: var(--text-sub);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 4rem;
}

.pricing-btn {
    padding: 20px 60px;
    font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .header {
        padding: 15px 20px;
    }

    .logo-main {
        font-size: 1.2rem;
    }

    .nav {
        display: none;
        /* Mobile menu implementation usually needed, but hiding for now */
    }

    .hero-title {
        font-size: 3rem;
    }

    .featured-project {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .project-preview {
        order: -1;
    }

    .project-title {
        font-size: 2.5rem;
    }

    .info-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding-top: 40px;
    }

    .footer-inner {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    .profile-area {
        flex-direction: column;
        gap: 20px;
    }
}

/* --- COMPANY PROFILE --- */
.company-profile {
    margin-top: 100px;
    padding-top: 80px;
    border-top: 1px solid #ddd;
}

.profile-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.profile-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.profile-item {
    display: flex;
    background: #f5f5f5;
    padding: 20px;
    border-radius: 8px;
    align-items: center;
    /* Changed to center vertical alignment */
    border: none;
}

.profile-item dt {
    width: 140px;
    font-size: 0.9rem;
    color: var(--text-sub);
    font-weight: 700;
}

.profile-item dd {
    font-size: 1.1rem;
    color: var(--text-main);
    font-weight: 500;
}

.profile-message {
    font-size: 1.1rem;
    line-height: 2.2;
    color: var(--text-main);
    font-family: 'Noto Serif JP', serif;
    /* Mincho font */
    letter-spacing: 0.1em;
}

@media (max-width: 900px) {
    .profile-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .profile-item {
        flex-direction: column;
        gap: 5px;
    }
}

/* --- Video Section --- */
.works-preview-section {
    margin-bottom: 100px;
}

.video-grid {
    display: grid;
    grid-template-columns: 2.5fr 1fr;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
    align-items: center;
}

.video-item {
    display: flex;
    flex-direction: column;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    background: #000;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    margin-bottom: 15px;
}

.video-wrapper iframe,
.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-caption {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-sub);
    text-align: center;
    letter-spacing: 0.05em;
}

@media (max-width: 768px) {
    .video-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}