@charset "UTF-8";
/********************************************************************************

common.css

********************************************************************************/
/*============================================================
 css変数
*============================================================*/
:root {
    --common-vh: 100vh;                         /* jsで変動 */

	--common-inner-max-width: 1080px;           /* 通常サイト幅 */
	--common-inner-max-width-wide: 1280px;      /* ワイドサイト幅 */
	--common-inner-padding: 60px;               /* 通常サイト幅内余白 */
	--common-inner-padding-wide: 24px;          /* ワイドサイト幅内余白 */

    --common-color-text: #57402B;           /* 基本テキスト色 */
    --common-color-main: #57402B;           /* メイン色 */
    --common-color-sub: #FF7983;            /* サブ色 */
    --common-color-background1: #ffffff;       /* 背景色1 */
    --common-color-background2: #FFF4F5;       /* 背景色2 */
    --common-color-accent: #FAA43F;            /* アクセント色 */
    --common-color-attention: #D93838;      /* 注意色 */
    --common-color-attention-bg: #FFF5F5;   /* 注意色(背景用) */
    --common-color-notice: #B3B3B3;      /* 注釈色 */

    /*--common-font-family: 'Noto Sans JP', sans-serif;*/
    --common-font-family: 'Zen Maru Gothic', serif;
    --common-font-family-en: 'Noto Sans JP', sans-serif;

    --common-header-height: 0;                  /* jsで変動 */
    --common-footer-height: 0;                  /* jsで変動 */
}

body {
    --inner-max-width: var(--common-inner-max-width);
    --inner-padding: var(--common-inner-padding);
}

/*============================================================
 system
*============================================================*/
/* pc-sp display switch
---------------------------------------- */
.forPC {
    display: inherit;
}
.forSP {
    display: none;
}

/*============================================================
 format
*============================================================*/
/* ベース
---------------------------------------- */
html {
    display: block;
    background-color: #fff;
}
body {
    width: 100%;
    font-family: var(--common-font-family);
    font-style: normal;
    font-weight: normal;
    font-size: 18px;
    line-height: 1.8;
    color: var(--common-color-text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding: 0 0 0 0;
}
*[data-font="en"] {
    font-family: var(--common-font-family-en); 
}

body.page-lower {
    /* padding-top: var(--common-header-height); */
}

/* レイアウト
---------------------------------------- */
#main-contents {
    width: 100%;
	overflow: hidden;
}

/* コンテンツ内
---------------------------------------- */
.section {
    margin-bottom: 72px;
}
.section:last-child {
    margin-bottom: 0;
}

.inner {
    width: 100%;
    max-width: var(--inner-max-width);
    padding: 0 var(--inner-padding);
    margin: 0 auto;
}
main .inner > *:not(h1, h2, h3, h4) {
    margin-bottom: 32px;
}
main .inner > *:last-child {
    margin-bottom: 0;
}

main .block, main .inner .block {
    margin-bottom: 48px;
}
main .block:last-child {
    margin-bottom: 0;
}

main .block > *:not(h1, h2, h3, h4) {
    margin-bottom: 32px;
}
main .block > *:last-child {
    margin-bottom: 0;
}

.page-group {
    font-weight: bold;
}
h1.page-title {
    font-weight: bold;
    font-size: 40px;
    line-height: 130%;
}
h2.sec-title {
    font-weight: bold;
    font-size: 36px;
    line-height: 160%;
    margin-bottom: 32px;
}
h3.block-title {
    font-weight: bold;
    font-size: 24px;
    line-height: 160%;
    margin-bottom: 16px;
}

p {}
img {
    max-width: 100%;
    height: auto;
}
svg {
    max-width: 100%;
    height: auto;    
}
span {
    font-weight: inherit;
}
a[href^="tel:"] {
    pointer-events: none;
}
strong {}
.attention {
    font-size: 12px;
    line-height: 160%;
    color: var(--common-color-attention);
}
.notice {
    font-size: 12px;
    line-height: 160%;
}
.list-date {
    font-size: 12px;
    line-height: 160%;
}

