@charset "Utf-8";


@import url('https://fonts.googleapis.com/css2?family=Hiragino+Sans:wght@400;700&display=swap');

/* 全体のスタイル */
body {
    font-family: "Hiragino Sans", "Helvetica Neue", Arial, sans-serif;
    line-height: 1.8;
    margin: 0;
    padding: 0;
    background-color: #e8f5e9;
    color: #444;
}

/* ヘッダー */
header {
    background-color: #4a90e2;  /* 優しいブルー */
    color: white;
    text-align: center;
    padding: 50px 20px;
    border-bottom: 10px solid #e8f5e9;
    border-top: 10px solid #e8f5e9;
    border-right: 10px solid #e8f5e9;
    border-left: 10px solid #e8f5e9;
}

header h1 {
    font-size: 36px;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

header p {
    font-size: 18px;
    opacity: 0.9;
}
/* ヘッダー */
header {
    position: relative;
    text-align: center;
    padding: 100px 20px;
    color: white;
    background: url("genkann.jpg") center/cover no-repeat;
}
/* 画像のスタイル */


/* 半透明のオーバーレイ */
header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* 黒の半透明 (40%) */
}

/* h1のスタイル */
header h1 {
    position: relative;
    font-size: 42px;
    letter-spacing: 2px;
    z-index: 1;
}

/* キャッチフレーズのスタイル */
header p {
    position: relative;
    font-size: 18px;
    opacity: 0.9;
    z-index: 1;
}


/* ナビゲーション */
nav {
    background-color: white;
    text-align: center;
    padding: 15px 0;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

nav ul li {
    display: inline;
    margin: 0 15px;
}

nav ul li a {
    color: #4a90e2;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #ff9900;
}

/* メインコンテンツ */
main {
    max-width: 900px;
    margin: 40px auto;
    padding: 30px;
    background-color: white;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
    border-radius: 10px;
}

/* セクション */
section {
    margin-bottom: 40px;
}

section h2 {
    color: #4a90e2;
    border-left: 5px solid #ffcc00;
    padding-left: 15px;
    font-size: 24px;
}
.doctor-photo {
    width: 250px; /* 写真のサイズを調整 */
    height: auto;
    border-radius: 10px; /* 角を少し丸く */
    border: 3px solid #e8f5e9; /* グリーンの枠線 */
    display: block;
    margin: 20px auto; /* 中央揃え */
}
/* 診療時間テーブル */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    font-size: 16px;
}

thead {
    background-color: #4a90e2;
    color: white;
}

th, td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: center;
}

td {
    background-color: #fcfcfc;
}

td:first-child {
    font-weight: bold;
    background-color: #f3f3f3;
}

/* 予約ボタン */
button {
    display: block;
    width: 100%;
    padding: 12px;
    background-color: #ffcc00;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
}

button:hover {
    background-color: #ff9900;
}

/* フッター */
footer {
    text-align: center;
    padding: 20px;
    background-color: #4a90e2;
    color: white;
    margin-top: 40px;
}