:root {
    --primary-color: #1a365d;
    --primary-light: #2c5282;
    --accent-color: #3182ce;
    --accent-hover: #2b6cb0;
    --text-color: #2d3748;
    --text-light: #718096;
    --bg-white: #ffffff;
    --bg-gray: #f7fafc;
    --bg-dark: #1a202c;
    --white: #ffffff;
    --container-width: 1100px;
    --font-heading: 'Noto Sans JP', sans-serif;
    --font-body: 'Noto Sans JP', sans-serif;
    --transition: all 0.3s ease;
    --shadow: none; /* Flat design */
    --shadow-lg: none; /* Flat design */
    --border-light: 1px solid #edf2f7;
    --border-medium: 1px solid #e2e8f0;
}

/* --- Layout Styles (Moved from index.html) --- */
.hero-new {
    position: relative;
    padding: 180px 0 150px;
    background-color: var(--white);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/hero_female_professional.png');
    background-size: cover;
    background-position: center right;
    z-index: 1;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 65%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,1) 0%, rgba(255,255,255,0.9) 45%, rgba(255,255,255,0) 100%);
}

.hero-content-wrapper {
    position: relative;
    z-index: 2;
}

.hero-new .hero-content {
    max-width: 900px;
}

.hero-new h1 {
    font-size: 2.8rem;
    color: var(--primary-color);
    line-height: 1.3;
    margin-bottom: 25px;
    font-family: 'Noto Serif JP', serif;
    letter-spacing: 0.05em;
}

.hero-title-small {
    font-size: 1.4rem;
    display: block;
    margin-bottom: 10px;
    color: var(--primary-color);
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 500;
}

.hero-new .lead-text {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #333;
    font-weight: 500;
}

.service-section {
    padding: 80px 0;
    border-bottom: var(--border-light);
}
.service-section:last-of-type {
    border-bottom: none;
}
.service-grid-new {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.service-content h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    border-left: 5px solid var(--accent-color);
    padding-left: 20px;
}
.service-content p {
    margin-bottom: 25px;
    font-size: 1.05rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}
.feature-item {
    padding: 30px;
    background: #fff;
    border: var(--border-medium);
    text-align: center;
}
.feature-item h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.feature-item.highlight-card {
    border: 1px solid var(--primary-color);
    position: relative;
    background-color: #fff;
    padding-top: 45px; /* Added space for label */
}

.feature-label {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: #fff;
    padding: 3px 15px;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 4px;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.map-container {
    width: 100%;
    height: 400px;
    border: var(--border-medium);
    margin-top: 30px;
}

@media (max-width: 991px) {
    .nav-desktop { 
        display: none !important; 
    }
    .header-contact-block { 
        display: none !important; 
    }
}

@media (max-width: 768px) {
    .hero-new h1 { font-size: 1.8rem; }
    .service-grid-new { grid-template-columns: 1fr; gap: 30px; }
    .features-grid { grid-template-columns: 1fr; }
    
    .section {
        padding: 40px 0;
    }
    
    .logo-text {
        font-size: 1rem;
    }
    .logo-sub {
        font-size: 0.75rem;
    }
}

/* Table Responsiveness */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 20px;
}

.price-table {
    min-width: 500px;
}

/* Details Hero Adjustment */
.details-hero {
    padding-top: 100px !important; /* Push down to avoid header overlap */
    padding-bottom: 40px;
}
/* --- End of Layout Styles --- */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Pricing Table Section */
.pricing-container {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    border: var(--border-medium);
}

@media (max-width: 768px) {
    .pricing-container {
        padding: 25px 20px;
    }
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 60px 0;
}

.section-gray {
    background-color: var(--bg-gray);
}

.section-dark {
    background-color: var(--bg-dark);
}

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

.section-title {
    font-size: 2.4rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    letter-spacing: 0.05em;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
    margin: 20px auto 0;
}

.section-title.text-white::after {
    background-color: var(--white);
}

.text-center { text-align: center; }
.text-white { color: var(--white); }

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 40px;
    border-radius: 5px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    font-size: 1.1rem;
    border: 2px solid transparent;
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.9rem;
}

.btn-lg {
    padding: 18px 45px;
    font-size: 1.2rem;
}

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

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    opacity: 0.9;
}

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

