﻿@charset "UTF-8";

/* =========================================
   Base Styles
   ========================================= */

*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    width: 100%;
}

:root {
    --color-main: #2C3E50;
    --color-accent: #b08d4b;
    --color-text: #333333;
    --color-text-light: #666666;
    --color-bg-gray: #f4f5f7;
    --font-serif: "Noto Serif JP", serif;
    --font-sans: "Noto Sans JP", sans-serif;
}

body {
    margin: 0;
    font-family: var(--font-sans);
    color: var(--color-text);
    line-height: 1.8;
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: var(--font-serif);
    margin: 0;
    font-weight: 600;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.l-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}


/* =========================================
   Utility Classes
   ========================================= */

.sp-only {
    display: none;
}

.pc-only {
    display: block;
}


/* =========================================
   Header
   ========================================= */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: background-color 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
    padding: 20px 0;
    color: #fff;
}

.site-header.is-scrolled {
    background-color: #fff;
    color: var(--color-text);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 10px 0;
}

.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* =========================================
   Header Logo
   ========================================= */

.site-branding {
    display: flex;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 6px;
    transform: translateY(-3px);
}

.header-logo-mark {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    object-fit: contain;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.25));
    transition: filter 0.4s ease;
    transform: translateY(-1px);
}

.logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.logo-sub {
    display: block;
    font-size: 11px;
    line-height: 1.45;
    letter-spacing: 0.1em;
    margin: 0 0 -1px;
    font-weight: 400;
    opacity: 0.9;
    padding-left: 0;
}

.logo-main {
    display: block;
    font-size: 19px;
    letter-spacing: 0.05em;
    line-height: 1.4;
    font-family: var(--font-serif);
    font-weight: 600;
}

.site-header.is-scrolled .logo-link {
    color: var(--color-main);
}

.site-header.is-scrolled .header-logo-mark {
    filter: none;
}


/* =========================================
   Navigation
   ========================================= */

.site-nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 30px;
    align-items: center;
}

.site-nav-list a {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.05em;
    position: relative;
}

.site-nav-list a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: currentColor;
    transition: width 0.3s;
}

.site-nav-list a:hover::after {
    width: 100%;
}

.nav-contact-btn {
    border: 1px solid currentColor;
    padding: 10px 24px;
    border-radius: 50px;
    transition: all 0.3s;
}

.nav-contact-btn:hover {
    background-color: var(--color-main);
    border-color: var(--color-main);
    color: #fff !important;
}

.nav-contact-btn::after {
    display: none;
}

.site-header.is-scrolled .nav-contact-btn {
    border-color: var(--color-main);
}


/* =========================================
   Hamburger
   ========================================= */

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    position: relative;
    z-index: 1001;
    color: inherit;
}

.hamburger-bar {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: currentColor;
    transition: 0.3s;
}

.hamburger-bar:nth-child(1) {
    top: 0;
}

.hamburger-bar:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.hamburger-bar:nth-child(3) {
    bottom: 0;
}


/* =========================================
   Hero Section
   ========================================= */

.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-color: var(--color-main);
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: heroSlider 18s linear infinite;
    will-change: transform, opacity;
}

.slide1 {
    background-image: url('./img/topview.webp');
    animation-delay: 0s;
}

.slide2 {
    background-image: url('./img/topview2.webp');
    animation-delay: 6s;
}

.slide3 {
    background-image: url('./img/topview3.webp');
    animation-delay: 12s;
}

@keyframes heroSlider {
    0% {
        opacity: 0;
        transform: scale(1);
    }

    6.9% {
        opacity: 1;
    }

    33.3% {
        opacity: 1;
    }

    40.3% {
        opacity: 0;
        transform: scale(1.1);
    }

    100% {
        opacity: 0;
        transform: scale(1.1);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 20px;
    margin-top: 60px;
}

.hero-catch-sub {
    font-size: 16px;
    letter-spacing: 0.2em;
    margin-bottom: 24px;
    font-family: var(--font-serif);
    animation: fadeInUp 1s ease forwards;
    opacity: 0;
}

.hero-catch-main {
    display: inline-block;
    text-align: left;
    font-size: 48px;
    line-height: 1.6;
    margin-bottom: 40px;
    letter-spacing: 0.05em;
    animation: fadeInUp 1s ease 0.3s forwards;
    opacity: 0;
    transform: translateY(20px);
}

.hero-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    animation: fadeInUp 1s ease 0.6s forwards;
    opacity: 0;
    transform: translateY(20px);
}

