/* ============================================
   Borrower Page — Custom Styles
   ============================================
   Styles for the "TO BORROWER" page
   (オフィスをお探しの方へ)
   ============================================ */

/* --- Global Variables & Shared Classes --- */

/* ============================================
   ARZ — Global CSS Custom Properties
   ============================================
   Single source of truth for all typography,
   colors, and spacing. Imported by all page CSS.
   Change values here → applies everywhere.
   ============================================ */

:root {
    /* Colors */
    --color-primary: #a39575;
    --color-dark: #121212;
    --color-muted: #606068;
    --color-gray-bg: #afafb9;
    --color-border: #e7e9ee;
    --color-white: #ffffff;
    --color-text-light: #e5e5e5;
    --color-gold: #b09868;
    --color-gold-muted: #a39575;

    --font-ja: "Meiryo", "メイリオ", sans-serif;
    --font-heading: "Yu Mincho", "YuMincho", "游明朝", "Hiragino Mincho ProN", "Noto Serif JP", serif;

    /* Layout */
    --container-max: 1094px;
    --header-height: 5.5rem; /* 88px */
    --section-padding-y: 80px;
    --section-padding-y-mobile: 50px;

    /* Transitions */
    --transition-base: all 0.15s ease-in-out;
    --transition-smooth: all 0.5s ease;

    /* ============================================
     Typography Scale (from PSD Design)
     ============================================ */

    /* Navigation */
    --nav-font-size: 11px;
    --nav-letter-spacing: 0;
    --nav-gap: 12px;

    @media (min-width: 1280px) {
        --nav-font-size: 13px;
        --nav-gap: 24px;
    }

    @media (min-width: 1536px) {
        --nav-font-size: 14px;
        --nav-gap: 40px;
    }

    /* Hero Title: 空間の次元を上げる「作り手の圧倒的な思い」 */
    --hero-title-size: 72px;
    --hero-title-size-mobile: 28px;
    --hero-title-tracking: var(--tracking-wide);
    --hero-title-leading: var(--leading-tight);

    /* Hero Description: 一棟の再生を通じて... */
    --hero-desc-size: 40px;
    --hero-desc-size-mobile: 14px;
    --hero-desc-tracking: var(--tracking-base);
    --hero-desc-leading: var(--leading-tight);

    /* Concept Title: 資産価値を凌駕させる「究極のこだわり」 */
    --concept-title-size: 45px;
    --concept-title-size-mobile: 20px;
    --concept-title-tracking: var(--tracking-base);
    --concept-title-leading: var(--leading-tight);

    /* Concept Body: その土地が持つ真の... */
    --concept-body-size: 22px;
    --concept-body-size-mobile: 13px;
    --concept-body-tracking: var(--tracking-base);
    --concept-body-leading: var(--leading-loose); /* 49px / 22px ≈ 2.23 */

    /* Section Titles (PICKUP, NEWS, GALLERY, SPEC...) */
    --section-title-size: 40px;
    --section-title-size-mobile: 28px;
    --section-title-ja-size: 18px;
    --section-title-ja-size-mobile: 14px;
    --section-title-tracking: var(--tracking-wider);
    --section-title-ja-tracking: var(--tracking-widest);

    /* Page Header Titles (sub-pages: property, borrower, owner, contact) */
    --page-title-size: 40px;
    --page-title-size-mobile: 28px;
    --page-title-ja-size: 18px;
    --page-title-ja-size-mobile: 14px;

    /* Property Cards */
    --card-title-size: 25px;
    --card-title-size-mobile: 16px;
    --card-address-size: 19px;
    --card-address-size-mobile: 12px;
    --card-price-size: 24px;
    --card-price-size-mobile: 16px;

    /* Buttons (すべての物件をみる etc.) */
    --btn-font-size: 18px;
    --btn-font-size-mobile: 14px;

    /* News Content */
    --news-content-size: 18px;
    --news-content-size-mobile: 14px;

    /* Body Text */
    --body-font-size: 14px;
    --body-font-size-mobile: 13px;
    --body-line-height: var(--leading-normal);
    --body-letter-spacing: var(--tracking-base);

    /* Global Letter Spacing (Tracking) */
    --tracking-base: 0.04em;
    --tracking-wide: 0.1em;
    --tracking-wider: 0.16em;
    --tracking-widest: 0.22em;

    /* Global Line Height (Leading) */
    --leading-tight: 1.2; /* Headings, titles, compact text */
    --leading-normal: 1.6; /* Body text, general content */
    --leading-relaxed: 2; /* Spacious descriptions */
    --leading-loose: 2.23; /* Concept body (49px / 22px) */

    /* Breadcrumb */
    --breadcrumb-size: 12px;
    --breadcrumb-size-mobile: 11px;

    /* Footer */
    --footer-nav-size: 16px;
    --footer-nav-size-mobile: 13px;
    --footer-info-size: 16px;
    --footer-info-size-mobile: 13px;
    --footer-heading-size: 16px;
    --footer-heading-size-mobile: 13px;
    --footer-copyright-size: 14px;
    --footer-copyright-size-mobile: 11px;
}

