/*
Theme Name: Italo Photography
Description: Custom WordPress theme for Italo Photography portfolio.
Author: Italo Photography
Version: 1.3
*/
:root {
    --bg-color: #f5f5f5;
    --text-color: #1a1a1a;
    --accent-color: #000000;
    --secondary-color: #e0e0e0;
    --highlight-color: #000;
    /* ロゴに合わせて漆黒、または適宜調整 */
    --font-primary: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-display: 'Montserrat', sans-serif;
    --transition-smooth: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-primary);
    line-height: 1.75;
    overflow-x: hidden;
    width: 100%;
    /* Copy Protection */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

html {
    overflow-x: hidden;
    width: 100%;
}

img {
    pointer-events: none;
    /* 画像への直接クリックを無効化 */
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Typography Utilities */
.keyword-highlight {
    color: var(--highlight-color);
    font-size: 1.05em;
    font-weight: 500;
    position: relative;
    display: inline-block;
}

.check-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.check-list li {
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 12px;
    padding-left: 20px;
    position: relative;
    opacity: 0.8;
}

.check-list li::before {
    content: "・";
    position: absolute;
    left: 0;
    color: var(--highlight-color);
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 40px 0;
    transition: var(--transition-smooth);
}

header.scrolled {
    background: rgba(245, 245, 245, 0.8);
    backdrop-filter: blur(10px);
    padding: 20px 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-display);
    font-size: 1.2rem;
    letter-spacing: 0.2rem;
    font-weight: 700;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15rem;
    opacity: 0.4;
    transition: var(--transition-smooth);
}

.nav-links a:hover {
    opacity: 1;
}

/* Hero Section */
#hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 100px;
}

/* Background Logo Branding */
.hero-bg-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-display);
    font-size: 25vw;
    font-weight: 400;
    color: transparent;
    -webkit-text-stroke: 1px rgba(0, 0, 0, 0.05);
    z-index: 0;
    white-space: nowrap;
    pointer-events: none;
}

.hero-menu {
    position: relative;
    z-index: 10;
    padding: 10vh 0 10vh 10vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transform: translateX(10px);
    /* 10px右に調整 */
}

.hero-menu h2 {
    font-family: var(--font-primary);
    font-size: 5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
    line-height: 1.1;
}

.hero-subtext {
    font-size: 0.9rem;
    letter-spacing: 0.3em;
    opacity: 0.6;
    margin-bottom: 2rem;
    font-weight: 500;
}

.hero-menu ul {
    list-style: none;
}

.hero-menu li {
    margin-bottom: 0.3rem;
}

.hero-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 1.2rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.4;
    transition: var(--transition-smooth);
}

.hero-menu a:hover {
    opacity: 1;
    padding-left: 10px;
}

/* Empathy Section */
#empathy {
    padding: 120px 0;
    text-align: center;
    background: #f7f7f7;
    /* 薄いグレー背景 */
    color: var(--text-color);
    margin: 80px 0;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.empathy-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.empathy-title {
    font-family: var(--font-display);
    font-size: 2.8rem;
    line-height: 1.4;
    margin-bottom: 60px;
    letter-spacing: 0.05em;
    color: var(--text-color);
}

.empathy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 70px;
}

.empathy-item {
    padding: 60px 40px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.03);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.04);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    border-radius: 2px;
}

.empathy-item:hover {
    background: #fff;
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.08);
}

