/* ==============================================
   Variables
   ============================================== */
:root {
    /* Colors - Elegant, warm, dusty pink/rose gold theme */
    --color-primary: #D4A39D;
    --color-primary-dark: #B8857F;
    --color-secondary: #E8D5D2;
    --color-text: #4A4443;
    --color-text-light: #7A7372;
    --color-bg: #FFFFFF;
    --color-bg-light: #FDFBFA;
    --color-border: #EAE3E2;

    /* Typography */
    --font-sans: 'Noto Sans JP', sans-serif;
    --font-en: 'Jost', sans-serif;

    /* Spacing (Mobile Default) */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;

    /* Layout */
    --container-width: 1100px;
    --header-height: 70px;
    /* Mobile Default */

    /* Transition */
    --transition-fast: 0.3s ease;
    --transition-slow: 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

@media (min-width: 768px) {
    :root {
        --spacing-lg: 4rem;
        --spacing-xl: 6rem;
        --header-height: 80px;
    }
}

/* ==============================================
   Reset & Base
   ============================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: var(--font-sans);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.6;
    font-size: 1rem;
    -webkit-font-smoothing: antialiased;
    text-align: justify;
    text-justify: inter-ideograph;
}

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

a:hover {
    color: var(--color-primary);
}

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

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.section {
    padding: var(--spacing-xl) 0;
}

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

.text-muted {
    color: var(--color-text-light);
}

.small {
    font-size: 0.85rem;
}

small {
    font-size: 60%;
}

h2 {
    font-size: 0.625rem;
}

/* ==============================================
   Typography & Titles
   ============================================== */
.section-title {
    font-family: var(--font-en);
    font-size: 2.5rem;
    font-weight: 500;
    text-align: center;
    margin-bottom: var(--spacing-lg);
    letter-spacing: 0.05em;
    color: var(--color-primary-dark);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-title .ja {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    color: var(--color-text-light);
    margin-top: 0.5rem;
    position: relative;
    padding-top: 0.5rem;
}

.section-title .ja::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 1px;
    background-color: var(--color-primary);
}

/* ==============================================
   Buttons
   ============================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-family: var(--font-en);
    font-weight: 500;
    letter-spacing: 0.05em;
    border-radius: 50px;
    transition: all var(--transition-fast);
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--color-primary);
    color: #fff;
    box-shadow: 0 4px 15px rgba(212, 163, 157, 0.3);
}

.btn-primary:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-2px);
    color: #fff;
    box-shadow: 0 6px 20px rgba(212, 163, 157, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-text);
    border: 1px solid var(--color-text-light);
}

.btn-secondary:hover {
    background-color: var(--color-text);
    color: #fff;
    border-color: var(--color-text);
}

.btn-outline-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.9rem;
    border: 1px solid var(--color-primary);
    color: var(--color-primary) !important;
    border-radius: 50px;
}

.btn-outline-sm:hover {
    background-color: var(--color-primary);
    color: #fff !important;
}

/* ==============================================
   Header
   ============================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--color-border);
    transition: all var(--transition-fast);
}

.header.scrolled {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.logo a {
    font-family: var(--font-en);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--color-text);
    letter-spacing: 0.05em;
}

.hamburger {
    display: block;
    /* Mobile Default */
    background: transparent;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 2000;
}

.hamburger span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: var(--color-text);
    transition: all var(--transition-fast);
}

.hamburger span:nth-child(1) {
    top: 0;
}

.hamburger span:nth-child(2) {
    top: 9px;
}

.hamburger span:nth-child(3) {
    top: 18px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 9px;
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg);
    top: 9px;
}

.nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background-color: #fff;
    padding: 5rem 2rem 2rem;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.05);
    transition: right var(--transition-fast);
    z-index: 1500;
}

.nav.active {
    right: 0;
}

.nav-list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
}

.nav-list li {
    width: 100%;
}

.nav-list a {
    font-family: var(--font-en);
    font-weight: 500;
    font-size: 1.25rem;
    letter-spacing: 0.05em;
    display: block;
    padding-bottom: 1rem;
}

.nav-list a:not(.btn) {
    border-bottom: 1px solid var(--color-border);
}

.nav-list a.btn {
    padding: 1rem;
    text-align: center;
}