@media (max-width: 767px) {
    :root {
        --header-height: 3.75rem; /* 60px */
        --section-padding-y: var(--section-padding-y-mobile);

        /* Mobile typography overrides */
        --hero-title-size: var(--hero-title-size-mobile);
        --hero-desc-size: var(--hero-desc-size-mobile);
        --concept-title-size: var(--concept-title-size-mobile);
        --concept-body-size: var(--concept-body-size-mobile);
        --section-title-size: var(--section-title-size-mobile);
        --section-title-ja-size: var(--section-title-ja-size-mobile);
        --page-title-size: var(--page-title-size-mobile);
        --page-title-ja-size: var(--page-title-ja-size-mobile);
        --card-title-size: var(--card-title-size-mobile);
        --card-address-size: var(--card-address-size-mobile);
        --card-price-size: var(--card-price-size-mobile);
        --btn-font-size: var(--btn-font-size-mobile);
        --news-content-size: var(--news-content-size-mobile);
        --body-font-size: var(--body-font-size-mobile);
        --breadcrumb-size: var(--breadcrumb-size-mobile);
        --footer-nav-size: var(--footer-nav-size-mobile);
        --footer-info-size: var(--footer-info-size-mobile);
        --footer-heading-size: var(--footer-heading-size-mobile);
        --footer-copyright-size: var(--footer-copyright-size-mobile);
    }
}

/* --- Section Title Classes (shared across all pages) --- */

.section-title-en {
    color: var(--color-text-light);
    font-size: var(--section-title-size);
    font-weight: 400;
    letter-spacing: var(--section-title-tracking);
    font-family: var(--font-heading);
}

.section-title-ja {
    font-size: var(--section-title-ja-size);
    font-weight: 400;
    letter-spacing: var(--section-title-ja-tracking);
    display: block;
    margin-top: 10px;
    color: var(--color-gold-muted);
}

/* --- Section Titles (Dark Variant) --- */

.section-title-en--dark {
    color: var(--color-text-light);
}

.section-title-ja--dark {
    color: var(--color-gold-muted);
}

/* --- Page Header --- */

.borrower-header {
    margin: 0;
    padding: 0;
}

.borrower-header__inner {
    padding-top: var(--section-padding-y);
    padding-bottom: var(--section-padding-y);
}

.borrower-header__content {
    color: #e5e5e5;
    text-align: center;
    margin: 0;
    display: inline-block;
    width: 100%;
}

.borrower-header .section-title-en {
    color: var(--color-gold-muted);
}

@media screen and (max-width: 767px) {
    .borrower-header {
        padding-top: 25px;
    }

    .borrower-header__inner {
        padding-top: 60px;
        padding-bottom: 60px;
    }
}

/* --- Content Area --- */

.borrower-content {
    padding-left: 60px;
    padding-right: 60px;
    position: relative;
    padding-bottom: var(--section-padding-y);
}

.borrower-content__inner {
    max-width: 960px;
    margin: 0 auto;
}

.borrower-content__wrap {
    background: #2d2b27;
}

/* Upper Section */

.borrower-content__upper {
    padding: var(--section-padding-y) 60px 80px;
    text-align: center;
}

.borrower-content__heading {
    display: block;
    text-align: center;
    margin: 0;
}

.borrower-content__heading span {
    display: inline-block;
    color: var(--color-gold-muted);
    font-size: 19px;
    font-weight: 400;
    letter-spacing: var(--section-title-ja-tracking);
    padding-bottom: 10px;
    border-bottom: 1px solid var(--color-gold-muted);
}

.borrower-content__desc {
    margin: 30px auto 0;
    max-width: 520px;
    text-align: center;
    font-size: 18px;
    font-weight: 400;
    line-height: var(--leading-relaxed);
    letter-spacing: var(--tracking-wide);
}

