/*
Theme Name: N-BLD Gateway Theme
Theme URI: https://n-bld.com/
Author: Antigravity AI
Description: Premium WordPress theme built on the N-BLD Gateway Architecture with Leica/Adobe Aesthetic (Minimalism, Precision, High-Contrast).
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: n-bld-gateway
*/

/* -------------------------------------------------------------------------
 * 1. Base Design System (Leica/Adobe Aesthetic)
 * ------------------------------------------------------------------------- */
:root {
    --brand-red: #D7000F;
    --pure-white: #FFFFFF;
    --grey-dark: #4A4A4A;
    --grey-light: #F2F2F2;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --container-width: 1400px;
    --tap-target-min: 44px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--pure-white);
    color: var(--grey-dark);
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    letter-spacing: -0.01em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--grey-dark);
    text-decoration: none;
    transition: color 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

a:hover {
    color: var(--brand-red);
}

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

/* -------------------------------------------------------------------------
 * 2. Asymmetric & Fluid Layout (Breathing Whitespace)
 * ------------------------------------------------------------------------- */
.n-bld-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 5vw;
}

.site-header {
    background-color: var(--pure-white);
    border-bottom: 1px solid var(--grey-light);
    height: 90px;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.site-header .n-bld-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-brand {
    font-weight: 800;
    font-size: 1.15rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.site-brand a {
    color: #000000;
}

/* Primary Navigation */
.site-nav {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.nav-link {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #888888;
    text-decoration: none;
    position: relative;
    padding-bottom: 2px;
    transition: color 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--brand-red);
    transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link:hover {
    color: #111111;
}

.nav-link:hover::after,
.nav-link--active::after {
    width: 100%;
}

.nav-link--active {
    color: #111111;
}

/* WordPress wp_nav_menu() が出力する ul/li/a 構造のスタイル */
.site-nav-list {
    display: flex;
    align-items: center;
    gap: 3rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-nav-list > li > a {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #888888;
    text-decoration: none;
    position: relative;
    padding-bottom: 2px;
    transition: color 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-nav-list > li > a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--brand-red);
    transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-nav-list > li > a:hover {
    color: #111111;
}

.site-nav-list > li > a:hover::after,
.site-nav-list > li.current-menu-item > a::after,
.site-nav-list > li.current_page_item > a::after,
.site-nav-list > li.current-menu-ancestor > a::after {
    width: 100%;
}

.site-nav-list > li.current-menu-item > a,
.site-nav-list > li.current_page_item > a,
.site-nav-list > li.current-menu-ancestor > a {
    color: #111111;
}

/* ---- ハンバーガーボタン ---- */
.nav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
}
.nav-hamburger-bar {
    display: block;
    width: 22px;
    height: 1.5px;
    background-color: #333333;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
    transform-origin: center;
}
.nav-hamburger.is-open .nav-hamburger-bar:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}
.nav-hamburger.is-open .nav-hamburger-bar:nth-child(2) {
    opacity: 0;
}
.nav-hamburger.is-open .nav-hamburger-bar:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}

/* ---- モバイルナビ ドロワー ---- */
.mobile-nav-drawer {
    display: none;
}
.mobile-nav-drawer.is-open {
    display: block;
}
.mobile-nav-backdrop {
    position: fixed;
    inset: 0;
    background-color: rgba(0,0,0,0.4);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    z-index: 8000;
    animation: fade-in 0.25s ease both;
}
.mobile-nav-panel {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(320px, 85vw);
    background-color: #ffffff;
    z-index: 8001;
    display: flex;
    flex-direction: column;
    padding: 6rem 2.5rem 3rem;
    animation: slide-in-right 0.35s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes fade-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes slide-in-right {
    from { transform: translateX(100%); }
    to   { transform: translateX(0); }
}
.mobile-nav-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 1.6rem;
    color: #999999;
    cursor: pointer;
    line-height: 1;
    padding: 0.25rem 0.5rem;
    transition: color 0.2s ease;
}
.mobile-nav-close:hover { color: #111111; }
.mobile-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}
.mobile-nav-list > li > a {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #333333;
    text-decoration: none;
    padding: 1.1rem 0;
    border-bottom: 1px solid #f0f0f0;
    transition: color 0.2s ease;
}
.mobile-nav-list > li > a:hover,
.mobile-nav-list > li.current-menu-item > a,
.mobile-nav-list > li.current_page_item > a {
    color: var(--brand-red);
}
.mobile-nav-footer {
    margin-top: auto;
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.mobile-vacancy-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.85rem 1.5rem;
    border: 1px solid rgba(0,0,0,0.15);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: #333333;
    text-decoration: none;
    background-color: transparent;
}
.mobile-pdf-link {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.4rem;
    padding: 0.75rem 1.5rem;
    border: 1px solid rgba(0,0,0,0.12);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: #555555;
    text-decoration: none;
}
.mobile-nav-footer .tenant-login-link {
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (max-width: 1024px) {
    .site-nav {
        display: none;
    }
    .nav-hamburger {
        display: flex;
    }
    /* ヘッダー右側のボタン類はドロワーに一本化 */
    .header-right > .vacancy-btn,
    .header-right > .tenant-login-link,
    .header-right .header-pdf-link {
        display: none;
    }
}

/* ---- 空室情報モーダル ---- */
.vacancy-modal {
    position: fixed;
    inset: 0;
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vacancy-modal[hidden] {
    display: none;
}

.vacancy-modal-backdrop {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.vacancy-modal-box {
    position: relative;
    z-index: 1;
    background-color: var(--pure-white);
    width: min(480px, 90vw);
    padding: 3.5rem;
    text-align: center;
    animation: modal-in 0.35s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes modal-in {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

.vacancy-modal-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: none;
    border: none;
    font-size: 1.4rem;
    color: #999999;
    cursor: pointer;
    line-height: 1;
    padding: 0.25rem 0.5rem;
    transition: color 0.2s ease;
}

.vacancy-modal-close:hover {
    color: #000000;
}

.vacancy-modal-eyebrow {
    display: block;
    font-family: monospace;
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--brand-red);
    margin-bottom: 1.75rem;
}

.vacancy-modal-message {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    font-weight: 700;
    color: #111111;
    letter-spacing: -0.02em;
    line-height: 1.4;
    margin: 0 0 1.25rem 0;
    font-family: 'Noto Sans JP', 'Inter', sans-serif;
}

.vacancy-modal-sub {
    font-size: 0.9rem;
    color: #888888;
    line-height: 1.8;
    margin: 0;
    font-weight: 300;
    font-family: 'Noto Sans JP', 'Inter', sans-serif;
}

/* Full-width page layout (e.g., interview) */
.main-content--full-width {
    padding: 0;
    min-height: calc(100vh - 90px);
}

/* Header Right ボタングループ */
.header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* 空室情報ボタン（将来システム連携予定） */
.vacancy-btn {
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--pure-white);
    background-color: var(--brand-red);
    border: 1px solid var(--brand-red);
    padding: 0.8rem 1.6rem;
    min-height: var(--tap-target-min);
    display: inline-flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: color 0.4s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.vacancy-btn::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: #000000;
    transform: translateY(101%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: -1;
}

.vacancy-btn:hover {
    color: var(--pure-white);
    border-color: #000000;
}

.vacancy-btn:hover::before {
    transform: translateY(0);
}

/* Premium Header Login CTA Link */
.tenant-login-link {
    font-weight: 500;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--grey-dark);
    border: 1px solid #E5E5E5;
    padding: 0.8rem 1.6rem;
    min-height: var(--tap-target-min);
    display: inline-flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: color 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.tenant-login-link::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: var(--brand-red);
    transform: translateY(101%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: -1;
}

.tenant-login-link:hover {
    color: var(--pure-white);
    border-color: var(--brand-red);
}

.tenant-login-link:hover::before {
    transform: translateY(0);
}

.main-content {
    padding: 2rem 0 8rem 0;
    min-height: calc(100vh - 180px);
}

.site-footer {
    background-color: var(--pure-white);
    border-top: 1px solid var(--grey-light);
    padding: 4rem 0;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    color: #999999;
}

.site-footer .n-bld-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

/* -------------------------------------------------------------------------
 * 3. Dynamic Typography & Contrast
 * ------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
    color: inherit;
    font-weight: 700;
    line-height: 1.05;
    margin-top: 0;
    margin-bottom: 2rem;
    letter-spacing: -0.03em;
}

h1 {
    font-size: clamp(2.8rem, 7vw, 6.5rem);
    font-weight: 800;
    letter-spacing: -0.05em;
    line-height: 0.95;
    text-transform: uppercase;
}

h2 {
    font-size: clamp(1.8rem, 4vw, 3rem);
    margin-top: 5rem;
    font-weight: 600;
    letter-spacing: -0.03em;
}

h3 {
    font-size: clamp(1.2rem, 2vw, 1.6rem);
    font-weight: 500;
    line-height: 1.2;
}

p {
    margin-bottom: 2rem;
}

/* Monospace Indicators (Leica tone) */
.section-indicator {
    font-family: monospace;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    color: var(--brand-red);
    text-transform: uppercase;
    display: block;
    margin-bottom: 1.5rem;
}

/* -------------------------------------------------------------------------
 * 4. Micro-interactions & Visual Effects
 * ------------------------------------------------------------------------- */

/* Premium Scroll Reveal Elements */
.reveal-el {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 1.4s cubic-bezier(0.16, 1, 0.3, 1), transform 1.4s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal-el.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }
.reveal-delay-4 { transition-delay: 0.6s; }

/* Immersive Visual Zoom Hover Container */
.zoom-image-container {
    overflow: hidden;
    position: relative;
    background-color: var(--grey-light);
    width: 100%;
}

.zoom-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.6s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

.zoom-image-container:hover img {
    transform: scale(1.05);
}

/* High-End Button style (is-style-high-end-btn) */
.wp-block-button.is-style-high-end-btn .wp-block-button__link {
    position: relative;
    overflow: hidden;
    background-color: transparent !important;
    color: var(--brand-red) !important;
    border: 1px solid var(--brand-red) !important;
    border-radius: 0;
    padding: 1.1rem 2.4rem;
    min-height: 48px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transition: color 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.wp-block-button.is-style-high-end-btn .wp-block-button__link::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: var(--brand-red);
    transform: translateY(101%);
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: -1;
}

.wp-block-button.is-style-high-end-btn .wp-block-button__link:hover,
.wp-block-button.is-style-high-end-btn .wp-block-button__link:focus {
    color: var(--pure-white) !important;
    outline: none;
}

.wp-block-button.is-style-high-end-btn .wp-block-button__link:hover::before,
.wp-block-button.is-style-high-end-btn .wp-block-button__link:focus::before {
    transform: translateY(0);
}

/* Minimal Quote block style (is-style-minimal-quote) */
.wp-block-quote.is-style-minimal-quote {
    border-left: 2px solid var(--brand-red) !important;
    background: none !important;
    padding: 0.5rem 0 0.5rem 2rem !important;
    margin: 4rem 0 !important;
}

.wp-block-quote.is-style-minimal-quote p {
    font-family: var(--font-sans);
    font-style: italic;
    font-size: clamp(1.2rem, 3vw, 1.6rem);
    color: var(--grey-dark);
    line-height: 1.5;
    font-weight: 300;
}

.wp-block-quote.is-style-minimal-quote cite {
    font-family: monospace;
    font-style: normal;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    color: #999999;
}

/* -------------------------------------------------------------------------
 * 5. Dynamic Portfolio Tabs & Grid (Asymmetric)
 * ------------------------------------------------------------------------- */
.n-bld-portfolio-tabs-container {
    margin: 4rem 0;
}

.n-bld-tabs-nav {
    display: flex;
    justify-content: flex-start;
    border-bottom: 1px solid var(--grey-light);
    margin-bottom: 4rem;
    gap: 4rem;
}

.n-bld-tab-btn {
    background: none;
    border: none;
    border-bottom: 1px solid transparent;
    padding: 1rem 0;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 600;
    color: #888888;
    letter-spacing: 0.15em;
    cursor: pointer;
    min-height: var(--tap-target-min);
    transition: color 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.n-bld-tab-btn:hover {
    color: #000000;
}

.n-bld-tab-btn.active {
    color: var(--brand-red);
    border-bottom: 1px solid var(--brand-red);
}

.n-bld-tabs-nav-mobile {
    display: none;
    margin-bottom: 3rem;
}

.n-bld-select-ui {
    width: 100%;
    min-height: 48px;
    border: 1px solid #E5E5E5;
    background-color: var(--pure-white);
    padding: 0 1.25rem;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--grey-dark);
    letter-spacing: 0.1em;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%234A4A4A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.25rem center;
    background-size: 1.1em;
    border-radius: 0;
    cursor: pointer;
}

.n-bld-select-ui:focus {
    outline: none;
    border-color: var(--brand-red);
}

.n-bld-tab-panel {
    display: none;
}

.n-bld-tab-panel.active {
    display: block;
}

/* Asymmetric 2-column Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6rem 4vw;
}

.portfolio-card {
    display: flex;
    flex-direction: column;
    background-color: transparent;
    text-align: left;
}

/* Asymmetric staggered heights for premium editorial look */
.portfolio-grid > .portfolio-card:nth-child(even) {
    transform: translateY(3rem);
}

.portfolio-card-image-wrap {
    aspect-ratio: 16 / 11;
    overflow: hidden;
    border: 1px solid var(--grey-light);
}

.portfolio-card-title {
    font-size: 1.35rem;
    font-weight: 600;
    margin-top: 1.75rem;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
    transition: color 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-card:hover .portfolio-card-title {
    color: var(--brand-red);
}

.portfolio-card-meta {
    font-size: 0.75rem;
    font-family: monospace;
    letter-spacing: 0.1em;
    color: #999999;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.portfolio-card-link {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--brand-red);
    margin-top: 1rem;
    display: inline-flex;
    align-items: center;
}

/* -------------------------------------------------------------------------
 * 6. Dynamic Conversion CTA Section
 * ------------------------------------------------------------------------- */
.conversion-cta-block {
    margin: 8rem 0;
    padding: 4rem;
    background-color: var(--pure-white);
    border: 1px solid var(--grey-light);
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: flex-start;
}

.conversion-cta-title {
    font-size: 0.8rem;
    font-family: monospace;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--brand-red);
}

.conversion-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    width: 100%;
}

.n-bld-cta-btn {
    background-color: var(--brand-red);
    color: var(--pure-white);
    padding: 1.1rem 2.5rem;
    min-height: 50px;
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border: 1px solid var(--brand-red);
    border-radius: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.n-bld-cta-btn::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: #000000;
    transform: translateY(101%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: -1;
}

.n-bld-cta-btn:hover {
    color: var(--pure-white);
    border-color: #000000;
}

.n-bld-cta-btn:hover::before {
    transform: translateY(0);
}

/* -------------------------------------------------------------------------
 * 7. Single Template Layouts
 * ------------------------------------------------------------------------- */
.portfolio-detail-header {
    margin-bottom: 5rem;
}

.portfolio-status-tag {
    display: inline-block;
    padding: 0.4rem 1rem;
    font-size: 0.7rem;
    font-family: monospace;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    background-color: var(--grey-light);
    color: var(--grey-dark);
    border-radius: 0;
}

.portfolio-status-tag.available {
    background-color: var(--brand-red);
    color: var(--pure-white);
}

/* Executive Interview template details */
.interview-article {
    max-width: 900px;
    margin: 0 auto;
}

.interview-header {
    margin-bottom: 6rem;
    text-align: center;
}

.interview-section {
    margin-bottom: 6rem;
}

.interview-section h2 {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    margin-top: 0;
    border-bottom: 1px solid var(--grey-light);
    padding-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.interview-section .section-body {
    font-size: 1.15rem;
    line-height: 1.85;
    color: var(--grey-dark);
    font-weight: 300;
}

/* -------------------------------------------------------------------------
 * 8. Responsive Media Queries
 * ------------------------------------------------------------------------- */
@media (max-width: 992px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    .portfolio-grid > .portfolio-card:nth-child(even) {
        transform: translateY(0);
    }
    .main-content {
        padding-bottom: 5rem;
    }
}

@media (max-width: 768px) {
    .site-header {
        height: 70px;
    }
    .site-header .n-bld-container {
        padding: 0 1.5rem;
    }
    .main-content {
        padding-top: 1rem;
    }
    .n-bld-tabs-nav {
        display: none;
    }
    .n-bld-tabs-nav-mobile {
        display: block;
    }
    .conversion-cta-block {
        padding: 2.5rem 1.5rem;
        margin: 5rem 0;
    }
    .conversion-cta-buttons {
        flex-direction: column;
    }
    .n-bld-cta-btn {
        width: 100%;
    }
    .ob-hero,
    .rc-hero,
    .ct-hero,
    .fp-hero {
        background-attachment: scroll;
        height: 70vh;
    }
}

/* -------------------------------------------------------------------------
 * 9. Logo
 * ------------------------------------------------------------------------- */
.site-brand a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.site-brand .custom-logo {
    height: 40px;
    width: auto;
    display: block;
}

.site-brand .custom-logo-link {
    display: flex;
    align-items: center;
}

.site-brand-text {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #111111;
}

/* -------------------------------------------------------------------------
 * 10. Our Buildings Page
 * ------------------------------------------------------------------------- */
.ob-hero {
    position: relative;
    height: 88vh;
    min-height: 560px;
    background: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?q=80&w=2070&auto=format&fit=crop') no-repeat center center / cover;
    background-attachment: fixed;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    color: var(--pure-white);
    margin-bottom: 6rem;
}
.ob-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.18) 55%, transparent 100%);
}
.ob-hero-content {
    position: relative;
    z-index: 2;
    padding: 0 5vw 7vw;
    max-width: 1400px;
    width: 100%;
}

.ob-hero-eyebrow {
    font-family: monospace;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--brand-red);
    margin: 0 0 2rem;
}

.ob-hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin: 0 0 2rem;
}