.btn-hero {
    display: inline-block;
    padding: 13px 38px;
    background-color: #C5A059;
    color: #fff;
    font-weight: bold;
    border-radius: 50px;
    font-size: 16px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-hero:hover {
    background-color: #b08d4b;
    transform: translateY(-1px);
}


/* =========================================
   Scroll Indicator
   ========================================= */

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 12px;
    letter-spacing: 0.2em;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.scroll-indicator .line {
    width: 1px;
    height: 60px;
    background-color: #fff;
    animation: scrollDown 2s infinite;
}

@keyframes scrollDown {
    0% {
        transform-origin: top;
        transform: scaleY(0);
    }

    50% {
        transform-origin: top;
        transform: scaleY(1);
    }

    51% {
        transform-origin: bottom;
        transform: scaleY(1);
    }

    100% {
        transform-origin: bottom;
        transform: scaleY(0);
    }
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* =========================================
   Sub Page Hero
   ========================================= */

.sub-hero {
    position: relative;
    width: 100%;
    height: 350px;
    background-color: var(--color-main);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.sub-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.25;
    z-index: 1;
}

.sub-hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    padding-top: 60px;
}

.sub-hero-title {
    font-size: 32px;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
    font-family: var(--font-serif);
}

.sub-hero-subtitle {
    display: block;
    font-size: 14px;
    color: var(--color-accent);
    letter-spacing: 0.2em;
    font-family: var(--font-sans);
    font-weight: bold;
}

@media (max-width: 1024px) {
    .sub-hero {
        height: 250px;
    }

    .sub-hero-content {
        transform: translateY(-5px);
    }

    .sub-hero-title {
        font-size: 24px;
    }

    .sub-hero-subtitle {
        font-size: 11px;
    }
}



/* =========================================
   Breadcrumb
   ========================================= */

.breadcrumb {
    width: 100%;
    background-color: #fff;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

.breadcrumb-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 12px;
    color: var(--color-main);
}

.breadcrumb-list li {
    display: flex;
    align-items: center;
}

.breadcrumb-list li:not(:last-child)::after {
    content: '>';
    margin-left: 12px;
    color: #ccc;
    font-size: 10px;
    font-family: var(--font-sans);
}

.breadcrumb-list a {
    color: var(--color-text-light);
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb-list a:hover {
    color: var(--color-accent);
}

@media (max-width: 1024px) {
    .breadcrumb {
        padding: 12px 0;
    }

    .breadcrumb-list {
        font-size: 11px;
        gap: 8px;
    }

    .breadcrumb-list li:not(:last-child)::after {
        margin-left: 8px;
    }
}


/* =========================================
   Content Sections Common
   ========================================= */

.section {
    padding: 100px 0;
}

.section-bg-gray {
    background-color: var(--color-bg-gray);
}

.section-header {
    margin-bottom: 60px;
}

.text-center {
    text-align: center;
}

.section-subtitle {
    display: block;
    color: var(--color-accent);
    font-size: 12px;
    letter-spacing: 0.2em;
    margin-bottom: 16px;
    font-family: var(--font-sans);
    font-weight: 700;
}

.section-title {
    font-size: 32px;
    margin-bottom: 24px;
    color: var(--color-main);
}

.section-desc {
    color: var(--color-text-light);
    max-width: 700px;
    margin: 0 auto;
}


/* =========================================
   Buttons
   ========================================= */

.btn-wrapper {
    margin-top: 40px;
    text-align: center;
}

.btn-wrapper.left {
    text-align: left;
}

.btn-outline {
    display: inline-block;
    padding: 14px 40px;
    border: 1px solid var(--color-main);
    color: var(--color-main);
    border-radius: 50px;
    font-weight: 500;
}

.btn-outline:hover {
    background-color: var(--color-main);
    color: #fff;
}


/* =========================================
   Service Grid
   ========================================= */

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 8px;
    border: 1px solid rgba(44, 62, 80, 0.06);
    box-shadow: 0 6px 22px rgba(44, 62, 80, 0.055);
    transition: transform 0.3s;
    text-align: center;
}

.service-card .card-icon {
    font-size: 40px;
    color: var(--color-accent);
    margin-bottom: 20px;
}

.service-card .card-image {
    margin-bottom: 20px;
}

.service-card .card-image img {
    margin: 0 auto;
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 16px;
    color: var(--color-main);
}

.service-card p {
    font-size: 14px;
    color: var(--color-text-light);
    line-height: 1.8;
}


/* =========================================
   Keyword List
   ========================================= */

.keyword-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    max-width: 900px;
    margin: 0 auto;
}

