@charset "UTF-8";
/* CSS Document */
/* グローバルリセット */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    overflow-x: hidden;
}

:target {
  scroll-margin-top: 150px; /* 表示位置を50px下げる */
}

.br{
	display: none;
}
@media screen and (max-width: 1100px){
	.br{
		display: block;
	}
	
}

body {
  color: #583822; 
  font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", "メイリオ", sans-serif;
  font-weight: 500;
  font-size: 1.6em;
  line-height: 2.4rem;
  text-align: center;
background-color: #FFF7EE;


}



nav {
	background-color: #fff;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px 20px;
	z-index: 9999;
	position: fixed; /* 上部に固定 */
	top: 0;
	left: 0;
	width: 100%;
	box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* 少し影を追加して視覚的に分ける */
}

nav .pc-logo img,nav .sp-logo img {
	height: 80px;
}
.sp-logo{
	display: none;
}
nav ul {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 20px;
	font-size: 1.2rem;
	font-weight: 200;
}

nav ul li a {
	text-decoration: none;
	color: #583822;
	font-weight: 700;
}

nav .burger {
	display: none;
	cursor: pointer;
	flex-direction: column;
	gap: 4px;
}

nav .burger div {
	width: 26px;
	height: 3px;
	background-color: #000;
	border-radius: 5px;
	transition: transform 0.3s ease, opacity 0.3s ease;
}

/* アクティブ状態でのバーの変化 */
nav .burger.active div:nth-child(1) {
	transform: rotate(45deg) translate(5px, 5px);
}

nav .burger.active div:nth-child(2) {
	opacity: 0;
}

nav .burger.active div:nth-child(3) {
	transform: rotate(-45deg) translate(5px, -5px);
}

/* メディアクエリでの調整 */
@media screen and (max-width: 1200px) {
	nav ul {
		flex-direction: column;
		position: absolute;
		top: 70px;
		right: 0;
		background-color: #fff;
		box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
		width: 100%;
		padding: 30px;
		transform: translateX(100%); /* 初期状態で隠す */
		transition: transform 0.3s ease-in-out;
	}

	nav ul.active {
		transform: translateX(0); /* 表示 */
	}

	nav .burger {
		display: flex;
	}
	nav .sp-logo img {
	height: 60px;
}
	.sp-logo{
	display: block;
	}
	.pc-logo{
		display: none;
	}
}


/*追従問い合わせボタン*/
.fixed_btn {
    position: fixed;
    bottom: 40%;
    right: 0;
    padding: 20px;
    background-color: #ff6600;
    color: #fff;
    font-weight: bold;
    font-size: 1.5rem;
    border: none;
    border-radius: 5px 0 0 5px;
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 1000;
    
    writing-mode: vertical-rl; /* 縦書き */
    -webkit-writing-mode: vertical-rl; /* Safari対応 */
    text-orientation: upright; /* 文字を直立 */
    
    display: block; /* Safari対応 */
    width: auto;
    height: auto;
    white-space: nowrap; /* テキストが改行されるのを防ぐ */
}
.fixed_btn a{
	text-decoration: none;
}

.fixed_btn:hover {
    background-color: #FAC084;
}

.fixed_btn.visible {
    opacity: 1;
    transform: translateY(0);
}

@media screen and (max-width: 600px) {
    .fixed_btn {
        display: none;
    }
}




/*フッター*/
.footer {
  width: 100%;
  padding: 30px;
  background-color: #eee8aa;
  gap: 20px;
}

.footer00 {
  display: flex;
  margin: 0 auto;
  background-color: #fff;
  border-radius: 15px;
  max-width: 1200px;
  gap: 50px;
}

.footer01, .footer02 {
  width: 45%;
  padding: 50px;
}

.footer-rogo img {
  max-width: 200px;
  padding-top: 50px;
}

.footer01 p {
  text-align: left;
}
@media screen and (max-width: 600px){
	.footer p{
		font-size: 1.2rem;
		line-height: 1.5rem;
	}
}
.contact{
	display: flex;
	margin: 50px auto;
}
.tel,.mail {
  display: flex;
  align-items: center; /* 縦方向の中央揃え */
	background-color: #FE9552;
	border-radius: 10px;
	padding: 10px ;
	height: 60px;
}
.tel:hover,.mail:hover{
	background-color: #FFC263;
}


.mail{
	margin-left: 20px;
}

.tel img, .mail img {
  width: 50px;
  padding: 0;
  margin: 0; /* 余白をリセット */
  margin-right: 10px; /* 必要な余白のみ指定 */
}

.contact a{
  font-size: 1.5rem;
	text-decoration: none; /* 下線を消す */
	color: #fff;
}
.footer02 img {
  max-width: 500px;
}

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

	.contact p{
		display: none;
	}
	.contact img{
		margin: 0;
	}
}


/* 診察時間テーブル */
.table-wrapper {
  margin: 0 auto;
}

.biz-hour {
  width: 100%;


  border-collapse: collapse; /* ボーダーを一つにまとめる */
}

.biz-hour th:first-child {
  min-width: 100px; /* 最小幅をさらに縮小 */
}
.biz-hour th, .biz-hour td {
  padding: 10px 15px;
  text-align: center;
   white-space: nowrap; /* テキストの折り返しを防ぐ */
  border-bottom: 1px solid #A28C63; /* ボーダー */
}

.biz-hour td {
  font-size: 1rem;
}

/* 診察時間テーブルのヘッダー */
.biz-hour th {
  font-weight: normal;
  font-size: 1.2rem;
}

/* 「土」の文字色 */
.biz-hour th.sat {
  color: #3db2da;
}

/* 「日」の文字色 */
.biz-hour th.sun {
  color: #e66a6a;
}

.biz-hour-wrapper p{
	font-size: 1.3rem;
}

/* スマホ時に調整 */
@media screen and (max-width: 600px) {
  .biz-hour th, .biz-hour td {
    padding: 10px 10px; /* 横の余白を減らす */
    font-size: 1rem; /* フォントサイズを小さく */
    line-height: 2rem; /* 行間を詰める */
  }
 .footer-rogo, .footer02 img {
    width: 90%;
    margin: 0 auto;
  }
	.biz-hour th.sat,.biz-hour th.sun{
  display: none;
}
	.biz-hour td:nth-last-child(1), /* 最後のセル */
.biz-hour td:nth-last-child(2) /* 最後から2番目のセル */ {
  display: none; /* 非表示にする */
}

}

@media screen and (max-width: 1100px) {
  .footer00 {
    display: block;
  }

  .footer01, .footer02 {
    width: 90%;
  margin-left: 5px;
    padding: 5px;
  }
}
.footer02 img{
	margin-top: 50px;
	border: solid #FE9552;
	border-radius: 10px;
}
.footer02 h2{
	font-size: 1.5rem;
	text-align: left;
	color: #FE9552;
	width: 80%;
	margin: 0 auto;
}
.footer02 p{
	text-align: left;
	font-size: 1.2rem;
	width: 80%;
	margin: 10px auto 50px;
}



copy{
	font-size: 0.8rem;
	text-align: center;
}