@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; /* 背景画像より上に表示 */
}

.greeting-spot {
	color: var(--accent-color1);
	font-size: 1.2em;
}



/*======= コンテンツ ======*/

/*======= ABOUT ======*/
/*section1*/
.sec1 {
	padding: var(--v-space) 0;
    background-color: #FFF;
    background-image: url(../img/bg_01a.jpg), url(../img/bg_01b.jpg);
    background-repeat: no-repeat, no-repeat ;
    background-position: top center, bottom center ;
    background-size: 100%, 100%;
}

/*======= MENU ======*/
/*section2*/
.sec2 {
	padding: var(--v-space) 0;
    background-color: #FFF;
}

/*カード*/
.sec2-card__item{
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap:10px;
}
@media only screen and (max-width: 968px) {
	.sec2-card__item{
		display: grid;
		grid-template-columns: repeat(2, 1fr);
	}
}
@media only screen and (max-width: 568px) {
	.sec2-card__item{
		display: grid;
		grid-template-columns: repeat(1, 1fr);
	}
}
.sec2-card__item div{
	/*子要素のそれぞれのdivの高さを揃える記述*/
	display: grid;
	grid-template-rows: subgrid;
	grid-row: span 3;
	/*ここまで*/

	padding: 20px;
	background-color: var(--base-color);
	border-radius: 10px;
	box-sizing: border-box;
	border: solid 1px var(--main-color);
}
.sec2-card__item H4{
	padding: 5px 0;
	font-size: clamp(16px,1.5vw,20px);
	font-weight: bold;
	line-height: 1.3;
	text-align: center;
	border-bottom: 2px dotted var(--main-color);
}
.sec2-card__item p{
	display: inline-block;
    font-size: 15px;
    line-height: 1.5;
}


/*======= FLOW ======*/

/*section3*/
.sec3 {
	padding: var(--v-space) 0;
    background-color: var(--base-color);
	background-image: url(../img/bg_03.png);
	background-size: clamp(50px,6vw,80px);
	background-repeat: repeat;

	position: relative; /* sectionの位置を相対的にする*/ 
	z-index: 1; /* 背景画像より上に表示 */ 
}

/*======= FAQ ======*/
.faq_sec1 {
	padding: var(--v-space) 0;
	background-color: #FFF;
	
	position: relative; /* sectionの位置を相対的にする*/ 
	z-index: 1; /* 背景画像より上に表示 */ 
}
div.faq2 p.b {
	font-weight: bold;
	color: #444;
}
div.faq2 p.b::first-letter {
	color: var(--accent-color1);
	font-size: 130%;
}
div.faq2 p {
	margin-top: 5px;
	line-height: 1.4;
	text-align: left;
	text-indent: -1.4em;
	padding-left: 1.4em;
	display: block;
}
div.faq2 p::first-letter {
	color: var(--accent-color2);
	font-size: 130%;
	font-weight: bold;
}
hr.faqHr{
	height: 0px;
	border: 1px dashed var(--accent-color2);
	margin: 20px auto;
}


/*======= 会社案内ページ ======*/
/*会社案内*/
.info_sec1{
	padding: var(--v-space) 0;
	background-color: #ECFFE9;
}
/* 概要・アクセス部分のテーブル */
.info1 {
	font-weight: bold;
	border-bottom: 1px dashed var(--accent-color2);
	padding: 5px;
	width: 5.25em;
}
.info2 {
	border-bottom: 1px dashed var(--accent-color2);
	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(69,168,143, 0.9);
	padding:40px;
	border-radius: 20px;
}
@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; /* 背景画像より上に表示 */ 
}



/*======= リスト ======*/
@media (max-width: 1024px) {
	ul.sidelist2 li {
		font-size: 13px;
		padding: 5px 4px;
	}
}

ul.sidelist2 li {
    box-sizing: border-box;
    list-style-type: none;
    float: left;
    --widthA: calc(100% - 10px);
    --widthB: calc(var(--widthA) / 2);
    width: var(--widthB);
    margin: 2.5px 5px 2.5px 0;
    text-align: left;
    text-decoration: none;
    font-size: 15px;
    padding: 5px;
	color: --txt-color;
    border: dashed 1px var(--main-color);
    background: #fff;
}

 .mb-20 {
	margin-bottom: 20px !important;
 }

 .cleafix {
	content: '';
    display: block;
    clear: both;
    padding-top: 20px;
 }


/*======= 電話 ======*/
 .sec3-heading {
    display: flex
;
    justify-content: center;
    align-items: center;
    font-size: clamp(14px, 1vw, 18px);
    text-align: center;
    border: 0;
    color: var(--txt-color);
    margin: 10px;
}