/*============================================================
 メインビジュアル(下層)
*============================================================*/
.page-lower #mainvisual {
	background-position: center center;
	background-size: cover;
    background-color: var(--common-color-background2);
    padding-top: calc( var(--common-header-height) + 80px);
	padding-bottom: 80px;
	text-align: center;
}

/*============================================================
 パンくずリスト
*============================================================*/
/* TOPページでは非表示
---------------------------------------- */
#page-top #breadcrumb {
    display: none;
}

/* 下層ページでは表示
---------------------------------------- */
#breadcrumb {
    margin: 16px 0 48px 0;
}
#breadcrumb ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0 8px;
    font-size: 14px;
    line-height: 140%;
}
#breadcrumb li {
	color: #A1A1A1;
}
#breadcrumb li a {
    text-decoration-line: underline;
}
/* セパレーター(テキストの場合) */
#breadcrumb li:not(:last-child)::after {
    content: "/";
    display: inline-block;
    margin-left: 8px;
}
/* セパレーター(画像の場合) */
/* #breadcrumb li:not(:last-child)::after {
    content: "";
    display: inline-block;
    width: 24px;
    height: 100%;
    background-image: url(../images/common/icon-bread-arrow.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 24px auto;
    margin-left: 8px;
    vertical-align: text-bottom;
} */



/*============================================================
 共通ブロック
*============================================================*/
/* 要素幅超スクロール
---------------------------------------- */
.block-wscroll {
    width: calc(100vw - ((100vw - 100%) / 2));
    overflow-x: auto;
}
.block-wscroll .block-wscroll-inner {
    width: max-content;
    padding: 0 var(--inner-padding) 16px 0;
}
.block-wscroll .block-wscroll-inner > * {
    width: auto;
    white-space: nowrap;
}

/* カード
---------------------------------------- */
.block-card {
    --gap: 32px;
    --col: 3;
    gap: var(--gap);
}
.block-card .item {
    display: block;
    width: calc((100% - var(--gap) * (var(--col) - 1)) / var(--col));
    border-radius: 12px;
    overflow: hidden;
    background-color: #fff;
    box-shadow: 0px 2px 2px rgb(0 0 0 / 20%);
}
.block-card .item .image {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}
.block-card .item .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    transition: .3s ease-in-out;
}
.block-card .item:hover .image img {
    transform: scale(1.2);
}
.block-card .item .info {
    padding: 16px;
}

/* お知らせ
---------------------------------------- */
.block-news .item {
	transition: all .3s;
	display: block;
	padding-bottom: 24px;
	margin-bottom: 40px;
	border-bottom: 1px solid #D6D6D6;
}
.block-news .item:hover {
	opacity: 0.7;
}
.block-news .item .date {
	line-height: 1;
	font-weight: bold;
	margin-bottom: 14px;
}
.block-news .item .title {
	font-weight: 500;
}

/*============================================================
 下層ページ共通
*============================================================*/
.page-lower .section .block {
	margin-bottom: 40px;
}
.page-lower .section .block:last-child {
	margin-bottom: 0;
}
.page-lower .section.margin-b {
	margin-bottom: 120px;
}
.page-lower .section .block .image {
	border-radius: 10px;
	overflow: hidden;
}
.page-lower .section .block .image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.page-lower .section .block p span.accent {
	color: var(--common-color-sub);
	font-weight: bold;
}

