/*
Theme Name: 22新 2025222222222
Theme URI: https://sense.plushair.com
Author: SENSE by plushair
Author URI: https://sense.plushair.com
Description: SENSE by plushair WordPress Theme 2025
Version: 1.0.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sense2025
*/

/* Design System - Core Variables */
:root {
    /* Viewport Height */
    --vh: 1vh;

    /* Layout */
    --container-max-width: 1200px;
    --container-narrow-max-width: 1000px;
    --content-max-width: 800px;
    --container-padding: 1.25rem;
    --section-spacing: 4rem;
    --grid-gap: 1rem;

    /* Brand Colors */
    --color-primary: #FF6384;
    --color-primary-dark: #FF4F75;
    --color-primary-light: #FFE4EA;
    --color-secondary: #6B7280;

    /* Neutral Colors */
    --color-gray-50: #F9FAFB;
    --color-gray-100: #F3F4F6;
    --color-gray-200: #E5E7EB;
    --color-gray-300: #D1D5DB;
    --color-gray-400: #9CA3AF;
    --color-gray-500: #6B7280;
    --color-gray-600: #4B5563;
    --color-gray-700: #374151;
    --color-gray-800: #1F2937;
    --color-gray-900: #111827;

    /* Semantic Colors */
    --color-background: var(--color-gray-50);
    --color-surface: white;
    --color-text: var(--color-gray-900);
    --color-text-light: var(--color-gray-600);
    
    /* Typography */
    --font-sans: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
    --font-serif: "Noto Serif JP", serif;
    --font-display: "Cormorant Garamond", serif;

    /* Font Sizes */
    --text-xs: 0.75rem;     /* 12px */
    --text-sm: 0.875rem;    /* 14px */
    --text-base: 1rem;      /* 16px */
    --text-lg: 1.125rem;    /* 18px */
    --text-xl: 1.25rem;     /* 20px */
    --text-2xl: 1.5rem;     /* 24px */
    --text-3xl: 2rem;       /* 32px */
    --text-4xl: 2.5rem;     /* 40px */
    --text-5xl: 3rem;       /* 48px */

    /* Line Heights */
    --leading-none: 1;
    --leading-tight: 1.25;
    --leading-snug: 1.375;
    --leading-normal: 1.5;
    --leading-relaxed: 1.625;
    --leading-loose: 2;
    
    /* Typography Scale based on Golden Ratio (1.618) */
    --font-size-base: 1rem;
    
    /* Font size scale using golden ratio */
    --font-size-xs: calc(var(--font-size-base) / var(--golden-ratio));    /* 0.618rem */
    --font-size-sm: calc(var(--font-size-base) * 0.875);                  /* 0.875rem */
    --font-size-base: 1rem;                                               /* 1rem */
    --font-size-md: calc(var(--font-size-base) * var(--golden-ratio));    /* 1.618rem */
    --font-size-lg: calc(var(--font-size-md) * var(--golden-ratio));      /* 2.618rem */
    --font-size-xl: calc(var(--font-size-lg) * var(--golden-ratio));      /* 4.236rem */
    
    /* Letter spacing scale */
    --letter-spacing-tight: -0.02em;
    --letter-spacing-base: 0.02em;
    --letter-spacing-loose: calc(var(--letter-spacing-base) * var(--golden-ratio));
    --letter-spacing-wide: calc(var(--letter-spacing-loose) * var(--golden-ratio));
    
    /* Spacing */
    --spacing-sections-desktop: 5rem;
    --spacing-sections-mobile: 3rem;
    
    /* Grid */
    --grid-desktop-horizontal-spacing: 2.5rem;
    --grid-desktop-vertical-spacing: 2.5rem;
    --grid-mobile-horizontal-spacing: 1.5rem;
    --grid-mobile-vertical-spacing: 1.5rem;
    
    /* Page Width */
    --page-width: 120rem;
    --page-width-margin: 0 auto;
    
    /* Inputs */
    --inputs-border-opacity: 0.2;
    --inputs-border-width: 0.1rem;
    --inputs-radius: 0rem;
    --inputs-radius-outset: calc(var(--inputs-radius) + var(--inputs-border-width));
    --inputs-shadow-opacity: 0.1;
    --inputs-shadow-horizontal-offset: 0;
    --inputs-shadow-vertical-offset: 0.4rem;
    --inputs-shadow-blur-radius: 0.5rem;
    
    /* Buttons */
    --buttons-radius: 0rem;
    --buttons-radius-outset: calc(var(--buttons-radius) + var(--buttons-border-width));
    --buttons-border-width: 0.1rem;
    --buttons-border-opacity: 0.1;
    --buttons-shadow-opacity: 0;
    --buttons-shadow-horizontal-offset: 0;
    --buttons-shadow-vertical-offset: 0.4rem;
    --buttons-shadow-blur-radius: 0.5rem;
    
    /* Cards */
    --card-corner-radius: 0rem;
    --card-border-width: 0.1rem;
    --card-border-opacity: 0.1;
    --card-shadow-opacity: 0;
    --card-shadow-horizontal-offset: 0;
    --card-shadow-vertical-offset: 0.4rem;
    --card-shadow-blur-radius: 0.5rem;
    
    /* Animation */
    --duration-short: 100ms;
    --duration-default: 200ms;
    --duration-long: 500ms;
    
    /* Golden Ratio = 1.618 */
    --golden-ratio: 1.618;
    
    /* Base unit for spacing (10px) */
    --spacing-unit: 1rem;
    
    /* Spacing scale based on golden ratio */
    --spacing-xs: calc(var(--spacing-unit) / var(--golden-ratio));
    --spacing-sm: var(--spacing-unit);
    --spacing-md: calc(var(--spacing-unit) * var(--golden-ratio));
    --spacing-lg: calc(var(--spacing-md) * var(--golden-ratio));
    --spacing-xl: calc(var(--spacing-lg) * var(--golden-ratio));
    
    /* Container widths */
    --container-max-width: 144rem; /* 1440px */
    --container-narrow-width: calc(var(--container-max-width) / var(--golden-ratio)); /* 890px */
    --container-content-width: calc(var(--container-narrow-width) / var(--golden-ratio)); /* 550px */
    
    /* Section padding */
    --section-padding-mobile: var(--spacing-md);
    --section-padding-tablet: var(--spacing-lg);
    --section-padding-desktop: var(--spacing-xl);
    
    /* Grid columns */
    --grid-columns-mobile: 4;
    --grid-columns-tablet: 8;
    --grid-columns-desktop: 12;
}

