/*
Theme Name: belva-crew
Theme URI: https://belva-crew.com
Author: BELVA-CREW
Description: 株式会社ベルバクルー コーポレートサイトテーマ
Version: 1.0.0
Text Domain: belva-crew
*/

/* =========================================
   Reset & Variables
========================================= */
:root {
    --color-text: #333333;
    --color-bg: #ffffff;
    --color-dark: #111111;
    --color-gray: #f9f9f9;
    --color-border: #dddddd;
    --color-accent: #b03030;
    --font-en: 'Montserrat', sans-serif;
    --font-ja-serif: 'Noto Serif JP', serif;
    --font-ja-sans: 'Noto Sans JP', sans-serif;
    --header-height: 80px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-ja-sans);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.8;
    letter-spacing: 0.05em;
    -webkit-font-smoothing: antialiased;
}

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

ul {
    list-style: none;
}

/* =========================================
   Layout Utilities
========================================= */
.section {
    padding: 140px 0;
    position: relative;
    overflow: hidden;
}

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

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 4%;
    position: relative;
    z-index: 2;
}

.container.narrow {
    max-width: 800px;
}

.container.container-wide {
    max-width: 1400px;
    padding: 0 3%;
}

/* 装飾付きセクションタイトル */
.section-title {
    font-family: var(--font-en);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 80px;
    letter-spacing: 0.15em;
    position: relative;
    font-weight: 400;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background-color: var(--color-accent);
}

/* 透かし文字（ウォーターマーク） */
.section-title::before {
    content: attr(data-en);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 8rem;
    color: rgba(0, 0, 0, 0.03);
    font-weight: 700;
    white-space: nowrap;
    z-index: -1;
    pointer-events: none;
}

.dark-section .section-title::before {
    color: rgba(255, 255, 255, 0.03);
}

/* =========================================
   Header
========================================= */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 100;
    transition: background-color 0.4s ease, border-bottom 0.4s ease, height 0.4s ease;
    overflow: visible;
}

#header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid var(--color-border);
    height: 70px;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 0 4%;
    position: relative;
    z-index: 102;
}

.logo a {
    font-family: var(--font-ja-serif);
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
    transition: color 0.4s ease;
    letter-spacing: 0.1em;
}

#header.scrolled .logo a,
#header.scrolled .global-nav a {
    color: var(--color-text);
}

.global-nav > ul {
    display: flex;
    gap: 35px;
}

.global-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: var(--font-en);
    font-size: 0.85rem;
    font-weight: 500;
    color: #fff;
    letter-spacing: 0.1em;
    position: relative;
    transition: color 0.4s ease;
}

.global-nav a:hover {
    opacity: 1;
    color: var(--color-accent) !important;
}

.nav-ja {
    display: block;
    font-family: var(--font-ja-sans);
    font-size: 0.6rem;
    margin-top: 1px;
    letter-spacing: 0.05em;
    opacity: 0.8;
    font-weight: 400;
    transition: color 0.4s ease;
}

/* visited対策 */
.global-nav a:visited {
    color: #fff !important;
}
#header.scrolled .global-nav a:visited {
    color: var(--color-text) !important;
}
.global-nav a:hover,
.global-nav a:visited:hover {
    color: var(--color-accent) !important;
}

/* ドロップダウンメニュー */
.has-dropdown {
    position: relative;
}
.has-dropdown > a {
    cursor: default;
}
.dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    min-width: 180px;
    background: #fff;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border-radius: 4px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 200;
    display: block;
}
.dropdown li {
    display: block;
}
/* ホバー抜け防止の透明ブリッジ */
.has-dropdown::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 15px;
    background: transparent;
}
.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
}
.global-nav .dropdown a,
.global-nav .dropdown a:visited,
#header.scrolled .global-nav .dropdown a,
#header.scrolled .global-nav .dropdown a:visited {
    display: block !important;
    flex-direction: row !important;
    padding: 10px 20px !important;
    font-size: 0.85rem !important;
    color: var(--color-text) !important;
    white-space: nowrap;
    transition: background 0.2s ease;
}
.global-nav .dropdown a:hover,
.global-nav .dropdown a:visited:hover {
    background: #f5f5f5;
    color: var(--color-accent) !important;
}
.dropdown a .nav-ja {
    display: none;
}
.dropdown a::before {
    content: '\203A';
    margin-right: 8px;
    font-size: 1.1rem;
    color: var(--color-accent);
}

/* =========================================
   Hamburger Icon (Sp)
========================================= */
.hamburger {
    display: none;
    position: relative;
    width: 30px;
    height: 20px;
    cursor: pointer;
    z-index: 105;
    background: transparent;
    border: none;
    outline: none;
}

.hamburger span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #fff;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hamburger span:nth-of-type(1) { top: 0; }
.hamburger span:nth-of-type(2) { top: 50%; transform: translateY(-50%); width: 70%; left: 30%; }
.hamburger span:nth-of-type(3) { bottom: 0; }

#header.scrolled .hamburger span { background-color: var(--color-text); }

.hamburger.is-active span { background-color: #fff !important; width: 100%; left: 0; }
.hamburger.is-active span:nth-of-type(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
.hamburger.is-active span:nth-of-type(2) { opacity: 0; }
.hamburger.is-active span:nth-of-type(3) { bottom: 50%; transform: translateY(50%) rotate(-45deg); }

/* =========================================
   Hero Section (First View)
========================================= */
#hero {
    position: relative;
    height: 100vh;
    height: 100svh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-dark);
}