@media (min-width: 768px) {
    .hamburger {
        display: none;
    }

    .nav {
        position: static;
        width: auto;
        height: auto;
        background-color: transparent;
        padding: 0;
        box-shadow: none;
        transition: none;
    }

    .nav-list {
        flex-direction: row;
        align-items: center;
        gap: var(--spacing-md);
    }

    .nav-list li {
        width: auto;
    }

    .nav-list a {
        font-size: 0.95rem;
        display: inline;
        padding-bottom: 0;
    }

    .nav-list a:not(.btn) {
        border-bottom: none;
    }

    .nav-list a.btn {
        padding: 0.5rem 1.25rem;
    }
}

/* ==============================================
   Hero Section
   ============================================== */
.hero {
    position: relative;
    width: 100%;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: var(--header-height);
    padding-bottom: 4rem;
    background-color: var(--color-bg);
}

.hero-image {
    width: 30%;
    /* Mobile width */
    margin-top: 2rem;
    margin-bottom: 2rem;
    z-index: 1;
}

.hero-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

.hero-content {
    width: 100%;
    text-align: center;
    color: var(--color-text);
    padding: 0 var(--spacing-sm);
    z-index: 10;
}

.hero-title {
    font-size: 2.5rem;
    /* Mobile */
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 0.1em;
    color: var(--color-primary-dark);
    line-height: 1.3rem;
}

.hero-subtitle {
    font-family: var(--font-en);
    font-size: 1rem;
    /* Mobile */
    font-weight: 400;
    margin-bottom: 2.5rem;
    letter-spacing: 0.05em;
    color: var(--color-text-light);
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    /* Mobile */
    gap: 1rem;
    justify-content: center;
}

@media (min-width: 768px) {
    .hero-image {
        width: 20%;
        /* PC width */
        margin-top: 4rem;
        margin-bottom: 3rem;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .hero-buttons {
        flex-direction: row;
    }
}

/* ==============================================
   Philosophy Section
   ============================================== */
.philosophy-blocks {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    /* Mobile */
    max-width: 900px;
    margin: 0 auto;
}

.philosophy-block {
    display: flex;
    flex-direction: column;
    /* Mobile */
    gap: 1.5rem;
    /* Mobile */
    align-items: center;
    background: #fff;
    padding: 1.5rem;
    /* Mobile */
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid var(--color-border);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.philosophy-block-img {
    flex: 1 1 auto;
    /* Mobile */
    width: 100%;
    /* Mobile */
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.philosophy-block-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4/3;
    transition: transform var(--transition-slow);
}

.philosophy-block:hover .philosophy-block-img img {
    transform: scale(1.05);
}

.philosophy-block-text {
    flex: 1;
}

.philosophy-block:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.philosophy-block h3 {
    color: var(--color-primary-dark);
    font-size: 1.2rem;
    /* Mobile */
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-en);
}

.philosophy-block p.desc {
    color: var(--color-text-light);
    line-height: 1.8;
}

.philosophy-block .desc-list {
    color: var(--color-text-light);
    padding-left: 1.5rem;
    line-height: 1.8;
}

.philosophy-block .desc-list li {
    margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
    .philosophy-blocks {
        gap: 2rem;
    }

    .philosophy-block {
        flex-direction: row;
        padding: 2.5rem;
        gap: 2rem;
    }

    .philosophy-block-img {
        flex: 0 0 35%;
        width: auto;
    }

    .philosophy-block h3 {
        font-size: 1.35rem;
    }
}

/* ==============================================
   Services Section
   ============================================== */
.service-grid {
    display: grid;
    grid-template-columns: 1fr;
    /* Mobile */
    gap: var(--spacing-lg);
}

@media (min-width: 992px) {
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.service-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
    border: 1px solid var(--color-border);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

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

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

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

.service-info {
    padding: 2rem;
}

.service-title {
    font-family: var(--font-en);
    font-size: 1.5rem;
    color: var(--color-text);
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
}

@media (min-width: 768px) {
    .service-title {
        flex-direction: row;
        align-items: center;
        gap: 1rem;
    }
}

.service-title .ja {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    color: var(--color-text-light);
    font-weight: normal;
}

.service-desc {
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
    text-align: justify;
    font-size: 0.95em;
    line-height: 1.6;
}

.service-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--color-text);
}

.service-list li i {
    position: absolute;
    left: 0;
    top: 0.3rem;
    color: var(--color-primary);
    font-size: 0.9rem;
}

/* ==============================================
   Company Section
   ============================================== */
.company-table-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid var(--color-border);
    text-align: justify;
}

.company-table {
    width: 100%;
    border-collapse: collapse;
}

.company-table th,
.company-table td {
    display: block;
    /* Mobile */
    width: 100%;
    /* Mobile */
    padding: 1.25rem 1rem;
    text-align: left;
}

