/* ========================================
   Office Page Styles
   ======================================== */

/* ── ページ背景・コンテナ ── */
.o-main {
    background: #fafbfc;
    min-height: 60vh;
}

.o-container {
    max-width: 1024px;
    margin: 0 auto;
    padding: 96px 24px 80px;
}

/* ── セクションヘッダー ── */
.o-section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 56px;
}

.o-section-label {
    font-size: 11px;
    letter-spacing: 0.22em;
    color: #c9a84c;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
}

.o-section-title {
    margin-top: 12px;
    font-size: clamp(20px, 3vw, 28px);
    font-family: 'Noto Serif JP', serif;
    font-weight: 600;
    color: #1a3152;
    letter-spacing: 0.05em;
}

.o-section-divider {
    width: 40px;
    height: 2px;
    background-color: #c9a84c;
    border-radius: 50px;
    margin-top: 16px;
}

/* ================================================================
   事務所情報カード
   ================================================================ */

.o-info-card {
    border-radius: 16px;
    overflow: hidden;
    background: white;
    box-shadow: 0 4px 24px rgba(26, 49, 82, 0.08);
    border: 1px solid rgba(26, 49, 82, 0.06);
    margin-bottom: 32px;
}

/* ── カードヘッダー（青グラデーション） ── */
.o-card-header {
    padding: 24px 32px;
    background: linear-gradient(135deg, #203a62, #2d5090);
}

.o-card-header-inner {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* ── ヘッダー左アイコン（角丸四角 12px） ── */
.o-header-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;               /* 角丸四角 */
    background-color: rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.o-card-en {
    font-size: 9px;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.55);
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
    margin-bottom: 2px;
}

.o-card-name {
    font-size: 17px;
    font-family: 'Noto Serif JP', serif;
    font-weight: 600;
    color: white;
    letter-spacing: 0.05em;
    margin: 0;
}

/* ── 情報行コンテナ ── */
.o-rows {
    border-top: 1px solid rgba(26, 49, 82, 0.06);
}

/* ── 各情報行 ── */
.o-row {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px 32px;
    border-bottom: 1px solid rgba(26, 49, 82, 0.06);
}

.o-row:last-child {
    border-bottom: none;
}

/* ── ラベル部（アイコン + テキスト） ── */
.o-row-label {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 144px;
    flex-shrink: 0;
}

/*
   ──────────────────────────────────────────
   情報行アイコンボックス
   ・背景：薄いグレー rgba(26,49,82,0.07)
   ・形状：角丸四角 border-radius: 8px
   ・サイズ：32×32px
   ・全アイコン統一
   ──────────────────────────────────────────
*/
.o-row-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;               /* 完全な円形 */
    background-color: rgba(26, 49, 82, 0.07);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    /* 他CSSによる上書きを防ぐ */
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
}

.o-label-text {
    font-size: 12px;
    font-family: 'Noto Sans JP', sans-serif;
    color: #9ca3af;
    font-weight: 400;
    letter-spacing: 0.06em;
    white-space: nowrap;
}

/* ── 値コンテナ ── */
.o-row-value {
    flex: 1;
}

/* ── 値テキスト（通常） ── */
.o-value {
    display: block;
    font-size: 15px;
    font-family: 'Noto Sans JP', sans-serif;
    color: #374151;
    font-weight: 400;
    line-height: 1.7;
}

/* ── TEL（大きいフォント） ── */
.o-value-tel {
    font-size: 20px;
    font-family: Georgia, serif;
    font-weight: 700;
    color: #1a3152;
    letter-spacing: 0.05em;
    text-decoration: none;
    transition: color 0.2s;
}

.o-value-tel:hover {
    color: #c9a84c;
}

/* ── URL リンク ── */
.o-value-link {
    font-size: 15px;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
    color: #1a3152;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
}

.o-value-link:hover {
    color: #c9a84c;
}

/* ── 補足テキスト ── */
.o-note {
    margin-top: 4px;
    font-size: 12px;
    font-family: 'Noto Sans JP', sans-serif;
    color: #9ca3af;
    font-weight: 300;
    line-height: 1.7;
}

/* ================================================================
   所属・資格カード
   ================================================================ */

.o-affil-card {
    border-radius: 16px;
    overflow: hidden;
    background: white;
    box-shadow: 0 4px 24px rgba(26, 49, 82, 0.08);
    border: 1px solid rgba(26, 49, 82, 0.06);
    margin-bottom: 32px;
}

.o-affil-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 20px 32px;
    border-bottom: 1px solid rgba(26, 49, 82, 0.06);
}

