/* 
  Design System for Ekubo Home 
  Inspired by modern SaaS interfaces (fondesk.jp)
*/

:root {
    /* Colors */
    --primary: #079669;
    /* Deep green accent */
    --primary-hover: #057a56;
    --secondary: #dcfce7;
    /* Light green bg */
    --accent: #ffb74d;
    /* Warm yellow/orange from logo for buttons/highlights */
    --accent-hover: #f59e0b;

    --text-main: #434343;
    --text-light: #64748b;
    --text-inverse: #ffffff;

    --bg-main: #ffffff;
    --bg-alt: #f8fafc;
    --bg-footer: #1e293b;

    --border-light: #e2e8f0;

    /* Radii */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 15px 35px rgba(138, 192, 59, 0.15);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

    /* ===== 文字サイズスケール (Typography Scale - 高齢者向けアクセシビリティ対応) ===== */
    --fs-xxs:     0.9rem;    /* 18px  極小バッジ (news-badge) [+20%] */
    --fs-xs:      0.95rem;   /* 19px  小ラベル (room-type-badge, photo-dist) [+19%] */
    --fs-sm:      1.0rem;    /* 20px  補助テキスト (notes, captions, labels) [+14%] */
    --fs-base:    1.15rem;   /* 23px  本文 (btn, card text, body) [+15%] */
    --fs-md:      1.25rem;   /* 25px  やや大きめ (btn-large, faq-question) [+14%] */
    --fs-lg:      1.45rem;   /* 29px  カードタイトル (feature-title, hero-text) [+16%] */
    --fs-xl:      1.6rem;    /* 32px  中見出し (flow-item-title, surroundings-heading) [+14%] */
    --fs-2xl:     1.7rem;    /* 34px  ロゴ・プランタイトル (logo-text, pricing h3) [+13%] */
    --fs-3xl:     2.0rem;    /* 40px  セクション日本語見出し (section-subtitle) [+11%] */
    --fs-4xl:     2.2rem;    /* 44px  強調見出し (concept h3, lightbox-close) [+10%] */
    --fs-icon-lg: 2.4rem;    /* 48px  大型アイコン絵文字専用 (safety/checklist icons) [+9%] */
    --fs-5xl:     2.75rem;   /* 55px  ページヒーロー・電話番号 (page-hero-title) [+10%] */
    --fs-hero:    3.8rem;    /* 76px  メインヒーロー (hero-title) [+9%] */
    --fs-display: 4.3rem;    /* 86px  特大数字 (access-walk-num) [+8%] */
}

/* Reset & BaseStyles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.6;
    font-size: 20px;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

ul {
    list-style: none;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.3;
    font-weight: 700;
    color: var(--text-main);
}

.highlight {
    color: var(--primary);
}

/* Layout */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--border-light);
}

.section-light {
    background-color: var(--bg-alt);
}

.section-header {
    margin-bottom: 48px;
    display: flex;
    flex-direction: column;
}

.section-header.center {
    text-align: center;
    align-items: center;
}

.section-title {
    font-size: var(--fs-sm);
    margin-bottom: 0;
    letter-spacing: 0.12em;
    color: var(--text-light);
    font-weight: 500;
    text-transform: uppercase;
}

.section-subtitle {
    font-size: var(--fs-3xl);
    color: var(--primary);
    font-weight: 700;
    order: -1;
    margin-bottom: 6px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: var(--radius-full);
    font-weight: 700;
    text-decoration: none;
    transition: all var(--transition-fast);
    cursor: pointer;
    border: none;
    font-family: inherit;
    font-size: var(--fs-base);
}

.btn-primary {
    background-color: var(--accent);
    /* highly visibleCTA */
    color: var(--text-inverse);
    box-shadow: 0 4px 15px rgba(255, 183, 77, 0.4);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 183, 77, 0.5);
    color: white;
}

.btn-outline {
    background-color: transparent;
    color: var(--text-main);
    border: 2px solid var(--border-light);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background-color: var(--secondary);
}

