/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Remove focus outline for all clickable elements */
*:focus {
    outline: none !important;
}

:root {
    /* Colors from design.yaml */
    --primary: #1AA6A6;
    --primary-dark: #0E6F73;
    --accent: #F3C623;
    --text: #1F2A37;
    --text-sub: #6B7280;
    --bg: #FFFFFF;
    --bg-alt: #F7FAFC;
    --line: #E5E7EB;
    
    /* Typography */
    --font-family: 'Noto Sans JP', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --font-size-h1: clamp(28px, 3.2vw, 40px);
    --font-size-h2: clamp(22px, 2.6vw, 32px);
    --font-size-h3: clamp(18px, 2.0vw, 24px);
    --font-size-body: 16px;
    --font-size-small: 14px;
    
    /* Spacing */
    --section-gap: 50px;
    --container-padding: 1rem;
    --border-radius: 1.25rem;
    
    /* Shadows */
    --shadow-light: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 10px 30px rgba(0, 0, 0, 0.12);
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-body);
    line-height: 1.6;
    color: var(--text);
    background-color: var(--bg);
    overflow-x: hidden;
    background-image: url('img/background_2.png');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.85);
    z-index: -1;
    pointer-events: none;
}

html {
    overflow-x: hidden;
}

/* Prevent media from overflowing the viewport */
img,
video,
canvas,
svg,
iframe {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* Section Backgrounds (do not set globally to avoid consecutive same backgrounds) */
/* Intentionally left minimal. Set backgrounds per-page in HTML or page-specific CSS. */

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: var(--font-size-h1); }
h2 { font-size: var(--font-size-h2); }
h3 { font-size: var(--font-size-h3); }

p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.25rem;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: var(--font-size-body);
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    min-height: 48px;
    white-space: nowrap;
}

.btn svg {
    flex-shrink: 0;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--text);
}

.btn-primary:hover {
    background-color: #E6B816;
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn-secondary {
    background-color: var(--primary);
    color: white;
}

.btn-secondary:hover {
    background-color: #188c8c;
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: white;
}

.btn-large {
    padding: clamp(0.875rem, 1.8vw, 1.5rem) clamp(1.75rem, 3.5vw, 3rem);
    font-size: clamp(1rem, 1.4vw, 1.4rem);
    min-height: clamp(50px, 5.5vw, 60px);
}

.btn-full {
    width: 100%;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
    z-index: 1001;
    transition: var(--transition);
}

.nav-container {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 1rem var(--container-padding);
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--text);
    cursor: pointer;
    transition: var(--transition);
    padding: 0.5rem;
    border-radius: 0.5rem;
}

.nav-logo:hover {
    transform: none;
    background-color: rgba(26, 166, 166, 0.05);
}

.logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.logo-text {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--primary);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    margin-left: auto;
}

.nav-link {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

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

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

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background-color: var(--text);
    transition: var(--transition);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Navigation */
.mobile-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    background-color: white;
    border-top: 1px solid var(--line);
    padding: 1rem var(--container-padding);
    box-shadow: var(--shadow-medium);
}

.mobile-nav.active {
    display: block;
}

.mobile-nav-menu {
    list-style: none;
    margin-bottom: 1rem;
}

.mobile-nav-link {
    display: block;
    padding: 0.75rem 0;
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    border-bottom: 1px solid var(--line);
}

.mobile-nav-link:last-child {
    border-bottom: none;
}

.mobile-nav-link:hover {
    color: var(--primary);
}

.mobile-nav-cta {
    text-align: center;
}

/* Hero Section */
.hero {
    position: relative;
    height: calc(80vh + 80px);
    display: flex;
    align-items: flex-start;
    overflow: hidden;
    margin-top: 0;
    padding-top: 80px;
    z-index: 1;
}

.hero-background,
.hero-overlay-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(80vh + 80px);
}

.hero-background {
    z-index: -1;
}

.hero-overlay-bg {
    background: rgb(0 0 0 / 15%);
    z-index: 0;
    transition: opacity 0.3s ease;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -2;
    transition: opacity 0.3s ease;
}

.hero-container {
    width: 100%;
    height: calc(80vh + 80px);
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 0;
    box-sizing: border-box;
}

.hero-content {
    animation: slideInLeft 0.8s ease-out;
    color: white;
    width: 100%;
    max-width: 900px;
    /* background: #0000004f; */
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    margin-top: -30px;
    text-align: center;
}

.hero-content > * {
    max-width: 800px;
}

.hero-title {
    margin-bottom: 1.5rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    font-size: clamp(2rem, 4.5vw, 4.5rem);
    line-height: 1.3;
}

.title-line {
    display: block;
    margin-bottom: 0.5rem;
}