.page-lower .sec-title {
	position: relative;
	padding-top: 56px;
	line-height: 1.3;
	text-align: center;
	margin-bottom: 36px;
}
.page-lower .sec-title:before {
	content: "";
	position: absolute;
	background: url(../images/common/sec-title-deco-img.png) no-repeat center center / contain;
	width: 48px;
	height: 48px;
	top: 0;
	left: 50%;
	transform: translatex(-50%);
}
.page-lower .block-title {
	text-align: center;
	line-height: 1.3;
	margin-bottom: 40px;
}
.page-lower .block-title span.accent {
	display: inline-block;
	padding: 8px 4px;
	color: #fff;
	line-height: 1;
	border-radius: 4px;
	margin-left: 4px;
	background: var(--common-color-sub);
	font-size
}
.page-lower .block-title span.accent.bad {
	background: #797EFF;
}
.page-lower .sec-lead {
	font-weight: 500;
	text-align: center;
}

/* 基本ブロック(画像＋文章)
---------------------------------------- */
.page-lower .basic-block {
	gap: 44px;
	justify-content: center;
	align-items: flex-start;
}
.page-lower .basic-block .image {
	width: 42%;
	border-radius: 10px;
	overflow: hidden;
	margin-bottom: 0;
}
.page-lower .basic-block .info {
	width: 53%;
	margin-bottom: 0;
}
.page-lower .basic-block .info .block-title {
	text-align: left;
	margin-bottom: 16px;
}
.page-lower .basic-block .info .block-title.bg-white {
	background: #fff;
	color: var(--common-color-sub);
	border-radius: 4px;
	padding: 8px 16px;
}
.page-lower .basic-block .info p {
	font-weight: 500;
}
.page-lower .basic-block .info *:last-child {
	margin-bottom: 0;
}
.page-lower .basic-block.pt2 {
	gap: 80px;
}
.page-lower .basic-block.pt2 .image {
	width: 42%;
}
.page-lower .basic-block.pt2 .info {
	width: 49%;
}

/* 背景色ピンク
---------------------------------------- */
.page-lower .bg-pink-block {
	background: var(--common-color-background2);
	padding: 72px 0;
	margin-bottom: 72px;
}
.page-lower .bg-pink-block .sec-lead {
	text-align: left;
}

/* 背景色白
---------------------------------------- */
.page-lower .bg-white-block {
	background: #fff;
	padding: 40px;
	border-radius: 10px;
	margin-bottom: 40px;
}


/* 表データ
---------------------------------------- */
.page-lower dl.data div {
	padding-bottom: 24px;
	margin-bottom: 24px;
	border-bottom: 1px solid #D6D6D6;
}
.page-lower dl.data dt {
	float: left;
	font-weight: 500;
}
.page-lower dl.data dd {
	margin-left: 200px;
	font-weight: 500;
}