.empathy-icon {
    margin-bottom: 25px;
    color: var(--text-color);
    opacity: 0.6;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.icon-caption {
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    font-weight: 500;
    opacity: 0.6;
    text-transform: uppercase;
    display: block;
    margin-top: 5px;
}

.empathy-num {
    display: block;
    font-family: var(--font-display);
    font-size: 0.9rem;
    opacity: 0.2;
    margin-bottom: 20px;
    letter-spacing: 0.2em;
    font-weight: 600;
}

.empathy-item p {
    font-size: 1rem;
    line-height: 1.8;
    opacity: 0.9;
    color: var(--text-color);
}

.empathy-solution {
    max-width: 900px;
    margin: 0 auto;
    padding-top: 50px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.empathy-solution p {
    font-size: 1.15rem;
    line-height: 2.2;
    letter-spacing: 0.03em;
    color: var(--text-color);
}

.empathy-solution strong {
    color: #000;
    font-weight: 700;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

.pc-only {
    display: block;
}

.mobile-only {
    display: none;
}

@media (max-width: 900px) {
    .pc-only {
        display: none !important;
    }

    .mobile-only {
        display: block !important;
    }

    .empathy-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .empathy-title {
        font-size: 1.8rem;
    }
}

.hero-slider {
    position: relative;
    width: 60%;
    height: 70vh;
    margin-left: -5vw;
    z-index: 5;
}

/* Modal / Lightbox */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80vh;
    object-fit: contain;
    animation: zoom 0.3s ease-out;
}

@keyframes zoom {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #000;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.close:hover {
    opacity: 0.6;
}

#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #444;
    padding: 15px 0;
    font-family: var(--font-primary);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.slider-container {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* 背景色設定 */
}

/* Gallery */
#gallery {
    padding: 150px 0;
}

.section-title {
    font-family: var(--font-display);
    font-size: 3rem;
    margin-bottom: 50px;
    text-align: center;
}

.filter-bar {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 60px;
}

.filter-btn {
    background: none;
    border: none;
    color: var(--text-color);
    font-family: var(--font-primary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    opacity: 0.4;
    transition: var(--transition-smooth);
}

.filter-btn.active,
.filter-btn:hover {
    opacity: 1;
}

.grid-layout {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    /* 12カラムグリッド */
    grid-auto-rows: 200px;
    /* 各行の最小高さを設定 */
    grid-auto-flow: dense;
    /* アイテムを自動配置し、空いたスペースを埋める */
    gap: 10px;
    /* グリッドアイテム間のスペース */
}

.gallery-item {
    position: relative;
    overflow: hidden;
    grid-column: span 4;
    /* デフォルトで4カラム（1/3幅） */
    grid-row: span 2;
    /* デフォルトで2行分（400px相当） */
}

/* --- Mosaic Layout Variations --- */

/* Big Landscape / Feature Item */
.gallery-item.size-lg {
    grid-column: span 8;
    /* 2/3幅 */
    grid-row: span 3;
    /* 3行分（600px相当） */
}

/* Wide Item */
.gallery-item.size-wide {
    grid-column: span 8;
    grid-row: span 2;
}

/* Tall Item */
.gallery-item.size-tall {
    grid-column: span 4;
    grid-row: span 3;
}

/* Small / Filler Item */
.gallery-item.size-sm {
    grid-column: span 3;
    /* 1/4幅（3カラム） */
    grid-row: span 1;
}

/* Responsive Adjustments */
@media (max-width: 900px) {
    .grid-layout {
        grid-template-columns: repeat(6, 1fr);
        /* タブレットでは6カラム */
    }

    .gallery-item,
    .gallery-item.size-tall {
        grid-column: span 3;
        grid-row: span 2;
    }

    .gallery-item.size-lg,
    .gallery-item.size-wide {
        grid-column: span 6;
        /* 全幅 */
        grid-row: span 3;
    }

    .gallery-item.size-sm {
        grid-column: span 2;
        grid-row: span 2;
    }
}

@media (max-width: 600px) {
    .grid-layout {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    /* モバイルではグリッドを解除し、縦に並べる */
}

.gallery-item img,
.gallery-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover img,
.gallery-item:hover video {
    transform: scale(1.1);
}

.item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    transition: var(--transition-smooth);
    gap: 20px;
}

.gallery-item:hover .item-overlay {
    opacity: 1;
}

.item-overlay h3 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    color: #fff;
    transform: translateY(20px);
    transition: var(--transition-smooth);
    font-weight: 300;
}

.gallery-item:hover h3 {
    transform: translateY(0);
}

.preview-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: #fff;
    padding: 12px 30px;
    font-family: var(--font-primary);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.3rem;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    transform: translateY(-20px);
    opacity: 0;
}

.gallery-item:hover .preview-btn {
    transform: translateY(0);
    opacity: 1;
    transition-delay: 0.1s;
}

.preview-btn:hover {
    background: #fff;
    color: #000;
    border-color: #fff;
}

/* もっと見るボタンコンテナ */
.view-more-container {
    display: flex;
    /* コンテンツを中央に配置 */
    justify-content: center;
    margin-top: 60px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 100;
}

/* フローティング表示の場合のスタイル */
.view-more-container.floating {
    position: fixed;
    bottom: 40px;
    right: 40px;
    margin-top: 0;
    transform: translateY(0);
}

/* フローティングボタンの装飾 */
.view-more-container.floating .view-more-btn {
    background: rgba(26, 26, 26, 0.9);
    /* セミブラック設定 */
    color: #fff;
    border-color: transparent;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    padding: 15px 30px;
}

.view-more-container.floating .view-more-btn:hover {
    background: #000;
    transform: scale(1.05);
}

