@charset "UTF-8";
/* CSS Document */

/*====================================================
  基本設定
====================================================*/
* {
  margin: 0;
  padding: 0;
  list-style: none;
  text-decoration: none;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  margin: 0;
  color: #333;
  line-height: 1.6;
}

/*====================================================
  ヘッダー
====================================================*/
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 5%;
  background: #fff;
  border-bottom: 1px solid #ddd;
  position: relative;
  z-index: 10;
}

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

.header .logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
  cursor: pointer;
  color: #00B8B8;
}

.header .logo img {
  width: 40px;
  margin-right: 10px;
}

.header .logo h1 {
  font-size: 1.4em;
  margin: 0;
}

.nav ul {
  display: flex;
  gap: 20px;
}

.nav a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
}

.nav a:hover {
  color: #00B8B8;
}

/*====================================================
  メインビジュアル
====================================================*/
.clinic img {
  width: 100%;
  height: auto;
}

/*====================================================
  セクション共通
====================================================*/
section {
  padding: 60px 5%;
}

/*====================================================
  私たちについて
====================================================*/
.about-inner {
  display: flex;
  gap: 30px;
  align-items: center;
}

.about-inner img {
  width: 40%;
  border-radius: 8px;
}

.about-text h2 {
  font-size: 1.8em;
  margin-bottom: 20px;
}

/* ボタン共通 */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 28px;
  border: 2px solid #280606;
  color: #280606;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  line-height: 1;
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 160, 175, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 10px rgba(0, 160, 175, 0.25);
  color: #00a0af;
}

.btn img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

/*====================================================
  当院のこだわり（横並び3列）
====================================================*/
.treatment-policy {
  background: #f5f5f5;
  color: #333;
  text-align: center;
  padding: 60px 5%;
}

.treatment-policy .sub-title {
  font-size: 0.9em;
  letter-spacing: 0.1em;
  color: #00a8b5;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.treatment-policy h2 {
  font-size: 1.8em;
  margin-bottom: 40px;
}

.treatment-policy .treatment-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 横3列 */
  gap: 30px;
}

.treatment-policy .treatment-item {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.treatment-policy .treatment-item img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  margin-bottom: 15px;
  border-radius: 8px;
}

.treatment-policy .treatment-item .card {
  font-weight: bold;
  font-size: 1.2em;
  color: #00a0af;
  margin-bottom: 12px;
}

.treatment-policy .treatment-item p {
  font-size: 0.95em;
  line-height: 1.4;
  color: #555;
  text-align: center;
}

/* レスポンシブ */
@media (max-width: 900px) {
  .treatment-policy .treatment-list {
    grid-template-columns: repeat(2, 1fr); /* 画面が狭ければ2列に */
  }
}

@media (max-width: 600px) {
  .treatment-policy .treatment-list {
    grid-template-columns: 1fr; /* スマホは1列に */
  }
}

/*====================================================
  診療内容（トップ）
====================================================*/
.treatment {
  background: #00a8b5;
  color: #fff;
  text-align: center;
  padding: 60px 20px;
}

.treatment .sub-title {
  font-size: 0.9em;
  letter-spacing: 0.1em;
  color: #e0f7fa;
  text-align: left;
  max-width: 900px;
  margin: 0 auto 5px;
  text-transform: uppercase;
}

.treatment h2 {
  font-size: 1.8em;
  margin: 0 auto 30px;
  max-width: 900px;
  text-align: left;
}

.treatment-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin: 30px auto 60px;
  max-width: 900px;
}

.treatment .card {
  background: #fff;
  color: #333;
  padding: 30px 20px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-weight: bold;
}

.treatment .card img {
  width: 60px;
  height: 60px;
  margin-bottom: 12px;
}

.treatment .btn {
  border: 2px solid #fff;
  color: #fff;
  background-color: #00a8b5;
  padding: 12px 26px;
  gap: 8px;
}

.treatment .btn:hover {
  transform: translateY(-4px);
}



/*====================================================
  診療内容ページ（縦並び・写真大きめ）
====================================================*/
.treatment-page {
  background: #00a8b5;
  color: #fff;
  text-align: center;
  padding: 60px 5%;
  max-width: 800px;   /* 縦並びに合わせて幅を調整 */
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr; /* 1列固定 */
  gap: 40px; /* カード間隔を広めに */
}

