:root {
    --base-font-size: 14px;
    --heading-font-size: 24px;
    --section-title-size: 52px;
    --accent-color: rgb(194 8 126);
    --karasumi-color: #141414;
    --text-color: #333;
    --font-en: 'Montserrat', sans-serif;
    --font-serif-en: 'Cormorant Garamond', serif;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 120px; /* Header height offset */
}

body {
    font-family: 'Zen Kaku Gothic New', sans-serif;
    font-size: var(--base-font-size);
    color: var(--text-color);
    background-color: #fcfcfc;
    line-height: 1.8;
    letter-spacing: 0.05em;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

h1,
h2,
h3,
.font-serif {
    font-family: 'Zen Old Mincho', serif;
    font-weight: 400;
}

.font-roboto {
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    font-size: var(--section-title-size);
    line-height: 1.1;
}

.heading-text {
    font-size: var(--heading-font-size);
}

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

.container-custom {
    max-width: 1152px;
    /* 6xl */
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    /* px-6 */
    padding-right: 1.5rem;
}

@media (min-width: 768px) {
    .container-custom {
        padding-left: 3rem;
        /* px-12 */
        padding-right: 3rem;
    }
}

.img-container {
    overflow: hidden;
    background-color: #eee;
    position: relative;
}

.img-container img {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Nav Animation */
#mobile-menu {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link {
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -4px;
    left: 0;
    background-color: currentColor;
    transition: width 0.3s ease;
}

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

/* Rapid Shutter Flash Animation */
@keyframes camera-flash {
    0%, 10%, 20%, 30%, 100% { 
        opacity: 0.3; 
        filter: brightness(1) blur(0px);
    }
    5%, 15%, 25% { 
        opacity: 1; 
        filter: brightness(10) blur(2px);
    }
}

.flash-text {
    animation: camera-flash 3s infinite;
}

/* Kyoto/MOMO Elegant Soft Sunlight Shimmer */
@keyframes momo-elegant-shimmer {
    0%, 100% { 
        filter: brightness(1) saturate(1) sepia(0);
    }
    50% { 
        filter: brightness(1.06) saturate(1.05) sepia(0.04); /* Gentle warm sunlight filtering */
    }
}

.momo-elegant {
    animation: momo-elegant-shimmer 8s ease-in-out infinite;
}

/* Melt-in Animation for Concept Text */
@keyframes melt-in {
    0% {
        opacity: 0;
        filter: blur(15px);
        transform: translateY(-10px) scale(1.05);
    }
    100% {
        opacity: 1;
        filter: blur(0);
        transform: translateY(0) scale(1);
    }
}

.melt-in {
    opacity: 0;
    filter: blur(15px);
}

.melt-in.active {
    animation: melt-in 1.5s cubic-bezier(0.2, 0, 0.2, 1) forwards;
}

/* Gallery Slider */
.slider-wrapper {
    display: flex;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.slider-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    flex-shrink: 0;
    position: relative;
    /* スライドアニメーションのためにabsoluteを外す */
}

.thumb-active {
    outline: 1px solid #9C6D24;
    outline-offset: 4px;
}



/* Purple Monochrome Filter for Gallery */
.purple-mono img {
    filter: none;
    transition: filter 0.3s ease;
}

.purple-mono .thumb-active img {
    filter: grayscale(100%) sepia(100%) hue-rotate(225deg) saturate(0.5) brightness(0.9) contrast(1.1);
    /* 選択されたサムネイルだけモノクロ */
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    z-index: 100;
    padding: 25px 0 20px; /* Adjusted padding for larger logo */
    height: auto;
    min-height: 80px;
}

.header__logo {
    height: 48px; /* Significantly increased from 34px */
    width: auto;
    transition: opacity 0.3s ease;
}

.nav__list {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 25px; /* Slightly reduced for more items */
}

.nav__list a {
    font-size: 13px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 300;
    transition: opacity 0.3s ease, color 0.3s ease;
    opacity: 0.8;
    color: #583d11;
}

.nav__list a:hover {
    opacity: 1;
    color: #9C6D24;
}

/* FV Main Container */
.fv {
    position: relative;
    width: 100%;
    height: calc(100vh - 130px);
    margin-top: 130px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #000;
}

/* Background Sliders Container */
.fv__bg-pc, .fv__bg-sp {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.fv__bg-pc {
    display: flex;
}

.fv__bg-sp {
    display: none;
}

.slide-container {
    position: relative;
    height: 100%;
    overflow: hidden;
}

.left-container, .center-container, .right-container {
    flex: 1;
}

.full-container {
    width: 100%;
}

.slide-img {
    position: absolute;
    top: -5%;
    left: -5%;
    width: 110%;
    height: 110%;
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    transform: scale(1);
}

/* Ken Burns Animation */
.ken-burns {
    animation: kenBurns 10s ease-out forwards;
}

@keyframes kenBurns {
    0% { transform: scale(1); }
    100% { transform: scale(1.06); }
}

/* Color Block Transition Overlay */
.color-block {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: transparent;
    z-index: 5;
    display: flex;
    overflow: hidden;
}

/* Overlay for text readability */
.fv::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.25);
    z-index: 2;
    pointer-events: none;
}