.keyword-item {
    background: #fff;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 500;
    color: var(--color-main);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}


/* =========================================
   Split Layout / Reason
   ========================================= */

.split-layout {
    display: flex;
    align-items: center;
    gap: 60px;
}

.split-content {
    flex: 1;
}

.split-image {
    flex: 1;
    text-align: center;
}

.split-image img {
    width: 100%;
    max-width: 540px;
    display: inline-block;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border: 1px solid #bebebe;
}

.reason-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.reason-list li {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.reason-list li:last-child {
    border-bottom: none;
}

.reason-list .num {
    font-family: var(--font-serif);
    font-size: 32px;
    color: var(--color-accent);
    line-height: 1;
}

.reason-list strong {
    display: block;
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--color-main);
}

.reason-list p {
    font-size: 14px;
    color: var(--color-text-light);
    margin: 0;
}


/* =========================================
   Profile Table
   ========================================= */

.profile-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
}

.profile-table th,
.profile-table td {
    padding: 20px 0;
    border-bottom: 1px solid #e0e0e0;
    text-align: left;
    vertical-align: top;
    font-size: 15px;
    line-height: 1.8;
}

.profile-table th {
    width: 30%;
    color: var(--color-main);
    font-weight: 700;
    white-space: nowrap;
}

.profile-table td {
    color: var(--color-text);
}

.text-sm {
    font-size: 12px;
    color: #888;
}


/* =========================================
   Blog Preview
   ========================================= */

.blog-preview {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    justify-content: flex-start !important;
    gap: 30px;
    padding-bottom: 20px;
    width: 100%;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.blog-preview::-webkit-scrollbar {
    display: none;
}

.scroll-hint-horizontal {
    text-align: center;
    font-size: 11px;
    color: #999;
    letter-spacing: 0.15em;
    margin-top: 10px;
    margin-bottom: 20px;
    font-family: var(--font-sans);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.scroll-hint-horizontal .arrow-btn {
    background: none;
    border: none;
    font-size: 16px;
    color: var(--color-main);
    cursor: pointer;
    padding: 5px 15px;
    transition: opacity 0.3s;
    animation: sideSway 1.5s infinite ease-in-out alternate;
}

.scroll-hint-horizontal .arrow-btn:hover {
    opacity: 0.5;
}

@keyframes sideSway {
    0% {
        transform: translateX(-3px);
        opacity: 0.6;
    }

    100% {
        transform: translateX(3px);
        opacity: 1;
    }
}

.blog-card {
    display: block !important;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
    flex-shrink: 0 !important;
    flex-grow: 0 !important;
    flex-basis: calc(50% - 15px) !important;
    width: calc(50% - 15px) !important;
    margin-bottom: 0 !important;
    scroll-snap-align: start;
}

.blog-card:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    transform: translateY(-3px);
}

.blog-meta {
    font-size: 11px;
    color: var(--color-accent);
    font-weight: bold;
    margin-bottom: 10px;
}

.blog-title {
    font-size: 18px;
    margin-bottom: 12px;
    line-height: 1.5;
    color: var(--color-main);
}

.blog-excerpt {
    font-size: 13px;
    color: var(--color-text-light);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


/* =========================================
   Contact Area
   ========================================= */

.contact-area {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--color-main) 0%, #1a252f 100%);
    color: #fff;
    text-align: center;
}

.contact-heading {
    font-size: 32px;
    margin-bottom: 24px;
    color: #fff;
}

.contact-sub {
    margin-bottom: 40px;
    opacity: 0.8;
}

.contact-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.btn-white {
    background: #fff;
    color: var(--color-main);
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: bold;
}

.btn-white:hover {
    background: #b08d4b;
    color: #fff;
}

.contact-tel {
    font-size: 24px;
    font-family: var(--font-serif);
}

.contact-tel .time {
    font-size: 14px;
    font-family: var(--font-sans);
    margin-left: 10px;
    opacity: 0.7;
}


/* =========================================
   Footer
   ========================================= */

.site-footer {
    background-color: #f9f9f9;
    padding: 30px 0 20px !important;
    color: var(--color-text);
    border-top: 1px solid #eee;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.footer-info h2 {
    font-size: 18px;
    margin-bottom: 4px;
}

.footer-info p {
    font-size: 13px;
    color: var(--color-text-light);
    margin: 0;
}

.footer-nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 20px;
}

