/*
 * inner.css — 内部ページ共通スタイル（ネイビー & ゴールドテーマ）
 * body.inner-page スコープ
 */

body.inner-page {
    --tp-navy:       #0D1B2A;
    --tp-navy-mid:   #152336;
    --tp-navy-light: #1E3048;
    --tp-gold:       #C9A84C;
    --tp-cream:      #F3F1EC;
    --tp-white:      #FFFFFF;
    --tp-text:       #1A1A1A;
    --tp-muted:      #6B7280;
}

/* =============================================
 * HEADER
 * =============================================
 */
body.inner-page .header-section {
    background: var(--tp-navy);
}
body.inner-page .header-inner-bk {
    background: var(--tp-navy) !important;
}
body.inner-page .header-inner-bk::before {
    display: none;
}
body.inner-page .header-left1 h1 {
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
}
body.inner-page .header-right1.contactBtn {
    background: var(--tp-gold);
    border-radius: 50px;
}
body.inner-page .header-right1.contactBtn a {
    color: var(--tp-navy);
    font-weight: 700;
}
body.inner-page .header-menu-item a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    font-weight: 500;
    transition: color 0.2s;
}
body.inner-page .header-menu-item a:hover {
    color: var(--tp-gold);
    opacity: 1;
}
body.inner-page .header-menu-item:not(:last-child)::before {
    background: rgba(255, 255, 255, 0.2);
}
body.inner-page .subh2 {
    color: var(--tp-gold);
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 700;
}

@media only screen and (max-width: 1024px) {
    body.inner-page .header-section {
        background: var(--tp-navy);
    }
    body.inner-page .header-mobile-btn {
        background: var(--tp-gold);
        color: var(--tp-navy);
        border-radius: 50px;
    }
    body.inner-page .header-mobile-menu::before {
        background: var(--tp-navy);
    }
    body.inner-page .header-mobile-menu-inner ul li a {
        color: rgba(255, 255, 255, 0.9);
    }
    body.inner-page .header-mobile-close {
        color: rgba(255, 255, 255, 0.7);
    }
    body.inner-page .header-mobile-menu .contactBtn {
        background: var(--tp-gold);
    }
    body.inner-page .header-mobile-menu .contactBtn a {
        color: var(--tp-navy);
        font-weight: 700;
    }
}

/* =============================================
 * PAGE HERO（ページ上部の紺バナー）
 * =============================================
 */
.page-hero {
    background: var(--tp-navy);
    padding: 56px 60px 64px;
    border-bottom: 3px solid var(--tp-gold);
    position: relative;
    overflow: hidden;
}
.page-hero::after {
    content: "";
    position: absolute;
    right: -60px;
    top: -60px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    border: 50px solid rgba(201, 168, 76, 0.07);
    pointer-events: none;
}
.page-hero-inner {
    max-width: 1100px;
    margin: 0 auto;
}
.page-hero .subh2 {
    margin-bottom: 10px;
}
.page-hero-title {
    font-size: 36px;
    font-weight: 900;
    color: var(--tp-white);
    margin: 0;
    letter-spacing: 0.04em;
}

@media only screen and (max-width: 1024px) {
    .page-hero {
        padding: 40px 20px 48px;
    }
    .page-hero-title {
        font-size: 26px;
    }
}

/* =============================================
 * COMPANY — 会社概要テーブル
 * =============================================
 */
.company-section {
    padding: 80px 60px 100px;
}
.company-inner {
    max-width: 900px;
    margin: 0 auto;
}
.company-table {
    width: 100%;
    border-collapse: collapse;
}
.company-table tr {
    border-bottom: 1px solid #EBEBEB;
}
.company-table tr:first-child {
    border-top: 1px solid #EBEBEB;
}
.company-table th {
    width: 200px;
    padding: 22px 20px 22px 0;
    font-size: 13px;
    font-weight: 700;
    color: var(--tp-navy);
    vertical-align: top;
    white-space: nowrap;
}
.company-table td {
    padding: 22px 0;
    font-size: 14px;
    line-height: 1.8;
    color: #444;
    vertical-align: top;
}
.company-table td a.external {
    color: var(--tp-gold);
    text-decoration-color: var(--tp-gold);
}
.company-table td a.external::after {
    background-image: none;
    content: " ↗";
    width: auto;
    height: auto;
    vertical-align: baseline;
    font-size: 12px;
}

/* 事業内容セクション */
.business-section {
    background: var(--tp-cream);
    padding: 80px 60px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}
.business-inner {
    max-width: 900px;
    margin: 0 auto;
}
.business-inner h2 {
    margin-bottom: 40px;
}
.business-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.business-card {
    background: var(--tp-white);
    border-radius: 16px;
    padding: 28px 24px;
    border-left: 4px solid var(--tp-gold);
}
.business-card h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--tp-navy);
    margin-bottom: 10px;
}
.business-card p {
    font-size: 13px;
    color: var(--tp-muted);
    line-height: 1.75;
}

