@charset "UTF-8";

body {
	margin:0;
	padding: 0;
	font-family:'メイリオ',Meiryo,'ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro','ＭＳ Ｐゴシック',sans-serif;
	text-align: center;
	background-image: url(../img/haikei.gif);
	background-repeat: repeat-x;
	font-size:62.5%;
}


/*=============================================================================
  ヘッダー全体のレイアウト調整（全体幅 950px / 左右 475px 2分割）
=============================================================================*/

#header{
	padding: 0px;
	width: 950px;
	margin-top: 0px;
	margin-right: auto;
	margin-bottom: 0px;
	margin-left: auto;
	height: 100px;
}

/* --- 上段エリア --- */

/* 左上：診療科目 */
#header h1{
	font-size: 12px;
	line-height: 36px;
	color: #666;
	text-align: left;
	margin: 0px;
	padding: 0px;
	float: left;
	height: 36px;
	width: 475px; /* 左側半分を確保 */
	font-weight: normal;
}

/* 右上：診療時間 */
#header p.info {
    font-size: 12px;
    line-height: 36px;
    color: #666;
    text-align: right;
    margin: 0px;
    padding: 0px;
    float: right; /* 右に浮かせる */
    height: 36px;
    width: 475px; /* 右側半分を確保 */
}

/* --- 下段エリア --- */

#header_main_row {
	float: left;
	width: 950px;
	height: 63px;
	background: none !important;
}

/* 左下：法人名・医院名の親ボックス */
#clinic_title_box {
	float: left;
	width: 475px; /* 左側半分を確保 */
	height: 63px;
	text-align: left;
	display: block;
	padding-top: 4px; /* 文字拡大に伴い上部パディングを微調整 */
	box-sizing: border-box;
}

#clinic_title_box a {
	text-decoration: none;
	display: block;
	width: 100%;
	background: none !important;
}

/* 法人名（小野会） */
#clinic_title_box .sub_corp {
	font-family: "Hiragino Maru Gothic ProN", "Rounded Mplus 1c", "Kosugi Maru", "Meiryo", sans-serif;
	font-size: 10px;
	color: #8c8c8c;
	display: block;
	text-align: left;
	margin: 0;
	width: 100%;
}

/* 医院名（おの肛門科胃腸科内視鏡クリニック） */
#header h2 {
	font-family: "Hiragino Maru Gothic ProN", "Rounded Mplus 1c", "Kosugi Maru", "Meiryo", sans-serif;
	display: block;
	margin: 1px 0 0 0;
	padding: 0px;
	float: none;
	height: auto;
	font-size: 26px; /* ★ご要望：1.2倍サイズ（22pxから26pxに拡大） */
	font-weight: bold;
	color: #333333;
	text-align: left;
	text-indent: 0px !important;
	background: none !important;
	letter-spacing: -0.5px;
	line-height: 1.2;
	width: 100%;
}

/* 右下：ご予約・お問合せ電話番号エリア */
#header p.tel {
    margin: 0px;
    padding: 0px;
    float: right; /* 右側半分へ配置 */
    height: 63px;
    width: 475px; 
    text-align: right;
    display: flex;
    flex-direction: column;
    justify-content: center; /* 内部パーツを縦に並べて整列 */
}

/* 「ご予約・お問合せは電話.」部分 */
#header p.tel .tel_label {
    font-size: 12px; /* ★現在の大きさ */
    color: #666;
    line-height: 1.3;
    display: block;
}

/* 「088-866-0006」部分 */
#header p.tel .tel_num {
    font-size: 24px; /* ★ご要望：電話番号を大きく表示 */
    font-weight: bold;
    color: #245cb7; /* 目立たせるためにナビのボタンと揃えた綺麗な青色を適用 */
    line-height: 1.2;
    display: block;
    margin-top: 2px;
    letter-spacing: 0.5px;
}

#header img{
	display: none;
}


/*=============================================================================
  メインボタン・メニューエリア
=============================================================================*/

#button{
	padding: 0px;
	clear: both;
	width: 950px; 
	margin-top: 0px;
	margin-right: auto;
	margin-bottom: 20px;
	margin-left: auto;
	height: 50px;
}

#button ul {
	width: 950px;
	height: 50px;
	margin: 0;
	padding: 0;
	list-style-type: none;
	display: flex;
}

#button li {
	flex: 1;
	height: 50px;
	margin: 0;
	padding: 0;
	border-right: 1px solid #ffffff; 
}