/* Font Classes */
.en-heading {
    font-family: "m-plus-2p", sans-serif !important;
    font-weight: 700 ;
    font-size: 3rem ;
    color: #000 ;
    text-align: left ;
}

.en-heading.custom-size {
    font-size: inherit ;
}

@media (min-width: 768px) {
    .en-heading {
        font-size: 4rem;
    }
}

.en-text {
    font-family: "m-plus-2p", sans-serif !important;
}

.en-text-bold {
    font-family: "m-plus-2p", sans-serif !important;
    font-weight: 700;
}

.text-super-big {
    font-size: 1.5rem;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .text-super-big {
        font-size: 1.75rem;
    }
}

.text-big {
    font-size: var(--font-big);
    line-height: 1.2;
}

.text-large {
    font-size: var(--font-large);
    line-height: 1.3;
}

.text-medium {
    font-size: var(--font-medium);
    line-height: 1.5;
}

.text-small {
    font-size: var(--font-small);
    line-height: 1.6;
}

.text-super-small {
    font-size: var(--font-super-small);
    line-height: 1.6;
}

/* Responsive Font Sizes */
@media (max-width: 1024px) {
    :root {
        --font-super-big: 1.5rem;
        --font-big: 1.5rem;
        --font-large: 1rem;
    }
}

@media (max-width: 768px) {
    :root {
        --font-super-big: 1.25rem;
        --font-big: 1.25rem;
        --font-large: 0.875rem;
        --font-medium: 1rem;
    }
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: none;
    height: calc(var(--vh, 1vh) * 10);
}

.header-logo {
    mix-blend-mode: difference;
}

.site-logo {
    display: block;
}

.site-header .header-logo {
    width: 180px !important;
    height: auto !important;
    mix-blend-mode: difference;
}

@media (min-width: 768px) {
    .header-logo {
        width: 220px;
    }
}

@media (min-width: 1024px) {
    .header-logo {
        width: 260px;
    }
}

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

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