.ob-hero-sub {
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.9;
    color: rgba(255,255,255,0.6);
    margin: 0;
    max-width: 560px;
}

.ob-portfolio {
    padding-bottom: 8rem;
}

/* -------------------------------------------------------------------------
 * 11. Portfolio Detail Page
 * ------------------------------------------------------------------------- */
.portfolio-detail {
    padding-top: 5rem;
    padding-bottom: 8rem;
}

.pd-header {
    margin-bottom: 4rem;
}

.pd-header-meta {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.pd-property-id {
    font-family: monospace;
    font-size: 0.75rem;
    color: #999999;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.pd-title {
    font-size: clamp(2.5rem, 6.5vw, 5rem);
    font-weight: 800;
    line-height: 1.0;
    letter-spacing: -0.04em;
    margin: 0 0 1rem;
}

.pd-address {
    font-size: 0.9rem;
    color: #888888;
    font-weight: 300;
    margin: 0;
    letter-spacing: 0.03em;
}

.pd-image {
    margin-bottom: 5rem;
    border: 1px solid var(--grey-light);
    aspect-ratio: 16 / 9;
    overflow: hidden;
    width: 100%;
}

.pd-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem 5rem;
    margin-bottom: 5rem;
    align-items: start;
}

.pd-description {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--grey-dark);
    font-weight: 300;
}