#button li:last-child {
	border-right: none; 
}

#button li a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	background: linear-gradient(to bottom, #4f85e2, #245cb7);
	color: #ffffff;
	font-size: 14px;
	font-weight: bold;
	text-decoration: none;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
	text-indent: 0px !important;
}

#button li a:hover {
	background: linear-gradient(to bottom, #f39c12, #d35400); 
	color: #ffffff;
	text-decoration: none;
}

/* ★新設：一番右端（8番目）のボタンだけ緑色にする特別エフェクト */
#button li:last-child a {
	background: linear-gradient(to bottom, #34a853, #1e7033); /* 深みのある緑の立体グラデーション */
}

/* 緑ボタンのマウスホバー（明るい新緑グリーン） */
#button li:last-child a:hover {
	background: linear-gradient(to bottom, #4fcc74, #29994c); 
	color: #ffffff;
	text-decoration: none;
}

/*=============================================================================
  フッター・その他エリア
=============================================================================*/

#button_footer{
	clear: both;
	margin-top: 100px;
	margin-right: auto;
	margin-bottom: 0px;
	margin-left: auto;
	color: #949494;
	font-size: 14px;
	background-color: #000;
	background-image: url(../img/button2_haikei.gif);
	background-repeat: no-repeat;
	background-position: center top;
	height: 53px;
	width: 950px;
	padding: 0px;
}

#button_footer p{
	color: #1d509b;
	margin: 0px;
	padding-top: 20px;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 0px;
	font-size: 1.0em;
	line-height: 1.0em;
}

#button_footer a:link { color: #2f68be; text-decoration: underline; }
#button_footer a:visited { color: #2f68be; text-decoration: underline; }
#button_footer a:hover {
	color: #DB2067;
	text-decoration: underline;
}
#button_footer a:active { color: #2f68be; text-decoration: underline; }

#footer_navi_haikei{
	background-image: url(../img/footer_navi_haikei.gif);
	background-repeat: repeat-x;
	clear: both;
}

.footer_pan{
	height: 51px;
	margin-top: 0px;
	margin-right: auto;
	margin-bottom: 0px;
	margin-left: auto;
	padding: 0px;
	width: 950px;
}

.footer_pan img{
	margin: 0px;
	float: left;
	padding-top: 10px;
	padding-right: 10px;
	padding-bottom: 0px;
	padding-left: 0px;
}

.footer_pan p{
	line-height: 51px;
	float: left;
	height: 51px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: auto;
	padding-top: 0px;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 0px;
	color: #bdd1f0;
}

.footer_pan a:link,.footer_pan a:visited,.footer_pan a:active{
	color: #bdd1f0;
	text-decoration: none;
	font-size: 12px;
}

.footer_pan a:hover{
	color: #ffffff;
	text-decoration: underline;
}

.footer_pan p.print{
	text-indent: -9999px;
	margin: 0px;
	padding: 0px;
	float: right;
	height: 51px;
	width: 165px;
	background-image: url(../img/footer_pan_print_over.gif);
	display: block;
}

.footer_pan a.print{
	background-image: url(../img/footer_pan_print.gif);
	display: block;
	height: 51px;
	width: 165px;
}

.footer_pan a:link.print{
	background-image: url(../img/footer_pan_print.gif);
	display: block;
	height: 51px;
	width: 165px;
}

.footer_pan a:hover.print{
	background:none;
	height: 51px;
	width: 165px;
}

#footer_navi{
	margin-top: 0px;
	margin-right: auto;
	margin-bottom: 0px;
	margin-left: auto;
	width: 950px;
	padding-top: 40px;
	padding-right: 0px;
	padding-bottom: 40px;
	padding-left: 0px;
}

#footer_navi a:link,#footer_navi a:visited,#footer_navi a:active{
	color: #bdd1f0;
	text-decoration: none;
}

#footer_navi a:hover{
	color: #ffffff;
	text-decoration: underline;
}

#footer_navi ul{
	list-style-type: none;
	padding: 0px;
	text-align: left;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
}
#footer_navi li{
	margin: 0px;
	padding: 3px;
	list-style-type: none;
	color: #FFF;
	font-size: 14px;
}

#footer_navi p{
	color: #ffffff;
	font-size: 14px;
	font-weight: normal;
	margin: 0px;
	padding: 0px;
	text-align: left;
	height: 24px;
}