.btn-white:hover {
    background-color: #f0f4f8;
    transform: translateY(-2px);
}

.border-white {
    border-color: var(--white);
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: var(--border-light);
    height: 80px;
    transition: var(--transition);
}

header.scrolled {
    height: 70px;
    border-bottom: 1px solid #eee;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    gap: 10px;
}

.logo {
    flex-shrink: 0;
}

.logo-text {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 0.1em;
}

.logo-sub {
    display: block;
    font-size: 0.9rem;
    color: var(--primary-color);
    margin-top: 2px;
    letter-spacing: 0.05em;
    font-weight: 300;
}

.nav-desktop ul {
    display: flex;
    gap: 25px;
}

.nav-desktop a {
    font-weight: 500;
    color: var(--text-color);
    font-size: 0.9rem;
    position: relative;
}

.nav-desktop a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.nav-desktop a:hover {
    color: var(--accent-color);
}

.nav-desktop a:hover::after {
    width: 100%;
}

/* Header Contact Block (Premium) */
.header-contact-block {
    text-align: right;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

@media (max-width: 500px) {
    .header-contact-block {
        display: none;
    }
}

.lang-toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    transition: var(--transition);
    text-decoration: none;
}

.lang-toggle:hover {
    transform: scale(1.05);
}

.lang-toggle img {
    width: 28px;
    height: 18px;
    border: 1px solid #ddd;
    border-radius: 2px;
    object-fit: cover;
    display: block;
}

.lang-label {
    font-size: 10px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.header-contact-label {
    font-size: 0.7rem;
    color: var(--text-light);
    margin-bottom: 2px;
    font-weight: 500;
}

.header-phone-link {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
}

.header-phone-link svg {
    width: 16px;
    height: 16px;
    color: var(--accent-color);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 32px;
    height: 22px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1100;
    flex-shrink: 0;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
}

@media (max-width: 991px) {
    .mobile-menu-toggle {
        display: flex;
    }
}

/* Open state for hamburger */
.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(9.5px) rotate(45deg);
}
.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}
.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-9.5px) rotate(-45deg);
}

/* Mobile Nav Drawer */
.nav-mobile {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 320px;
    height: 100vh;
    background-color: var(--white);
    z-index: 1050;
    padding: 100px 40px 40px;
    border-left: 1px solid #eee;
    transition: right 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.nav-mobile.active {
    right: 0;
}

.nav-mobile a {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--primary-color);
    display: block;
}

.nav-mobile .mobile-contact-btn {
    margin-top: auto;
    width: 100%;
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.header-phone-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

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

.header-phone-link svg {
    width: 20px;
    height: 20px;
    stroke: var(--accent-color);
    fill: none;
}

@media (max-width: 991px) {
    .header-contact-block {
        display: none;
    }
}

/* Table Styles Refinement */
table {
    border-collapse: collapse;
}

th {
    white-space: nowrap;
    min-width: 100px;
}

/* Hero Redesign (Premium) */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 80px;
    background-color: #fcfcfc;
}

.hero-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%; /* Move image to the right */
    height: 100%;
    z-index: 1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 30% center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background: linear-gradient(90deg, #fcfcfc 0%, #fcfcfc 40%, rgba(252, 252, 252, 0.5) 60%, rgba(252, 252, 252, 0) 100%);
}

