
/* =================================
   基本設定
================================= */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: #263746;
    line-height: 1.8;
    background: #fff;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

:root {
    --navy: #183B59;
    --blue: #287CB5;
    --light-blue: #EDF5FA;
    --text: #263746;
    --gray: #687785;
}

/* 見出し全体の改行調整 */
h2,
h3 {
    word-break: normal;
    overflow-wrap: normal;
    line-break: strict;
    letter-spacing: 0;
}
/*水平線*/

.section-divider {
    width: 80%;
    max-width: 1100px;
    margin: 0 auto;
    border: none;
    border-top: 1px solid #dce5eb;
}

/* =================================
   ヘッダー
================================= */

.header {
    width: 100%;
    background: #fff;
    border-bottom: 1px solid #e8edf1;
}

.header-inner {
    max-width: 1200px;
    margin: auto;
    padding: 18px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.logo-main {
    font-size: 24px;
    font-weight: 800;
    color: var(--navy);
    letter-spacing: 2px;
}

.logo-sub {
    font-size: 11px;
    color: var(--gray);
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 30px;
    font-size: 13px;
    font-weight: 600;
}

.nav-contact {
    background: var(--blue);
    color: #fff;
    padding: 12px 22px;
    border-radius: 30px;
}


/* =================================
   メインビジュアル
================================= */

.hero {
    background: var(--light-blue);
    padding: 75px 25px;
}

.hero-inner {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 50px;
}

.hero-label {
    font-size: 12px;
    letter-spacing: 3px;
    color: var(--blue);
    font-weight: 700;
}

.hero h1 {
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.5;
    margin: 20px 0;
    color: var(--navy);
}

.hero h1 span {
    color: var(--blue);
}

.hero-description {
    color: var(--gray);
    font-size: 15px;
    margin-bottom: 30px;
}

.hero-text {
        padding:20px;
    }

.hero-image img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: 12px;
}

.btn-primary {
    display: inline-flex;
    gap: 25px;
    align-items: center;
    background: var(--navy);
    color: #fff;
    padding: 15px 28px;
    border-radius: 5px;
    font-weight: 600;
}


/* =================================
   共通セクション
================================= */

.section {
    padding: 90px 25px;
}

.section-heading {
    max-width: 900px;
    margin: 0 auto 45px;
    text-align: center;
}

.section-label {
    color: var(--blue);
    font-size: 12px;
    letter-spacing: 3px;
    font-weight: 700;
    margin-bottom: 10px;
}

.section-heading h2 {
    font-size: 30px;
    color: var(--navy);
    margin-bottom: 15px;
}



/* =================================
   お悩みセクション
================================= */

.problem {
    background: #fff;
}

.problem-grid {
    max-width: 1100px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

/* カード共通 */

.problem-card {
    position: relative;
    min-height: 250px;
    padding: 30px 22px;
    border-radius: 10px;
    overflow: hidden;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    color: #fff;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center 20px;
    isolation: isolate;
}

/* 半透明のオーバーレイ */

.problem-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(15, 43, 65, 0.65);
    z-index: -1;
    transition: background 0.3s ease;
}

/* ホバー時 */

.problem-card:hover::before {
    background: rgba(15, 43, 65, 0.42);
}

/* 背景画像 */

.problem-01 {
    background-image: url('../img/problem/01.jpg');
}

.problem-02 {
    background-image: url('../img/problem/02.jpg');
}

.problem-03 {
    background-image: url('../img/problem/03.jpg');
}

.problem-04 {
    background-image: url('../img/problem/04.jpg');
}

/* 番号 */

/* 番号を左上に固定 */
.problem-card span {
    position: absolute;
    top: 25px;
    left: 22px;

    font-size: 36px;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin: 0;
}

/* 見出し */

.problem-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #fff;
}

/* 説明文 */

.problem-card p {
    font-size: 13px;
    color: rgba(255,255,255,0.9);
    line-height: 1.8;
}


/* =================================
   悩める担当者の画像
================================= */

.problem-person {
    max-width: 1100px;
    margin: 55px auto 0;
    display: flex;
    align-items: stretch;
    border-radius: 12px;
    overflow: hidden;
    background: #f4f7f9;
}

