@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
*/

/* 採用応募フォーム
---------------------------------------- */
.recruit-contact-page {
    --recruit-form-color: #27d7e7;
    --recruit-form-color-dark: #0eb7c6;
    --recruit-form-border: #d8e5e7;
    --recruit-form-text: #33464a;
}

.recruit-contact-page .recruit-contact-note {
    color: #687b7f;
    font-size: 0.9em;
}

.recruit-contact-form {
    margin-top: 2rem;
    color: var(--recruit-form-text);
}

.recruit-contact-form__section {
    margin-top: 2rem;
    padding: clamp(1.25rem, 3vw, 2.5rem);
    /* border: 1px solid var(--recruit-form-border);
	border-top: 4px solid var(--recruit-form-color);
	border-radius: 12px; */
    background: #fff;
    box-shadow: 0 10px 30px rgba(31, 94, 101, 0.07);
}

.recruit-contact-form__section:first-child {
    margin-top: 0;
}

.recruit-contact-form__title {
    margin: 0 0 1.5rem;
    padding: 0 0 0.65rem;
    border-bottom: 1px solid #dff3f5;
    color: #3d555a;
    font-size: clamp(1.25rem, 2.5vw, 1.55rem);
}

.recruit-contact-form__row {
    display: grid;
    grid-template-columns: minmax(150px, 190px) minmax(0, 1fr);
    gap: 1rem 1.5rem;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid #edf3f4;
}

.recruit-contact-form__row:last-child {
    border-bottom: 0;
}

.recruit-contact-form__row--top {
    align-items: start;
}

.recruit-contact-form__label {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    font-weight: 700;
}

.recruit-contact-form__required {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    min-height: 1.5em;
    padding: 0.1em 0.5em;
    border-radius: 999px;
    background: var(--recruit-form-color);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1.4;
}

.recruit-contact-form input[type="text"],
.recruit-contact-form input[type="email"],
.recruit-contact-form input[type="tel"],
.recruit-contact-form select,
.recruit-contact-form textarea {
    width: 100%;
    margin: 0;
    padding: 0.8rem 0.9rem;
    border: 1px solid #cbdadd;
    border-radius: 6px;
    background-color: #fff;
    color: #273a3e;
    font: inherit;
    line-height: 1.5;
    transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}

.recruit-contact-form input::placeholder,
.recruit-contact-form textarea::placeholder {
    color: #98a8ab;
}

.recruit-contact-form input[type="text"]:focus,
.recruit-contact-form input[type="email"]:focus,
.recruit-contact-form input[type="tel"]:focus,
.recruit-contact-form select:focus,
.recruit-contact-form textarea:focus {
    outline: 0;
    border-color: var(--recruit-form-color);
    background-color: #fbffff;
    box-shadow: 0 0 0 3px rgba(39, 215, 231, 0.18);
}

.recruit-contact-form textarea {
    min-height: 160px;
    resize: vertical;
}

.recruit-contact-form__field--medium select {
    max-width: 320px;
}

.recruit-contact-form__address .wpcf7-form-control-wrap {
    display: block;
    margin-bottom: 0.6rem;
}

.recruit-contact-form__address .wpcf7-form-control-wrap:last-child {
    margin-bottom: 0;
}

.recruit-contact-form__choices .wpcf7-form-control {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem 1.1rem;
}

.recruit-contact-form__choices .wpcf7-list-item {
    margin: 0;
}

.recruit-contact-form__choices .wpcf7-list-item label {
    display: inline-flex;
    gap: 0.4rem;
    align-items: center;
    cursor: pointer;
}

.recruit-contact-form input[type="radio"],
.recruit-contact-form input[type="checkbox"] {
    width: 1.15rem;
    height: 1.15rem;
    margin: 0;
    accent-color: var(--recruit-form-color-dark);
    cursor: pointer;
}

.recruit-contact-form__postal {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    align-items: center;
}

.recruit-contact-form__postal .wpcf7-form-control-wrap {
    display: inline-block;
}

.recruit-contact-form__postal .postal-first {
    width: 5.5rem;
}

.recruit-contact-form__postal .postal-last {
    width: 6.5rem;
}

.recruit-contact-form__example,
.recruit-contact-form__help {
    color: #708387;
    font-size: 0.85rem;
}