.footer-nav a {
    font-size: 13px;
    color: var(--color-text-light);
}

.footer-copy {
    text-align: center;
    font-size: 11px;
    color: #aaa;
    border-top: 1px solid #eee;
    padding-top: 12px;
}


/* =========================================
   Profile Layout
   ========================================= */

.profile-block {
    display: flex;
    align-items: flex-start;
    gap: 60px;
}

.profile-content .section-header {
    margin-bottom: 20px;
}

.profile-image {
    flex: 0 0 377px;
}

.profile-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border: 1px solid #eee;
}

.profile-content {
    flex: 1;
}

.profile-text p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.profile-text p:last-child {
    margin-bottom: 0;
}

.profile-text-bottom {
    max-width: 1000px;
    margin: 40px auto 0;
    width: 100%;
}

.profile-text-bottom p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.profile-text-bottom p:last-child {
    margin-bottom: 0;
}


/* =========================================
   History Timeline
   ========================================= */

.history-section {
    max-width: 600px;
    margin: 0 auto 40px;
}

.history-timeline {
    list-style: none;
    padding: 0;
    margin: 0;
}

.history-timeline li {
    position: relative;
    padding-left: 32px;
    padding-bottom: 30px;
}

.history-timeline li::after {
    content: "";
    position: absolute;
    top: 24px;
    bottom: -4px;
    left: 7px;
    width: 2px;
    background-color: #dcdcdc;
}

.history-timeline li:last-child::after {
    display: none;
}

.history-timeline li:last-child {
    padding-bottom: 0;
}

.history-timeline li::before {
    content: "";
    position: absolute;
    top: 4px;
    left: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: #2C3E50;
    box-sizing: border-box;
    z-index: 1;
}

.history-timeline li:nth-child(even)::before {
    background-color: #fff;
    border: 3px solid #2C3E50;
}

.history-year {
    font-size: 14px;
    color: #666;
    margin-bottom: 4px;
    line-height: 1;
    font-family: "Noto Sans JP", sans-serif;
}

.history-text {
    font-size: 16px;
    color: #333;
    line-height: 1.8;
    margin-left: 20px;
}


/* =========================================
   Responsive
   ========================================= */

@media (max-width: 1024px) {

    .logo-link {
        gap: 5px;
    }

    .header-logo-mark {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
        transform: translateY(0);
    }

    .logo-sub {
        margin-bottom: 0;
        display: block;
        font-size: 11px;
    }

    .logo-main {
        font-size: 19px;
        line-height: 1.3;
    }

    .hamburger {
        display: block;
    }

    .hamburger.is-active {
        color: var(--color-main) !important;
    }

    .hamburger.is-active .hamburger-bar:nth-child(1) {
        top: 50%;
        transform: translateY(-50%) rotate(45deg);
    }

    .hamburger.is-active .hamburger-bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.is-active .hamburger-bar:nth-child(3) {
        top: 50%;
        transform: translateY(-50%) rotate(-45deg);
    }

    .site-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        color: var(--color-text);
        padding: 80px 20px;
        transition: right 0.4s ease;
        box-shadow: -5px 0 20px rgba(0,0,0,0.1);
        background-color: rgba(255,255,255,0.85);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }

    .site-nav.active {
        right: 0;
    }

    .site-nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .site-nav-list a {
        font-size: 16px;
        color: var(--color-text);
    }

    .site-nav-list a::after {
        display: none;
    }

    .hero-catch-main {
        font-size: 30px;
    }


    .hero-actions {
        flex-direction: column;
        gap: 12px;
    }

