/* ========================================
   KAJISHIN Theme - Custom Styles
   ======================================== */

/* ========================================
   1. RESET & BASE STYLES
   ======================================== */

/* CSS Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Base Font Settings */
body {
    font-family: 'neue-frutiger-world', 'inter', Arial, sans-serif;
    color: #4D4947;
    background: #F7F7F7;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Hidden utility */
.hidden {
    display: none;
}

/* ========================================
   2. FONT CLASSES
   ======================================== */

/* Japanese Font Setting */
.font-jp {
    font-family: 'inter', Arial, sans-serif;
}

/* Serif Fonts for specific design elements */
.font-serif-jp {
    font-family: 'Noto Serif JP', serif;
}

.font-serif-en {
    font-family: 'Playfair Display', serif;
}

/* ========================================
   3. UTILITY CLASSES
   ======================================== */

/* Container */
.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

@media (min-width: 768px) {
    .container {
        padding: 0 48px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

/* 大画面デスクトップ (1280px以上) */
@media (min-width: 1280px) {
    .container {
        max-width: 1200px;
        padding: 0 48px;
    }
}

/* ワイドスクリーン (1440px以上) */
@media (min-width: 1440px) {
    .container {
        max-width: 1320px;
        padding: 0 60px;
    }
}

/* 大画面デスクトップ (1280px以上) - Our Strengths Section */
@media (min-width: 1280px) {
    .home-philosophy-body p {
        font-size: 15px;
        line-height: 2.1;
    }
}

/* ワイドスクリーン (1440px以上) - Our Strengths Section */
@media (min-width: 1440px) {
    .home-philosophy-body p {
        font-size: 16px;
        line-height: 2.2;
    }
}

/* Desktop line break */
.desktop-break {
    display: none;
}

@media (min-width: 1024px) {
    .desktop-break {
        display: inline;
    }
}

/* Vertical Writing Mode */
.writing-vertical {
    writing-mode: vertical-rl;
    text-orientation: upright;
    letter-spacing: 0.2em;
}

/* Custom Letter Spacing */
.tracking-widest-custom {
    letter-spacing: 0.4em;
}

/* Fade In Up Animation */
.animate-fade-in-up {
    animation: fadeInUp 1s ease-out 0.3s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   4. HEADER & NAVIGATION
   ======================================== */

/* Site Header - wrapper for navigation */
.site-header {
    position: relative;
    z-index: 50;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    transition: background-color 0.3s ease, backdrop-filter 0.3s ease;
}

.navbar-scrolled {
    background: rgba(34, 34, 34, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.navbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    margin: 0 auto;
}

.logo-link {
    color: white;
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4em;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
}

.logo-link:hover {
    opacity: 0.8;
}

.logo-img {
    height: 40px;
    width: auto;
}

/* Desktop Menu */
.desktop-menu {
    display: none;
}

@media (min-width: 1024px) {
    .desktop-menu {
        display: flex;
        gap: 2rem;
        align-items: center;
    }
}

.nav-link {
    color: white;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: opacity 0.3s ease, color 0.3s ease;
    padding: 0.5rem 0;
}

.nav-link:hover {
    opacity: 0.7;
}

/* Navigation Dropdown */
.nav-dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: default;
}

.dropdown-toggle:hover {
    opacity: 1;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: transparent;
    padding: 0.75rem 0;
    min-width: 200px;
    text-align: center;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
}

.nav-dropdown:hover .dropdown-menu {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    visibility: visible;
}

/* Dropdown List */
.dropdown-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.dropdown-list li {
    margin: 0 0 0.5rem 0;
}

.dropdown-list li:last-child {
    margin-bottom: 0;
}

.dropdown-item {
    display: block;
    padding: 0.25rem 0;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 400;
    white-space: nowrap;
    transition: color 0.3s ease;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3), 0 2px 4px rgba(0, 0, 0, 0.3);
}

.dropdown-item:hover {
    color: white;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9), 0 2px 10px rgba(0, 0, 0, 0.6);
}

/* Chevron Icon */
.chevron-icon {
    width: 1rem;
    height: 1rem;
    margin-left: 0.25rem;
    vertical-align: middle;
    transition: transform 0.3s ease;
}

.nav-dropdown:hover .chevron-icon {
    transform: rotate(180deg);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: white;
}

@media (min-width: 1024px) {
    .mobile-menu-btn {
        display: none;
    }
}

/* Mobile Menu */
.mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(34, 34, 34, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1rem 0;
    display: none;
}

.mobile-menu:not(.hidden) {
    display: block;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-menu .nav-link {
    display: block;
    padding: 0.75rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 1024px) {
    .mobile-menu {
        display: none !important;
    }
}

/* Mobile Menu Inner */
.mobile-menu-inner {
    padding: 1rem 0;
}

.mobile-nav-link {
    display: block;
    padding: 0.75rem 1.5rem;
    color: white;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease;
}

.mobile-nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
}

.mobile-nav-section {
    padding: 0.5rem 0;
}

.mobile-nav-label {
    display: block;
    padding: 0.5rem 1.5rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.mobile-nav-icon {
    display: block;
    padding: 0.75rem 1.5rem;
    color: white;
    text-decoration: none;
}

/* Instagram Icon */
.icon-instagram {
    width: 1.25rem;
    height: 1.25rem;
}

.nav-icon {
    display: flex;
    align-items: center;
}

/* Menu Toggle Button */
.menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: white;
}

.icon-menu {
    width: 1.5rem;
    height: 1.5rem;
}

/* ========================================
   5. HERO SECTION (.hero-section)
   ======================================== */

.hero-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.7);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5));
}