.title-line.highlight {
    color: var(--accent);
    position: relative;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.highlight-yellow {
    color: #FFD700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.highlight-white {
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* .title-line.highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent) 0%, white 100%);
    border-radius: 2px;
} */

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 2rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.6;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-floating-card {
    animation: slideInRight 0.8s ease-out;
    position: absolute;
    top: 2rem;
    right: 2rem;
}

.floating-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 1.5rem;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-medium);
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: float 3s ease-in-out infinite;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.floating-card:hover {
    transform: none;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.card-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(243, 198, 35, 0.3);
}

.icon-img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.card-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.card-text strong {
    font-size: 1rem;
    color: var(--text);
    font-weight: 600;
}

.card-text span {
    font-size: 0.9rem;
    color: var(--text-sub);
}

/* Section Styles */
section {
    padding: 70px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 24px;
}

.section-title {
    margin-bottom: 1rem;
    position: relative;
}


.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-sub);
    max-width: 600px;
    margin: 0 auto;
}

/* Features Section */
.features {
    background-color: var(--bg-alt);
}

.features-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
}

.feature-card {
    background: transparent;
    border-radius: 0;
    padding: 0;
    text-align: center;
    box-shadow: none;
    transition: none;
    position: static;
    overflow: visible;
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    flex: 0 1 auto;
    max-width: 320px;
    width: 100%;
}

/* .feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
} */

.feature-card:hover {
    transform: none;
    box-shadow: none;
}

.feature-card:nth-child(2),
.feature-card:nth-child(3) {
    transform: none;
}

.feature-image {
    width: 220px;
    height: 220px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

.feature-content {
    max-width: 340px;
    margin: 0 auto;
}

.feature-title {
    margin: 0.5rem 0 0.25rem;
    color: var(--primary);
}

.feature-description {
    color: var(--text-sub);
    line-height: 1.6;
}

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

.service-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: none;
    transition: var(--transition);
    position: relative;
    border: 1px solid var(--line);
}

.service-card:hover {
    transform: none;
    box-shadow: none;
}

.service-card:nth-child(2) {
    transform: none;
}

.service-image {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover .service-img {
    transform: none;
}

.service-content {
    padding: 2rem;
}

.service-title {
    margin-bottom: 1rem;
    color: var(--primary);
}

.service-description {
    color: var(--text-sub);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.service-feature {
    background: var(--bg-alt);
    color: var(--primary-dark);
    padding: 0.25rem 0.75rem;
    border-radius: 8px;
    font-size: var(--font-size-small);
    font-weight: 500;
}

/* Price Teaser Section */
.price-teaser {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
}

.price-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.price-text .section-title {
    color: white;
}

.price-text .section-title::after {
    background: linear-gradient(90deg, var(--accent) 0%, white 100%);
}

.price-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.price-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.price-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    background: white;
    color: var(--primary);
    border: 2px solid white;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: var(--font-size-body);
    transition: var(--transition);
    min-height: 48px;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.price-link:hover {
    background: rgb(235, 235, 235);
    color: var(--primary-dark);
    border: none;
    transform: translateY(-2px);
    box-shadow: none;
}

.link-icon {
    font-size: 1.5rem;
}

.link-text {
    font-weight: 500;
}

.price-image {
    position: relative;
}

.price-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: var(--shadow-medium);
}

/* Flow Section */

/* Alternating section backgrounds utility */
.section-alt {
    background-color: var(--bg-alt);
}

.flow-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: start;
    gap: 2.5rem;
    margin-top: 3rem;
    position: relative;
}

.flow-step {
    text-align: center;
    transition: none;
}

.flow-step:hover {
    transform: none;
}

/* Removed staggered transforms for vertical layout */

.step-media {
    position: relative;
    width: 220px;
    height: 220px;
    margin: 0 auto 1rem;
}

.step-photo {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    border: 6px solid white;
}

.step-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #24bebe;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.75rem;
}

/* Gradual darkening gradient badges per step */
.flow-step:nth-child(1) .step-badge {
    background: var(--primary);
}