.problem-person img {
    display: block;
    width: 60%;
    height: auto;
    object-fit: contain;
    object-position: center;
}

.problem-person-text {
    position: static;
    width: 40%;
    padding: 35px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #f4f7f9;
}

.problem-person-text h3 {
    color: var(--navy);
    font-size: 23px;
    margin-bottom: 15px;
}

.problem-person-text p {
    color: var(--gray);
    font-size: 14px;
    line-height: 2;
}


/* =================================
   スマートフォン対応
================================= */

@media (max-width: 768px) {

    .problem-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .problem-card {
        min-height: 210px;
        padding: 20px 15px;
    }

    .problem-card span {
        font-size: 28px;
    }

    .problem-card h3 {
        font-size: 15px;
    }

    .problem-card p {
        font-size: 12px;
    }

 .problem-person {
        display: block;
        width: 100%;
        height: auto;
        margin: 35px auto 0;
    }

    .problem-person img {
        display: block;
        width: 100%;
        height: auto;
        max-height: none;
        object-fit: initial;
        margin: 0;
    }

    .problem-person-text {
        position: static;
        width: 100%;
        height: auto;
        padding: 22px;
        background: #f4f7f9;
    }

    .problem-person-text h3 {
        font-size: 18px;
        word-break: keep-all;
        overflow-wrap: break-word;
        line-break: strict;
    }

    .problem-person-text p {
        font-size: 13px;
    }
        .service-overview .section-heading {
        text-align: left !important;
    }
    
.section-heading h2,
.section-heading p {
    word-break: keep-all;
    overflow-wrap: break-word;
    line-break: strict;
}


}



/* =================================
   サービス
================================= */

.service {
    background: #f7f9fb;
}

.strength {
    background: #fff;
}

.flow {
    background: var(--light-blue);
}

.contact {
    background: var(--navy);
    color: #fff;
}

.contact .section-heading h2 {
    color: #fff;
}
@media (max-width: 480px) {
    .strength .section-heading {
        text-align: left;
    }

    .strength .section-heading h2,
    .strength .section-heading p {
        text-align: left;
    }
}

/* =================================
   フッター
================================= */

.footer {
    background: #102B42;
    color: #fff;
    padding: 35px 25px;
}

.footer-inner {
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    font-size: 20px;
    font-weight: 800;
}

.footer-logo p {
    font-size: 11px;
    font-weight: 400;
}

.footer-copy {
    font-size: 11px;
    color: #b9c6d0;
}


/* =================================
   スマートフォン対応
================================= */