.recruit-contact-form__help {
    margin: 0.45rem 0 0;
}

.recruit-contact-form__submit {
    margin-top: 2rem;
    text-align: center;
}

.recruit-contact-form .wpcf7-submit {
    min-width: min(100%, 280px);
    padding: 0.9rem 2rem;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--recruit-form-color), var(--recruit-form-color-dark));
    box-shadow: 0 8px 20px rgba(14, 183, 198, 0.24);
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
}

.recruit-contact-form .wpcf7-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(14, 183, 198, 0.3);
}

.recruit-contact-form .wpcf7-submit:disabled {
    opacity: 0.65;
    cursor: wait;
}

.recruit-contact-form .wpcf7-not-valid-tip {
    margin-top: 0.35rem;
    font-size: 0.85rem;
}

.recruit-contact-form .wpcf7-response-output {
    margin: 1.5rem 0 0;
    padding: 0.9rem 1rem;
    border-radius: 6px;
}

@media (max-width: 767px) {
    .recruit-contact-form__section {
        padding: 1.15rem;
        border-radius: 8px;
    }

    .recruit-contact-form__row {
        grid-template-columns: 1fr;
        gap: 0.65rem;
        padding: 1rem 0;
    }

    .recruit-contact-form__choices .wpcf7-form-control {
        gap: 0.75rem 1rem;
    }

    .recruit-contact-form__choices--jobs .wpcf7-form-control {
        display: grid;
        grid-template-columns: 1fr;
    }

    .recruit-contact-form__postal .recruit-contact-form__example {
        flex-basis: 100%;
    }
}

/* ヘッダーバー
---------------------------------------- */

/* バー背景・文字色 */
.l-header__bar {
    background: #fff;
    color: #333;
}

/* 記号の色 */
.hbar-circle {
    color: #3498db;
}

.hbar-triangle {
    color: #2ecc71;
}

/* 診療時間テーブル */
.hbar-schedule {
    display: flex;
    align-items: center;
    gap: 0.75em;
    margin: 0 1em;
    font-size: 11px;
}

.hbar-schedule__table {
    border-collapse: collapse;
    white-space: nowrap;
}

.hbar-schedule__table th,
.hbar-schedule__table td {
    padding: 1px 4px;
    text-align: center;
}

.hbar-schedule__table th:first-child,
.hbar-schedule__table td:first-child {
    text-align: left;
    padding-right: 6px;
}

.hbar-schedule__table thead th {
    background: rgba(0, 0, 0, 0.06);
}

.hbar-schedule__note {
    white-space: nowrap;
    font-size: 11px;
}

/* 電話番号 */
.hbar-tel-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 0.75em;
}

.hbar-tel__note {
    font-size: 10px;
    color: #666;
    white-space: nowrap;
    margin-top: 1px;
}

.hbar-tel {
    display: flex;
    align-items: center;
    gap: 0.2em;
    text-decoration: none;
    color: #EE9900 !important;
    white-space: nowrap;
}

.hbar-tel__icon {
    font-size: 1.1em;
    color: #EE9900;
}

.hbar-tel__num {
    font-size: 1.4em;
    font-weight: 700;
    letter-spacing: 0.02em;
}

/* 予約ボタン */
.hbar-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.3em;
    padding: 0.35em 1em;
    background: var(--color_main);
    color: #fff !important;
    text-decoration: none;
    border-radius: 3px;
    font-size: 0.85em;
    font-weight: 700;
    white-space: nowrap;
}

.hbar-btn:hover {
    opacity: 0.85;
}

/* フッター
---------------------------------------- */

/* ウィジェットタイトル（h3をSWELL c-widget__title仕様に合わせる） */
.l-footer__widgetArea h3.c-widget__title.-footer {
    font-size: 16px;
    font-weight: 700;
    border: none;
    margin-top: 0;
}

/* フッターロゴ */
.footer-logo {
    margin-top: 0 !important;
    margin-bottom: 1em !important;
}

.footer-logo img {
    max-width: 220px !important;
    height: auto;
}

/* 電話番号 */
.footer-tel {
    font-size: 1.8rem !important;
    font-weight: 700 !important;
    margin: 0.4em 0 0.2em !important;
    line-height: 1.3 !important;
}

.footer-tel::before {
    content: "☎ ";
    font-size: 1.4rem;
    color: #EE9900;
}