.video-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.video-wrap video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    background-image: radial-gradient(rgba(0,0,0,0) 0%, rgba(0,0,0,0.5) 100%),
                      url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0IiBoZWlnaHQ9IjQiPgo8cmVjdCB3aWR0aD0iNCIgaGVpZ2h0PSI0IiBmaWxsPSJub25lIiAvPgo8cmVjdCB3aWR0aD0iMSIgaGVpZ2h0PSIxIiBmaWxsPSJyZ2JhKDAsMCwwLDAuMikiIC8+Cjwvc3ZnPg==');
    z-index: 1;
}

.hero-content {
    text-align: center;
    color: #fff;
    z-index: 2;
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.hero-title {
    font-family: var(--font-en);
    font-size: 4.5vw;
    letter-spacing: 0.2em;
    margin-bottom: 25px;
    font-weight: 300;
}

.hero-sub {
    font-family: var(--font-ja-serif);
    font-size: 1.1rem;
    letter-spacing: 0.25em;
}

.scroll-down {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 0.7rem;
    font-family: var(--font-en);
    letter-spacing: 0.2em;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    z-index: 2;
    opacity: 0.8;
}

.scroll-down::after {
    content: '';
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
    animation: scroll 2s infinite cubic-bezier(0.65, 0, 0.35, 1);
}

@keyframes scroll {
    0% { transform: scaleY(0); transform-origin: top; opacity: 1; }
    50% { transform: scaleY(1); transform-origin: top; opacity: 1; }
    50.1% { transform: scaleY(1); transform-origin: bottom; opacity: 1; }
    100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* =========================================
   Marquee (無限横スクロール)
========================================= */
.marquee-section {
    background-color: var(--color-dark);
    padding: 30px 0;
    overflow: hidden;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.marquee-inner {
    display: flex;
    align-items: center;
    width: max-content;
    animation: marquee 60s linear infinite;
}

.marquee-text {
    font-family: var(--font-en);
    font-size: 5rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    line-height: 1;
    color: rgba(255, 255, 255, 0.15);
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.15);
    -webkit-text-fill-color: transparent;
    padding-right: 50px;
    white-space: nowrap;
    flex-shrink: 0;
}

/* text-stroke非対応ブラウザ用フォールバック */
@supports not (-webkit-text-stroke: 1px white) {
    .marquee-text {
        color: rgba(255, 255, 255, 0.1);
        -webkit-text-fill-color: unset;
    }
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* =========================================
   About
========================================= */
.about-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 80px;
}

.about-logo-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 140px;
    flex-shrink: 0;
}

.about-logo-img {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    z-index: 2;
}

.about-text {
    max-width: 500px;
}

.about-text h3 {
    font-family: var(--font-ja-serif);
    font-size: 1.8rem;
    margin-bottom: 20px;
    letter-spacing: 0.1em;
    color: var(--color-text);
}

/* =========================================
   Works
========================================= */
.dark-section {
    background-color: var(--color-dark);
    color: #fff;
}

.dark-section .section-title {
    color: #fff;
}

.works-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.work-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.work-item.reverse {
    direction: ltr;
}

.work-img-wrap {
    position: relative;
    width: 100%;
}

.work-img-wrap::before {
    display: none;
}

.work-img {
    width: 100%;
    overflow: hidden;
}

.work-img img {
    width: 100%;
    height: auto;
    display: block;
    filter: brightness(0.45);
    transition: filter 0.6s ease, transform 1.2s ease;
}

.work-item:hover .work-img img {
    filter: brightness(0.3);
    transform: scale(1.03);
}

.work-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px 35px;
    z-index: 2;
}

.work-number {
    font-family: var(--font-en);
    font-size: 5rem;
    font-weight: 300;
    color: rgba(255,255,255,0.08);
    line-height: 1;
    position: absolute;
    top: 30px;
    right: 50px;
    z-index: 3;
}

.work-category {
    display: inline-block;
    background-color: var(--color-accent);
    color: #fff;
    padding: 5px 16px;
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    margin-bottom: 15px;
    font-family: var(--font-en);
}

.work-title {
    font-family: var(--font-ja-serif);
    font-size: 1.6rem;
    letter-spacing: 0.1em;
    color: #fff;
    margin-bottom: 0;
}

/* 詳細を見るボタン */
.work-more {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 4;
    pointer-events: none;
}

.work-item:hover .work-more {
    opacity: 1;
    pointer-events: auto;
}

.work-more-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid #fff;
    padding: 14px 35px;
    color: #fff;
    font-family: var(--font-ja-sans);
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    transition: all 0.3s ease;
}

.work-more-inner:hover {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
}

.work-more-inner span {
    font-family: var(--font-en);
    transition: transform 0.3s ease;
}

.work-more-inner:hover span {
    transform: translateX(5px);
}

/* =========================================
   Buttons (Rich Hover Effects)
========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 18px 45px;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
}

.btn-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: #fff;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: -1;
}

.btn-outline:hover {
    color: var(--color-dark);
    border-color: #fff;
}

.btn-outline:hover::before {
    left: 0;
}

.btn-solid-white {
    background-color: #fff;
    color: var(--color-dark);
    font-weight: 500;
}

.btn-solid-white::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: var(--color-accent);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: -1;
}

.btn-solid-white:hover {
    color: #fff;
}

.btn-solid-white:hover::before {
    left: 0;
}

.btn-arrow {
    display: inline-block;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.btn:hover .btn-arrow {
    transform: translateX(5px);
}

/* =========================================
   News
========================================= */
#news {
    background-color: #fff;
    position: relative;
    overflow: hidden;
}

#news::before,
#news::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 2px;
    background-color: var(--color-accent);
    opacity: 0.25;
}