.footer_navi_box01{ margin: 0px; padding: 0px; float: left; width: 220px; }
.footer_navi_box02{ margin: 0px; padding: 0px; float: left; width: 220px; }
.footer_navi_box03{ margin: 0px; padding: 0px; float: left; width: 190px; }
.footer_navi_box04{ margin: 0px; padding: 0px; float: left; width: 160px; }
.footer_navi_box05{ margin: 0px; padding: 0px; float: left; width: 160px; }

#footer{
	width: 950px;
	margin-top: 0px;
	margin-right: auto;
	margin-bottom: 0px;
	margin-left: auto;
	padding-top: 0px;
	padding-right: 0px;
	padding-bottom: 30px;
	padding-left: 0px;
	clear: both;
}

.footer_page_back{
	padding: 0px;
	width: 950px;
	margin-top: 0px;
	margin-right: auto;
	margin-bottom: 0px;
	margin-left: auto;
	clear: both;
}

.footer_page_back p{
	width: 151px;
	height: 36px;
	display:block;
	margin: 0px;
	padding: 0px;
	background-image: url(../img/footer_pagetop_over.gif);
	float: right;
}
.footer_page_back a{
	margin: 0px;
	padding: 0px;
	height: 36px;
	width: 151px;
	display:block;
	text-indent: -9999px;
	background-image: url(../img/footer_pagetop.gif);
	float: right;
}

.footer_page_back a:link{ background-image: url(../img/footer_pagetop.gif); }
.footer_page_back a:hover{ background:none; }

.footer_left{
	float: left;
	margin: 0px;
	padding: 0px;
	width: 475px;
	height: 75px;
	text-align: left;
}

.footer_left img{
	padding: 0px;
	margin-top: 0px;
	margin-right: 10px;
	margin-bottom: 0px;
	margin-left: 10px;
	float: left;
}
.footer_left p{
	text-align: left;
	font-size: 1.4em;
	line-height: 1.6em;
	margin: 0px;
	color: #3c3c3c;
	padding-top: 8px;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 0px;
}

.footer_right{
	float: right;
	margin: 0px;
	padding: 0px;
	width: 475px;
	height: 75px;
}
.footer_right p{
	font-size: 1.2em;
	line-height: 75px;
	text-align: right;
	margin: 0px;
	padding: 0px;
	color: #3c3c3c;
}

.pic_top10{ display: block; padding: 0px; margin-top: 10px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;}
.pic_top20{ display: block; padding: 0px; margin-top: 20px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;}
.pic_top30{ display: block; padding: 0px; margin-top: 30px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;}
.pic_top40{ display: block; padding: 0px; margin-top: 40px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;}
.pic_top50{ display: block; padding: 0px; margin-top: 50px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;}

.pic_buttom10{ display: block; padding: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px;}
.pic_buttom20{ display: block; padding: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 20px; margin-left: 0px;}
.pic_buttom30{ display: block; padding: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 30px; margin-left: 0px;}
.pic_buttom40{ display: block; padding: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 40px; margin-left: 0px;}
.pic_buttom50{ display: block; padding: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 50px; margin-left: 0px;}

.font_small{ font-size: 14px; color: #000000; }
.font_green{ color: #08895a; font-weight: bold; }
.font_lilac{ color:#6575b0; font-size: 20px; }	
.font_lilac_b{ color:#6575b0; font-weight: bold; }

.font_blue{ color: #2f68be; }
.font_orange{ color: #ff7400; }
.font_gray{ color: #666; }
.font_gray2{ color: #CCC; }
.font_blue_b{ color: #2f68be; font-weight: bold; }
.font_orange_b{ color: #ff7400; font-weight: bold; }

span.small{ font-size: 0.8em; line-height: 1.0em; }
.haikei_blue{ background-color: #DBE3FF; }

.waku_box {
	-moz-border-radius: 8px;
	-webkit-border-radius: 8px;
	border-radius: 8px;
	border: 1px solid #CCC;
	padding: 25px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 80px;
	margin-left: 0px;
	clear: both;
}

.btn-iticket {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background-color: #e97262; 
	color: #ffffff !important;
	font-weight: bold;
	font-size: 14px;
	text-decoration: none !important;
	padding: 10px 24px;
	margin-top: 6px;
	border-radius: 6px; 
	transition: background-color 0.2s ease;
	box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.btn-iticket:hover {
	background-color: #d65949; 
	color: #ffffff !important;
}