.company-table th {
    border-bottom: none;
    /* Mobile */
    padding-bottom: 0.5rem;
    /* Mobile */
    font-weight: 500;
    color: var(--color-primary-dark);
}

.company-table td {
    padding-top: 0;
    /* Mobile */
    border-bottom: 1px solid var(--color-border);
    /* Mobile */
}

.company-table tr:last-child th,
.company-table tr:last-child td {
    border-bottom: none;
}

@media (min-width: 768px) {

    .company-table th,
    .company-table td {
        display: table-cell;
        width: auto;
    }

    .company-table th {
        width: 25%;
        border-bottom: 1px solid var(--color-border);
        padding-bottom: 1.25rem;
    }

    .company-table td {
        padding-top: 1.25rem;
    }
}

.company-services {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    line-height: 1.6;
}

.service-category strong {
    color: var(--color-primary-dark);
    display: inline-block;
    margin-bottom: 0.5rem;
}

.service-vision {
    background: var(--color-bg-light);
    padding: 1rem 1.5rem;
    border-left: 4px solid var(--color-primary);
    border-radius: 0 8px 8px 0;
    font-size: 0.9rem;
    color: var(--color-text-light);
}

.service-vision p {
    margin-bottom: 0.5rem;
}

.service-vision p:last-child {
    margin-bottom: 0;
}

/* ==============================================
   Contact Section
   ============================================== */
.contact-box {
    background: #fff;
    border-radius: 16px;
    padding: 4rem 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.contact-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-top: 2rem;
}

.contact-methods {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .contact-methods {
        flex-direction: row;
        justify-content: center;
        gap: 3rem;
    }
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-align: left;
}

.contact-method i {
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-top: 0.25rem;
}

.method-label {
    display: block;
    font-size: 0.85rem;
    color: var(--color-text-light);
    margin-bottom: 0.25rem;
}

.method-value {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--color-text);
    font-family: var(--font-en);
}

/* Map styles removed */

/* ==============================================
   Footer
   ============================================== */
.footer {
    background-color: #fff;
    color: var(--color-text);
    padding: 0rem 0 2rem;

}

.footer-top {
    display: flex;
    flex-direction: column;
    /* Mobile */
    gap: 2rem;
    /* Mobile */
    align-items: center;
    margin-bottom: 3rem;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 2rem;
}

.footer-logo {
    font-family: var(--font-en);
    font-size: 2rem;
    font-weight: 500;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    /* Mobile */
    justify-content: center;
    /* Mobile */
    gap: 1rem;
    /* Mobile */
}

.footer-nav a {
    font-family: var(--font-en);
    color: var(--color-text-light);
}

.footer-nav a:hover {
    color: var(--color-primary);
}

@media (min-width: 768px) {
    .footer-top {
        flex-direction: row;
        justify-content: space-between;
        gap: 0;
    }

    .footer-nav {
        flex-wrap: nowrap;
        gap: 2rem;
    }
}

.footer-bottom {
    text-align: center;
}

.copyright {
    font-family: var(--font-en);
    font-size: 0.75rem;
    color: var(--color-text-light);
}

/* ==============================================
   Animations
   ============================================== */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.fade-in-up.appear {
    opacity: 1;
    transform: translateY(0);
}

/* Utility */
.pc-only {
    display: none;
    /* Mobile */
}

@media (min-width: 768px) {
    .pc-only {
        display: block;
    }
}

/* ==============================================
   Refactored Inline Styles
   ============================================== */
.hero-title span {
    font-size: 50%;
}

.service-banner {
    width: 100%;
    height: auto;
    display: block;
    margin-top: 8px;
}

.service-desc-item {
    padding-left: 1em;
    text-indent: -1em;
}

.service-desc-subitem {
    padding-left: 1.2em;
    text-indent: -1.2em;
}

.mb-02 {
    margin-bottom: 0.2em;
}

.mb-05 {
    margin-bottom: 0.5em;
}

.mb-1 {
    margin-bottom: 1em;
}

.mb-15 {
    margin-bottom: 1.5em;
}

.service-category-title {
    font-weight: bold;
    color: #333;
}

/* .map-iframe removed */

.footer-banner {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.footer-banner-img {
    width: 80%;
    height: auto;
    display: block;
    margin: 0 auto 5px;
}

.footer-banner-text {
    background-color: #9c9c9c;
    color: #fff;
    text-align: center;
    padding: 4px;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    font-weight: bold;
}