body {
    font-family: var(--font-sans);
    font-size: var(--text-base);
    line-height: var(--leading-normal);
    color: var(--color-text);
    background-color: var(--color-background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    letter-spacing: var(--letter-spacing-base);
}

p, li, td, th, input, textarea, select, button {
    font-size: var(--font-size-base);
}

/* Responsive Typography Scale */
/* Mobile First */
h1, .h1 {
    font-size: var(--font-size-lg);
    letter-spacing: var(--letter-spacing-tight);
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
}

h2, .h2 {
    font-size: var(--font-size-md);
    letter-spacing: var(--letter-spacing-base);
    line-height: 1.3;
    margin-bottom: var(--spacing-md);
}

h3, .h3 {
    font-size: calc(var(--font-size-base) * 1.2);
    letter-spacing: var(--letter-spacing-base);
    line-height: 1.4;
    margin-bottom: var(--spacing-sm);
}

h4, .h4 {
    font-size: var(--font-size-base);
    letter-spacing: var(--letter-spacing-base);
    line-height: 1.4;
}

h5, .h5 {
    font-size: var(--font-size-sm);
    letter-spacing: var(--letter-spacing-loose);
    line-height: 1.4;
}

h6, .h6 {
    font-size: var(--font-size-xs);
    letter-spacing: var(--letter-spacing-loose);
    line-height: 1.4;
}

/* Section Titles */
.section-title {
    font-size: var(--font-size-md);
    letter-spacing: var(--letter-spacing-base);
    margin-bottom: var(--spacing-lg);
    text-align: center;
}

.section-subtitle {
    font-size: var(--font-size-base);
    text-align: center;
    color: #666;
    margin-bottom: var(--spacing-md);
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background-image: url('../img/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.1) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #1a1a1a;
    padding: 2rem;
    max-width: 600px;
}

.hero-logo {
    height: 48px;
    width: auto;
    margin-bottom: 2rem;
}

.new-badge {
    display: block !important;
    background: linear-gradient(135deg, #FF4B4B, #FF0000) !important;
    color: white !important;
    padding: 0.3em 1.2em !important;
    border-radius: 4px !important;
    font-size: 0.4em !important;
    font-weight: bold !important;
    animation: pulse 2s infinite !important;
    margin-bottom: 1em !important;
    text-shadow: none !important;
    width: fit-content !important;
    box-shadow: 0 0 15px rgba(255, 75, 75, 0.5) !important;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.hero-title {
    color: #FFE4C4 !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5) !important;
    letter-spacing: 0.05em !important;
    line-height: 1.4 !important;
    text-align: left !important;
}

.hero-title .title-text {
    display: block !important;
    color: #ffffff !important;
    margin-top: 0.5em !important;
    font-size: 3rem !important;
    font-weight: 900 !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3) !important;
}

@media (max-width: 768px) {
    .hero-title .title-text {
        font-size: 2rem !important;
    }
}

.feature-list {
    margin: 1rem 0 !important;
    background: none !important;
}

.feature-list h4 {
    color: white !important;
    font-size: 1.25rem !important;
    margin-bottom: 0.75rem !important;
    font-weight: 500 !important;
}

.feature-list ul {
    margin-bottom: 1rem !important;
}

.feature-list ul li {
    color: white !important;
    font-size: 1rem !important;
    margin-bottom: 0.5rem !important;
    line-height: 1.4 !important;
    position: relative !important;
    padding-left: 1.25rem !important;
}

.feature-list ul li:before {
    content: "•" !important;
    position: absolute !important;
    left: 0 !important;
    color: currentColor !important;
}

.feature-list .cta-button {
    font-size: 1rem !important;
    padding: 0.75rem 1.5rem !important;
    margin-top: 0.5rem !important;
}

@media (max-width: 768px) {
    .feature-list {
        margin: 0.75rem 0 !important;
    }

    .feature-list h4 {
        font-size: 1.125rem !important;
        margin-bottom: 0.5rem !important;
    }

    .feature-list ul li {
        font-size: 0.875rem !important;
        margin-bottom: 0.375rem !important;
        padding-left: 1rem !important;
    }

    .feature-list .cta-button {
        font-size: 0.875rem !important;
        padding: 0.625rem 1.25rem !important;
    }
}

/* Section Titles */
.section-title {
    font-size: var(--font-size-md);
    letter-spacing: var(--letter-spacing-base);
    margin-bottom: var(--spacing-lg);
    text-align: center;
}

.section-title-center {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
    font-weight: bold;
    color: #003366;
    line-height: 1.4;
}

.compact-section {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 1rem;
}

.compact-section .section-content {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1rem;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .section-title-center {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .compact-section {
        padding: 2rem 1rem;
    }
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
}

.service-card .relative {
    position: relative;
    padding-top: 66.67%; /* 3:2のアスペクト比 */
    width: 100%;
}

.service-card img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain !important;
    object-position: center;
}

.service-card .p-4 {
    background: white;
    position: relative;
    z-index: 1;
}

/* Services Slider */
.services-slider {
    padding: 20px;
    position: relative;
}

.services-slider .swiper {
    padding-bottom: 50px;
}

.services-slider .swiper-button-next,
.services-slider .swiper-button-prev {
    color: #666;
    width: 40px !important;
    height: 40px !important;
    background-color: rgba(255, 255, 255, 0.9) !important;
    border-radius: 50% !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 10 !important;
}

.services-slider .swiper-pagination-bullet {
    background: #666;
}

.services-slider .swiper-pagination-bullet-active {
    background: #000;
}

.services-slider .swiper-slide {
    height: auto;
}

.service-card {
    height: 100%;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card .image-container {
    position: relative;
    width: 100%;
    padding-top: 66.67%; /* 3:2 アスペクト比 */
    overflow: hidden;
}

.service-card img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.service-card .content {
    flex: 1;
    padding: 1.5rem;
    background: white;
}

.swiper-button-next,
.swiper-button-prev {
    width: 40px !important;
    height: 40px !important;
    background-color: rgba(255, 255, 255, 0.9) !important;
    border-radius: 50% !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 10 !important;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 18px !important;
    font-weight: bold !important;
    color: #1f2937 !important;
    display: block !important;
}

/* スマホ表示時のナビゲーション */
@media (max-width: 768px) {
    .swiper-button-next,
    .swiper-button-prev {
        width: 32px !important;
        height: 32px !important;
        opacity: 0.8 !important;
        display: flex !important;
    }

    .swiper-button-next:after,
    .swiper-button-prev:after {
        font-size: 14px !important;
    }

    .swiper-button-prev {
        left: 8px !important;
    }

    .swiper-button-next {
        right: 8px !important;
    }
}

/* ホバー効果 */
.swiper-button-next:hover,
.swiper-button-prev:hover {
    background-color: rgba(255, 255, 255, 1) !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15) !important;
}

/* Why Choose Section */
.voice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.voice-card {
    background: white;
    border-radius: 0rem;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.voice-content {
    margin-bottom: 1.5rem;
    font-size: var(--font-size-base);
    line-height: 1.8;
}

.voice-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.voice-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

/* Before/After Section */
.before-after-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.before-after-card {
    background: white;
    border-radius: 0rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.image-comparison {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    position: relative;
}

.comparison-image {
    position: relative;
}

.comparison-label {
    position: absolute;
    bottom: 1rem;
    padding: 0.25rem 1rem;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    font-size: var(--font-size-xs);
}

.before-label {
    left: 1rem;
}

.after-label {
    right: 1rem;
}

/* Stats and News Section */
.stats-container {
    background: white;
    border-radius: 0rem;
    padding: 2rem;
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.1);
}

.stats-container h2 {
    letter-spacing: var(--letter-spacing-base);
    color: #333;
}

.news-container h2 {
    letter-spacing: var(--letter-spacing-base);
}

.news-content {
    background: #f8f8f8;
    border-radius: 0rem;
    padding: 2rem;
}

.news-content h4 {
    color: #333;
    letter-spacing: var(--letter-spacing-base);
}

.news-content p {
    line-height: 2;
}

/* Appeal Points Section */
.text-primary {
    color: var(--color-base-accent-1);
}

.bg-primary {
    background-color: var(--color-base-accent-1);
}

.hover\:bg-primary-dark:hover {
    background-color: var(--color-base-accent-2);
}

#appeal-points .bg-white {
    transition: transform 0.3s ease;
}

#appeal-points .bg-white:hover {
    transform: translateY(-5px);
}

/* Features Section */
#features {
    overflow: hidden;
    position: relative;
}

#features h2,
#features h3 {
    position: relative;
    font-weight: 300;
}