/* FV Decorations */
.vertical-text {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    writing-mode: vertical-rl;
    color: #fff;
    font-family: var(--font-serif-en);
    font-weight: 700;
    font-size: 24px;
    letter-spacing: 0.2em;
    opacity: 0.9;
    z-index: 20;
    text-transform: lowercase;
    text-shadow: 0 0 0.5px rgba(255,255,255,0.5);
}

.left-text {
    left: 30px;
    transform: translateY(-50%) rotate(180deg);
}

.right-text {
    right: 30px;
}

.slide-number {
    position: absolute;
    bottom: 40px;
    left: 40px;
    z-index: 20;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    font-size: 20px;
    letter-spacing: 0.1em;
    font-weight: 400;
}

.slide-number .line {
    width: 25px;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.5);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    right: 40px;
    z-index: 20;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 15px;
}

.scroll-indicator span {
    font-size: 10px;
    letter-spacing: 0.25em;
    font-weight: 300;
}

.scroll-indicator .line {
    width: 40px;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.scroll-indicator .line::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: #fff;
    animation: scrollLine 2s infinite cubic-bezier(0.65, 0, 0.35, 1);
}

@keyframes scrollLine {
    0% { left: -100%; }
    40%, 60% { left: 0; }
    100% { left: 100%; }
}

/* FV Content (Logo & Text) */
.fv__content {
    position: relative;
    z-index: 10;
    text-align: center;
    width: 100%;
    padding: 0 20px;
}

.logo-wrapper {
    max-width: 600px;
    margin: 0 auto 20px;
}

/* Typography Reveal Animations */
.logo-overflow {
    overflow: hidden;
    padding-bottom: 10px;
}

