@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/


.pc{
	display: block;
}
.sp{
	display: none;
}

.top #content{
    padding-top: 0;
}
.p-postSlider{
    display: none;
}

/* 背景色 */
.bg-color{
    background-color: #f6f6f6;
    margin: 80px calc(50% - 50vw);
    padding: 80px calc(50vw - 50%);
}

/* ページヘッダー */
.l-content{
    padding-top: 0;
}
.c-pageTitle[data-style=b_bottom]{
    border: none;
    background-color: #BCE0F6;
    color: #395492;
    margin: 0 calc(50% - 50vw) 60px;
    padding: 20px calc(50vw - 50%);
    text-align: center;
    font-size: 28px;
}
.c-pageTitle[data-style=b_bottom] .c-pageTitle__inner{
    border: none;
    padding-left: 0;
}
.c-pageTitle[data-style=b_bottom] .c-pageTitle__inner{
    float: none!important;
}

/* ------- お問い合わせ ------------------- */

/* ContactFrom7 */
.contact7 {
	max-width: 100%;
	box-sizing: border-box;
    background-color: #f6f6f6;
    padding: 3% 3% 5%;
    margin-top: 50px;
}
.contact7 dd {
	margin: 0 0 30px 0;
    border-left: none;
    padding-left: 0;
}
.contact7 dd:last-of-type{
    margin-bottom: 0;
}
.contact7 dt {
	font-weight: normal;
    border-left: none;
    padding-left: 0;
}
span.wpcf7-spinner{
    display: none;
}
 
/* 必須マーク */
.contact7 .must {
	color: #fff;
    background-color: #D61313;
    font-size: 14px;
    padding: 1px 4px;
    margin-right: 10px;
    display: inline-block;
    line-height: 16px;
}
/* 任意マーク */
.contact7 .optional {
	color: #fff;
    background-color: #666;
    font-size: 14px;
    padding: 1px 4px;
    margin-right: 10px;
    display: inline-block;
    line-height: 16px;
}

.contact7 dt{
    margin-bottom: 20px;
    margin-top: 40px;
}
.contact7 dt, .contact7 dd{
    padding-left: 0;
}

p.text-center{
    text-align: center;
    margin-top: 40px;
}

.contact7 input, .contact7 textarea, .contact7 select{
    background-color: #fff;
}
.contact7 input.wpcf7-text, .contact7 textarea{
    width: 100%;
}
.contact7 select{
    margin-right: 10px;
    margin-left: 5px;
}
.contact7 .wpcf7-date{
    margin-right: 20px;
    margin-left: 10px;
}

.form-control{
    border-radius: 0;
}
.btn_contact7 {
	text-align: center;
}
.btn_contact7 input {
	width: 40%;
	background-color: #395492;
	color: #fff;
    font-weight: bold;
	font-size: 1.1em;
	letter-spacing: 1em;
	-webkit-transition: 0.3s;
	-moz-transition: 0.3s;
	-o-transition: 0.3s;
	-ms-transition: 0.3s;
	transition: 0.3s;	
    margin-top: 50px;
    padding-left: 2em;
    height: 44px;
    border-radius: 0;
    border: none;
}
.btn_contact7 input:hover {
    background-color: #fff;
    color: #395492;
    border: 1px solid #395492;
}


/* ================================================
   MedicalPedia：研修病院・医師求人 関連CSS（ここから下は1セットのみ）
   ================================================ */

/* ===== 一覧ページ：カードグリッド（研修病院・医師求人 共通） ===== */
.hospital-archive__list,
.job-archive__list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 24px;
}

/* トップページの「注目の研修病院」だけは常に4列 */
.hospital-archive__list--top {
    grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 767px) {
    .hospital-archive__list--top {
        grid-template-columns: repeat(2, 1fr);
    }
}

.hospital-archive__title,
.job-archive__title {
    font-size: 24px;
    font-weight: bold;
    border-left: 4px solid #1a73e8;
    padding-left: 12px;
}