#features h2 {
    font-size: 2rem;
    color: rgba(0, 0, 0, 0.03);
    letter-spacing: 0.05em;
}

#features h3 {
    font-size: 1.5rem;
    color: #333;
    letter-spacing: 0.05em;
}

.feature-item {
    background: white;
    padding: 2rem;
    border-radius: 0rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    #features h2 {
        font-size: 4rem;
    }

    .feature-item {
        padding: 1.5rem;
    }
}

/* Specialists Section */
#specialists {
    position: relative;
    overflow: hidden;
}

#specialists h2 {
    font-size: 2rem;
    letter-spacing: 0.05em;
    font-weight: 300;
}

.font-mincho {
    font-weight: 500;
}

#specialists .aspect-w-4 {
    position: relative;
    padding-bottom: 75%; /* 4:3 Aspect Ratio */
}

#specialists .aspect-h-3 {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

#specialists img {
    transition: transform 0.3s ease;
}

#specialists img:hover {
    transform: scale(1.05);
}

/* Footer */
.footer {
    background: white;
    padding: 3rem 0;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 0rem;
    font-size: var(--font-size-base);
    letter-spacing: var(--letter-spacing-base);
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    display: inline-block;
    background-color: #1f2937;  /* bg-gray-800 */
    color: #ffffff;
    font-size: 0.875rem !important;  /* text-sm */
    font-weight: 700 !important;  /* font-bold */
    padding: 1rem 3rem;
    border-radius: 9999px;
    transition: background-color 0.3s;
}