.footer-tel a {
    color: #EE9900 !important;
    text-decoration: none !important;
}

.footer-tel-note {
    font-size: 0.85em !important;
    margin-top: 0.25em !important;
    opacity: 0.85;
}

/* 関連リンクリスト */
.footer-link-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    border-top: 1px solid var(--color_border, rgba(0, 0, 0, 0.1));
}

.footer-link-list li {
    border-bottom: 1px solid var(--color_border, rgba(0, 0, 0, 0.1));
    padding: 0 !important;
    margin: 0 !important;
}

.footer-link-list li a {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    padding: 0.7em 0.5em !important;
    text-decoration: none !important;
    color: var(--color_link) !important;
    font-size: 0.95em;
}

.footer-link-list li a:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.footer-link-list li a::after {
    content: "›";
    font-size: 1.3em;
    flex-shrink: 0;
}

/* 診療受付時間テーブル */
.l-footer__widgetArea .wp-block-table {
    margin: 0 !important;
}

.l-footer__widgetArea .wp-block-table table {
    font-size: 0.85em;
    border-collapse: collapse;
    width: 100%;
}

.l-footer__widgetArea .wp-block-table thead tr {
    background-color: #f0f0f0;
}

.l-footer__widgetArea .wp-block-table th,
.l-footer__widgetArea .wp-block-table td {
    text-align: center;
    padding: 0.45em 0.25em;
}

.l-footer__widgetArea .wp-block-table th:first-child,
.l-footer__widgetArea .wp-block-table td:first-child {
    text-align: center;
    white-space: nowrap;
    padding-right: 0.75em;
}

/* 診療案内ページ */
.clinic-hours-table {
    margin: 0 !important;
}

.clinic-hours-table table {
    font-size: 0.85em;
    border-collapse: collapse;
    width: 100%;
}

.clinic-hours-table thead tr {
    background-color: #f0f0f0;
}

.post_content .clinic-hours-table thead th,
.post_content .clinic-hours-table thead td {
    background-color: #f0f0f0 !important;
    color: inherit !important;
}

.clinic-hours-table th,
.clinic-hours-table td {
    padding: 0.45em 0.25em;
    text-align: center;
}

.clinic-hours-table th:first-child,
.clinic-hours-table td:first-child {
    padding-right: 0.75em;
    text-align: center;
    white-space: nowrap;
}

.clinic-hours-table tbody tr:first-child td:nth-child(3),
.clinic-hours-table tbody tr:nth-child(2) td:nth-child(3) {
    color: inherit;
}

.clinic-hours-table tbody tr:first-child td:nth-child(2),
.clinic-hours-table tbody tr:first-child td:nth-child(4),
.clinic-hours-table tbody tr:first-child td:nth-child(5),
.clinic-hours-table tbody tr:first-child td:nth-child(6),
.clinic-hours-table tbody tr:first-child td:nth-child(7),
.clinic-hours-table tbody tr:first-child td:nth-child(8),
.clinic-hours-table tbody tr:nth-child(2) td:nth-child(2),
.clinic-hours-table tbody tr:nth-child(2) td:nth-child(4),
.clinic-hours-table tbody tr:nth-child(2) td:nth-child(5),
.clinic-hours-table tbody tr:nth-child(2) td:nth-child(6) {
    color: #3498db;
}

.clinic-hours-table tbody tr:nth-child(2) td:nth-child(7),
.clinic-hours-table tbody tr:nth-child(2) td:nth-child(8) {
    color: #2ecc71;
}

.clinic-guide-link-row {
    margin-top: 0.85em;
    padding: 0.9em 1em;
    /* border: 1px solid #dbe7e9;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(31, 94, 101, 0.07); */
}

.clinic-guide-link-row > .swell-block-columns__inner {
    align-items: center;
}

.clinic-guide-link-row > .swell-block-columns__inner > .swell-block-column:first-child {
    flex: 0 0 11em;
    max-width: 11em;
}

.clinic-guide-link-row .swell-block-button,
.clinic-guide-link-row .swell-block-button__link {
    width: 100%;
}

.clinic-guide-link-row .swell-block-button__link {
    justify-content: center;
    white-space: nowrap;
}

.clinic-guide-link-row p {
    margin: 0;
    color: #52666b;
    line-height: 1.7;
}

