@charset "UTF-8";
/*
    Template: swell
    Theme Name: swell_child
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

/* トップお知らせ影消す */
.p-postList__title {
  box-shadow: none !important; /* ←影を完全に除去 */
  background-color: transparent !important; /* ←背景も確認 */
}



.cf7__list {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.cf7__list dt:nth-of-type(n + 2),
.cf7__list dd:nth-of-type(n + 2) {
  margin-top: 30px;
}

.cf7__list dt {
  width: 35%;
  padding-top: 15px;
}

.cf7__list dd {
  width: 65%;
}

/* 必須・任意 */
.cf7__required,
.cf7__optional {
  margin-right: 15px;
  padding: 6px 14px;
  color: #fff;
  font-size: 12px;
  vertical-align: 1px;
}

.cf7__required {
  background: #BE1D1D;
}

.cf7__optional {
  background: #878D8E;
}

/* input・textarea */
.cf7__list dd input[type="text"],
.cf7__list dd input[type="tel"],
.cf7__list dd input[type="email"],
.cf7__list dd textarea {
  width: 100%;
  padding: 15px 20px;
  background: #F4F4F4;
}

/* ドロップダウンメニュー */
.cf7__select {
  position: relative;
}

.cf7__select:before {
  position: absolute;
  top: 50%;
  right: 20px;
  z-index: 10;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 8px solid #000;
  border-right: 6px solid transparent;
  border-left: 6px solid transparent;
  pointer-events: none;
  content: '';
}

.cf7__select select {
  width: 100%;
  padding: 19px 20px;
  background: #F4F4F4;
  color: #a5a5a5;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}

/* チェックボックス・ラジオボタン */
.cf7__list dd .wpcf7-checkbox,
.cf7__list dd .wpcf7-radio {
  display: block;
  padding: 15px 0 10px;
}

/* 縦並び（チェックボックス・ラジオボタン） */
.cf7__list dd .wpcf7-list-item {
  display: block;
  margin: 0;
}

.cf7__list dd .wpcf7-list-item:nth-child(n + 2) {
  margin-top: 18px;
}

/* マウスカーソル（チェックボックス・ラジオボタン） */
.cf7__list dd .wpcf7-list-item label {
  cursor: pointer;
}

/* チェックボックス・ラジオボタン */
input[type="checkbox"],
input[type="radio"] {
  position: relative;
  width: 18px;
  height: 18px;
  margin-right: 8px;
  border: 1px solid #bcbcbc;
  vertical-align: -3px;
  cursor: pointer;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}

/* チェックボックス */
input[type="checkbox"]:checked {
  border: 1px solid #000;
  background: #000;
}

input[type="checkbox"]:checked:before {
  position: absolute;
  top: 2px;
  left: 5px;
  transform: rotate(50deg);
  width: 6px;
  height: 10px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  content: '';
}

/* ラジオボタン */
input[type="radio"] {
  border-radius: 50%;
}

input[type="radio"]:checked:before {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #000;
  content: '';
}

/* プレースホルダー */
/* Google Chrome / Safari / Mozilla Firefox / Opera */
.cf7__list dd input[type="text"]::placeholder,
.cf7__list dd input[type="tel"]::placeholder,
.cf7__list dd input[type="email"]::placeholder,
.cf7__list dd textarea::placeholder {
  color: #a5a5a5;
}

/* Microsoft Edge */
.cf7__list dd input[type="text"]::-ms-input-placeholder,
.cf7__list dd input[type="tel"]::-ms-input-placeholder,
.cf7__list dd input[type="email"]::-ms-input-placeholder,
.cf7__list dd textarea::-ms-input-placeholder {
  color: #a5a5a5;
}

/* Internet Explorer */
.cf7__list dd input[type="text"]:-ms-input-placeholder,
.cf7__list dd input[type="tel"]:-ms-input-placeholder,
.cf7__list dd input[type="email"]:-ms-input-placeholder,
.cf7__list dd textarea:-ms-input-placeholder {
  color: #a5a5a5;
}

/* フォーム全体の枠 */
.cf7 {
 border: 1px solid 	#C0C0C0; /* 枠の色と太さ */
  border-radius: 10px; /* 角を丸くする */
  padding: 20px; /* 内側の余白 */
  background-color: #000; /* フォーム背景色を薄いグレーに */
  max-width: 800px; /* フォームの最大幅を設定 */
  margin: 0 auto; /* フォームを中央に配置 */
}

/* 送信ボタン */
.cf7__button {
  padding-left: 0;
  text-align: center;
  margin-top: 30px; /* ボタン上部の余白 */
}

input[type="submit"] {
  width: 260px;
  height: 60px;
  background: linear-gradient(45deg, #17a2ff, #5bc0ff); /* #17a2ff をベースにしたブルーグラデーション */
  color: #fff;
  border-radius: 30px;
  transition: all 0.3s ease;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
}

input[type="submit"]:hover {
  background: linear-gradient(45deg, #5bc0ff, #17a2ff); /* グラデーション反転 */
  border-color: #5bc0ff;
  transform: translateY(-3px);
  opacity: .9;
}

input[type="submit"]:active {
  transform: translateY(0);
}


/* ajax-loader */
.wpcf7-spinner {
  vertical-align: middle;
}

@media screen and (max-width: 767px) {

  .cf7__list dt {
    width: 100%;
    margin-bottom: 15px;
    padding-top: 0;
  }

  .cf7__list dd {
    width: 100%;
  }

  .cf7__list dd:nth-of-type(n + 2) {
    margin-top: 0;
  }

  .cf7__list dd .wpcf7-checkbox,
  .cf7__list dd .wpcf7-radio {
    padding: 15px 0 0;
  }

/* 送信ボタン */
  input[type="submit"] {
    width: 180px;
    height: 56px;
  }

}




body {
  font-family: "Yu Gothic", "游ゴシック体", "YuGothic", "游ゴシック", sans-serif;
  font-weight: 500;        /* 通常の太さ */
  font-size: 17px;         /* ベースの文字サイズ */
  line-height: 1.8;        /* 行間で読みやすく */
  color: #333;             /* 文字色（黒より少しやわらかい） */
}
 /* 診療案内の表 */
.clinic-timetable-section {
  padding: 2em 1em;
  font-family: 'Noto Sans JP', sans-serif;
  color: #333;
  background: #fff;
  text-align: center;
}

.clinic-timetable-title {
  font-size: 1.8em;
  margin-bottom: 1.5em;
  color: #227AC7;
  font-weight: bold;
}

.clinic-timetable-table {
  width: 100%;
  max-width: 700px;
  margin: 0 auto 1em auto;
  border-collapse: collapse;
  font-size: 1em;
}

.clinic-timetable-table th,
.clinic-timetable-table td {
  border: 1px solid #ccc;
  padding: 1em;
  vertical-align: middle;
  text-align: center;
}

.clinic-timetable-table thead th {
  background-color: #e8f1fb;
  font-weight: bold;
  color: #222;
}

.clinic-timetable-note {
  font-size: 0.85em;
  color: #c00;
  margin-top: 0.5em;
  text-align: left;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.clinic-timetable-link {
  display: inline-block;
  font-size: 0.9em;
  color: #227AC7;
  text-decoration: none;
  margin-top: 0.5em;
}

.clinic-timetable-link:hover {
  text-decoration: underline;
}


/* 個人情報保護方針*/
.privacy-policy {
  max-width: 800px;
  margin: 3em auto;
  padding: 2em;
  background-color: #f9f9f9;
  border-left: 6px solid #227ac7;
  border-radius: 8px;
  font-family: 'Hiragino Kaku Gothic ProN', 'Segoe UI', sans-serif;
  color: #333;
  line-height: 1.8;
}

.privacy-policy h2 {
  font-size: 2em;
  color: #227ac7;
  border-bottom: 2px solid #227ac7;
  padding-bottom: 0.3em;
  margin-bottom: 1em;
}

.privacy-policy h3 {
  margin-top: 2em;
  font-size: 1.2em;
  color: #1a4f85;
  border-left: 4px solid #227ac7;
  padding-left: 0.6em;
}

.privacy-policy p {
  margin: 0.8em 0;
}

.contact-box {
  margin-top: 1.5em;
  padding: 1em;
  background-color: #eaf3fb;
  border: 1px solid #bcdff9;
  border-radius: 4px;
}


/* 部門紹介 */
.department-section {
  padding: 2em;
  background-color: #f5f8fa;
}

.department-section h2 {
  font-size: 1.6em;
  border-left: 5px solid #227AC7;
  padding-left: 0.5em;
  margin-bottom: 1em;
  color: #222;
}

.department-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1em;
}

.department-card {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  background-color: white;
  border: 1px solid #dce4ec;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  color: #227AC7;
  transition: all 0.2s ease;
}

.department-card:hover {
  background-color: #227AC7;
  color: white;
  border-color: #227AC7;
}




/* トップフェードイン＋ズームアニメーション */
.p-mainVisual__slideTitle {
  font-size: 60px; /* ここで文字を大きく */
  font-weight: bold;
  color: #ffffff;
  opacity: 0;
  transform: scale(0.90);
  animation: fadeZoomIn 3.5s ease-out forwards;
  animation-delay: 0.8s;
}

/* フェードイン＋ズームアニメーション */
@keyframes fadeZoomIn {
  0% {
    opacity: 0;
    transform: scale(0.95);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* スマホ（最大幅767px）では非表示に */
@media screen and (max-width: 767px) {
  .p-mainVisual__slideTitle {
    display: none;
  }
}



/* ▶ 問い合わせボタン全体 */
.hover-slide-panel {
  position: fixed;
  top: 20%;
  right: -500px;
  width: 560px;
  transition: right 0.3s ease;
  z-index: 9999;
  display: flex;
  border-radius: 8px 0 0 8px;
  overflow: hidden;
}

.hover-slide-panel:hover {
  right: 0;
}

/* ▶ タブ */
.hover-slide-panel .tab {
  writing-mode: vertical-rl;
  background-color: #2eb55f;
  color: white;
  padding: 10px 8px;
  font-weight: bold;
  text-align: center;
  cursor: pointer;
  width: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ▶ パネル本体 */
.hover-slide-panel .content {
  background: white;
  width: 500px;
  padding: 35px;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

/* ▶ 診療時間テーブル */
.fujimasa-hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  margin-bottom: 20px;
  table-layout: fixed;
  background-color: #ffffff;
}

.fujimasa-hours-table th,
.fujimasa-hours-table td {
  border: 0.5px solid #ccc;
  padding: 10px 6px;
  text-align: center;
  background-color: #ffffff;
  color: #333;
  font-weight: normal;
}

.fujimasa-hours-table th {
  background-color: #227AC7 !important;
  background-image: none !important;
  color: white;
  font-weight: bold;
}

/* ▶ 受付時間の補足 */
.fujimasa-hours-table td .sub {
  display: block;
  font-size: 13px;
  color: #666;
  margin-top: 4px;
}

/* ▶ 左端の時間セル（ゆったり） */
.fujimasa-hours-table .fujimasa-time-cell {
  width: 150px;
	padding-top: 14px !important;
  padding-bottom: 14px !important;
  font-size: 15px;
  line-height: 1.4;
}

/* ▶ 曜日マークセル（スリム） */
.fujimasa-hours-table .fujimasa-mark {
  padding-top: 4px !important;
  padding-bottom: 4px !important;
  font-size: 15px;
  line-height: 1.2;
}

/* ▶ 曜日ヘッダー（スリム） */
.fujimasa-hours-table th:not(.fujimasa-time-col) {
  padding-top: 6px !important;
  padding-bottom: 6px !important;
  font-size: 15px;
  line-height: 1.2;
}

/* ▶ 問い合わせリンク */
.contact-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-links a {
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 4px;
  text-align: center;
}

.contact-links .phone {
  background-color: #ffe5e5;
  color: #d9534f;
}

.contact-links .web {
  background-color: #fff4e5;
  color: #f0ad4e;
}

.contact-links .access {
  background-color: #e7f4e4;
  color: #2eb55f;
}

/* ▶ 休診日注記 */
.hover-slide-panel .note {
  font-size: 16px;
  color: #444;
  margin-bottom: 12px;
  padding-left: 4px;
}

/* ▶ モバイルでは非表示 */
@media (max-width: 768px) {
  .hover-slide-panel {
    display: none;
  }
}



/* リンク */
.contact-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.contact-links a {
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 4px;
  text-align: center;
}
.contact-links .phone {
  background-color: #ffe5e5;
  color: #d9534f;
}
.contact-links .web {
  background-color: #fff4e5;
  color: #f0ad4e;
}
.contact-links .access {
  background-color: #e7f4e4;
  color: #2eb55f;
}

/* 受付時間の補足（表内） */
.hours-table td .sub {
  display: block;
  font-size: 13px;
  color: #666;
  margin-top: 4px;
}

/* 休診日注記（表の下） */
.hover-slide-panel .note {
  font-size: 16px;
  color: #444;
  margin-bottom: 12px;
  padding-left: 4px;
}

@media (max-width: 768px) {
  .hover-slide-panel {
    display: none;
  }
}



/* 診察時間案内 */
.clinic-hours {
  padding: 2em;
  background: linear-gradient(to bottom right, #f0f4fa, #eaf1f9);
  font-family: "Helvetica Neue", sans-serif;
  border-radius: 16px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.clinic-hours-header {
  text-align: center;
  margin-bottom: 1.5em;
}

.label-en {
  font-size: 0.9em;
  color: #227AC7;
  font-weight: bold;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 0.3em;
}

.clinic-hours h2 {
  font-size: 1.8em;
  color: #1e3a5f;
  margin: 0;
}

.feature-bar {
  display: flex;
  justify-content: center;
  margin-top: 0.5em;
}

.bar-left,
.bar-right {
  display: inline-block;
  width: 50px;
  height: 4px;
  background: linear-gradient(to right, #227AC7, #85b8e0);
  border-radius: 2px;
}

.hours-table-wrapper {
  overflow-x: auto;
  margin-top: 1em;
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

.hours-table th,
.hours-table td {
  text-align: center;
  padding: 1.2em 0.5em;
  font-size: 1em;
  border-bottom: 1px solid #e0e7f0;
}

.hours-table th {
  background: linear-gradient(to right, #227AC7, #5fa8dd);
  color: white;
  font-weight: 600;
}

.hours-table td {
  color: #1e3a5f;
}

.hours-table .sub {
  font-size: 0.8em;
  color: #777;
}

.hours-table .morning {
  background-color: #f5faff;
}

.hours-table .afternoon {
  background-color: #fafdff;
}

.hours-table td.rest {
  color: #bbb;
}

@media (max-width: 768px) {
  .hours-table th,
  .hours-table td {
    font-size: 0.9em;
    padding: 0.8em;
  }

  .clinic-hours h2 {
    font-size: 1.5em;
  }
}

 /* ドット */
.dot-grid {
  display: grid;
  grid-template-columns: repeat(2, 6px);
  grid-template-rows: repeat(2, 6px);
  gap: 5px;
  justify-content: center;
  align-items: center;
}

.dot-grid span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ccc;
}

.dot-grid.blue span:nth-child(1) {
  background: #227ac7; /* 濃い青 */
}
.dot-grid.blue span:nth-child(2),
.dot-grid.blue span:nth-child(3) {
  background: #90caf9; /* 明るい青 */
}
.dot-grid.blue span:nth-child(4) {
  background: #bbdefb; /* 淡い青 */
}


 /* 下部情報 */
.access-schedule-area {
  display: flex;
  flex-wrap: wrap;
  gap: 3em;
  padding: 2em 1em;
  margin-top: 3em;
  border-top: 2px solid #227ac7;
  border-bottom: 2px solid #227ac7;
}

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

.access-header {
  display: flex;
  align-items: center;
  gap: 0.5em;
  margin-bottom: 1em;
  border-bottom: 1px solid #227ac7;
  padding-bottom: 0.3em;
}

.access-header h3 {
  font-size: 1.2em;
  color: #227ac7;
}

.access-box .postal,
.access-box .address-detail {
  font-weight: bold;
  margin-bottom: 0.3em;
}

.access-notes {
  margin-top: 1em;
  padding-left: 1.2em;
}

.access-notes li {
  margin-bottom: 0.5em;
  list-style: disc;
}

.schedule-entry {
  display: flex;
  align-items: center;
  gap: 1em;
  margin-bottom: 0.8em;
}

.label.green {
  background: #e0f4ff;
  color: #227ac7;
  padding: 0.3em 1em;
  border-radius: 4px;
  font-weight: bold;
}

.label.orange {
  background: #ffe5c0;
  color: #d47a00;
  padding: 0.3em 1em;
  border-radius: 4px;
  font-weight: bold;
}

.schedule-entry .value {
  font-size: 1rem;
}

.note {
  margin-top: 1em;
  font-weight: 500;
}



/* 診察受付時間の上の住所 */
.hospital-info-section {
  padding: 3em 1em;
  text-align: center;
  font-family: 'Yu Gothic', sans-serif;
	
}

.hospital-info-container {
  max-width: 800px;
  margin: 0 auto;
}

.hospital-logo {
  max-width: 260px;
  height: auto;
  margin: 0 auto 1em;
  display: block;
}

.hospital-details {
  font-size: 16px;
  color: #333;
}

.hospital-details .address {
  margin-bottom: 1em;
}

.contact-block {
  display: flex;
  flex-direction: column;
  gap: 0.4em;
}

.contact-block p {
  font-size: 18px;
  margin: 0;
  color: #444;
}

.contact-block span {
  font-weight: bold;
  color: #227AC7;
  margin-right: 0.5em;
}

.contact-block a {
  color: #227AC7;
  text-decoration: none;
  font-weight: 500;
}

@media (min-width: 600px) {
  .contact-block {
    flex-direction: row;
    justify-content: center;
    gap: 2em;
  }
}


/* ご来院される皆様へ */
.post_content h2 {
  max-width: 900px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1em;
  padding-right: 1em;
  box-sizing: border-box;
}

.visitor-highlight-area {
  position: relative;
  z-index: 0;
}

.visitor-highlight-area::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 60%;
  background: linear-gradient(to right, #b3e0ff, #ccecff, #e6f5ff, #d0f0ff, #a3dcf5);
  z-index: -1;
}


.visitor-card {
  position: relative;
  background: linear-gradient(to bottom, #f4f9ff %, transparent 50%);
  border-radius: 8px;
  padding-top: 1.5em;
}


.visitor-section {
  padding: 2em 1em;
  background: #;
  text-align: center;
}

.section-header .en {
  font-size: 25px;
  letter-spacing: 0.2em;
  color: #000;
}

.section-header h2 {
  font-size: 28px;
  margin-bottom: 2.5em;
	 margin-top: 1.5em;
	  background: linear-gradient(90deg, #227AC7, #4DA6FF);
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.visitor-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3.5em;
  margin-top: 2em;
}

.visitor-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: inherit;
  width: 300px;
  transition: transform 0.8s ease;
}

.visitor-card:hover .image-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.3); /* ← white with some transparency */
  mix-blend-mode: normal; /* multiplyだと白が見えにくくなるのでnormal推奨 */
  pointer-events: none;
  border-radius: 8px;
}



.image-wrapper {
  width: 100%;
  padding-top: 100%; /* 1:1 Aspect Ratio */
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.image-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.visitor-card:hover .image-wrapper img {
  transform: scale(1.05);
}

.circle-placeholder {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #fff;
  margin-top: -30px;
  margin-bottom: 1em;
  border: 0px solid #ccc;
  box-shadow: 0 0 4px rgba(0,0,0,0.1);
}

.visitor-card p {
  font-size: 25px;
  margin-top: 0.7em;
}



/* 当院の特徴 */

.feature-link-button {
  text-align: center;
  margin-top: 2em;
}

.feature-link-button a {
  display: inline-block;
  padding: 1em 2em;
  text-decoration: none;
  color: #227AC7;
  font-weight: bold;
  position: relative;
  border-top: 1px solid #227AC7;
  border-bottom: 1px solid #227AC7;
  transition: all 0.3s ease;
}

.feature-link-button a .arrow {
  margin-left: 0.5em;
  transition: transform 0.3s ease;
}

.feature-link-button a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 100%;
  background: rgba(34, 122, 199, 0.05);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.feature-link-button a:hover::before {
  opacity: 1;
  transform: translateX(-50%) scale(1.05);
}

.feature-link-button a:hover .arrow {
  transform: translateX(3px);
}



.feature-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 4em 1em;
  background-color: #fff;
}

.feature-floater.left,
.feature-floater.right {
  flex: 0 0 260px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  height: auto;
  min-height: 800px;
}

.feature-floater.right.feature-offset {
  margin-top: 100px;
}

.feature-content {
  flex: 1;
  max-width: 900px;
  z-index: 2;
  padding: 2.5em;
}

.feature-intro {
  text-align: center;
  margin-top: 0;
  margin-bottom: 1.2em;
}

.feature-subtitle {
  font-size: 25px;
  letter-spacing: 0.2em;
  color: #000;
  margin-bottom: 0.1em;
}

.feature-main-title {
  font-size: 28px;
  font-weight: bold;
  color: #4CAF50;
  letter-spacing: 0.2em;
}

.post_content h2{
	  margin-top: 1.0em;
	  margin-bottom: 2.0em;
}

.feature-bar {
  display: flex;
  justify-content: center;
  gap: 4px;
}

.feature-bar .bar-left {
  width: 16px;
  height: 4px;
  background: orange;
}

.feature-bar .bar-right {
  width: 32px;
  height: 4px;
  background: #A5D6A7;
}

.feature-item {
  margin-bottom: 3.1em;
}

.align-left {
  text-align: left;
}

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

.feature-text h3 {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 0.5em;
}

.feature-number {
  font-size: 45px;
  font-weight: bold;
  background: linear-gradient(90deg, #7dd8ff, #2a8cfc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  margin-right: 0.5em;
}

.feature-text p {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
}

@media screen and (max-width: 1024px) {
  .feature-wrapper {
    flex-direction: column;
  }

  .feature-floater.left,
  .feature-floater.right {
    display: none;
  }

  .feature-content {
    max-width: 100%;
  }

  .align-left,
  .align-right {
    text-align: left;
  }
}

/*病院からのおしらせ*/
.info-en {
	text-align:center;
    font-size: 25px;
    letter-spacing: 0.2em;
    color: #000;
    margin-bottom: 0.1em;
}

.news-header {
  text-align: center;
  margin: 2em auto;
}

.post_content h2 {
  color: #fff;
  padding: 1.2em 1em;
  background: linear-gradient(90deg, #227AC7, #4DA6FF);
  border-radius: 3px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  font-size: 1.4em;
}

.news-header h2 {
  font-size: 28px;
  font-weight: bold;
  color: #227AC7;
  position: relative;
  display: inline-block;
  padding-bottom: 0.2em;
	
}

.news-header h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 3px;
  background: #227AC7;
  border-radius: 2px;
}

.news-header .sub {
  font-size: 14px;
  color: #888;
  margin-top: 0.5em;
}



/* 診療案内 説明*/
.custom-info-left {
  min-width: 160px;
  text-align: left;
}

.custom-info-right {
  max-width: 1000px;
	  font-size: 19px;
	padding: 1.8em;
}

.custom-info-right h3 {
  font-size: 22px;
  margin-bottom: 20px;
  font-weight: blad;
}


/* 診療案内 */
.medical-en {
	text-align:center;
    font-size: 25px;
    letter-spacing: 0.2em;
    color: #000;
    margin-bottom: 0.1em;
}

.modern-department-grid {
  text-align: center;
  padding: 1.5em 1em;
  font-family: 'Helvetica Neue', sans-serif;
	 margin-bottom: 6.5em;
}

h2.section-title {
  font-size: 20px;
  background-color: #227AC7;
  color: #fff;
  padding: 1.5em 1.5em;
  border-radius: 0px;
  display: inline-block;
  margin-bottom: 0.5em;
background: linear-gradient(90deg, #4CAF50, #81C784); 
  border-radius: 2px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.subtitle {
  color: #888;
  font-size: 14px;
  margin-bottom: 2em;
  letter-spacing: 0.05em;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  max-width: 800px;
  margin: 0 auto;
}

.grid-item {
  background: #ffffff;
  border-radius: 16px;
  padding: 2.5em 1em;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  border: 1px solid #e0e8f0;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.grid-item:hover {
  transform: translateY(-6px);
  background: #e6f2ff; /* 白っぽい明るい青に変更 */
  box-shadow: 0 12px 24px rgba(34, 122, 199, 0.2);
}

@media screen and (max-width: 600px) {
  .grid-container {
    grid-template-columns: 1fr; /* ← 1カラムに変更 */
    gap: 20px; /* 少し余白を確保 */
  }

  .grid-item {
    padding: 1.5em 1em;
  }

  .grid-item img {
    width: 150px; /* スマホ向けに少し小さめに */
  }

  .grid-item p {
    font-size: 20px;
  }

  h2.section-title {
    font-size: 24px;
    padding: 0.4em 1em;
  }

  .subtitle {
    font-size: 12px;
    margin-bottom: 1.5em;
  }
}


/* 文字色は変更しない */
.grid-item:hover p {
  color: #1c2b5a;
}



.grid-item img {
  width: 130px;
  margin-bottom: 1em;
  /* シャドウを削除 */
  filter: none;
}

.grid-item p {
  font-size: 28px;
  font-weight: 400;
  color: #1c2b5a;
  margin: 0;
  letter-spacing: 0.05em;
}







.img_wrap{
  width: 170px;
  height: 180px;
  margin: 0 auto;
  overflow: hidden;
}
.img_wrap img{
  width: 100%;
  cursor: pointer;
  border-radius: 50%;
  transition-duration: 0.4s;
}
.img_wrap img:hover{
  border-radius: 0;
  transition-duration: 0.4s;
}

/* ヘッダーをボタンカスタム */
.my-button-nobr{
  white-space : nowrap;
}
/* Googleマップカスタム */
.Map {
  width: 100%;
  position: relative;
  padding-top: 56.25%;
}

.Map iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50%;
}

/* ヘッダーをメニューカスタム */
.c-gnav>.menu-item>a .ttl {
font-size: 18px;
color: #000;
letter-spacing: 2.0px;
}

.c-gnav>.menu-item>a {
padding: 0 30px;
}



.top-full {
  padding-top: 200px !important;/* toppadding */
  padding-bottom: 200px !important;
}

.google-map-container {
    width: 100%;
    height: 10px; /* ここで縦幅を指定 */
}

.google-map-container iframe {
    width: 100%;
    height: 100%;
}

/* トップロゴフェード */
.p-mainVisual__slideTitle img{
animation-name:fadeInAnime;
animation-duration:8s;
animation-fill-mode:forwards;
opacity:0;
}

@keyframes fadeInAnime{
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* トップロゴサイズ */
@media (max-width: 768px) {
.p-mainVisual__slideTitle img {
        width: 70%;
    }

	