@charset "utf-8";
/*------------------------------------------------
* Version       : 1.0
* Date          : 2026.5.26
* Description   : 税理士事務所向けカスタムスタイル
-------------------------------------------------*/

/************ カラー・共通 ************/
.tx-navy {
    color: #1e3a5f !important;
}
.tx-gold {
    color: #b8941f !important;
}
.back-navy {
    background-color: #1e3a5f !important;
}
.back-gold {
    background-color: #b8941f !important;
}
.btn-navy {
    background-color: #1e3a5f;
    border-color: #1e3a5f;
    color: #fff !important;
}
.btn-navy:hover {
    background-color: #152a45;
    border-color: #152a45;
    color: #fff !important;
}
.btn-outline-navy {
    background-color: transparent;
    border: 2px solid #1e3a5f;
    color: #1e3a5f !important;
}
.btn-outline-navy:hover {
    background-color: #1e3a5f;
    color: #fff !important;
}
.btn-gold {
    background-color: #b8941f;
    border-color: #b8941f;
    color: #fff !important;
}
.btn-gold:hover {
    background-color: #9a7a18;
    border-color: #9a7a18;
    color: #fff !important;
}
.btn-outline-gold {
    background-color: transparent;
    border: 2px solid #b8941f;
    color: #b8941f !important;
}
.btn-outline-gold:hover {
    background-color: #b8941f;
    color: #fff !important;
}

/* 見出しあしらい */
.section-title-en {
    display: block;
    font-size: 0.8rem;
    color: #b8941f;
    font-weight: bold;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

/* セクション背景 */
.section-white { background-color: #ffffff; }
.section-soft-navy { background-color: #eef2f7; }
.section-navy { background-color: #1e3a5f; }

/* カード */
.modern-card {
    border: none !important;
    background: #fff;
}
.service-card {
    border: none !important;
    background: #fff;
}

/************ 本文文字サイズ（タイトル・リード以外） ************/
/* basic.css の tx-09（0.9rem）より一段階アップ。見出し・ページタイトル・数字は対象外 */
.main-content .tx-085,
.main-content p.tx-09,
.main-content a.tx-09,
.main-content li.tx-09,
.main-content .accordion-body,
.main-content tbody.tx-09 td,
.main-content tbody.tx-09 th,
.main-content ul.tx-09,
.main-content ul.tx-09 li,
.main-content address p,
.main-content table.fee-table td,
.main-content table.fee-table th.fw-normal,
.main-content .contact-box p,
.main-content .form-label,
.main-content .form-control,
.main-content .form-select,
.main-content p.text-muted,
.main-content .stat-box p.tx-085 {
    font-size: 1.1rem !important;
}

.main-content .tx-08,
.main-content small.text-muted {
    font-size: 0.95rem !important;
}

/************ トップページ ************/
/* ヒーローは basic.css + 背景画像。テキスト左寄せ */
.homepage .hero-section {
    justify-content: flex-start;
    text-align: left;
}
.homepage .hero-content {
    text-align: left;
}
.hero-content-inner {
    max-width: 36rem;
}
.hero-sub-text {
    display: inline-block;
    background: rgba(184, 148, 31, 0.25);
    color: #e8c547;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: bold;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    border: 1px solid rgba(184, 148, 31, 0.4);
}
.hero-content .hero-1 {
    line-height: 1.15;
}
.hero-content h1 {
    letter-spacing: 0.08em;
    line-height: 1.6;
}
.hero-lead {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.9;
}

/* コンセプト画像エリア（プレースホルダー） */
.concept-image-wrapper {
    position: relative;
    padding: 20px;
}
.concept-image-wrapper::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80%;
    height: 80%;
    background-color: #eef2f7;
    border-radius: var(--bs-border-radius);
    z-index: 0;
}
.concept-img {
    position: relative;
    z-index: 1;
}

/* 強み・数字 */
.stat-box {
    border-left: 4px solid #b8941f;
    padding-left: 1.25rem;
}
.stat-num {
    font-size: 2.5rem;
    font-weight: bold;
    color: #1e3a5f;
    line-height: 1;
}

/************ 下層ページ ************/
.page-title-area {
    background: linear-gradient(135deg, #eef2f7 0%, #fff 100%);
    border-bottom: 3px solid #b8941f;
}

/* 代表プロフィール */
.profile-photo {
    max-width: 280px;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* 業務内容・料金テーブル */
.fee-table th {
    background-color: #eef2f7;
    color: #1e3a5f;
    font-weight: bold;
}
.fee-table td {
    vertical-align: middle;
}

/* お問い合わせ */
.contact-box {
    border: 2px solid #eef2f7;
    padding: 40px;
    text-align: center;
    background-color: #fff;
}
.phone-number {
    font-size: 2rem;
    font-weight: bold;
    color: #1e3a5f;
    margin: 20px 0;
    display: block;
}

/* アクセスマップ */
.map-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--bs-border-radius);
}
.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* フッター */
.footer-area .footer-link {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
}
.footer-area .footer-link:hover {
    color: #e8c547;
}

/************ スマホ用フローティングCTA ************/
@media (max-width: 767px) {
    .sp-floating-cta {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        display: flex;
        z-index: 9999;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
        height: 54px;
    }
    .sp-floating-cta a {
        flex: 1;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        font-weight: bold;
        font-size: 0.95rem;
        transition: background-color 0.3s;
    }
    .btn-cta-tel {
        background-color: #1e3a5f;
        color: #ffffff !important;
    }
    .btn-cta-web {
        background-color: #ffffff;
        color: #1e3a5f !important;
        border-left: 1px solid #eee;
    }
    .btn-cta-tel:active {
        background-color: #152a45;
    }
    .footer-area > div:last-child {
        padding-bottom: 75px !important;
    }
    #back-to-top {
        bottom: 80px !important;
    }
    .hero-content h1 {
        font-size: 1.75rem !important;
        letter-spacing: 0.05em !important;
    }
}
@media (min-width: 768px) {
    .sp-floating-cta {
        display: none !important;
    }
}