.view-more-container.visible {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.view-more-btn {
    background: transparent;
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 18px 45px;
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    transition: var(--transition-smooth);
    color: var(--text-color);
}

.view-more-btn svg {
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.view-more-btn:hover {
    background: var(--text-color);
    color: var(--bg-color);
    border-color: var(--text-color);
}

.view-more-btn:hover svg {
    transform: rotate(90deg);
}

/* Services Section */
#services {
    padding: 100px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.service-card {
    padding: 60px 40px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.02);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.service-icon {
    margin-bottom: 20px;
    opacity: 0.8;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.service-num {
    font-family: var(--font-display);
    font-size: 0.8rem;
    opacity: 0.3;
    margin-bottom: 10px;
    letter-spacing: 0.1rem;
}

.service-card h3 {
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.15rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.service-card p {
    font-size: 0.9rem;
    opacity: 0.6;
    line-height: 1.8;
}

.service-card.coming-soon {
    opacity: 0.4;
}

.status-badge {
    display: inline-block;
    font-size: 0.6rem;
    letter-spacing: 0.2rem;
    padding: 4px 10px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    margin-bottom: 15px;
    width: fit-content;
}

/* Header Social */
.nav-social {
    margin-left: 20px;
}

.nav-social a {
    display: flex;
    align-items: center;
    opacity: 0.6;
    transition: var(--transition-smooth);
}

.nav-social a:hover {
    opacity: 1;
    transform: translateY(-2px);
}

/* Retouch Comparison Section */
#retouch-comparison {
    padding: 100px 0 150px;
}

.container.wide {
    max-width: 1600px;
}

.comparison-container {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 80px;
    align-items: center;
}

.comparison-text .section-title.text-left {
    margin-bottom: 65px;
}

.comparison-text p {
    font-size: 0.95rem;
    line-height: 1.8;
    opacity: 0.8;
}

.comparison-slider-wrapper {
    position: relative;
    width: 100%;
}

.comparison-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    cursor: ew-resize;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.slider-nav {
    position: absolute;
    top: 50%;
    left: -30px;
    right: -30px;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    z-index: 20;
    pointer-events: none;
    /* 郢晉ｿｫ繝ｳ郢ｧ・ｲ郢晢ｽｼ郢ｧ・ｷ郢晢ｽｧ郢晢ｽｳ郢ｧ・ｳ郢晢ｽｳ郢昴・繝ｪ髢ｾ・ｪ闖ｴ阮吶・郢ｧ・ｯ郢晢ｽｪ郢昴・縺鷹ｨｾ蝓寂с */
}

/* 郢ｧ・ｹ郢晢ｽｩ郢ｧ・､郢敖郢晢ｽｼ隰ｫ蝣ｺ・ｽ諛翫・邵ｺ貅假ｽ∫ｸｺ・ｫ郢晄亢縺・ｹ晢ｽｳ郢ｧ・ｿ郢晢ｽｼ郢ｧ・､郢晏生ﾎｦ郢晏現・定ｿ夲ｽｹ陞ｳ螢ｹ繝ｻ髫補悪・ｴ・ｰ邵ｺ・ｧ隴帷甥譟題峪繝ｻ*/
.comparison-slider,
.slider-nav-btn {
    pointer-events: auto;
}

.slider-nav-btn {
    width: 60px;
    height: 60px;
    background: #fff;
    border: none;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #000;
    cursor: pointer;
    pointer-events: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition-smooth);
    opacity: 0;
    transform: scale(0.8);
}

.comparison-slider-wrapper:hover .slider-nav-btn {
    opacity: 1;
    transform: scale(1);
}

.slider-nav-btn:hover {
    background: #000;
    color: #fff;
}

.comparison-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.comparison-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.before-img {
    width: 50%;
    z-index: 2;
    overflow: hidden;
}

/* Before邵ｺ・ｮ騾包ｽｻ陷剃ｸ岩ｲ郢晢ｽｪ郢ｧ・ｵ郢ｧ・､郢ｧ・ｺ邵ｺ霈費ｽ檎ｸｺ・ｦ邵ｺ蜉ｱ竏ｪ郢ｧ荳岩・邵ｺ繝ｻ・育ｸｺ繝ｻﾂ繝ｻ
   郢ｧ・ｳ郢晢ｽｳ郢昴・繝ｪ邵ｺ讙趣ｽｸ・ｮ郢ｧ阮吶堤ｹｧ繧牙愛陷剃ｸ翫・陷医・繝ｻ陝ｷ繝ｻ・ｼ繝ｻ00%繝ｻ蟲ｨ・帝け・ｭ隰問・笘・ｹｧ繝ｻ*/
.before-img img {
    width: calc(1600px - 430px);
    /* 郢ｧ・ｹ郢晢ｽｩ郢ｧ・､郢敖郢晢ｽｼ邵ｺ・ｮ隴崢陞滂ｽｧ陝ｷ繝ｻ竊楢惺蛹ｻ・冗ｸｺ蟶呻ｽ九・莠･陌夐ｧ繝ｻ竊笛S邵ｺ・ｧ陋ｻ・ｶ陟包ｽ｡郢ｧ繧・ｺ・・繝ｻ*/
    max-width: none;
}

/* 郢晢ｽ｢郢晁・縺・ｹ晢ｽｫ騾包ｽｨ闕ｳ鬆大ｶ檎ｸｺ繝ｻ*/
@media (max-width: 900px) {
    .before-img img {
        width: 100% !important;
        max-width: 100% !important;
    }
}

.comparison-slider .label {
    position: absolute;
    bottom: 20px;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    padding: 5px 15px;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    z-index: 3;
}

.before-img .label {
    left: 20px;
}

.after-img .label {
    right: 20px;
}

.slider-handle {
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background: #fff;
    z-index: 10;
    pointer-events: none;
    transform: translateX(-50%);
}

.handle-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 44px;
    height: 44px;
    background: #fff;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: center;
    align-items: center;
    color: #000;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

.handle-circle svg:first-child {
    margin-right: -4px;
}

.handle-circle svg:last-child {
    margin-left: -4px;
}

/* Profile Section */
#profile {
    padding: 150px 0;
}

.profile-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 100px;
    align-items: center;
}

