@charset "UTF-8";

/*=======================================================*/
/*      		セクション毎のCSS   			  		  */
/*======================================================*/

/*======= 共通 ======*/

/* 親要素からはみ出して画面いっぱいに */
.full {
	margin: 0 calc(50% - 50vw);
	width: 100vw;
}


/*======= TOP ======*/
/*ご挨拶*/
.greeting {
	padding: clamp(40px, 6vw, 90px) 0 var(--v-space);
	background-color: var(--base-color);
	position: relative; /* sectionの位置を相対的にする*/
	z-index: 1; /* 背景画像より上に表示 */
}

span.marker {
    background: linear-gradient(transparent 60%, #f7b7c280 60%);
}

.greeting-spot {
	color: var(--accent-color1);
	font-size: 1.2em;
}
p.right{
	text-align:right;
	margin-top:1em;
}

h3.title{
	font-size: clamp(25px, 3vw, 30px);
	min-height: 0vw;
	font-weight: 400;
	color: #444;
	text-align:center;
}
h3.title::after{
	margin:0 auto;
	display: block;
	content: '';
	width: 160px;
	height: 0px;
	margin-top: 0.6em;
	margin-bottom: 0.2rem;
	border-bottom: 5px solid var(--main-color);
	font-weight: bold;
	font-size: 26px;
}
h3.title + p {
	margin-top: 0.5em;
	margin-bottom: 1em;
	color: var(--txt-color);
	font-family: "Montserrat", sans-serif;
	font-size: 15px;
	text-align:center;
}


.scwaku{
	margin:0 auto;
	width:80%;
	margin-top:3em;
}

.scwaku3{
	border:3px solid var(--accent-color2);
	border-radius:10px;
	margin:0 auto;
	width:80%;
	margin-top:3em;
	padding:1em;  
	box-sizing:border-box; /* 念のため */
	text-align:center;
}
@media screen and (max-width: 568px) { 

	.scwaku{
		width:initial;
	}
	.scwaku3{
		width:initial;
	}
}
span.col1{
	color: var(--accent-color4);
}


/* 診療説明 */
.brown {
    color: var(--accent-color3);
}

.cap_sec {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    width: 80%;
    margin: 50px auto 0 auto;
    justify-content: center;
    align-items: center;
}
.cap-img {
    max-width: 85%;
    margin: 0 auto;
}

@media only screen and (max-width: 968px) {
	.cap_sec {
		grid-template-columns: 1fr 1fr; /* 上は2つ並び */
        width: 80%;
        margin-top: 25px;
	}
	.cap_sec > :nth-child(3) {
		margin-top: 25px;
		grid-column: 1 / -1; /* 3つ目を2列ぶち抜きで下へ */
	}
	.cap-img {
		margin: 0 auto;
	}
}
@media only screen and (max-width: 568px) {
	.cap_sec {
		grid-template-columns: 1fr;
        width: 100%;
        margin-top: 20px;
	}
}
@media only screen and (max-width: 568px) {
	.cap-img {
		max-width: 80%;
	}
}

.scwaku2{
    border: 3px solid var(--accent-color3);
	border-radius:20px;
	padding:1em;  
	box-sizing:border-box; /* 念のため */
	background-color: #fff;
}
@media screen and (max-width: 1024px) { 
	.scwaku2{
		width:initial;
		font-size: 0.9em;
	}
}
@media screen and (max-width: 568px) { 
	.scwaku2{
		width:initial;
		font-size: 1em;
	}
}

ul.custom-list {
	list-style: none;
	padding-left: 0;
	margin-left: 0;
    font-size: clamp(18px, 3vw, 21px);
    font-family: "Zen Maru Gothic", sans-serif;
    font-weight: 500;
    font-style: normal;
}

ul.custom-list li {
	position: relative;
	padding-left: 1.3em; 
	margin-bottom: 0.5em;
	text-indent: -1.3em;
	line-height: 1.3;
}

ul.custom-list li:last-child {
	margin-bottom:0;
}

ul.custom-list li::before {
	content: "●";
    color: var(--accent-color4);
	margin-right: 0.4em;
}


/*テーブル*/
.pr {

	border-collapse: collapse;
	border-spacing: 0;
	text-align: center;
	margin-bottom:0.5em;
	background-color:white;
    font-family: "Zen Maru Gothic", sans-serif;
    font-weight: 600;
    font-style: normal;
}
span.cl{
	color:#E88E2D;
}

.pr td,
.pr th {
	border: 2px solid #E6AB73;
	padding: 7px;
}
/*1列目のみ指定*/
.pr tr:first-child {
	width:20%;
	background-color:#E88E2D;
	color:white;
	font-weight:borld;
}	

@media screen and (max-width: 568px) { 

	.pr tr:first-child {
		font-size:11px;
		height:50px;
	}
	
}

.pr td.sat{
	width:15%;
}

.pr td.sun{
	width:15%;
}
@media screen and (max-width: 568px) { 
	.pr td{
		text-align:center;
		font-size: 16px;
	}
	.pr td.sun {
		width: 10%;
		font-size: 12px;
	}
}

img.telbn{
	border-radius:15px;
}


/*======= コンテンツ ======*/


/*======= Service 診療案内 ======*/

.secS {
	padding: var(--v-space) 0;
	background-color: #FFF;
}


p.info-right{
	display:block;
	margin-right:20%;
}

/* カード全体 */
.info-card__item {
	display: flex;
	flex-wrap: wrap;
	justify-content: center; /* ← 左詰め */
	gap: 5px;
	padding: 20px;
	box-sizing: border-box;
}

/* 各アイテム */
.info-card__item div {
	flex: 0 0 auto;
	line-height: 0; /* 画像下の余白を消す */
}

/* 画像設定 */
.info-card__item div img {
	height: 260px;       /* ← 高さを揃える（可変にしたい場合は後述） */
	width: auto;         /* ← 比率を維持して横幅は自動 */
	display: block;
	object-fit: contain;   /* ← トリミングあり。全体表示なら contain */
	border-radius: 10px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
	background: #fafafa;
	transition: transform 0.3s ease;
}
@media screen and (max-width: 568px) { 
	/* 画像設定 */
	.info-card__item div img {
		height: 130px;       /* ← 高さを揃える（可変にしたい場合は後述） */
	}
	.info-card__item {
		gap: 5px;
		padding: 10px;
	}
}



/* スマホ時：高さを少し小さく */
@media (max-width: 600px) {
	.info-card__item div img {
		width:auto;
	}
}




/*======= Policy 病院理念・看護理念 ======*/

.secP {
	padding: var(--v-space) 0 var(--v-space2) 0;
	position: relative;
	z-index: 1;
	background-color: #fcfcfc; /* 背景を薄めのグレーに */
	background-image: 
	repeating-linear-gradient(0deg, rgba(204, 204, 204, 0.2) 0, rgba(204, 204, 204, 0.2) 0.5px, transparent 0.5px, transparent 15px),
	repeating-linear-gradient(90deg, rgba(204, 204, 204, 0.2) 0, rgba(204, 204, 204, 0.2) 0.5px, transparent 0.5px, transparent 15px);
	background-size: 15px 15px;
}


/*======= フォトイメージ ======*/
.sec4 {
    padding: 0px;
    background-color: var(--base-color);
}

.photo-section {
	padding: 0;
	background-color: var(--base-color);
}

.photo-container {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	grid-column-gap: 0;
	grid-row-gap: 0;
}

.photo-item {
	/* 必要に応じて個別調整可 */
}

.photo-item .img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}