@media (max-width: 768px) {

    .header-inner {
        padding: 15px;
        flex-direction: column;
        gap: 15px;
    }

    .header-nav {
        gap: 12px;
        flex-wrap: wrap;
        justify-content: center;
        font-size: 11px;
    }

    .hero {
        padding: 45px 20px;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero-text{
        padding:10px;
    }

    .hero-image img {
        height: 250px;
    }

    .section {
        padding: 60px 20px;
    }

    .section-heading h2 {
        font-size: 23px;
    }

    .problem-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .problem-card {
        padding: 20px 15px;
    }

    .problem-card h3 {
        font-size: 15px;
    }

    .footer-inner {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

/* =================================
   送迎業務フロー
================================= */

.service-overview {
    background: #f5f8fb;
}

.service-flow {
    max-width: 1000px;
    margin: 50px auto 0;
}

/* 貴社・当社 */

/* 双方向フロー */
.flow-partners {
    max-width: 850px;
    margin: 45px auto 0;
}

.flow-direction {
    display: grid;
    grid-template-columns: 1fr 1.8fr 1fr;
    align-items: center;
    gap: 20px;
    padding: 30px 25px;
    background: #fff;
    border: 1px solid #dce5ec;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(20,50,75,0.05);
}

/* 会社 */
.flow-company {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: #285477;
}

.flow-company i {
    font-size: 46px;
    color: #376b91;
}

.flow-company strong {
    font-size: 21px;
}

/* 双方向の業務 */
.flow-exchanges {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.flow-exchange {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #285477;
    font-weight: bold;
}

.flow-exchange i {
    font-size: 30px;
    color: #B96F4D;
    flex-shrink: 0;
}

.flow-exchange span {
    font-size: 14px;
    white-space: nowrap;
}

.flow-direction-caption {
    text-align: center;
    color: #687783;
    font-size: 13px;
    margin: 0 0 12px;
}


/* スマートフォン */
@media (max-width: 768px) {

    .flow-direction {
        grid-template-columns: 0.8fr 1.8fr 0.8fr;
        gap: 8px;
        padding: 25px 12px;
    }

    .flow-company {
        gap: 8px;
    }

    .flow-company i {
        font-size: 34px;
    }

    .flow-company strong {
        font-size: 16px;
    }

    .flow-exchanges {
        gap: 16px;
    }

    .flow-exchange {
        gap: 6px;
    }

    .flow-exchange i {
        font-size: 22px;
    }

    .flow-exchange span {
        font-size: 11px;
    }

    .flow-direction-caption {
        font-size: 12px;
        line-height: 1.7;
        text-align: left;
        padding: 0 5px;
    }
}


.management-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 25px;
    color: #285477;
}

.management-heading i {
    font-size: 27px;
}

.management-heading h3 {
    font-size: 21px;
    margin: 0;
}


/* サービス項目グリッド */
.management-items {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 15px;
}

.management-item {
    padding: 22px 16px;
    border-radius: 8px;
    background: #fff;
    color: #365d79;
    text-align: left;
}

.management-item > i {
    display: block;
    font-size: 30px;
    text-align: center;
    margin-bottom: 12px;
}

.management-title {
    display: block;
    text-align: center;
    font-size: 17px;
    font-weight: bold;
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 1px solid #dce5ec;
}

.management-item ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.management-item li {
    position: relative;
    padding-left: 13px;
    margin-bottom: 9px;
    font-size: 12px;
    line-height: 1.6;
    color: #52616d;
}

.management-item li:last-child {
    margin-bottom: 0;
}

.management-item li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #6d9ab9;
}

/* タブレット */
@media (max-width: 1024px) {
    .management-items {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
}

/* スマートフォン：縦並びリスト */
@media (max-width: 480px) {

    .management-items {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .management-item {
        display: grid;
        grid-template-columns: 45px 1fr;
        column-gap: 12px;
        padding: 16px;
        align-items: start;
    }

    .management-item > i {
        grid-column: 1;
        grid-row: 1 / 3;
        font-size: 25px;
        margin: 3px 0 0;
    }

    .management-title {
        grid-column: 2;
        text-align: left;
        font-size: 16px;
        padding-bottom: 8px;
        margin-bottom: 9px;
    }

    .management-item ul {
        grid-column: 2;
    }

    .management-item li {
        font-size: 13px;
        margin-bottom: 6px;
    }
}


/* プロドライバー */
.flow-driver {
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 25px 30px;
    border-radius: 12px;
    background: #285477;
    color: #fff;
}

.driver-icon {
    flex-shrink: 0;
    width: 75px;
    height: 75px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    font-size: 35px;
}

.driver-text {
    flex: 1;
}

.driver-text > span {
    display: block;
    font-size: 10px;
    letter-spacing: 1.5px;
    opacity: 0.8;
    margin-bottom: 5px;
}

.driver-text h3 {
    font-size: 21px;
    margin: 0 0 7px;
}

.driver-text p {
    font-size: 13px;
    margin: 0;
    opacity: 0.9;
    line-height: 1.7;
}

.driver-check {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 6px;
    background: rgba(255,255,255,0.14);
    font-size: 13px;
    font-weight: bold;
}

.driver-check i {
    font-size: 18px;
}

/* 補足説明 */
.service-overview-note {
    max-width: 850px;
    margin: 35px auto 0;
    text-align: center;
    line-height: 2;
    color: #4c5963;
    font-size: 15px;
}

/* PCでは改行しない */
.sp-only {
    display: none;
}

/* スマートフォンでは指定位置で改行 */
@media (max-width: 768px) {
    .sp-only {
        display: inline;
    }

    .service-overview-note {
        text-align: left;
        line-height: 1.9;
    }

    .service-overview-note p {
        margin-bottom: 15px;
            word-break: normal;
    overflow-wrap: normal;
    line-break: strict;
    white-space: normal;
    text-align: left;
    }
}

/* =================================
   導入事例・実績
================================= */

.strength {
    background: #f5f8fa;
}

/* サービス形態 */

.strength-services {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 1000px;
    margin: 40px auto 0;
}

.strength-card {
    background: #fff;
    border: 1px solid #e0e8ed;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(20, 50, 75, 0.04);
}

.strength-card-heading {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 18px;
}

.strength-card-heading > i {
    font-size: 32px;
    color: #376b91;
    flex-shrink: 0;
}

.strength-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: #7895a9;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.strength-card-heading h3 {
    font-size: 19px;
    color: #285477;
    margin: 0;
}

.strength-card-text {
    font-size: 14px;
    line-height: 1.8;
    color: #52616d;
    margin-bottom: 18px;
    font-weight: 600;
}

.strength-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid #e5ebef;
    padding-top: 15px;
}

.strength-card li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.6;
    color: #405463;
}

.strength-card li:last-child {
    margin-bottom: 0;
}

.strength-card li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #6d9ab9;
}