#news::before {
    top: 40px;
    right: -100px;
    transform: rotate(-35deg);
    box-shadow:
        0 40px 0 0 var(--color-accent),
        0 80px 0 0 var(--color-accent),
        0 120px 0 0 var(--color-accent),
        0 160px 0 0 var(--color-accent);
}

#news::after {
    bottom: 30px;
    left: -100px;
    transform: rotate(-35deg);
    box-shadow:
        0 -40px 0 0 var(--color-accent),
        0 -80px 0 0 var(--color-accent),
        0 -120px 0 0 var(--color-accent),
        0 -160px 0 0 var(--color-accent);
}

.news-list li {
    border-bottom: 1px solid var(--color-border);
    position: relative;
}

.news-list li:first-child {
    border-top: 1px solid var(--color-border);
}

.news-list li::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0;
    background-color: var(--color-accent);
    transition: height 0.4s ease;
    z-index: 1;
}

.news-list li:hover::before {
    height: 100%;
}

.news-list a {
    display: flex;
    align-items: center;
    padding: 35px 20px;
    transition: background-color 0.4s ease, transform 0.4s ease;
}

.news-list a:hover {
    background-color: var(--color-gray);
    transform: translateX(10px);
    opacity: 1;
}

.news-list time {
    font-family: var(--font-en);
    font-size: 1.1rem;
    width: 140px;
    color: #888;
    flex-shrink: 0;
    letter-spacing: 0.1em;
}

.news-title {
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.news-list a:hover .news-title {
    color: var(--color-accent);
}

.news-more-wrap {
    text-align: center;
    margin-top: 50px;
}

.news-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-ja-sans);
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    color: var(--color-text);
    border: 1px solid var(--color-border);
    padding: 14px 40px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.news-more-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: var(--color-accent);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: -1;
}

.news-more-btn:hover {
    color: #fff;
    border-color: var(--color-accent);
    opacity: 1;
}

.news-more-btn:hover::before {
    left: 0;
}

.news-more-btn .btn-arrow {
    transition: transform 0.4s ease;
}

.news-more-btn:hover .btn-arrow {
    transform: translateX(5px);
}

/* =========================================
   Recruit CTA
========================================= */
.recruit-banner {
    display: block;
    overflow: hidden;
    width: 100%;
    max-width: 650px;
    margin: 0 auto;
    position: relative;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.recruit-banner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(176, 48, 48, 0.1);
    transition: opacity 0.4s ease;
    opacity: 0;
    pointer-events: none;
}

.recruit-banner img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.recruit-banner:hover {
    opacity: 1;
}

.recruit-banner:hover::after {
    opacity: 1;
}

.recruit-banner:hover img {
    transform: scale(1.03);
}

/* =========================================
   Contact
========================================= */
#contact {
    position: relative;
    padding: 160px 0;
    text-align: center;
}

.contact-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: 0;
}

.contact-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(17, 17, 17, 0.85);
    z-index: 1;
}

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

.contact-content .section-title {
    color: #fff;
    margin-bottom: 50px;
    font-family: var(--font-ja-serif);
}

.contact-content .section-title::before {
    display: none;
}

.contact-content .section-title span {
    display: block;
    font-family: var(--font-en);
    font-size: 1rem;
    margin-top: 15px;
    letter-spacing: 0.2em;
    color: var(--color-accent);
}

/* =========================================
   Footer
========================================= */
#footer {
    background-color: var(--color-dark);
    color: #fff;
    padding: 100px 4% 30px;
    position: relative;
    border-top: 1px solid #333;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 50px;
    margin-bottom: 80px;
}

.footer-logo {
    font-family: var(--font-ja-serif);
    font-size: 1.6rem;
    letter-spacing: 0.1em;
    margin-bottom: 15px;
}

.footer-col p {
    font-size: 0.85rem;
    color: #888;
    font-family: var(--font-en);
    letter-spacing: 0.05em;
}

.footer-nav li {
    margin-bottom: 18px;
}

.footer-nav a {
    font-family: var(--font-en);
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    color: #aaa;
    transition: color 0.3s ease;
    position: relative;
}

.footer-nav a:hover {
    color: #fff;
    opacity: 1;
}

.info-col {
    font-family: var(--font-en);
    letter-spacing: 0.05em;
}

.info-col p {
    margin-bottom: 12px;
    color: #aaa;
}

.copyright {
    text-align: center;
    font-family: var(--font-en);
    font-size: 0.7rem;
    color: #555;
    border-top: 1px solid #222;
    padding-top: 30px;
    letter-spacing: 0.15em;
}

/* =========================================
   Animations (Fade In)
========================================= */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

/* =========================================
   Single Post / Archive
========================================= */
/* Single Article */
.single-article {
    padding: 80px 0 120px;
}

.single-inner {
    max-width: 960px;
    margin: 0 auto;
}

/* アイキャッチ画像 (推奨サイズ: 1200×630px / 比率 約1.9:1) */
.single-thumbnail {
    margin-bottom: 40px;
    overflow: hidden;
    border-radius: 4px;
}

.single-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}

/* 記事ヘッダー */
.single-header {
    margin-bottom: 50px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--color-border);
}

.single-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.single-date {
    font-family: var(--font-en);
    font-size: 0.9rem;
    color: #888;
    letter-spacing: 0.1em;
}

.single-category {
    display: inline-block;
    font-size: 0.75rem;
    padding: 4px 12px;
    border: 1px solid var(--color-border);
    color: #666;
    letter-spacing: 0.1em;
}

.single-title {
    font-family: var(--font-ja-serif);
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    line-height: 1.6;
    color: var(--color-dark);
}