.btn-primary:hover {
    background-color: #374151;  /* bg-gray-700 */
}

/* Container */
.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.container-narrow {
    max-width: var(--container-narrow-width);
}

.container-content {
    max-width: var(--container-content-width);
}

/* Section Spacing */
.section {
    padding: var(--section-padding-mobile) 0;
}

/* Grid System */
.grid {
    display: grid;
    gap: var(--spacing-md);
    grid-template-columns: repeat(var(--grid-columns-mobile), 1fr);
}

/* Responsive Breakpoints */
@media screen and (min-width: 768px) {
    .section {
        padding: var(--section-padding-tablet) 0;
    }
    
    .grid {
        grid-template-columns: repeat(var(--grid-columns-tablet), 1fr);
    }
    
    .container {
        padding: 0 var(--spacing-lg);
    }
    
    /* Tablet Typography */
    h1, .h1 {
        font-size: var(--font-size-lg);
    }
    
    h2, .h2 {
        font-size: var(--font-size-md);
    }
    
    h3, .h3 {
        font-size: var(--font-size-base);
    }
}

@media screen and (min-width: 1024px) {
    .section {
        padding: var(--section-padding-desktop) 0;
    }
    
    .grid {
        grid-template-columns: repeat(var(--grid-columns-desktop), 1fr);
    }
    
    .container {
        padding: 0 var(--spacing-xl);
    }
    
    /* Desktop Typography */
    h1, .h1 {
        font-size: var(--font-size-lg);
    }
    
    h2, .h2 {
        font-size: var(--font-size-md);
    }
    
    h3, .h3 {
        font-size: var(--font-size-base);
    }
}

/* Feature Grid */
.features-grid {
    display: grid;
    gap: var(--spacing-lg);
    grid-template-columns: 1fr;
}

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

@media screen and (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Specialists Section */
.specialists-grid {
    display: grid;
    gap: var(--spacing-lg);
    grid-template-columns: 1fr;
}

@media screen and (min-width: 768px) {
    .specialists-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-xl);
    }
}