/* 現在の導入実績 */

.strength-results {
    max-width: 1000px;
    margin: 65px auto 0;
}

.strength-results-heading {
    margin-bottom: 25px;
}

.strength-results-heading h3 {
    font-size: 23px;
    color: #285477;
    margin: 5px 0 10px;
}

.strength-results-heading > p:last-child {
    font-size: 14px;
    color: #687783;
    line-height: 1.7;
}

.strength-results-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.strength-result {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 16px 18px;
    background: #fff;
    border-left: 4px solid #6d9ab9;
    border-radius: 5px;
}

.strength-result-name {
    font-size: 15px;
    font-weight: 700;
    color: #285477;
}

.strength-result-area {
    font-size: 13px;
    color: #687783;
}


/* タブレット・PC */

@media (min-width: 768px) {

    .strength-services {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .strength-results-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


/* スマートフォン */
@media (max-width: 768px) {

    h2 {
        font-size: clamp(18px, 5vw, 22px);
        line-height: 1.5;
        letter-spacing: -0.03em;
    }

    h3 {
        font-size: clamp(16px, 4.5vw, 19px);
        line-height: 1.5;
        letter-spacing: -0.02em;
    }

    .service-flow {
        margin-top: 35px;
    }

     .management-heading {
        margin-bottom: 18px;
    }

    .management-heading h3 {
        font-size: 18px;
    }

    .management-item {
        padding: 17px 8px;
    }

    .management-item i {
        font-size: 24px;
    }

    .management-item span {
        font-size: 13px;
    }

    .flow-driver {
        flex-direction: column;
        text-align: center;
        padding: 25px 18px;
        gap: 15px;
    }

    .driver-icon {
        width: 65px;
        height: 65px;
        font-size: 30px;
    }

    .driver-text h3 {
        font-size: 18px;
    }

    .driver-check {
        justify-content: center;
    }
}

/* =========================
   導入の流れ
========================= */

.flow {
    background: #edf5fa;
}

.flow-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 25px;
}

.flow-step {
    position: relative;
    background: #fff;
    border: 1px solid #dce5eb;
    border-radius: 12px;
    padding: 30px 20px;
    position: relative;
}

/* 次のステップを示す矢印 */
.flow-step:not(:last-child)::after {
    content: "\f061";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    right: -21px;
    top: 65px;
    color: #C27A56;
    font-size: 18px;
}

.flow-icon {
    width: 66px;
    height: 66px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: #edf5fa;
    color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 27px;
}

.flow-number {
    display: inline-block;
    margin: 15px 0 8px;
    padding: 4px 13px;
    background: #183B59;
    color: #fff;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
}

.flow-step h3 {
    font-size: 17px;
    color: var(--navy);
    margin-bottom: 15px;
}

.flow-step p {
    font-size: 13px;
    color: var(--gray);
    line-height: 1.9;
    text-align: left;
}


/* =========================
   まずはお電話を
========================= */

.contact-cta {
    background: linear-gradient(135deg, #A85F43, #C27A56);
    color: #fff;
    padding: 75px 25px;
    text-align: center;
}

.contact-cta-inner {
    max-width: 850px;
    margin: auto;
}

.contact-cta-label {
    display: block;
    color: #9bc9e8;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 15px;
}

.contact-cta h2 {
    font-size: clamp(24px, 3vw, 34px);
    margin-bottom: 25px;
}

.contact-cta p {
    font-size: 15px;
    line-height: 2;
    color: #e0eaf1;
}

.contact-cta .contact-cta-note {
    font-size: 13px;
    margin-top: 15px;
    color: #b9cbd8;
}
.contact-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;

    padding: 17px 34px;
    margin-top:15px;

    color: #fff8ed;
    background: transparent;
    border: 2px solid rgba(255, 248, 237, 0.85);
    border-radius: 6px;

    font-size: 15px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.contact-cta-button:hover {
    background: #fff8ed;
    color: #A85F43;
    border-color: #fff8ed;
    transform: translateY(-3px);
}
.service-map-img {
    width: 100%;
    max-width: 800px;
    margin: 0 auto 20px;
    text-align: center;
}

.service-map-img img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 auto;
}
/* =========================
   各営業所のご案内
========================= */

.offices {
    background: #fff;
}

.offices-placeholder {
    max-width: 900px;
    margin: 40px auto 0;
    padding: 45px 20px;
    background: #f5f8fa;
    border-radius: 10px;
    text-align: center;
    color: var(--gray);
}

.offices-placeholder i {
    font-size: 32px;
    color: var(--blue);
    margin-bottom: 15px;
}

.offices-placeholder p {
    font-size: 14px;
}
/* 営業所案内：ネイビー背景専用 */
.offices .section-heading h2 {
    color: #fff;
}

.offices .section-heading p {
    color: #dce6ee;
}

.offices .section-heading .section-label {
    color: #e3a17f;
}
/* 営業所住所 */
.office-address {
    margin: 12px 0 8px;
    color: #87939d;
    font-size: 11px;
    line-height: 1.6;
    font-weight: normal;
}

.office-address i {
    margin-right: 4px;
    color: #aab4bc;
}
/* =========================
   タブレット
========================= */

@media (max-width: 1024px) {
    .flow-steps {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}


/* =========================
   スマートフォン
========================= */

@media (max-width: 768px) {

    .flow-steps {
         grid-template-columns: 1fr;
        gap: 35px;
    }

        .flow-step:not(:last-child)::after {
        content: "\f063";
        right: auto;
        left: 50%;
        top: auto;
        bottom: -45px;
        transform: translateX(-50%);
        font-size: 30px;
    }

    .flow-step {
        display: grid;
        grid-template-columns: 65px 1fr;
        grid-template-rows: auto auto 1fr;
        column-gap: 18px;
        padding: 22px 18px;
        text-align: left;
    }

    .flow-icon {
        grid-column: 1;
        grid-row: 1 / 4;
        width: 60px;
        height: 60px;
        margin: 0;
        font-size: 24px;
    }

    .flow-number {
        grid-column: 2;
        grid-row: 1;
        margin-bottom: 3px;
    }

    .flow-step h3 {
        grid-column: 2;
        grid-row: 2;
        font-size: 16px;
        margin-bottom: 8px;
    }

    .flow-step p {
        grid-column: 2;
        grid-row: 3;
        font-size: 13px;
    }

    .contact-cta {
        padding: 55px 20px;
    }

    .contact-cta h2 {
        font-size: 23px;
    }

    .contact-cta p {
        font-size: 14px;
    }

    .offices-placeholder {
        margin-top: 30px;
    }
}

/* =========================
   各営業所のご案内
========================= */

.offices {
    background: #183B59;
}

.office-grid {
    max-width: 1100px;
    margin: 45px auto 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.office-card {
    padding: 28px 20px;
    background: #fff;
    border: 1px solid #e2e9ee;
    border-radius: 8px;
    text-align: center;
    transition: 0.3s;
}

.office-card:hover {
    border-color: var(--blue);
    box-shadow: 0 6px 20px rgba(24, 59, 89, 0.08);
    transform: translateY(-3px);
}

.office-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-blue);
    color: var(--blue);
    border-radius: 50%;
    font-size: 20px;
}

.office-card h3 {
    color: var(--navy);
    font-size: 18px;
    margin-bottom: 5px;
}

.office-area {
    color: var(--gray);
    font-size: 13px;
    margin-bottom: 18px;
}

.office-tel {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    color: var(--navy);
    font-size: 20px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.office-tel i {
    color: var(--blue);
    font-size: 16px;
}

.office-tel:hover {
    color: var(--blue);
}


/* 営業時間・定休日 */

.office-hours {
    max-width: 700px;
    margin: 40px auto 0;
    padding: 22px 25px;
    display: flex;
    justify-content: center;
    gap: 50px;
    background: #f5f8fa;
    border-radius: 8px;
}

.office-hours > div {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gray);
    font-size: 14px;
}

.office-hours i {
    color: var(--blue);
    font-size: 17px;
}

.office-hours strong {
    color: var(--navy);
    font-weight: 700;
}


/* タブレット */

@media (max-width: 1024px) {
    .office-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


/* スマートフォン */

@media (max-width: 768px) {

    .office-grid {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-top: 30px;
    }

    .office-card {
        padding: 20px;
    }

    .office-card h3 {
        font-size: 17px;
    }

    .office-tel {
        font-size: 19px;
    }

    .office-hours {
        flex-direction: column;
        gap: 15px;
        padding: 22px;
        margin-top: 30px;
    }

    .office-hours > div {
        justify-content: center;
    }
}

/* =================================
   スマホ固定ボトムメニュー
================================= */

.mobile-bottom-nav {
    display: none;
}

.side-panel-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}

.side-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: min(400px, 88%);
    height: 100%;
    height: 100dvh;
    background: #fff;
    z-index: 9999;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    padding-bottom: env(safe-area-inset-bottom);
}

