/* =================================================================
   Fine Parking — Company Page Styles (v2 — 共通スタイル統合版)
   配置先: 子テーマ/assets/css/style-fine-company.css
   ================================================================= */


/* -----------------------------------------
   0. 共通ベース（トップページCSS非読み込み時に必要）
   ----------------------------------------- */

/* --- Wrapper --- */
.fp-wrapper {
    position: relative;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    overflow-x: hidden;
    font-family: 'Noto Sans JP', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f8f9fa;
}

.fp-wrapper img { max-width: 100%; height: auto; vertical-align: bottom; }
.fp-wrapper a { text-decoration: none; color: inherit; transition: 0.3s; }
.fp-wrapper * { box-sizing: border-box; }

/* --- Sections & Containers --- */
.fp-section { padding: 100px 0; }
.fp-container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.fp-container--narrow { max-width: 820px; }

/* --- Section Header --- */
.fp-section-header { text-align: center; margin-bottom: 60px; }
.fp-section-header .en {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    color: #c9a96e;
    font-size: 1rem;
    letter-spacing: 0.25em;
    margin-bottom: 10px;
}
.fp-section-header .ja {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 700;
    color: #0d1b2a;
}

/* Numbers セクションのヘッダーは白文字 */
.fp-co-numbers .fp-section-header .ja {
    color: #fff;
}

/* --- Buttons --- */
.fp-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 700;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 0.9rem;
    border: none;
}

.fp-btn--primary {
    background: #c9a96e;
    color: #0d1b2a;
    box-shadow: 0 4px 15px rgba(201,169,110,0.4);
}
.fp-btn--primary:hover {
    background: #b08d55;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(201,169,110,0.5);
}

.fp-btn--glass {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
}
.fp-btn--glass:hover {
    background: rgba(255,255,255,0.2);
}

.fp-btn--outline {
    background: transparent;
    border: 1px solid #0d1b2a;
    color: #0d1b2a;
}
.fp-btn--outline:hover {
    background: #0d1b2a;
    color: #fff;
}

.fp-btn--lg { padding: 20px 60px; font-size: 1.1rem; }
.fp-btn--sm { padding: 10px 24px; font-size: 0.85rem; }

/* --- Divider --- */
.fp-divider { width: 60px; height: 3px; background: #c9a96e; margin-bottom: 30px; }


/* -----------------------------------------
   1. HERO
   ----------------------------------------- */
.fp-co-hero {
    position: relative;
    padding: 120px 20px 80px;
    text-align: center;
    background: #0d1b2a;
    color: #fff;
    overflow: hidden;
}

.fp-co-hero__bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(201,169,110,0.12) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 30%, rgba(201,169,110,0.06) 0%, transparent 50%);
    pointer-events: none;
}

.fp-co-hero__content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.fp-co-hero__sub {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1rem;
    letter-spacing: 0.3em;
    color: #c9a96e;
    margin-bottom: 16px;
}

.fp-co-hero__title {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
}

.fp-co-hero__desc {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
}


/* -----------------------------------------
   2. MISSION — 代表メッセージ
   ----------------------------------------- */
.fp-co-mission { background: #fff; }

.fp-co-mission__inner {
    display: flex;
    align-items: flex-start;
    gap: 60px;
}

@media (max-width: 768px) {
    .fp-co-mission__inner { flex-direction: column; gap: 40px; }
}

.fp-co-mission__photo {
    flex: 0 0 320px;
    max-width: 320px;
}

.fp-co-mission__photo img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 16px 16px 0 rgba(201,169,110,0.12);
}

@media (max-width: 768px) {
    .fp-co-mission__photo { flex: none; max-width: 100%; }
}

.fp-co-mission__text { flex: 1; }

.fp-co-mission__label {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    font-size: 0.9rem;
    letter-spacing: 0.25em;
    color: #c9a96e;
    margin-bottom: 16px;
}