.flow-step:nth-child(2) .step-badge {
    background: linear-gradient(135deg, var(--primary) 0%, #178a8a 100%);
}

.flow-step:nth-child(3) .step-badge {
    background: linear-gradient(135deg, var(--primary) 0%, #126e6e 100%);
}

.flow-step:nth-child(4) .step-badge {
    background: linear-gradient(135deg, var(--primary) 0%, #0d5252 100%);
}

.step-title {
    margin: 0.5rem 0 0.25rem;
    color: var(--primary);
    text-align: center;
}

.step-content { display: contents; }

.step-description {
    color: var(--text-sub);
    margin: 0 auto;
    max-width: 260px;
    line-height: 1.7;
}

.flow-steps::before {
    content: '';
    position: absolute;
    top: 110px;
    left: 5%;
    right: 5%;
    height: 8px;
    background: linear-gradient(90deg, var(--primary) 0%, #0d5252 100%);
    border-radius: 4px;
    z-index: 0;
}

.step-media { z-index: 1; }

/* Step image styles removed - images deleted from HTML */

/* Area Section */
.area-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.area-primary,
.area-secondary {
    text-align: center;
}

.area-title {
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.area-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.area-tag {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    transition: var(--transition);
}

.area-tag.primary {
    background: var(--primary);
    color: white;
}

.area-tag.secondary {
    background: var(--bg-alt);
    color: var(--primary-dark);
    border: 2px solid var(--primary);
}

.area-tag:hover {
    transform: none;
}





/* Recruit Section */
.recruit-content {
    max-width: 800px;
    margin: 0 auto;
}

.recruit-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.recruit-text {
    font-size: 1.1rem;
    color: var(--text-sub);
    line-height: 1.7;
}

.job-details {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: none;
    border: 1px solid var(--line);
    margin-bottom: 3rem;
}

.job-title {
    margin-bottom: 2rem;
    color: var(--primary);
    text-align: center;
}

.job-list {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
}

.job-item {
    border-bottom: 1px solid var(--line);
}

.job-item:last-child {
    border-bottom: none;
}

.job-label {
    font-weight: 600;
    color: var(--primary);
    padding: 1rem;
    text-align: left;
    width: 140px;
    vertical-align: top;
    background: var(--bg-alt);
}

.job-value {
    color: var(--text);
    text-align: left;
    padding: 1rem;
    vertical-align: top;
    padding-right: 0px;
}

.recruit-cta {
    text-align: center;
}

.recruit-cta .btn {
    min-width: 200px;
    padding: 1rem 2.5rem;
}

.cta-title {
    margin-bottom: 2rem;
    color: var(--primary);
}

/* Contact Info Section */
.contact-info-section {
    background-color: var(--bg-alt);
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.contact-info-card {
    background: white;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: var(--transition);
}

.contact-info-card:hover {
    transform: none;
}

.contact-info-card .contact-icon {
    font-size: 3rem;
    flex-shrink: 0;
}

.contact-info-card .contact-details {
    flex: 1;
}

.contact-info-card .contact-label {
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.contact-info-card .contact-value {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.25rem;
}

.contact-info-card .contact-hours {
    color: var(--text-sub);
    font-size: 0.9rem;
    margin: 0;
}

/* Contact Form Section */
.contact-form-section {
    background: white;
}

.contact-form-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 3rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.required {
    color: #e53e3e;
    font-weight: 600;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-sub);
}

.checkbox-label input[type="checkbox"] {
    margin: 0;
}

.checkbox-label a {
    color: var(--primary);
    text-decoration: underline;
}

.checkbox-label a:hover {
    text-decoration: none;
}

/* FAQ Section */
.faq-section {
    background-color: var(--bg-alt);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border: 1px solid var(--line);
    border-radius: 12px;
    margin-bottom: 1rem;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--primary);
    box-shadow: 0 2px 8px rgba(26, 166, 166, 0.1);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    border-radius: 12px;
}

.faq-question:hover {
    background: var(--bg-alt);
}

.faq-question h3 {
    margin: 0;
    color: var(--primary);
    font-size: 1.1rem;
}

.faq-toggle {
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: bold;
    transition: var(--transition);
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-answer p {
    color: var(--text-sub);
    line-height: 1.6;
    margin: 0;
}

/* Contact Section */
.contact-content {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: none;
    transition: var(--transition);
    border: 1px solid var(--line);
}

.contact-item:hover {
    transform: none;
    box-shadow: none;
}

.contact-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.contact-details {
    flex: 1;
}

.contact-label {
    margin-bottom: 0.5rem;
    color: var(--primary);
    font-weight: 600;
}

.contact-value {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.contact-hours {
    font-size: var(--font-size-small);
    color: var(--text-sub);
}

.contact-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.contact-link:hover {
    text-decoration: underline;
}

/* Contact Form */
.contact-form-container {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: none;
    border: 1px solid var(--line);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    font-weight: 600;
    color: var(--text);
}

.form-input,
.form-select,
.form-textarea {
    padding: 0.875rem 1rem;
    border: 2px solid var(--line);
    border-radius: 6px;
    font-size: var(--font-size-body);
    font-family: var(--font-family);
    transition: var(--transition);
    background: white;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26, 166, 166, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

/* Partners Section */
.partners {
    background-color: var(--bg-alt);
}

.partners-content {
    max-width: 800px;
    margin: 0 auto;
}

.partners-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.partners-text {
    font-size: 1.1rem;
    color: var(--text-sub);
    line-height: 1.7;
}

.requirements {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: none;
    border: 1px solid var(--line);
    margin-bottom: 3rem;
}

.requirements-title {
    margin-bottom: 2rem;
    color: var(--primary);
    text-align: center;
}

.requirements-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.requirements-list li {
    padding: 1rem;
    background: var(--bg-alt);
    border-radius: 0.5rem;
    position: relative;
}



.partners-cta {
    text-align: center;
}

/* Footer */
.footer {
    background: var(--text);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    cursor: pointer;
    transition: var(--transition);
    padding: 0.5rem;
    border-radius: 0.5rem;
}

.footer-logo:hover {
    transform: none;
    background-color: rgba(255, 255, 255, 0.1);
}

.footer-logo-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.footer-logo-text {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--accent);
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: var(--font-size-small);
}

.footer-contact {
    width: 100%;
    border-collapse: collapse;
}

.footer-contact-item {
    display: table-row;
}

.footer-contact-item td {
    padding: 0.25rem 0;
    vertical-align: top;
}

.footer-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: var(--font-size-small);
    text-align: left;
    padding-right: 1rem;
    white-space: nowrap;
}

.footer-value {
    color: white;
    font-weight: 500;
    text-align: left;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: var(--font-size-small);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
}

.footer-link:hover {
    color: var(--accent);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1rem;
    text-align: center;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: var(--font-size-small);
}

/* Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    :root {
        --container-padding: 1rem;
        --section-gap: 50px;
    }
    
    /* Mobile background fix */
    body {
        background-attachment: scroll;
    }
    
    /* Header */
    .nav-container {
        justify-content: space-between;
    }
    
    .nav-menu {
        display: none;
    }
    
    .nav-cta {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
        margin-left: auto;
    }
    
    /* Hero */
    .hero {
        height: calc(80vh + 70px);
        margin-top: 0;
        padding-top: 70px;
        min-height: 570px;
        align-items: flex-start;
    }
    
    .hero-background,
    .hero-overlay-bg {
        top: 0;
        height: calc(80vh + 70px);
        min-height: 570px;
    }
    
 .hero-container {
        width: 100%;
        height: calc(80vh + 70px);
        min-height: 570px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 20px;
        box-sizing: border-box;
    }
    
    .hero-content {
        width: 100%;
        max-width: 100%;
        text-align: center;
        padding: 20px;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 1.5rem;
        margin-top: -20px;
    }
    
    .hero-content > * {
        max-width: 100%;
    }
    
    .hero-title {
        margin-bottom: 1rem;
        font-size: clamp(1.5rem, 6vh, 3rem);
        line-height: 1.2;
    }
    
    .hero-subtitle {
        margin-bottom: 1.5rem;
        font-size: clamp(0.9rem, 3vh, 1.5rem);
        line-height: 1.4;
    }
    
    .hero-ctas {
        justify-content: center;
        gap: 1rem;
    }
    
    .btn-large {
        padding: clamp(1rem, 2vw, 1.3rem) clamp(1.75rem, 3.5vw, 2.5rem);
        font-size: clamp(1rem, 2.2vw, 1.35rem);
        min-height: clamp(50px, 8.5vw, 58px);
    }
    
    .hero-floating-card {
        position: static;
        order: -1;
        margin-bottom: 2rem;
    }
    
    .floating-card {
        justify-content: center;
        margin: 0 auto;
        max-width: 300px;
    }
    
    /* Features */
    .features-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem 1rem;
        justify-items: center;
    }
    
    .feature-card:nth-child(2),
    .feature-card:nth-child(3) {
        transform: none;
    }
    
    .feature-image {
        width: 140px;
        height: 140px;
        border-width: 5px;
    }
    
    /* Services */
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card:nth-child(2) {
        transform: none;
    }
    
    /* Price Teaser */
    .price-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    /* Allow wrapping to avoid overflow */
    .price-link {
        white-space: normal;
    }
    
    /* Flow */
    .flow-steps {
        grid-template-columns: 1fr;
        justify-items: center;
    }
    
    .flow-step {
        display: grid;
        grid-template-rows: auto auto auto;
        justify-items: center;
        text-align: center;
        gap: 0.5rem;
    }
    
    .step-content {
        text-align: center;
    }
    
    .step-title {
        text-align: center;
        min-height: 3.6em;
        display: block;
        line-height: 1.3;
        padding: 0.5rem 0;
    }
    
    .step-description {
        text-align: center;
    }
    
    /* Area */
    .area-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Contact */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Contact Info */
    .contact-info-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info-card {
        flex-direction: column;
        text-align: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .contact-form-container {
        padding: 2rem;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-contact {
        text-align: left;
    }
    
    .footer-links {
        text-align: center;
        justify-content: center;
        align-items: center;
    }
    
    .nav-logo:hover {
        transform: none;
    }
    
    .footer-logo:hover {
        transform: none;
    }
    
    .footer-contact-item td {
        padding: 0.5rem 0;
    }
    
    .footer-label {
        padding-right: 0.5rem;
    }
    
    /* Job Details */
    .job-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .job-label {
        min-width: auto;
    }
    
    .job-value {
        text-align: left;
    }
    
    .recruit-cta .btn {
        min-width: 180px;
        padding: 0.875rem 2rem;
    }
    
    .cta-content .btn {
        min-width: 200px;
        padding: 1rem 2.5rem;
        font-size: 1rem;
    }
    /* Flow responsive */
    .flow-steps {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem 1rem;
        justify-items: center;
        margin: 0 auto;
        width: 100%;
    }
    
    .flow-step {
        display: grid;
        grid-template-rows: auto auto auto;
        justify-items: center;
        text-align: center;
        width: 100%;
        gap: 0.5rem;
    }
    
    .step-title {
        text-align: center;
        width: 100%;
        min-height: 3.6em;
        display: block;
        line-height: 1.3;
        padding: 0.5rem 0;
    }
    
    .step-description {
        text-align: center;
        width: 100%;
    }
    .flow-steps::before { display: none; }
    .step-media { 
        width: 140px; 
        height: 140px; 
        margin: 0 auto 1rem;
    }
    .step-photo { width: 140px; height: 140px; }
    .step-badge { width: 52px; height: 52px; font-size: 1.2rem; top: -9px; }
}

@media (max-width: 480px) {
    :root {
        --font-size-h1: clamp(24px, 6vw, 32px);
        --font-size-h2: clamp(24px, 6vw, 32px);
        --font-size-h3: clamp(18px, 4vw, 22px);
        --font-size-body: 12px;
    }
    
    body {
        font-size: 12px;
    }
    
    p {
        font-size: 12px;
    }
    
    /* Features - 2×2 grid layout for mobile */
    .features-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem 0.75rem;
        justify-items: center;
    }
    
    /* Flow - 2×2 grid layout for mobile */
    .flow-steps {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem 0.75rem;
        justify-items: center;
        margin: 0 auto;
        width: 100%;
    }
    
    .flow-step {
        display: grid;
        grid-template-rows: auto auto auto;
        justify-items: center;
        text-align: center;
        width: 100%;
        gap: 0.5rem;
    }
    
    .step-media {
        margin: 0 auto 0.5rem;
        width: 130px;
        height: 130px;
    }
    
    .step-photo {
        width: 130px;
        height: 130px;
    }
    
    .step-title {
        text-align: center;
        width: 100%;
        min-height: 3.6em;
        display: block;
        line-height: 1.3;
        padding: 0.5rem 0;
    }
    
    .step-description {
        text-align: center;
        width: 100%;
    }
    
    .mobile-break::before {
        content: '\A';
        white-space: pre;
    }
    
    .job-label {
        width: 65px;
        min-width: 65px;
        padding: 0.8rem 0.4rem;
    }
    
    
    .hero {
        height: calc(80vh + 60px);
        margin-top: 0;
        padding-top: 60px;
        min-height: 460px;
        align-items: flex-start;
    }
    
    .hero-background,
    .hero-overlay-bg {
        top: 0;
        height: calc(80vh + 60px);
        min-height: 460px;
    }
    
    .feature-image {
        width: 130px;
        height: 130px;
        border-width: 4px;
    }
    
    .hero-container {
        width: 100%;
        height: calc(80vh + 60px);
        min-height: 460px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 15px;
        box-sizing: border-box;
    }
    
    .hero-content {
        width: 100%;
        max-width: 100%;
        padding: 15px;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 1rem;
        margin-top: -15px;
    }

    .hero-title {
        margin-bottom: 1rem;
        font-size: clamp(1rem, 4vh, 2rem);
        line-height: 1.2;
    }
    
    .hero-subtitle {
        margin-bottom: 1rem;
        font-size: clamp(0.8rem, 2.5vh, 1.2rem);
        line-height: 1.4;
    }
    
    .hero-ctas {
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
        padding: 0.75rem 1rem;
        font-size: 14px;
        white-space: normal; /* allow wrap to prevent overflow */
    }
    
    .floating-card {
        padding: 1rem;
        max-width: 250px;
    }
    
    .card-icon {
        width: 40px;
        height: 40px;
    }
    
    .icon-img {
        width: 20px;
        height: 20px;
    }
    
    .section-header {
        margin-bottom: 2rem;
        padding-top: 0; /* removed for mobile */
    }

    .price-link {
        width: 100%;
        white-space: normal; /* allow wrap on small screens */
    }
    
    .feature-card,
    .service-card,
    .flow-step {
        padding: 1.5rem;
    }
    
    .contact-form-container {
        padding: 1.5rem;
    }
    
    .contact-info-card {
        padding: 1.5rem;
    }
    
    .contact-info-card .contact-icon {
        font-size: 2.5rem;
    }
    
    .contact-info-card .contact-value {
        font-size: 1.1rem;
    }
    
    .recruit-cta .btn {
        min-width: 160px;
        padding: 0.75rem 1.5rem;
    }
    
    .cta-content .btn {
        min-width: 180px;
        padding: 0.875rem 2rem;
        font-size: 0.95rem;
    }
    
    .price-links {
        gap: 0.75rem;
    }
    
    .price-link {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus styles for accessibility */
/* Focus styles removed - using global outline: none */

/* Page-specific Styles */

/* Page Title Header */
.hTitle {
    background-image: url('img/Minimalist_sunlit_guest_room_with_crisp_white.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    padding: 90px 0 90px;
    margin-top: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

.hTitle::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 166, 166, 0.8) 0%, rgba(26, 166, 166, 0.6) 100%);
    z-index: 1;
}

.hTitle .h2 {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    margin: 0;
}

.hTitle .t1 {
    display: block;
    font-size: clamp(24px, 4vw, 48px);
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hTitle .t2 {
    display: block;
    font-size: clamp(14px, 2vw, 20px);
    font-weight: 300;
    letter-spacing: 0.2em;
    opacity: 0.9;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.roboto {
    font-family: 'Roboto', sans-serif;
}

/* Youjo Page Title Header */
.youjo-cleaning .hTitle {
    background-image: url('img/yojo_1.png');
}

/* Page Header */
.page-header {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, var(--bg-alt) 0%, white 100%);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 30%;
    height: 100%;
    background: linear-gradient(45deg, rgba(26, 166, 166, 0.05) 0%, rgba(243, 198, 35, 0.05) 100%);
    z-index: 0;
}

.page-header-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.page-title {
    font-size: var(--font-size-h1);
    color: var(--primary);
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.3rem;
    color: var(--text-sub);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.page-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.page-badge {
    background-color: var(--bg-alt);
    color: var(--primary-dark);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: var(--font-size-small);
    font-weight: 500;
    border: 1px solid rgba(26, 166, 166, 0.2);
}

.page-header-image {
    position: relative;
    transform: rotate(-2deg);
    transition: var(--transition);
}

.page-header-image:hover {
    transform: none;
}

.page-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
}

/* Service Intro */
.service-intro {
    padding: 50px 0;
    background: white;
}

.intro-content {
    max-width: 1000px;
    margin: 0 auto;
}

.intro-main-card {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--bg-alt);
    border-radius: 12px;
    border: 1px solid var(--line);
}

.intro-image {
    position: relative;
}

.intro-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid var(--line);
}

.intro-description-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.intro-title {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 0;
}

.intro-description {
    font-size: 1.1rem;
    color: var(--text-sub);
    line-height: 1.7;
    margin: 0;
}

.intro-highlights {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--primary);
    font-weight: 500;
}

.highlight-item svg {
    flex-shrink: 0;
    color: var(--accent);
}

.intro-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.intro-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 2rem;
    background: white;
    border: 1px solid var(--line);
    border-radius: 12px;
    transition: var(--transition);
}

.intro-feature:hover {
    transform: none;
}

.feature-icon {
    color: var(--primary);
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0;
}

.feature-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.feature-title {
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    margin-top: 0;
    line-height: 1.3;
}

.feature-desc {
    color: var(--text-sub);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.6;
}

.intro-bullets {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.intro-bullets li {
    padding: 1rem;
    background: var(--bg-alt);
    border-radius: 0.5rem;
    position: relative;
}



.intro-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-sub);
    margin-bottom: 2rem;
}

/* Duplicate intro-feature styles removed - using unified styles above */

.feature-title {
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.feature-desc {
    color: var(--text-sub);
    font-size: 0.9rem;
    margin: 0;
}

.intro-image-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.intro-img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid var(--line);
    transition: var(--transition);
}

.intro-img:hover {
    transform: none;
}

/* Scope Grid */
.scope-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.scope-item {
    background: white;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 200px;
}

.scope-item:hover {
    transform: none;
}

.scope-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80px;
    flex-shrink: 0;
}

.scope-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.scope-title {
    color: var(--primary);
    margin-bottom: 0.5rem;
    margin-top: auto;
}

.scope-description {
    color: var(--text-sub);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Pricing Tables */
.pricing-table {
    margin-bottom: 3rem;
}

.table-title {
    color: var(--primary);
    margin-bottom: 0.5rem;
    text-align: center;
}

.table-subtitle {
    color: var(--text-sub);
    font-size: 0.9rem;
    text-align: center;
    margin-bottom: 1.5rem;
    margin-top: 0;
}

.table-container {
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: 12px;
}

.price-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.price-table th,
.price-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--line);
    border-right: 1px solid var(--line);
}