/* ===== カード本体 ===== */
.hospital-card,
.job-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.hospital-card:hover,
.job-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}
.hospital-card__link,
.job-card__link {
    display: block;
    color: inherit;
    text-decoration: none;
    padding-bottom: 16px;
}
.hospital-card__thumbnail img,
.job-card__thumbnail img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}
.hospital-card__title,
.job-card__title {
    font-size: 16px;
    font-weight: bold;
    margin: 12px 16px 8px !important;
    line-height: 1.4;
}
.hospital-card__address,
.hospital-card__recruit,
.job-card__workplace,
.job-card__salary {
    margin: 4px 16px;
    font-size: 14px;
    color: #555;
}
.job-card__employment {
    display: inline-block;
    margin: 8px 16px 0;
    padding: 2px 10px;
    background: #fff3e0;
    color: #f5a623;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
}

/* ===== カード下部（星＋ボタン） ===== */
.hospital-card__footer,
.job-card__footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    margin: 12px 16px 8px;
    gap: 8px;
}
.hospital-card__button,
.job-card__button {
    display: inline-block;
    margin: 0;
    padding: 6px 16px;
    background: #1a73e8;
    color: #fff;
    border-radius: 20px;
    font-size: 13px;
    text-align: center;
    white-space: nowrap;
    flex-shrink: 0;
}

/* ===== 星評価 ===== */
.star-rating {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    white-space: nowrap;
}
.star-rating__label {
    color: #555;
}
.star-rating__icon {
    color: #f5a623;
}
.star-rating__score {
    font-weight: bold;
    color: #333;
}

/* ===== 詳細ページ ===== */
.hospital-detail,
.job-detail {
    max-width: 800px;
    margin: 0 auto;
}
.hospital-detail__title,
.job-detail__title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 16px;
}
.hospital-detail__thumbnail img,
.job-detail__thumbnail img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 20px;
}
.hospital-detail__meta,
.job-detail__meta {
    background: #f5f9ff;
    border-radius: 8px;
    padding: 20px 24px;
    margin-bottom: 24px;
}
.hospital-detail__meta p,
.job-detail__meta p {
    margin: 8px 0;
    font-size: 15px;
    line-height: 1.6;
}
.hospital-detail__content,
.job-detail__content {
    font-size: 16px;
    line-height: 1.8;
}