.fp-co-mission__text h2 {
    font-size: clamp(1.4rem, 3vw, 2.2rem);
    font-weight: 700;
    color: #0d1b2a;
    line-height: 1.5;
    margin-bottom: 24px;
}

.fp-co-mission__text p {
    font-size: 0.9rem;
    line-height: 2;
    color: #4a4f57;
    margin-bottom: 16px;
}

.fp-co-mission__sign {
    font-weight: 700;
    color: #0d1b2a;
    margin-top: 24px;
    font-size: 0.95rem;
}

/* Placeholder */
.fp-co-placeholder {
    background: #1b2d44;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 320px;
    gap: 12px;
    color: rgba(255,255,255,0.3);
    font-size: 0.8rem;
}

.fp-co-placeholder svg { width: 60px; height: 60px; }

.fp-co-placeholder--wide { min-height: 280px; width: 100%; }


/* -----------------------------------------
   3. NUMBERS
   ----------------------------------------- */
.fp-co-numbers { background: #0d1b2a; color: #fff; }

.fp-co-numbers__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}

@media (max-width: 768px) {
    .fp-co-numbers__grid { grid-template-columns: repeat(2, 1fr); }
}

.fp-co-numbers__item { padding: 20px 0; }

.fp-co-numbers__num {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    color: #c9a96e;
    line-height: 1;
}

.fp-co-numbers__unit {
    font-size: 1rem;
    color: #c9a96e;
    margin-left: 4px;
}

.fp-co-numbers__item p {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
    margin-top: 8px;
}


/* -----------------------------------------
   4. 3つの約束
   ----------------------------------------- */
.fp-co-promise { background: #f8f7f4; }

.fp-co-promise__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

@media (max-width: 768px) {
    .fp-co-promise__grid { grid-template-columns: 1fr; }
}

.fp-co-promise__card {
    background: #fff;
    border-radius: 14px;
    padding: 36px 28px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.06);
    transition: transform 0.3s cubic-bezier(0.22,1,0.36,1), box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.fp-co-promise__card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 32px rgba(0,0,0,0.08);
}

.fp-co-promise__num {
    position: absolute;
    top: 12px;
    right: 16px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 4rem;
    font-weight: 700;
    color: rgba(0,0,0,0.03);
    line-height: 1;
    pointer-events: none;
}

.fp-co-promise__icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    color: #c9a96e;
}

.fp-co-promise__icon svg { width: 100%; height: 100%; }

.fp-co-promise__card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0d1b2a;
    margin-bottom: 12px;
}

.fp-co-promise__card p {
    font-size: 0.85rem;
    color: #4a4f57;
    line-height: 1.85;
}


/* -----------------------------------------
   5. 施設紹介
   ----------------------------------------- */