/* Specs Table */
.pd-specs-title,
.pd-map-title {
    font-family: monospace;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--brand-red);
    margin: 0 0 1.25rem;
}

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

.pd-specs-table tr {
    border-bottom: 1px solid var(--grey-light);
}

.pd-specs-table tr:first-child {
    border-top: 1px solid var(--grey-light);
}

.pd-specs-table th {
    width: 38%;
    padding: 0.9rem 1rem 0.9rem 0;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: #888888;
    text-align: left;
    vertical-align: top;
    white-space: nowrap;
}

.pd-specs-table td {
    padding: 0.9rem 0;
    font-size: 0.9rem;
    font-weight: 400;
    color: #333333;
    line-height: 1.65;
}

/* Map */
.pd-map {
    margin-bottom: 5rem;
}

.pd-map-embed {
    width: 100%;
    aspect-ratio: 16 / 7;
    overflow: hidden;
    border: 1px solid var(--grey-light);
}

.pd-map-embed iframe {
    width: 100%;
    height: 100%;
    display: block;
}

.pd-cta {
    margin-top: 2rem;
}

@media (max-width: 860px) {
    .pd-body {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .pd-map-embed {
        aspect-ratio: 4 / 3;
    }
}

/* -------------------------------------------------------------------------
 * 12. Portfolio Slider (front page)
 * ------------------------------------------------------------------------- */
.ps-wrap {
    position: relative;
}

/* Tab filter */
.ps-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--grey-light);
}
.ps-tab {
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    padding: 0.6rem 1.4rem;
    font-family: monospace;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #aaaaaa;
    cursor: pointer;
    margin-bottom: -1px;
    transition: color 0.2s ease, border-color 0.2s ease;
}
.ps-tab:hover {
    color: #333333;
}
.ps-tab.is-active {
    color: var(--brand-red);
    border-bottom-color: var(--brand-red);
}