.reveal-logo {
    transform: translateY(105%);
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.logo-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #fff;
    font-family: 'Zen Old Mincho', serif;
    letter-spacing: 0.15em;
    line-height: 1.4;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.logo-text__main {
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 8px;
    white-space: nowrap;
}

.logo-text__sub {
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 0.4em;
    color: rgba(255, 255, 255, 0.9);
}

.reveal-logo.active {
    transform: translateY(0);
}

.tagline {
    font-family: var(--font-serif-en);
    font-size: 32px;
    font-weight: 300;
    letter-spacing: 0.12em;
    color: #F5F5F5;
    margin-top: 40px;
    font-style: italic;
    opacity: 0.95;
    overflow: hidden;
}

.char {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s cubic-bezier(0.215, 0.61, 0.355, 1), transform 0.8s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.char.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive (Smartphone) */
@media screen and (max-width: 768px) {
    .header {
        height: 70px;
        padding: 0; /* Remove padding to use flex centering */
    }

    .header > div {
        height: 100%;
        display: flex;
        align-items: center;
    }

    .header__logo {
        height: 44px;
        margin-bottom: 0; /* Remove margin in flex layout */
    }
    
    .nav__list {
        gap: 15px;
    }
    
    .nav__list a {
        font-size: 11px;
    }

    .fv {
        height: calc(100vh - 70px);
        margin-top: 70px;
        padding-top: 0;
    }

    .fv__bg-pc {
        display: none;
    }

    .fv__bg-sp {
        display: block;
    }

    .slide-img {
        background-position: top center;
    }

    .logo-wrapper {
        max-width: 320px;
        margin-bottom: 15px;
    }

    .logo-text__main {
        font-size: 26px;
        margin-bottom: 4px;
    }

    .logo-text__sub {
        font-size: 13px;
        letter-spacing: 0.3em;
    }

    .tagline {
        font-size: 22px;
        margin-top: 30px;
    }

    .vertical-text {
        font-size: 13px;
        letter-spacing: 0.2em;
    }

    .left-text {
        left: 15px;
    }

    .right-text {
        right: 15px;
    }

    .slide-number {
        bottom: 25px;
        left: 20px;
        gap: 14px;
        font-size: 18px;
    }

    .scroll-indicator {
        bottom: 25px;
        right: 20px;
        gap: 10px;
    }

    .scroll-indicator .line {
        width: 25px;
    }
}


/* Text Marquee */
.marquee-container {
    background-color: #ffffff;
    padding: 30px 0;
    overflow: hidden;
    white-space: nowrap;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.marquee-content {
    display: flex;
    animation: marquee 40s linear infinite;
    width: max-content;
}

.marquee-content span {
    font-family: var(--font-en);
    font-size: 64px;
    font-weight: 200;
    color: #9C6D24;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding-right: 100px;
    flex-shrink: 0;
}

.marquee-content span::after {
    content: "/";
    margin-left: 100px;
    opacity: 0.2;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@media (max-width: 768px) {
    .marquee-container {
        padding: 20px 0;
    }
    .marquee-content span {
        font-size: 32px;
        margin-right: 50px;
    }
    .marquee-content span::after {
        margin-left: 50px;
    }
}

/* Slant Lines */
.slant-line,
.slant-line-rev {
    width: 100%;
    height: 1px;
    background-color: var(--text-color);
    margin: 140px 0;
}

/* 傾斜とアニメーションの競合を解消 */
.slant-line.reveal {
    transform: rotate(-8deg) translateY(30px);
}

.slant-line.reveal.active {
    transform: rotate(-8deg) translateY(0);
}

.slant-line-rev.reveal {
    transform: rotate(8deg) translateY(30px);
}

.slant-line-rev.reveal.active {
    transform: rotate(8deg) translateY(0);
}

/* Custom Reserve Button Styles for Dark Section */
.reserve-btn-phone {
    border: 1px solid #fff;
    color: #fff;
    transition: all 0.3s ease;
}

.reserve-btn-phone:hover {
    background-color: #fff;
    color: var(--karasumi-color);
}

/* Scroll Animations (Default Snap) */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

/* FV Specific Slow Animations */
.fv .reveal {
    transition: all 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.fv .reveal-delay-2 {
    transition-delay: 0.8s;
}

/* --- Block Reveal Animation --- */
.block-reveal {
    position: relative;
    overflow: hidden;
    display: inline-block;
    width: 100%;
}

.block-reveal img {
    opacity: 0;
    transition: opacity 0s;
}

.block-reveal.active img {
    opacity: 1;
    transition: opacity 0.3s ease 0.5s; /* Fade in after block passes */
}

.block-reveal::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #F6D1D1; /* Default: Pink */
    transform: translateX(-101%);
    z-index: 2;
}

/* Color Variants */
.reveal-black::after { background-color: #000000; }
.reveal-gray::after { background-color: #888888; }
.reveal-darkpink::after { background-color: #D12D6A; }

.reveal-ichimatsu::after {
    background-color: #1a1e24;
}

.reveal-yagasuri::after {
    background-color: #b1352b;
}

.reveal-chidori::after {
    background-color: #444c38;
}

.reveal-gold::after {
    background-color: #d8b2b6;
}

.block-reveal.active::after {
    animation: blockRevealAnim 1.2s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}

@keyframes blockRevealAnim {
    0% { transform: translateX(-101%); }
    50% { transform: translateX(0); }
    100% { transform: translateX(101%); }
}


/* --- Real Continuous Gradient (Single Flow across Screen) --- */

/* Left Side (Text) - Shows the first 50% of the gradient */
.melt-gradient-text {
    background: linear-gradient(90deg, #ffffff, #f7dcd8, #c91717, #e03434, #ffffff);
    background-size: 200% 100%; /* 200% of the element = 100vw total */
    background-position: 0% 0%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: meltFlowLeft 15s linear infinite;
}

/* Right Side (Background) - Shows the second 50% of the gradient */
.melt-gradient-bg {
    background: linear-gradient(90deg, #ffffff, #f7dcd8, #c91717, #e03434, #ffffff);
    background-size: 200% 100%; /* 200% of the element = 100vw total */
    background-position: 100% 0%; /* Offset by 100% to connect with Left */
    animation: meltFlowRight 15s linear infinite;
}

@keyframes meltFlowLeft {
    0% { background-position: 0% 0%; }
    100% { background-position: -200% 0%; }
}

@keyframes meltFlowRight {
    0% { background-position: -100% 0%; }
    100% { background-position: -300% 0%; }
}

/* --- SVG Text Gradient Toggle --- */
#melt-svg-text {
    fill: url(#gradientPC);
}

@media (max-width: 768px) {
    #melt-svg-text {
        fill: url(#gradientSP);
    }
}

/* --- Real Continuous Gradient (Single Flow across Screen) from Copy (12) --- */

/* Left Side (Text) - Shows the first 50% of the gradient */
.melt-gradient-text {
    background: linear-gradient(90deg, #ffffff, #f7dcd8, #c91717, #e03434, #ffffff);
    background-size: 200% 100%; /* 200% of the element = 100vw total */
    background-position: 0% 0%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: meltFlowLeft 15s linear infinite;
}

/* Right Side (Background) - Shows the second 50% of the gradient */
.melt-gradient-bg {
    background: linear-gradient(90deg, #ffffff, #f7dcd8, #c91717, #e03434, #ffffff);
    background-size: 200% 100%; /* 200% of the element = 100vw total */
    background-position: 100% 0%; /* Offset by 100% to connect with Left */
    animation: meltFlowRight 15s linear infinite;
}

@keyframes meltFlowLeft {
    0% { background-position: 0% 0%; }
    100% { background-position: -200% 0%; }
}

@keyframes meltFlowRight {
    0% { background-position: -100% 0%; }
    100% { background-position: -300% 0%; }
}

/* --- Mobile Specific: Synchronized Start (No Offset) --- */
@media (max-width: 768px) {
    #about {
        background: none;
        animation: none;
    }

    .melt-gradient-text, .melt-gradient-bg {
        background-size: 200% 100%; /* Must be larger than 100% to animate position */
        background-position: 0% 0%;
        animation: meltFlowMobile 15s linear infinite;
    }

    @keyframes meltFlowMobile {
        0% { background-position: 0% 0%; }
        100% { background-position: -200% 0%; }
    }
}

@keyframes meltFlowSP {
    0% { background-position: 0% 0%; }
    100% { background-position: -200% 0%; }
}

@keyframes meltFlowVertical {
    0% { background-position: 0% 100%; }
    100% { background-position: 0% 0%; }
}

/* --- Mobile Specific: Static View --- */
@media (max-width: 768px) {
    .melt-gradient-text, .melt-gradient-bg {
        background-position: 0% 0%;
    }
}

/* Custom Font Utility */
.font-cormorant {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
}



/* Staff Member Dividers */
.staff-card {
    border-bottom: 1px solid #eee;
    padding-bottom: 3rem;
}

@media (min-width: 768px) {
    .staff-card {
        border-bottom: none;
        padding-bottom: 0;
        border-right: 1px solid #eee;
        padding-right: 2rem;
    }
    /* Remove right border on the last item of each row */
    .staff-card:nth-child(2n) {
        border-right: none;
    }
}

@media (min-width: 1024px) {
    .staff-card:nth-child(2n) {
        border-right: 1px solid #eee;
    }
    .staff-card:nth-child(3n) {
        border-right: none;
    }
}

/* Remove bottom border from the last few items on mobile */
@media (max-width: 767px) {
    .staff-card:last-child {
        border-bottom: none;
    }
}


/* Pattern 2: Auto-Flowing Carousel */
.carousel-container {
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
    background-color: #2D271F;
}

.carousel-track {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: carousel-flow 60s linear infinite;
}

.carousel-item {
    flex-shrink: 0;
    width: 350px;
    aspect-ratio: 3/4;
    overflow: hidden;
    background-color: #111;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s ease;
}

@keyframes carousel-flow {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } /* Halfway point for seamless loop */
}

@media (max-width: 768px) {
    .carousel-item {
        width: 240px;
    }
    .carousel-track {
        animation: carousel-flow 40s linear infinite; /* Speed up a bit on mobile */
    }
}

/* --- MENU Dark Mode --- */
#menu {
    background-color: #2d271f !important;
    position: relative;
    overflow: hidden;
    clip-path: inset(0); /* iOS Parallax fix */
    color: #fff;
}

#menu::before {
    content: "";
    position: fixed; /* iOS Parallax fix */
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh; /* iOS Parallax fix */
    background-image: url('../img/menu_bg.webp');
    background-size: cover;
    background-position: top;
    opacity: 0.15;
    pointer-events: none;
    z-index: 0;
    will-change: transform; /* Smooth scrolling for iOS */
}

#menu .container-custom {
    position: relative;
    z-index: 1;
}

#menu h2, #menu h3, #menu p:not(.text-gray-400), #menu li {
    color: #fff !important;
}

#menu .text-gray-500, #menu .text-gray-400 {
    color: #aaa !important;
}

#menu .border-gray-50 {
    border-color: rgba(255, 255, 255, 0.1) !important;
}



/* News Section Dual Background */
.news-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.news-bg-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 2s ease-in-out; 
    z-index: 0;
    will-change: transform;
}

.news-bg-item.active {
    opacity: 0.6;
}

@media (min-width: 769px) {
    .news-bg-item {
        opacity: 0.6 !important; /* Always show all on PC */
    }
    .news-bg-1 { left: 0; width: 25%; }
    .news-bg-2 { left: 25%; width: 25%; }
    .news-bg-3 { left: 50%; width: 25%; }
    .news-bg-4 { left: 75%; width: 25%; }
}

.font-noto-serif {
    font-family: 'Noto Serif JP', serif !important;
    font-style: normal !important;
}


.text-01{
    color:#9C6D24;
}

.text-02{
    color:#2D271F;
}

/* Mix Blend Multiply Utility */
.blend-multiply {
    background-color: transparent !important;
    background: transparent !important;
}

.blend-multiply img {
    mix-blend-mode: multiply !important;
}

/* --- Wagara Pattern Classes for Slider Transition --- */
.door-left, .door-right {
    width: 50%;
    height: 100%;
    position: absolute;
    top: 0;
    transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 5;
    background-size: auto;
    background-repeat: repeat !important;
}

.door-left {
    left: 0;
    transform: translateX(-100%);
    border-right: 1px solid rgba(0, 0, 0, 0.25);
}

.door-right {
    right: 0;
    transform: translateX(100%);
    border-left: 1px solid rgba(0, 0, 0, 0.25);
}

/* 1. Yasaka Vermillion with Asanoha */
.wagara-gion-vermilion {
    background-color: #b1352b !important;
}

/* 2. Midnight Gion with Ishidatami */
.wagara-gion-dark {
    background-color: #1a1e24 !important;
}

/* 3. Matcha Green with Ryusuimon */
.wagara-gion-matcha {
    background-color: #444c38 !important;
}

/* 4. Elegant Sakura with Shippo */
.wagara-gion-sakura {
    background-color: #d8b2b6 !important;
}

/* About Section Japanese Modern Vertical Layout */
.about-vertical-container {
    background-color: #f5f2eb;
}

@media (min-width: 768px) {
    .about-content {
        writing-mode: vertical-rl;
        text-orientation: mixed;
        height: 100%;
        display: flex;
        flex-direction: row-reverse;
        align-items: flex-start;
        justify-content: center;
        gap: 3.5rem;
        padding-top: 1rem;
        padding-bottom: 1rem;
    }
    
    .about-content > div {
        margin: 0 !important;
    }
}

/* Google Translate Custom Styles */
#google_translate_element {
    display: inline-block;
    vertical-align: middle;
}

.goog-te-gadget-simple {
    background-color: #fcfaf2 !important;
    border: 1px solid #f0ebd8 !important;
    padding: 4px 8px !important;
    border-radius: 2px !important;
    font-family: 'Zen Kaku Gothic New', sans-serif !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
}

.goog-te-gadget-simple img {
    display: none !important; /* Hide Google G Logo */
}

.goog-te-gadget-simple .goog-te-menu-value {
    display: flex !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
}

.goog-te-gadget-simple .goog-te-menu-value span {
    color: #2D271F !important;
    font-size: 11px !important;
    font-weight: bold !important;
    text-decoration: none !important;
}

.goog-te-gadget-simple .goog-te-menu-value::before {
    content: "🌐";
    font-size: 12px;
}

.goog-te-gadget-simple .goog-te-menu-value::after {
    border: none !important; /* Remove default arrow */
    content: "▾" !important;
    color: #2D271F !important;
    font-size: 10px !important;
    margin-left: 2px !important;
}

/* Hide Google Translate Banner Frame */
iframe.goog-te-banner-frame {
    display: none !important;
}

body {
    top: 0 !important;
}