/* 横並びリストブロック
---------------------------------------- */
.page-lower .list-block .item {
	margin-bottom: 0;
}
.page-lower .list-block .item .image {
	margin-bottom: 16px;
	border-radius: 10px;
	text-align: center;
	overflow: hidden;
}
.page-lower .list-block .item h3 {
	font-size: 20px;
	line-height: 1.3;
	font-weight: bold;
	text-align: center;
	margin-bottom: 12px;
}
.page-lower .list-block .item h3.accent {
	color: var(--common-color-sub);
}
.page-lower .list-block .item h3.accent.bad {
	color: #797EFF;
}
.page-lower .list-block .item h3.bg-white {
	background: #fff;
	border-radius: 4px;
	padding: 8px 0;
	color: var(--common-color-sub);
}
.page-lower .list-block .item h3.accent.border {
	background-image: linear-gradient(to right, var(--common-color-sub) 4px, transparent 4px);
    background-size: 24px 4px;
    background-repeat: repeat-x;
    background-position: left bottom;
	padding-bottom: 16px;
	margin-bottom: 24px;
	position: relative;
}
.page-lower .list-block .item h3.accent.border:before {
	/*content: "";
	position: absolute;
	background-image: url(../images/common/border-line-dot.svg);
	width: 100%;
	height: 5px;
	background-repeat: no-repeat;
	bottom: 0;
	left: 50%;
	transform: translatex(-50%);*/
}
.page-lower .list-block .item h3.accent.border.bad {
	background-image: linear-gradient(to right, #797EFF 4px, transparent 4px);
    background-size: 24px 4px;
    background-repeat: repeat-x;
    background-position: left bottom;
}
.page-lower .list-block .item p {
	font-weight: 500;
}
.page-lower .list-block .item > *:last-child {
	margin-bottom: 0;
}

/* 横並びリストブロック(2カラム)
---------------------------------------- */
.page-lower .list-block.col2 {
	gap: 32px 40px;
}
.page-lower .list-block.col2 .item {
	width: 46%;
}

/* 横並びリストブロック(3カラム)
---------------------------------------- */
.page-lower .list-block.col3 {
	gap: 28px;
}
.page-lower .list-block.col3 .item {
	width: 31%;
}

/* 横並びリストブロック(4カラム)
---------------------------------------- */
.page-lower .list-block.col4 {
	gap: 26px;
}
.page-lower .list-block.col4 .item {
	width: 22%;
	min-width: 200px;
	position: relative;
}

/* 横並びリストブロック(4カラム、矢印あり)
---------------------------------------- */
.page-lower .list-block.col4.flow .item:before {
	content: "";
	position: absolute;
	background: url(../images/common/icon-flow-arrow.svg) no-repeat center center / contain;
	width: 16px;
	height: 16px;
	left: -21px;
	top: 182px;
	transform: rotate(-90deg);
}
.page-lower .list-block.col4.flow .item:first-child:before {
	display: none;
}


/* フロー
---------------------------------------- */
.page-lower .flow-block .item {
	background: #fff;
	padding: 24px;
	border-radius: 10px;
	gap: 40px;
	margin: 0 auto 48px;
	max-width: 800px;
	position: relative;
}
.page-lower .flow-block .item:before {
	content: "";
	position: absolute;
	background: url(../images/common/icon-flow-arrow.svg) no-repeat center center / contain;
	width: 16px;
	height: 16px;
	left: 50%;
	transform: translatex(-50%);
	bottom: -32px;
}
.page-lower .flow-block .item:last-child {
	margin-bottom: 0;
}
.page-lower .flow-block .item:last-child:before {
	display: none;
}
.page-lower .flow-block .item .image {
	width: 100px;
	margin-bottom: 0;
}
.page-lower .flow-block .item .info {
	width: calc(100% - 140px);
}
.page-lower .flow-block .item .info h3 {
	font-size: 24px;
	font-weight: bold;
	color: var(--common-color-sub);
	line-height: 1.3;
	margin-bottom: 12px;
}
.page-lower .flow-block .item .info p {
	font-weight: 500;
}

/* リスト文章
---------------------------------------- */
.page-lower ul.disc {
	padding-left: 16px;
}
.page-lower ul.disc li {
	list-style-type: disc;
	margin-bottom: 4px;
}
.page-lower ul.disc li:last-child {
	margin-bottom: 0;
}

/* リスト横並び
---------------------------------------- */
.page-lower ul.disc.parts-boxes {
	gap: 56px;
}

/*============================================================
 モーダルカスタム(Modaal.js)
 ※z-index指定　ヘッダー < .modaal-overlay < .modaal-wrapper
*============================================================*/
.modaal-wrapper {
    z-index: 999999;
}
.modaal-overlay {
    z-index: 99999;
}


/*============================================================
 ページング
*============================================================*/
/* bones_page_navi使用時
---------------------------------------- */
.pagination {
    margin-top: 80px;
}
.pagination .page-numbers {
    display: flex;
    flex-wrap: wrap;
    width: fit-content;
    margin: 0 auto;
    gap: 8px;
}
.pagination .page-numbers li > * {
    display: block;
    width: 32px;
    height: 32px;
    box-sizing: border-box;
    font-size: 12px;
    line-height: 32px;
    text-align: center;
}
.pagination .page-numbers li > a {
    background-color: #F5F5F5;
    border-radius: 2px;
}
.pagination .page-numbers li > .current {
    background-color: transparent;
    font-weight: bold;
}
.pagination .page-numbers li > a.prev,
.pagination .page-numbers li > a.next {
    padding: 8px;
    background-color: #000;
    color: #fff;
}
.pagination .page-numbers li > *.page-numbers.dots {
    background-color: transparent;
}

/*============================================================
 記事本文ブロック
*============================================================*/
/* 見出し
---------------------------------------- */
.block-post-content h2 {
	font-size: 36px;
	line-height: 1.3;
	font-weight: bold;
	text-align: center;
	margin-bottom: 32px;
	margin-top: 56px;
}
.block-post-content h3 {    
	font-size: 24px;
	line-height: 1.3;
	font-weight: bold;
	text-align: center;
	margin-bottom: 24px;
	margin-top: 48px;
}

/* 箇条書きリスト
---------------------------------------- */
.block-post-content ul {
	background: var(--common-color-background2);
	border-radius: 10px;
    list-style-type: disc;
	padding: 24px 16px 24px 40px;
    margin-bottom: 16px;
}
.block-post-content ul li {
    list-style-type: disc;
	font-weight: 500;
    margin-left: 0.6em;
	margin-bottom: 16px;
}
.block-post-content ul li:last-child {
	margin-bottom: 0;
}
/* 連番リスト
---------------------------------------- */
.block-post-content ol {
	background: var(--common-color-background2);
	border-radius: 10px;
	padding: 24px 16px 24px 40px;
    list-style: decimal;
    margin-bottom: 16px;
}
.block-post-content ol li {
    list-style: decimal;
	font-weight: 500;
    padding-left: 0.4em;
    margin-left: 0.6em;
	margin-bottom: 16px;
}
.block-post-content ol li:last-child {
	margin-bottom: 0;
}
/* 段落
---------------------------------------- */
.block-post-content p {
	font-weight: 500;
    margin-bottom: 16px;
}
.block-post-content a {
    text-decoration: underline;
}
.block-post-content .parts-btn a {
	text-decoration: none;
}
.block-post-content strong {
    font-weight: bold;
	color: var(--common-color-sub);
}
/* 画像
---------------------------------------- */
.block-post-content figure {    
    margin-bottom: 16px;
}
.block-post-content figure.size-full img {
	width: 100%!important;
}
.block-post-content figure figcaption { 
    font-size: 14px;
    line-height: 140%;
    color: #AEAEAE;
    margin: 8px 0 0 0;
}

/* 余白調整
---------------------------------------- */
.block-post-content .inner > *:first-child {
    margin-top: 0;
}

/*============================================================
 自費診療ブロック
*============================================================*/
#sec-note-jihi .sec-title {
	padding-top: 120px;
	line-height: 2;
}
#sec-note-jihi .sec-title:before {
	background: url(../images/common/note-title-deco.svg) no-repeat center center / contain;
	width: 100px;
	height: 100px;
}
#sec-note-jihi .sec-title span {
	display: inline-block;
	position: relative;
}
#sec-note-jihi .sec-title span:before {
	content: "";
	position: absolute;
	background-image: url(../images/common/note-title-line-01.svg);
	background-repeat: no-repeat;
	background-size: contain;
	width: 100%;
	height: 8px;
	left: 0;
	bottom: -4px;
}
#sec-note-jihi .sec-title span:last-child:before {
	background-image: url(../images/common/note-title-line-02.svg);
}