/* Controls row */
.ps-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.ps-count-label {
    font-family: monospace;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: #999999;
}

.ps-arrows {
    display: flex;
    gap: 0.5rem;
}

.ps-arrow {
    width: 44px;
    height: 44px;
    border: 1px solid #D8D8D8;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #333333;
    transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
    border-radius: 0;
    padding: 0;
}

.ps-arrow:hover:not(:disabled) {
    border-color: #111111;
    background-color: #111111;
    color: #ffffff;
}

.ps-arrow:disabled {
    opacity: 0.3;
    cursor: default;
}

/* Track */
.ps-track-outer {
    overflow: hidden;
}

.ps-track {
    display: flex;
    gap: 2.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 4px; /* prevent clipping of box-shadow */
}

.ps-track::-webkit-scrollbar {
    display: none;
}

/* Slides */
.ps-slide {
    flex: 0 0 calc(33.333% - 1.67rem);
    scroll-snap-align: start;
    min-width: 280px;
}

.ps-card {
    display: block;
    text-decoration: none;
    color: inherit;
}

.ps-card-image {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border: 1px solid var(--grey-light);
    position: relative;
    background-color: var(--grey-light);
}

.ps-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ps-card-no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: monospace;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    color: #cccccc;
}

.ps-card-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: var(--brand-red);
    color: #ffffff;
    font-family: monospace;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.3rem 0.65rem;
}