/* ===== スライダー（横スクロール）版の「注目の研修病院」 ===== */
.hospital-slider {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hospital-slider__track {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding-bottom: 8px;
    /* スクロールバーを見た目上は隠す（操作は矢印ボタンで行う想定） */
    scrollbar-width: none; /* Firefox */
}
.hospital-slider__track::-webkit-scrollbar {
    display: none; /* Chrome, Safari */
}

.hospital-slider__track .hospital-card {
    /* 4枚 + gap(24px)×3 がちょうど収まる幅を計算 */
    flex: 0 0 calc((100% - 24px * 3) / 4);
    scroll-snap-align: start;
}

.hospital-slider__arrow {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: #fff;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}
.hospital-slider__arrow:hover {
    background: #f5f9ff;
}


/* ===== 医師インタビュー（トップページ） ===== */
.interview-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.interview-list__item {
    border-bottom: 1px solid #eee;
}
.interview-list__item:last-child {
    border-bottom: none;
}
.interview-list__link {
    display: flex;         /* 画像とテキストを横並びにする */
    align-items: center;
    gap: 16px;
    padding: 16px 4px;
    text-decoration: none;
    color: inherit;
}
.interview-list__thumbnail {
    flex-shrink: 0;        /* 画像が縮まないようにする */
    width: 64px;
    height: 64px;
    border-radius: 8px;    /* 丸型に切り抜く（カンプの医師写真に合わせて） */
    overflow: hidden;
}
.interview-list__thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.interview-list__text {
    flex: 1;
}
.interview-list__title {
    display: block;
    font-size: 15px;
    font-weight: bold;
    line-height: 1.5;
}
.interview-list__doctor {
    display: block;
    margin-top: 4px;
    font-size: 13px;
    color: #888;
}


/* ===== ピックアップ動画（トップページ） ===== */
.video-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
@media (max-width: 767px) {
    .video-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

.video-card {
    display: block;
    text-decoration: none;
    color: inherit;
}

.video-card__thumbnail {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}
.video-card__thumbnail img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    display: block;
}

/* 再生ボタン（中央の▶マーク） */
.video-card__play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

/* 動画の長さバッジ（右下） */
.video-card__duration {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 4px;
}

.video-card__title {
    margin-top: 10px;
    font-size: 14px;
    font-weight: bold;
    line-height: 1.4;
}


/* ===== トップページ検索窓 ===== */
.search-box {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    padding: 20px;
    width: 100%;       /* max-width: 600px; から変更。横幅いっぱいに広げる */
}

.search-box__input-row {
    display: flex;
    gap: 8px;
}
.search-box__input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
}
.search-box__submit {
    padding: 10px 24px;
    background: #1a73e8;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    white-space: nowrap;
}
.search-box__submit:hover {
    background: #1558b0;
}

.search-box__tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}
.search-box__tab {
    padding: 8px 16px;
    background: #f0f4fa;
    border: 1px solid #dde4ee;
    border-radius: 20px;
    font-size: 13px;
    color: #333;
    cursor: pointer;
    transition: 0.2s;
}
.search-box__tab.is-active {
    background: #1a73e8;
    color: #fff;
    border-color: #1a73e8;
}


/* ===== 診療科・地域の選択肢一覧 ===== */
.taxonomy-index {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
}
.taxonomy-index__item {
    background: #f5f9ff;
    border-radius: 8px;
}
.taxonomy-index__link {
    display: block;
    padding: 14px 18px;
    color: #1a3d6d;
    text-decoration: none;
    font-weight: bold;
}
.taxonomy-index__link:hover {
    background: #e8f0fe;
}
.taxonomy-index__count {
    font-weight: normal;
    color: #888;
    font-size: 13px;
}

.search-box__tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}
.search-box__tab {
    display: inline-block;
    padding: 8px 16px;
    background: #f0f4fa;
    border: 1px solid #dde4ee;
    border-radius: 20px;
    font-size: 13px;
    color: #333;
    text-decoration: none;
    transition: 0.2s;
}
.search-box__tab:hover {
    background: #1a73e8;
    color: #fff;
    border-color: #1a73e8;
}


/* サイドバー */
.is-style-balloon_box{
    background-color: #4BB6BC;
    min-width: none;
    width: 100%;
}
.is-style-balloon_box:before{
    border-top: 12px solid #4BB6BC;
}

.sidebar-group{
    border: 1px solid #D6F1F3;
}
.sidebar-group p.ttl{
    background-color: #D6F1F3;
    padding: 10px;
    font-weight: bold;
}
.sidebar-group a{
    color: #333!important;
}
.sidebar-links{
    padding: 10px;
}
.sidebar-links code{
    background-color: #4BB6BC!important;
    color: #fff!important;
    width: 18px;
    height: 18px;
    border-radius: 9px!important;
    border: none!important;
    justify-content: center;
    padding: 0!important;
}


/* フッター */
.copyright{
    display: none;
}
#footer{
    background-color: #002B75;
    color: #fff;
}

.pc{
    display: block;
}
.sp{
    display: none;
}



@media (max-width: 991.98px){

    .pc{
        display: none;
    }
    .sp{
        display: block;
    }


}

    /* スマホでは「注目の研修病院」スライダーを1枚ずつ表示 */
@media (max-width: 767px) {
    .hospital-slider__track .hospital-card {
        flex: 0 0 85%;   /* 画面幅の85%を1枚に使う（次のカードが少し見えるようにする） */
    }
}