.btn-large {
    padding: 16px 32px;
    font-size: var(--fs-md);
}

.btn-full {
    width: 100%;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    transition: all normal;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px;
    /* Increased to accommodate larger logo */
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 80px;
    /* Increased from 50px */
    max-height: 100%;
}

.logo-text {
    font-size: var(--fs-2xl);
    font-weight: 700;
    color: var(--primary);
}

.nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-list {
    display: flex;
    gap: 24px;
}

.nav-link {
    font-weight: 500;
    color: var(--text-main);
}

.nav-link:hover {
    color: var(--primary);
}

.nav-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 1100;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-main);
    position: absolute;
    left: 0;
    transition: var(--transition-fast);
}

.nav-toggle span:nth-child(1) {
    top: 0;
}

.nav-toggle span:nth-child(2) {
    top: 9px;
}

.nav-toggle span:nth-child(3) {
    top: 18px;
}

/* Hero Section */
.hero {
    padding: 160px 0 100px;
    background: linear-gradient(135deg, var(--secondary) 0%, rgba(255, 255, 255, 1) 100%);
    position: relative;
    overflow: hidden;
}

.hero-inner {
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 2;
}

.hero-content {
    flex: 1;
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background-color: var(--primary);
    color: white;
    border-radius: var(--radius-full);
    font-size: var(--fs-sm);
    font-weight: 700;
    margin-bottom: 24px;
}

.hero-title {
    font-size: var(--fs-hero);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-text {
    font-size: var(--fs-lg);
    color: var(--text-light);
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
}

.hero-image-wrapper {
    flex: 1;
    position: relative;
}

.hero-image-placeholder {
    width: 100%;
    aspect-ratio: 4/3;
    background: linear-gradient(45deg, #f0fdf4, #dcfce7);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.hero-image-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(var(--primary) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.1;
}

.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    padding: 24px 40px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.glass-text {
    font-size: var(--fs-2xl);
    font-weight: 700;
    color: var(--primary);
    text-align: center;
}

/* Background Shapes */
.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 1;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: rgba(138, 192, 59, 0.2);
    top: -100px;
    right: -100px;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: rgba(255, 183, 77, 0.15);
    bottom: 0;
    left: -100px;
}

/* Concept Section */
.concept-content {
    display: flex;
    justify-content: center;
}

.concept-text {
    max-width: 760px;
    text-align: center;
}

.concept-text h3 {
    font-size: var(--fs-4xl);
    margin-bottom: 24px;
}

.concept-text p {
    color: var(--text-light);
    margin-bottom: 16px;
    font-size: var(--fs-md);
}


/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.feature-card {
    background: white;
    padding: 48px 40px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    transition: all var(--transition-normal);
    text-align: center;
}

.feature-card.user-hover:hover {
    border-color: transparent;
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
}

.feature-img {
    width: 100%;
    max-width: 200px;
    height: 160px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    margin: 0 auto 28px;
    display: block;
}

.feature-title {
    font-size: var(--fs-lg);
    margin-bottom: 16px;
}

.feature-text {
    color: var(--text-light);
    font-size: var(--fs-base);
    line-height: 1.8;
}

/* Facility */
/* 外観ヒーロー */
.facility-hero {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 16px;
    cursor: pointer;
}

.facility-hero-img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.facility-hero:hover .facility-hero-img {
    transform: scale(1.02);
}

/* 間取り図 */
.facility-floorplan {
    text-align: center;
    margin-bottom: 32px;
    background: white;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    padding: 24px;
}

.facility-floorplan-title {
    font-size: var(--fs-base);
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 16px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.facility-floorplan-img {
    max-width: 100%;
    border-radius: var(--radius-sm);
    cursor: pointer;
}

/* 室内写真グリッド */
.facility-interior-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 48px;
}

.facility-photo-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    background: #e2e8f0;
}

.facility-photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.facility-photo-item:hover img {
    transform: scale(1.04);
}

