/* Reset & Base */
:root {
    --primary-dark: #0b162a;
    /* Deep Navy */
    --accent-gold: #c5a059;
    /* Gold */
    --accent-gold-light: #e6c888;
    --text-white: #ffffff;
    --text-gray: #333333;
    --text-light-gray: #888888;
    --bg-light: #ffffff;
    --font-sans: 'Noto Sans JP', sans-serif;
    --font-serif: 'Noto Serif JP', serif;
}

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

body {
    font-family: var(--font-sans);
    color: var(--text-gray);
    line-height: 1.6;
    background-color: var(--bg-light);
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s;
}

a:hover {
    opacity: 0.8;
}

ul {
    list-style: none;
}

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

/* Header */
.header {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background-image: linear-gradient(rgba(11, 22, 42, 0.4), rgba(11, 22, 42, 0.4)), url('../img/top_mv.jpg');
    background-size: cover;
    background-position: center;
    color: var(--text-white);
    display: flex;
    flex-direction: column;
}


.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 100%);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--accent-gold);
    font-weight: bold;
}


.logo-icon img {
    width: 20%;
}

/*
.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-text span:first-child {
    font-size: 1.2rem;
    font-weight: bold;
    letter-spacing: 0.1em;
}

.logo-sub {
    font-size: 0.6rem;
    color: #ccc;
    letter-spacing: 0.05em;
}

*/


.nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav ul {
    display: flex;
    gap: 20px;
}

.nav ul li a {
    font-size: 0.9rem;
    font-weight: 500;
}

.btn-contact {
    display: inline-block;
    background-color: var(--accent-gold);
    color: #fff;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 0.95rem;
    transition: background-color 0.3s, opacity 0.3s;
}

.btn-contact:hover {
    background-color: var(--accent-gold-light);
    opacity: 1;
}

.hero-content {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.05em;
    margin-bottom: 80px;
    /* Push it up a bit visually */
}

/* Services Section */
.services {
    padding: 100px 0;
    background-color: var(--bg-light);
    text-align: center;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 60px;
    position: relative;
    display: inline-block;
}

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

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

.service-item {
    text-align: center;
    padding: 20px;
}

.service-icon {
    font-size: 3.5rem;
    color: var(--accent-gold);
    margin-bottom: 20px;
    /* Simulate the thin line icons */
    -webkit-text-stroke: 1px var(--accent-gold);
    color: transparent;
    /* Use outline style if possible, or simplified */
}

/* Fallback for FontAwesome solid icons to look 'outlined' if needed, 
   but for now we use regular icons colored gold */
.service-icon i {
    color: var(--accent-gold);
    /* Reset specifically */
    -webkit-text-stroke: 0;
}

/* Specific tweaks for outline look */
.fa-building,
.fa-chart-line {
    /* These are solid, let's keep them simplistic or use regular set */
}

.service-item h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    line-height: 1.5;
    color: var(--primary-dark);
}

.service-item p {
    font-size: 0.9rem;
    text-align: left;
    color: var(--text-gray);
    line-height: 1.8;
}