@media screen and (min-width: 1024px) {
    .specialists-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Image Aspect Ratios */
.image-golden-ratio {
    aspect-ratio: 1.618;
    object-fit: cover;
    width: 100%;
}

.image-square {
    aspect-ratio: 1;
    object-fit: cover;
    width: 100%;
}

/* Component Spacing */
.component-spacing {
    margin-bottom: var(--spacing-lg);
}

@media screen and (min-width: 768px) {
    .component-spacing {
        margin-bottom: var(--spacing-xl);
    }
}

/* Media Queries */
@media (max-width: 768px) {
    .section {
        padding: 4rem 0;
    }

    .section-title {
        font-size: var(--font-size-md);
    }

    .hero-section {
        min-height: 500px;
    }

    .hero-content {
        margin-top: 6rem !important;
        padding: 0 1rem !important;
    }
}

@media (max-width: 640px) {
    .services-grid,
    .voice-grid,
    .before-after-grid {
        grid-template-columns: 1fr;
    }
}

/* Utility Text Classes */
.text-xs {
    font-size: var(--font-size-xs);
}

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

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

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

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

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

.letter-spacing-tight {
    letter-spacing: var(--letter-spacing-tight);
}

.letter-spacing-base {
    letter-spacing: var(--letter-spacing-base);
}

.letter-spacing-loose {
    letter-spacing: var(--letter-spacing-loose);
}

.letter-spacing-wide {
    letter-spacing: var(--letter-spacing-wide);
}

/* Menu Section */
.menu-section {
    background-color: #fff;
}

.menu-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem;
    border-radius: 0rem;
    background: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.menu-item:hover {
    transform: translateY(-5px);
}

.menu-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.menu-title {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #333;
    text-align: center;
}

.menu-subtitle {
    font-size: 0.875rem;
    color: #666;
    text-align: center;
}

.info-grid {
    padding: 2rem 0;
}

.info-header h3 {
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 0.05em;
}

.info-card {
    background: #fff;
    border-radius: 0rem;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.info-card:hover {
    transform: translateY(-4px);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.en-title {
    font-size: 0.875rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.check-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #FF8BA7;
    font-size: 0.875rem;
}

.card-content .main-title {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
    color: #333;
}

.card-content .sub-title {
    font-size: 0.875rem;
    color: #666;
}

@media (max-width: 768px) {
    .menu-item {
        padding: 1.5rem;
    }

    .menu-icon {
        width: 48px;
        height: 48px;
    }

    .menu-title {
        font-size: 1rem;
    }

    .menu-subtitle {
        font-size: 0.75rem;
    }
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.gallery-item {
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.contact-info {
    background: #fff;
    padding: var(--spacing-md);
    border-radius: 0rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.contact-title {
    margin-bottom: var(--spacing-sm);
    color: var(--color-primary);
}

.contact-address {
    font-style: normal;
    margin-bottom: var(--spacing-md);
}

.contact-address p {
    margin-bottom: var(--spacing-xs);
}

.hours-list {
    margin-top: var(--spacing-xs);
}

.hours-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--spacing-xs);
}

.contact-form {
    background: #fff;
    padding: var(--spacing-md);
    border-radius: 0rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.form-title {
    margin-bottom: var(--spacing-md);
    color: var(--color-primary);
}

.google-map {
    border-radius: 0rem;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* About Section */
.about-section {
    background-color: var(--color-background);
}

.about-section h3 {
    color: var(--color-primary);
}

.about-section .aspect-w-4 {
    position: relative;
    padding-bottom: 75%; /* 4:3 aspect ratio */
}

.about-section .aspect-h-3 {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.about-section .stats-card {
    background: white;
    padding: 1.5rem;
    border-radius: 0rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.about-section .feature-list {
    display: grid;
    gap: 1rem;
}

.about-section .feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.about-section .feature-icon {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--color-primary);
}

/* Media Section */
.media-section {
    padding: 6rem 0;
    background-color: #fff;
}

.media-subtitle {
    color: #FF8BA7;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    text-align: center;
    letter-spacing: 0.1em;
}

.media-title {
    font-size: 2.5rem;
    font-weight: 300;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    text-align: center;
}

.media-description {
    color: #666;
    font-size: 1.125rem;
    text-align: center;
    margin-bottom: 3rem;
}

.media-scroll {
    position: relative;
    padding: 0 2rem;
    margin: 0 -2rem;
}

.media-container {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    padding: 1rem 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-snap-type: x mandatory;
}

.media-container::-webkit-scrollbar {
    display: none;
}

.media-item {
    flex: 0 0 auto;
    width: 300px;
    height: 400px;
    overflow: hidden;
    border-radius: 0rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    scroll-snap-align: center;
    transition: transform 0.3s ease;
}

.media-item:hover {
    transform: translateY(-5px);
}

.media-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.media-text {
    max-width: 600px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .media-item {
        width: 250px;
        height: 333px;
    }
}

/* Contact Section */
.contact-section {
    background-color: #f8f8f8;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
}

.contact-header {
    text-align: center;
    margin-bottom: 4rem;
}

.contact-subtitle {
    color: #FF8BA7;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.contact-title {
    font-size: 2.5rem;
    font-weight: 300;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.contact-description {
    color: #666;
    font-size: 1.125rem;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.contact-card {
    background: white;
    border-radius: 0rem;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
}

.contact-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.contact-info h3 {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.contact-info p {
    color: #666;
    font-size: 0.875rem;
}

.contact-notes {
    text-align: center;
    color: #666;
    font-size: 0.875rem;
    max-width: 600px;
    margin: 2rem auto 0;
}

.video-guide {
    margin: 4rem auto;
    max-width: 1000px;
    text-align: center;
}

.video-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.video-title h3 {
    font-size: 1.75rem;
    font-weight: 300;
    line-height: 1.4;
}

.pointing-hand {
    width: 24px;
    height: 24px;
    color: #666;
}

.video-container {
    position: relative;
    padding-top: 56.25%;
    width: 100%;
    background: #000;
    border-radius: 0rem;
    overflow: hidden;
}

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

/* Technical Section */
.technical-section {
    padding: 6rem 0;
    background-color: #fff;
    overflow: hidden;
}

.technical-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.technical-text {
    padding: 2rem;
}

.concept-title {
    color: #FF8BA7;
    font-size: 1rem;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.technical-title {
    font-size: 3rem;
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 2rem;
}

.technical-description {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #333;
}

.technical-description p {
    margin-bottom: 1.5rem;
}

.technical-images {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    position: relative;
}

.technical-image {
    position: relative;
    border-radius: 0rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.technical-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.technical-image:nth-child(2) {
    margin-top: 4rem;
}

@media (max-width: 1024px) {
    .technical-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .technical-text {
        padding: 1rem;
    }

    .technical-title {
        font-size: 2.5rem;
    }

    .technical-description {
        font-size: 1rem;
    }

    .technical-images {
        margin-top: 2rem;
    }
}

@media (max-width: 768px) {
    .technical-title {
        font-size: 2rem;
    }

    .technical-image:nth-child(2) {
        margin-top: 2rem;
    }
}

/* Layout Components */
.section {
    position: relative;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: var(--section-spacing) 0;
    background-color: var(--color-surface);
}

.section__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.section__background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.section__inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
}

.section__content {
    width: 100%;
    max-width: var(--content-max-width);
    margin-left: auto;
    margin-right: auto;
}

.section--tight {
    padding: calc(var(--section-spacing) * 0.75) 0;
}

.section--spacious {
    padding: calc(var(--section-spacing) * 1.5) 0;
}

/* コンテナ */
.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
}

.container--narrow {
    max-width: var(--container-narrow-max-width);
}

/* Content Width Utilities */
.content-width-full {
    width: 100%;
    max-width: none;
}

.content-width-large {
    width: 100%;
    max-width: var(--container-max-width);
    margin-left: auto;
    margin-right: auto;
}

.content-width-medium {
    width: 100%;
    max-width: var(--container-narrow-max-width);
    margin-left: auto;
    margin-right: auto;
}

.content-width-small {
    width: 100%;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Spacing Utilities */
.px-0 { padding-left: 0; padding-right: 0; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }

.py-0 { padding-top: 0; padding-bottom: 0; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }

.mx-auto { margin-left: auto; margin-right: auto; }

@media (min-width: 768px) {
    .md\:px-8 { padding-left: 2rem; padding-right: 2rem; }
    .md\:px-12 { padding-left: 3rem; padding-right: 3rem; }
    .md\:py-16 { padding-top: 4rem; padding-bottom: 4rem; }
    .md\:py-20 { padding-top: 5rem; padding-bottom: 5rem; }
}

@media (min-width: 1024px) {
    .lg\:px-12 { padding-left: 3rem; padding-right: 3rem; }
    .lg\:px-16 { padding-left: 4rem; padding-right: 4rem; }
    .lg\:py-20 { padding-top: 5rem; padding-bottom: 5rem; }
    .lg\:py-24 { padding-top: 6rem; padding-bottom: 6rem; }
}

/* Grid System */
.grid {
    display: grid;
    gap: var(--grid-gap);
    grid-template-columns: repeat(4, 1fr);
}

/* Responsive Breakpoints */
@media (min-width: 640px) {
    :root {
        --container-padding: 2rem;
        --section-spacing: 5rem;
        --grid-gap: 1.5rem;
    }

    .grid {
        grid-template-columns: repeat(8, 1fr);
    }

    .section__title {
        font-size: var(--text-4xl);
    }
}

@media (min-width: 768px) {
    :root {
        --container-padding: 3rem;
        --section-spacing: 6rem;
        --grid-gap: 2rem;
    }

    .grid {
        grid-template-columns: repeat(12, 1fr);
    }

    .section__title {
        font-size: var(--text-5xl);
    }

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

@media (min-width: 1024px) {
    :root {
        --container-padding: 4rem;
        --section-spacing: 8rem;
    }

    .container {
        padding-left: var(--container-padding);
        padding-right: var(--container-padding);
    }
}

@media (min-width: 1280px) {
    :root {
        --container-max-width: 1280px;
        --container-narrow-max-width: 1024px;
    }
}

/* Grid Column Utilities */
.col-span-1 { grid-column: span 1; }
.col-span-2 { grid-column: span 2; }
.col-span-3 { grid-column: span 3; }
.col-span-4 { grid-column: span 4; }

@media (min-width: 768px) {
    .md\:col-span-1 { grid-column: span 1; }
    .md\:col-span-2 { grid-column: span 2; }
    .md\:col-span-3 { grid-column: span 3; }
    .md\:col-span-4 { grid-column: span 4; }
    .md\:col-span-5 { grid-column: span 5; }
    .md\:col-span-6 { grid-column: span 6; }
    .md\:col-span-7 { grid-column: span 7; }
    .md\:col-span-8 { grid-column: span 8; }
}

@media (min-width: 1024px) {
    .lg\:col-span-1 { grid-column: span 1; }
    .lg\:col-span-2 { grid-column: span 2; }
    .lg\:col-span-3 { grid-column: span 3; }
    .lg\:col-span-4 { grid-column: span 4; }
    .lg\:col-span-5 { grid-column: span 5; }
    .lg\:col-span-6 { grid-column: span 6; }
    .lg\:col-span-7 { grid-column: span 7; }
    .lg\:col-span-8 { grid-column: span 8; }
    .lg\:col-span-9 { grid-column: span 9; }
    .lg\:col-span-10 { grid-column: span 10; }
    .lg\:col-span-11 { grid-column: span 11; }
    .lg\:col-span-12 { grid-column: span 12; }
}

/* Hero Section - Full Width */
.hero-section {
    width: 100%;
    position: relative;
    min-height: calc(var(--vh, 1vh) * 100);
}

.hero-section .container {
    max-width: 100%;
    padding: 0;
}

/* Footer - Full Width */
.site-footer {
    width: 100%;
    min-height: calc(var(--vh, 1vh) * 15);
}

.site-footer .container {
    max-width: 100%;
    padding: 0;
}

/* Responsive Container */
@media (max-width: 1280px) {
    .section .container {
        max-width: 1024px;
    }
}

@media (max-width: 1024px) {
    .section .container {
        max-width: 768px;
    }
}

@media (max-width: 768px) {
    .section .container {
        padding: 0 1rem;
    }
}

/* Info Links Section */
.info-card {
    height: 100%;
    background: white;
    border-radius: 0rem;
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-4px);
}

.info-card h3 {
    color: #333;
    font-weight: 400;
}

.info-card p {
    font-size: 0.9rem;
    line-height: 1.5;
}

@media (max-width: 768px) {
    #info-links .grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    #info-links .col-span-1:first-child {
        grid-column: span 2;
    }

    #info-links .info-card {
        height: 100%;
    }
}

.technical-subtitle {
    color: #D1D5DB !important;  /* text-gray-300相当 */
    margin-bottom: 2rem !important;
    letter-spacing: 0.05em !important;
}

.first-time-title {
    text-align: left !important;
    margin: 0 auto 1.5rem !important;
    font-size: 1.25rem !important;
    font-weight: bold !important;
    color: #003366 !important;
    line-height: 1.4 !important;
    width: 100% !important;
    display: block !important;
}

@media (max-width: 768px) {
    .first-time-title {
        font-size: 1.1rem !important;
        margin-bottom: 1rem !important;
    }
}

/* Hero Background Animation */
.hero-bg {
    position: absolute !important;
    inset: 0 !important;
    opacity: 0 !important;
    transition: opacity 2s ease-in-out !important;
    z-index: 0 !important;
}

.hero-bg.active {
    opacity: 1 !important;
    z-index: 1 !important;
}

/* Add animation for smooth transition */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

.hero-bg.fade-in {
    animation: fadeIn 2s ease-in-out forwards !important;
}

.hero-bg.fade-out {
    animation: fadeOut 2s ease-in-out forwards !important;
}

/* Hero Mobile Optimizations */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem !important;
        line-height: 1.2 !important;
        margin-bottom: 1rem !important;
        text-align: left !important;
    }

    .hero-content {
        margin-top: 6rem !important;
        padding: 0 1rem !important;
    }

    .hero-description {
        font-size: 1.125rem !important;
        margin-bottom: 1.5rem !important;
        line-height: 1.5 !important;
        text-align: left !important;
    }

    .feature-list {
        padding: 1.25rem !important;
        margin: 1rem 0 !important;
    }

    .feature-list h4 {
        font-size: 1.125rem !important;
        margin-bottom: 0.75rem !important;
    }

    .feature-list ul {
        font-size: 0.875rem !important;
    }

    .feature-list ul li {
        margin-bottom: 0.5rem !important;
        line-height: 1.4 !important;
    }

    .feature-list .cta-button {
        font-size: 1rem !important;
        padding: 0.75rem 1.5rem !important;
        margin-top: 1rem !important;
    }
}
