@charset "UTF-8";
@import url('breadcrumb.css');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&family=Outfit:wght@400;500;700&family=Zen+Old+Mincho:wght@400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c:wght@400;500;700&display=swap');

:root {
    /* Color Palette */
    --color-primary: #0D2538;
    /* Deep Navy */
    --color-secondary: #7C9A92;
    /* Sage Green */
    --color-accent: #C5A059;
    /* Champagne Gold */
    --color-text-main: #333333;
    --color-text-light: #666666;
    --color-bg-light: #FAFAFA;
    /* Off-White */
    --color-bg-gray: #F3F4F6;
    /* Light Gray */
    --color-white: #FFFFFF;
    --color-error: #e74c3c;

    /* Typography */
    --font-main: 'Noto Sans JP', sans-serif;
    --font-heading: 'Zen Old Mincho', serif;
    --font-number: 'Outfit', sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-main);
    color: var(--color-text-main);
    background-color: var(--color-bg-light);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    line-height: 1.4;
    font-weight: 700;
    color: var(--color-primary);
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity var(--transition-fast);
}

a:hover {
    opacity: 0.8;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

/* Container */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

/* Utilities */
.text-center {
    text-align: center;
}

.text-primary {
    color: var(--color-primary);
}

.text-accent {
    color: var(--color-accent);
}

.text-link {
    color: #1a73e8;
    text-decoration: underline;
    font-weight: 700;
    transition: opacity var(--transition-fast);
}

.text-link:hover {
    opacity: 0.7;
}

.cat-count {
    font-size: 0.85em;
    color: var(--color-text-light);
    margin-left: 4px;
}

.mt-sm {
    margin-top: var(--spacing-sm);
}

.mt-md {
    margin-top: var(--spacing-md);
}

.mt-lg {
    margin-top: var(--spacing-lg);
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: var(--radius-sm);
    font-weight: 500;
    letter-spacing: 0.05em;
    transition: all var(--transition-normal);
    cursor: pointer;
    border: none;
    font-family: var(--font-main);
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: #081a29;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(13, 37, 56, 0.2);
}

.btn-accent {
    background-color: var(--color-accent);
    color: var(--color-white);
}

.btn-accent:hover {
    background-color: #b08d4b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(197, 160, 89, 0.3);
}

.btn-line {
    background-color: #06C755;
    color: var(--color-white);
    padding: 1rem 0.8rem !important;
}

.btn-line:hover {
    background-color: #05a747;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(6, 199, 85, 0.3);
}

.btn-line .icon {
    font-size: 1.2em;
}

/* Header (Basic Shell) */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 1rem 0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    /* Aligns the first line of text (Logo and Nav) */
}

.logo {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    gap: 15px;
    line-height: 1.2;
}

.logo-image {
    height: 45px;
    width: auto;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text span {
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--color-text-light);
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-primary);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: width var(--transition-normal);
}

.nav-link:hover::after {
    width: 100%;
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    align-items: center;
    margin-left: 1.5rem;
}

.lang-link {
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.4rem 0.8rem;
    border: 1px solid var(--color-primary);
    border-radius: var(--radius-sm);
    color: var(--color-primary);
    transition: all var(--transition-fast);
    line-height: 1;
}

.lang-link:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
    opacity: 1;
}

@media (max-width: 768px) {
    .header-inner {
        align-items: center;
    }
    
    .lang-switcher {
        margin-left: auto;
        margin-right: 1rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        /* Mobile menu implementation later - potentially hamburger */
    }
}

/* --- Components & Sections --- */
.section {
    padding: 6rem 0;
}

.bg-light {
    background-color: var(--color-bg-light);
}

.bg-gray {
    background-color: var(--color-bg-gray);
}

.bg-primary {
    background-color: var(--color-primary);
}

.text-white {
    color: var(--color-white);
}