/* Track Record Section */
.track-record {
    background-color: var(--primary-dark);
    color: var(--text-white);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.new-tag {
    color: var(--accent-gold);
    font-weight: bold;
    letter-spacing: 0.1em;
    font-size: 1.2rem;
    display: block;
    margin-bottom: 10px;
}

.record-title {
    font-size: 2rem;
    margin-bottom: 10px;
}

.record-subtitle {
    font-size: 1rem;
    color: #cccccc;
    margin-bottom: 60px;
}

.record-box {
    border: 1px solid var(--accent-gold);
    max-width: 1000px;
    margin: 0 auto;
    padding: 60px;
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    position: relative;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
}

.record-stats {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    padding-right: 40px;
}

.stat-item {
    margin-bottom: 40px;
}

.stat-value {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    /* Number font */
    font-size: 4.5rem;
    font-weight: bold;
    color: var(--accent-gold);
    line-height: 1;
    background: linear-gradient(to bottom, #ebd197, #c5a059);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-value .plus,
.stat-value .percent {
    font-size: 2.5rem;
    margin-left: 5px;
}

.stat-label {
    font-size: 1.1rem;
    margin-top: 10px;
    font-weight: bold;
}

.divider-line {
    width: 50%;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
    margin: 20px auto;
}

.stat-note {
    font-size: 0.7rem;
    color: #888;
    margin-top: auto;
}

/* Graph Area */
.record-graph-area {
    flex: 1;
    padding-left: 60px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.graph-title {
    text-align: right;
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.graph-growth {
    position: absolute;
    top: 30%;
    left: 40%;
    text-align: left;
    z-index: 10;
}

.growth-label {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--accent-gold);
}

.growth-value {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--accent-gold);
    background: linear-gradient(to bottom, #ebd197, #c5a059);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.graph-bars {
    flex: 1;
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    position: relative;
    padding-top: 50px;
    /* Space for arrow */
}

.placeholder-box {
    width: 100%;
    height: auto;
    display: block;
}

/* Simplified curved arrow using border-radius */
.growth-arrow {
    position: absolute;
    bottom: 20%;
    left: 10%;
    width: 60%;
    height: 40%;
    border-top: 4px solid var(--accent-gold);
    border-left: 4px solid transparent;
    border-radius: 100% 0 0 0;
    opacity: 0.8;
    /* Using pseudo element for the arrow head */
}

.growth-arrow::after {
    content: '';
    position: absolute;
    top: -10px;
    right: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 15px solid var(--accent-gold);
    transform: rotate(-15deg);
}

.bar-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 15%;
    height: 200px;
    /* Max height of graph area */
    justify-content: flex-end;
    z-index: 2;
    /* Above arrow */
}

.bar {
    width: 100%;
    background: linear-gradient(to bottom, #ebd197, #c5a059);
    border-top-left-radius: 2px;
    border-top-right-radius: 2px;
    position: relative;
    height: 0;
    transition: height 1.5s ease-out;
}

/* Shine effect on bars */
.bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0) 100%);
    opacity: 0.3;
}

.bar-year {
    margin-top: 15px;
    font-size: 0.9rem;
    font-weight: bold;
}

/* Business Domains inside Track Record */
.business-domains {
    margin-top: 80px;
    padding-top: 60px;
    border-top: 1px dashed rgba(255, 255, 255, 0.2);
}

.domain-main-title {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--accent-gold);
    margin-bottom: 10px;
    letter-spacing: 0.05em;
}

.domain-sub-title {
    font-size: 1rem;
    color: #cccccc;
    margin-bottom: 50px;
}

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