.ps-card-body {
    padding: 1.25rem 0 0;
}

.ps-card-meta {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.6rem;
}

.ps-card-num {
    font-family: monospace;
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--brand-red);
    letter-spacing: 0.1em;
}

.ps-card-area,
.ps-card-year {
    font-family: monospace;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #aaaaaa;
}

.ps-card-area::before,
.ps-card-year::before {
    content: '·';
    margin-right: 0.4rem;
    color: #dddddd;
}

.ps-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin: 0 0 0.4rem;
    transition: color 0.25s ease;
    line-height: 1.35;
}

.ps-card:hover .ps-card-title {
    color: var(--brand-red);
}

.ps-card-address {
    font-size: 0.78rem;
    color: #999999;
    font-weight: 300;
    margin: 0 0 0.75rem;
    line-height: 1.5;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ps-card-link {
    font-family: monospace;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--brand-red);
    text-transform: uppercase;
}

/* Footer link */
.ps-footer {
    margin-top: 3rem;
    display: flex;
    justify-content: flex-end;
}

.ps-view-all {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: monospace;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #333333;
    text-decoration: none;
    padding-bottom: 2px;
    border-bottom: 1px solid currentColor;
    transition: color 0.2s ease;
}

.ps-view-all:hover {
    color: var(--brand-red);
}

@media (max-width: 900px) {
    .ps-slide {
        flex: 0 0 calc(50% - 1.25rem);
    }
}

@media (max-width: 600px) {
    .ps-slide {
        flex: 0 0 85%;
    }
    .ps-track {
        gap: 1.25rem;
    }
}

/* -------------------------------------------------------------------------
 * 13. Recruit Page
 * ------------------------------------------------------------------------- */
.rc-hero {
    position: relative;
    height: 88vh;
    min-height: 560px;
    background: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?q=80&w=2070&auto=format&fit=crop') no-repeat center center / cover;
    background-attachment: fixed;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    color: var(--pure-white);
}
.rc-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.18) 55%, transparent 100%);
}
.rc-hero-content {
    position: relative;
    z-index: 2;
    padding: 0 5vw 7vw;
    max-width: 1400px;
    width: 100%;
}

.rc-hero-eyebrow {
    font-family: monospace;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--brand-red);
    margin: 0 0 2rem;
}

.rc-hero-title {
    font-size: clamp(3rem, 6vw, 5.5rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin: 0 0 2rem;
}

.rc-hero-sub {
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.9;
    color: rgba(255,255,255,0.55);
    margin: 0;
    max-width: 580px;
}

/* Section common */
.rc-section-eyebrow {
    font-family: monospace;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--brand-red);
    margin: 0 0 1rem;
}

.rc-section-title {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0 0 3rem;
}