.profile-image {
    max-width: 80%;
    margin: 0 auto;
    aspect-ratio: 4/5;
    overflow: hidden;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.section-title.text-left {
    text-align: left;
    margin-bottom: 10px;
}

.furigana {
    font-size: 0.85rem;
    letter-spacing: 0.4em;
    opacity: 0.4;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.profile-subtitle {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    margin-bottom: 45px;
    opacity: 0.7;
    text-transform: uppercase;
}

/* Timeline Graphic Design */
.profile-timeline-viz {
    position: relative;
    padding-left: 40px;
    margin-bottom: 60px;
}

.profile-timeline-viz::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 5px;
    bottom: -40px;
    /* 闖ｴ蜥丞項郢ｧ蝣､・ｪ竏壺ｳ隰壽㈱・邵ｺ・ｦ闕ｳ荵昴・郢ｧ・ｻ郢ｧ・ｯ郢ｧ・ｷ郢晢ｽｧ郢晢ｽｳ邵ｺ・ｸ隰暦ｽ･驍ｯ繝ｻ*/
    width: 1px;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0),
            rgba(0, 0, 0, 0.1) 10%,
            rgba(0, 0, 0, 0.1) 90%,
            rgba(0, 0, 0, 0.2));
    z-index: 1;
}

.timeline-item {
    position: relative;
    margin-bottom: 20px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -40px;
    top: 7px;
    width: 9px;
    height: 9px;
    background: var(--accent-color);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.timeline-item .year {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.95rem;
    margin-right: 20px;
    display: inline-block;
    width: 55px;
    color: var(--text-color);
}

.timeline-item .event {
    font-size: 0.85rem;
    color: var(--text-color);
    opacity: 0.6;
    letter-spacing: 0.05em;
}

.profile-bio {
    max-width: 600px;
    position: relative;
    padding-top: 40px;
}


.profile-bio p {
    font-size: 0.95rem;
    line-height: 2.2;
    opacity: 0.8;
    word-break: break-all;
}

/* Flow Section */
#flow {
    padding: 100px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.flow-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    position: relative;
}

.flow-step {
    position: relative;
    padding-top: 30px;
}

.flow-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 30px;
    height: 1px;
    background: currentColor;
    opacity: 0.3;
}

.flow-step .step-num {
    font-family: var(--font-display);
    font-size: 0.7rem;
    opacity: 0.3;
    display: block;
    margin-bottom: 20px;
}

.flow-step h3 {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.15rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.flow-step p {
    font-size: 0.85rem;
    opacity: 0.6;
    line-height: 1.8;
}

/* Contact Section */
#contact {
    padding: 100px 0 150px;
    max-width: 800px;
    margin: 0 auto;
}

.contact-content {
    text-align: center;
}

.contact-content>p {
    margin-bottom: 50px;
    opacity: 0.7;
}

#contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background: var(--secondary-color);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-color);
    font-family: var(--font-primary);
    outline: none;
    transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group textarea:focus,
.contact-select:focus {
    border-color: var(--accent-color);
}

.contact-select {
    width: 100%;
    padding: 15px;
    background: var(--secondary-color);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-color);
    font-family: var(--font-primary);
    outline: none;
    transition: var(--transition-smooth);
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 18px;
}

.contact-select option {
    background: #ffffff;
    color: #333333;
    padding: 10px;
}

.submit-btn {
    padding: 15px 40px;
    background: var(--accent-color);
    color: var(--bg-color);
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-smooth);
    align-self: center;
}

.submit-btn:hover {
    background: #cccccc;
}

