html{
scroll-behavior: smooth;
}

/* 1. 共通設定（PC・スマホ両方）*/
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    margin: 0;
    padding: 0;
    background: linear-gradient(to bottom, #fde9d1, #f8d7b3); 
    display: flex;
    flex-direction: column;
    align-items: center;
}


input, button, textarea, select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}



header {
    display: flex;
flex-direction: row;/* 横並びにする命令 */
    align-items: center;
    justify-content: center;
    gap: 30px;
    width: 90%;
    max-width: 1100px;
    margin: 20px auto;
    border: 3px solid #1e90ff;
    border-radius: 20px;
    background-color: #ffffff;
    padding: 20px 30px;
    box-sizing: border-box;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.maruna-logo {
    color: #ff1493;
    font-size: 5.5em;
    font-weight: 800;
    line-height: 1.1;
}

.origin-text {
    font-size: 1.0rem;
    color: #555;
    font-weight: bold;
    margin-top: -5px;
    letter-spacing: 0.05em;
}

.service-names-left .service-name {
    font-family: "M PLUS Rounded 1c", sans-serif;
    font-size: 2.2em;
    font-weight: 700;
    color: #1e90ff;
    white-space: nowrap;
}

/* ボタン共通 */
.common-button {
    background-color: #3399FF;
    color: white;
    border: 2px solid #333;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.common-button:hover {
    background-color: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* 特徴カード */
.feature-container {
    width: 90%;
    max-width: 1000px;
    margin: 40px auto;
}

.feature-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.feature-card {
    background-color: #FFFFFF;
    border: 1px solid #ffebcd;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    flex: 1 1 calc(33% - 40px); /* PCでは3カラム */
    min-width: 280px;
    transition: transform 0.3s;
}

/* 写真・画像 */
.photo-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 20px;
    background-color: #f0f0f0;
    border-radius: 12px;
}

.photo {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 8px;
    display: block;
}

/* キャッチフレーズ */
.catch-phrase-container {
    width: 90%;
    max-width: 800px;
    margin: 40px auto;
    padding: 35px 25px;
    background: linear-gradient(135deg, #f0f4f8 0%, #e8edf2 100%);
    border: 3px solid #ff69b4;
    border-radius: 12px;
    text-align: center;
    animation: glowing-border 3s infinite alternate ease-in-out;
}

/* 予約・連絡先セクション */
.contact-info-container {
    display: flex;
    border: 2px solid #4a7ab5;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    max-width: 900px;
    margin: 20px auto;
}

.reservation-step-vertical {
    background-color: #4a7ab5;
    color: #ffffff;
    width: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.reservation-step-vertical span {
    writing-mode: vertical-rl;
    font-size: 1.4em;
    font-weight: bold;
}

.reservation-details {
    flex: 1;
    padding: 30px;
    text-align: center;
}

.phone-number {
    font-size: 3em !important;
    font-weight: 900;
    color: #cc0000 !important;
    margin: 10px 0;
    display: block;
}

/* 資格テーブル */
.certifications-table {
    display: flex;
    flex-direction: column;
    border: 2px solid #4a7ab5;
    border-radius: 4px;
    overflow: hidden;
    max-width: 800px;
    margin: 0 auto;
}

.cert-row {
    display: flex;
    border-bottom: 1px solid #4a7ab5;
}

.cert-label {
    flex: 0 0 35%;
    background-color: #f8fafd;
    padding: 15px;
    font-weight: bold;
    border-right: 1px solid #4a7ab5;
}

.cert-content {
    flex: 1;
    padding: 15px 20px;
    text-align: left;
}

/* コピーライト */
.copyright {
    text-align: center;
    padding: 20px;
    font-size: 0.8em;
    color: #555;
}

/* アニメーション */
@keyframes glowing-border {
    0% { border-color: #ff69b4; box-shadow: 0 0 5px #ff69b4; }
    50% { border-color: #ffd700; box-shadow: 0 0 20px #ffd700; }
    100% { border-color: #ff69b4; box-shadow: 0 0 5px #ff69b4; }
}


/* 2. スマートフォン用設定 (768px以下) */
@media screen and (max-width: 768px) {
    
   
    header {
        flex-direction: column; /* 縦並びにする */
        width: 95% !important;
        padding: 15px;
        gap: 10px;
    }

    /* ボタンを囲んでいる親要素 */
    .button-container {
        display: flex !important;
        flex-wrap: wrap !important;     /* 画面幅に合わせて折り返す */
        justify-content: center !important; /* 中央寄せ */
        gap: 10px !important;           /* ボタン同士の隙間 */
        width: 100% !important;
        padding: 10px 0;
    }

    /* 各ボタン自体の設定 */
    .button-container a, 
    .common-button {
        flex: 1 1 calc(50% - 20px) !important; /* スマホで2列に並べる */
        min-width: 140px !important;          /* 小さくなりすぎないように */
        text-align: center !important;
        padding: 10px 5px !important;
        font-size: 0.9rem !important;
    }

   


    .maruna-logo { font-size: 2.5em; }
    .service-names-left .service-name { font-size: 1.2em; }

    .feature-card {
        flex: 1 1 100%;
    }

    .photo-container {
        flex-direction: column;
        align-items: center;
    }

    .contact-info-container {
        flex-direction: column;
    }

    .reservation-step-vertical {
        width: 100%;
        height: 50px;
    }

    .reservation-step-vertical span {
        writing-mode: horizontal-tb;
        letter-spacing: 0.5em;
    }

    .phone-number {
        font-size: 2em !important;
    }

    .cert-row {
        flex-direction: column;
    }

    .cert-label {
        border-right: none;
        border-bottom: 1px solid #eee;
    }
}





/* --- ライトボックス（画像拡大）の徹底修正 --- */

/* 背景全体の設定 */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999; /* 他の要素より一番前に出す */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.85); /* 背景を少し濃いめに */
    cursor: pointer; /* 画面クリックで閉じる感を出します */
}

/* 拡大写真そのものの設定 */
.lightbox-content {
    position: fixed; /* 画面に対して固定 */
    top: 50%;        /* 縦中央 */
    left: 50%;       /* 横中央 */
    transform: translate(-50%, -50%); /* 完全にど真ん中に配置 */
    
    margin: 0;
    display: block;
    width: auto;     /* 横幅を自動に */
    height: auto;    /* 高さを自動に */
    
    /* ↓ここが最重要：PCでの最大サイズ制限 */
    max-width: 500px;  /* PCではこの幅以上になりません（お好みで調整してください） */
    max-height: 80vh;  /* 画面の高さの8割までに抑える */
    
    border: 6px solid white; /* 写真に白い縁をつけて見栄えを良く */
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
}

/* スマホでは画面いっぱいに表示したい場合 */
@media screen and (max-width: 768px) {
    .lightbox-content {
        max-width: 90%; /* スマホでは画面の9割まで広げる */
        border-width: 4px;
    }
}

/* 閉じる「×」ボタン */
.close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #ffffff;
    font-size: 60px;
    font-weight: bold;
    transition: 0.3s;
    z-index: 10000;
}

.close:hover {
    color: #ff69b4;
    cursor: pointer;
}



/* --- 料金表デザイン修正（PCでの幅拡大版） --- */

/* 1. 外側の白い枠をPCの画面幅に合わせて広くする */
.price-list {
    background-color: #ffffff !important;
    width: 90% !important;        /* 画面の90%まで広げる */
    max-width: 1100px !important;  /* 最大幅をヘッダー等と合わせる */
    margin: 40px auto !important;
    padding: 30px 60px !important; /* 内側の余白を左右にたっぷり取る */
    border-radius: 20px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
    box-sizing: border-box !important;
}

/* 2. 各行の幅を100%にして、中身を左右に引き離す */
.price-item {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important; /* これで左右に広がります */
    align-items: center !important;
    border-bottom: 2px solid #f8f8f8 !important; /* 線を少し太く見やすく */
    padding: 25px 0 !important;   /* 上下の間隔を広げてゆったりさせる */
    width: 100% !important;
}

.price-item:last-child {
    border-bottom: none !important;
}

/* 3. 各項目の文字サイズと配置の調整 */

/* 左側：タイトル */
.item-title {
    color: #1e90ff !important;
    font-weight: bold !important;
    font-size: 1.4em !important; /* PC向けに少し大きく */
    flex: 1.5 !important;
    text-align: left !important;
    margin: 0 !important;
}

/* 中央：説明 */
.item-description {
    color: #666 !important;
    font-size: 1.1em !important;
    flex: 2 !important;
    text-align: left !important; /* PCでは左寄せの方が見やすいので変更 */
    margin: 0 !important;
    padding-left: 20px !important;
}

/* 右側：金額 */
.item-price {
    color: #333 !important;
    font-weight: 900 !important;
    font-size: 1.6em !important; /* 金額を強調 */
    flex: 1.5 !important;
    text-align: right !important;
    margin: 0 !important;
}

/* 4. スマホでは元のコンパクトな形に戻す */
@media screen and (max-width: 768px) {
    .price-list {
        padding: 15px 20px !important;
        width: 95% !important;
    }
    .price-item {
        padding: 15px 0 !important;
    }
    .item-title { font-size: 1.1em !important; }
    .item-description { font-size: 0.9em !important; padding-left: 10px !important; }
    .item-price { font-size: 1.2em !important; }
}






/* --- 料金表デザイン修正（幅最大・1行維持版） --- */

/* 1. 白い枠をさらに広げ、横長のデザインにする */
.price-list {
    background-color: #ffffff !important;
    width: 100% !important;           /* 画面の横幅をほぼいっぱいに使う */
    max-width: 1200px !important;    /* 最大幅をさらに引き上げ */
    margin: 40px auto !important;
    padding: 40px 80px !important;    /* 左右の余白をさらに増やして高級感を出す */
    border-radius: 25px !important;
    box-shadow: 0 12px 40px rgba(0,0,0,0.12) !important;
    box-sizing: border-box !important;
}

/* 2. 各行の設定：文字が絶対に折れないように調整 */
.price-item {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    border-bottom: 2px solid #f5f5f5 !important;
    padding: 30px 0 !important;      /* 上下間隔を広げてゆったりさせる */
    width: 100% !important;
    white-space: nowrap !important;  /* 【重要】文字の折り返しを禁止 */
}

.price-item:last-child {
    border-bottom: none !important;
}

/* 3. 各項目の幅比率を最適化 */

/* 左側：項目タイトル（時間制運賃などが1行で収まる幅を確保） */
.item-title {
    color: #1e90ff !important;
    font-weight: bold !important;
    font-size: 1.5em !important;
    flex: 2 !important;             /* 比率を増やして横幅を確保 */
    text-align: left !important;
    margin: 0 !important;
}

/* 中央：説明（309mごとに等） */
.item-description {
    color: #666 !important;
    font-size: 1.2em !important;
    flex: 3 !important;             /* 中央部分も広く取る */
    text-align: left !important;
    margin: 0 !important;
    padding-left: 30px !important;
}

/* 右側：金額（3,040円等） */
.item-price {
    color: #333 !important;
    font-weight: 900 !important;
    font-size: 1.8em !important;
    flex: 1.5 !important;
    text-align: right !important;
    margin: 0 !important;
}

/* 4. スマホ版では自動的に最適なサイズへ縮小 */
@media screen and (max-width: 900px) {
    .price-list {
        padding: 20px 30px !important;
        width: 98% !important;
    }
    .price-item {
        padding: 20px 0 !important;
        white-space: normal !important; /* スマホでは折れてもOKにする */
    }
    .item-title { font-size: 1.2em !important; flex: 1.2 !important; }
    .item-description { font-size: 1.0em !important; padding-left: 10px !important; }
    .item-price { font-size: 1.3em !important; }
}






/* --- 「このような時にご利用ください」PC版デザイン修正 --- */

/* 1. リスト全体のコンテナ設定 */
.second-list-dl {
    display: flex !important;
    flex-wrap: wrap !important;     /* 横に並べて、入り切らない分は下に */
    justify-content: center !important;
    gap: 25px !important;           /* カード同士の隙間 */
    width: 95% !important;
    max-width: 1200px !important;   /* 料金表と同じ最大幅に合わせる */
    margin: 30px auto !important;
    padding: 0 !important;
}

/* 2. 各項目を「白いカード」にする */
.second-list-item {
    background-color: #ffffff !important;
    border-radius: 15px !important;
    padding: 30px !important;
    box-shadow: 0 6px 15px rgba(0,0,0,0.08) !important; /* スマホ版のような影 */
    
    /* PCでは2カラム（1行に2つ）並べる設定 */
    flex: 0 1 calc(50% - 30px) !important; 
    min-width: 350px !important;    /* 極端に狭くなるのを防ぐ */
    
    display: flex !important;
    flex-direction: column !important;
    box-sizing: border-box !important;
    transition: transform 0.2s ease;
}

.second-list-item:hover {
    transform: translateY(-5px);    /* マウスを乗せた時に少し浮く演出 */
}

/* 3. カード内のタイトル（例：病院への付き添い） */
.second-list-item .item-title {
    color: #1e90ff !important;      /* スマホ版と同じ青色 */
    font-size: 1.4em !important;
    font-weight: bold !important;
    margin-bottom: 15px !important;
    text-align: left !important;
}

/* 4. カード内の説明文 */
.second-list-item .item-description {
    color: #555 !important;
    font-size: 1.1em !important;
    line-height: 1.7 !important;
    text-align: left !important;
    margin: 0 !important;
}

/* 5. スマホ（画面幅が狭い時）は1列に戻す */
@media screen and (max-width: 768px) {
    .second-list-item {
        flex: 0 1 100% !important;
        padding: 20px !important;
    }
    .second-list-item .item-title {
        font-size: 1.2em !important;
    }
}




/* --- 「ご利用いただける方」セクションのPC用デザイン修正 --- */

/* 1. 外側のカード本体：PC幅に合わせて広く、かつ浮き出るように */
.eligibility-emphasis-card {
    width: 90% !important;
    max-width: 1100px !important; /* 料金表の幅と合わせる */
    margin: 50px auto !important;
    padding: 40px !important;
    background-color: #ffffff !important; 
    border: 2px solid #ffccdd !important; /* ピンクの細い枠線 */
    border-radius: 20px !important; 
    box-shadow: 0 8px 25px rgba(255, 105, 180, 0.1) !important;
    text-align: center !important;
    box-sizing: border-box !important;
}

/* 2. タイトル：大きく、丸みのあるフォントで親しみやすく */
.card-heading {
    color: #ff69b4 !important; 
    font-size: 2.2em !important;
    font-weight: bold !important;
    margin: 0 0 25px 0 !important;
    font-family: "M PLUS Rounded 1c", sans-serif !important;
}

/* 3. 内側の強調ボックス：点線で囲んで「特別な案内」感を出す */
.emphasis-box {
    display: block !important; /* 絵文字がないので中央揃えのブロックに */
    padding: 30px !important;
    background-color: #fffafc !important; /* ごく薄いピンク背景 */
    border: 3px dashed #ff69b4 !important; /* ピンクの点線 */
    border-radius: 15px !important;
    margin: 0 auto !important;
    max-width: 900px !important;
}

/* 4. メインのテキスト：太く、ハッキリと */
.main-emphasis-text {
    font-size: 1.5em !important;
    font-weight: 900 !important; 
    color: #cc0066 !important; 
    margin: 0 !important;
    line-height: 1.6 !important;
}

/* 5. 下線強調：太めの黄色で「ここが大事」と伝える */
.highlight-underline {
    display: inline !important; /* テキストの流れに合わせる */
    padding-bottom: 2px !important;
    background: linear-gradient(transparent 60%, #fff1a8 60%) !important; /* 蛍光ペン風の下線 */
    font-weight: bold !important;
    color: #333 !important;
}

/* 6. スマホ（画面幅が狭い時）の調整 */
@media screen and (max-width: 768px) {
    .eligibility-emphasis-card {
        padding: 25px 15px !important;
        width: 95% !important;
    }
    .card-heading {
        font-size: 1.6em !important;
    }
    .main-emphasis-text {
        font-size: 1.1em !important;
    }
    .emphasis-box {
        padding: 20px 10px !important;
    }
}





/* --- 運賃参考事例（シミュレーション）PC版デザイン修正 --- */

/* 1. 全体を囲むコンテナ：他のカードと幅を合わせる */
.calculation-container {
    width: 90% !important;
    max-width: 1100px !important;
    margin: 50px auto !important;
    padding: 20px 0 !important;
    text-align: center !important;
}

/* 2. 距離制・時間制の各プランカード */
.fare-plan-card {
    background-color: #ffffff !important;
    border-radius: 15px !important;
    padding: 35px !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08) !important;
    margin-bottom: 40px !important;
    border: 1px solid #eee !important;
    box-sizing: border-box !important;
}

.fare-title {
    font-family: "M PLUS Rounded 1c", sans-serif !important;
    font-size: 1.6em !important;
    font-weight: bold !important;
    margin-bottom: 20px !important;
}

/* プランごとの色分け */
.distance-plan .fare-title { color: #708090 !important; } /* 距離制: グレー */
.time-plan .fare-title { color: #1e90ff !important; }    /* 時間制: 青 */

/* 3. テーブルの調整：PCで見やすく横長に */
.fare-table-wrapper table {
    width: 100% !important;
    border-collapse: collapse !important;
    margin: 20px 0 !important;
    font-size: 1.1em !important;
    background: #fff !important;
}

.fare-table-wrapper th,
.fare-table-wrapper td {
    border: 1px solid #ddd !important;
    padding: 15px !important;
    text-align: center !important;
}

.fare-table-wrapper th {
    background-color: #f8f9fa !important;
    color: #333 !important;
}

/* 4. 介助料・合計金額エリア */
.assistance-info {
    margin: 25px auto !important;
    padding: 20px !important;
    background-color: #fffde7 !important; /* 薄い黄色 */
    border: 1px dashed #ffd54f !important;
    border-radius: 10px !important;
}

.total-box {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin-top: 25px !important;
    padding: 20px !important;
    background-color: #e3f2fd !important; /* 薄い青 */
    border-top: 3px double #1e90ff !important;
    border-radius: 0 0 15px 15px !important;
}

.total-label {
    font-size: 1.4em !important;
    font-weight: bold !important;
    margin-right: 20px !important;
}

.total-price {
    font-size: 2.2em !important;
    font-weight: 900 !important;
    color: #d90e6c !important; /* 金額は目立つピンク */
}

/* 5. 推奨プラン（お得な案内）の強調 */
.recommendation-info {
    width: 100% !important;
    max-width: 700px !important;
    margin: 20px auto 40px auto !important;
    padding: 25px !important;
    background-color: #fff9c4 !important; /* 強調の黄色 */
    border: 3px solid #ffb300 !important;
    border-radius: 15px !important;
    box-shadow: 0 5px 15px rgba(255, 179, 0, 0.2) !important;
}

.highlight {
    display: inline-block !important;
    font-size: 1.6em !important;
    color: #cc0000 !important;
    font-weight: 900 !important;
    margin-top: 10px !important;
    border-bottom: 2px solid #cc0000 !important;
}

/* スマホ用の微調整（レスポンシブ） */
@media screen and (max-width: 768px) {
    .fare-plan-card { padding: 20px !important; }
    .fare-table-wrapper th, .fare-table-wrapper td { padding: 10px 5px !important; font-size: 0.9em !important; }
    .total-price { font-size: 1.6em !important; }
    .total-box { flex-direction: column !important; gap: 10px !important; }
}




/* --- おすすめプラン（シミュレーション）をさらに目立たせる修正 --- */

/* 1. おすすめエリア全体のコンテナ */
.recommendation-info {
    position: relative !important; /* バッジを置くために必要 */
    width: 95% !important;
    max-width: 750px !important;
    margin: 30px auto 50px auto !important;
    padding: 35px 25px !important;
    background: linear-gradient(145deg, #fffffa, #fff9c4) !important; /* ほんのりグラデーション */
    border: 4px solid #ffaa00 !important; /* 枠線を太く */
    border-radius: 20px !important;
    box-shadow: 0 10px 25px rgba(255, 165, 0, 0.3) !important; /* 影を強調 */
    overflow: visible !important; /* バッジを枠外にはみ出させる */
}

/* 2. 「お得！」バッジを左上に追加 */
.recommendation-info::before {
    content: "おすすめ！" !important;
    position: absolute !important;
    top: -20px !important;
    left: 20px !important;
    background-color: #ff4500 !important; /* 鮮やかなオレンジレッド */
    color: #fff !important;
    padding: 8px 20px !important;
    font-size: 1.2em !important;
    font-weight: 900 !important;
    border-radius: 50px !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2) !important;
    z-index: 1 !important;
}

/* 3. 矢印コンテナの調整 */
.arrow-container {
    display: flex !important;
    flex-direction: column !important; /* PCでも縦に並べて「結論」を強調 */
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
}

/* 4. メインのテキスト */
.recommendation-info p {
    font-size: 1.3em !important;
    font-weight: bold !important;
    color: #444 !important;
    margin: 0 !important;
}

/* 5. 「〇〇円お得！」の数字を最大化 */
.highlight {
    display: block !important;
    font-size: 2.2em !important; /* 数字を非常に大きく */
    color: #cc0000 !important;
    font-weight: 900 !important;
    margin-top: 10px !important;
    text-shadow: 1px 1px 0 #fff, 2px 2px 0 rgba(0,0,0,0.1) !important; /* 文字に立体感 */
}

/* 6. アニメーション（ピョコピョコ動く） */
.recommendation-arrow p {
    font-size: 2.5em !important; /* 矢印を大きく */
    color: #ff4500 !important;
    animation: bounce 0.8s infinite !important; /* 少し速くして注目させる */
}

/* スマホ用の調整 */
@media screen and (max-width: 768px) {
    .recommendation-info {
        padding: 30px 15px !important;
        margin-top: 40px !important;
    }
    .recommendation-info::before {
        font-size: 1.0em !important;
        top: -15px !important;
    }
    .highlight {
        font-size: 1.7em !important;
    }
}

/* --- サービス内容の具体例 デザイン微調整版 --- */

/* 1. 外側のカード全体 */
.details-card {
    background-color: #ffffff !important;
    width: 90% !important;
    max-width: 1100px !important;
    margin: 40px auto !important;
    padding: 40px !important;
    border-radius: 20px !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08) !important;
}

/* 2. タイトルの文字色（青から落ち着いたグレー＋ピンク線へ） */
.details-card h3 {
    color: #444 !important; /* 青から濃いグレーに変更 */
    font-size: 1.8em !important;
    font-weight: bold !important;
    margin-bottom: 35px !important;
    text-align: center !important;
    position: relative;
    padding-bottom: 12px;
}

.details-card h3::after {
    content: "" !important;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #ff69b4 !important; /* ピンクのアクセント */
    border-radius: 2px;
}

/* 3. 各リスト項目の調整（横1列に収める） */
.service-list li {
    flex: 0 1 calc(50% - 20px) !important;
    background-color: #fff9fb !important; /* ごく薄いピンク背景に変更 */
    padding: 22px !important;
    border-radius: 12px !important;
    border-left: 6px solid #ff69b4 !important; /* 青からピンクの線に変更 */
    font-size: 1.05em !important;
    line-height: 1.6 !important;
    display: flex !important;
    flex-direction: column !important; /* 縦並びにして、タイトルと説明を分ける */
    align-items: flex-start !important;
    box-sizing: border-box !important;
}

/* 4. 【 】内の文字を絶対に1行で表示する設定 */
.service-list li b {
    color: #cc0066 !important; /* 【 】内の文字色 */
    font-size: 1.15em !important;
    font-weight: 900 !important;
    margin-bottom: 8px !important;
    white-space: nowrap !important; /* これで絶対に折れなくなります */
    display: block !important;
}

/* 5. 説明文の文字色 */
.service-list li {
    color: #555 !important;
}

/* 6. スマホ用の調整 */
@media screen and (max-width: 768px) {
    .service-list li {
        flex: 0 1 100% !important;
        white-space: normal !important; /* スマホでは画面からはみ出さないよう折る */
    }
    .service-list li b {
        white-space: normal !important; 
    }
}







/* --- サービスご利用の流れ カラー変更版 --- */

/* 1. セクションタイトルの下線（オレンジに変更） */
.flow-section h4::after {
    content: "" !important;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: #ff9800 !important; /* 鮮やかなオレンジ */
    border-radius: 2px;
}

/* 2. ステップ番号（① ② ③）の丸いバッジ */
.step-number {
    background-color: #ff9800 !important; /* ピンクからオレンジに変更 */
    color: #ffffff !important;
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.5em !important;
    font-weight: bold !important;
    margin-bottom: 20px !important;
    box-shadow: 0 4px 12px rgba(255, 152, 0, 0.3) !important; /* 影もオレンジ系に */
}

/* 3. ステップごとのタイトル文字色 */
.flow-step h3 {
    font-size: 1.3em !important;
    color: #444 !important; /* 青から濃いグレーに変更して落ち着いた印象に */
    margin-bottom: 15px !important;
    font-weight: bold !important;
}

/* 4. カードの枠線（ほんのりオレンジのニュアンス） */
.flow-step {
    flex: 1 !important;
    background-color: #ffffff !important;
    border-radius: 20px !important;
    padding: 35px 20px !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05) !important;
    border: 1px solid #ffecb3 !important; /* 薄いオレンジの枠線 */
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
}

/* 5. カードにマウスを乗せた時の変化 */
.flow-step:hover {
    border-color: #ff9800 !important; /* ホバー時に枠がオレンジに強調される */
    transform: translateY(-5px) !important;
}




/* --- 訪問美容セクション専用デザイン（ブルーベース） --- */

/* 1. 訪問美容セクション全体の設定 */
.visiting-beauty {
    margin-top: 60px;
    padding-bottom: 60px;
}

/* 2. 料金リストの装飾（タクシー料金と同じ白枠にする） */
.price-list {
    background-color: #ffffff !important;
    width: 90% !important;
    max-width: 1100px !important;
    margin: 40px auto !important;
    padding: 30px 60px !important; /* PC向けに左右の余白を多めに */
    border-radius: 20px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
    box-sizing: border-box !important;
}

/* 3. 各項目のタイトル色をピンクからブルーへ */
.item-title {
    color: #1e90ff !important; /* ピンクからブルーに変更 */
}

/* 4. 合計行の装飾*/
.total-beauty-row {
    background-color: #f8f8f8 !important; /* 薄いピンクから薄いグレーに変更 */
    border-radius: 10px;
    padding: 15px 20px !important;
    margin-top: 10px;
    border-bottom: none !important;
}

/* 5. 合計金額の色をピンクからブルーへ */
.total-beauty-row .item-price {
    color: #1e90ff !important; /* ピンクからブルーに変更 */
    font-size: 2em !important;
}

/* 6. 注意事項カードのカスタマイズ（枠線をピンクからグレーへ） */
.beauty-details {
    border: 2px solid #ddd !important; /* ピンクから薄いグレーの枠に変更 */
    background-color: #ffffff !important;
}

/* 7. 注意事項の見出し色をピンクから濃いグレーへ */
.beauty-details h3 {
    color: #444 !important; /* ピンクから濃いグレーに変更 */
}

/* 8. 注意事項見出し下のアクセント線をピンクからブルーへ */
.beauty-details h3::after {
    background-color: #1e90ff !important; /* ピンクからブルーに変更 */
}

/* 9. リスト項目の左線と背景（ピンクをブルーとグレーへ） */
.beauty-details .service-list li {
    border-left: 6px solid #1e90ff !important; /* ピンクからブルーに変更 */
    background-color: #f8f8f8 !important; /* 薄いピンクから薄いグレーに変更 */
    margin-bottom: 15px !important;
    width: 100% !important;
    flex: 1 1 100% !important;
}

/* 10. 【 】内の文字色をピンクからブルーへ */
.service-list li b {
    color: #1e90ff !important; /* ピンクからブルーに変更 */
}

/* 11. スマホ対応（合計金額のサイズ調整） */
@media screen and (max-width: 768px) {
    .price-list {
        padding: 15px 20px !important;
        width: 95% !important;
    }
    .total-beauty-row .item-price {
        font-size: 1.5em !important;
    }
}


/* --- 資格・許可セクションのデザイン修正 --- */

/* 外側のコンテナ */
.certifications-section {
    width: 90% !important;
    max-width: 900px !important;
    margin: 40px auto !important;
}

/* リスト全体の枠組み */
.cert-list {
    background-color: #ffffff !important;
    border-radius: 15px !important;
    padding: 10px !important;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05) !important;
    border: 1px solid #e0e0e0 !important;
}

/* 各行の設定 */
.cert-item {
    display: flex !important;
    align-items: center !important;
    padding: 20px !important;
    border-bottom: 1px solid #f0f0f0 !important;
}

.cert-item:last-child {
    border-bottom: none !important;
}

/* 左側の項目名 */
.cert-label {
    flex: 0 0 35% !important;
    font-weight: bold !important;
    color: #333 !important;
    font-size: 1.1em !important;
    position: relative !important;
    padding-left: 20px !important;
    text-align: left !important;
}

/* 青色の縦線アクセント */
.cert-label::before {
    content: '' !important;
    position: absolute !important;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 1.2em;
    background-color: #1e90ff !important;
    border-radius: 3px;
}

/* 右側の内容 */
.cert-content {
    flex: 1 !important;
    color: #555 !important;
    font-size: 1em !important;
    text-align: left !important;
    padding-left: 10px !important;
}

/* スマホ用のレスポンシブ調整 */
@media screen and (max-width: 768px) {
    .cert-item {
        flex-direction: column !important;
        align-items: flex-start !important;
        padding: 15px !important;
    }
    
    .cert-label {
        flex: 0 0 auto !important;
        width: 100% !important;
        margin-bottom: 8px !important;
    }
    
    .cert-content {
        padding-left: 20px !important;
    }
}




/* ご予約・お問い合わせセクションのデザイン修正 --- */

/* 見出しのスタイル調整 */
.contact-heading {
    text-align: center;
    margin-bottom: 20px;
}

.heading-text {
    font-size: 1.8em;
    font-weight: bold;
    color: #333;
}

/* 箇条書きを中央で左揃えにする魔法の設定 */
.list-centering-wrapper {
    display: flex;
    justify-content: center; /* 枠自体は中央に */
    width: 100%;
    margin-top: 15px;
}

.confirm-list-revised {
    display: inline-block; /* 中身の幅に合わせて伸縮 */
    text-align: left;      /* 文字は左寄せ */
    list-style: none;
    padding: 0;
    margin: 0;
}

.confirm-list-revised li {
    font-size: 1.1em;
    line-height: 2;         /* 行間を広げて見やすく */
    color: #444;
    display: flex;
    align-items: flex-start;
}

/* ⚪の設定 */
.check-mark {
    color: #000000        /*黒 */
    font-weight: bold;
    margin-right: 12px;     /* 文字との間隔 */
    flex-shrink: 0;         /* 丸印が潰れないように */
}

/* 長い項目（移送手段）の設定 */
.confirm-list-revised li.full-width {
    margin-top: 5px;
    margin-bottom: 5px;
}

/* 電話番号周りの装飾 */
.phone-box {
    background-color: #f0f8ff; 
    border-radius: 12px;
    padding: 20px;
    margin: 20px auto;
    max-width: 500px;
    border: 1px solid #e3f2fd;
}

.phone-label {
    color: #1e90ff;
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
}

/* --- 電話番号のサイズ調整（スマホ対応強化） --- */

/* 1. PCでの見た目：少しだけ控えめに */
.phone-number a {
    color: #cc0000 !important;
    font-size: 1.8em !important; /* 少し小さくして可読性アップ */
    font-weight: 800 !important; /*少しだけスッキリさせます */
    letter-spacing: 0.5px;
}

/* 2. スマホ（横幅768px以下）での見た目：ここが重要！ */
@media screen and (max-width: 768px) {
    .phone-number a {
        font-size: 1.35em !important; /* 1行に収まる限界の大きさに設定 */
        letter-spacing: -0.5px;      /* わずかに字間を詰めて1行を死守します */
        display: inline-block;
        width: 100%;
        line-height: 1.2;
    }


.phone-number a::before {
        font-size: 0.9em;
    }
    
    .phone-box {
        padding: 10px 5px !important;
    }
}



/* --- お問い合わせモダンデザイン --- */

.modern-contact {
    padding: 60px 20px;
    background-color: transparent; /* 背景色は全体のベージュを活かす */
    text-align: center;
}

.contact-main-title {
    font-size: 1.8em;
    font-weight: bold;
    color: #444;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

/* 飾りの下線 */
.contact-main-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #1e90ff; 
    border-radius: 2px;
}

/* カード部分 */
.contact-card {
    background: #ffffff !important;
    max-width: 650px;
    margin: 0 auto;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    border: 1px solid #f0f0f0;
}

/* 連絡先項目 */
.method-item {
    margin-bottom: 25px;
}

.method-label {
    display: block;
    font-size: 0.9em;
    color: #888;
    margin-bottom: 5px;
}

.method-link {
    font-size: 1.6em;
    font-weight: bold;
    color: #333;
    text-decoration: none;
}

.tel-link {
    color: #cc0000 !important; /* 電話は赤で認識しやすく */
    transition: opacity 0.3s;
}

.tel-link:hover {
    opacity: 0.7;
}

.mail-text {
    font-size: 1.3em;
    color: #333;
    margin: 0;
}

.appointment-note {
    color: #cc0000;
    font-weight: bold;
    font-size: 0.95em;
    background: #fff5f5;
    display: inline-block;
    padding: 5px 15px;
    border-radius: 50px;
}

/* 区切り線 */
.contact-divider {
    border: none;
    border-top: 1px dashed #ddd;
    margin: 30px 0;
}

/* 営業情報 */
.info-badge {
    background-color: #1e90ff;
    color: #fff;
    font-size: 0.8em;
    padding: 3px 10px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 8px;
}

.business-details p, 
.business-details address {
    font-style: normal;
    font-size: 1.05em;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
    .contact-card {
        padding: 30px 20px;
    }
    
    .method-link {
        font-size: 1.4em;
    }
    
    .mail-text {
        font-size: 1.1em;
    }
}




/*  ページトップへ戻るボタン（スクロール出現・追尾型） --- */
.page-top-btn {
    position: fixed;
    right: 25px;
    bottom: 25px;
    width: 60px;                /* ボタンの大きさ */
    height: 60px;
    background-color: #1e90ff;  /* 清潔感のあるブルー */
    color: #fff !important;
    border-radius: 50%;         /* 完全な丸にする */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    z-index: 10000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;  /* ふわっと出すアニメーション */
}

/* ボタンの中のアイコンと文字 */
.page-top-btn i {
    font-size: 22px;
    margin-bottom: 2px;
}
.page-top-btn span {
    font-size: 10px;
    font-weight: bold;
}

/* スクロールした時に付与するクラス */
.page-top-btn.is-show {
    opacity: 1;
    visibility: visible;
}

/* （マウスを乗せた時）の動き */
.page-top-btn:hover {
    background-color: #0073e6;
    transform: translateY(-5px);
}

/* スマホでは少しだけ小さくして邪魔にならないようにする */
@media screen and (max-width: 768px) {
    .page-top-btn {
        width: 50px;
        height: 50px;
        right: 15px;
        bottom: 15px;
    }
    .page-top-btn i { font-size: 18px; }
}



/* 「料金(税込み)」を中央に寄せる設定 */
.center {
    width: 100%;        /* 横幅いっぱいにする */
    text-align: center; /* 文字を中央に寄せる */
    margin: 20px 0;    /* 上下の余白（調整可） */
    font-weight: bold;  /* 目立たせる場合は太字に */
}


/* 見出しを確実に中央寄せにする設定 */
.section-heading {
    text-align: center; /* 文字を中央に寄せる */
    width: 100%;        /* 親要素の幅いっぱいにする */
    display: block;      /* ブロック要素として扱う */
    margin: 0 auto;     /* 左右の余白を自動で均等にする */
    
    /* お好みで：左右の★と文字の間隔を広げてバランスをとる */
    letter-spacing: 0.1em; 
}



/* 「★ 介護タクシー ★」を中央に寄せる設定 */
.section-title {
    width: 100% !important;    /* 横幅を画面いっぱいに確保する */
    text-align: center !important; /* （画面中央）に文字を置く */
    display: block !important;  /* 他の要素に邪魔されないよう独立させる */
    margin-top: 40px !important; /* 上のカードとの間隔を調整（数値はお好みで） */
    margin-bottom: 20px !important; /* 下の「料金(税込み)」との間隔 */
    font-weight: bold;          /* 太字にして見栄えを良くする */
}


.review-section {
    text-align: center;
    padding: 40px 20px;
    background-color: #fff; /* 背景を白にして清潔感を */
    border-top: 1px solid #eee;
}

.review-text {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 20px;
    font-weight: bold;
}

.google-review-button {
    display: inline-block;
    background-color: #ffffff;
    color: #4285F4; /* Googleブルー */
    border: 2px solid #4285F4;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.google-review-button:hover {
    background-color: #4285F4;
    color: #fff;
}

.review-icon {
    margin-right: 8px;
}