.price-table th:last-child,
.price-table td:last-child {
    border-right: none;
}

.price-table th {
    background: var(--bg-alt);
    font-weight: 600;
    color: var(--primary);
}

.price-table .price {
    font-weight: 600;
    color: var(--primary);
}

.pricing-notes {
    background: var(--bg-alt);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--line);
}

.notes-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.notes-list li {
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-sub);
}

.notes-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

/* Notes Section */
.notes-content {
    margin-top: 3rem;
}

.notes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.note-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 2rem;
    background: white;
    border: 1px solid var(--line);
    border-radius: 12px;
    transition: var(--transition);
}

.note-item:hover {
    transform: none;
}

.note-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.note-title {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.note-description {
    color: var(--text-sub);
    line-height: 1.6;
}

/* Pricing Items */
.pricing-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.pricing-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background: white;
    border: 1px solid var(--line);
    border-radius: 12px;
    transition: var(--transition);
}

.pricing-item:hover {
    transform: none;
}

.pricing-icon {
    font-size: 3rem;
    flex-shrink: 0;
}

.pricing-title {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.pricing-price {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.25rem;
}

.pricing-unit {
    color: var(--text-sub);
    font-size: 0.9rem;
}

.pricing-note {
    text-align: center;
    padding: 1.5rem;
    background: var(--bg-alt);
    border: 1px solid var(--line);
    border-radius: 12px;
}

.pricing-note p {
    color: var(--text-sub);
    margin: 0;
}

/* Gallery */
.gallery {
    background: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--line);
    transition: var(--transition);
}

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