/* Footer */
footer {
    padding: 100px 0 50px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer p {
    font-size: 0.8rem;
    opacity: 0.5;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 900px) {

    /* Hero Adjustments */
    #hero {
        flex-direction: column;
        justify-content: center;
        padding-top: 80px;
    }

    .hero-bg-logo {
        font-size: 30vw;
        top: 40%;
    }

    .hero-menu {
        padding: 0;
        width: 100%;
        text-align: center;
        align-items: center;
        margin-bottom: 40px;
        transform: none;
        /* 郢ｧ・ｹ郢晄ｧｭ繝ｻ邵ｺ・ｧ邵ｺ・ｯ隶難ｽｪ驕假ｽｻ陷崎ｼ費ｽ帝囓・｣鬮ｯ・､ */
    }

    .hero-menu h2 {
        font-size: 3rem;
        margin-bottom: 1.5rem;
    }

    .hero-slider {
        width: 90%;
        height: 40vh;
        margin: 0 auto;
        transform: none;
    }

    .hero-menu a {
        font-size: 1rem;
    }

    /* Comparison Slider Adjustments */
    .comparison-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .comparison-text .section-title.text-left {
        text-align: center;
        margin-bottom: 30px;
    }

    .before-img img {
        width: 100%;
        /* 100vw邵ｺ荵晢ｽ芽棔逕ｻ蟲ｩ邵ｺ蜉ｱ窶ｻ邵ｺ・ｯ邵ｺ・ｿ陷・ｽｺ邵ｺ驤ｴ莠溯ｱ・ｽ｢ */
        max-width: none;
    }

    /* Profile Adjustments */
    .profile-grid {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }

    .profile-text .section-title.text-left {
        text-align: center;
    }

    .profile-bio p {
        text-align: center;
        /* 陞ｳ謔溘・闕ｳ・ｭ陞滂ｽｮ隰繝ｻ竏ｴ */
    }

    .profile-timeline-viz {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        /* 驍・ｽ｡隴城豪蝎ｪ邵ｺ・ｪ陝・ｽｾ陟｢繝ｻ*/
    }

    .grid-layout {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 600px) {

    .container {
        padding: 0 25px !important;
        /* 陟托ｽｷ陋ｻ・ｶ騾ｧ繝ｻ竊楢抄蜥丞項郢ｧ蝣､・｢・ｺ闖ｫ繝ｻ*/
        width: 100%;
        box-sizing: border-box;
    }

    /* 郢晁ｼ斐≦郢晢ｽｫ郢ｧ・ｿ郢晁・繝ｻ邵ｺ・ｮ隶難ｽｪ郢ｧ・ｹ郢ｧ・ｯ郢晢ｽｭ郢晢ｽｼ郢晢ｽｫ陝・ｽｾ陟｢繝ｻ*/
    .filter-scroll-wrapper {
        position: relative;
        margin-bottom: 40px;
        width: 100%;
        overflow: hidden;
        /* 郢ｧ・､郢晢ｽｳ郢ｧ・ｸ郢ｧ・ｱ郢晢ｽｼ郢ｧ・ｿ邵ｺ・ｮ邵ｺ・ｯ邵ｺ・ｿ陷・ｽｺ邵ｺ驤ｴ莠溯ｱ・ｽ｢ */
    }

    .filter-bar {
        display: flex;
        overflow-x: scroll;
        /* auto邵ｺ・ｧ邵ｺ・ｯ邵ｺ・ｪ邵ｺ蟲ｻcroll邵ｺ・ｫ邵ｺ蜉ｱ窶ｻ陝ｶ・ｸ隴弱ｊ・｡・ｨ驕会ｽｺ郢ｧ雋橸ｽｼ・ｷ陋ｻ・ｶ */
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 10px;
        /* 郢ｧ・ｹ郢ｧ・ｯ郢晢ｽｭ郢晢ｽｼ郢晢ｽｫ郢晁・繝ｻ邵ｺ・ｮ陝ｷ・ｲ雋ょｳｨ・帝ｫｦ・ｲ邵ｺ繝ｻ*/
        margin-bottom: 0px;
        /* Wrapper邵ｺ・ｧ郢晄ｧｭ繝ｻ郢ｧ・ｸ郢晢ｽｳ驍ゑｽ｡騾・・*/
        justify-content: flex-start;
        /* 陝ｾ・ｦ邵ｺ荵晢ｽ芽叉・ｦ邵ｺ・ｹ郢ｧ繝ｻ*/
        gap: 20px;
        padding-right: 40px;
        /* 郢ｧ・､郢晢ｽｳ郢ｧ・ｸ郢ｧ・ｱ郢晢ｽｼ郢ｧ・ｿ騾包ｽｨ郢ｧ・ｹ郢晏｣ｹ繝ｻ郢ｧ・ｹ */

        /* 郢ｧ・ｹ郢ｧ・ｯ郢晢ｽｭ郢晢ｽｼ郢晢ｽｫ郢晁・繝ｻ郢ｧ螳夲ｽｦ荵昶雷郢ｧ邇厄ｽｨ・ｭ陞ｳ繝ｻ(郢ｧ・ｹ郢晢ｽｩ郢ｧ・､郢晏ｳｨ繝ｰ郢晢ｽｼ) */
        scrollbar-width: thin;
        scrollbar-color: rgba(0, 0, 0, 0.5) rgba(0, 0, 0, 0.05);
        /* Track邵ｺ・ｮ豼ｶ・ｲ郢ｧ繧域ｬ陞ｳ繝ｻ*/
    }

    .filter-bar::-webkit-scrollbar {
        -webkit-appearance: none;
        /* 郢晞亂縺・ｹ昴・縺・ｹ晄じ繝ｻ陞溷・・ｦ・ｳ郢ｧ蝣､笏瑚怏・ｹ陋ｹ繝ｻ*/
        display: block;
        height: 6px;
        /* 邵ｺ霈費ｽ臥ｸｺ・ｫ陝・ｻ｣・陞滂ｽｪ邵ｺ繝ｻ*/
        background: rgba(0, 0, 0, 0.05);
        /* 郢晏現ﾎ帷ｹ昴・縺醍ｸｺ・ｮ髢ｭ譴ｧ蜍ｹ */
    }

    .filter-bar::-webkit-scrollbar-track {
        background: rgba(0, 0, 0, 0.05);
        border-radius: 4px;
    }

    .filter-bar::-webkit-scrollbar-thumb {
        background-color: #333;
        /* 騾ｵ貅倪夢魄溷・竊馴恆莉｣・樊ｿｶ・ｲ */
        border-radius: 4px;
        border: 1px solid rgba(255, 255, 255, 0.2);
        /* 髫募・・ｪ閧ｴﾂ・ｧ陷ｷ蜿ｰ・ｸ鄙ｫ繝ｻ邵ｺ貅假ｽ∫ｸｺ・ｮ陟・・髦憺こ繝ｻ*/
    }

    /* 陷ｿ・ｳ陋幢ｽｴ邵ｺ・ｮ騾具ｽｽ邵ｺ繝ｻ繝ｵ郢ｧ・ｧ郢晢ｽｼ郢晏ｳｨ縺・ｹ晢ｽｳ郢ｧ・ｸ郢ｧ・ｱ郢晢ｽｼ郢ｧ・ｿ */
    .filter-scroll-wrapper::after {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        height: 100%;
        width: 40px;
        background: linear-gradient(to right, transparent, var(--bg-color));
        pointer-events: none;
        opacity: 1;
    }

    .filter-btn {
        flex: 0 0 auto;
        /* 驍ｵ・ｮ陝・ｸ奇ｼ・ｸｺ蟶吮・邵ｺ繝ｻ*/
        padding: 10px 15px;
        /* 郢ｧ・ｿ郢昴・繝ｻ邵ｺ蜉ｱ・・ｸｺ蜷ｶ・樒ｹｧ蛹ｻ竕ｧ邵ｺ・ｫ鬯・ｼ懈ｲｺ隲｡・｡陞滂ｽｧ */
    }

    /* Pricing Accordion Mobile Styles */
    .pricing-grid {
        gap: 20px;
        /* 鬮ｫ蜥惹ｿ｣郢ｧ螳夲ｽｩ・ｰ郢ｧ竏夲ｽ・*/
    }

    .accordion-card .card-header {
        border-bottom: none;
        margin-bottom: 0;
        padding-bottom: 0;
        cursor: pointer;
        position: relative;
    }

    .accordion-card .card-header::after {
        content: '+';
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        font-size: 1.5rem;
        font-weight: 300;
        transition: transform 0.3s ease;
    }

    .accordion-card.active .card-header::after {
        transform: translateY(-50%) rotate(45deg);
    }

    .accordion-content {
        display: none;
        padding-top: 20px;
        border-top: 1px solid rgba(0, 0, 0, 0.1);
        margin-top: 15px;
        animation: slideDown 0.4s ease forwards;
    }

    .accordion-card.active .accordion-content {
        display: block;
    }

    .accordion-close {
        display: block;
        width: 100%;
        padding: 15px;
        margin-top: 20px;
        background: rgba(0, 0, 0, 0.05);
        border: none;
        font-family: var(--font-display);
        letter-spacing: 0.1em;
        font-size: 0.9rem;
        cursor: pointer;
        transition: background 0.3s;
    }

    .accordion-close:hover {
        background: rgba(0, 0, 0, 0.1);
    }

    /* 郢ｧ・｢郢ｧ・ｳ郢晢ｽｼ郢昴・縺・ｹｧ・ｪ郢晢ｽｳ隴弱ｅ繝ｻ郢ｧ・ｫ郢晢ｽｼ郢晏ｳｨ繝ｻ郢昜ｻ｣繝ｧ郢ｧ・｣郢晢ｽｳ郢ｧ・ｰ郢ｧ雋橸ｽｰ莉｣・髫ｱ・ｿ隰ｨ・ｴ */
    .pricing-card.accordion-card {
        padding: 25px 20px;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .section-title {
        font-size: 2rem;
    }

    /* Process Flow */
    .flow-grid {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }

    .view-more-container.floating {
        position: fixed;
        bottom: 20px;
        right: 20px;
        z-index: 1002;
    }

    .view-more-container.floating .view-more-btn {
        padding: 12px 20px;
    }
}

/* --- Concept (AI vs Pro) Section --- */
#concept-message h2.section-title {
    margin-bottom: 40px;
    font-size: 2.2rem;
}

/* --- Reason / Why Choose Section --- */
#reason {
    padding: 100px 0;
    position: relative;
    /* optional: slightly different background to separate */
    /* background: rgba(255,255,255,0.01); */
}