.o-affil-title {
    font-size: 15px;
    font-family: 'Noto Serif JP', serif;
    font-weight: 600;
    color: #1a3152;
    letter-spacing: 0.04em;
    margin: 0;
}

.o-affil-body {
    padding: 20px 32px;
}

.o-affil-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.o-affil-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.o-affil-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.o-affil-bullet {
    margin-top: 7px;
    flex-shrink: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #c9a84c;
}

.o-affil-name {
    font-size: 14px;
    font-family: 'Noto Sans JP', sans-serif;
    color: #374151;
    font-weight: 400;
    line-height: 1.7;
}

.o-affil-number {
    margin-left: 18px;
    font-size: 13px;
    font-family: 'Noto Sans JP', sans-serif;
    color: #6b7280;
    font-weight: 300;
}

/* ================================================================
   アクセスマップカード
   ================================================================ */

.o-map-card {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(26, 49, 82, 0.08);
    border: 1px solid rgba(26, 49, 82, 0.06);
    margin-bottom: 64px;
}

.o-map-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 18px 32px;
    border-bottom: 1px solid rgba(26, 49, 82, 0.06);
    background: white;
}

.o-map-title {
    font-size: 15px;
    font-family: 'Noto Serif JP', serif;
    font-weight: 600;
    color: #1a3152;
    letter-spacing: 0.04em;
    margin: 0;
}

.o-map-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    min-height: 320px;
}

.o-map-iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.o-map-footer {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 18px 32px;
    background: white;
    border-top: 1px solid rgba(26, 49, 82, 0.06);
}

.o-map-address {
    font-size: 13px;
    font-family: 'Noto Sans JP', sans-serif;
    color: #6b7280;
    font-weight: 300;
    margin: 0;
}

.o-map-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 50px;
    padding: 8px 18px;
    background-color: rgba(26, 49, 82, 0.07);
    color: #1a3152;
    font-size: 13px;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.2s;
    align-self: flex-start;
}

.o-map-link:hover {
    background-color: rgba(26, 49, 82, 0.12);
}

/* ================================================================
   CTA
   ================================================================ */

.o-cta {
    border-radius: 16px;
    padding: 48px;
    text-align: center;
    background: linear-gradient(135deg, #1e3a6e, #2d5090);
    box-shadow: 0 8px 40px rgba(26, 49, 82, 0.2);
}

.o-cta-title {
    font-size: 18px;
    font-family: 'Noto Serif JP', serif;
    font-weight: 500;
    color: white;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.o-cta-sub {
    font-size: 13px;
    font-family: 'Noto Sans JP', sans-serif;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 300;
    margin-bottom: 40px;
}

.o-cta-btns {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.o-cta-phone {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    padding: 16px 40px;
    background: linear-gradient(135deg, #c9a84c, #d4b055);
    color: white;
    font-size: 17px;
    font-family: Georgia, serif;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 20px rgba(201, 168, 76, 0.4);
    transition: box-shadow 0.25s, transform 0.25s;
}

.o-cta-phone:hover {
    box-shadow: 0 8px 28px rgba(201, 168, 76, 0.5);
    transform: translateY(-2px);
}

.o-cta-contact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    padding: 16px 32px;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    background-color: rgba(255, 255, 255, 0.07);
    color: white;
    font-size: 14px;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
    text-decoration: none;
    transition: background-color 0.2s;
}

.o-cta-contact:hover {
    background-color: rgba(255, 255, 255, 0.13);
}

/* ================================================================
   Responsive
   ================================================================ */

/* 640px 以上：行を横並びに */
@media (min-width: 640px) {
    .o-row {
        flex-direction: row;
        align-items: flex-start;
        gap: 16px;
    }

    .o-row-value {
        padding-left: 16px;
        border-left: 1px solid rgba(26, 49, 82, 0.07);
    }

    .o-affil-item {
        flex-direction: row;
        align-items: center;
        gap: 24px;
    }

    .o-affil-number {
        margin-left: 0;
    }

    .o-map-footer {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .o-cta-btns {
        flex-direction: row;
        justify-content: center;
    }
}

/* 768px 以上：padding 拡大 */
@media (min-width: 768px) {
    .o-card-header {
        padding: 24px 40px;
    }

    .o-row {
        padding: 20px 40px;
    }

    .o-affil-header,
    .o-affil-body {
        padding-left: 40px;
        padding-right: 40px;
    }

    .o-map-header,
    .o-map-footer {
        padding-left: 40px;
        padding-right: 40px;
    }
}