/*============================================================
 診療案内リンク
*============================================================*/
#sec-menu-link .list {
	gap: 40px;
}
#sec-menu-link .item {
	text-align: center;
	display: block;
	width: 290px;
	background: var(--common-color-background2);
	padding: 16px;
	border-radius: 10px;
	transition: all .3s;
}
#sec-menu-link .item:hover {
	background: var(--common-color-sub);
}
#sec-menu-link .item .image {
	margin-bottom: 16px;
}
#sec-menu-link .item h3 {
	font-size: 24px;
	font-weight: bold;
	line-height: 1.3;
	transition: all .3s;
}
#sec-menu-link .item:hover h3 {
	color: #fff;
}


/*============================================================
 CTA
*============================================================*/
/* お問い合わせ
---------------------------------------- */
#cta-contact {
	padding: 44px 0;
	background: var(--common-color-background2);
}
#cta-contact .inner {
	position: relative;
}
#cta-contact .inner:before {
	content: "";
	position: absolute;
	background: url(../images/common/footer-contact-img-01.png) no-repeat center center / contain;
	width: 167px;
	height: 167px;
	left: -40px;
	top: -110px;
}
#cta-contact .inner:after {
	content: "";
	position: absolute;
	background: url(../images/common/footer-contact-img-02.png) no-repeat center center / contain;
	width: 70px;
	height: 135px;
	right: -10px;
	top: -60px;
}
#cta-contact .info {
	gap: 16px;
	margin-bottom: 18px;
}
#cta-contact .info .text {
	width: 280px;
	text-align: center;
}
#cta-contact .info .text p {
	font-size: 24px;
	line-height: 1;
	font-weight: 500;
	margin-bottom: 6px;
}
#cta-contact .info .text a {
	font-size: 48px;
	font-weight: bold;
	line-height: 1;
	color: var(--common-color-sub);
}
#cta-contact .open {
	text-align: center;
	font-weight: 500;
}
/*============================================================
 サイト内検索フォーム
*============================================================*/
#searchform > div > * {
    vertical-align: middle;
}