.reason-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.reason-card {
    padding: 40px;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.reason-card:hover {
    background: rgba(255, 255, 255, 0.02);
    border-left-color: #fff;
}

.reason-icon {
    margin-bottom: 25px;
    opacity: 0.7;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.reason-card h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    margin-bottom: 25px;
    letter-spacing: 0.05em;
    font-weight: 500;
}

.reason-card p {
    font-size: 0.95rem;
    line-height: 2;
    opacity: 0.8;
}

.reason-card p strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 10px;
    opacity: 1;
    font-weight: 700;
}

/* --- Flow Section Icons --- */
.flow-icon {
    margin-bottom: 20px;
    opacity: 0.6;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

/* --- Hero Capture Copy (Vertical) --- */
@import url('https://fonts.googleapis.com/css2?family=Shippori+Mincho:wght@500;700&display=swap');

.hero-catchphrase {
    position: absolute;
    bottom: 175px;
    right: calc(20% - 70px);
    /* 邵ｺ霈費ｽ臥ｸｺ・ｫ陷ｿ・ｳ邵ｺ・ｫ陝・・笳・+20pt) */
    /* 闕ｳ鄙ｫ竊楢棔・ｧ邵ｺ髦ｪ・･邵ｺ螢ｹ・臥ｸｺ繝ｻ+25pt) */
    writing-mode: vertical-rl;
    -ms-writing-mode: tb-rl;
    text-orientation: upright;
    color: #fff;
    font-family: 'Shippori Mincho', serif;
    font-weight: 700;
    font-size: 1.6rem;
    /* 1.9rem -> 1.6rem (邵ｺ霈費ｽ臥ｸｺ・ｫ驍ｵ・ｮ陝・・ */
    letter-spacing: 0.4em;
    /* 髯ｦ遒∽ｿ｣繝ｻ閧ｲ・ｸ・ｦ隴厄ｽｸ邵ｺ髦ｪ竊醍ｸｺ・ｮ邵ｺ・ｧ隴√・・ｭ驤ｴ菫｣繝ｻ蟲ｨ・定弱・・｡邵ｺ・ｦ隲繝ｻ・ｷ蝣､蝎ｪ邵ｺ・ｫ */
    line-height: 2.0;
    z-index: 20;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
    opacity: 0;
    animation: fadeUpText 2s ease 1s forwards;
    height: auto;
    mix-blend-mode: overlay;
    /* 鬩･髦ｪ竊醍ｸｺ・｣邵ｺ貊灘・邵ｺ・ｫ驗貞ｼｱ・邵ｺ蜑ｰ・ｦ荵昶斡郢ｧ荵晢ｽ育ｸｺ繝ｻ竊・*/
}

.catchphrase-indent {
    display: inline-block;
    margin-top: 2em;
    /* 2隴√・・ｭ諤懊・闕ｳ荵晢ｿ｡郢ｧ繝ｻ*/
}

@keyframes fadeUpText {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 郢ｧ・ｹ郢晄ｧｭ繝ｻ邵ｺ・ｧ邵ｺ・ｮ髫ｱ・ｿ隰ｨ・ｴ */
@media (max-width: 768px) {
    .hero-catchphrase {
        right: 5%;
        /* 10% -> 5% (郢ｧ・ｹ郢晄ｧｭ繝ｻ邵ｺ・ｧ郢ｧ繧・価邵ｺ・ｫ驕假ｽｻ陷阪・ */
        bottom: 120px;
        font-size: 1.8rem;
        letter-spacing: 0.2em;
        mix-blend-mode: normal;
        /* 郢ｧ・ｹ郢晄ｧｭ繝ｻ邵ｺ・ｧ邵ｺ・ｯ髫ｱ・ｭ邵ｺ・ｿ郢ｧ繝ｻ笘・ｸｺ證ｮ纃ｾ髫輔・*/
    }
}

/* --- Scroll Fade In Animation --- */
.fade-in-section {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1.0s cubic-bezier(0.25, 1, 0.5, 1), transform 1.0s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: opacity, transform, visibility;
    visibility: hidden;
}

.fade-in-section.visible {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

/* --- Footer --- */
footer {
    padding: 0 !important;
    width: 100%;
}

.footer-address-bar {
    background-color: #000;
    color: #fff;
    width: 100%;
    padding: 80px 0 60px;
    margin-top: 5px;
    /* 隶鯉ｽｵ鬮ｯ闊娯穐邵ｺ・ｧ髫ｧ・ｰ郢ｧ竏夲ｽ・*/
}

.footer-content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    font-family: 'Shippori Mincho', serif;
}

.footer-address {
    text-align: center;
    font-size: 1.0rem;
    letter-spacing: 0.1em;
}

.footer-info-item {
    display: inline-block;
    margin: 0 10px;
}

.copyright {
    font-size: 0.8rem;
    opacity: 0.6;
    font-family: var(--font-primary);
}


/* --- Floating CTA --- */
.floating-cta {
    background-color: #808080;
    /* 郢晢ｽｪ郢ｧ・ｯ郢ｧ・ｨ郢ｧ・ｹ郢晉｣ｯﾂ螢ｹ・顔ｸｺ・ｮ郢ｧ・ｰ郢晢ｽｬ郢晢ｽｼ */
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 1001;
    transition: var(--transition-smooth);
    opacity: 0;
    /* JS邵ｺ・ｧ髯ｦ・ｨ驕会ｽｺ陋ｻ・ｶ陟包ｽ｡ */
    transform: translateY(20px);
    pointer-events: auto;
}

.floating-cta.visible {
    opacity: 1;
    transform: translateY(0);
}

.floating-cta svg {
    width: 24px;
    height: 24px;
}

.floating-cta .cta-text {
    position: absolute;
    right: 70px;
    background: #000;
    color: #fff;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(10px);
    transition: var(--transition-smooth);
    pointer-events: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.floating-cta:hover .cta-text {
    opacity: 1;
    transform: translateX(0);
}

.floating-cta:hover {
    background-color: #555;
    transform: scale(1.1);
}

/* 郢ｧ・ｹ郢晄ｧｭ繝ｻ髯ｦ・ｨ驕会ｽｺ隴弱ｅ繝ｻCTA髫ｱ・ｿ隰ｨ・ｴ */
@media (max-width: 900px) {
    .floating-cta {
        opacity: 1;
        transform: translateY(0);
        bottom: 20px;
        right: 20px;
    }

    .reason-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .reason-card {
        align-items: center;
        text-align: center;
    }

    #concept-message p {
        text-align: center;
        /* 隲｢荳槫ｳ咎ｧ繝ｻ竊題淦・ｦ陝・・笳狗ｹｧ蜑・ｽｸ・ｭ陞滂ｽｮ邵ｺ・ｸ */
        padding: 0 20px;
    }
}

/* --- Header & Hero Enhanced Layout --- */
.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-script-logo {
    height: 30px;
    /* Reduced for header */
    width: auto;
    /* Black logo requested, default asset is black */
}

.hero-bg-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 0.85;
    /* Tight line height for overlap avoidance but closeness */
    text-align: center;
}

.hero-bg-logo span {
    display: block;
}

/* Adjust hero-bg-logo responsive if needed */
@media (max-width: 768px) {
    .hero-bg-logo {
        font-size: 18vw;
    }
}

/* --- Redesigned Footer Styles --- */
.footer-redesign-wrapper {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.footer-branding-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo-group {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-script-logo {
    height: 40px;
    /* Adjust based on asset */
    width: auto;
    filter: invert(1);
    /* Black logo to White for footer */
}

.footer-branding-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    /* +3pt adjusted */
    letter-spacing: 0.2rem;
    font-weight: 700;
}

.footer-social-links .instagram-link {
    color: #fff;
    opacity: 0.6;
    transition: var(--transition-smooth);
}

.footer-social-links .instagram-link:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.footer-divider {
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin: 0;
}

.footer-nav-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.footer-nav-col h4 {
    font-size: 0.8rem;
    letter-spacing: 0.2rem;
    margin-bottom: 20px;
    opacity: 0.4;
    font-weight: 400;
}

.footer-nav-col ul {
    list-style: none;
    padding: 0;
}

.footer-nav-col li {
    margin-bottom: 12px;
}

.footer-nav-col a {
    color: #fff;
    text-decoration: none;
    font-size: 0.85rem;
    opacity: 0.7;
    transition: var(--transition-smooth);
    letter-spacing: 0.05em;
}

.footer-nav-col a:hover {
    opacity: 1;
    padding-left: 5px;
}

.footer-tagline {
    font-size: 0.9rem;
    font-family: 'Shippori Mincho', serif;
    opacity: 0.5;
    line-height: 1.8;
}

.footer-bottom-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 20px;
}

.footer-address-text {
    font-size: 0.8rem;
    /* -2pt adjusted */
    opacity: 0.5;
    letter-spacing: 0.05em;
}

/* Privacy Modal Specifics */
.privacy-content {
    background: #111;
    color: #fff;
    padding: 60px;
    max-width: 800px !important;
    text-align: left;
}

.privacy-body {
    margin-top: 30px;
    line-height: 2;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .footer-nav-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .footer-bottom-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
}

/* --- Price Section Redesign --- */
#pricing {
    padding: 100px 0;
}

