/* style.css */

/* 全体の基本設定 */
body {
    font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif;
    background-color: #fffaf5;
    color: #333;
    margin: 0;
    padding: 0;
    line-height: 1.8;
    font-size: 1rem;
  }
  
  h2.section-title {
    text-align: center;
    font-size: 1.8rem;
    margin-top: 2rem;
    color: #7ba293;
  }
  
  /* ヘッダー */
  .header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #e6f2ed;
    padding: 10px 20px;
    position: sticky;
    top: 0;
    z-index: 100;
  }
  
  .logo img {
    height: 50px;
  }
  
  .nav-menu {
    display: flex;
    list-style: none;
    gap: 15px;
    margin: 0;
    padding: 0;
  }
  
  .nav-menu li a {
    text-decoration: none;
    color: #4b6f63;
    font-weight: bold;
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 1rem;
  }
  
  .nav-menu li a:hover {
    background-color: #cce5dd;
  }
  
  /* ハンバーガーメニュー */
  .hamburger {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
  }
  
  .hamburger span {
    width: 25px;
    height: 3px;
    background: #4b6f63;
    border-radius: 2px;
  }
  
  @media (max-width: 768px) {
    .nav-menu {
      display: none;
      flex-direction: column;
      position: absolute;
      top: 60px;
      right: 20px;
      background-color: #fff;
      box-shadow: 0 4px 6px rgba(0,0,0,0.1);
      border-radius: 10px;
      padding: 10px;
      width: 200px;
    }
  
    .nav-menu.active {
      display: flex;
    }
  
    .hamburger {
      display: flex;
    }
  
    .nav-menu li a {
      padding: 10px;
      font-size: 1.1rem;
    }
  }
  
  /* トップバナー */
  .top-visual {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }
  
  .top-visual img {
    width: 80%;
    max-height: 500px;
    height: auto;
    display: block;
    margin: 20px auto 2rem;
    border-radius: 0;
    object-fit: cover;
  }
  
  /* セクション共通 */
  .section {
    padding: 2rem 1rem;
    max-width: 800px;
    margin: auto;
    text-align: center;
  }
  
  .section p {
    margin: 0.5rem 0 1.5rem;
  }
  
  .btn-detail {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.6rem 1.2rem;
    background-color: #a8d5c3;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1rem;
  }
  
  .btn-detail:hover {
    background-color: #7ba293;
  }
  
  /* お知らせリスト */
  .news-section {
    background-color: #fdfaf6;
    padding: 2.5rem 1rem;
    max-width: 800px;
    margin: 3rem auto;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    text-align: center;
  }
  
  .news-box {
    background-color: #ffffff;
    border: 1px solid #e0ebe6;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    display: inline-block;
    text-align: left;
  }
  
  .news-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1.5rem;
  }
  
  .news-list li {
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
    padding: 0.6rem 0;
    border-bottom: 1px dashed #d0e6dc;
    font-size: 1.05rem;
  }
  
  .news-date {
    white-space: nowrap;
    color: #7ba293;
    font-weight: bold;
  }
  
  .news-list a {
    text-decoration: none;
    color: #333;
    flex: 1;
  }
  
  .news-list a:hover {
    text-decoration: underline;
  }
  
  .news-links h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #4b6f63;
  }
  
  .news-links ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    padding-left: 0;
    list-style: none;
  }
  
  .news-links li {
    background-color: #e6f2ed;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    font-weight: bold;
  }
  
  .news-links a {
    text-decoration: none;
    color: #333;
  }
  
  .news-links a:hover {
    text-decoration: underline;
  }
  
  /* お問い合わせ */
  .contact-section {
    background-color: #f5f9f7;
    padding: 2rem 1rem;
    max-width: 800px;
    margin: 3rem auto;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  }
  
  .contact-section ul {
    list-style: none;
    padding-left: 0;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
  }
  
  .contact-section li {
    margin-bottom: 0.8rem;
    font-size: 1rem;
  }
  
  .contact-section a {
    color: #4b6f63;
    text-decoration: none;
  }
  
  .contact-section a:hover {
    text-decoration: underline;
  }
  
  /* アクセス */
  .access-section {
    background-color: #fdfdfb;
    padding: 2rem 1rem;
    max-width: 800px;
    margin: 3rem auto;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    text-align: center;
  }
  
  .access-info ul {
    list-style: none;
    padding-left: 0;
    margin-top: 1rem;
    font-size: 1.1rem;
  }
  
  .access-info li {
    margin-bottom: 1.2rem;
    padding-left: 1.5em;
    position: relative;
    text-align: left;
  }
  
  .access-info li::before {
    content: "\1F4CD";
    position: absolute;
    left: 0;
    color: #7ba293;
  }
  
  /* リストスタイルなし */
  ul {
    list-style: none;
    padding-left: 0;
  }
  
  /* フッター */
  .footer {
    background-color: #e6f2ed;
    color: #333;
    text-align: center;
    padding: 1rem;
    margin-top: 3rem;
    font-size: 0.9rem;
  }
  
  /* スマホ調整 */
  @media (max-width: 480px) {
    .section {
      padding: 2.5rem 1rem;
    }
    h2.section-title {
      font-size: 1.5rem;
    }
    .btn-detail {
      font-size: 1rem;
      padding: 0.7rem 1.5rem;
    }
    .access-info ul {
      font-size: 1rem;
    }
  }
  
  /* スケジュール表 */
  .schedule-table {
    max-width: 600px;
    margin: 2rem auto;
    text-align: center;
  }
  
  .schedule-table table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1rem;
    background-color: #ffffff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  }
  
  .schedule-table th,
  .schedule-table td {
    border: 1px solid #cce5dd;
    padding: 0.8rem;
  }
  
  .schedule-table thead {
    background-color: #e6f2ed;
    color: #4b6f63;
  }
  
  .schedule-table td {
    background-color: #f9fdfb;
  }
  
  .schedule-table .note {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #777;
  }
  
  /* 病院紹介 */
  .about-block {
    background-color: #f5f9f7;
    border-left: 6px solid #a8d5c3;
    padding: 1.5rem;
    margin: 2rem auto;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    max-width: 800px;
  }
  
  .about-block h3 {
    font-size: 1.3rem;
    color: #4b6f63;
    margin-bottom: 1rem;
  }
  
  .about-block p {
    font-size: 1.05rem;
    line-height: 1.9;
    color: #333;
  }
  
  /* ご相談例 */
  .consult-section {
    background-color: #fdfdfb;
    padding: 2.5rem 1rem;
    border-radius: 12px;
    max-width: 800px;
    margin: 3rem auto;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    text-align: center;
  }
  
  .consult-intro p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: #444;
    margin-bottom: 2rem;
  }
  
  .consult-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 2rem;
    text-align: left;
  }
  
  .consult-list li {
    background-color: #f5f9f7;
    border-left: 5px solid #a8d5c3;
    border-radius: 8px;
    padding: 0.8rem 1rem;
    margin-bottom: 1rem;
    font-size: 1.05rem;
  }
  
  .consult-message {
    background-color: #fff8f2;
    padding: 1rem 1.2rem;
    border-left: 6px solid #f2c49b;
    border-radius: 8px;
    font-size: 1.05rem;
    color: #555;
    line-height: 1.9;
  }
  
  /* 診療案内 */
  .guide-section {
    background-color: #fdfdfb;
    padding: 2.5rem 1rem;
    max-width: 850px;
    margin: 3rem auto;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    text-align: center;
  }
  
  .guide-block {
    background-color: #ffffff;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border-radius: 10px;
    border-left: 6px solid #a8d5c3;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    text-align: left;
  }
  
  .guide-block h3 {
    font-size: 1.3rem;
    color: #4b6f63;
    margin-bottom: 1rem;
  }
  
  .guide-block ul,
  .guide-block ol {
    padding-left: 1.2rem;
    margin-bottom: 1rem;
  }
  
  .guide-block ul li,
  .guide-block ol li {
    margin-bottom: 0.8rem;
    font-size: 1.05rem;
    line-height: 1.8;
  }
  
  .guide-block ol {
    counter-reset: step;
  }
  
  .guide-block ol li::before {
    counter-increment: step;
    content: counter(step) ". ";
    font-weight: bold;
    color: #7ba293;
    margin-right: 0.5rem;
  }
  
  .guide-block p {
    font-size: 1.05rem;
    line-height: 1.9;
    color: #444;
  }
  
  .guide-block strong {
    color: #7ba293;
    font-weight: bold;
  }
  .tool-section {
    background-color: #f5f9f7;
    padding: 2.5rem 1rem;
    max-width: 850px;
    margin: 3rem auto;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    text-align: center;
  }
  
  .tool-section p {
    font-size: 1.05rem;
    color: #444;
    margin-bottom: 2rem;
  }
  
  .tool-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  
  @media (min-width: 700px) {
    .tool-links {
      flex-direction: row;
      justify-content: space-between;
    }
  }
  
  .tool-card {
    display: block;
    background-color: #ffffff;
    border-left: 6px solid #a8d5c3;
    padding: 1rem 1.2rem;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    font-size: 1.05rem;
    color: #333;
    text-align: left;
    text-decoration: none;
    transition: all 0.2s ease;
  }
  
  .tool-card:hover {
    background-color: #eef6f4;
    transform: translateY(-2px);
  }
  