       body {
            font-family: 'M PLUS 1', 'Noto Sans JP', 'Helvetica Neue', Arial, 'Meiryo', sans-serif;
            background-color: white;
            margin: 0;
            padding-top: env(safe-area-inset-top);
            padding: 0;
            display: flex;
            flex-direction: column;
            min-height: 100vh;
        }
        .header {
            position: sticky;
            top: 0;
            min-height: calc(48px + env(safe-area-inset-top));
            padding: calc(env(safe-area-inset-top) + 8px) 16px 8px 16px;
            background-color: #f6f1f1;
            display: flex;
            justify-content: space-between;
            align-items: center;
            box-sizing: border-box;
            z-index: 1000;
        }
        .header img {
            width: auto;
            cursor: pointer;
        }
        .container {
            background-color: white;
            padding: 40px;
            border-radius: 8px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            max-width: 800px;
            width: 100%;
            margin: 30px auto 20px auto;
            box-sizing: border-box;
        }
        .footer {
            background-color: #f6f1f1;
            color: #333;
            padding: 20px 0;
            text-align: center;
            margin-top: auto;
        }
        .footer a {
            color: #333;
            text-decoration: none;
            font-size: 12px;
            margin: 0 10px;
        }
        .footer a:hover {
            text-decoration: underline;
        }
        .footer p {
            font-size: 10px;
            color: #666;
            margin-top: 10px;
        }
        .contact-btn {
        background: #1976d2;
        color: white;
        border: none;
        padding: 14px 24px;
        font-size: 16px;
        border-radius: 6px;
        cursor: pointer;
        }
        .contact-btn:hover {
        background: #125a9e;
        }
        .consult-big {
        background:linear-gradient(120deg,#e3f2fd,#bbdefb);
        margin-top:10px;
        padding:24px;
        border-radius:10px;
        text-align:center;
        transition: all 0.2s ease;
        }
        /* ボタンの通常状態 */
        .consult-big button {
        margin-top:10px;
        background:#0d47a1;
        color:white;
        border:none;
        padding:14px 30px;
        border-radius:8px;
        cursor: pointer;
        transition: all 0.2s ease;
        }

        /* ここが今回のポイント：ボタンのホバー */
        .consult-big button:hover {
        background:#1565c0;      /* 少し明るい青に */
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0,0,0,0.2);
        }
        .mini-cta {
        background:#f1f8ff;
        padding:10px;
        border-radius:6px;
        margin:15px 0;
        font-size:14px;
        }
        .consult-icons { text-align:center; }
        .merit-grid {
        display:grid;
        grid-template-columns:1fr 1fr 1fr;
        margin:10px 0;
        }
        .consult-banner {
        display:flex;
        justify-content:space-between;
        align-items:center;
        padding:16px;
        background:#eef6ff;
        border-radius:8px;
        margin:20px 0;
        }
        .consult-banner button {
        background:#1976d2;
        color:white;
        border:none;
        padding:10px 16px;
        border-radius:6px;
        }
        .cta-btn {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        margin-bottom: 30px;

        background: #1976d2;
        color: white;
        padding: 14px 24px;
        border-radius: 8px;
        text-decoration: none;
        font-weight: bold;

        transition: all 0.2s ease;
        }

        .cta-btn:hover {
        background: #0d47a1;
        transform: scale(1.03);
        }
        .iframe-wrapper {
        position: relative;
        width: 100%;
        height: 500px;
        margin-top: 15px;
        border: 1px solid #ddd;
        border-radius: 8px;
        overflow: hidden;
        }

        .prodoctors-iframe {
        width: 100%;
        height: 100%;
        border: none;
        }

        .click-layer {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        cursor: pointer;
        background: rgba(0,0,0,0);   /* 完全透明 */
        z-index: 3;                  /* ← 一番上にする */
        }

        .iframe-overlay {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        padding: 10px;
        background: rgba(25, 118, 210, 0.85);
        color: white;
        text-align: center;
        font-weight: bold;
        z-index: 2;                  /* ← クリックレイヤーの下に */
        pointer-events: none;        /* ← ここ重要：クリックを透過 */
        }
        .iframe-wrapper {
        border: 1px solid #ddd;
        transition: border-color 0.2s ease, box-shadow 0.2s ease;
        }

        .iframe-wrapper:hover {
        border-color: #1976d2;
        box-shadow: 0 6px 16px rgba(0,0,0,0.15);
        }


        @media (max-width: 768px) {
        .iframe-wrapper {
            height: 380px;
        }
        }
        .modern-btn-group {
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-top: 15px;
        margin-bottom: 15px;
        }

        .modern-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;

        padding: 14px 24px;
        border-radius: 8px;
        font-size: 15px;
        font-weight: bold;
        text-decoration: none;

        transition: all 0.2s ease;
        box-shadow: 0 2px 6px rgba(0,0,0,0.1);
        }

        /* 医療機関一覧に戻る */
        .back-btn {
        background: #3beaf600;
        color: #333;
        border: 1px solid #ddd;
        }

        .back-btn:hover {
        background: #97c4f1c9;
        }

        /* 求人検索ボタン */
        .search-btn {
        background: #3beaf66c;
        color: #333;
        border: 1px solid #dddddd;
        }

        .search-btn:hover {
        background: #97c4f1c9;
        transform: translateY(-1px);
        }

        /* PCでは横並び */
        @media (min-width: 768px) {
        .modern-btn-group {
            flex-direction: column;
            justify-content: center;
        }

        .modern-btn {
            min-width: 260px;
        }
        }
        .mobile-link { display: none; }

        @media (max-width: 768px) {
        .desktop-only { display: none; }
        .mobile-link { display: block; text-align:center; margin-top:15px; }
        }