.photo-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 28px 16px 12px;
    background: linear-gradient(to top, rgba(0,0,0,0.55), transparent);
    color: white;
    font-size: var(--fs-sm);
    font-weight: 500;
    letter-spacing: 0.05em;
}

/* Facility Details Table */
.facility-details {
    background: white;
    padding: 32px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
}

.detail-row {
    display: flex;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-light);
}

.detail-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.detail-row:first-child {
    padding-top: 0;
}

.detail-label {
    width: 120px;
    flex-shrink: 0;
    font-weight: 700;
    color: var(--primary);
}

.detail-value {
    color: var(--text-main);
}

/* Rooms */
.rooms-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.room-card {
    background: white;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition-normal);
}

.room-card:hover {
    box-shadow: var(--shadow-hover);
}

.room-photos {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.room-photo-main {
    position: relative;
    overflow: hidden;
}

.room-img-wrapper {
    aspect-ratio: 4/3;
    overflow: hidden;
    cursor: pointer;
}

.room-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.room-card:hover .room-img {
    transform: scale(1.03);
}

.room-info {
    padding: 28px 32px 32px;
}

.room-type-badge {
    display: inline-block;
    background: var(--primary);
    color: white;
    font-size: var(--fs-xs);
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
    letter-spacing: 0.05em;
}

.room-type-japanese {
    background: var(--secondary, #8b6e4e);
}

.room-title {
    font-size: var(--fs-lg);
    margin-bottom: 6px;
}

.room-size {
    color: var(--text-light);
    font-size: var(--fs-base);
    margin-bottom: 20px;
}

.room-amenities {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.room-amenities li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: var(--fs-base);
    color: var(--text-dark);
}

.amenity-icon {
    font-size: var(--fs-base);
}

/* Flow */
.flow-steps {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
    position: relative;
}

/* Connecting line */
.flow-steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: var(--border-light);
    z-index: 0;
}

.step-card {
    position: relative;
    z-index: 1;
    background: white;
    padding: 24px 16px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    text-align: center;
    transition: transform var(--transition-fast);
}

.step-card:not(:last-child)::after {
    content: '›';
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: var(--fs-3xl);
    color: var(--primary);
    z-index: 2;
    line-height: 1;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--fs-2xl);
    font-weight: 700;
    margin: 0 auto 24px;
    border: 8px solid var(--bg-main);
}