.fp-co-facility { background: #fff; }

.fp-co-facility__inner {
    display: flex;
    gap: 40px;
    align-items: center;
}

@media (max-width: 768px) {
    .fp-co-facility__inner { flex-direction: column; }
}

.fp-co-facility__photo {
    flex: 1.5;
    border-radius: 12px;
    overflow: hidden;
}

.fp-co-facility__photo img {
    width: 100%;
    display: block;
    border-radius: 12px;
}

.fp-co-facility__features {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.fp-co-facility__feat {
    background: #f8f7f4;
    border-radius: 10px;
    padding: 18px 22px;
    border-left: 3px solid #c9a96e;
}

.fp-co-facility__feat strong {
    display: block;
    font-size: 0.9rem;
    color: #0d1b2a;
    margin-bottom: 4px;
}

.fp-co-facility__feat span {
    font-size: 0.8rem;
    color: #999;
}


/* -----------------------------------------
   6. 会社情報テーブル
   ----------------------------------------- */
.fp-co-info { background: #f8f7f4; }

.fp-co-info__table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.fp-co-info__table th,
.fp-co-info__table td {
    padding: 18px 24px;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    text-align: left;
}

.fp-co-info__table th {
    width: 160px;
    background: rgba(201,169,110,0.06);
    color: #0d1b2a;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.03em;
    white-space: nowrap;
}

.fp-co-info__table td {
    color: #4a4f57;
}

.fp-co-info__table td a {
    color: #c9a96e;
    font-weight: 600;
}

.fp-co-info__table td a:hover { color: #b08d55; }

@media (max-width: 600px) {
    .fp-co-info__table th { width: 110px; padding: 14px 16px; }
    .fp-co-info__table td { padding: 14px 16px; }
}


/* -----------------------------------------
   7. ACCESS (会社ページ用)
   ----------------------------------------- */
.fp-co-access { background: #fff; }

.fp-company-page .fp-access__card {
    display: flex;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

@media (max-width: 768px) {
    .fp-company-page .fp-access__card { flex-direction: column; }
    .fp-company-page .fp-access__map { min-height: 280px; }
}

.fp-company-page .fp-access__map { flex: 1.5; min-height: 400px; }
.fp-company-page .fp-access__map iframe { width: 100%; height: 100%; }

.fp-company-page .fp-access__info {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.fp-company-page .fp-access__info dl { margin-bottom: 24px; }
.fp-company-page .fp-access__info dt {
    color: #c9a96e;
    font-weight: 700;
    margin-bottom: 4px;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
}
.fp-company-page .fp-access__info dd {
    margin-bottom: 20px;
    font-weight: 500;
    color: #0d1b2a;
    font-size: 0.95rem;
}

.fp-company-page .fp-access__tel {
    color: #0d1b2a;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    font-weight: 700;
}
.fp-company-page .fp-access__tel:hover { color: #c9a96e; }


/* -----------------------------------------
   8. CTA (会社ページ用)
   ----------------------------------------- */
.fp-company-page .fp-cta {
    position: relative;
    background: #0d1b2a;
    color: #fff;
    text-align: center;
    padding: 100px 20px;
    overflow: hidden;
}

.fp-company-page .fp-cta__bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 20%, rgba(201,169,110,0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 80%, rgba(201,169,110,0.05) 0%, transparent 50%);
    pointer-events: none;
}

.fp-company-page .fp-cta__content { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }

.fp-company-page .fp-cta__lead {
    font-size: 0.85rem;
    letter-spacing: 0.3em;
    color: #c9a96e;
    margin-bottom: 16px;
}

.fp-company-page .fp-cta h2 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    margin-bottom: 16px;
    font-weight: 700;
}

.fp-company-page .fp-cta__desc {
    color: rgba(255,255,255,0.7);
    margin-bottom: 40px;
    font-size: 0.95rem;
}

.fp-company-page .fp-cta__btns {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

.fp-company-page .fp-cta__note {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.4);
    margin-top: 20px;
}


/* -----------------------------------------
   9. SWELL Override（会社概要ページ用）
   ----------------------------------------- */
body.page-fine-parking-top .l-content,
body.page-fine-parking-top .l-mainContent,
body.page-fine-parking-top .l-mainContent__inner,
body.page-fine-parking-top .l-content__inner,
body.page-fine-parking-top .post_content,
body.page-fine-parking-top .l-article,
body.page-fine-parking-top .l-container {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

body.page-fine-parking-top #sidebar,
body.page-fine-parking-top .l-sidebar,
body.page-fine-parking-top .c-pageTitle,
body.page-fine-parking-top .l-header__titleArea,
body.page-fine-parking-top .p-breadcrumb,
body.page-fine-parking-top .c-mvTitle {
    display: none !important;
}


/* -----------------------------------------
   10. ANIMATION
   ----------------------------------------- */
.fp-company-page .js-scroll-fade,
.fp-company-page .js-fade-up {
    opacity: 0;
    transform: translateY(30px);
}

@media (prefers-reduced-motion: reduce) {
    .fp-company-page .js-scroll-fade,
    .fp-company-page .js-fade-up {
        opacity: 1;
        transform: none;
    }
}