/* 記事本文 */
.single-content {
    line-height: 2.2;
    font-size: 1rem;
}

.single-content p {
    margin-bottom: 2em;
}

.single-content img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin: 2em 0;
}

/* 見出しデザイン */
.single-content h2 {
    font-family: var(--font-ja-serif);
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--color-dark);
    margin: 3em 0 1.5em;
    padding: 18px 25px;
    border-left: 4px solid var(--color-accent);
    background: linear-gradient(90deg, rgba(176, 48, 48, 0.04) 0%, transparent 100%);
    letter-spacing: 0.05em;
}

.single-content h3 {
    font-family: var(--font-ja-serif);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--color-dark);
    margin: 2.5em 0 1em;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--color-accent);
    position: relative;
    letter-spacing: 0.05em;
}

.single-content h3::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--color-border);
}

.single-content h4 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--color-dark);
    margin: 2em 0 0.8em;
    padding-left: 15px;
    position: relative;
}

.single-content h4::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background-color: var(--color-accent);
    border-radius: 50%;
}

/* リスト */
.single-content ul,
.single-content ol {
    margin: 1.5em 0;
    padding-left: 1.5em;
}

.single-content ul {
    list-style: none;
    padding-left: 0;
}

.single-content ul li {
    position: relative;
    padding-left: 1.2em;
    margin-bottom: 0.6em;
}

.single-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.85em;
    width: 6px;
    height: 6px;
    background-color: var(--color-accent);
    border-radius: 50%;
}

.single-content ol li {
    margin-bottom: 0.6em;
}

/* 引用 */
.single-content blockquote {
    margin: 2em 0;
    padding: 30px 30px 30px 25px;
    border-left: 4px solid var(--color-accent);
    background-color: var(--color-gray);
    font-style: italic;
    color: #555;
}

.single-content blockquote p:last-child {
    margin-bottom: 0;
}

/* テーブル */
.single-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 2em 0;
}

.single-content table th,
.single-content table td {
    padding: 15px 20px;
    border: 1px solid var(--color-border);
    text-align: left;
}

.single-content table th {
    background-color: var(--color-gray);
    font-weight: 500;
}

/* 戻るリンク */
.single-footer {
    margin-top: 80px;
    padding-top: 40px;
    border-top: 1px solid var(--color-border);
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    color: var(--color-text);
    padding: 12px 30px;
    border: 1px solid var(--color-border);
    transition: all 0.3s ease;
}

.back-link:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
    opacity: 1;
}

.back-arrow {
    font-family: var(--font-en);
    transition: transform 0.3s ease;
}

.back-link:hover .back-arrow {
    transform: translateX(-5px);
}

/* Archive */
.archive-wrap {
    max-width: 800px;
    margin: 0 auto;
    padding: calc(var(--header-height) + 60px) 4% 100px;
}

.archive-wrap h1 {
    font-family: var(--font-en);
    font-size: 2rem;
    text-align: center;
    margin-bottom: 60px;
    letter-spacing: 0.15em;
    font-weight: 400;
}

/* =========================================
   Service Page (下層ページ)
========================================= */
.page-header {
    background-color: var(--color-dark);
    padding: 100px 0 30px;
    position: relative;
    border-bottom: 5px solid var(--color-accent);
}

.page-header-inner {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.page-header-title {
    font-family: var(--font-ja-serif);
    font-size: 3rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    color: #fff;
    line-height: 1.2;
}

.page-header-sub {
    font-family: var(--font-en);
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
}

/* Breadcrumb */
.breadcrumb {
    background-color: var(--color-bg);
    padding: 20px 0;
    border-bottom: 1px solid var(--color-border);
}

.breadcrumb ul {
    display: flex;
    align-items: center;
    list-style: none;
    font-size: 0.8rem;
    color: #888;
    letter-spacing: 0.1em;
}

.breadcrumb li {
    white-space: nowrap;
}

.breadcrumb li:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}

.breadcrumb li:not(:last-child)::after {
    content: '>';
    margin: 0 15px;
    color: #ccc;
}

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

/* Intro Section */
.intro-section {
    padding: 120px 0;
    background-color: var(--color-bg);
}

.intro-content {
    max-width: 800px;
    margin: 0 auto;
}

.intro-heading {
    font-family: var(--font-ja-serif);
    font-size: 2.2rem;
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: 50px;
    color: var(--color-dark);
}

.intro-heading .highlight {
    color: var(--color-accent);
}

.intro-text p {
    margin-bottom: 25px;
    line-height: 2;
    color: #555;
    font-size: 1rem;
}

/* Works Split Layout */
.works-split-section {
    background-color: var(--color-gray);
    overflow: hidden;
}

.split-item {
    display: flex;
    align-items: stretch;
    min-height: 600px;
    background-color: #fff;
}

.split-item:nth-child(even) {
    flex-direction: row-reverse;
    background-color: var(--color-gray);
}

.split-img-wrap {
    width: 50%;
    position: relative;
    overflow: hidden;
}

.split-img {
    width: 100%;
    height: 100%;
    position: relative;
    clip-path: inset(0 100% 0 0);
    transition: clip-path 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.split-item:nth-child(even) .split-img {
    clip-path: inset(0 0 0 100%);
}

.split-img.is-visible {
    clip-path: inset(0 0 0 0) !important;
}

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

.split-item:hover .split-img img {
    transform: scale(1.05);
}

.split-text-wrap {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 6%;
}

.split-text-inner {
    max-width: 500px;
    width: 100%;
}

.category-label {
    display: inline-block;
    font-family: var(--font-en);
    font-size: 0.8rem;
    color: #fff;
    background-color: var(--color-dark);
    padding: 6px 16px;
    letter-spacing: 0.2em;
    margin-bottom: 25px;
}

.split-text-inner .work-title {
    font-family: var(--font-ja-serif);
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--color-dark);
    letter-spacing: 0.1em;
}