.hero-actions .btn-hero {
    width: 205px;
    padding: 11px 16px;
    font-size: 15px;
}

    .hero-catch-sub {
        font-size: 13px;
    }


    .split-layout,
    .contact-actions {
        flex-direction: column;
    }

    .split-image {
        margin-top: -40px;
        margin-bottom: 30px;
    }

    .footer-inner {
        flex-direction: column;
        gap: 30px;
    }

    .footer-nav ul {
        flex-wrap: wrap;
    }

    .pc-only {
        display: none;
    }

    .sp-only {
        display: block;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .keyword-list {
        display: grid;
        grid-template-columns: repeat(2,1fr);
        gap: 10px;
    }

    .keyword-item {
        width: 100%;
        padding: 15px 4px;
        font-size: 13px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .profile-table th,
    .profile-table td {
        display: block;
        width: 100%;
        padding: 8px 0;
        border-bottom: none;
    }

    .profile-table th {
        color: var(--color-main);
        font-size: 13px;
        margin-top: 10px;
    }

    .profile-table td {
        padding-bottom: 20px;
        border-bottom: 1px solid #eee;
    }

    .profile-table tr:last-child td {
        border-bottom: none;
    }

    .blog-preview {
        gap: 20px;
    }

    .blog-card {
        flex-basis: 85% !important;
        width: 85% !important;
        min-width: 85%;
        scroll-snap-align: center;
    }

    .profile-block {
        flex-direction: column;
        gap: 40px;
    }

    .profile-image {
        width: 100%;
        flex: 1 1 auto;
        text-align: center;
    }

    .profile-content {
        width: 100%;
    }
}


/* =========================================
   Sub Page Generic Styles
   ========================================= */

.content-body {
    max-width: 1000px;
    margin: 40px auto 0;
    width: 100%;
    color: var(--color-text);
    line-height: 1.9;
    font-size: 16px;
}

.content-body p {
    margin-bottom: 20px;
}

.content-body p:last-child {
    margin-bottom: 0;
}

#service .content-body {
    margin-top: 120px;
}

#service .solution-item-block + .solution-item-block {
    margin-top: 90px;
}

.solution-item-block h3 {
    font-size: 21px;
    color: var(--color-main);
    border-left: 5px solid var(--color-accent);
    padding-left: 15px;
    line-height: 1.4;
    margin-bottom: 20px;
}

.content-body img {
    margin: 40px 0;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}


/* =========================================
   Meaning Box
   ========================================= */

.meaning-box {
    max-width: 800px;
    margin: 0 auto 50px;
    padding: 45px 40px;
    background-color: #fdfcfa;
    border: 1px solid var(--color-accent);
    border-radius: 4px;
}

.meaning-math {
    text-align: center;
    font-size: 28px;
    font-family: var(--font-serif);
    color: var(--color-main);
    margin-top: 0;
    margin-bottom: 30px;
    letter-spacing: 0.05em;
    line-height: 1.5;
}

.meaning-math rt {
    font-size: 11px;
    color: var(--color-text-light);
    font-family: var(--font-sans);
    font-weight: 500;
    letter-spacing: 0;
    transform: translateY(-2px);
    ruby-align: center;
}

.meaning-math span {
    color: var(--color-accent);
    margin: 0 15px;
    font-family: var(--font-sans);
}

.meaning-list-wrapper {
    text-align: center;
}

.meaning-list {
    display: inline-block;
    text-align: left;
    list-style: none;
    padding: 0;
    margin: 0;
}

.meaning-list li {
    font-size: 15px;
    color: var(--color-text);
    margin-bottom: 12px;
    line-height: 1.8;
}

.meaning-list li:last-child {
    margin-bottom: 0;
}

.meaning-list strong {
    color: var(--color-main);
    font-size: 16px;
    margin-right: 5px;
}


/* =========================================
   Philosophy Highlight
   ========================================= */