.text-left {
    text-align: left;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

.subtitle-en {
    display: block;
    font-size: 0.9rem;
    font-family: var(--font-number);
    color: var(--color-accent);
    font-weight: 500;
    margin-top: 0.5rem;
    letter-spacing: 0.05em;
}

/* Hero Section */
.hero {
    position: relative;
    height: 50vh;
    min-height: 350px;
    background-image: url('../assets/images/hero.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    margin-top: 70px;
    /* Header height */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(13, 37, 56, 0.7), rgba(13, 37, 56, 0.4));
}

.hero-content {
    position: relative;
    z-index: 10;
    color: var(--color-white);
    max-width: 800px;
}

.hero-title {
    font-size: 3rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 1.5rem;
    color: var(--color-white);
}

.d-block {
    display: block;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
}

.hero-buttons .btn {
    margin-right: 1rem;
    min-width: 200px;
    text-align: center;
}

.btn-outline-white {
    border: 2px solid var(--color-white);
    color: var(--color-white);
    background: transparent;
}

.btn-outline-white:hover {
    background: var(--color-white);
    color: var(--color-primary);
}

/* Service Cards */
.service-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.service-card {
    background: var(--color-white);
    padding: 2.5rem;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform var(--transition-normal);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-top: 4px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    border-top-color: var(--color-accent);
}

.service-icon {
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.service-card p {
    font-size: 0.95rem;
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
    text-align: left;
}

.link-arrow {
    margin-top: auto;
    color: var(--color-accent);
    font-weight: 700;
    font-size: 0.9rem;
}

/* About Section */
#about {
    padding-top: 3rem;
}

.about-wrapper {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.about-image {
    flex: 1;
    text-align: center;
}

.about-image img {
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
}

.about-content {
    flex: 1;
}

.about-lead {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--color-primary);
}

.representative-name {
    margin-top: 2rem;
    text-align: right;
    border-top: 1px solid #eee;
    padding-top: 1rem;
}

.job-title {
    display: block;
    font-size: 0.85rem;
    color: var(--color-text-light);
}

.representative-name .name {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
}

/* Access Section */
.access-wrapper {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.access-info {
    flex: 1;
    min-width: 300px;
}

.access-map {
    flex: 1;
    min-width: 300px;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.access-info h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.address {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.contact-mini {
    margin-top: 2rem;
    background: var(--color-white);
    padding: 1.5rem;
    border-radius: var(--radius-sm);
}

.tel {
    font-size: 1.5rem;
    font-family: var(--font-number);
    color: var(--color-primary);
    font-weight: 700;
}

/* Contact CTA */
.btn-lg {
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
}

.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background-color: #081a29;
    color: rgba(255, 255, 255, 0.6);
    padding: 2rem 0;
    font-size: 0.85rem;
}

/* Mobile Tweaks */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .about-wrapper {
        flex-direction: column;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 4rem 0;
    }

    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .hero-buttons .btn {
        margin-right: 0;
        width: 100%;
    }
}

/* Disclosure Box for English Pages */
.disclosure-box {
    background-color: #fff9f0;
    border-left: 4px solid #f39c12;
    padding: 1rem 1.5rem;
    margin-top: 80px; /* Below fixed header */
    margin-bottom: -60px; /* Offset hero margin */
    position: relative;
    z-index: 100;
}

.disclosure-box .container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.disclosure-box-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.disclosure-box-text {
    font-size: 0.9rem;
    color: #444;
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 768px) {
    .disclosure-box {
        margin-top: 70px;
        margin-bottom: -50px;
    }
    
    .disclosure-box .container {
        flex-direction: row;
        text-align: left;
    }
}


/* --- Inheritance LP Styles --- */
.hero-inheritance {
    background-image: url('../assets/images/inheritance_hero.png');
}

.active {
    border-bottom: 2px solid var(--color-accent);
}

.bg-sage {
    background-color: var(--color-secondary);
}

/* Worry List */
.worry-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 4rem;
    text-align: left;
    background: var(--color-white);
    padding: 2rem 4rem;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.worry-list li {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
}

.check-icon {
    color: var(--color-secondary);
    font-weight: bold;
    margin-right: 1rem;
    font-size: 1.2rem;
    margin-top: 0.1rem;
    /* Better alignment with title */
}

.worry-content {
    display: flex;
    flex-direction: column;
}

.worry-title {
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.3rem;
}

.worry-desc {
    margin: 0;
    font-size: 0.95rem;
    color: var(--color-text);
    line-height: 1.6;
}

.lead-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary);
}