.strong_link {
    transition: 0.3s;
}

.strong_link:hover {
    opacity: 0.6;
    transition: 0.3s;
}

/* トップページ: カード内タイトルの余白調整 */
.top-menu-grid > .swell-block-columns__inner > .swell-block-column,
.top-related-site-grid > .swell-block-columns__inner > .swell-block-column {
    position: relative;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(14, 183, 198, 0.14);
    border-radius: 12px;
    box-shadow: 0 10px 28px rgba(31, 94, 101, 0.12);
    transition: transform 0.2s, box-shadow 0.2s;
}

.top-menu-grid > .swell-block-columns__inner > .swell-block-column:hover,
.top-related-site-grid > .swell-block-columns__inner > .swell-block-column:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 34px rgba(31, 94, 101, 0.18);
}

.top-menu-grid > .swell-block-columns__inner > .swell-block-column .wp-block-image a::after,
.top-related-site-grid > .swell-block-columns__inner > .swell-block-column .wp-block-image a::after {
    position: absolute;
    z-index: 2;
    inset: 0;
    content: "";
}

.top-menu-grid > .swell-block-columns__inner > .swell-block-column .wp-block-image a,
.top-related-site-grid > .swell-block-columns__inner > .swell-block-column .wp-block-image a {
    position: static;
}

.top-menu-grid > .swell-block-columns__inner > .swell-block-column p a,
.top-related-site-grid > .swell-block-columns__inner > .swell-block-column p a {
    position: relative;
    z-index: 3;
}

.top-menu-grid .wp-block-image,
.top-mini-link-grid .wp-block-image,
.top-related-site-grid .wp-block-image {
    margin-bottom: 0;
}

.top-menu-grid .wp-block-image img,
.top-related-site-grid .wp-block-image img {
    display: block;
    width: 100%;
}

.top-menu-grid p.has-large-font-size,
.top-mini-link-grid p.has-text-align-center,
.top-related-site-grid p.has-large-font-size,
.top-related-site-grid p.has-text-align-center {
    margin-top: 0.55em;
    margin-bottom: 0.2em;
    line-height: 1.35;
}

.top-menu-grid p.has-large-font-size + p,
.top-menu-grid p.has-text-align-center + p {
    margin-top: 0.25em;
}

.top-menu-grid p.has-large-font-size,
.top-related-site-grid p.has-large-font-size {
    padding: 0 1em;
}

.top-menu-grid p.has-large-font-size + p {
    padding: 0 1em 1.15em;
}

.top-related-site-grid p.has-large-font-size {
    padding-bottom: 1.15em;
}

.top-blog-item {
    display: flex;
    gap: 0.6em;
    align-items: baseline;
    margin: 0.25em 0;
}

.top-blog-item .wp-block-post-date,
.top-blog-item .wp-block-post-title {
    margin: 0;
    line-height: 1.5;
}

.top-info-link-row {
    margin-bottom: 0.85em;
}

.top-info-link-row > .swell-block-columns__inner {
    align-items: center;
}

.top-info-link-row > .swell-block-columns__inner > .swell-block-column:first-child {
    flex: 0 0 11em;
    max-width: 11em;
}

.top-info-link-row .swell-block-button,
.top-info-link-row .swell-block-button__link {
    width: 100%;
}

.top-info-link-row .swell-block-button__link {
    justify-content: center;
    white-space: nowrap;
}

.top-info-link-row p {
    margin-top: 0;
    margin-bottom: 0;
}

.top-blog-list .p-postList {
    margin: 0;
    padding: 0;
}

.top-blog-list .p-postList__item {
    margin: 0.35em 0;
    padding: 0;
    border: 0 !important;
}

.top-blog-list .p-postList__link {
    display: block;
    padding: 0;
    border: 0 !important;
    box-shadow: none !important;
}

.top-blog-list .p-postList__body {
    display: flex;
    gap: 0.7em;
    align-items: baseline;
    border: 0 !important;
    box-shadow: none !important;
}

.top-blog-list .p-postList__meta {
    flex: 0 0 6.8em;
    margin: 0;
    white-space: nowrap;
    border: 0 !important;
}

.top-blog-list .p-postList__title {
    flex: 1 1 auto;
    margin: 0;
    line-height: 1.5;
    border: 0 !important;
}