.hero-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 1.5rem;
    color: white;
}

.hero-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 4.5rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 6rem;
    }
}

.hero-subtitle {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.125rem;
    font-weight: 400;
    letter-spacing: 0.3em;
    opacity: 0.9;
}

@media (min-width: 768px) {
    .hero-subtitle {
        font-size: 1.5rem;
    }
}

/* ========================================
   6. STRENGTHS SECTION (.strengths-section)
   ======================================== */

.strengths-section {
    position: relative;
    background: #FAFAFA;
    padding: 5rem 0;
    overflow: hidden;
}

@media (min-width: 768px) {
    .strengths-section {
        padding: 8rem 0;
    }
}

/* Decorative Lines */
.decorative-line {
    position: absolute;
    border-top: 1px solid #E5E5E5;
    border-bottom: 1px solid #E5E5E5;
}

.decorative-line.top {
    top: 20%;
    left: 0;
    right: 0;
    height: 2px;
}

.decorative-line.bottom {
    bottom: 20%;
    left: 0;
    right: 0;
    height: 2px;
}

/* Section Label */
.section-label-wrapper {
    margin-bottom: 3rem;
}

.section-label {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.875rem;
    font-weight: 600;
    opacity: 0.6;
    margin-bottom: 2rem;
}

/* Strengths Content */
.strengths-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .strengths-content {
        flex-direction: row;
        gap: 5rem;
        align-items: flex-start;
    }
}

.strengths-title-wrapper {
    flex-shrink: 0;
}

.strengths-title {
    writing-mode: vertical-rl;
    text-orientation: upright;
    font-family: 'Noto Serif JP', serif;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    line-height: 1.8;
    white-space: nowrap;
    flex-shrink: 0;
}

@media (min-width: 1024px) {
    .strengths-title {
        font-size: 2.5rem;
    }
}

.strengths-text {
    flex: 1;
}

.strengths-paragraph {
    line-height: 2;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

.strengths-button-wrapper {
    margin-top: 2rem;
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 50px;
    font-family: 'inter', 'neue-frutiger-world', Arial, sans-serif;
    font-size: 0.875rem;
    font-weight: 400;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    letter-spacing: 0.05em;
}

.btn-outline {
    border: 1px solid #4D4947;
    color: #4D4947;
    background: transparent;
    border-radius: 9999px;
}

.btn-outline:hover {
    background: #4D4947;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(77, 73, 71, 0.2);
}

/* ========================================
   7. BRAND GALLERY (.brand-gallery-section)
   ======================================== */

.brand-gallery-section {
    padding: 5rem 0;
}

@media (min-width: 768px) {
    .brand-gallery-section {
        padding: 2rem 0;
    }
}


.brand-gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 768px) {
    .brand-gallery-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.3rem;
    }
}