.philosophy-highlight {
    padding: 25px 30px;
    background-color: #fdfcfa;
    border-left: 5px solid var(--color-accent);
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.philosophy-highlight .highlight-text {
    font-family: var(--font-serif);
    font-size: 20px;
    color: var(--color-main);
    line-height: 1.8;
    margin: 0;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.philosophy-desc {
    color: var(--color-text);
    font-size: 16px;
    line-height: 1.8;
}


/* =========================================
   Page Anchor Links
   ========================================= */

.page-link-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 50px;
}

.btn-page-link {
    display: inline-block;
    padding: 14px 40px;
    background-color: #fff;
    color: var(--color-main);
    border-radius: 4px;
    font-size: 15px;
    font-weight: 500;
    text-align: center;
    border: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    transition: all 0.3s ease;
    min-width: 160px;
}

.btn-page-link:hover {
    background-color: var(--color-main);
    color: #fff;
    box-shadow: 0 6px 16px rgba(0,0,0,0.18);
    transform: translateY(-3px);
}

@media (max-width: 1024px) {
    .page-link-wrapper {
        gap: 12px;
    }

    .btn-page-link {
        width: calc(50% - 6px);
        min-width: auto;
        padding: 12px 10px;
        font-size: 14px;
    }
}


/* =========================================
   Page Anchor Links 2
   ========================================= */

.page-link-wrapper2 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 50px;
}

.btn-page-link2 {
    display: inline-block;
    padding: 14px 40px;
    background-color: #fff;
    border: 1px solid var(--color-main);
    color: var(--color-main);
    border-radius: 50px;
    font-size: 15px;
    font-weight: 500;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    min-width: 180px;
}

.btn-page-link2:hover {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    color: #fff;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    transform: translateY(-3px);
}

@media (max-width: 1024px) {
    .page-link-wrapper2 {
        gap: 12px;
    }

    .btn-page-link2 {
        width: calc(50% - 6px);
        min-width: auto;
        padding: 12px 10px;
        font-size: 14px;
    }
}


/* =========================================
   Form
   ========================================= */

.custom-form {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

.form-group {
    margin-bottom: 24px;
    text-align: left;
}

.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
    font-size: 1rem;
    color: #333;
}

.badge-required {
    background-color: #de3c4b;
    color: #fff;
    font-size: 0.75rem;
    padding: 2px 6px;
    border-radius: 3px;
    margin-left: 8px;
    vertical-align: middle;
}

.custom-form input[type="text"],
.custom-form input[type="email"],
.custom-form input[type="tel"],
.custom-form textarea {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    background-color: #fafafa;
    transition: border-color 0.3s, background-color 0.3s;
}

.custom-form input:focus,
.custom-form textarea:focus {
    border-color: #0056b3;
    background-color: #fff;
    outline: none;
}

.form-submit {
    margin-top: 32px;
    text-align: center;
}

.submit-btn {
    width: 100%;
    max-width: 400px;
    padding: 16px 32px;
    font-size: 1.1rem;
    font-weight: bold;
    color: #fff;
    background-color: #333;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #555;
}

.form-note {
    margin: 6px 0 0 0;
    font-size: 0.85rem;
    color: #d9534f;
    line-height: 1.5;
    font-weight: normal;
}


/* =========================================
   Service Grid 2 Columns
   ========================================= */

.service-grid2 {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 30px;
}

.service-grid2 .service-card {
    box-shadow: 0 4px 25px rgba(0,0,0,0.06);
    border: 1px solid #f0f0f0;
}

@media (max-width: 1024px) {
    .service-grid2 {
        grid-template-columns: 1fr;
    }
}


/* =========================================
   Media List
   ========================================= */

.media-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 1200px;
    margin: 80px auto 0;
}

.media-item {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    border: 1px solid #f0f0f0;
    transition: transform 0.3s, box-shadow 0.3s;
}

.media-image {
    flex: 0 0 240px;
}

.media-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    border: 1px solid #eee;
    display: block;
}

.media-content {
    flex: 1;
}

.media-title {
    font-size: 18px;
    color: var(--color-main);
    margin-bottom: 8px;
    line-height: 1.5;
}

.media-date {
    font-size: 13px;
    color: var(--color-accent);
    font-weight: 500;
    margin-bottom: 12px;
}

.media-desc {
    font-size: 16px;
    color: var(--color-text-light);
    line-height: 1.8;
    margin: 0;
}

@media (max-width: 1024px) {
    .media-item {
        flex-direction: column;
        padding: 20px;
        gap: 20px;
    }

    .media-image {
        flex: auto;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }

    .media-title {
        font-size: 17px;
    }
}

.media-title + .media-desc {
    margin-top: 24px;
}

.media-desc + .media-desc {
    margin-top: 22px;
}

.media-desc + .media-date {
    margin-top: 28px;
    margin-bottom: 0;
}


/* =========================================
   Business Services
   ========================================= */

.business-grid-3col {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 30px;
}