.gallery-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
}

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 2rem 1.5rem 1.5rem;
}

.gallery-title {
    color: white;
    margin-bottom: 0.5rem;
}

.gallery-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin: 0;
}

/* FAQ - Remove duplicate styles */

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    text-align: center;
    padding: 4rem 0;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-content .btn {
    min-width: 250px;
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
}

.cta-title {
    color: white;
    margin-bottom: 1rem;
}

.cta-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Responsive for new pages */
@media (max-width: 768px) {
    .hTitle {
        padding: 70px 0 70px;
        margin-top: 70px;
        min-height: 250px;
    }
    
    .hTitle .t1 {
        font-size: clamp(20px, 6vw, 32px);
    }
    
    .hTitle .t2 {
        font-size: clamp(12px, 3vw, 16px);
    }
    .page-header {
        padding: 6rem 0 3rem;
    }
    
    .page-header-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .page-header-image {
        transform: none;
    }
    
    .intro-content {
        max-width: 100%;
    }
    
    .intro-main-card {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1.5rem;
    }
    
    .intro-img {
        height: 200px;
    }
    
    .intro-title {
        font-size: 1.3rem;
    }
    
    .intro-features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .intro-feature {
        padding: 1.5rem;
    }
    
    .intro-image-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }
    
    .scope-grid {
        grid-template-columns: 1fr;
    }
    
    .notes-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-items {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .table-container {
        font-size: 0.9rem;
    }
    
    .table-title {
        font-size: 1.1rem;
        line-height: 1.3;
    }
    
    .table-subtitle {
        font-size: 0.8rem;
    }
    
    .price-table th,
    .price-table td {
        padding: 0.85rem 0.6rem;
        border-right: 1px solid var(--line);
        line-height: 1.4;
        white-space: nowrap;
        word-break: keep-all;
    }
    
    .price-table th:last-child,
    .price-table td:last-child {
        border-right: none;
    }
}