.side-panel-overlay.is-active {
    opacity: 1;
    visibility: visible;
}

.side-panel.is-active {
    transform: translateX(0);
}

.side-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 20px;
    background: #183B59;
    color: #fff;
}

.side-panel-header h2 {
    font-size: 20px;
    color: #fff;
}

.side-panel-close {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 50%;
    background: transparent;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
}

.side-panel-content {
    padding: 22px 20px 30px;
}

.side-panel-content[hidden] {
    display: none;
}

.side-panel-lead {
    margin-bottom: 20px;
    color: #687785;
    font-size: 14px;
}


/* 営業所一覧 */

.side-office-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.side-office-item {
    display: block;
    padding: 15px;
    border: 1px solid #dce5eb;
    border-radius: 8px;
    background: #fff;
}

.side-office-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.side-office-info strong {
    color: #183B59;
    font-size: 15px;
}

.side-office-info span {
    color: #687785;
    font-size: 12px;
}

.side-office-tel {
    color: #B96F4D;
    font-size: 18px;
    font-weight: 700;
}

.side-office-tel i {
    margin-right: 5px;
}

.side-panel-hours {
    margin-top: 20px;
    color: #687785;
    font-size: 13px;
    text-align: center;
}


/* サイトメニュー */

.side-menu-list {
    display: flex;
    flex-direction: column;
}

