/* 基本設定 */
header{
	background:#fff;
	position:fixed;
	top:0px;
	left:0px;
	width:100%;
	z-index:999;
	transition: all 0.2s ease-out;
	-moz-transition: all 0.2s ease-out; /* firefox */
	-webkit-transition: all 0.2s ease-out; /* chrome, safari */
	-ms-transition: all 0.2s ease-out; /* ie */
	box-shadow:0px 2px 10px rgba(0,0,0,0.3); 
}
.inr{
	margin:0 auto;
	max-width:1300px;
	position:relative;
	/*overflow: hidden;*/
	/*height:90px;*/
}
.inr #logo{
	display: inline-block;
	position: relative;
}
.inr #logo:after{
	content: "";
	position: absolute;
	display: block;
	top:0;
	right:-200px;
	height: 100%;
	width:200px;
	background: rgb(242,242,242);
    background: -moz-linear-gradient(left, rgba(242,242,242,1) 0%, rgba(255,255,255,1) 100%);
    background: -webkit-linear-gradient(left, rgba(242,242,242,1) 0%,rgba(255,255,255,1) 100%);
    background: linear-gradient(to right, rgba(242,242,242,1) 0%,rgba(255,255,255,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f2f2f2', endColorstr='#ffffff',GradientType=1 );
}

body {
    font-family: 'Yu Gothic', 'Meiryo', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f7f9fc; /* 全体の背景を薄いグレーブルーに */
    color: #333;
}
.container {
    max-width: 850px;
    margin: 20px auto;
    background-color: #fff;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}
.page-section {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}
.page-section:last-child {
    border-bottom: none;
}

/* タイトル */
.title-section {
    text-align: center;
    padding-bottom: 20px;
}
.main-title {
    color: #007bff; /* 青色 */
    font-size: 2.5em;
    font-weight: bold;
    border-bottom: 5px solid #007bff;
    display: inline-block;
    padding: 0 20px 5px 20px;
    margin-bottom: 10px;
}
.subtitle {
    font-size: 1.3em;
    color: #555;
    margin-top: 5px;
    font-weight: 500;
}
.image-container {
    text-align: center;
    margin: 20px 0;
}
.image-container img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

/* 診療案内ボックス */
.info-box {
    background-color: #e6f3ff; /* 薄い青の背景 */
    border: 1px solid #007bff;
    padding: 15px;
    margin: 15px 0;
    border-radius: 6px;
}
.info-box h3 {
    color: #007bff;
    font-size: 1.2em;
    margin-top: 0;
    border-bottom: 2px solid #007bff;
    display: inline-block;
    padding-bottom: 3px;
}
.info-box ul {
    list-style: none;
    padding: 0;
}
.info-box li strong {
    display: inline-block;
    min-width: 80px;
    color: #0056b3;
}
.hospital-address {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9em;
}

/* メタボリックドミノ */
.domino-title {
    background-color: #ff9999;
    color: #fff;
    padding: 10px 20px;
    font-size: 1.5em;
    text-align: center;
    margin: 20px -30px 20px -30px; /* 左右いっぱいに広げるイメージ */
    border-radius: 8px; /* 角を丸める */
}
.explanation {
    background-color: #f9f9f9;
    padding: 15px;
    border-left: 5px solid #d9534f; /* 赤系のアクセント */
    margin-bottom: 20px;
}
.treatment-section h3 {
    color: #007bff;
    font-size: 1.3em;
    border-left: 5px solid #007bff;
    padding-left: 10px;
}

/* 保険診療の対象 */
.eligibility-section {
    background-color: #e8fff0; /* 薄い緑の背景 */
    border: 2px solid #5cb85c;
    padding: 20px;
    border-radius: 8px;
}
.eligibility-section h2 {
    color: #5cb85c;
    border-bottom: 2px solid #5cb85c;
    padding-bottom: 5px;
    margin-top: 0;
}
.criteria-group {
    margin-bottom: 15px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}
.criteria-group p {
    font-weight: bold;
    color: #333;
    margin-top: 0;
}
.criteria-group ul {
    list-style: disc;
    padding-left: 20px;
    margin-top: 5px;
}
.plus-sign {
    text-align: center;
    font-size: 3.5em;
    font-weight: bold;
    color: #d9534f;
    margin: 10px 0;
}
.health-disorders {
    margin-top: 20px;
    font-size: 0.9em;
    padding-left: 10px;
    border-left: 3px solid #ccc;
    display: flex;
    flex-wrap: wrap;
}
.health-disorders > div {
    width: 50%;
    box-sizing: border-box;
    padding-right: 15px;
}
.drug-conditions {
    margin-top: 20px;
    padding: 15px;
    background-color: #fff9e6;
    border: 1px dashed #ffcc00;
    border-radius: 5px;
    font-size: 0.9em;
}

/* 予約・アクセス */
.reservation-access h2 {
    color: #007bff;
    border-left: 5px solid #007bff;
    padding-left: 10px;
}
.reservation-details {
    margin-top: 15px;
    padding: 15px;
    background-color: #f0f8ff;
    border: 1px solid #b3d9ff;
    border-radius: 5px;
}
.reservation-details ul {
    list-style: none;
    padding: 0;
}
.reservation-details li {
    margin-bottom: 8px;
}
.reservation-details strong {
    color: #d9534f;
}
.contact-box {
    text-align: center;
    margin: 15px 0;
    padding: 10px;
    border: 2px dashed #007bff;
    border-radius: 5px;
}
.contact-box p {
    margin: 5px 0;
}
.fax-info {
    font-size: 0.85em;
    text-align: right;
    color: #555;
    margin-top: 10px;
}
.access-map-details {
    font-size: 0.9em;
}
.access-map-details p {
    margin: 3px 0;
}

/* 食事記録表 (簡略化) */
.diet-record-note {
    background-color: #ffffe0;
    padding: 10px;
    border: 1px solid #ffd700;
    margin: 15px 0;
    font-size: 0.9em;
    text-align: center;
}

/* 食事記録セクションのタイトル */
.diet-record-note-header h2 {
    background-color: #ff9999; /* 画像の赤っぽいヘッダー色 */
    color: #fff;
    padding: 10px 20px;
    text-align: center;
    margin: 20px -30px 20px -30px; /* 左右いっぱいに広げる */
    border-radius: 5px; /* 角を少し丸める */
}
.diet-record-note-header h3 {
    background-color: #eeb108e3; /* 画像の赤っぽいヘッダー色 */
    color: #fff;
    padding: 10px 20px;
    text-align: center;
    margin: 20px -30px 20px -30px; /* 左右いっぱいに広げる */
    border-radius: 5px; /* 角を少し丸める */
}

/* 治療内容セクションのタイトル */
.treatment-section-header {
    background-color: #ff9999; /* 画像の赤っぽいヘッダー色 */
    color: #fff;
    padding: 10px 20px;
    text-align: center;
    margin: 20px -30px 20px -30px; /* 左右いっぱいに広げる */
    border-radius: 5px; /* 角を少し丸める */
}
.treatment-section-header h3 {
    margin: 0;
    font-size: 1.5em;
    font-weight: bold;
}

/* 各治療ステップのボックス */
.treatment-step {
    padding: 20px;
    margin: 0 auto; /* 中央揃え */
    margin-bottom: 20px; /* 矢印との間隔 */
    border-radius: 8px; /* 角を丸める */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* 影 */
    max-width: 500px; /* ボックスの最大幅を制限 */
    text-align: center; /* テキスト中央揃え */
}
.treatment-step p {
    margin: 5px 0;
    font-size: 1.1em;
    color: #333;
}
.treatment-step p strong {
    font-size: 1.2em;
    color: #000; /* 太字をより強調 */
}

/* 背景色の指定 */
.light-green-bg {
    background-color: #ccffcc; /* 薄い緑 */
}
.light-yellow-bg {
    background-color: #ffffcc; /* 薄い黄色 */
}
.light-pink-bg {
    background-color: #ffccff; /* 薄いピンク */
}

/* 矢印のスタイル */
.arrow-down {
    width: 0;
    height: 0;
    border-left: 20px solid transparent; /* 矢印の幅 */
    border-right: 20px solid transparent; /* 矢印の幅 */
    border-top: 40px solid #6699ff; /* 矢印の色と高さ (青色) */
    margin: 0 auto 20px auto; /* 中央揃え、下の要素との間隔 */
    position: relative; /* 影を付けるために必要 */
    filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.2)); /* 矢印に影 */
}