@media (max-width: 480px) {
    .page-header {
        padding: 5rem 0 2rem;
    }
    /* Flow-steps already set to 2×2 grid at 480px breakpoint */
    
    .scope-item,
    .note-item,
    .pricing-item {
        padding: 1.5rem;
    }
    
    .pricing-item {
        flex-direction: column;
        text-align: center;
    }
    
    .intro-image-grid {
        grid-template-columns: 1fr;
    }
    
    .table-container {
        font-size: 0.85rem;
    }
    
    .table-title {
        font-size: 1rem;
        line-height: 1.3;
    }
    
    .table-subtitle {
        font-size: 0.75rem;
    }
    
    .price-table th,
    .price-table td {
        padding: 0.85rem 0.6rem;
        border-right: 1px solid var(--line);
        line-height: 1.5;
        white-space: nowrap;
        word-break: keep-all;
    }
    
    .price-table th:last-child,
    .price-table td:last-child {
        border-right: none;
    }
}

/* Mobile Responsive Styles for Scope Images */
@media (max-width: 768px) {
    .scope-icon {
        height: 60px;
    }
    
    .scope-img {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 480px) {
    .scope-icon {
        height: 50px;
    }
    
    .scope-img {
        width: 50px;
        height: 50px;
    }
}

/* Mobile: Fix hamburger (X) clipping and ensure hit area */
@media (max-width: 768px) {
    .mobile-menu-btn {
        min-width: 44px;
        min-height: 44px;
    }
    /* Make active state (X) larger to prevent clipping */
    .mobile-menu-btn.active {
        min-width: 52px;
        min-height: 52px;
    }
    /* Adjust X position to center properly within larger button */
    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(4px, 4px);
    }
    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(4px, -4px);
    }
}