.domain-card {
    background: #ffffff;
    border: 1px solid #e1dbce;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s, background 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.domain-card:hover {
    transform: translateY(-10px);
    background: #ffffff;
    border-color: var(--accent-gold);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.domain-img {
    width: 100%;
    height: 180px;
    background-color: rgba(0, 0, 0, 0.4);
    overflow: hidden;
}

.domain-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.domain-card:hover .domain-img img {
    transform: scale(1.05);
}

.domain-content-box {
    padding: 30px;
    flex: 1;
}

.domain-name {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.domain-name i {
    color: var(--accent-gold);
    font-size: 1.35rem;
}

.domain-desc {
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.6;
    text-align: left;
}

@media (max-width: 768px) {
    .header-inner {
        padding: 20px;
    }

    .logo-text span:first-child {
        font-size: 1rem;
    }

    .nav {
        display: none;
        /* Mobile menu hidden for simplicity in this demo */
    }

    .hero-title {
        font-size: 2rem;
        padding: 0 20px;
    }

    .service-grid {
        grid-template-columns: 1fr;
        padding: 0 20px;
    }

    .record-box {
        flex-direction: column;
        padding: 30px;
        margin: 0 20px;
    }

    .record-stats {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        padding-right: 0;
        padding-bottom: 40px;
        margin-bottom: 40px;
    }

    .record-graph-area {
        padding-left: 0;
    }

    .graph-growth {
        left: 0;
        top: 0;
        position: relative;
        margin-bottom: 20px;
        text-align: center;
    }

    .growth-arrow {
        display: none;
        /* Hide complex styling on mobile */
    }

    .domain-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   New Section Styles
   ========================================= */

/* Common Section Headers */
.section-header-simple {
    text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 60px;
    letter-spacing: 0.05em;
}

.section-header-simple .sub {
    font-size: 1rem;
    font-weight: bold;
    margin-left: 10px;
}

.section-label-center {
    text-align: center;
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 40px;
    letter-spacing: 0.05em;
}

/* Area Section */
.area-section {
    padding: 80px 0;
    background-color: #fff;
}

.area-content {
    display: flex;
    gap: 50px;
    align-items: center;
}

.area-img {
    flex: 1;
}

.area-text {
    flex: 1;
}

.area-heading {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 30px;
    line-height: 1.4;
    color: var(--text-gray);
}

.desc-text-area {
    margin-bottom: 40px;
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.8;
}

/* Trust Highlight Block */
.trust-highlight {
    position: relative;
    margin: 30px 0 35px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

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

.trust-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
    /* Darken image to make text pop */
}

.trust-content {
    position: relative;
    z-index: 2;
    padding: 40px 30px;
    text-align: center;
    background: linear-gradient(to top, rgba(11, 22, 42, 0.9) 0%, rgba(11, 22, 42, 0.6) 100%);
    border-bottom: 4px solid var(--accent-gold);
}

.trust-quote {
    color: var(--accent-gold);
    font-size: 1.35rem;
    font-weight: bold;
    margin-bottom: 12px;
    line-height: 1.4;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.trust-sub {
    color: #fff;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    font-weight: 500;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

/* Expansion History Map & Timeline */
.expansion-history {
    margin: 0 0 40px;
    background-color: #fcfaf5;
    border: 1px solid #e1dbce;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.history-title {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--primary-dark);
    padding: 15px 20px;
    background-color: #f7f3e8;
    border-bottom: 1px solid #e1dbce;
    display: flex;
    align-items: center;
    gap: 10px;
}

.history-map-container {
    width: 100%;
    height: 250px;
    background-color: #e5e3df;
    /* Placeholder */
}

.history-map-container iframe {
    width: 100%;
    height: 100%;
    display: block;
}

.timeline {
    padding: 25px;
    list-style: none;
}

.timeline li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 20px;
}

.timeline li:last-child {
    margin-bottom: 0;
}

.timeline li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    width: 10px;
    height: 10px;
    background-color: var(--accent-gold);
    border-radius: 50%;
    z-index: 2;
}

.timeline li:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 16px;
    bottom: -25px;
    width: 2px;
    background-color: #e1dbce;
    z-index: 1;
}

.timeline-date {
    font-size: 0.85rem;
    font-weight: bold;
    color: var(--accent-gold);
    margin-bottom: 5px;
}

.timeline-content {
    font-size: 0.95rem;
    color: var(--text-gray);
    font-weight: bold;
}

.btn-gold-block {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    background-color: var(--accent-gold);
    color: #fff;
    padding: 15px 40px;
    border-radius: 4px;
    text-align: center;
    position: relative;
    width: 100%;
    max-width: 300px;
    transition: background-color 0.3s;
}

.btn-gold-block:hover {
    background-color: #a48b50;
    opacity: 1;
}

.btn-gold-block .main {
    font-size: 1.1rem;
    font-weight: bold;
}

.btn-gold-block .sub {
    font-size: 0.8rem;
    margin-top: 5px;
    opacity: 0.9;
}

.btn-gold-block .arrow-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

/* Staff Section (Section 2) */
.staff-section {
    padding: 80px 0;
    background-color: #f9f9f9;
    /* Light gray bg */
}

.staff-content {
    display: flex;
    gap: 50px;
    align-items: stretch;
    background-color: #fff;
    padding: 0;
    /* Image flush */
}

.staff-img {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.staff-img img {
    flex: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.staff-text-box {
    flex: 1;
    padding: 40px;
}

.staff-name {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--text-gray);
}

.staff-role {
    display: block;
    font-size: 0.9rem;
    font-weight: bold;
    margin-bottom: 30px;
    color: var(--text-gray);
}

.desc-text-staff {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--text-gray);
}

/* CTA Section (Section 3) */
.cta-section {
    padding: 80px 0;
    background-color: #fff;
}

.cta-blue-box {
    background-color: var(--primary-dark);
    padding: 60px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
    color: #fff;
}

.cta-message h3 {
    font-size: 1.5rem;
    font-weight: bold;
}

.cta-action {
    z-index: 2;
}

.btn-cta-gold {
    background-color: var(--accent-gold);
    color: #fff;
    padding: 15px 40px;
    font-size: 1rem;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    gap: 10px;
    transition: background-color 0.3s, opacity 0.3s;
}

.btn-cta-gold:hover {
    background-color: #a48b50;
    opacity: 1;
}

.cta-gold-decor {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100px;
    background-color: #bfa35f;
    clip-path: polygon(100% 0, 100% 100%, 0% 100%);
    /* Triangle bottom right */
}

/* Footer Label */
.footer-label-container {
    padding: 60px 0 20px;
    text-align: center;
    background-color: #f5f5f5;
}

/* Footer */
.footer {
    background-color: var(--primary-dark);
    color: var(--text-white);
    padding: 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 60px 0 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-info {
    width: 40%;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo-img {
    height: 45px;
    width: auto;
    display: block;
}

.f-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.f-logo-text .f-main {
    font-size: 1.5rem;
    line-height: 1;
}

.f-logo-text .f-sub {
    font-size: 0.8rem;
    letter-spacing: 0.05em;
}

.addr-title {
    font-weight: bold;
    margin-bottom: 10px;
}

.footer-address p {
    font-size: 0.85rem;
    line-height: 1.6;
    color: #cccccc;
}

.footer-links {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
}

.footer-links h4 {
    display: none;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-links li {
    margin-bottom: 0;
}

.footer-links a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-contact-col {
    width: 20%;
}

.footer-contact-col h4 {
    font-size: 1.1rem;
    color: var(--accent-gold);
    margin-bottom: 25px;
    font-weight: bold;
}

.footer-form {
    display: flex;
    margin-bottom: 30px;
}

.footer-form input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ccc;
    background: #fff;
}

.footer-form button {
    background-color: #bfa35f;
    border: none;
    color: #fff;
    padding: 0 15px;
    cursor: pointer;
}

.detail-label {
    font-weight: bold;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.btn-dark-blue {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    background-color: var(--primary-dark);
    color: #fff;
    padding: 15px 40px;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: bold;
    transition: opacity 0.3s;
}

.btn-dark-blue:hover {
    opacity: 0.8;
}

.footer-bottom-bar {
    border-top: 1px solid #ddd;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: #888;
}

/* Clients Section */
.clients-section {
    padding: 80px 0;
    background-color: #fff;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-bottom: 50px;
}

.client-item {
    text-align: center;
}

.client-img {
    width: 100%;
    aspect-ratio: 3/2;
    background-color: #fff;
    object-fit: contain;
    padding: 20px;
    margin-bottom: 15px;
    border: 1px solid #eee;
    border-radius: 4px;
}

.client-name {
    font-size: 0.95rem;
    font-weight: bold;
    color: var(--text-gray);
}

.clients-action {
    text-align: center;
}

.btn-clients-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: #fff;
    border: 2px solid var(--primary-dark);
    color: var(--primary-dark);
    padding: 15px 40px;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: bold;
    transition: all 0.3s;
}

.btn-clients-link:hover {
    background-color: var(--primary-dark);
    color: #fff;
}

/* Responsive for new sections */
@media (max-width: 768px) {

    .area-content,
    .staff-content {
        flex-direction: column;
        gap: 20px;
    }

    .staff-content {
        padding-bottom: 20px;
        /* Restore padding on mobile */
        border: 1px solid #eee;
    }

    .staff-text-box {
        padding: 20px;
    }

    .cta-blue-box {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .cta-gold-decor {
        display: none;
    }

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

@media (max-width: 480px) {
    .clients-grid {
        grid-template-columns: 1fr;
    }
}