.sec3-heading::before {
    margin-right: 30px;
    transform: rotate(-35deg);
    content: '';
    width: 1px;
    height: 40px;
    background-color: var(--main-color);
}

.sec3-heading::after {
    margin-left: 30px;
    transform: rotate(35deg);
    content: '';
    width: 1px;
    height: 40px;
    background-color: var(--main-color);
}

a.btn_01 {
    display: block;
    text-align: center;
    text-decoration: none;
    position: relative;
    width: 200px;
    margin: 0 auto;
    padding: 1rem 4rem;
    font-weight: bold;
    color: #fff;
    background: var(--main-color);
    transition: 0.3s ease-in-out;
}

a.btn_01::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    width: calc(100% - 4px);
    height: calc(100% - 4px);
    border: 1px solid var(--accent-color1);
    transition: 0.2s;
}

/*2025-04-15*/

/*診療時間､カレンダー*/
.pr, .pr td, .pr th {
  border-collapse: collapse;
   border: 1px solid #999; 
   text-align:center;
   font-size:14px;
}
.pr td{

	line-height:190%;
}

@media screen and (min-width: 568px) { 
	.pr td:not(:first-child) {
	  width: 11%; /* 任意の幅 */
	}
}


/*上記テーブル初段のみ*/
.pr tr:first-child,
.pr tr:first-child td,
.pr tr:first-child th {
  background-color:var(--main-color);

}

@media screen and (max-width: 568px) { 
	table.pr{
		margin-top:-60px;
	}
}

p.indent{
 padding-left:1em;
 text-indent:-1em;
margin-bottom:4px;
}

/*Consultation 各種相談 h3*/
h4.title{
	font-weight:normal;
	color:#888;
}



/*画像外枠*/
.spot_photo02{
	margin:0 auto;
	position: relative;
}
.spot_photo02::before,
.spot_photo02::after {
	content: "";
	width: 100px;
	height: 100px;
	position: absolute;
}
.spot_photo02::before {
	border-top: 2px solid var(--main-color);
	border-left: 2px solid var(--accent-color2);
	top:-10px;
	left:-10px;
}
.spot_photo02::after {
	border-right: 2px solid var(--main-color);
	border-bottom: 2px solid var(--accent-color2);
	bottom:-10px;
	right:-10px;
}

/*よくある質問*/
.faq_sec1 {
    position: relative;
    z-index: 1;
    background-color: #f7f7f7;
    background-size: 4px 4px;
    background-image: repeating-linear-gradient(0deg, #e1f1e7, #e1f1e7 1px, #fff 1px, #fff);
}
   /*枠付きデザイン*/
.onecours{
	background-color: rgba(255, 255, 255, 0.95);
	border-radius: 7px;
	padding: 7px 20px 12px 20px;
	margin: 17px 0;
}
.onecours:first-child{
	margin: 0px;
}

strong{
	font-weight:normal;
}
.secA{
	padding: var(--v-space) 0;
	background-color: #ECFFE9;
}



/*更新履歴*/

.update-container {
  width: 94%; /* PC・タブレットで幅100% */
  margin: 0 auto;
  background-color: #fff;
  border: 2px solid var(--accent-color1);
  border-radius: 10px;
  padding: 15px;
  max-height: 400px; /* スクロールのための高さ制限 */
  overflow-y: auto; /* 縦スクロールを有効化 */
  position: relative;
}

.update-item {
  margin-bottom: 20px;
}

.update-header {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.new-badge {
  background-color: var(--accent-color1);;
  color: #fff;
  padding: 2px 8px;
  border-radius: 3px;
  font-size: 12px;
  margin-right: 10px;
}

.update-date {
  font-size: 14px;
  color: #333;
}

.update-title {
  font-size: 16px;
  font-weight: bold;
  color: #333;
  margin-bottom: 5px;
}

.update-description {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
}

.divider {
  border-top: 1px dashed var(--accent-color1);;
  margin: 15px 0;
}

/* スクロールバーのカスタマイズ */
.update-container::-webkit-scrollbar {
  width: 8px;
}

.update-container::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.update-container::-webkit-scrollbar-thumb {
  background: var(--accent-color1);;
  border-radius: 4px;
}

/* レスポンシブデザイン（スマホ用） */
@media (max-width: 600px) {

  .update-container {
    width: 90%; /* スマホ時に幅90% */
    margin: 0 auto; /* 左右中央配置 */
    padding: 10px;
    max-height: 300px; /* スマホでは高さを小さく */
  }

  .new-badge {
    font-size: 10px;
    padding: 2px 6px;
  }

  .update-date {
    font-size: 12px;
  }

  .update-title {
    font-size: 14px;
  }

  .update-description {
    font-size: 12px;
  }
}