/* Mobile: Base Pricing table column widths (smartphone) */
@media (max-width: 480px) {
    /* Only the first pricing table (基本料金) */
    .pricing .pricing-table:first-of-type .price-table {
        table-layout: fixed;
    }
    /* Narrow the first column (区分) */
    .pricing .pricing-table:first-of-type .price-table th:nth-child(1),
    .pricing .pricing-table:first-of-type .price-table td:nth-child(1) {
        width: 18%;
    }
    /* Make the other columns wider equally */
    .pricing .pricing-table:first-of-type .price-table th:nth-child(2),
    .pricing .pricing-table:first-of-type .price-table td:nth-child(2),
    .pricing .pricing-table:first-of-type .price-table th:nth-child(3),
    .pricing .pricing-table:first-of-type .price-table td:nth-child(3),
    .pricing .pricing-table:first-of-type .price-table th:nth-child(4),
    .pricing .pricing-table:first-of-type .price-table td:nth-child(4) {
        width: 27%;
    }
}

/* Tablet and Small Desktop Styles (769px〜1199px) */
@media (min-width: 769px) and (max-width: 1199px) {
    .hero-title {
        font-size: clamp(2.2rem, 5vw, 3.8rem);
    }
    
    .hero-subtitle {
        font-size: clamp(1.1rem, 2.2vw, 1.6rem);
    }
    
    .hero-content {
        max-width: 750px;
        padding: 40px;
    }
    
    .btn-large {
        padding: 1rem 2.2rem;
        font-size: 1.2rem;
    }
}