/* Values */
.rc-values {
    padding: 7rem 0;
    border-bottom: 1px solid var(--grey-light);
}

.rc-values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem 4rem;
}

.rc-value-item {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.rc-value-num {
    font-family: monospace;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--brand-red);
}

.rc-value-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: -0.01em;
}

.rc-value-body {
    font-size: 0.9rem;
    line-height: 1.85;
    color: var(--grey-dark);
    font-weight: 300;
    margin: 0;
}

/* Job listings */
.rc-jobs {
    padding: 7rem 0;
    border-bottom: 1px solid var(--grey-light);
}

/* 求める人材 */
.rc-ideal {
    padding: 7rem 0;
    border-top: 1px solid var(--grey-light);
}
.rc-ideal-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 3rem;
}
.rc-ideal-item {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 2rem;
    align-items: start;
    padding: 2.5rem 0;
    border-bottom: 1px solid var(--grey-light);
}
.rc-ideal-num {
    font-family: monospace;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--brand-red);
    letter-spacing: 0.1em;
    padding-top: 0.25rem;
}
.rc-ideal-title {
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: 600;
    letter-spacing: -0.01em;
    margin: 0 0 0.6rem;
}
.rc-ideal-desc {
    font-size: 0.9rem;
    line-height: 1.8;
    color: var(--grey-dark);
    font-weight: 300;
    margin: 0;
}

/* 募集要項 */
.rc-openings {
    padding: 7rem 0;
    border-top: 1px solid var(--grey-light);
}
.rc-job-card {
    border: 1px solid var(--grey-light);
    margin-top: 2.5rem;
    padding: 2.5rem;
}
.rc-job-title {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0 0 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--grey-light);
}
.rc-job-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}
.rc-job-table th,
.rc-job-table td {
    padding: 0.9rem 1rem;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid #f0f0f0;
    line-height: 1.7;
}
.rc-job-table th {
    width: 120px;
    font-weight: 600;
    font-size: 0.8rem;
    color: #555;
    white-space: nowrap;
}
.rc-no-jobs {
    text-align: center;
    padding: 5rem 2rem;
    border: 1px dashed var(--grey-light);
    margin-top: 2.5rem;
}
.rc-no-jobs-icon {
    font-size: 1.5rem;
    color: var(--grey-light);
    margin: 0 0 1.5rem;
    letter-spacing: 0.5em;
}
.rc-no-jobs-main {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin: 0 0 0.75rem;
}
.rc-no-jobs-sub {
    font-size: 0.85rem;
    color: #999;
    line-height: 1.8;
    margin: 0;
}

@media (max-width: 768px) {
    .rc-job-table th { width: 90px; }
    .rc-job-card { padding: 1.5rem; }
}

.rc-jobs-content {
    max-width: 860px;
}

.rc-jobs-content p,
.rc-jobs-content li {
    font-size: 0.95rem;
    line-height: 1.85;
    color: var(--grey-dark);
    font-weight: 300;
}

.rc-jobs-content h2,
.rc-jobs-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-top: 2.5rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--grey-light);
    letter-spacing: -0.01em;
}

.rc-jobs-content h2:first-child,
.rc-jobs-content h3:first-child {
    margin-top: 0;
}

/* CTA */
.rc-cta {
    background-color: #111111;
    padding: 7rem 0;
}

.rc-cta-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 3rem 5rem;
    align-items: center;
}

.rc-cta .rc-section-eyebrow {
    color: rgba(255,255,255,0.4);
}

.rc-cta-title {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 700;
    color: var(--pure-white);
    letter-spacing: -0.02em;
    margin: 0 0 1.25rem;
    line-height: 1.3;
}

.rc-cta-body {
    font-size: 0.9rem;
    line-height: 1.85;
    color: rgba(255,255,255,0.5);
    font-weight: 300;
    margin: 0;
}

.rc-cta-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-width: 220px;
}

.rc-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-decoration: none;
    text-align: center;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.rc-cta-btn--primary {
    background-color: var(--brand-red);
    color: var(--pure-white);
    border: 1px solid var(--brand-red);
}

.rc-cta-btn--primary:hover {
    background-color: #ffffff;
    color: var(--brand-red);
    border-color: #ffffff;
}

.rc-cta-btn--outline {
    background-color: transparent;
    color: rgba(255,255,255,0.7);
    border: 1px solid rgba(255,255,255,0.2);
    font-family: monospace;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
}

.rc-cta-btn--outline:hover {
    border-color: rgba(255,255,255,0.6);
    color: var(--pure-white);
}

@media (max-width: 860px) {
    .rc-values-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .rc-cta-inner {
        grid-template-columns: 1fr;
    }
}

/* -------------------------------------------------------------------------
 * 13. Privacy Policy Page
 * ------------------------------------------------------------------------- */
.pp-wrap {
    max-width: 820px;
    margin: 0 auto;
    padding: 6rem 0 8rem;
}

.pp-header {
    margin-bottom: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--grey-light);
}

.pp-eyebrow {
    font-family: monospace;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--brand-red);
    margin: 0 0 1.25rem;
}

.pp-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0 0 0.75rem;
}