/* カード */
.treatment-page .card {
  background: #fff;
  color: #333;
  padding: 40px 20px;   /* 少し余裕を持たせる */
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-weight: bold;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.treatment-page .card:hover {
  transform: translateY(-5px);
}

/* カード画像 */
.treatment-page .card img {
  width: 100px;        /* 大きめ */
  height: 100px;       /* 大きめ */
  margin-bottom: 20px; /* テキストとの間隔を広く */
  object-fit: cover;
  border-radius: 8px;  /* 角を丸くして柔らかい印象 */
}

/* カードテキスト */
.treatment-page .card-text h3 {
  font-size: 1.4em;  /* 少し大きく */
  margin-bottom: 12px;
  color: #00a0af;
  text-align: center;
}

.treatment-page .card-text p {
  font-size: 1em; 
  color: #555;
  line-height: 1.5;
  text-align: center;
}

/* ボタン */
.treatment-page .btn {
  border: 2px solid #fff;
  color: #fff;
  background-color: #00a8b5;
  padding: 14px 28px;
  gap: 8px;
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.treatment-page .btn:hover {
  transform: translateY(-4px);
}

/* レスポンシブ */
@media (max-width: 600px) {
  .treatment-page {
    padding: 40px 5%;
    gap: 30px;
  }

  .treatment-page .card {
    padding: 30px 15px;
  }

  .treatment-page .card img {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
  }

  .treatment-page .card-text h3 {
    font-size: 1.2em;
  }

  .treatment-page .card-text p {
    font-size: 0.95em;
  }
}


/*====================================================
  お知らせ・ブログ（トップ）
====================================================*/
.news {
  padding: 60px 20px;
  max-width: 900px;
  margin: 0 auto;
  color: #280606;
}

.news-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.news h2 {
  font-size: 1.8em;
  display: flex;
  align-items: center;
  gap: 8px;
  border: none;
}

.news-btns {
  display: flex;
  gap: 10px;
}

.news .btn {
  padding: 8px 20px;
  border: 2px solid #280606;
  color: #280606;
  border-radius: 30px;
  font-weight: bold;
  transition: transform 0.3s ease;
}

.news .btn.all { background-color: #e6e4de; }
.news .btn.notice { background-color: #fff; }

.news .btn:hover { transform: translateY(-3px); }

.news-list {
  border-top: 2px solid #280606;
  border-bottom: 2px solid #280606;
}

.news-list p {
  padding: 14px 0;
  border-bottom: 1px solid #ccc;
}

.news-list p:last-child { border-bottom: none; }

/*====================================================
  アクセス・診療時間
====================================================*/
.access {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  background: #fff;
  padding: 60px 20px;
  color: #280606;
}

.access-inner {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  max-width: 1000px;
  margin: 0 auto;
  gap: 60px;
}

.divider {
  width: 1px;
  height: 150px;
  background: #ccc;
  align-self: center;
}

.access-box {
  flex: 1;
  min-width: 280px;
}

.access-box h3 {
  font-size: 1.4em;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.map-img img {
  width: 100%;
  max-width: 300px;
  border: 1px solid #ccc;
  border-radius: 4px;
  margin-top: 10px;
}

/* 診療時間表 */
.hours-table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  font-size: 1em;
}

.hours-table th,
.hours-table td {
  border: none;
  padding: 14px 10px;
  border-bottom: 1px solid #ddd;
}

.hours-table th {
  color: #280606;
  border-bottom: 2px solid #ddd;
}

.hours-table td:first-child {
  font-weight: bold;
  color: #280606;
}

.circle {
  color: #a5d5c8;
  font-weight: 900;
  font-size: 1.2em;
}

.cross {
  color: #bbb;
  font-weight: 700;
  font-size: 1.1em;
}

/*====================================================
  フッター
====================================================*/
.footer {
  background-color: #00a0af;
  color: #fff;
  padding: 40px 20px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 0 auto;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: bold;
  font-size: 20px;
  color: #fff;
}

.footer-logo img {
  width: 40px;
  height: auto;
}

.footer-nav a {
  color: #fff;
  text-decoration: none;
  margin-right: 20px;
  font-size: 14px;
}

.footer-right {
  text-align: center;
}

.contact-text {
  margin-bottom: 10px;
  font-size: 14px;
  color: #fff;
}

.contact-box {
  background-color: #fff;
  color: #333;
  padding: 18px 30px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 20px;
  min-width: 380px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.contact-box .tel {
  font-size: 20px;
  font-weight: bold;
}

.contact-box .btn {
  background-color: #ff440a;
  color: #fff;
  border-radius: 50px;
  padding: 10px 18px;
  font-weight: bold;
  font-size: 14px;
}

.footer-copy {
  font-size: 12px;
  color: #e0e0e0;
  margin-top: 30px;
  text-align: center;
}

/*====================================================
  その他ページ（ブログ・予約）
====================================================*/
.blog {
  background: #fff;
  color: #333;
  padding: 80px 20px;
}

.blog .inner {
  max-width: 1000px;
  margin: 0 auto;
}

.blog h2 {
  font-size: 1.8em;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.blog > .inner > p {
  margin-bottom: 40px;
  color: #555;
}

.blog-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.blog-card {
  display: flex;
  gap: 20px;
  border-bottom: 1px solid #ccc;
  padding-bottom: 25px;
}

.blog-card img {
  width: 180px;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.blog-text {
  flex: 1;
}

.blog-text h3 {
  font-size: 1.2em;
  margin-bottom: 5px;
  color: #280606;
}

.blog-text .date {
  font-size: 0.9em;
  color: #777;
  margin-bottom: 10px;
}

/* 予約フォーム */
.reserve {
  padding: 60px 20px;
  max-width: 700px;
  margin: 0 auto;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form label {
  font-weight: bold;
  color: #280606;
}

.contact-form input,
.contact-form textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1em;
}

.required {
  color: #d55;
  margin-left: 4px;
}

.contact-form .btn {
  background: #00a8b5;
  color: #fff;
  border-radius: 30px;
  padding: 12px 20px;
  cursor: pointer;
  align-self: center;
}

/*====================================================
  Responsive
====================================================*/
@media (max-width: 900px) {
  .treatment-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .header {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav ul {
    flex-direction: column;
    gap: 10px;
    width: 100%;
    margin-top: 10px;
  }

  .hours-table th,
  .hours-table td {
    padding: 10px 6px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .contact-box {
    flex-direction: column;
    gap: 10px;
    min-width: auto;
  }

  .blog-card {
    flex-direction: column;
  }

  .blog-card img {
    width: 100%;
    height: auto;
  }

  .news-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

@media (max-width: 600px) {
  .treatment-list {
    grid-template-columns: 1fr;
  }

  .treatment h2,
  .treatment .sub-title {
    text-align: center;
  }