.work-subtitle {
    font-size: 1.1rem;
    color: var(--color-accent);
    margin-bottom: 40px;
    font-weight: 700;
    position: relative;
    padding-bottom: 20px;
}

.work-subtitle::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--color-border);
}

.work-desc {
    font-size: 0.95rem;
    color: #555;
    line-height: 2.2;
}

.work-desc p {
    margin-bottom: 20px;
}

.work-desc p:last-child {
    margin-bottom: 0;
}

/* =========================================
   Company Page (会社概要)
========================================= */
.section-title-wrap {
    text-align: center;
    margin-bottom: 60px;
}

.section-title-en {
    font-family: var(--font-en);
    font-size: 0.85rem;
    color: var(--color-accent);
    letter-spacing: 0.2em;
    display: block;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.section-title-wrap .section-title {
    font-family: var(--font-ja-serif);
    font-size: 2rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    position: relative;
    padding-bottom: 25px;
    color: var(--color-dark);
    margin-bottom: 0;
}

.section-title-wrap .section-title::before {
    display: none;
}

/* Message (ごあいさつ) */
.message-section {
    padding: 100px 0;
}

.message-inner {
    max-width: 800px;
    margin: 0 auto;
}

.message-text p {
    margin-bottom: 2.5em;
    line-height: 2.2;
    color: #555;
    font-size: 0.95rem;
}

.message-text p:last-of-type {
    margin-bottom: 0;
}

.message-sign {
    text-align: right;
    margin-top: 60px;
}

.message-sign span {
    display: block;
    font-size: 0.85rem;
    color: #555;
    margin-bottom: 10px;
    letter-spacing: 0.1em;
}

.message-sign strong {
    font-family: var(--font-ja-serif);
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    color: var(--color-dark);
}

/* Philosophy (経営理念) */
.philosophy-section {
    padding: 100px 0;
    background-color: var(--color-gray);
}

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

.philosophy-card {
    background-color: #fff;
    padding: 60px 40px;
    text-align: center;
    border: 1px solid var(--color-border);
    border-top: 3px solid transparent;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
}

.philosophy-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    border-top-color: var(--color-accent);
}

.philosophy-num {
    font-family: var(--font-en);
    font-size: 4rem;
    color: #f0f0f0;
    font-weight: 300;
    line-height: 1;
    margin-bottom: 20px;
    transition: color 0.4s ease;
}

.philosophy-card:hover .philosophy-num {
    color: rgba(176, 48, 48, 0.1);
}

.philosophy-card-title {
    font-family: var(--font-ja-serif);
    font-size: 1.4rem;
    margin-bottom: 20px;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--color-dark);
}

.philosophy-card-desc {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.8;
}

/* Profile (会社概要テーブル) */
.profile-section {
    padding: 100px 0;
}

.profile-inner {
    max-width: 900px;
    margin: 0 auto;
}

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

.profile-table th,
.profile-table td {
    padding: 30px 20px;
    border-bottom: 1px solid var(--color-border);
    text-align: left;
    vertical-align: top;
}

.profile-table tr:first-child th,
.profile-table tr:first-child td {
    border-top: 1px solid var(--color-dark);
}

.profile-table th {
    width: 30%;
    font-weight: 500;
    color: var(--color-dark);
    letter-spacing: 0.1em;
    background-color: rgba(248, 248, 248, 0.5);
}

.profile-table td {
    width: 70%;
    color: #555;
    line-height: 1.8;
}

/* Access Map */
.access-section {
    padding: 0 0 100px;
}

.map-wrap {
    width: 100%;
    aspect-ratio: 21 / 9;
    background-color: #eee;
    filter: grayscale(30%) contrast(95%);
    transition: filter 0.5s ease;
}

.map-wrap:hover {
    filter: grayscale(0%) contrast(100%);
}

.map-wrap iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* =========================================
   Works Gallery Page (施工事例)
========================================= */
.works-gallery-section {
    background-color: var(--color-dark);
    padding: 80px 0 120px;
    color: #fff;
}

.works-gallery-inner {
    max-width: 1200px;
    margin: 0 auto;
}

/* WordPressギャラリーブロックのカスタマイズ */
.works-gallery-section .wp-block-gallery {
    gap: 15px !important;
}

.works-gallery-section .wp-block-image {
    overflow: hidden;
    border-radius: 4px;
}

.works-gallery-section .wp-block-image img {
    transition: transform 0.6s ease, filter 0.4s ease;
    filter: brightness(0.85);
}

.works-gallery-section .wp-block-image:hover img {
    transform: scale(1.05);
    filter: brightness(1);
}

/* ギャラリーキャプション */
.works-gallery-section .wp-block-image figcaption,
.works-gallery-section .blocks-gallery-caption {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
}

/* ギャラリー以外のテキスト要素 */
.works-gallery-section h2,
.works-gallery-section h3,
.works-gallery-section h4 {
    color: #fff;
}

.works-gallery-section p {
    color: rgba(255, 255, 255, 0.8);
}

.works-gallery-section a {
    color: var(--color-accent);
}

/* =========================================
   News Archive Page (お知らせ一覧)
========================================= */
.news-archive-section {
    padding: 100px 0 120px;
}

.news-archive-list {
    border-top: 2px solid var(--color-dark);
    list-style: none;
}

.news-item {
    border-bottom: 1px solid var(--color-border);
}