.pp-updated {
    font-size: 0.8rem;
    color: #999999;
    font-family: monospace;
    margin: 0;
    letter-spacing: 0.05em;
}

.pp-lead {
    font-size: 0.95rem;
    line-height: 1.9;
    color: var(--grey-dark);
    font-weight: 300;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--grey-light);
}

.pp-section {
    margin-bottom: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid var(--grey-light);
}

.pp-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.pp-h2 {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    margin: 0 0 1rem;
    color: #111111;
}

.pp-body p {
    font-size: 0.92rem;
    line-height: 1.9;
    color: var(--grey-dark);
    font-weight: 300;
    margin: 0 0 1rem;
}

.pp-body p:last-child {
    margin-bottom: 0;
}

.pp-body a {
    color: var(--brand-red);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.pp-body a:hover {
    text-decoration: none;
}

.pp-list {
    list-style: none;
    margin: 0.5rem 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.pp-list li {
    font-size: 0.92rem;
    line-height: 1.75;
    color: var(--grey-dark);
    font-weight: 300;
    padding-left: 1.25rem;
    position: relative;
}

.pp-list li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--brand-red);
    font-size: 0.8rem;
}

.pp-section--contact .pp-contact-box {
    background-color: var(--grey-light);
    padding: 2rem 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.pp-contact-company {
    font-weight: 600;
    font-size: 0.95rem;
    color: #111111;
    margin-bottom: 0.25rem !important;
}

.pp-contact-link {
    display: inline-block;
    margin-top: 0.5rem;
    font-weight: 600;
    font-size: 0.85rem;
}

/* -------------------------------------------------------------------------
 * 14. Contact Page
 * ------------------------------------------------------------------------- */
.ct-hero {
    position: relative;
    height: 88vh;
    min-height: 560px;
    background: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?q=80&w=2070&auto=format&fit=crop') no-repeat center center / cover;
    background-attachment: fixed;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    color: var(--pure-white);
    margin-bottom: 0;
}
.ct-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.18) 55%, transparent 100%);
}
.ct-hero-content {
    position: relative;
    z-index: 2;
    padding: 0 5vw 7vw;
    max-width: 1400px;
    width: 100%;
}

.ct-hero-eyebrow {
    font-family: monospace;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--brand-red);
    margin: 0 0 1.5rem;
}

.ct-hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0 0 1rem;
    line-height: 1;
}

.ct-hero-sub {
    font-size: 1rem;
    font-weight: 300;
    color: rgba(255,255,255,0.5);
    margin: 0;
    letter-spacing: 0.1em;
}

.ct-section {
    padding: 7rem 0 8rem;
}

.ct-inner {
    max-width: 720px;
}

.ct-lead {
    margin-bottom: 3.5rem;
    font-size: 0.95rem;
    line-height: 1.85;
    color: var(--grey-dark);
    font-weight: 300;
}

.ct-required-note {
    margin-top: 1rem;
    font-size: 0.8rem;
    color: #999999;
}

.ct-required {
    color: var(--brand-red);
    font-weight: 700;
}

.ct-alert {
    background-color: #fff0f0;
    border-left: 3px solid var(--brand-red);
    padding: 1rem 1.5rem;
    font-size: 0.9rem;
    color: var(--brand-red);
    margin-bottom: 2.5rem;
}

.ct-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.ct-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.ct-field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.ct-label {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #333333;
    font-family: monospace;
}

.ct-input,
.ct-textarea {
    width: 100%;
    border: 1px solid #D8D8D8;
    border-radius: 0;
    padding: 0.9rem 1rem;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: #111111;
    background-color: var(--pure-white);
    transition: border-color 0.25s ease;
    appearance: none;
}

.ct-input:focus,
.ct-textarea:focus {
    outline: none;
    border-color: #111111;
}

.ct-field--error .ct-input,
.ct-field--error .ct-textarea {
    border-color: var(--brand-red);
}

.ct-error-msg {
    font-size: 0.78rem;
    color: var(--brand-red);
    margin: 0;
}

.ct-textarea {
    resize: vertical;
    min-height: 150px;
    line-height: 1.7;
}

.ct-submit-wrap {
    padding-top: 1rem;
}

.ct-submit-btn {
    background-color: var(--brand-red);
    color: var(--pure-white);
    border: none;
    padding: 1.1rem 4rem;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 0;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: color 0.35s ease;
}

.ct-submit-btn::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: #111111;
    transform: translateY(101%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: -1;
}

.ct-submit-btn:hover::before {
    transform: translateY(0);
}

.ct-success {
    text-align: center;
    padding: 5rem 2rem;
}

.ct-success-icon {
    font-size: 3rem;
    color: var(--brand-red);
    margin-bottom: 1.5rem;
}

.ct-success h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.ct-success p {
    font-size: 1rem;
    line-height: 1.85;
    color: var(--grey-dark);
    font-weight: 300;
}

