/* インタビューページ全体 */
.interview-single {
    max-width: 960px;
    margin: 4rem auto;
    padding: 1rem 1.5rem;
    box-sizing: border-box;
    overflow-wrap: break-word;
    word-break: break-word;
}

/* ラベルグループの配置 */
.interview-label-group {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

/* 共通スタイル */
.interview-label,
.interview-service {
    display: inline-block;
    line-height: 1;
    font-weight: bold;
    font-size: 0.85rem;
    border-radius: 9999px;
    padding: 0.3em 1em;
}

/* 導入事例ラベル */
.interview-label {
    background-color: #e0f1fc;
    color: #0073aa;
}

/* MedrockSEOラベル */
.interview-service {
    background-color: #e7f6ea;
    color: #2e7d32;
}



/* タイトル */
.interview-single h1 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 0.3rem;
    color: #0e4e72;
}

.interview-doctor {
    font-size: 1rem;
    margin-bottom: 2rem;
    color: #555;
}

.clinic-link {
    margin-top: -0.5rem;
    margin-bottom: 2rem;
}

.clinic-link a {
    display: inline-block;
    font-size: 0.95rem;
    color: #0e4e72;
    font-weight: 600;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.clinic-link a:hover {
    color: #0073aa;
    text-decoration: none;
}


/* アイキャッチ画像 */
.interview-photo {
    width: 100%;
    max-width: 640px;
    aspect-ratio: 4 / 3;
    /* 横長比率（必要に応じて調整） */
    overflow: hidden;
    margin: 2rem auto;
    border-radius: 12px;
    position: relative;
}

.interview-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* 中央トリミング */
    object-position: center;
    /* 中央基準で切り抜く */
    display: block;
}


.interview-content,
.interview-content p {
    white-space: normal;
    word-break: break-word;
    overflow-wrap: break-word;
    line-height: 1.8;
    font-size: 1.05rem;
    color: #333;
}



.clinic-comment {
    white-space: normal;
    word-break: break-word;
    overflow-wrap: break-word;
    line-height: 1.6;
}


/* セクション間 */
.interview-single hr {
    border: none;
    border-top: 1px solid #ddd;
    margin: 3rem 0;
}

/* 関連事例セクション */
.interview-single h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #0e4e72;
}

.interview-cards {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.interview-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    width: 300px;
    padding: 1.5rem;
    transition: transform 0.3s ease;
    text-align: left;
}

.interview-card:hover {
    transform: translateY(-10px);
}

.card-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    /* 高さを統一するための比率（例：横4:縦3） */
    overflow: hidden;
    border-radius: 12px;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* 枠内に収めつつ、中央をトリミング */
    object-position: center;
    display: block;
}


.interview-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: #0e4e72;
}

.interview-card p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

.interview-card a {
    text-decoration: none;
    color: inherit;
}

.interview-card a:hover {
    opacity: 0.9;
}

.timerex-wrapper {
    margin: 3rem auto;
    max-width: 640px;
}

.cta-button.large {
    display: inline-block;
    background-color: #0073aa;
    color: #fff;
    font-size: 1.1rem;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: bold;
    margin: 2rem auto;
    transition: background-color 0.3s ease;
    text-align: center;
}

.cta-button.large:hover {
    background-color: #005f8d;
}

.timerex-box {
    background: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    margin-top: 4rem;
    margin-bottom: 2rem;
}

.timerex-heading {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1rem;
}

.timerex-icon {
    font-size: 1.8rem;
}

.timerex-box h2 {
    font-size: 1.4rem;
    font-weight: bold;
    color: #0e4e72;
    margin: 0;
}

.timerex-description {
    font-size: 1rem;
    color: #444;
    margin-bottom: 2rem;
    line-height: 1.6;
}


/* CTAボタン */
#cta-timerex {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    display: none;
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

#cta-timerex.cta-timerex-show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

#cta-timerex a {
    display: inline-block;
    background: linear-gradient(135deg, #007ace, #009ce0);
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.9rem 1.8rem;
    border-radius: 32px;
    box-shadow: 0 6px 16px rgba(0, 122, 204, 0.3);
    text-decoration: none;
    transition: background 0.3s ease, transform 0.3s ease;
    white-space: nowrap;
}

#cta-timerex a:hover {
    background: linear-gradient(135deg, #009ce0, #00b4e6);
    transform: translateY(-2px);
}

/* モバイル対応 */
@media (max-width: 600px) {
    #cta-timerex {
        right: 16px;
        bottom: 16px;
    }

    #cta-timerex a {
        font-size: 0.85rem;
        padding: 0.8rem 1.4rem;
        border-radius: 24px;
    }
}

.interview-cta {
    text-align: center;
    margin-top: 4rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: #0e4e72;
    color: #fff;
    font-weight: bold;
    border-radius: 8px;
    transition: background-color 0.3s ease;
    text-align: center;
    text-decoration: none;
}

.cta-button:hover {
    background-color: #0078a4;
}

.section-cta {
    background: #f2f8ff;
    padding: 1.5rem;
    border-left: 4px solid #007acc;
    border-radius: 8px;
    margin: 2rem 0;
    text-align: center;
}

.section-cta .cta-heading {
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
}

.section-cta .cta-button {
    display: inline-block;
    background: #007acc;
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    text-decoration: none;
}


.footer {
    max-width: 100%;
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
}


@media (max-width: 768px) {
    #cta-timerex {
        bottom: 16px;
        right: 16px;
        font-size: 0.85rem;
        padding: 0.8rem 1rem;
    }
}




/* レスポンシブ対応 */
@media (max-width: 768px) {
    .interview-single {
        padding: 0 1rem;
    }

    .interview-card {
        width: 100%;
    }

    .interview-photo {
        max-width: 100%;
        aspect-ratio: 4 / 3;
    }
}