.news-link {
    display: flex;
    align-items: center;
    padding: 40px 20px;
    position: relative;
    overflow: hidden;
    background-color: #fff;
    transition: background-color 0.3s ease;
}

.news-link:hover {
    background-color: var(--color-gray);
    opacity: 1;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 25px;
    width: 250px;
    flex-shrink: 0;
}

.news-date {
    font-family: var(--font-en);
    font-size: 1.1rem;
    color: #666;
    letter-spacing: 0.1em;
    font-weight: 500;
}

.news-category {
    display: inline-block;
    font-size: 0.75rem;
    padding: 4px 12px;
    border: 1px solid var(--color-border);
    color: #666;
    letter-spacing: 0.1em;
    background-color: #fff;
    white-space: nowrap;
}

.news-item-title {
    flex: 1;
    font-size: 1.05rem;
    font-weight: 500;
    padding-right: 40px;
    transition: color 0.3s ease;
}

.news-link:hover .news-item-title {
    color: var(--color-accent);
}

.news-arrow {
    font-family: var(--font-en);
    font-size: 1.2rem;
    color: #ccc;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), color 0.3s ease;
}

.news-link:hover .news-arrow {
    transform: translateX(10px);
    color: var(--color-accent);
}

/* カテゴリ色分け */
.cat-recruit {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

/* Pagination */
.news-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 80px;
}

.news-pagination .page-numbers {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    font-family: var(--font-en);
    font-size: 1rem;
    color: #666;
    border: 1px solid var(--color-border);
    transition: all 0.3s ease;
}

.news-pagination .page-numbers.current {
    background-color: var(--color-dark);
    color: #fff;
    border-color: var(--color-dark);
}

.news-pagination .page-numbers:not(.current):hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
    opacity: 1;
}

.news-pagination .page-numbers.dots {
    border: none;
    width: auto;
    color: #ccc;
    pointer-events: none;
}

.news-pagination .page-numbers.prev,
.news-pagination .page-numbers.next {
    width: auto;
    padding: 0 15px;
}

/* =========================================
   Recruit Page (採用情報)
========================================= */
.recruit-message-section {
    padding: 100px 0 120px;
}

.catchphrase {
    font-family: var(--font-ja-serif);
    font-size: 2.2rem;
    font-weight: 500;
    text-align: center;
    margin-bottom: 80px;
    letter-spacing: 0.15em;
    color: var(--color-dark);
}

.recruit-message-header {
    margin-bottom: 20px;
}

.recruit-message-en {
    font-family: var(--font-en);
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    display: block;
    color: var(--color-dark);
}

.recruit-message-ja {
    font-size: 0.85rem;
    color: #555;
    letter-spacing: 0.1em;
}

.recruit-message-box {
    background-color: #f4f4f4;
    padding: 60px;
    position: relative;
}

.recruit-message-box::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    border-width: 0 30px 30px 0;
    border-style: solid;
    border-color: #ffffff #ffffff #e6e6e6 #e6e6e6;
    box-shadow: -2px 2px 2px rgba(0,0,0,0.02);
}

.recruit-message-box p {
    margin-bottom: 2em;
    line-height: 2.2;
    color: #555;
    font-size: 0.95rem;
}

.recruit-message-box p:last-child {
    margin-bottom: 0;
}

/* Support Section (成長サポート) */
.support-section {
    background-color: var(--color-dark);
    padding: 120px 0;
}

.support-header {
    text-align: center;
    margin-bottom: 80px;
    color: #fff;
}

.support-sub {
    font-family: var(--font-ja-serif);
    font-size: 1.1rem;
    display: block;
    margin-bottom: 15px;
    letter-spacing: 0.1em;
}

.support-title {
    font-size: 2.2rem;
    font-weight: 600;
    letter-spacing: 0.1em;
}

.support-title .highlight {
    color: #ffd700;
    font-size: 1.2em;
}