.step-img {
    width: 100%;
    max-width: 140px;
    height: auto;
    margin: 0 auto 12px;
    display: block;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

.step-title {
    font-size: var(--fs-md);
    margin-bottom: 12px;
}

.step-text {
    font-size: var(--fs-sm);
    color: var(--text-light);
}

/* FAQ */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: var(--radius-md);
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 24px;
    background: none;
    border: none;
    font-size: var(--fs-md);
    font-weight: 700;
    color: var(--text-main);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-icon {
    width: 24px;
    height: 24px;
    position: relative;
    flex-shrink: 0;
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background: var(--primary);
    transition: transform var(--transition-fast);
}

.faq-icon::before {
    top: 11px;
    left: 4px;
    width: 16px;
    height: 2px;
}

.faq-icon::after {
    top: 4px;
    left: 11px;
    width: 2px;
    height: 16px;
}

.faq-item.active .faq-icon::after {
    transform: rotate(90deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal);
    background: var(--bg-alt);
}

.faq-answer p {
    padding: 0 24px 24px;
    color: var(--text-light);
}

/* Contact Section */
.contact-section {
    background: linear-gradient(135deg, var(--secondary) 0%, rgba(255, 255, 255, 1) 100%);
}

.contact-photo {
    text-align: center;
    margin-bottom: 36px;
}

.contact-img {
    width: 100%;
    max-width: 520px;
    height: auto;
    border-radius: var(--radius-md);
    display: inline-block;
}

.contact-box {
    background: white;
    border-radius: var(--radius-lg);
    padding: 60px;
    box-shadow: var(--shadow-lg);
}

.contact-header {
    text-align: center;
    margin-bottom: 40px;
}

.contact-header h2 {
    font-size: var(--fs-4xl);
    margin-bottom: 16px;
}

.contact-header p {
    color: var(--text-light);
}

.contact-methods {
    display: flex;
    gap: 32px;
}

.contact-method {
    flex: 1;
    padding: 40px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    text-align: center;
}

.contact-method.phone {
    background-color: var(--bg-alt);
}

.method-label {
    display: block;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
}

.method-value {
    font-size: var(--fs-5xl);
    font-weight: 700;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.phone-icon {
    font-size: var(--fs-4xl);
}

.method-note {
    font-size: var(--fs-sm);
    color: var(--text-light);
}

.contact-method.form .btn {
    padding: 24px;
    font-size: var(--fs-lg);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-method.form .btn span {
    font-size: var(--fs-sm);
    font-weight: 400;
    opacity: 0.9;
}

/* Footer */
.footer {
    background: var(--bg-footer);
    color: rgba(255, 255, 255, 0.8);
    padding-top: 80px;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-info {
    max-width: 300px;
}

.footer-logo {
    margin-bottom: 24px;
}

.footer-logo-img {
    height: 80px;
    /* Increased from 50px */
    filter: brightness(0) invert(1);
}

.footer-logo-text {
    font-size: var(--fs-2xl);
    font-weight: 700;
    color: white;
}

.footer-desc {
    margin-bottom: 16px;
}

.footer-link-group h4 {
    color: white;
    margin-bottom: 24px;
    font-size: var(--fs-md);
}

.footer-link-group ul li {
    margin-bottom: 12px;
}

.footer-link-group ul li a:hover {
    color: white;
}

.footer-links {
    display: flex;
    gap: 80px;
}

.footer-bottom {
    padding: 24px 0;
    font-size: var(--fs-sm);
}

.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.legal-links {
    display: flex;
    gap: 24px;
}

.legal-links a:hover {
    color: white;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Support */
.support-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 48px;
    color: var(--text-light);
    font-size: var(--fs-md);
    line-height: 1.9;
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.support-card {
    background: white;
    padding: 0;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    text-align: center;
    overflow: hidden;
    transition: all var(--transition-normal);
}

.support-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: transparent;
}

.support-photo-wrapper {
    aspect-ratio: 4/3;
    overflow: hidden;
    width: 100%;
}

.support-photo-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
}

.support-card:hover .support-photo-wrapper img {
    transform: scale(1.05);
}

.support-card-body {
    padding: 24px 28px 28px;
}

.support-card-title {
    font-size: var(--fs-lg);
    margin-bottom: 12px;
}

.support-card-text {
    color: var(--text-light);
    font-size: var(--fs-base);
    line-height: 1.8;
}

/* Pricing */
.pricing-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

.pricing-card {
    background: white;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    border-top: 4px solid var(--primary);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.pricing-card-header {
    background: var(--secondary);
    padding: 32px;
    text-align: center;
}

.pricing-card-header h3 {
    font-size: var(--fs-2xl);
    margin-bottom: 8px;
}

.pricing-note {
    font-size: var(--fs-sm);
    color: var(--text-light);
}

.pricing-table {
    padding: 24px 32px;
}

.pricing-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px dashed var(--border-light);
}

.pricing-row:last-child {
    border-bottom: none;
}

.pricing-label {
    font-weight: 500;
    color: var(--text-main);
}

.pricing-value {
    font-size: var(--fs-lg);
    font-weight: 700;
    color: var(--text-main);
}

.pricing-value small {
    font-size: var(--fs-sm);
    font-weight: 500;
}

.pricing-total {
    border-top: 2px solid var(--primary);
    border-bottom: none;
    margin-top: 8px;
    padding-top: 24px;
}

.pricing-total-value {
    font-size: var(--fs-3xl);
    color: var(--primary);
}

.pricing-footnote {
    background: var(--bg-alt);
    padding: 20px 32px;
    font-size: var(--fs-sm);
    color: var(--text-light);
    text-align: center;
}

/* Access */
.access-map {
    margin-bottom: 24px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.access-map iframe {
    display: block;
}

.access-address {
    display: table;
    margin: 0 auto 32px;
    text-align: center;
    font-size: var(--fs-md);
    color: var(--text-main);
    font-weight: 700;
    letter-spacing: 0.03em;
    padding: 14px 36px;
    background: white;
    border: 2px solid var(--primary-light, #c8e6c9);
    border-radius: 999px;
    box-shadow: var(--shadow-sm);
}

.access-transport {
    display: flex;
    gap: 24px;
    justify-content: center;
    margin-bottom: 48px;
}

.access-route {
    background: white;
    padding: 28px 44px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    text-align: center;
    min-width: 280px;
}

.access-route-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 10px;
}

.access-icon {
    font-size: var(--fs-xl);
}

.access-line {
    font-size: var(--fs-sm);
    color: var(--text-light);
    font-weight: 500;
}

.access-station {
    display: block;
    font-size: var(--fs-md);
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 10px;
}

.access-walk {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
    font-size: var(--fs-base);
    color: var(--text-main);
    font-weight: 500;
}

.access-walk-num {
    font-size: var(--fs-display);
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

/* 旧クラス（後方互換用） */
.access-time {
    color: var(--primary);
    font-weight: 700;
    font-size: var(--fs-sm);
}

.surroundings-heading {
    font-size: var(--fs-xl);
    margin-bottom: 28px;
    text-align: center;
}

.surrounding-category {
    margin-bottom: 28px;
}

.category-label {
    font-size: var(--fs-base);
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--border-light);
    display: flex;
    align-items: center;
    gap: 8px;
}

.category-icon {
    font-size: var(--fs-md);
}

/* Surrounding Photo Cards (新デザイン) */
.surrounding-photo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.surrounding-photo-card {
    margin: 0;
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.surrounding-photo-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.surrounding-photo-img-wrapper {
    aspect-ratio: 4/3;
    overflow: hidden;
    background-color: #dde8dd;
}

.surrounding-photo-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    background-color: #dde8dd;
}

.surrounding-photo-card:hover .surrounding-photo-img-wrapper img {
    transform: scale(1.05);
}

.surrounding-photo-caption {
    padding: 14px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.surrounding-photo-name {
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--text-main);
}

.surrounding-photo-dist {
    font-size: var(--fs-xs);
    font-weight: 700;
    color: var(--primary);
    background: var(--secondary);
    padding: 3px 10px;
    border-radius: var(--radius-full);
    white-space: nowrap;
}

/* News */
.news-list {
    max-width: 800px;
    margin: 0 auto;
}

.news-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-light);
    text-decoration: none;
    color: var(--text-main);
    transition: opacity var(--transition-fast);
}

.news-item:first-child {
    padding-top: 0;
}

.news-item:last-child {
    border-bottom: none;
}

.news-item:hover {
    opacity: 0.7;
}

.news-date {
    font-size: var(--fs-sm);
    color: var(--text-light);
    flex-shrink: 0;
    min-width: 90px;
}

.news-badge {
    display: inline-block;
    background: var(--primary);
    color: white;
    font-size: var(--fs-xxs);
    font-weight: 700;
    padding: 2px 10px;
    border-radius: var(--radius-full);
    flex-shrink: 0;
}

.news-title {
    font-size: var(--fs-base);
    font-weight: 500;
    flex: 1;
}

.news-badge-recruit {
    background: var(--accent);
    color: var(--text-main);
}

.news-arrow {
    font-size: var(--fs-sm);
    color: var(--text-light);
    flex-shrink: 0;
    transition: transform var(--transition-fast);
}

.news-item:hover .news-arrow {
    transform: translateX(4px);
    color: var(--primary);
}

/* Company */
.company-section {
    padding: 60px 0;
    background: var(--bg-alt);
    border-top: 1px solid var(--border-light);
}

.company-details {
    max-width: 700px;
    margin: 0 auto;
    background: white;
    padding: 32px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
}

/* Page Hero (guide.html) */
.page-hero {
    background: linear-gradient(135deg, #bbf7d0 0%, var(--secondary) 100%);
    padding: 80px 0 60px;
    text-align: center;
    border-bottom: 1px solid var(--border-light);
}

.page-hero-title {
    font-size: var(--fs-5xl);
    color: var(--text-main);
    margin-bottom: 12px;
}

.page-hero-subtitle {
    font-size: var(--fs-base);
    color: var(--text-light);
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 680px;
    margin: 0 auto;
    padding: 8px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 88px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-light);
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    gap: 0;
    margin-bottom: 24px;
    position: relative;
}

.timeline-time {
    flex: 0 0 72px;
    font-size: var(--fs-md);
    font-weight: 700;
    color: var(--primary);
    padding-top: 14px;
    text-align: right;
}

.timeline-dot {
    flex-shrink: 0;
    width: 14px;
    height: 14px;
    background: var(--primary);
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 0 2px var(--primary);
    margin: 17px 16px 0;
    z-index: 2;
}

.timeline-content {
    flex: 1;
    background: white;
    padding: 14px 20px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
}

.timeline-title {
    font-size: var(--fs-base);
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text-main);
}

.timeline-text {
    font-size: var(--fs-sm);
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

/* Safety */
.safety-intro {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 40px;
    line-height: 1.9;
    color: var(--text-light);
}

.safety-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.safety-card {
    background: white;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    padding: 0;
    text-align: center;
    overflow: hidden;
    transition: all var(--transition-normal);
}

.safety-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: transparent;
}

.safety-photo-wrapper {
    aspect-ratio: 4/3;
    overflow: hidden;
    width: 100%;
}

.safety-photo-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.safety-card:hover .safety-photo-wrapper img {
    transform: scale(1.05);
}

.safety-card-body {
    padding: 20px 20px 24px;
    text-align: left;
}

.safety-icon-wrapper {
    width: 80px;
    height: 80px;
    background: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.safety-icon {
    font-size: var(--fs-icon-lg);
}

.safety-card-title {
    font-size: var(--fs-md);
    margin-bottom: 10px;
}

.safety-card-text {
    font-size: var(--fs-sm);
    color: var(--text-light);
    line-height: 1.7;
}

/* Eligibility */
.eligibility-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
}

.eligibility-list {
    list-style: none;
}

.eligibility-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid var(--border-light);
    font-size: var(--fs-base);
    line-height: 1.6;
    color: var(--text-main);
}