.business-card {
    position: relative;
    background: #fff;
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: 0 4px 25px rgba(0,0,0,0.06);
    border: 1px solid #f0f0f0;
    text-align: left;
    overflow: hidden;
}

.business-card-num {
    position: absolute;
    top: 5px;
    right: 15px;
    font-size: 72px;
    font-family: var(--font-serif);
    font-weight: 700;
    color: rgba(176,141,75,0.12);
    line-height: 1;
    z-index: 1;
    pointer-events: none;
    user-select: none;
}

.business-card-title {
    position: relative;
    z-index: 2;
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--color-main);
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.4;
    border-bottom: 2px solid var(--color-bg-gray);
    padding-bottom: 12px;
}

.business-item-list {
    position: relative;
    z-index: 2;
    list-style: none;
    padding: 0;
    margin: 0;
}

.business-item-list li {
    display: flex;
    align-items: flex-start;
    font-size: 15px;
    color: var(--color-text);
    line-height: 1.5;
    margin-bottom: 12px;
}

.business-item-list li:last-child {
    margin-bottom: 0;
}

.business-item-list li a {
    display: flex;
    align-items: flex-start;
    color: inherit;
    line-height: inherit;
    width: 100%;
    transition: color 0.25s ease, transform 0.25s ease;
}

.business-item-list li i {
    color: var(--color-accent);
    font-size: 11px;
    margin-right: 10px;
    margin-top: 6px;
}

.business-item-list li a i {
    transition: transform 0.25s ease;
}

.business-item-list li a:hover {
    color: var(--color-accent);
    transform: translateX(5px);
}

.business-item-list li a:hover i {
    transform: translateX(2px);
}

@media (max-width: 1024px) {
    .business-grid-3col {
        grid-template-columns: repeat(2,1fr);
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .business-grid-3col {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .business-card {
        padding: 30px 20px;
    }

    .business-card-title {
        font-size: 18px;
        margin-bottom: 16px;
        padding-bottom: 10px;
    }

    .business-card-num {
        font-size: 60px;
        top: 0;
        right: 10px;
    }
}


/* =========================================
   Footer Logo
   ========================================= */

.footer-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-logo img {
    height: 50px;
    width: auto;
    display: block;
}

@media (max-width: 768px) {
    .footer-info {
        flex-direction: row;
        align-items: flex-start;
        gap: 8px;
    }

    .footer-logo img {
        height: 39px;
        margin-top: 6px;
    }

    .footer-text h2 {
        font-size: 16px;
        margin-bottom: 2px;
    }

    .footer-text p {
        font-size: 12px;
        line-height: 1.4;
    }
}


/* =========================================
   Page Top Button
   ========================================= */

.page-top-btn {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 9999;
    width: 45px;
    height: 45px;
    background-color: var(--color-accent);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.page-top-btn.is-show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

@media (min-width: 769px) {
    .page-top-btn {
        display: none !important;
    }
}


@media (max-width: 380px) {
    .logo-main {
        font-size: 18px;
    }
}


/* =========================================
   Contact Area Background Logo
   ========================================= */

.contact-area {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.contact-area::after {
    content: "";
    position: absolute;
    top: 70%;
    right: -410px;
    width: 800px;
    aspect-ratio: 1 / 1;
    background: url('./img/favi2.png') center / contain no-repeat;
    filter: grayscale(1) brightness(1.45) contrast(0.9);
    opacity: 0.075;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 0;
}

.contact-area > .l-container {
    position: relative;
    z-index: 1;
}

@media (max-width: 1024px) {
    .contact-area::after {
        display: block;
        width: 720px;
        top: 70%;
        right: -515px;
        opacity: 0.05;
    }
}


/* =========================================
   Credo Page Content Width
   ========================================= */

.credo-narrow {
    max-width: 1048px;
}




@media (min-width: 1025px) {
    .blog-preview {
        cursor: grab;
        user-select: none;
    }

    .blog-preview.is-dragging {
        cursor: grabbing;
        scroll-snap-type: none;
    }
}




/* =========================================
   Mobile Navigation - Subtle Edge
   ========================================= */

@media (max-width: 1024px) {
    .site-nav {
        border-left: 1px solid rgba(44, 62, 80, 0.07);
        box-shadow: -4px 0 14px rgba(0, 0, 0, 0.075);
    }
}