#pricing .section-title {
    margin-bottom: 80px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.pricing-card {
    padding: 50px 35px;
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.03);
}

.card-header {
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding-bottom: 15px;
}

.card-header h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    margin: 0;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 700;
}

.card-header .jp-title {
    display: block;
    font-size: 0.85rem;
    opacity: 0.5;
    margin-top: 5px;
    letter-spacing: 0.05em;
    font-weight: 400;
}

.pricing-sub-group {
    margin-bottom: 35px;
}

.group-title {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 15px;
    border-left: 2px solid #000;
    padding-left: 12px;
}

.group-desc {
    font-size: 0.75rem;
    opacity: 0.6;
    margin-bottom: 15px;
    line-height: 1.6;
}

.price-list {
    list-style: none;
    padding: 0;
    margin-bottom: 10px;
}

.price-list li {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.price-list .label {
    font-size: 0.8rem;
    opacity: 0.8;
}

.price-list .amount {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
    text-align: right;
}

.price-list .amount small {
    display: block;
    font-size: 0.6rem;
    font-weight: 400;
    opacity: 0.5;
}

.info-row {
    display: flex;
    font-size: 0.75rem;
    margin-bottom: 5px;
    line-height: 1.6;
}

.info-row .info-label {
    width: 60px;
    opacity: 0.5;
    flex-shrink: 0;
}

.item-note {
    font-size: 0.75rem;
    opacity: 0.5;
    margin-top: 10px;
    line-height: 1.6;
}

.price-footer {
    margin-top: 80px;
    padding-top: 60px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
}

.footer-col h4 {
    font-family: var(--font-display);
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    margin-bottom: 25px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding-bottom: 10px;
}

.footer-info-list {
    font-size: 0.8rem;
    opacity: 0.7;
}

.footer-info-list p {
    margin: 0 0 15px;
    line-height: 1.8;
}

.footer-info-list strong {
    color: var(--text-color);
    opacity: 1;
}

@media (max-width: 1000px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {

    .pricing-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card,
    .service-card {
        padding: 30px 20px;
    }

    .flow-step {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

.privacy-content {
    width: 90%;
    height: 90vh;
    padding: 30px 20px;
    margin: 5vh auto;
}

/* Mobile Padding Fix (Removed to use 30px from above) */

.pricing-card {
    padding: 40px 25px;
}



/* --- Opening Animation Styles --- */
#opening-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s ease-out, visibility 0.8s;
}

#opening-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Opening Animation */
@keyframes logo-spin {
    0% {
        transform: scale(0.9);
        opacity: 0.7;
    }

    50% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(0.9);
        opacity: 0.7;
    }
}

.opening-logo-img {
    width: 120px;
    height: auto;
    animation: logo-spin 2s infinite ease-in-out;
    opacity: 0;
    animation: logoReveal 0.8s ease-out forwards;
}

@keyframes logoReveal {
    0% {
        opacity: 0;
        transform: translateY(15px) scale(0.95);
        filter: blur(5px);
    }

    30% {
        opacity: 1;
        transform: translateY(0) scale(1.0);
        filter: blur(0);
    }

    80% {
        opacity: 1;
        transform: scale(1.0);
    }

    100% {
        opacity: 0;
        transform: scale(1.05);
    }
}