.eligibility-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.eligibility-item:first-child {
    padding-top: 0;
}

.check-icon {
    width: 26px;
    height: 26px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--fs-xs);
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 1px;
}

/* Checklist */
.checklist-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.checklist-card {
    background: white;
    padding: 28px 20px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    text-align: center;
    transition: all var(--transition-fast);
}

.checklist-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.checklist-icon {
    font-size: var(--fs-icon-lg);
    display: block;
    margin-bottom: 12px;
}

.checklist-card h4 {
    font-size: var(--fs-base);
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-main);
}

.checklist-card p {
    font-size: var(--fs-xs);
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

/* Guide CTA */
.guide-cta {
    background: linear-gradient(135deg, var(--primary) 0%, #057a56 100%);
    padding: 80px 0;
    text-align: center;
    color: white;
}

.guide-cta-title {
    font-size: var(--fs-3xl);
    margin-bottom: 16px;
    color: white;
}

.guide-cta-text {
    font-size: var(--fs-base);
    margin-bottom: 32px;
    opacity: 0.9;
}

.guide-cta .btn-primary {
    background: white;
    color: var(--primary);
    border: none;
}

.guide-cta .btn-primary:hover {
    background: var(--secondary);
}

/* Flow List (vertical) */
.flow-list {
    max-width: 820px;
    margin: 0 auto;
}

.flow-item {
    display: flex;
    align-items: center;
    gap: 40px;
    background: white;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    padding: 32px 40px;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.flow-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.flow-item-img {
    flex: 0 0 240px;
    aspect-ratio: 4/3;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--bg-alt);
}

.flow-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.flow-item-content {
    flex: 1;
}

.flow-item-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
}

.flow-item-number {
    display: inline-flex;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    font-size: var(--fs-base);
    font-weight: 700;
    margin-bottom: 0;
}

.flow-item-title {
    font-size: var(--fs-xl);
    font-weight: 700;
    margin-bottom: 0;
    color: var(--text-main);
}

.flow-item-text {
    font-size: var(--fs-base);
    color: var(--text-light);
    line-height: 1.8;
    margin: 0;
}

.flow-connector {
    text-align: center;
    color: var(--primary);
    font-size: var(--fs-4xl);
    line-height: 1;
    padding: 8px 0;
    opacity: 0.5;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.lightbox.is-open {
    display: flex;
}

.lightbox-img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: var(--radius-md);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.lightbox-close {
    position: absolute;
    top: 16px;
    right: 24px;
    font-size: var(--fs-4xl);
    color: white;
    background: none;
    border: none;
    cursor: pointer;
    line-height: 1;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.lightbox-close:hover {
    opacity: 1;
}

/* Responsive */
@media (max-width: 1100px) {
    .flow-steps {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Responsive */
@media (max-width: 992px) {
    .hero-inner {
        flex-direction: column;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }


    .photo-gallery {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 240px 180px 180px 180px;
    }

    .photo-item.photo-main {
        grid-column: 1 / 3;
    }

    .rooms-grid {
        grid-template-columns: 1fr;
    }

    .flow-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .flow-steps::before {
        display: none;
    }

    .facility-interior-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .facility-hero-img {
        height: 320px;
    }

    .contact-methods {
        flex-direction: column;
    }

    .footer-inner {
        flex-direction: column;
        gap: 40px;
    }

    .support-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .access-transport {
        flex-direction: column;
        align-items: center;
    }

    .safety-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .checklist-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }

    .hero-title {
        font-size: var(--fs-5xl);
    }

    .hero-buttons {
        flex-direction: column;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .photo-gallery {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 200px 150px 150px 150px;
    }

    .photo-item.photo-main {
        grid-column: 1 / 3;
    }

    .room-photo-main {
        height: 200px;
    }

    .nav-toggle {
        display: block;
    }

    .nav {
        position: fixed;
        top: 100px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 32px 24px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        opacity: 0;
        visibility: hidden;
    }

    .nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-list {
        flex-direction: column;
        width: 100%;
        text-align: center;
        gap: 32px;
    }

    .nav-cta {
        width: 100%;
        margin-top: 16px;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }


    .flow-steps {
        grid-template-columns: 1fr;
    }

    .flow-item {
        flex-direction: column;
        padding: 24px;
        gap: 20px;
    }

    .flow-item-img {
        flex: none;
        width: 100%;
    }

    .method-value {
        font-size: var(--fs-3xl);
    }

    .flex-between {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .support-grid {
        grid-template-columns: 1fr;
    }

    .access-transport {
        flex-direction: column;
    }

    .access-route {
        width: 100%;
    }

    .surrounding-photo-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .news-item {
        flex-wrap: wrap;
        gap: 8px;
    }

    .news-date {
        min-width: auto;
    }

    .safety-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .checklist-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .facility-interior-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .facility-hero-img {
        height: 260px;
    }

    .eligibility-wrapper {
        padding: 24px 20px;
    }

    .timeline::before {
        left: 62px;
    }

    .timeline-time {
        flex: 0 0 50px;
        font-size: var(--fs-sm);
    }

    .timeline-dot {
        margin: 17px 10px 0;
    }

    .page-hero-title {
        font-size: var(--fs-3xl);
    }
}

@media (max-width: 576px) {
    .surrounding-photo-grid {
        grid-template-columns: 1fr;
    }

    .facility-interior-grid {
        grid-template-columns: 1fr;
    }

    .flow-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .safety-grid {
        grid-template-columns: 1fr;
    }
}