/* Service Detail Grid */
.service-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.service-item {
    background: var(--color-bg-gray);
    padding: 2rem;
    border-radius: var(--radius-md);
    border-left: 5px solid var(--color-secondary);
}

.service-item h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

/* Flow Steps */
.flow-steps {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}

.step {
    flex: 1;
    min-width: 200px;
    text-align: center;
    position: relative;
}

.step-num {
    font-family: var(--font-number);
    font-size: 2.5rem;
    color: var(--color-secondary);
    opacity: 0.3;
    font-weight: 700;
    line-height: 1;
    margin-bottom: -10px;
}

.step h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.step p {
    font-size: 0.9rem;
    color: var(--color-text-light);
}

/* Price Table */
.price-table-wrapper {
    overflow-x: auto;
}

.price-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.price-table th,
.price-table td {
    padding: 1rem;
    border-bottom: 1px solid #ddd;
    text-align: left;
}

.price-table th {
    background-color: var(--color-bg-gray);
    font-weight: 700;
    width: 30%;
}

.price-table td {
    background-color: var(--color-white);
}

.price-note {
    font-size: 0.85rem;
    color: var(--color-text-light);
    margin-top: 0.5rem;
}

.text-right {
    text-align: right;
}


/* --- Real Estate LP Styles --- */
.hero-real-estate {
    background-image: url('../assets/images/real_estate_hero.png');
}

/* Case Studies */
.case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.case-card {
    background: var(--color-white);
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform var(--transition-normal);
}

.case-card:hover {
    transform: translateY(-5px);
}

.case-header {
    margin-bottom: 1rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 0.5rem;
}

.case-tag {
    display: inline-block;
    background-color: var(--color-primary);
    color: var(--color-white);
    font-size: 0.75rem;
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-sm);
    margin-bottom: 0.5rem;
}

.case-card h4 {
    font-size: 1.1rem;
}

.case-solution {
    margin-top: 1.5rem;
    background-color: #f9f9f9;
    padding: 1rem;
    border-radius: var(--radius-sm);
}

.case-solution strong {
    color: var(--color-accent);
    display: block;
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

.case-solution p {
    font-size: 0.95rem;
    margin-bottom: 0;
}


/* --- Commercial LP Styles --- */
.hero-commercial {
    background-image: url('../assets/images/commercial_hero.png');
}

/* --- Trust LP Styles --- */
.hero-trust {
    background-image: url('../assets/images/trust_hero.png');
}

/* Merit List */
.merit-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.merit-item {
    background: var(--color-white);
    padding: 2.5rem;
    border-radius: var(--radius-md);
    text-align: center;
    transition: transform var(--transition-normal);
}

.merit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.merit-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    background: var(--color-bg-gray);
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    margin-left: auto;
    margin-right: auto;
}

.merit-item h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.merit-item p {
    color: var(--color-text-light);
    line-height: 1.8;
}

/* --- Modal & Form Styles --- */
.modal-backend {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-backend.is-active {
    opacity: 1;
    pointer-events: auto;
}

.modal-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(13, 37, 56, 0.8);
    backdrop-filter: blur(4px);
    z-index: 1;
}

.modal-wrapper {
    position: relative;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    background: var(--color-white);
    border-radius: var(--radius-md);
    z-index: 2;
    overflow-y: auto;
    padding: 3rem 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal-backend.is-active .modal-wrapper {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-text-light);
}

.modal-close:hover {
    color: var(--color-primary);
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.95rem;
}

.badge-required {
    background: var(--color-error);
    color: white;
    font-size: 0.7rem;
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
    margin-left: 0.5rem;
    vertical-align: middle;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: var(--radius-sm);
    font-family: var(--font-main);
    font-size: 1rem;
    transition: border-color 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.1);
}

.select-wrapper {
    position: relative;
}

.btn-wide {
    width: 100%;
    max-width: 300px;
    font-size: 1.1rem;
}