/*======= FAQ ======*/
.faq_sec1 {
	padding: var(--v-space) 0;
	background-color: #FFF;

	position: relative;
	/* sectionの位置を相対的にする*/
	z-index: 1;
	/* 背景画像より上に表示 */
}

.faq-item {
	display: grid;
	grid-template-columns: 1.5em 1fr;
	column-gap: 10px;
	row-gap: 5px;
}

.faq-label {
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-weight: bold;
	font-size: 110%;
	line-height: 1.5;
	border-radius: 3px;
	width: 1.5em;
	text-align: center;
	align-self: start;
	/* lavelを上揃えに */
}

.faq-label.q {
	background-color: var(--accent-color3);
}

.faq-label.a {
	background-color: var(--accent-color2);
}

.faq-question,
.faq-answer {
	margin: 0;
	line-height: 1.6;
	text-align: justify;
}

.faq-question {
	font-weight: bold;
}

hr.faqHr {
	height: 0px;
	border: 1px dashed var(--accent-color2);
	margin: 20px auto;
}


/*======= 会社案内ページ ======*/
/*会社案内*/

.info_sec1::before {
	content: "";
	position: absolute;
	inset: 0;
	background-color: rgba(255, 255, 255, 0.7); /* 不透明度を高めて効果を強調 */
	z-index: 0; 
}
@media screen and (max-width: 568px) { 
	.time {
	  margin-left: 0.5em;
	  display:inline-block;
	}
}