.side-menu-list a {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 17px 5px;
    border-bottom: 1px solid #e3e9ed;
    color: #183B59;
    font-size: 15px;
    font-weight: 600;
}

.side-menu-list a > i:first-child {
    width: 22px;
    color: #B96F4D;
    text-align: center;
}

.side-menu-list a > i:last-child {
    margin-left: auto;
    color: #9aa8b3;
    font-size: 12px;
}


/* =================================
   スマホ表示
================================= */

@media (max-width: 768px) {

    .mobile-bottom-nav {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        position: fixed;
        left: 0;
        bottom: 0;
        width: 100%;
        z-index: 9997;
        background: #fff;
        border-top: 1px solid #dce5eb;
        box-shadow: 0 -3px 12px rgba(0,0,0,0.08);
        padding: 8px 0 calc(8px + env(safe-area-inset-bottom));
    }

    .mobile-nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        border: none;
        background: transparent;
        color: #183B59;
        font-family: inherit;
        font-size: 11px;
        font-weight: 600;
        text-decoration: none;
        cursor: pointer;
    }

    .mobile-nav-item i {
        font-size: 19px;
    }

    .mobile-nav-phone {
        color: #B96F4D;
    }

    /* ボトムメニューに本文が隠れないようにする */
    body {
        padding-bottom: calc(65px + env(safe-area-inset-bottom));
    }

    /* パネル表示中は背景スクロールを止める */
    body.panel-open {
        overflow: hidden;
    }
}