/* Responsive Styles (Mobile First) */
@media screen and (max-width: 768px) {
    :root {
        --spacing-lg: 3rem;
        --spacing-xl: 4rem;
    }

    body {
        padding-top: 60px;
        /* Space for fixed header */
    }

    .container {
        width: 100%;
        padding: 0 var(--spacing-sm);
    }

    /* Header & Mobile Menu */
    .header {
        padding: 0.8rem 0;
    }

    .header-inner {
        align-items: center;
    }

    .logo {
        font-size: 1.2rem;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: var(--color-primary);
        z-index: 1001;
        transition: right var(--transition-normal);
        padding-top: 80px;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }

    .nav.is-active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .nav-list a {
        color: var(--color-white);
        font-size: 1.1rem;
    }

    /* Hamburger Button */
    .menu-toggle {
        display: block;
        width: 40px;
        height: 40px;
        position: relative;
        z-index: 1002;
        background: none;
        border: none;
        cursor: pointer;
    }

    .menu-toggle span {
        display: block;
        width: 25px;
        height: 2px;
        background-color: var(--color-primary);
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        transition: all var(--transition-normal);
    }

    .nav.is-active~.menu-toggle span {
        background-color: var(--color-white);
    }

    .menu-toggle span:nth-child(1) {
        top: 12px;
    }

    .menu-toggle span:nth-child(2) {
        top: 19px;
    }

    .menu-toggle span:nth-child(3) {
        top: 26px;
    }

    .menu-toggle.is-active span:nth-child(1) {
        top: 19px;
        transform: translateX(-50%) rotate(45deg);
    }

    .menu-toggle.is-active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.is-active span:nth-child(3) {
        top: 19px;
        transform: translateX(-50%) rotate(-45deg);
    }

    /* Hero Section */
    .hero {
        height: auto;
        min-height: 300px;
        padding: var(--spacing-xl) 0;
    }

    .hero-content h1 {
        font-size: 2.2rem;
        line-height: 1.3;
    }

    .hero-badges {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    /* Section Headings */
    .section h2 {
        font-size: 1.8rem;
    }

    /* Services Grid */
    .service-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    /* Features List */
    .feature-item {
        flex-direction: column;
        text-align: center;
        padding: var(--spacing-md);
    }

    .feature-icon {
        margin-right: 0;
        margin-bottom: var(--spacing-sm);
    }

    /* Price Table */
    .price-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    /* Contact Buttons */
    .contact-buttons {
        flex-direction: column;
        gap: var(--spacing-sm);
    }

    .contact-buttons .btn {
        width: 100%;
    }

    /* Footer */
    .footer-inner {
        flex-direction: column;
        gap: var(--spacing-md);
        text-align: center;
    }

    .worry-list {
        grid-template-columns: 1fr;
        padding: 2rem;
    }

    .sidebar {
        margin-top: var(--spacing-lg);
    }
}

@media screen and (min-width: 769px) {
    .menu-toggle {
        display: none;
    }
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #333;
    color: white;
    padding: 1rem 2rem;
    border-radius: var(--radius-sm);
    z-index: 3000;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

.toast-success {
    background: var(--color-secondary);
}

.toast-error {
    background: var(--color-error);
}

.text-primary {
    color: var(--color-primary);
}

.mb-md {
    margin-bottom: 1.5rem;
}

/* --- Price Page Styles --- */
.hero-price {
    background-image: url('../assets/images/price_hero.png');
}

.section-subtitle-large {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--color-primary);
    border-bottom: 2px solid var(--color-accent);
    display: inline-block;
    padding-bottom: 0.5rem;
}

.max-width-800 {
    max-width: 800px;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.text-light-sm {
    font-size: 0.85rem;
    color: var(--color-text-light);
    margin-top: 1rem;
}

.shadow-sm {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.rounded {
    border-radius: var(--radius-md);
}

.bg-white {
    background-color: var(--color-white);
}

.p-4 {
    padding: 2rem;
}

.faq-list dt {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--color-primary);
    border-left: 4px solid var(--color-accent);
    padding-left: 1rem;
}

.faq-list dd {
    margin-bottom: 2rem;
    padding-left: 1.5rem;
}

.list-disc {
    list-style-type: disc;
}

.ml-md {
    margin-left: 2rem;
}


/* --- Blog Styles --- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.blog-card {
    background: var(--color-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform var(--transition-normal);
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.blog-thumb {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.blog-body {
    padding: 1.5rem;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.8rem;
    font-size: 0.85rem;
    color: var(--color-text-light);
}

.blog-cat {
    background: var(--color-bg-gray);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    color: var(--color-primary);
}

.blog-title {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    line-height: 1.4;
}

.blog-excerpt {
    font-size: 0.9rem;
    color: var(--color-text-light);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    /* Standard property */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.page-num {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    text-decoration: none;
    color: var(--color-primary);
    font-weight: 700;
    transition: background 0.2s;
}

/* Navigation */
.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 1rem;
    /* Compact gap */
    flex-wrap: nowrap;
    /* Force single line */
}

/* Removed .nav-break */

.nav-link {
    text-decoration: none;
    color: var(--color-text);
    font-weight: 500;
    transition: color var(--transition-fast);
    padding: 0.5rem 0;
    font-size: 0.85rem;
    /* Smaller font to fit */
    white-space: nowrap;
    /* Prevent wrapping individually */
}

.page-num.current,
.page-num:hover {
    background: var(--color-primary);
    color: white;
}

/* Blog Layout */
.blog-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 2rem;
}

