body {
  margin: 0 auto 0 auto;
  background-color: #ffffff;
  color: #333;
  max-width: 1080px;
  font-family: "Playfair Display", serif;
  font-optical-sizing: auto;
  font-style: normal;
}


header {
  background-color: white;
  padding: 10px ;
  display: flex;
  align-items: center;
  justify-content: center;
justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 80px;
  margin-right: 10px;
}

.logo span {
  font-weight: bold;
  font-size: 18px;
}

/* ナビゲーションのレイアウト */
#nav-pc {
  font-size: 14px;
  font-weight: bold;
}

#nav-pc ul {
  display: flex;
  padding-left: 0;
}

#nav-pc li {
  list-style: none;
}

/* ナビゲーションのリンクの装飾設定 */
#nav-pc a {
  text-decoration: none;
  margin-left: 20px;
  color: #3366cc;
}

#nav-pc a:hover {
  text-decoration: underline;
}

.main-image {
  width: 100%;
  height: auto;
  display: block;
}

.attachment-post-thumbnail {
  width: 100%;
  height: auto;
  display: block;
}

.treatment-section {
  padding: 60px 20px;
  text-align: center;
}

.section-title {
  font-size: 60px;
  margin-bottom: 40px;
  color: #3366cc;
}

.treatment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  max-width: 700px;
  margin: 0 auto;
}

.treatment-box {
  border-radius: 0%;
  padding: 40px 30px;
  box-sizing: border-box;
  height: 320px;
  width: 320px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.treatment-box h3 {
  font-size: 18px;
  color: #3366cc;
  margin-bottom: 10px;
}

.treatment-box p {
  font-size: 16px;
  line-height: 1.6;
  color: #3366cc;
}

.apointment {
  text-align: center;
  padding: 40px 20px;
  background-color: #ffffff;
}

.apointment h2 {
  font-size: 60px;
  color: #3366cc;
  margin-bottom: 20px;
}

.apointment-box {
  background-color: #e0f2f9;
  padding: 20px;
  border-radius: 8px;
  max-width: px;
  margin: 0 auto;
}

.phone-number {
  font-size: 60px;
  font-weight: bold;
  margin: 10px 0 20px;
}

.appointment-details p {
  margin: 4px 0;
  font-size: 16px;
  line-height: 1.6;
}

.access {
  text-align: center;
  background-color: #ffffff;
  padding: 40px 20px;
}

.access h2 {
  font-size: 60px;
  color: #3366cc;
  margin-bottom: 20px;
}


.footer {
  background-color: #e0f2f9;
  color: rgb(14, 14, 14);
  padding: 40px 20px 20px;
  font-size: 14px;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.footer-content p {
  margin: 4px 0;
}

.footer-bottom {
  margin-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  padding-top: 10px;
  font-size: 13px;
  opacity: 0.8;
}


/* クリニックについて */

.about-clinic {
  text-align: center;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px;
  border-radius: 16px;
}

h1 {
  font-size: 36px;
  margin-bottom: 10px;
  color: #3366cc;;
}

.subtitle {
  font-size: 18px;
  margin-bottom: 40px;
}

.point {
  margin-bottom: 40px;
  text-align: center;
}

.point h2 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #000;
}

.point p {
  font-size: 16px;
  line-height: 1.8;
}

.logo-img {
  width: 40px;
  height: 40px;
  margin-right: 8px;
}


.hamburger {
  font-size: 1.5rem;
  cursor: pointer;
}

.staff-member {
  margin-bottom: 2rem;
  padding: 1rem;
  border-radius: 10px;
}

.staff-photo {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 1rem;
}

.staff-member h2 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.staff-member p {
  margin-bottom: 0.5rem;
}

.spec {
  font-size: 0.9rem;
  color: #666;
}

footer .to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #2B7B82;
  color: #fff;
  padding: 10px 14px;
  border-radius: 50%;
  text-decoration: none;
}

/* ホバー時のスタイル */
.menu-item:hover {
  text-decoration: underline; /* ホバー時に下線を表示する */
}

 /* スマホ用ナビを非表示 */
 #nav-sp,
 #menu-sp {
   display: none;
 }

 .only-pc{
  display: block;
 }

 /*====================
  スマートフォン用のスタイル
 =====================*/
 @media screen and (max-width: 767px) {
  /* PC用ナビゲーション非表示 */
  #nav-pc {
    display: none;
  }

  .only-pc{
    display: none;
   }

  /* ハンバーガーメニュー */
  #menu-sp {
    display: block;
    background-color: transparent;
    float: right;
    padding: 0;
    border: none;
  }

  /* スマホ用ナビゲーションの表示切替*/
  /* 初期状態、レイアウトと非表示設定 */
  #nav-sp {
    background-color: #fff;
    position: fixed;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    display: none;
    z-index: 100;
  }

   /* ×ボタン */
   #close {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: transparent;
    border: none;
  }

  #nav-sp nav ul {
    padding-left: 10px;
  }

  #nav-sp nav li {
    list-style: none;
  }

  /* ナビゲーションメニュー用ロゴ */
  #logo-sp {
    margin: 5px 50px 50px;
  } 

  /* ナビゲーションのリンクの装飾設定 */
  #nav-sp nav a {
    display: block;
    color: #3366cc;
  }
 
  #nav-sp nav a:hover {
     text-decoration: underline;
   }
 
   #nav-sp .menu {
     text-decoration: none;
     margin: 0 20px 0 20px;
     height: 44px;
     font-size: 16px;
   }

   #sns {
    position: absolute;
    bottom: 20px;
    left: 20px;
  }

  #sns > a {
    margin-right: 30px;
  }

  /* Google Mapを囲う要素 */
.map {
  position: relative;
  width: 100%;
  height: 0;
  padding-top: 75%; /* 比率を4:3に固定 */
}
 
/* Google Mapのiframe */
.map iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
  }