.info_sec1 {
	padding: var(--v-space) 0;
	background-color: #FFF;
	background-image: url(../img/bg_10.jpg);
	background-repeat: no-repeat;
	background-position:center;
	background-size:cover;
	position: relative; /* 追加 */
}



/* 概要・アクセス部分のテーブル */
.info1 {
	font-weight: bold;
	border-bottom: 1px dashed var(--accent-color4);
	padding: 5px;
	width: 5.25em;
}
.info2 {
	border-bottom: 1px dashed var(--accent-color4);
	padding: 5px;
	width: 400px;
}
@media screen and (max-width: 568px) {
	.info1 {
		display: block;
		padding: 8px 2px 2px 2px;
		width: 100%;
		border-bottom: 1px solid rgba(255,255,255,0);
	}
	.info2 {
		display: block;
		padding: 2px;
		width: 99%;
	}
}

.info-sec1-container {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 5px 5px;
}

@media (min-width: 568px) {
	.info-sec1-container {
		grid-template-columns: repeat(6, 1fr);
	}
}

/*会社概要*/
.bg_b{
    background: rgba(255, 255, 255, 0.7);
	padding:40px;
	border-radius: 10px;
}
@media screen and (max-width: 568px) {
	.bg_b {
		padding: 20px;
	}
}

.access_sec1{
	padding: var(--v-space) 0;
	background-color: #FFF;

	position: relative; /* sectionの位置を相対的にする*/ 
	z-index: 1; /* 背景画像より上に表示 */ 
}




/*======= 調整 ======*/
.l-c {
	margin-right: auto;
	margin-left: auto;
}

.spot-heading01 {
	font-size: clamp(40px, 6vw, 60px);
	font-style: italic;
	text-align: center;
	font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
}
.spot-heading02 {
	font-size: clamp(22px, 2.7vw, 30px);
	line-height: 1em;
	font-weight: 700;
	text-align: center;
	font-family: 'YakuHanJPs', 'Noto Sans Japanese', sans-serif, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, "MS Pゴシック", "MS PGothic", Arial, Helvetica, Verdana;
}




/*======= 院内風景 ======*/
.secG {
	padding: var(--v-space) 0;
	background-color: var(--base-color);

	position: relative;
	/* sectionの位置を相対的にする*/
	z-index: 1;
	/* 背景画像より上に表示 */
}

/* カード全体 */
.gallery-card__item {
	display: flex;
	flex-wrap: wrap;
	justify-content: center; /* ← 左詰め */
	gap: 12px;
	padding: 20px;
	box-sizing: border-box;
}

/* 各アイテム */
.gallery-card__item div {
	flex: 0 0 auto;
	line-height: 0; /* 画像下の余白を消す */
}

/* 画像設定 */
.gallery-card__item div img {
	height: 220px;       /* ← 高さを揃える（可変にしたい場合は後述） */
	width: auto;         /* ← 比率を維持して横幅は自動 */
	display: block;
	object-fit: contain;   /* ← トリミングあり。全体表示なら contain */
	border-radius: 10px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
	background: #fafafa;
	transition: transform 0.3s ease;
}

/* ホバー効果（任意） */
.gallery-card__item div img:hover {
	transform: scale(1.02);
}

/* スマホ時：高さを少し小さく */
@media (max-width: 600px) {
	.gallery-card__item div img {
		width:auto;
	}
}

.info1a,.info2a{
    border-bottom: 1px dashed var(--accent-color1);
}
@media screen and (max-width: 568px) { 
	.info1b{
		border-bottom: 1px dashed white;
	}
}



/*サイト全体*/

strong{
	font-weight:normal;
}

/*フォント指定*/
.heading06, .heading span, .spot-heading02, .heading-decoration, .flow01 > li dl dt,
.greeting-card__item H4, .sec1-card__item H4, .heading-decoration2, .sec2__title,
.sec2__catch01, .sec2__subtitle, .heading-decoration_nl, .heading-decoration_c,
.heading-decoration_lg, .card__item H4
,h3
{
    font-family: "Zen Maru Gothic", sans-serif;
    font-weight: 600;
    font-style: normal;
}
.imgtext-container > figure img {
	border-radius:20px !important;
}

/*スマホでは非表示*/
@media screen and (max-width: 568px) { 
	span.spdl{
		display:none;
	}

}