@media (max-width: 768px) {
    .blog-layout {
        grid-template-columns: 1fr;
    }
}

.entry-title {
    font-size: 1.8rem;
    margin: 1rem 0;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.entry-content h2 {
    font-size: 1.4rem;
    border-left: 5px solid var(--color-accent);
    padding-left: 1rem;
    margin: 2rem 0 1rem;
}

.sidebar-widget {
    margin-bottom: 2rem;
}

.widget-title {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--color-accent);
    display: inline-block;
}

.cat-list {
    list-style: none;
}

.cat-list li {
    margin-bottom: 0.5rem;
}

.cat-list a {
    text-decoration: none;
    color: var(--color-text);
    display: block;
    padding: 0.5rem;
    border-radius: 4px;
    transition: background 0.2s;
}

.cat-list a:hover {
    background: var(--color-bg-gray);
}

/* --- FAQ Styles --- */
.hero-faq {
    background-image: url('../assets/images/faq_hero.png');
}

.faq-accordion-wrapper {
    margin-top: 2rem;
}

.faq-category {
    margin-bottom: 4rem;
}

.faq-item {
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--color-white);
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background: var(--color-white);
    border: none;
    text-align: left;
    font-family: var(--font-main);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--color-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color var(--transition-fast);
}

.faq-question:hover {
    background-color: var(--color-bg-gray);
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--color-accent);
    transition: transform var(--transition-normal);
}

.faq-item.is-open .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
    padding: 0 1.5rem;
    background: var(--color-white);
    border-top: 1px solid transparent;
}

.faq-item.is-open .faq-answer {
    max-height: 500px;
    padding: 1.5rem;
    border-top-color: #eee;
}

.faq-answer p {
    color: var(--color-text-light);
    line-height: 1.8;
}

/* --- Mobile Sticky Footer --- */
.mobile-sticky-footer {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    font-family: 'M PLUS Rounded 1c', sans-serif;
    /* Use Rounded Gothic */
}

.sticky-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: #fff;
    padding: 0.2rem 0;
    /* Reduced padding */
    transition: opacity 0.2s;
}

.sticky-btn:hover {
    opacity: 0.9;
}

.sticky-btn .icon {
    font-size: 1.5rem;
    margin-bottom: 2px;
}

.sticky-btn .icon-svg {
    width: 24px;
    height: 24px;
    margin-bottom: 2px;
    fill: currentColor;
}

.sticky-tel .icon-svg {
    width: 24px;
    height: 24px;
}

.sticky-mail .icon-svg {
    width: 32px;
    /* Slightly larger for Mail as requested */
    height: 32px;
}

/* Remove old emoji icon styles if no longer needed, or keep for safety */
.sticky-btn .icon {
    display: none;
}

.sticky-btn .text {
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.2;
}

.sticky-tel {
    background-color: #1f4e79;
    /* Lighter Navy */
}

.sticky-line {
    background-color: #06C755;
    /* LINE Green */
}

.sticky-mail {
    background-color: var(--color-accent);
    /* Champagne Gold */
}

.sticky-mail .icon {
    font-size: 2.2rem;
    /* Make mail icon larger */
}

@media screen and (max-width: 768px) {
    .mobile-sticky-footer {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
    }

    /* Add padding to footer to prevent overlap */
    .footer {
        padding-bottom: 80px;
    }
}