.top-blog-list .p-postList__item::before,
.top-blog-list .p-postList__item::after,
.top-blog-list .p-postList__link::before,
.top-blog-list .p-postList__link::after,
.top-blog-list .p-postList__body::before,
.top-blog-list .p-postList__body::after {
    content: none !important;
    display: none !important;
}

/* コラム サイドバー: ウィジェットタイトル
---------------------------------------- */
#sidebar .c-widget {
    margin-top: 2em;
}

#sidebar .c-widget:first-child {
    margin-top: 0;
}

/* コラム サイドバー: 最新のコラムリスト
---------------------------------------- */
.c-recentPostList {
    list-style: none;
    margin: 0;
    padding: 0;
}

.c-recentPostList__item {
    margin-top: 0.6em;
    padding-top: 0.6em;
    border-top: 1px solid var(--color_border, rgba(0, 0, 0, 0.1));
}

.c-recentPostList__item:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.c-recentPostList__link {
    display: flex;
    flex-direction: column;
    gap: 0.15em;
    text-decoration: none;
    color: inherit;
}

.c-recentPostList__link:hover .c-recentPostList__title {
    text-decoration: underline;
}

.c-recentPostList__date {
    font-size: 0.85em;
    color: var(--color_text_light, #888);
}

.c-recentPostList__title {
    line-height: 1.5;
}

/* コラム検索: top_title_area 用CSS（SWELLは is_search() 時に未ロードのため補填）
---------------------------------------- */
.l-topTitleArea {
    align-items: center;
    display: flex;
    margin: 0;
    min-height: 11em;
    overflow: hidden;
    padding: 1.5em 0;
    position: relative;
    width: 100%;
}
.l-topTitleArea__body {
    color: #fff;
    position: relative;
    text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.1);
    width: 100%;
    z-index: 3;
}
@media (min-width: 600px) {
    .l-topTitleArea { min-height: 240px; padding: 1em 0; }
}

/* コラム 検索結果: コラムアーカイブと同じレイアウト
---------------------------------------- */
.is-column-search .p-postList__thumb {
    display: none;
}
.is-column-search .p-postList.-type-list .p-postList__link {
    display: block;
}

/* コラム アーカイブ・カテゴリーアーカイブ: サムネイルなし
---------------------------------------- */
.post-type-archive-column .p-postList__thumb,
.tax-column_category .p-postList__thumb {
    display: none;
}
.post-type-archive-column .p-postList.-type-list .p-postList__link,
.tax-column_category .p-postList.-type-list .p-postList__link,
.is-column-search .p-postList.-type-list .p-postList__link {
    display: block;
}
.post-type-archive-column .p-postList.-type-list .p-postList__body,
.tax-column_category .p-postList.-type-list .p-postList__body,
.is-column-search .p-postList.-type-list .p-postList__body {
    width: 100%;
}

/* ==================================================
   スマートフォン用固定フッター
================================================== */

.sp-fixed-footer {
	display: none;
}

@media screen and (max-width: 767px) {

	/* 固定フッターに本文が隠れないようにする */
	body {
		padding-bottom: calc(64px + env(safe-area-inset-bottom));
	}

	.sp-fixed-footer {
		position: fixed;
		right: 0;
		bottom: 0;
		left: 0;
		z-index: 9999;

		display: flex;
		width: 100%;
		height: calc(64px + env(safe-area-inset-bottom));

		padding-bottom: env(safe-area-inset-bottom);

		background-color: #fff;
		box-shadow: 0 -2px 10px rgb(0 0 0 / 15%);
	}

	.sp-fixed-footer__item {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 8px;

		width: 50%;
		min-width: 0;
		height: 64px;

		color: #fff;
		font-size: 15px;
		font-weight: 700;
		line-height: 1;
		text-decoration: none;
	}

	.sp-fixed-footer__item:hover,
	.sp-fixed-footer__item:focus {
		color: #fff;
		opacity: 0.85;
	}

	/* お電話 */
	.sp-fixed-footer__item--tel {
		background-color: #d78957;
	}

	/* 内視鏡予約 */
	.sp-fixed-footer__item--reservation {
		background-color: #457fa2;
	}

	.sp-fixed-footer__icon {
		flex-shrink: 0;
		width: 22px;
		height: 22px;
	}
}