.hero-container {
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.hero-content-new {
    max-width: 700px;
}

.hero-sub-outer {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.hero-line {
    display: block;
    width: 40px;
    height: 1px;
    background-color: var(--accent-color);
}

.hero-sub-en {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    color: var(--accent-color);
}

.hero-title {
    font-family: 'Noto Serif JP', serif;
    font-size: 4.2rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 35px;
    color: var(--primary-color);
    letter-spacing: 0.02em;
}

.hero-desc {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 50px;
    font-weight: 300;
}

.hero-cta-new {
    display: flex;
    align-items: center;
    gap: 30px;
}

.btn-premium {
    padding: 18px 50px;
    background-color: var(--primary-color);
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 500;
    border-radius: 0; /* Sharp edges for premium look */
    letter-spacing: 0.1em;
    transition: var(--transition);
}

.btn-premium:hover {
    background-color: var(--accent-color);
    transform: none;
    background-color: var(--accent-hover);
}

.cta-sub {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* Problem Section */
.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.problem-card {
    background-color: var(--white);
    padding: 40px;
    border-radius: 0px;
    border: var(--border-medium);
    text-align: center;
    transition: var(--transition);
}

.problem-card:hover {
    background-color: #f8fafc;
}

.problem-icon {
    width: 60px;
    height: 60px;
    background-color: var(--bg-gray);
    color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0 auto 30px;
}

.problem-card h3 {
    margin-bottom: 20px;
    font-size: 1.4rem;
}

/* Service Summary */
.service-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.service-summary-item {
    text-align: center;
}

.service-img {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
    background-color: var(--bg-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-num {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-color);
    opacity: 0.3;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.category-card {
    background-color: var(--white);
    border-radius: 0px;
    overflow: hidden;
    border: var(--border-medium);
}

.category-img {
    height: 200px;
}

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

.category-info {
    padding: 30px;
}

.category-info h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.tag {
    display: inline-block;
    background-color: var(--bg-gray);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 15px;
    color: var(--accent-color);
}

/* Strength Section */
.strength-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.strength-item {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    padding: 30px;
    background-color: var(--bg-gray);
    border-radius: 10px;
}

.strength-icon {
    font-size: 2rem;
    color: var(--accent-color);
    font-weight: 700;
}

.strength-content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

/* Flow Container */
.flow-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.flow-step {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    position: relative;
}

.flow-num {
    font-weight: 700;
    font-size: 0.9rem;
    opacity: 0.6;
    margin-bottom: 15px;
}

.flow-step h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

/* Rich Profile Card */
/* --- Office Profile Section (Restored Layout) --- */
.unified-office-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background-color: #fff;
    border: 1px solid #dee2e6;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin-top: 50px;
    max-width: 1060px;
    margin-left: auto;
    margin-right: auto;
}

.office-info-section, .rep-profile-simple {
    padding: 60px;
    text-align: left;
}

.office-info-section {
    border-right: 1px solid #dee2e6;
}

.card-subtitle {
    display: block;
    color: #b89047;
    font-size: 0.8rem;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.office-info-table {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.info-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-bottom: 15px;
}

.info-label {
    color: #0f1d50;
    font-size: 0.8rem;
    font-weight: 700;
}

.info-value {
    color: #333;
    font-size: 0.95rem;
    line-height: 1.7;
}

.rep-profile-header {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 35px;
}

.rep-name {
    color: #0f1d50;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.rep-en {
    color: #b89047;
    font-size: 0.8rem;
    margin-left: 8px;
    font-weight: 400;
}

.rep-credential {
    color: #333;
    font-size: 0.85rem;
    margin-top: 5px;
}

.rep-simple-meta {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.meta-item h4 {
    color: #0f1d50;
    font-size: 0.9rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.meta-list {
    list-style: disc;
    margin-left: 20px;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #333;
}

.meta-list li a {
    color: inherit;
    text-decoration: underline;
}

.map-section-new {
    margin-top: 40px;
    max-width: 1060px;
    margin-left: auto;
    margin-right: auto;
}

.map-wrapper {
    width: 100%;
}

.representative-section {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    margin-bottom: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid #edf2f7;
}

.rep-avatar {
    position: relative;
    border-radius: 0px;
    overflow: hidden;
    height: 350px;
    border: var(--border-medium);
}

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

.rep-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--accent-color);
    letter-spacing: 0.2em;
    margin-bottom: 10px;
}

.rep-name {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.rep-kana {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-light);
    margin-left: 10px;
}

.rep-meta {
    font-size: 0.95rem;
    color: var(--accent-color);
    font-weight: 500;
    margin-bottom: 20px;
}

.rep-bio {
    font-size: 1rem;
    color: var(--text-color);
    margin-bottom: 30px;
    line-height: 1.8;
}

.qualifications h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--primary-color);
    border-left: 4px solid var(--accent-color);
    padding-left: 15px;
}

.qualifications ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 30px;
}

.qualifications li {
    font-size: 0.9rem;
    color: var(--text-light);
    position: relative;
    padding-left: 15px;
}

.qualifications li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

/* Office Info Grid */
.office-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.office-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.office-item .label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.office-item .value {
    font-size: 1.05rem;
    color: var(--primary-color);
}

.sub-label {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 400;
}

.office-item .note {
    font-size: 0.85rem;
    color: #e53e3e;
    margin-top: 5px;
    font-weight: 500;
}

.office-item a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

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

.faq-item {
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.faq-q {
    font-size: 1.2rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    gap: 15px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.faq-q span {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
}

.faq-a {
    padding-left: 35px;
    color: var(--text-light);
}

/* CTA Section */
.section-cta {
    background-color: var(--primary-color);
    padding: 120px 0;
}

.cta-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-subtitle {
    font-size: 1.4rem;
    margin-bottom: 50px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.cta-note {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Footer */
.footer {
    padding: 40px 0;
    background-color: var(--white);
    text-align: center;
    border-top: 1px solid #eee;
}

.footer-bottom {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }

/* Responsive */
@media (max-width: 968px) {
    .hero {
        height: auto;
        padding: 120px 0 80px;
    }
    .hero-bg {
        width: 100%;
        opacity: 0.3;
    }
    .hero-overlay {
        background: linear-gradient(0deg, #fcfcfc 0%, rgba(252, 252, 252, 0.7) 100%);
    }
    .hero-container {
        flex-direction: column;
        align-items: flex-start;
    }
    .hero-title {
        font-size: 2.4rem;
    }
    .hero-desc {
        font-size: 1.1rem;
    }
    .hero-cta-new {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    .hero-vertical-tag {
        display: none;
    }
    .profile-card {
        padding: 40px 20px;
    }
    .representative-section {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .rep-avatar {
        height: 300px;
        max-width: 300px;
        margin: 0 auto;
    }
    .qualifications ul {
        grid-template-columns: 1fr;
    }
    .office-info-grid {
        grid-template-columns: 1fr;
    }
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    .cta-title {
        font-size: 2.22rem;
    }
    .map-container {
        height: 300px;
        margin-left: -20px;
        margin-right: -20px;
        width: calc(100% + 40px);
    }
}

@media (max-width: 768px) {
    .problem-grid,
    .service-summary-grid,
    .category-grid,
    .flow-container,
    .office-info-grid,
    .strength-list {
        grid-template-columns: 1fr;
        flex-direction: column;
    }
}
.mobile-only {
    display: none;
}
@media (max-width: 480px) {
    .mobile-only {
        display: block;
    }
}

/* Image Styling (Reverted to original colors) */
.image-harmonized {
    position: relative;
    width: 100%;
    overflow: hidden;
    border: var(--border-medium);
    background-color: #f8fafc;
}

.image-harmonized img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.image-harmonized:hover img {
    transform: scale(1.03);
}

/* Navigation Guide Banner */
.navigation-guide {
    background-color: #f0f4f8;
    border-left: 6px solid var(--primary-color);
    padding: 30px 40px;
    margin: 40px 0;
    text-align: left;
}

.navigation-guide .guide-title {
    font-size: 1.3rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

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

/* Enhanced Link Visibility (Chevron Circle) */
.tag-list li {
    border-bottom: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.tag-list li:hover {
    background-color: #f8fafc;
    border-color: var(--accent-color);
}

.tag-list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 20px;
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 500;
    gap: 30px; /* Strong separation gap */
}

.tag-list li a .link-text {
    flex: 1;
    min-width: 0; /* Prevents flex items from overflowing */
}

/* Chevron Circle Icon (Refined Spacing & High-End Look) */
.chevron-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid #cbd5e0;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0;
}

.chevron-circle svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
}

.tag-list li:hover .chevron-circle {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: #fff;
    transform: translateX(5px);
}

.tag-list li a span {
    display: block;
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: normal;
    margin-top: 6px;
}

/* Subpage Specific (Detail Pages) */
.details-main {
    padding-top: 0;
    background-color: var(--white);
    padding-bottom: 100px;
}

.details-container {
    max-width: 1100px; /* Wider for 2-column layout */
    margin: 0 auto;
    padding: 0 20px;
}

.details-breadcrumb {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 30px;
}

.details-breadcrumb a:hover {
    color: var(--accent-color);
}

.details-hero {
    padding-bottom: 60px;
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 60px;
}

.details-title h1 {
    font-size: 3.2rem;
    color: var(--primary-color);
    font-family: 'Noto Serif JP', serif;
    line-height: 1.2;
    margin-top: 10px;
    letter-spacing: -0.01em;
}

.details-lead {
    font-size: 1.15rem;
    line-height: 2.2;
    color: var(--text-color);
    margin-bottom: 60px;
    padding: 35px 40px;
    background-color: var(--white);
    border: 1px solid #eaeaea;
    border-radius: 8px;
    text-align: center;
}

@media (max-width: 768px) {
    .details-title h1 {
        font-size: 1.8rem;
    }
    .details-lead {
        font-size: 1rem;
        padding: 20px;
        line-height: 1.8;
        margin-bottom: 40px;
    }
}

/* --- Ultra-Premium Detail Page Enhancements --- */

.details-card {
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-light);
    padding: 30px 40px;
}

.details-card-inner {
    display: grid;
    grid-template-columns: 1fr 320px;
    background: #fff;
}

.details-main-content {
    padding: 40px;
    border-right: 1px solid var(--border-light);
}

.details-sidebar {
    padding: 40px 30px;
    background-color: #fcfcfd;
}

/* Section Styling */
.details-content-section {
    margin-bottom: 80px;
}

.details-section-title {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-family: 'Noto Serif JP', serif;
}

.details-section-title::after {
    content: "";
    flex: 1;
    height: 1px;
    background-color: var(--border-medium);
}

.rich-section-box {
    padding: 40px;
    background-color: #f8fafc;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    margin-bottom: 50px;
}

/* Advanced Lists */
.details-list {
    list-style: none;
    padding: 0;
}

.details-list li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 18px;
    font-size: 1.05rem;
    line-height: 1.7;
}

.details-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 22px;
    height: 22px;
}

.list-check li::before {
    background-color: var(--accent-color);
    clip-path: polygon(14% 44%, 0 58%, 50% 100%, 100% 16%, 86% 2%, 50% 70%);
}

.details-caution {
    padding: 40px;
    border: 1px solid #fed7d7;
    background-color: #fff5f5;
    margin-top: 50px;
}

.list-caution li::before {
    content: "!";
    background-color: #e53e3e;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: bold;
    clip-path: none;
}

/* Roadmap Flow (Advanced Journey UI) */
.roadmap-flow {
    position: relative;
    padding-left: 20px;
    margin-top: 50px;
}

.roadmap-flow::before {
    content: "";
    position: absolute;
    left: 21px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e2e8f0;
    z-index: 1;
}

.roadmap-item {
    position: relative;
    padding-left: 60px;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.roadmap-item:last-child {
    margin-bottom: 0;
}

.roadmap-dot {
    position: absolute;
    left: 10px;
    top: 0;
    width: 24px;
    height: 24px;
    background-color: var(--white);
    border: 2px solid var(--accent-color);
    border-radius: 50%;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.roadmap-dot::after {
    content: "";
    width: 8px;
    height: 8px;
    background-color: var(--accent-color);
    border-radius: 50%;
}

.roadmap-content {
    background: #fcfcfd;
    padding: 25px 30px;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
}

.roadmap-content::before {
    content: "";
    position: absolute;
    left: -8px;
    top: 8px;
    width: 16px;
    height: 16px;
    background: #fcfcfd;
    border-left: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    transform: rotate(45deg);
}

.roadmap-item:hover .roadmap-content {
    background: var(--white);
    border-color: var(--accent-color);
    border: 1px solid #eee;
    transform: translateX(5px);
}

.roadmap-item:hover .roadmap-content::before {
    background: var(--white);
    border-color: var(--accent-color);
}

.roadmap-item h4 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 8px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.roadmap-item p {
    font-size: 0.95rem;
    color: var(--text-color);
    line-height: 1.6;
    margin: 0;
}


/* Sidebar Components */
.sidebar-widget {
    margin-bottom: 50px;
}

.widget-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebar-widget svg {
    flex-shrink: 0;
}

.widget-title svg {
    color: var(--accent-color);
}

.trust-badge {
    padding: 20px;
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    text-align: center;
    margin-bottom: 15px;
}

.badge-seal {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    background-color: #f1f5f9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.2rem;
}

.badge-text {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.4;
}

/* Premium Button Extra */
.btn-premium-rich {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: #fff;
    border: none;
    transition: transform 0.3s;
    text-decoration: none;
}

.btn-premium-rich:hover {
    transform: translateY(-5px);
}

/* Responsive Optimization */
@media (max-width: 1200px) {
    .container, .details-container {
        max-width: 960px;
    }
}

@media (max-width: 991px) {
    .container, .details-container {
        max-width: 720px;
    }
    .hero-new h1 {
        font-size: 2.4rem;
    }
}

@media (max-width: 768px) {
    .container, .details-container {
        max-width: 100%;
        padding: 0 20px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .hero-new {
        padding: 120px 0 200px;
    }
    
    .hero-bg {
        background-position: 70% center;
    }

    .hero-bg::before {
        width: 100%;
        background: linear-gradient(to bottom, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.85) 60%, rgba(255,255,255,0) 100%);
    }
    
    .hero-new h1 {
        font-size: 1.8rem;
        white-space: normal;
        word-break: normal;
        overflow-wrap: break-word;
        line-height: 1.4;
    }

    .hero-title-small {
        font-size: 1.05rem;
        line-height: 1.5;
        word-break: normal;
        overflow-wrap: break-word;
        display: block;
    }
    
    .service-grid-new {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 40px;
    }
    
    /* Subpage Responsive */
    .details-main {
        padding-top: 0;
    }
    
    .details-hero {
        padding-bottom: 40px;
        margin-bottom: 40px;
    }
    
    .details-title h1 {
        font-size: 2rem;
    }
    
    .details-lead {
        padding: 25px;
        font-size: 1rem;
        line-height: 1.8;
    }
}

/* ==========================================================================
   Services 4-Column Grid
   ========================================================================== */
.services-4col-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.service-card-new {
    background-color: var(--white);
    border: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
}

.service-card-new .card-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-bottom: 1px solid var(--border-light);
}

.card-icon-wrapper {
    width: 100%;
    height: 180px;
    background-color: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--border-light);
}

.card-icon-flat {
    width: 120px;
    height: auto;
}

.service-card-new .card-body {
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.service-card-new .card-tag {
    display: inline-block;
    border: 1px solid #f2e6d9;
    background-color: #fffaf0;
    color: var(--primary-color);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 5px 10px;
    margin-bottom: 20px;
    align-self: flex-start;
}

.service-card-new .card-title {
    font-size: 1.4rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 25px;
}

.check-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.check-list li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 18px;
    color: var(--text-color);
    line-height: 1.8;
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0px;
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.service-card-new .scenario-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    flex-grow: 1;
}

.service-card-new .scenario-list li {
    font-size: 0.95rem;
    color: var(--text-color);
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
    line-height: 1.5;
}

.service-card-new .scenario-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: #c99c3f;
    font-weight: bold;
}

.service-card-new .btn-view-more {
    display: block;
    width: 100%;
    text-align: center;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.9rem;
    padding: 12px 0;
    text-decoration: none;
    transition: all 0.3s ease;
    letter-spacing: 0.05em;
}

.service-card-new .btn-view-more:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

@media (max-width: 1024px) {
    .services-4col-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .services-4col-grid {
        grid-template-columns: 1fr;
    }
}
    .roadmap-content {
        padding: 20px;
    }

@media (max-width: 968px) {
    .hero-new h1 {
        font-size: 1.5rem;
    }
    
    .hero-title-small {
        font-size: 0.95rem;
    }

    .unified-office-card {
        grid-template-columns: 1fr;
        margin-left: -20px;
        margin-right: -20px;
        width: calc(100% + 40px);
        border-left: none;
        border-right: none;
    }
    .office-info-section, .rep-profile-simple {
        padding: 40px 20px;
    }
    .office-info-section {
        border-right: none;
        border-bottom: 1px solid #dee2e6;
    }

    .map-container {
        height: 250px;
        margin-left: -15px;
        margin-right: -15px;
        width: calc(100% + 30px);
    }

    /* Detail Page Responsive Styles */
    .details-card-inner {
        grid-template-columns: 1fr;
    }
    .details-main-content {
        padding: 30px 20px;
        border-right: none;
        border-bottom: 1px solid var(--border-light);
    }
    .details-sidebar {
        padding: 40px 20px;
    }
    .roadmap-flow {
        padding-left: 10px;
    }
    .roadmap-item {
        padding-left: 45px;
    }
    .roadmap-dot {
        left: 0;
    }
    .roadmap-flow::before {
        left: 11px;
    }
}

/* --- Flow Section (Individual Pages) --- */
.flow-section {
    padding: 100px 0;
    background-color: #fcfdfe;
}

.flow-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 25px;
    margin-top: 60px;
}

.flow-step {
    background: var(--white);
    padding: 50px 30px;
    border-radius: 16px;
    border: 1px solid #f1f5f9;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    transition: all 0.4s ease;
    text-align: center;
}

.flow-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    border-color: var(--accent-color);
}

.flow-number {
    position: absolute;
    top: 20px;
    left: 25px;
    color: #e2e8f0;
    font-size: 3.5rem;
    font-weight: 200;
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1;
    z-index: 1;
    letter-spacing: -0.05em;
}

.flow-icon {
    width: 55px;
    height: 55px;
    margin: 0 auto 20px;
    position: relative;
    z-index: 2;
}

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

.flow-step h3 {
    font-size: 1.15rem;
    color: var(--primary-color);
    margin-bottom: 12px;
    font-weight: 700;
    position: relative;
    z-index: 2;
}

.flow-step p {
    font-size: 0.85rem;
    color: var(--text-color);
    line-height: 1.7;
    margin: 0;
    position: relative;
    z-index: 2;
}

/* Elegant connection line for desktop */
@media (min-width: 992px) {
    .flow-container {
        position: relative;
    }
}

@media (max-width: 991px) {
    .flow-container {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
        gap: 50px;
    }
}



/* --- Consultation Grid --- */
.consultation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 20px;
}

.consultation-item {
    background: var(--white);
    padding: 25px 30px;
    border-radius: 8px;
    border: 1px solid #edf2f7;
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
}

.consultation-item.clickable:hover {
    border-color: var(--accent-color);
    transform: translateY(-3px);
}

.consultation-item.clickable:hover .consultation-q {
    color: var(--accent-color);
}

.consultation-q {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
    font-size: 1.05rem;
}

.consultation-q::before {
    content: "●";
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

.consultation-a {
    font-size: 0.95rem;
    color: var(--text-light);
    padding-left: 25px;
    border-top: 1px solid #f1f5f9;
    padding-top: 10px;
    margin-top: 5px;
}

@media (max-width: 768px) {
    .consultation-grid {
        grid-template-columns: 1fr;
    }
}
/* --- Topics Styles --- */
.topics-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.topic-card {
    background: var(--white);
    padding: 35px;
    border: var(--border-medium);
    position: relative;
}

/* Removed hover effect and top border */

.topic-card h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.4rem;
    font-family: 'Noto Serif JP', serif;
}

.topic-card p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-color);
}

.topic-card .topic-sub {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
}

.topic-card .topic-sub h4 {
    color: var(--primary-light);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.topic-card .topic-sub ul {
    margin-left: 20px;
}

.topic-card .topic-sub li {
    list-style: disc;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .topic-card {
        padding: 25px;
    }
    .topic-card h3 {
        font-size: 1.25rem;
    }
}

/* --- Spaced List --- */
.spaced-list li {
    margin-bottom: 12px;
    line-height: 1.8;
}
.spaced-list li:last-child {
    margin-bottom: 0;
}

/* --- Detail Page Visual Helpers --- */
.bg-soft-blue { background-color: #f0f7ff; }
.bg-soft-green { background-color: #f0fff4; }
.bg-soft-gold { background-color: #fffaf0; }

.detail-icon-circle {
    width: 60px;
    height: 60px;
    background: var(--white);
    border: 2px solid var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.detail-icon-circle svg {
    width: 30px;
    height: 30px;
}

.visual-point {
    padding: 25px;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.05);
    height: 100%;
}