/*============================================================
 サイト内検索結果
*============================================================*/
/* 結果リスト
---------------------------------------- */
#page-search #sec-search-results {
    padding: 80px 0;
}
/* 検索結果数 */
#page-search #sec-search-results .total-cnt {
    margin-bottom: 40px;
}
/* リスト */
#page-search #sec-search-results .block-search-results {
    flex-direction: column;
    gap: 32px;
}
#page-search #sec-search-results .block-search-results .item {
}
#page-search #sec-search-results .block-search-results .item .title {
    font-weight: bold;
    font-size: 20px;
    line-height: 160%;
    margin-bottom: 8px;
}
#page-search #sec-search-results .block-search-results .item .lead {
}

/*============================================================
 システムエラー　404
*============================================================*/
#page-system-error #sec-system-error {
    height: max(600px, calc(var(--common-vh) - var(--common-footer-height) - 64px));
    padding: 200px 0 0 0;
    text-align: center;
    background-color: #fff;
    border-radius: 4px;
}

#page-system-error #sec-system-error .system-error-num {
    font-weight: 900;
    font-size: 120px;
    line-height: 100%;
    letter-spacing: 0.04em;
    margin-bottom: 24px;
}

#page-system-error #sec-system-error .system-error-sts {
    font-weight: bold;
    font-size: 32px;
    line-height: 180%;
    margin-bottom: 24px;
}

#page-system-error #sec-system-error .system-error-lead {
    margin-bottom: 56px;
}
#page-system-error #sec-system-error .parts-btn {
    margin: 0 auto;
}


/*============================================================
 footer
*============================================================*/
/* ナビメニュー
---------------------------------------- */
#site-footer {
	padding: 40px 0;
	background: var(--common-color-background1);
}
#site-footer .logo {
	width: 208px;
	margin: 0 auto 40px;
}
#site-footer .menu-list {
	gap: 32px;
	margin-bottom: 40px;
}
#site-footer .menu-list li {
	font-weight: 500;
}
#site-footer .menu-list li a {
	transition: all .3s;
}
#site-footer .menu-list li a:hover {
	opacity: 0.7;
}

/* Copyright
---------------------------------------- */
#site-footer #copyright {
    font-weight: 500;
    font-size: 12px;
    line-height: 17px;
    text-align: center;
}