/* 会社ページ下部CTA */
.company-cta {
    padding: 80px 60px;
    text-align: center;
}
.company-cta h2 {
    font-size: 24px;
    font-weight: 800;
    color: var(--tp-navy);
    margin-bottom: 16px;
}
.company-cta p {
    font-size: 14px;
    color: var(--tp-muted);
    margin-bottom: 36px;
}
.company-cta-btn {
    display: inline-block;
    background: var(--tp-navy);
    color: var(--tp-white);
    font-size: 15px;
    font-weight: 700;
    padding: 18px 56px;
    border-radius: 50px;
    border: 2px solid var(--tp-navy);
    transition: background 0.25s, color 0.25s, transform 0.2s;
}
.company-cta-btn:hover {
    background: transparent;
    color: var(--tp-navy);
    transform: translateY(-2px);
    opacity: 1;
}

@media only screen and (max-width: 1024px) {
    .company-section {
        padding: 50px 20px 60px;
    }
    .company-table th {
        width: 120px;
        font-size: 12px;
        padding-right: 12px;
    }
    .business-section {
        padding: 50px 20px;
    }
    .business-grid {
        grid-template-columns: 1fr;
    }
    .company-cta {
        padding: 50px 20px;
    }
    .company-cta-btn {
        display: block;
        text-align: center;
        padding: 18px 20px;
    }
}

/* =============================================
 * PARTNER — パートナー申し込みフォーム
 * =============================================
 */
.partner-section {
    padding: 80px 60px 100px;
}
.partner-inner {
    max-width: 780px;
    margin: 0 auto;
}
.partner-lead {
    background: var(--tp-cream);
    border-left: 4px solid var(--tp-gold);
    border-radius: 0 12px 12px 0;
    padding: 24px 28px;
    margin-bottom: 56px;
}
.partner-lead p {
    font-size: 14px;
    line-height: 1.85;
    color: #444;
    margin: 0;
}

/* フォーム全体 */
.partner-form {
    display: flex;
    flex-direction: column;
    gap: 28px;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.form-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--tp-navy);
    letter-spacing: 0.03em;
}
.form-label .required {
    display: inline-block;
    font-size: 10px;
    background: var(--tp-gold);
    color: var(--tp-navy);
    padding: 1px 6px;
    border-radius: 3px;
    margin-left: 6px;
    font-weight: 700;
    vertical-align: middle;
}
.form-label .optional {
    display: inline-block;
    font-size: 10px;
    background: #E5E7EB;
    color: #888;
    padding: 1px 6px;
    border-radius: 3px;
    margin-left: 6px;
    font-weight: 400;
    vertical-align: middle;
}
.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 14px 18px;
    border: 1.5px solid #D1D5DB;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.6;
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--tp-text);
    background: var(--tp-white);
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
    box-sizing: border-box;
}
.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    border-color: var(--tp-gold);
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.15);
}
.form-textarea {
    min-height: 160px;
    resize: vertical;
    line-height: 1.7;
}
.form-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 44px;
}

/* チェックボックス群 */
.form-checkgroup {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.form-check-item {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    color: var(--tp-text);
}
.form-check-item input[type="checkbox"],
.form-check-item input[type="radio"] {
    -webkit-appearance: auto;
    appearance: auto;
    width: 18px;
    height: 18px;
    accent-color: var(--tp-navy);
    cursor: pointer;
    flex-shrink: 0;
}

/* 送信ボタン */
.form-submit-wrap {
    margin-top: 12px;
    text-align: center;
}
.form-submit {
    display: inline-block;
    background: var(--tp-navy);
    color: var(--tp-white);
    font-size: 16px;
    font-weight: 700;
    padding: 20px 80px;
    border-radius: 50px;
    border: 2px solid var(--tp-navy);
    cursor: pointer;
    font-family: 'Noto Sans JP', sans-serif;
    letter-spacing: 0.06em;
    transition: background 0.25s, color 0.25s, transform 0.2s;
}
.form-submit:hover {
    background: transparent;
    color: var(--tp-navy);
    transform: translateY(-2px);
}
.form-note {
    font-size: 12px;
    color: #aaa;
    text-align: center;
    margin-top: 16px;
    line-height: 1.7;
}

@media only screen and (max-width: 1024px) {
    .partner-section {
        padding: 50px 20px 70px;
    }
    .form-submit {
        display: block;
        width: 100%;
        padding: 18px 20px;
    }
}

/* =============================================
 * FOOTER（内部ページ）
 * =============================================
 */
body.inner-page .footer-section {
    background: var(--tp-navy);
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0;
    margin-bottom: 0;
}
body.inner-page .footer-section .footer-left div {
    color: rgba(255, 255, 255, 0.7);
}
body.inner-page .footer-hon {
    color: var(--tp-gold) !important;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-top: 14px;
    margin-bottom: 4px;
}
body.inner-page .footer-section ul li a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    transition: color 0.2s;
}
body.inner-page .footer-section ul li a:hover {
    color: var(--tp-gold);
    opacity: 1;
}
body.inner-page .footer-section .footer-rightl > div {
    color: rgba(255, 255, 255, 0.35);
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 14px;
}
body.inner-page .footer-corp {
    background: rgba(0, 0, 0, 0.25);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}
body.inner-page .footer-corp small {
    color: rgba(255, 255, 255, 0.28);
    font-size: 12px;
}