.support-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.support-card {
    background-color: #fff;
    border-radius: 8px;
    padding: 40px 50px;
    display: flex;
    align-items: center;
    gap: 50px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.support-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

.card-left {
    width: 35%;
    flex-shrink: 0;
}

.card-sub {
    font-size: 0.9rem;
    color: var(--color-text);
    font-weight: 500;
    display: block;
    margin-bottom: 10px;
    letter-spacing: 0.05em;
}

.card-title {
    font-family: var(--font-ja-serif);
    font-size: 1.6rem;
    font-weight: 600;
    color: #2a65a3;
    letter-spacing: 0.1em;
}

.card-right {
    width: 65%;
}

.card-right p {
    font-size: 0.95rem;
    color: #555;
    line-height: 2;
}

/* =========================================
   Contact Page (お問い合わせ)
========================================= */
.contact-form-section {
    padding: 80px 0 120px;
}

.contact-form-inner {
    max-width: 900px;
    margin: 0 auto;
}

/* Contact Form 7 カスタムスタイル */
.CF7_table {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    border-collapse: collapse;
    background-color: #2a2a2a;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.CF7_table tr {
    border-bottom: 1px solid #404040;
}

.CF7_table tr:last-child {
    border-bottom: none;
}

.CF7_table th {
    background-color: #1a1a1b;
    color: #ffffff;
    padding: 20px 15px;
    font-size: 14px;
    font-weight: 600;
    text-align: left;
    vertical-align: top;
    width: 200px;
    min-width: 200px;
    letter-spacing: 0.3px;
}

.CF7_table td {
    background-color: #2a2a2a;
    padding: 20px 15px;
    vertical-align: top;
}

/* 必須・任意ラベル */
.CF7_req {
    display: inline-block;
    background-color: #dc3545;
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 3px;
    margin-right: 8px;
    letter-spacing: 0.2px;
}

.CF7_unreq {
    display: inline-block;
    background-color: #6c757d;
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 3px;
    margin-right: 8px;
    letter-spacing: 0.2px;
}

/* 入力フィールド共通スタイル */
.CF7_table input[type="text"],
.CF7_table input[type="email"],
.CF7_table textarea {
    width: 100%;
    padding: 12px 15px;
    background-color: #333333;
    border: 2px solid #404040;
    border-radius: 4px;
    color: #ffffff;
    font-size: 14px;
    font-family: inherit;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.CF7_table input[type="text"]:focus,
.CF7_table input[type="email"]:focus,
.CF7_table textarea:focus {
    outline: none;
    border-color: #c0c0c0;
    background-color: #3a3a3a;
    box-shadow: 0 0 0 3px rgba(192, 192, 192, 0.1);
}

.CF7_table input::placeholder,
.CF7_table textarea::placeholder {
    color: #888888;
    font-style: italic;
}

.CF7_table textarea {
    min-height: 120px;
    resize: vertical;
    line-height: 1.6;
}

/* チェックボックス */
.CF7_table input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    background-color: #333333;
    border: 2px solid #404040;
    border-radius: 3px;
    margin-right: 8px;
    margin-bottom: 8px;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.CF7_table input[type="checkbox"]:checked {
    background-color: #c0c0c0;
    border-color: #c0c0c0;
}

.CF7_table input[type="checkbox"]:checked::after {
    content: '\2713';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #1a1a1b;
    font-size: 12px;
    font-weight: bold;
}

.wpcf7-list-item {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    color: #ffffff;
    font-size: 14px;
}

.wpcf7-list-item label {
    margin: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
}

/* 送信ボタン */
.CF7_btn {
    text-align: center;
    margin: 30px 0 0;
}

.CF7_btn input[type="submit"] {
    background: linear-gradient(135deg, #c0c0c0 0%, #a8a8a8 100%);
    color: #1a1a1b;
    border: none;
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    min-width: 160px;
    box-shadow: 0 2px 10px rgba(192, 192, 192, 0.2);
}

.CF7_btn input[type="submit"]:hover {
    background: linear-gradient(135deg, #d0d0d0 0%, #b8b8b8 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(192, 192, 192, 0.3);
}

.CF7_btn input[type="submit"]:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(192, 192, 192, 0.2);
}

/* CF7 エラー・成功メッセージ */
.wpcf7-not-valid-tip {
    color: #dc3545;
    font-size: 12px;
    margin-top: 5px;
    display: block;
}

.wpcf7-validation-errors {
    background-color: #dc3545;
    color: #ffffff;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-size: 14px;
}

.wpcf7-mail-sent-ok {
    background-color: #28a745;
    color: #ffffff;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-size: 14px;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
    color: white;
}

/* Fade In Up animation */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

/* =========================================
   Responsive Settings
========================================= */
@media screen and (max-width: 768px) {
    .section {
        padding: 100px 0;
    }
    .section-title {
        font-size: 2rem;
        margin-bottom: 60px;
    }
    .section-title::before {
        font-size: 4rem;
    }
    .header-inner {
        flex-direction: row;
        justify-content: space-between;
        padding: 0 5%;
        height: 70px;
    }
    #header {
        height: auto;
        padding: 0;
    }

    .hamburger {
        display: block;
    }

    .global-nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(17, 17, 17, 0.98);
        display: flex;
        justify-content: center;
        align-items: safe center;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding: 80px 0;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.4s ease, visibility 0.4s ease;
        z-index: 104;
    }

    .global-nav.is-active {
        opacity: 1;
        visibility: visible;
    }

    .global-nav > ul {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    .global-nav a,
    .global-nav a:visited,
    #header.scrolled .global-nav a,
    #header.scrolled .global-nav a:visited {
        font-size: 1.2rem;
        color: #fff !important;
    }
    .global-nav a:hover {
        color: var(--color-accent) !important;
    }

    .nav-ja {
        font-size: 0.75rem;
        margin-top: 2px;
    }

    /* スマホ版ドロップダウン */
    .has-dropdown::before {
        display: none;
    }
    .dropdown {
        position: static;
        transform: none;
        background: transparent;
        box-shadow: none;
        border-radius: 0;
        padding: 8px 0 0;
        opacity: 1;
        visibility: visible;
        min-width: auto;
    }
    .global-nav .dropdown a,
    .global-nav .dropdown a:visited,
    #header.scrolled .global-nav .dropdown a,
    #header.scrolled .global-nav .dropdown a:visited {
        color: #ffffff !important;
        padding: 6px 0 !important;
        font-size: 0.85rem !important;
        background: transparent !important;
    }
    .global-nav .dropdown a:hover,
    .global-nav .dropdown a:visited:hover {
        background: transparent !important;
        color: var(--color-accent) !important;
    }
    .dropdown a::before {
        content: '\2014';
        margin-right: 8px;
        font-size: 0.75rem;
        color: var(--color-accent);
    }

    #news::before,
    #news::after {
        width: 150px;
        height: 1px;
        opacity: 0.15;
    }
    #news::before {
        top: 15px;
        right: -60px;
        box-shadow:
            0 30px 0 0 var(--color-accent),
            0 60px 0 0 var(--color-accent);
    }
    #news::after {
        bottom: 10px;
        left: -60px;
        box-shadow:
            0 -30px 0 0 var(--color-accent),
            0 -60px 0 0 var(--color-accent);
    }

    .hero-title {
        font-size: 8vw;
    }
    .about-content {
        flex-direction: column;
        text-align: center;
        gap: 50px;
    }
    /* スマホ: 1カラム */
    .works-list {
        grid-template-columns: 1fr;
    }
    .work-number {
        display: none;
    }
    .work-more {
        display: none;
    }
    .work-title {
        font-size: 1.3rem;
    }
    .work-info {
        padding: 20px;
    }
    .news-list a {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        padding: 25px 15px;
    }
    .news-list a:hover {
        transform: translateX(0);
    }
    .footer-inner {
        flex-direction: column;
        gap: 40px;
    }
    .contact-bg {
        background-attachment: scroll;
    }

    /* Single Article */
    .single-article {
        padding: 50px 0 80px;
    }
    .single-title {
        font-size: 1.4rem;
    }
    .single-content h2 {
        font-size: 1.3rem;
        padding: 15px 20px;
    }
    .single-content h3 {
        font-size: 1.15rem;
    }
    .single-footer {
        margin-top: 60px;
    }

    /* Archive */
    .archive-wrap {
        padding-top: calc(70px + 40px);
    }

    /* Sub Pages Common */
    .page-header {
        padding: 90px 0 25px;
    }
    .page-header-title {
        font-size: 1.6rem;
    }

    /* Company Page */
    .message-section,
    .philosophy-section,
    .profile-section {
        padding: 80px 0;
    }
    .section-title-wrap .section-title {
        font-size: 1.6rem;
    }
    .philosophy-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .profile-table th,
    .profile-table td {
        display: block;
        width: 100%;
        padding: 15px 10px;
    }
    .profile-table th {
        border-bottom: none;
        padding-bottom: 0;
        background-color: transparent;
        padding-top: 25px;
    }
    .profile-table td {
        border-bottom: 1px solid var(--color-border);
    }
    .profile-table tr:first-child th {
        border-top: none;
        padding-top: 25px;
    }
    .profile-table tr:first-child td {
        border-top: none;
    }
    .map-wrap {
        aspect-ratio: 4 / 3;
    }

    /* Contact Page (CF7) */
    .contact-form-section {
        padding: 60px 0 80px;
    }
    .CF7_table,
    .CF7_table tbody,
    .CF7_table tr,
    .CF7_table th,
    .CF7_table td {
        display: block;
    }
    .CF7_table tr {
        margin-bottom: 20px;
        border: none;
        background-color: #2a2a2a;
        border-radius: 6px;
        overflow: hidden;
    }
    .CF7_table th {
        width: 100%;
        padding-bottom: 10px;
        border-bottom: 1px solid #404040;
    }
    .CF7_table td {
        width: 100%;
        padding-top: 15px;
    }
    .CF7_btn input[type="submit"] {
        width: 100%;
        padding: 15px 20px;
    }

    /* News Archive Page */
    .news-archive-section {
        padding: 60px 0 80px;
    }
    .news-link {
        flex-direction: column;
        align-items: flex-start;
        padding: 30px 15px;
        gap: 15px;
    }
    .news-meta {
        width: 100%;
        gap: 20px;
    }
    .news-item-title {
        padding-right: 0;
        font-size: 1rem;
        line-height: 1.6;
    }
    .news-arrow {
        display: none;
    }
    .news-pagination {
        margin-top: 60px;
        gap: 8px;
    }
    .news-pagination .page-numbers {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }

    /* Recruit Page */
    .recruit-message-section {
        padding: 80px 0;
    }
    .catchphrase {
        font-size: 1.5rem;
        margin-bottom: 50px;
        line-height: 1.6;
    }
    .recruit-message-box {
        padding: 40px 25px;
    }
    .support-section {
        padding: 80px 0;
    }
    .support-title {
        font-size: 1.6rem;
    }
    .support-sub {
        font-size: 1rem;
    }
    .support-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        padding: 30px 25px;
    }
    .card-left,
    .card-right {
        width: 100%;
    }
    .card-title {
        font-size: 1.4rem;
    }

    /* Service Page */
    .intro-section {
        padding: 80px 0;
    }
    .intro-heading {
        font-size: 1.6rem;
        margin-bottom: 30px;
    }
    .split-item,
    .split-item:nth-child(even) {
        flex-direction: column;
        min-height: auto;
    }
    .split-img-wrap,
    .split-text-wrap {
        width: 100%;
    }
    .split-img-wrap {
        height: 300px;
    }
    .split-img {
        clip-path: inset(100% 0 0 0);
    }
    .split-item:nth-child(even) .split-img {
        clip-path: inset(100% 0 0 0);
    }
    .split-text-wrap {
        padding: 60px 5%;
    }
    .split-text-inner {
        max-width: 100%;
    }
    .split-text-inner .work-title {
        font-size: 1.8rem;
    }
}

@media screen and (min-width: 769px) and (max-width: 992px) {
    .support-card {
        padding: 40px 30px;
        gap: 30px;
    }
    .philosophy-grid {
        gap: 20px;
    }
    .philosophy-card {
        padding: 40px 20px;
    }
    .split-item,
    .split-item:nth-child(even) {
        flex-direction: column;
        min-height: auto;
    }
    .split-img-wrap,
    .split-text-wrap {
        width: 100%;
    }
    .split-img-wrap {
        height: 400px;
    }
    .split-img {
        clip-path: inset(100% 0 0 0);
    }
    .split-item:nth-child(even) .split-img {
        clip-path: inset(100% 0 0 0);
    }
    .split-text-wrap {
        padding: 60px 5%;
    }
    .split-text-inner {
        max-width: 100%;
    }
}