.brand-gallery-column-left,
.brand-gallery-column-right {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.brand-gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
    height: 400px;
}

@media (min-width: 768px) {
    .brand-gallery-item {
        height: 290px;
    }
}

@media (min-width: 768px) {
    .brand-gallery-item-large {
        min-height: 585px;
    }
}

.brand-gallery-item:hover {
    transform: none;
}

.brand-gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.brand-gallery-item:hover .brand-gallery-image {
    transform: scale(1.05);
}

.brand-gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), transparent);
    z-index: 1;
    pointer-events: none;
}

.brand-gallery-text {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    color: white;
    z-index: 10;
}

@media (min-width: 768px) {
    .brand-gallery-text {
        top: 2rem;
        right: 3rem;
        bottom: auto;
    }
}

.brand-logo-img {
    height: 40px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

/* RAUCORD Brand Text */
.brand-gallery-text-raucord {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: end;
}

.brand-gallery-text-twentys {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: end;
}

.brand-gallery-text-kajishin {
    display: flex;
    flex-direction: column;
    align-items: end;
}

/* Brand Gallery Description - Hover Effect */
.brand-gallery-description {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    background: #F7F7F7;
    padding: 1.5rem 1.5rem;
    transform: translateY(100%);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.brand-gallery-heading {
    color: #4D4947;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin: 0 0 0.5rem 0;
}

.brand-gallery-description p {
    color: #4D4947;
    font-size: 0.85rem;
    letter-spacing: 0.03em;
    line-height: 1.7;
    margin: 0 0 1rem 0;
    text-align: start;
    width: 100%;
}

.brand-gallery-more {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: #5D4037;
    font-size: 0.75rem;
    font-weight: bold;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    position: relative;
}

.brand-gallery-more::after {
    content: '→';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: 2px solid #5D4037;
    font-size: 0.75rem;
}

.brand-gallery-more::before {
    display: none;
}

/* Reveal Box Animation Base */
.reveal-box {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    transform: scaleX(0);
    transform-origin: left center;
}

/* Colors matching text */
.heading-box {
    background-color: #4D4947;
}

.content-box {
    background-color: #4D4947;
}

.more-box {
    background-color: #5D4037;
}

/* Parent elements need position relative */
.brand-gallery-heading,
.brand-gallery-description p,
.brand-gallery-more {
    position: relative;
    overflow: hidden;
}

/* Initial state - heading と p は常に表示、more だけ非表示 */
.brand-gallery-heading,
.brand-gallery-description p {
    opacity: 1;
}

.brand-gallery-more {
    opacity: 0;
}

/* Hover animations - MOREボタンのみアニメーション */
.brand-gallery-item:hover .brand-gallery-more {
    animation: textReveal 0.8s ease 0.2s forwards;
}

/* heading-box と content-box のアニメーションは無効化 */

.brand-gallery-item:hover .more-box {
    animation: boxReveal 0.8s ease 0.2s forwards;
}

@keyframes boxReveal {
    0% {
        transform: scaleX(0);
        transform-origin: left center;
    }
    45% {
        transform: scaleX(1);
        transform-origin: left center;
    }
    55% {
        transform: scaleX(1);
        transform-origin: right center;
    }
    100% {
        transform: scaleX(0);
        transform-origin: right center;
    }
}

@keyframes textReveal {
    0% {
        opacity: 0;
    }
    40% {
        opacity: 0;
    }
    60% {
        opacity: 1;
    }
    100% {
        opacity: 1;
    }
}

@media (min-width: 768px) {
    .brand-gallery-description {
        padding: 1.3rem 1.5rem;
        bottom: 15px;
        left: 15px;
        right: 15px;
    }

    .brand-gallery-heading {
        font-size: 1.1rem;
        margin: 0 0 0.5rem 0;
    }

    .brand-gallery-description p {
        font-size: 0.8rem;
        margin: 0 0 0.8rem 0;
    }

    .brand-gallery-more {
        font-size: 0.8rem;
    }

    .brand-gallery-more::after {
        width: 32px;
        height: 32px;
    }
}

.brand-gallery-item:hover .brand-gallery-description {
    transform: translateY(0);
    opacity: 1;
}

.brand-logo-group {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.brand-logo-icon {
    position: relative;
    width: 3rem;
    height: 3rem;
    border: 2px solid white;
}

@media (min-width: 768px) {
    .brand-logo-icon {
        width: 4rem;
        height: 4rem;
    }
}

.raucord-icon {
    position: relative;
}

.raucord-icon-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1.5rem;
    height: 1.5rem;
    border: 2px solid white;
    border-radius: 50%;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

@media (min-width: 768px) {
    .brand-name {
        font-size: 2rem;
    }
}

.brand-origin {
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    opacity: 0.9;
    margin-left: 0.5rem;
}

/* TWENTYS Brand Text */
.brand-gallery-text-twentys {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.twentys-name {
    font-size: 1.25rem;
    font-weight: 500;
    letter-spacing: 0.05em;
}

@media (min-width: 768px) {
    .twentys-name {
        font-size: 1.5rem;
    }
}

.twentys-logo {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 600;
    font-size: 2rem;
}

@media (min-width: 768px) {
    .twentys-logo {
        font-size: 3rem;
    }
}

/* KAJISHIN Brand Text */
.brand-gallery-text-kajishin {
    display: flex;
    flex-direction: column;
}

.kajishin-name {
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

@media (min-width: 768px) {
    .kajishin-name {
        font-size: 3rem;
    }
}

/* ========================================
   8. NEWS SECTION (.news-section)
   ======================================== */

.news-section {
    padding: 5rem 0;
}

@media (min-width: 768px) {
    .news-section {
        padding: 3rem 0;
        padding-bottom: 5rem;
    }
}

/* News Header */
.news-header {
    margin-bottom: 3rem;
    text-align: left;
}

@media (min-width: 1024px) {
    .news-header {
        margin-bottom: 4rem;
    }
}

.news-section .news-title {
    font-size: 1.6rem;
    font-weight: normal;
    letter-spacing: 0.05em;
    color: #444444;
    margin: 0;
}

.news-subtitle {
    font-size: 0.875rem;
    color: #4D4947;
    letter-spacing: 0.05em;
    margin-top: 1rem;
}

/* News Grid */
.news-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .news-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem;
    }
}

/* News Item */
.news-item {
    border-radius: 0.5rem;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    display: block;
}

.news-item:hover {
    border-color: #4D4947;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.news-meta {
    display: flex;
    gap: 1rem;
    padding: 1rem 1rem;
}

.news-date {
    font-size: 0.75rem;
    color: #999;
    margin: 0;
}

.news-category {
    font-size: 0.75rem;
    color: #4D4947;
    font-weight: 500;
    margin: 0;
}

.news-thumbnail {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #f5f5f5;
}

.news-thumbnail-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-item:hover .news-thumbnail-image {
    transform: scale(1.1);
}

.news-excerpt {
    font-size: 0.875rem;
    line-height: 1.8;
    color: #4D4947;
    padding: 1.5rem 1rem;
}

/* News Button */
.news-button-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

/* ========================================
   9. CONTACT SECTION (.contact-section)
   ======================================== */

.contact-section {
    position: relative;
    height: 500px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 768px) {
    .contact-section {
        height: 370px;
    }
}

.contact-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.contact-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.contact-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
    padding: 0 1.5rem;
}

.contact-title {
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 0.025em;
    display: inline-block;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

.contact-text {
    font-size: 0.875rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.8;
}

@media (min-width: 768px) {
    .contact-text {
        font-size: 0.8rem;
    }
}

.contact-subtitle {
    font-size: 1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

@media (min-width: 768px) {
    .contact-subtitle {
        font-size: 1.25rem;
    }
}

.contact-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

@media (min-width: 768px) {
    .contact-buttons {
        flex-direction: row;
        justify-content: center;
        gap: 7.5rem;
    }
}

.btn-contact {
    border: 2px solid white;
    color: white;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 9999px;
    padding: 1rem 2.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-contact:hover {
    background: white;
    color: #4D4947;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3);
}

/* ========================================
   10. FOOTER (.site-footer)
   ======================================== */

.site-footer {
    background: #222222;
    color: white;
    padding: 4rem 0 2rem;
}

/* ========================================
   11. WORDPRESS CLASSES
   ======================================== */

/* WordPress Alignment Classes */
.alignleft {
    float: left;
    margin-right: 1.5rem;
    margin-bottom: 1rem;
}

.alignright {
    float: right;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* WordPress Image Captions */
.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    font-size: 0.875rem;
    color: #4D4947;
    text-align: center;
    margin-top: 0.5rem;
}

/* Screen Reader Text */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* ========================================
   12. HOME PHILOSOPHY SECTION (.home-philosophy)
   ======================================== */

.home-philosophy {
    position: relative;
    /* background-color: #f9f9f9; */
    min-height: 70vh;
    overflow: hidden;
}

.home-philosophy-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 100px 50px;
    box-sizing: border-box;
}

.home-philosophy-title {
    position: absolute;
    top: 80px;
    left: 50px;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    color: #444444;
    margin: 0;
    font-weight: normal;
}

.home-philosophy-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 50px;
    position: relative;
    z-index: 1;
}

.home-philosophy-vertical-area {
    width: 30%;
    height: 50vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-right: 10px;
}

.home-philosophy-vertical-text {
    writing-mode: vertical-rl;
    font-size: 1.2rem;
    letter-spacing: 0.3em;
    line-height: 2.5;
    color: #444444;
    font-weight: 500;
    margin: 0;
    font-family: 'Noto Serif JP', serif;
}

.home-philosophy-vertical-text span {
    display: block;
}

.home-philosophy-vertical-text .line2 {
    margin-top: 40px;
}

.home-philosophy-body {
    width: 65%;
    font-size: 16px;
    color: #4D4947666;
    text-align: left;
    padding-top: 50px;
    line-height: 2;
}

.home-philosophy-body p {
    margin-bottom: 1.5em;
    font-size: 12px;
}

/* 装飾線 */
.home-philosophy-line-vertical {
    position: absolute;
    top: 110px;
    right: 7%;
    width: 1px;
    height: 70%;
    background-color: #d0d0d0;
    z-index: 0;
}

.home-philosophy-line-vertical-offset {
    position: absolute;
    top: 80px;
    right: 4%;
    width: 1px;
    height: 60%;
    background-color: #d0d0d0;
    z-index: 0;
    opacity: 0.7;
}

.home-philosophy-line-horizontal-top {
    position: absolute;
    top: 140px;
    right: 2%;
    width: 33%;
    height: 1px;
    background-color: #d0d0d0;
    z-index: 0;
}

.home-philosophy-line-horizontal-bottom {
    position: absolute;
    bottom: 50px;
    left: 50px;
    width: 30%;
    height: 1px;
    background-color: #d0d0d0;
}

@media (max-width: 900px) {
    .home-philosophy-container {
        padding: 80px 30px;
    }

    .home-philosophy-title {
        left: 30px;
    }

    .home-philosophy-content {
        flex-direction: column;
        margin-top: 80px;
    }

    .home-philosophy-vertical-area {
        width: 100%;
        height: auto;
        padding: 0 0 60px 0;
        justify-content: flex-start;
    }

    .home-philosophy-vertical-text {
        writing-mode: vertical-rl;
        height: 300px;
        margin: 0 auto;
    }

    .home-philosophy-body {
        width: 100%;
        padding-top: 0;
    }

    .home-philosophy-line-vertical {
        right: 20px;
        height: 50%;
    }

    .home-philosophy-line-vertical-offset {
        right: 33px;
        top: 60px;
        height: 40%;
    }

    .home-philosophy-line-horizontal-top {
        display: block;
        top: 130px;
        right: 2%;
    }

    .home-philosophy-line-horizontal-bottom {
        width: 80%;
        bottom: 40px;
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 480px) {
    .home-philosophy-vertical-text {
        font-size: 1.4rem;
        height: 250px;
    }
}

/* ========================================
   13. RESPONSIVE BREAKPOINTS
   ======================================== */

/* Mobile First Approach - Base styles above are mobile */
/* Tablet and up (768px+) - Medium screens */
/* Desktop and up (1024px+) - Large screens */
/* Large Desktop (1200px+) - Extra large screens */

/* ========================================
   14. ADDITIONAL RESPONSIVE STYLES
   ※1100px以上の表示には影響しません
   ======================================== */

/* ----------------------------------------
   タブレット (768px - 1023px)
---------------------------------------- */
@media (max-width: 1023px) and (min-width: 768px) {
    /* Container */
    .container {
        padding: 0 32px;
    }

    /* Philosophy Section */
    .home-philosophy-container {
        padding: 80px 40px;
    }

    .home-philosophy-vertical-text {
        font-size: 1.1rem;
        letter-spacing: 0.25em;
    }

    .home-philosophy-body {
        width: 60%;
    }

    .home-philosophy-body p {
        font-size: 11px;
    }

    /* Brand Gallery */
    .brand-gallery-item {
        height: 250px;
    }

    .brand-gallery-item-large {
        min-height: 505px;
    }

    .brand-gallery-description {
        padding: 1.5rem 1.25rem;
    }

    .brand-gallery-heading {
        font-size: 0.95rem;
    }

    .brand-gallery-description p {
        font-size: 0.75rem;
    }

    /* News Section */
    .news-grid {
        gap: 1.5rem;
    }

    .news-excerpt {
        font-size: 0.8rem;
        padding: 1rem;
    }
}

/* ----------------------------------------
   スマートフォン横向き (480px - 767px)
---------------------------------------- */
@media (max-width: 767px) and (min-width: 480px) {
    /* Container */
    .container {
        padding: 0 20px;
    }

    /* Philosophy Section */
    .home-philosophy {
        min-height: auto;
    }

    .home-philosophy-container {
        padding: 60px 24px;
    }

    .home-philosophy-content {
        flex-direction: column;
        margin-top: 60px;
    }

    .home-philosophy-vertical-area {
        width: 100%;
        height: auto;
        padding: 0 0 40px 0;
        justify-content: center;
    }

    .home-philosophy-vertical-text {
        font-size: 1.1rem;
        height: 260px;
    }

    .home-philosophy-body {
        width: 100%;
        padding-top: 0;
    }

    .home-philosophy-body p {
        font-size: 12px;
        line-height: 1.9;
    }

    /* Brand Gallery */
    .brand-gallery-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .brand-gallery-item {
        height: 300px;
    }

    .brand-gallery-item-large {
        min-height: 300px;
    }

    .brand-gallery-description {
        padding: 1.25rem 1rem;
    }

    .brand-gallery-heading {
        font-size: 0.9rem;
    }

    .brand-gallery-description p {
        font-size: 0.75rem;
        line-height: 1.6;
    }

    /* タッチデバイス対応: 説明を常に表示 */
    @media (hover: none) {
        .brand-gallery-description {
            transform: translateY(0);
            opacity: 1;
            position: relative;
            bottom: auto;
            left: auto;
            right: auto;
            background: rgba(247, 247, 247, 0.95);
        }

        .brand-gallery-item {
            height: auto;
        }

        .brand-gallery-image {
            height: 220px;
        }

        .brand-gallery-more {
            opacity: 1;
        }
    }

    /* News Section */
    .news-section {
        padding: 3rem 0;
    }

    .news-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .news-header {
        margin-bottom: 2rem;
    }
}

/* ----------------------------------------
   スマートフォン縦向き (479px以下)
---------------------------------------- */
@media (max-width: 479px) {
    /* Container */
    .container {
        padding: 0 16px;
    }

    /* Philosophy Section */
    .home-philosophy {
        min-height: auto;
    }

    .home-philosophy-container {
        padding: 50px 16px;
    }

    .home-philosophy-title {
        left: 16px;
        top: 60px;
        font-size: 0.8rem;
    }

    .home-philosophy-content {
        flex-direction: column;
        margin-top: 50px;
    }

    .home-philosophy-vertical-area {
        width: 100%;
        height: auto;
        padding: 0 0 30px 0;
        justify-content: center;
    }

    .home-philosophy-vertical-text {
        font-size: 1rem;
        height: 240px;
        letter-spacing: 0.2em;
        line-height: 2.2;
        margin: 4rem 0;
    }

    .home-philosophy-body {
        width: 100%;
        padding-top: 0;
        margin-top: 4rem;
    }

    /* スマホでは改行を削除 */
    .home-philosophy-body.font-jp br {
        display: none;
    }

    .home-philosophy-body p {
        font-size: 12px;
        margin-bottom: 1.2em;
    }

    /* 装飾線の調整（スマホでも表示） */
    .home-philosophy-line-vertical {
        right: 50px;
        height: 40%;
    }

    .home-philosophy-line-vertical-offset {
        display: block;
        right: 33px;
        top: 60px;
        height: 40%;
    }

    .home-philosophy-line-horizontal-top {
        display: block;
        top: 130px;
        right: 2%;
    }

    .home-philosophy-line-horizontal-bottom {
        width: 60%;
        bottom: 480px;
        left: -120px;
        transform: none;
    }

    /* Brand Gallery */
    .brand-gallery-section {
        padding: 3rem 0;
    }

    .brand-gallery-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .brand-gallery-item {
        height: 280px;
    }

    .brand-gallery-item-large {
        min-height: 280px;
    }

    .brand-gallery-text {
        top: 1.5rem;
        right: 1.5rem;
    }

    .brand-logo-img {
        height: 30px;
    }

    .brand-gallery-description {
        padding: 1rem;
        bottom: 8px;
        left: 8px;
        right: 8px;
    }

    .brand-gallery-heading {
        font-size: 0.85rem;
        margin-bottom: 0.4rem;
    }

    .brand-gallery-description p {
        font-size: 0.7rem;
        line-height: 1.55;
        margin-bottom: 0.75rem;
    }

    .brand-gallery-more {
        font-size: 0.7rem;
    }

    .brand-gallery-more::after {
        width: 24px;
        height: 24px;
        font-size: 0.65rem;
    }

    /* タッチデバイス対応 */
    @media (hover: none) {
        .brand-gallery-description {
            transform: translateY(0);
            opacity: 1;
            position: relative;
            bottom: auto;
            left: auto;
            right: auto;
            background: rgba(247, 247, 247, 0.95);
        }

        .brand-gallery-item {
            height: auto;
        }

        .brand-gallery-image {
            height: 200px;
        }

        .brand-gallery-more {
            opacity: 1;
        }
    }

    /* News Section */
    .news-section {
        padding: 2.5rem 0;
    }

    .news-header {
        margin-bottom: 1.5rem;
    }

    .news-subtitle {
        font-size: 0.8rem;
        margin-top: 0.75rem;
    }

    .news-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .news-meta {
        padding: 0.75rem;
    }

    .news-date,
    .news-category {
        font-size: 0.7rem;
    }

    .news-excerpt {
        font-size: 0.8rem;
        padding: 1rem 0.75rem;
        line-height: 1.7;
    }

    .news-button-wrapper {
        margin-top: 2rem;
    }

    .btn {
        padding: 10px 40px;
        font-size: 0.8rem;
    }
}
