/* 全体レイアウト */
body {
  margin: 0;
  padding: 0;
  font-family: "游ゴシック体", "Yu Gothic", "ヒラギノ角ゴ ProN", "メイリオ", sans-serif;
  font-size: 16px;
  color: #555;
  line-height: 1.8;
}

p {
  margin-top: 0;
  margin-bottom: 0.5em;
}

main {
  margin-top: 10px;
}

#content {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

h1, h2 {
  color: #444;
  font-weight: 600;
  margin: 1em 0 0.5em;
}

h1 {
  font-size: 24px;
}

h2 {
  font-size: 22px;
}

/* ヘッダー */
header {
  background-color: #fff;
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 10px;
}

#logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 0;
}

.logo_img {
  width: 65px;
  height: auto;
  margin-right: 10px;
  max-height: 80px;
}

.logo_text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.logo_text .subtitle {
  font-size: 16px;
  color: #43ab6b;
}

.logo_text .title {
  font-size: 32px;
  margin-left: 20px;
  font-weight: 600;
  color: #43ab6b;
}

/* ハンバーガーメニューが出るときに表示するヘッダー下のライン */
@media (max-width: 768px) {
  .header-line {
    width: 100%;
    height: 4px;
    background-color: #fdf;
  }
}

/* ナビゲーション */
ul.navi-list,
ul.no-bullet,
.treatment-list {
  list-style-type: none;
  padding-left: 0;
  margin: 0;
}

.treatment-list {
  margin-left: 1.5em;
}

.hamburger {
  display: none;
  cursor: pointer;
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 2000;
}

.hamburger div {
  width: 25px;
  height: 3px;
  background-color: #666;
  margin: 5px 0;
}

#navi ul {
  background-color: #fdf;
  width: 100vw;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px 0;
  margin: 0;
  min-height: 60px;
}

#navi li {
  display: inline;
  list-style-type: none;
  padding-right: 25px;
}

#navi li a {
  text-decoration: none;
  color: #666;
  font-weight: bold;
  font-size: 1.2em;
  line-height: 1;
  display: inline-block;
  padding: 0.5em 0;
}

#navi li a:hover,
#navi li a:visited {
  color: #666;
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  #navi ul {
    flex-direction: column;
    align-items: center;
    display: none;
  }

  #navi ul.show {
    display: flex;
  }
}


/* トップページタイトル装飾 */
.welcome-title {
  font-size: 28px;
  color: #DB7093;
  text-align: center;
  margin-bottom: 30px;
}

/* タイトル下補足文 */
.access-note {
  font-size: 20px;
  text-align: center;
  margin-top: -10px;
  margin-bottom: 30px;
  color: #b06080;
}

/* フッター */
footer {
  background-color: #fdf;
  width: 100%;
}

.footer-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 10px 20px 20px 20px;
  display: flex;
  flex-direction: row;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: space-between;
}

.footer-left, .footer-right {
  flex: 1;
  min-width: 250px;
  font-size: 0.9em;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 0;
}

.footer-info-heading {
  font-size: 1.1em;
  margin-top: 0;
  margin-bottom: 4px;
  color: #444;
  text-align: left;
}

.footer-heading-wrapper {
  width: 100%;
  margin: 0;
  padding: 0;
}

.clinic-hours {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 5px;
  padding-left: 1em;
}

.clinic-hours .time-row {
  display: flex;
  gap: 1em;
}

.copyright {
  padding: 10px 0;
  font-size: 0.75em;
  color: #777;
  text-align: center;
}

/* アクセスページ レイアウト */
.map-layout {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
}

.map-container {
  order: 2;
  flex: 1;
  min-width: 350px;
  text-align: center;
}

.map-text {
  order: 1;
  flex: 1;
  min-width: 250px;
}

.map-image {
  width: 350px;
  height: auto;
}

/* レスポンシブ対応 */
@media (max-width: 600px) {
  body {
    font-size: 14px;
  }

  #content {
    padding: 10px;
  }
}