/* Large Desktop Styles (1200px以上) */
@media (min-width: 1200px) {
    .hero-title {
        font-size: clamp(3rem, 3.8vw, 4.2rem);
    }
    
    .hero-subtitle {
        font-size: clamp(1.3rem, 1.6vw, 1.8rem);
    }
    
    .btn-large {
        padding: 1.1rem 2.5rem;
        font-size: 1.25rem;
    }
}

/* Extra Large Desktop Styles (1600px以上) */
@media (min-width: 1600px) {
    .hero-title {
        font-size: 4.5rem;
        max-width: 1100px;
    }
    
    .hero-subtitle {
        font-size: 2rem;
        max-width: 1000px;
    }
    
    .hero-content {
        max-width: 1200px;
    }
    
    .btn-large {
        padding: 1.2rem 2.8rem;
        font-size: 1.3rem;
    }
}

/* Print styles */
@media print {
    .header,
    .footer,
    .btn,
    .mobile-menu-btn {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .hero,
    .page-header {
        padding: 2rem 0;
    }
    
    section {
        padding: 1rem 0;
        break-inside: avoid;
    }
}

/* Scope Grid Alternate Layout */
.scope-grid-alternate {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-top: 3rem;
}

.scope-item-alternate {
    display: flex;
    align-items: stretch;
    gap: 0;
}

.scope-item-alternate.reverse {
    flex-direction: row-reverse;
}

.scope-content {
    width: 50%;
    padding: 40px;
    flex-shrink: 0;
    background: white;
    height: 200px;
}

.scope-image {
    width: 50%;
    flex-shrink: 0;
    height: 200px;
}

.scope-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Responsive for Scope Alternate Layout */
@media (max-width: 768px) {
    .scope-grid-alternate {
        gap: 2rem;
    }
    
    .scope-item-alternate {
        gap: 0;
        align-items: flex-start;
    }
    
    .scope-content {
        width: 50%;
        padding: 20px 15px;
        text-align: left;
        flex-shrink: 0;
        min-height: 150px;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }
    /* 上揃えのためタイトルの自動下寄せを無効化 */
    .scope-title { margin-top: 0; }
    
    .scope-image {
        width: 50%;
        flex-shrink: 0;
        min-height: 150px;
    }
    
    .scope-image img {
        height: 100%;
    }
}

@media (max-width: 480px) {
    .scope-grid-alternate {
        gap: 1.5rem;
    }
    
    .scope-item-alternate {
        gap: 0;
        align-items: flex-start;
    }
    
    .scope-content {
        padding: 25px 15px;
        width: 50%;
        flex-shrink: 0;
        min-height: 160px;
        text-align: left;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }
    /* 上揃えのためタイトルの自動下寄せを無効化 */
    .scope-title { margin-top: 0; }
    
    .scope-image {
        width: 50%;
        min-height: 160px;
    }
    
    .scope-image img {
        height: 100%;
    }
}