/* Solutions Section */

.borrower-content__solutions {
    margin-top: 80px;
    text-align: center;
}

.borrower-content__solutions-list {
    display: block;
    width: 520px;
    text-align: left;
    margin: 60px auto 0;
    padding: 0;
    list-style: none;
}

.borrower-content__solution-item {
    font-size: 18px;
    font-weight: 400;
    letter-spacing: var(--tracking-wide);
    margin-top: 45px;
    text-align: left;
}

.borrower-content__solution-item:first-child {
    margin-top: 0;
}

.borrower-content__solution-title {
    font-weight: 700;
    line-height: var(--leading-normal);
    margin-bottom: 10px;
}

.borrower-content__solution-desc {
    font-weight: 400;
    font-size: 18px;
    line-height: var(--leading-normal);
    letter-spacing: var(--tracking-wide);
    color: #b3b0aa;
    margin-top: 8px;
}

/* Body Text */

.borrower-content__body {
    display: block;
    width: 520px;
    text-align: left;
    margin: 40px auto 0;
}

.borrower-content__body p {
    font-size: 18px;
    font-weight: 400;
    line-height: var(--leading-normal);
    letter-spacing: var(--tracking-wide);
    margin-top: 30px;
    text-align: left;
}

.borrower-content__body p:first-child {
    margin-top: 0;
}

/* Lower Section (CTA) */

.borrower-content__lower {
    background: #3c3a34;
    padding: 60px;
}

.borrower-content__cta {
    display: flex;
    justify-content: center;
    align-items: center;
}

.borrower-content__cta-btn {
    padding-right: 30px;
}

/* Phone CTA */

.borrower-content__cta-tel {
    position: relative;
    text-align: center;
}

.borrower-content__cta-tel-label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    /* padding-left: 30px; */
}

.borrower-content__cta-tel-number {
    display: block;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: var(--tracking-base);
    margin-top: 10px;
    font-family: var(--font-heading);
}

.borrower-content__cta-tel-number a {
    color: #e5e5e5;
    text-decoration: none;
}

/* --- Hover States (Desktop) --- */

@media screen and (min-width: 768px) {
    .borrower-btn-contact:hover:before {
        transform-origin: left top;
        transform: scaleX(1);
        box-shadow: 0px 0px 18px 8px rgba(195, 222, 243, 0.8);
    }
}

/* --- Mobile Responsive --- */

@media screen and (max-width: 767px) {
    .borrower-content {
        padding-left: 0;
        padding-right: 0;
        padding-bottom: 0;
    }

    .borrower-content__inner {
        max-width: 100%;
    }

    .borrower-content__upper {
        padding: 60px 40px;
    }

    .borrower-content__heading span {
        font-size: 19px;
    }

    .borrower-content__desc {
        text-align: left;
        font-size: 18px;
    }

    .borrower-content__solutions {
        margin-top: 40px;
    }

    .borrower-content__solutions-list {
        width: auto;
        margin: 30px auto 0;
    }

    .borrower-content__solution-item {
        font-size: 18px;
    }

    .borrower-content__body {
        width: auto;
        margin: 60px auto 0;
    }

    .borrower-content__body p {
        font-size: 18px;
        font-weight: 400;
    }

    .borrower-content__lower {
        padding: 40px 30px;
    }

    .borrower-content__cta {
        display: block;
        text-align: center;
    }

    .borrower-content__cta-btn {
        padding-right: 0;
    }

    .borrower-btn-contact span {
        padding: 20px 30px;
        width: 100%;
    }

    .borrower-content__cta-tel {
        margin-top: 20px;
    }

    .borrower-content__cta-tel-label {
        display: inline-block;
        padding-left: 12px;
    }
}

.borrower-header .section-title-ja {
    font-size: 18px;
}

/* Slide13 background color adjustment */

.borrower-content__wrap {
    background: #49463e;
}

/* Trial: borrower leading normal adjustment */

.borrower-content {
    --leading-normal: 1.3;
}

/* Borrower CTA tel inline icon alignment */

.borrower-content__cta-tel-label-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.borrower-content__cta-tel-icon {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.borrower-content__cta-tel-label,
.borrower-content__cta-tel-number a {
    color: var(--color-gold-muted);
}

.borrower-content__cta-tel-label {
    padding-left: 0;
}

.borrower-content__cta-tel-number {
    margin-top: 0;
    line-height: 1.2;
}