.ct-back-btn {
    display: inline-block;
    margin-top: 2rem;
    padding: 0.9rem 2.5rem;
    background-color: #111111;
    color: var(--pure-white);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.ct-back-btn:hover {
    background-color: var(--brand-red);
}

@media (max-width: 600px) {
    .ct-field-row {
        grid-template-columns: 1fr;
    }
    .ct-submit-btn {
        width: 100%;
    }
}

/* -------------------------------------------------------------------------
 * 12. Footer
 * ------------------------------------------------------------------------- */
.site-footer {
    background-color: #111111;
    color: rgba(255,255,255,0.55);
    padding: 4rem 0 0;
    font-size: 0.8rem;
    font-family: var(--font-sans);
}

/* Two-office row */
.footer-offices {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-office {
    padding: 3rem 3rem 3rem 0;
    border-right: 1px solid rgba(255,255,255,0.08);
}

.footer-office:last-child {
    border-right: none;
    padding-left: 3rem;
    padding-right: 0;
}

.footer-office-label {
    font-family: monospace;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--brand-red);
    margin: 0 0 0.6rem;
}

.footer-office-name {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--pure-white);
    margin: 0 0 0.75rem;
    line-height: 1.5;
}

.footer-office-address {
    font-size: 0.78rem;
    line-height: 1.85;
    color: rgba(255,255,255,0.5);
    margin: 0 0 1rem;
}

.footer-office-contacts {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.footer-office-contacts li {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.6);
}

.footer-office-contacts li a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-office-contacts li a:hover {
    color: var(--pure-white);
}

.footer-ct-type {
    font-family: monospace;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.28);
    min-width: 2.8rem;
}

/* LINE */
.footer-line-item {
    margin-top: 0.2rem;
}

.footer-line-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: #06C755 !important;
    font-weight: 600;
    font-size: 0.82rem;
    text-decoration: none;
}

.footer-line-link:hover {
    color: #04a344 !important;
}

.footer-line-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* License */
.footer-license {
    font-family: monospace;
    font-size: 0.62rem;
    color: rgba(255,255,255,0.28);
    letter-spacing: 0.04em;
    margin: 1rem 0 0;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255,255,255,0.07);
}

/* Bottom bar */
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-bottom-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-legal-link {
    font-family: monospace;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.35);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-legal-link:hover {
    color: rgba(255,255,255,0.7);
}

.footer-copy {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.25);
    letter-spacing: 0.05em;
}

/* PDF button */
.footer-pdf-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.5);
    font-family: monospace;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    transition: border-color 0.25s ease, color 0.25s ease, background-color 0.25s ease;
    white-space: nowrap;
}

.footer-pdf-btn:hover {
    border-color: var(--brand-red);
    color: var(--pure-white);
    background-color: var(--brand-red);
}

/* Header PDF link */
.header-pdf-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-family: monospace;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--grey-dark);
    text-decoration: none;
    padding: 0.45rem 0.75rem;
    border: 1px solid rgba(0,0,0,0.15);
    transition: border-color 0.25s ease, color 0.25s ease;
}

.header-pdf-link:hover {
    border-color: var(--brand-red);
    color: var(--brand-red);
}

@media (max-width: 720px) {
    .footer-offices {
        grid-template-columns: 1fr;
    }
    .footer-office {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.08);
        padding: 2.5rem 0;
    }
    .footer-office:last-child {
        padding-left: 0;
        border-bottom: none;
    }
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
}

/* -------------------------------------------------------------------------
 * 15. Front Page Hero
 * ------------------------------------------------------------------------- */
.fp-hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?q=80&w=2070&auto=format&fit=crop') no-repeat center center / cover;
    background-attachment: fixed;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    color: var(--pure-white);
    margin-bottom: 0;
}
.fp-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.18) 50%, transparent 100%);
}
.fp-hero-content {
    position: relative;
    z-index: 2;
    padding: 0 5vw 8vw;
    max-width: 1400px;
    width: 100%;
}
.fp-hero .section-indicator {
    color: var(--brand-red);
}
.fp-hero .hero-title {
    font-size: clamp(2.5rem, 5.5vw, 4.5rem);
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--pure-white);
    margin: 1rem 0 2rem;
}
.fp-hero .hero-subtitle {
    font-size: 1.1rem;
    font-weight: 300;
    color: rgba(255,255,255,0.65);
    line-height: 1.6;
    max-width: 500px;
}

/* -------------------------------------------------------------------------
 * Print Styles
 * ------------------------------------------------------------------------- */
@media print {
    /* 背景画像・背景色を強制的に印刷 */
    * {
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    /* スクロールアニメーション要素を表示状態にリセット */
    .reveal-el,
    .interview-section {
        opacity: 1 !important;
        transform: none !important;
    }

    /* background-attachment: fixed は印刷時に機能しないため scroll に変更 */
    .fp-hero,
    .interview-hero,
    .oc-hero {
        background-attachment: scroll !important;
    }

    /* ヘッダー・フッター・ナビ・CTAボタンを非表示 */
    .site-header,
    .site-footer,
    .oc-page-nav,
    .dynamic-conversion-buttons,
    .dcb-wrapper {
        display: none !important;
    }

    /* ページ余白設定 */
    @page {
        margin: 15mm 12mm;
    }

    /* リンクのURL表示を抑制 */
    a[href]::after {
        content: none !important;
    }
}
