@charset "UTF-8";
body {
  color: #414141;
  font-family: "noto sans JP", "Zen Maru Gothic", serif;
}

h2 {
  font-size: 56px;
}

h3 {
  font-size: 24px;
}

p {
  font-size: 16px;
}

li {
  list-style: none;
}

p a,
li a,
td a {
  color: #1F286F;
  text-decoration: underline;
  font-weight: bold;
  transition: all 0.3s ease;
}
p a:hover,
li a:hover,
td a:hover {
  color: #303eab;
  text-decoration: none;
}

p strong,
li strong {
  font-weight: bold;
  color: #721c24;
  background: linear-gradient(to top, rgba(114, 28, 36, 0.3) 30%, transparent 30%);
  padding: 0 2px;
}

.wrapper {
  overflow: hidden;
}
@media (max-width: 768px) {
  .wrapper {
    padding-bottom: 60px;
  }
}

/* ===============================================
// 共通スタイル
// =============================================== */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0;
}

.section-title {
  font-family: "Zen Maru Gothic";
  font-size: 36px;
  color: #1F286F;
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.4;
}

.section-subtitle {
  font-family: "Zen Maru Gothic";
  font-size: 16px;
  color: #414141;
  margin-bottom: 60px;
}

/* ===============================================
// レスポンシブ
// =============================================== */
@media (max-width: 1440px) {
  .container {
    padding: 0 20px;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 15px;
  }
  .section-title {
    font-size: 28px;
  }
  .section-subtitle {
    font-size: 14px;
    margin-bottom: 40px;
  }
}
/* ===============================================
// Footer Nav (SP only)
// =============================================== */
.footer-nav {
  display: none;
}
@media (max-width: 768px) {
  .footer-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background-color: #1F286F;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1001;
  }
  .footer-nav .footer-nav-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: #FFFFFF;
    font-size: 12px;
    font-weight: bold;
    transition: background-color 0.3s ease;
  }
  .footer-nav .footer-nav-btn:first-child {
    border-right: 1px solid #19215b;
  }
  .footer-nav .footer-nav-btn:hover {
    background-color: #2a3697;
  }
  .footer-nav .footer-nav-btn i {
    font-size: 20px;
    margin-bottom: 4px;
  }
}

/* ===============================================
// ページ共通メインコンテンツ
// =============================================== */
.page-main {
  padding-top: 150px;
}
.page-main--no-padding {
  padding-top: 0;
}

@media (max-width: 768px) {
  .page-main {
    padding-top: 120px;
  }
  .page-main--no-padding {
    padding-top: 0;
  }
}
/* ===============================================
// Precautions Section
// =============================================== */
.precautions-section {
  padding: 120px 0;
  background-color: #ffffff;
  text-align: center;
}
.precautions-section .precautions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  max-width: 800px;
  margin: 0 auto;
}
.precautions-section .btn-precaution {
  display: block;
  padding: 20px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background-color: #ffffff;
  color: #414141;
  text-decoration: none;
  font-size: 16px;
  font-weight: bold;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.precautions-section .btn-precaution:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  color: #1F286F;
}
@media (max-width: 768px) {
  .precautions-section {
    padding: 80px 0;
  }
  .precautions-section .precautions-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .precautions-section .btn-precaution {
    padding: 15px;
    font-size: 14px;
  }
}

/* ===============================================
// Options Section
// =============================================== */
.options-section {
  padding: 120px 0;
  background-color: #f7f9fc;
  text-align: center;
}

.table-wrapper {
  width: 100%;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
}

.options-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  font-size: 14px;
  text-align: left;
}
.options-table th, .options-table td {
  padding: 15px;
  border-bottom: 1px solid #e0e0e0;
  border-right: 1px solid #e0e0e0;
  vertical-align: middle;
  word-wrap: break-word;
}
.options-table th:last-child,
.options-table td:last-child {
  border-right: none;
}
.options-table th:nth-child(1), .options-table td:nth-child(1) {
  width: 22%;
}
.options-table th:nth-child(2), .options-table td:nth-child(2) {
  width: 13%;
}
.options-table th:nth-child(3), .options-table td:nth-child(3) {
  width: 35%;
}
.options-table th:nth-child(4), .options-table td:nth-child(4) {
  width: 30%;
}
.options-table thead th {
  background-color: #f7f9fc;
  font-weight: bold;
  color: #1F286F;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 1;
}
.options-table tbody tr:last-child th, .options-table tbody tr:last-child td {
  border-bottom: none;
}
.options-table tbody td:nth-child(2) {
  font-weight: bold;
  color: #1F286F;
}
.options-table tbody .category-header th {
  background-color: #F3F4FF;
  color: #1F286F;
  font-weight: bold;
  text-align: center;
  padding: 12px;
  border-bottom: 2px solid #1F286F;
}

@-webkit-keyframes bounce-horizontal {
  0%, 100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(5px);
  }
}

@keyframes bounce-horizontal {
  0%, 100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(5px);
  }
}
.scroll-indicator {
  display: none;
}

@media (max-width: 768px) {
  .table-wrapper {
    overflow-x: auto;
  }
  .options-table {
    min-width: 800px;
    table-layout: auto;
  }
  .options-table th, .options-table td {
    white-space: nowrap;
    width: auto !important;
  }
  .options-table thead th {
    text-align: left;
  }
  .options-table tbody .category-header th {
    text-align: left;
    padding-left: 15px;
  }
  .scroll-indicator {
    display: inline-block;
    position: -webkit-sticky;
    position: sticky;
    left: 0;
    background-color: rgba(255, 255, 255, 0.9);
    color: #414141;
    padding: 10px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    font-weight: bold;
    margin: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    opacity: 1;
    transition: opacity 0.5s ease;
  }
  .scroll-indicator i {
    margin-right: 8px;
    -webkit-animation: bounce-horizontal 1.5s infinite;
            animation: bounce-horizontal 1.5s infinite;
  }
  .scroll-indicator.is-hidden {
    opacity: 0;
    pointer-events: none;
  }
}
/* ===============================================
// Feature Detail Section
// =============================================== */
.feature-detail-section {
  padding-top: 120px;
  padding-bottom: 120px;
  background-color: #ffffff;
  counter-reset: feature-counter;
}
.feature-detail-section .feature-block {
  display: flex;
  align-items: center;
  gap: 50px;
  margin-bottom: 80px;
}
.feature-detail-section .feature-block:last-child {
  margin-bottom: 0;
}
.feature-detail-section .feature-block.-reverse {
  flex-direction: row-reverse;
}
.feature-detail-section .feature-image {
  flex: 1;
  max-width: 50%;
}
.feature-detail-section .feature-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}
.feature-detail-section .feature-text {
  flex: 1;
  max-width: 50%;
}
.feature-detail-section .feature-text h3 {
  font-size: 28px;
  font-weight: bold;
  color: #1F286F;
  margin-bottom: 20px;
  padding-left: 55px;
  border-bottom: none;
  font-family: "Zen Maru Gothic";
  position: relative;
}
.feature-detail-section .feature-text h3::before {
  counter-increment: feature-counter;
  content: "0" counter(feature-counter);
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  font-size: 40px;
  font-weight: bold;
  color: #F3F4FF;
  z-index: 1;
}
.feature-detail-section .feature-text p {
  font-size: 16px;
  line-height: 2;
  color: #414141;
}
@media (max-width: 768px) {
  .feature-detail-section {
    padding-top: 80px;
    padding-bottom: 80px;
  }
  .feature-detail-section .feature-block {
    flex-direction: column !important;
    gap: 30px;
    margin-bottom: 60px;
  }
  .feature-detail-section .feature-image,
.feature-detail-section .feature-text {
    max-width: 100%;
  }
  .feature-detail-section .feature-text h3 {
    font-size: 24px;
    padding-left: 45px;
  }
  .feature-detail-section .feature-text h3::before {
    font-size: 32px;
  }
  .feature-detail-section .feature-text p {
    font-size: 15px;
  }
}

/* ===============================================
// Director Message Section
// =============================================== */
.director-message-section {
  padding: 120px 0;
  background-color: #f7f9fc;
  text-align: center;
}
.director-message-section .section-title {
  text-align: left;
  position: relative;
  padding-bottom: 15px;
  margin-bottom: 50px;
}
.director-message-section .section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #1F286F;
}
.director-message-section .director-profile {
  margin-bottom: 40px;
}
.director-message-section .director-profile img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  -o-object-fit: cover;
     object-fit: cover;
  margin-bottom: 15px;
  border: 4px solid #fff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.director-message-section .director-profile .director-name {
  font-size: 18px;
  font-weight: bold;
  color: #414141;
}
.director-message-section .message-card {
  background-color: #fff;
  border-radius: 10px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}
.director-message-section .message-card h3 {
  font-size: 22px;
  font-weight: bold;
  color: #1F286F;
  margin-bottom: 25px;
  text-align: center;
  font-family: "Zen Maru Gothic";
}
.director-message-section .message-card p {
  font-size: 16px;
  line-height: 2;
  color: #414141;
}
@media (max-width: 768px) {
  .director-message-section {
    padding: 80px 0;
  }
  .director-message-section .section-title {
    margin-bottom: 40px;
  }
  .director-message-section .message-card {
    padding: 30px;
  }
  .director-message-section .message-card h3 {
    font-size: 20px;
  }
}

/* ===============================================
// Buttons
// =============================================== */
.btn {
  display: inline-flex;
  width: 160px;
  align-items: center;
  justify-content: center;
  padding: 12px 15px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
}
.btn-primary {
  background-color: #1F286F;
  color: #ffffff;
  border: 2px solid #1F286F;
  font-size: 16px;
  border-radius: 40px 0 0 0;
}
.btn-primary:hover {
  background-color: #141a47;
  border-color: #141a47;
  transform: translateY(-2px);
}
.btn-secondary {
  background-color: #FFFFFF;
  color: #1F286F;
  border: 2px solid #1F286F;
  font-size: 16px;
  border-radius: 40px 0 0 0;
}
.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}
.btn-secondary .fa-envelope {
  margin-right: 8px;
  align-items: center;
  justify-content: center;
}

/* ===============================================
// Card Section
// =============================================== */
.card-section {
  padding: 120px 0;
  background-color: #ffffff;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  text-align: center;
  padding: 0 0 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}
.card img {
  width: 100%;
  height: 180px;
  -o-object-fit: cover;
     object-fit: cover;
}
.card h3 {
  font-size: 20px;
  font-weight: bold;
  color: #1F286F;
  margin: 20px 0 10px;
  padding: 0 20px;
}
.card p {
  font-size: 14px;
  color: #414141;
  line-height: 1.6;
  padding: 0 20px;
  flex-grow: 1;
  margin-bottom: 25px;
}
.card .btn-detail {
  width: 160px;
  display: inline-block;
  padding: 12px 15px;
  border: 2px solid #1F286F;
  color: #1F286F;
  text-decoration: none;
  border-radius: 40px 0 0 0;
  transition: all 0.3s ease;
  font-weight: bold;
  background-color: transparent;
  margin: 15px auto;
}
.card .btn-detail:hover {
  background-color: #1F286F;
  color: #fff;
}

@media (max-width: 1024px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .card-section {
    padding: 80px 0;
  }
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .card {
    padding-bottom: 20px;
  }
  .card h3 {
    font-size: 16px;
    margin: 15px 0 8px;
  }
  .card p {
    font-size: 13px;
    padding: 0 15px;
    margin-bottom: 15px;
  }
  .card .btn-detail {
    width: 90%;
    padding: 10px 5px;
    font-size: 14px;
  }
}
/* ===============================================
// Attention Box
// =============================================== */
.attention-box {
  background-color: #f3f4ff;
  border: 2px solid #1f286f;
  border-radius: 10px;
  padding: 25px;
  margin-top: 50px;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.attention-box .attention-icon {
  font-size: 32px;
  color: #1f286f;
  flex-shrink: 0;
}
.attention-box .attention-content {
  flex-grow: 1;
}
.attention-box .attention-message {
  font-size: 16px;
  color: #414141;
  line-height: 1.6;
  margin-bottom: 15px;
}
.attention-box .attention-message strong {
  font-weight: bold;
  font-size: 1.2em;
  color: #a50500;
}
.attention-box .btn-corporate {
  display: inline-block;
  background-color: #ffd700;
  color: #1F286F;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  text-align: center;
  width: 100%;
}
.attention-box .btn-corporate:hover {
  background-color: #ccac00;
}

@media (max-width: 768px) {
  .attention-box {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }
  .attention-message {
    margin-bottom: 20px;
  }
  .btn-corporate {
    font-size: 14px;
    padding: 12px 15px;
  }
}
/* ===============================================
// Back to Top Button
// =============================================== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: #1F286F;
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity 0.4s, visibility 0.4s, transform 0.4s, background-color 0.3s;
}
.back-to-top i {
  font-size: 20px;
}
.back-to-top:hover {
  background-color: #141a47;
  transform: translateY(15px);
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .back-to-top {
    width: 45px;
    height: 45px;
    bottom: 80px;
    right: 20px;
    transition: opacity 0.4s, visibility 0.4s, transform 0.4s, background-color 0.3s, bottom 0.3s ease;
  }
}
/* ===============================================
// Modal Styles
// =============================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.modal-overlay.visible {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background-color: #FFFFFF;
  padding: 40px;
  border-radius: 10px;
  width: 90%;
  max-width: 600px;
  text-align: center;
  position: relative;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}
.modal-overlay.visible .modal-content {
  transform: scale(1);
}
.modal-content h3 {
  font-size: 22px;
  color: #1F286F;
  margin-bottom: 15px;
}
.modal-content p {
  font-size: 15px;
  margin-bottom: 30px;
  line-height: 1.6;
}

.modal-close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 28px;
  color: #888;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  transition: color 0.3s;
}
.modal-close-btn:hover {
  color: #333;
}

.modal-buttons {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.modal-buttons .btn-modal {
  display: block;
  padding: 15px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
  border: 2px solid #1F286F;
}
.modal-buttons .btn-modal#personal-booking, .modal-buttons .btn-modal#personal-inquiry-no-subsidy {
  background-color: #1F286F;
  color: #FFFFFF;
}
.modal-buttons .btn-modal#corporate-booking, .modal-buttons .btn-modal#personal-inquiry-with-subsidy, .modal-buttons .btn-modal#corporate-inquiry {
  background-color: #FFFFFF;
  color: #1F286F;
}
.modal-buttons .btn-modal:hover {
  transform: translateY(-2px);
}

#personal-booking-confirm-modal .confirm-text {
  text-align: left;
  background-color: #f7f9fc;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 25px;
  border: 1px solid #e0e0e0;
}
#personal-booking-confirm-modal .confirm-text p {
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 1em;
}
#personal-booking-confirm-modal .confirm-text p:last-child {
  margin-bottom: 0;
}
#personal-booking-confirm-modal .confirm-checkbox-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
}
#personal-booking-confirm-modal .confirm-checkbox-wrapper input[type=checkbox] {
  display: none;
}
#personal-booking-confirm-modal .confirm-checkbox-wrapper label {
  font-size: 14px;
  color: #414141;
  cursor: pointer;
  display: flex;
  align-items: center;
}
#personal-booking-confirm-modal .confirm-checkbox-wrapper label::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid #ccc;
  border-radius: 3px;
  margin-right: 10px;
  transition: all 0.2s ease;
}
#personal-booking-confirm-modal .confirm-checkbox-wrapper input[type=checkbox]:checked + label::before {
  background-color: #1F286F;
  border-color: #1F286F;
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}
#personal-booking-confirm-modal .btn-modal#proceed-to-course-select {
  background-color: #1F286F;
  color: #FFFFFF;
}
#personal-booking-confirm-modal .btn-modal#proceed-to-course-select[disabled] {
  background-color: #ccc;
  border-color: #ccc;
  cursor: not-allowed;
  transform: none;
}
#personal-booking-confirm-modal .btn-modal-back {
  display: block;
  padding: 15px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
  border: 2px solid #aaa;
  color: #aaa;
  background-color: #fff;
}
#personal-booking-confirm-modal .btn-modal-back:hover {
  background-color: #f7f9fc;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .modal-content {
    padding: 30px 20px;
  }
  .modal-content h3 {
    font-size: 20px;
  }
  .modal-content p {
    font-size: 14px;
  }
}
/* ===============================================
// Side Modal
// =============================================== */
.side-modal {
  position: fixed;
  top: 0;
  right: 0;
  width: 320px;
  height: 100%;
  background-color: #FFFFFF;
  z-index: 2001;
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.15);
  transform: translateX(100%);
  transition: transform 0.4s ease-in-out;
  display: flex;
  flex-direction: column;
}
.side-modal.visible {
  transform: translateX(0);
}

.side-modal-content {
  padding: 25px;
  overflow-y: auto;
  flex-grow: 1;
}
.side-modal-content h4 {
  font-size: 18px;
  color: #1F286F;
  font-weight: bold;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #e0e0e0;
}

.side-modal-close-btn {
  position: absolute;
  top: 15px;
  left: 15px;
  background: none;
  border: none;
  font-size: 28px;
  color: #888;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  transition: color 0.3s;
  z-index: 10;
}
.side-modal-close-btn:hover {
  color: #333;
}

.course-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.course-list li {
  border-bottom: 1px solid #eee;
}
.course-list a {
  display: block;
  padding: 15px 10px;
  text-decoration: none;
  color: #414141;
  font-size: 15px;
  transition: background-color 0.3s, color 0.3s;
  position: relative;
  padding-right: 30px;
}
.course-list a::after {
  content: "›";
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: #ccc;
  transition: color 0.3s;
}
.course-list a:hover {
  background-color: #f7f9fc;
  color: #1F286F;
}
.course-list a:hover::after {
  color: #1F286F;
}

@media (max-width: 768px) {
  .side-modal {
    width: 280px;
  }
}
/* ===============================================
// Floating Buttons
// =============================================== */
.floating-buttons {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%) translateX(100%);
  z-index: 998;
  display: flex;
  flex-direction: column;
  gap: 2px;
  transition: transform 0.4s ease-in-out;
}
.floating-buttons.visible {
  transform: translateY(-50%) translateX(0);
}
.floating-buttons .floating-btn {
  writing-mode: vertical-rl;
  background-color: #1F286F;
  color: #ffffff;
  padding: 20px 10px;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  border-radius: 8px 0 0 8px;
  transition: background-color 0.3s ease;
  display: flex;
  align-items: center;
  gap: 15px;
}
.floating-buttons .floating-btn:hover {
  background-color: #141a47;
}
.floating-buttons .floating-btn i {
  transform: rotate(90deg);
}

@media (max-width: 768px) {
  .floating-buttons {
    display: none;
  }
}
/* ===============================================
// Related Plan Section
// =============================================== */
.related-plan-section {
  padding: 60px 0;
  background-color: #f7f9fc;
  text-align: center;
}
.related-plan-section .section-title {
  border-bottom: none;
  font-size: 28px;
  justify-content: center;
  padding-top: 20px;
  margin-bottom: 30px;
}
.related-plan-section .related-plan-box {
  background-color: transparent;
  padding: 0;
}
.related-plan-section .related-plan-subtitle {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #1F286F;
}
.related-plan-section .related-plan-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.related-plan-section .subtitle-option {
  margin-top: 30px;
}
.related-plan-section .btn-related-plan {
  display: block;
  padding: 15px;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  background-color: #1F286F;
  color: #FFFFFF;
  text-decoration: none;
}
.related-plan-section .btn-related-plan:hover {
  background-color: #141a47;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .related-plan-section {
    padding: 40px 0;
  }
  .related-plan-section .related-plan-grid {
    grid-template-columns: 1fr;
  }
}
.corporate-section + .precautions-section {
  background-color: #f7f9fc;
}

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding: 10px 180px;
  background-color: transparent;
  transition: background-color 0.3s ease, border-bottom 0.3s ease, padding 0.3s ease;
}
.site-header.scrolled {
  position: fixed;
  background-color: rgba(255, 255, 255, 0.8);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #e0e0e0;
  padding: 8px 180px;
}
.site-header .header-left {
  display: flex;
  align-items: center;
  margin-right: auto;
}
.site-header .header-left .logo {
  width: 240px;
  margin-top: 0;
}
.site-header .header-right {
  text-align: right;
  margin-left: auto;
  margin-right: 0;
}
.site-header .header-right .phone-number {
  font-size: 28px;
  font-weight: bold;
  color: #1F286F;
  margin-bottom: 5px;
}
.site-header .header-right .phone-number .fa-phone {
  font-size: 0.8em;
  margin-right: 4px;
}
.site-header .header-right .opening-hours {
  font-size: 14px;
  font-weight: bold;
  color: #1F286F;
}
.site-header .main-nav {
  width: 100%;
  margin: 10px 0 0;
  text-align: center;
  font-family: "Zen Maru Gothic";
}
.site-header .main-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: inline-block;
}
.site-header .main-nav ul li {
  display: inline-block;
  margin-left: 32px;
  position: relative;
}
.site-header .main-nav a {
  text-decoration: none;
  color: #1F286F;
  font-weight: bold;
  font-size: 16px;
  padding-bottom: 5px;
  position: relative;
}
.site-header .main-nav a:hover {
  color: #007bff;
}
.site-header .main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background-color: #007bff;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease-out;
}
.site-header .main-nav a:hover::after {
  transform: scaleX(1);
}
.site-header .main-nav .has-submenu > a {
  padding-right: 15px;
}
.site-header .main-nav .has-submenu > a::before {
  content: "▼";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 10px;
  transition: transform 0.3s ease;
}
.site-header .main-nav li:hover > a::before {
  transform: translateY(-50%) rotate(180deg);
}
.site-header .main-nav .sub-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background-color: #fff;
  border-radius: 5px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  list-style: none;
  padding: 10px 0;
  margin: 0;
  min-width: 180px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 10;
}
.site-header .main-nav .sub-menu li {
  display: block;
  margin: 0;
}
.site-header .main-nav .sub-menu li a {
  display: block;
  padding: 10px 20px;
  white-space: nowrap;
  font-size: 15px;
}
.site-header .main-nav .sub-menu li a::after {
  display: none;
}
.site-header .main-nav .sub-menu li a:hover {
  background-color: #f7f9fc;
}
.site-header .main-nav li:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
@media (max-width: 1440px) {
  .site-header {
    padding: 10px 20px;
  }
  .site-header.scrolled {
    padding: 8px 20px;
  }
}
@media (max-width: 768px) {
  .site-header {
    flex-wrap: nowrap;
    padding: 15px 15px;
  }
  .site-header.scrolled {
    padding: 10px 15px;
  }
  .site-header .header-left .logo {
    width: 200px;
  }
  .site-header .header-right,
.site-header .main-nav {
    display: none;
  }
}

/* ハンバーガーメニュー */
.hamburger-btn {
  display: none;
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  width: 40px;
  height: 40px;
  background-color: transparent;
  border: none;
  cursor: pointer;
}
.hamburger-btn span {
  display: block;
  position: absolute;
  left: 10px;
  width: 20px;
  height: 2px;
  background-color: #1F286F;
  transition: 0.3s ease-in-out;
}
.hamburger-btn span:nth-child(1) {
  top: 12px;
}
.hamburger-btn span:nth-child(2) {
  top: 19px;
}
.hamburger-btn span:nth-child(3) {
  top: 26px;
}

.drawer-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #f0f4f8;
  z-index: 999;
  flex-direction: column;
}
.drawer-menu .drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  flex-shrink: 0;
}
.drawer-menu .drawer-header .drawer-logo {
  width: 200px;
  height: auto;
}
.drawer-menu .drawer-phone {
  display: block;
  background-color: #fff;
  color: #1F286F;
  text-decoration: none;
  font-size: 20px;
  font-weight: bold;
  padding: 15px;
  text-align: center;
  margin: 0 20px 20px;
  border-radius: 8px;
  border: 1px solid #ddd;
  transition: background-color 0.3s;
}
.drawer-menu .drawer-phone:hover {
  background-color: #f7f9fc;
}
.drawer-menu .drawer-phone i {
  margin-right: 8px;
}
.drawer-menu .drawer-nav {
  flex-grow: 1;
  overflow-y: auto;
  padding: 0 20px 20px;
}
.drawer-menu .drawer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.drawer-menu .drawer-nav li {
  border-bottom: 1px solid #dde2e7;
}
.drawer-menu .drawer-nav a {
  display: block;
  text-decoration: none;
  color: #414141;
  font-size: 16px;
  font-weight: bold;
  padding: 18px 10px;
  position: relative;
}
.drawer-menu .drawer-nav .has-submenu > a::after {
  content: "+";
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  color: #1F286F;
  transition: transform 0.3s ease;
}
.drawer-menu .drawer-nav .has-submenu > a.is-open::after {
  transform: translateY(-50%) rotate(45deg);
}
.drawer-menu .drawer-nav .sub-menu {
  display: none;
  list-style: none;
  padding: 0;
  margin: 0;
  background-color: #e6eaf0;
}
.drawer-menu .drawer-nav .sub-menu li {
  border-top: 1px solid #dde2e7;
}
.drawer-menu .drawer-nav .sub-menu a {
  font-size: 14px;
  font-weight: normal;
  padding-left: 25px;
}
.drawer-menu .drawer-nav .drawer-footer-nav {
  margin-top: 30px;
}
.drawer-menu .drawer-nav .drawer-footer-nav li {
  border: none;
}
.drawer-menu .drawer-nav .drawer-footer-nav a {
  display: flex;
  align-items: center;
  padding: 12px 10px;
  font-size: 15px;
}
.drawer-menu .drawer-nav .drawer-footer-nav a i {
  font-size: 18px;
  width: 25px;
  margin-right: 10px;
  color: #1F286F;
  text-align: center;
}

@media (max-width: 768px) {
  .hamburger-btn {
    display: block;
  }
}
body.is-drawer-open {
  overflow: hidden;
}

.page-header {
  margin-top: 130px;
  padding: 80px 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  text-align: center;
  position: relative;
  color: #FFFFFF;
}
.page-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
}
.page-header .container {
  position: relative;
  z-index: 2;
}
.page-header h1 {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 15px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
}

/* ===============================================
// ページごとの背景画像設定
// =============================================== */
.gastroscope-page .page-header {
  background-image: url("../img/head-gastroscope.png");
}

.ugi-page .page-header {
  background-image: url("../img/head-ugi.png");
}

.abc-page .page-header {
  background-image: url("../img/head-abc5.png");
}

@media (max-width: 768px) {
  .page-header {
    margin-top: 70px;
    padding: 60px 0;
  }
  .page-header h1 {
    font-size: 28px;
  }
}
/* ===============================================
// Hero Section
// =============================================== */
.hero-section {
  padding-top: 150px;
  height: 100vh;
  display: flex;
  align-items: center;
  color: #1F286F;
  position: relative;
  overflow: hidden;
}
.hero-section .hero-images {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.hero-section .hero-images .hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}
.hero-section .hero-images .hero-image.active {
  opacity: 1;
}
.hero-section .hero-images .hero-image-sp {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}
.hero-section .hero-images .hero-image-sp.active {
  opacity: 1;
}
.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.hero-section .container {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  justify-content: flex-start;
}
.hero-section .hero-content {
  max-width: 550px;
}
.hero-section .hero-content h2 {
  font-size: 48px;
  margin-bottom: 20px;
  line-height: 1.3;
  font-weight: bold;
  text-shadow: 4px 4px 10px rgba(0, 0, 0, 0.5);
}
.hero-section .hero-content p {
  margin-bottom: 40px;
  line-height: 1.6;
  color: #ffffff;
  font-weight: bold;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
}
.hero-section .hero-buttons {
  display: flex;
  gap: 20px;
}
@media (max-width: 992px) {
  .hero-section {
    justify-content: center;
  }
  .hero-section .container {
    justify-content: center;
    text-align: center;
  }
  .hero-section .hero-content {
    max-width: 80%;
  }
  .hero-section .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
}
@media (max-width: 768px) {
  .hero-section {
    padding-top: 120px;
  }
  .hero-section .hero-content {
    max-width: 90%;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
  }
  .hero-section .hero-content h2 {
    font-size: 1.8em;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
  }
  .hero-section .hero-content p {
    font-size: 0.9em;
    color: #414141;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
  }
  .hero-section .hero-images .hero-image {
    display: none;
  }
  .hero-section .hero-images .hero-image-sp {
    display: block;
  }
  .hero-section .container {
    justify-content: center;
  }
}

/* ===============================================
// News Section
// =============================================== */
.news-section {
  padding: 120px 0;
  text-align: center;
  background-color: #f7f9fc;
}
.news-section .news-content-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 40px;
}
.news-section .news-list {
  flex: 1;
  min-width: 300px;
  overflow: hidden;
}
.news-section .news-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.news-section .news-list li {
  border-bottom: 1px solid #C7C7C7;
}
.news-section .news-list .news-item-link {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 8px 10px;
  text-decoration: none;
  color: #555;
  transition: background-color 0.3s ease;
}
.news-section .news-list .news-item-link:hover {
  background-color: #f0f0f0;
}
.news-section .news-list .news-date {
  font-weight: bold;
  color: #414141;
  margin-bottom: 5px;
  flex-shrink: 0;
}
.news-section .news-list .news-title {
  color: #414141;
  flex-grow: 1;
  line-height: 1.5;
}
.news-section .news-image {
  flex-shrink: 0;
  max-width: 300px;
  height: auto;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}
.news-section .news-image img {
  display: block;
  max-width: 100%;
  height: auto;
}
.news-section .view-all-button-wrapper {
  margin-top: 20px;
}
.news-section .btn-view-all {
  width: 160px;
  display: inline-block;
  padding: 12px 15px;
  border: 2px solid #1F286F;
  color: #1F286F;
  text-decoration: none;
  border-radius: 40px 0 0 0;
  transition: all 0.3s ease;
  font-weight: bold;
  background-color: transparent;
}
.news-section .btn-view-all:hover {
  background-color: #1F286F;
  color: #fff;
}
@media (max-width: 768px) {
  .news-section .news-content-wrapper {
    flex-direction: column;
    align-items: center;
  }
  .news-section .news-list,
.news-section .news-image {
    width: 100%;
    max-width: 500px;
  }
  .news-section .news-date {
    margin-bottom: 5px;
  }
}
@media (max-width: 480px) {
  .news-section {
    padding: 40px 0;
  }
}

/* ===============================================
// Features Section (Index Page)
// =============================================== */
.features-section {
  padding: 120px 0;
  text-align: center;
  background-color: #ffffff;
}
.features-section .features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}
.features-section .feature-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.features-section .feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}
.features-section .feature-icon {
  width: 80px;
  height: 80px;
  background-color: #1F286F;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}
.features-section .feature-icon i {
  font-size: 36px;
  color: #ffffff;
}
.features-section .feature-item h3 {
  font-size: 20px;
  font-weight: bold;
  color: #1F286F;
  margin-bottom: 10px;
  font-family: "Zen Maru Gothic";
}
.features-section .feature-item p {
  font-size: 14px;
  color: #414141;
  line-height: 1.6;
}
@media (max-width: 992px) {
  .features-section .features-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
  }
}
@media (max-width: 768px) {
  .features-section {
    padding: 80px 0;
  }
  .features-section .features-grid {
    grid-template-columns: 1fr;
  }
  .features-section .feature-item {
    padding: 25px;
  }
  .features-section .feature-item h3 {
    font-size: 18px;
  }
  .features-section .feature-item p {
    font-size: 13px;
  }
}
@media (max-width: 480px) {
  .features-section {
    padding: 60px 0;
  }
}

/* ===============================================
// Course List Section
// =============================================== */
.course-list-section {
  padding: 120px 0;
  text-align: center;
  background-color: #f7f9fc;
}
.course-list-section .course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}
.course-list-section .course-item {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  padding-bottom: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}
.course-list-section .course-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}
.course-list-section .course-item .course-image-wrapper {
  width: 100%;
  height: 200px;
  overflow: hidden;
  margin-bottom: 20px;
  background-color: #eee;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 20px 0;
  box-sizing: border-box;
}
.course-list-section .course-item .course-image {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}
.course-list-section .course-item h3 {
  font-size: 20px;
  font-weight: bold;
  color: #1F286F;
  margin-bottom: 10px;
  padding: 0 20px;
  text-align: center;
}
.course-list-section .course-item p {
  font-size: 14px;
  color: #414141;
  line-height: 1.6;
  margin-bottom: 25px;
  padding: 0 20px;
  text-align: center;
  flex-grow: 1;
}
.course-list-section .course-item .btn-detail {
  width: 160px;
  display: inline-block;
  padding: 12px 15px;
  border: 2px solid #1F286F;
  color: #1F286F;
  text-decoration: none;
  border-radius: 40px 0 0 0;
  transition: all 0.3s ease;
  font-weight: bold;
  background-color: transparent;
  margin-top: auto;
}
.course-list-section .course-item .btn-detail:hover {
  background-color: #1F286F;
  color: #fff;
}
@media (max-width: 992px) {
  .course-list-section .course-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
  }
}
@media (max-width: 768px) {
  .course-list-section {
    padding: 80px 0;
  }
  .course-list-section .course-grid {
    grid-template-columns: 1fr;
  }
  .course-list-section .course-item {
    max-width: 500px;
    margin: 0 auto;
    padding-bottom: 20px;
  }
  .course-list-section .course-image-wrapper {
    height: 180px;
  }
  .course-list-section h3 {
    font-size: 18px;
  }
  .course-list-section p {
    font-size: 13px;
  }
}
@media (max-width: 480px) {
  .course-list-section {
    padding: 60px 0;
  }
  .course-list-section .course-image-wrapper {
    height: 150px;
  }
}

/* ===============================================
// Corporate Section
// =============================================== */
.corporate-section {
  padding: 120px 0;
  background-color: #ffffff;
  text-align: center;
}
.corporate-section .corporate-content-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
}
.corporate-section .corporate-image {
  flex: 1;
  max-width: 50%;
}
.corporate-section .corporate-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}
.corporate-section .corporate-text {
  flex: 1;
  max-width: 50%;
  text-align: center;
}
.corporate-section .corporate-text p {
  font-size: 16px;
  line-height: 1.8;
  color: #414141;
  margin-bottom: 2em;
  text-align: left;
}
@media (max-width: 992px) {
  .corporate-section .corporate-content-wrapper {
    flex-direction: column;
    text-align: center;
  }
  .corporate-section .corporate-image,
.corporate-section .corporate-text {
    max-width: 100%;
  }
  .corporate-section .corporate-text p {
    text-align: left;
  }
}
@media (max-width: 768px) {
  .corporate-section {
    padding: 80px 0;
  }
}

/* ===============================================
// Marquee Section
// =============================================== */
.marquee-section {
  padding: 60px 0;
  background-color: #ffffff;
  overflow: hidden;
}
.marquee-section .marquee-wrapper {
  display: flex;
  flex-wrap: nowrap;
  will-change: transform;
}
.marquee-section .marquee-item {
  flex-shrink: 0;
  width: 300px;
  margin: 0 15px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.marquee-section .marquee-item img {
  width: 100%;
  height: auto;
  display: block;
}

/* ===============================================
// Endoscopy Section
// =============================================== */
.endoscopy-section {
  background-color: #f7f9fc;
}
@media (min-width: 769px) {
  .endoscopy-section .course-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 840px;
    margin: 0 auto;
  }
}

/* ===============================================
// Course Finder Section
// =============================================== */
.course-finder-section {
  padding: 120px 0;
  background-color: #ffffff;
  text-align: center;
}
.course-finder-section .finder-step {
  margin-bottom: 30px;
}
.course-finder-section .finder-question {
  font-size: 22px;
  font-weight: bold;
  color: #1F286F;
  margin-bottom: 25px;
}
.course-finder-section .finder-options {
  display: flex;
  justify-content: center;
  gap: 20px;
}
.course-finder-section .btn-finder {
  padding: 15px 30px;
  font-size: 16px;
  font-weight: bold;
  border: 2px solid #1F286F;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  background-color: #fff;
  color: #1F286F;
}
.course-finder-section .btn-finder:hover {
  background-color: #1F286F;
  color: #fff;
}
.course-finder-section .finder-result {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 30px;
  max-width: 600px;
  margin: 20px auto 0;
}
.course-finder-section .finder-result p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 20px;
}
.course-finder-section .finder-result .btn-tel {
  display: inline-block;
  background-color: #1F286F;
  color: #fff;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
}
.course-finder-section .finder-result .btn-tel i {
  margin-right: 8px;
}
.course-finder-section .recommend-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 30px;
}
.course-finder-section .recommend-card {
  display: flex;
  flex-direction: column;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.course-finder-section .recommend-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}
.course-finder-section .recommend-card img {
  width: 100%;
  height: 180px;
  -o-object-fit: cover;
     object-fit: cover;
}
.course-finder-section .recommend-card-body {
  padding: 20px;
  text-align: left;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.course-finder-section .recommend-card-body h4 {
  font-size: 18px;
  font-weight: bold;
  color: #1F286F;
  margin-bottom: 10px;
}
.course-finder-section .recommend-card-body p {
  font-size: 14px;
  line-height: 1.7;
  color: #414141;
  flex-grow: 1;
  margin-bottom: 15px;
}
.course-finder-section .recommend-card-body .btn-detail {
  width: 160px;
  display: inline-block;
  padding: 12px 15px;
  border: 2px solid #1F286F;
  color: #1F286F;
  text-decoration: none;
  border-radius: 40px 0 0 0;
  transition: all 0.3s ease;
  font-weight: bold;
  background-color: transparent;
  margin-top: auto;
  text-align: center;
}
.course-finder-section .recommend-card-body .btn-detail:hover {
  background-color: #1F286F;
  color: #fff;
}
@media (max-width: 768px) {
  .course-finder-section {
    padding: 80px 0;
  }
  .course-finder-section .finder-question {
    font-size: 18px;
  }
  .course-finder-section .finder-options {
    flex-direction: column;
  }
  .course-finder-section .recommend-grid {
    grid-template-columns: 1fr;
  }
}

/* フッター */
.site-footer-container {
  background-color: #ffffff;
  border-top: 1px solid #e0e0e0;
  /* レスポンシブ対応 (フッター) */
}
.site-footer-container .footer-main {
  padding: 60px 0;
}
.site-footer-container .footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}
.site-footer-container .footer-col {
  flex: 1;
  font-size: 14px;
  line-height: 1.8;
  /* .clinic-name のスタイルは削除 */
}
.site-footer-container .footer-col .footer-logo {
  display: inline-block;
  margin-bottom: 20px;
  width: 250px;
}
.site-footer-container .footer-col .footer-logo img {
  width: 100%;
  height: auto;
  display: block;
}
.site-footer-container .footer-col p {
  margin-bottom: 10px;
}
.site-footer-container .footer-col .footer-links {
  margin-top: 20px;
}
.site-footer-container .footer-col .footer-links a {
  color: #1F286F;
  text-decoration: none;
  margin-right: 15px;
  font-weight: bold;
}
.site-footer-container .footer-col .footer-links a:hover {
  text-decoration: underline;
}
.site-footer-container .footer-col .hours-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 15px;
  text-align: center;
  font-size: 13px;
}
.site-footer-container .footer-col .hours-table th,
.site-footer-container .footer-col .hours-table td {
  border: 1px solid #ddd;
  padding: 14px 5px;
  vertical-align: middle;
  text-align: center;
}
.site-footer-container .footer-col .hours-table th {
  background-color: #eaf2ff;
  font-weight: bold;
}
.site-footer-container .footer-col .hours-table td:first-child {
  font-weight: bold;
  background-color: #f9f9f9;
}
.site-footer-container .footer-col .clinic-hours {
  font-size: 14px;
  line-height: 1.7;
  text-align: center;
}
.site-footer-container .footer-col .inquiry-label {
  font-weight: bold;
  font-size: 16px;
}
.site-footer-container .footer-col .footer-phone {
  font-size: 32px;
  font-weight: bold;
  color: #007bff;
  margin: 5px 0;
}
.site-footer-container .footer-col .phone-hours {
  border-bottom: 1px solid #ddd;
  padding-bottom: 20px;
  margin-bottom: 20px;
}
.site-footer-container .footer-col .btn-footer {
  display: block;
  background-color: #1F286F;
  color: #ffffff;
  text-align: center;
  padding: 18px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  transition: background-color 0.3s ease;
}
.site-footer-container .footer-col .btn-footer:hover {
  background-color: #141a47;
}
.site-footer-container .footer-bottom {
  background-color: #1F286F;
  color: #ffffff;
  padding: 20px 0;
  text-align: center;
  font-size: 12px;
}
@media (max-width: 1024px) {
  .site-footer-container .footer-content {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .site-footer-container .footer-col {
    width: 100%;
    margin-bottom: 30px;
  }
  .site-footer-container .footer-col:last-child {
    margin-bottom: 0;
  }
}
@media (max-width: 768px) {
  .site-footer-container .footer-main {
    padding: 40px 0;
  }
  .site-footer-container .footer-col {
    font-size: 13px;
  }
  .site-footer-container .footer-col .footer-logo {
    margin: 0 auto 20px;
  }
  .site-footer-container .footer-col .footer-links a {
    margin: 0 5px;
  }
  .site-footer-container .footer-col .hours-table {
    font-size: 12px;
  }
  .site-footer-container .footer-col .hours-table th, .site-footer-container .footer-col .hours-table td {
    padding: 8px 3px;
  }
  .site-footer-container .footer-col .footer-phone {
    font-size: 26px;
  }
  .site-footer-container .footer-col .phone-hours {
    padding-bottom: 15px;
    margin-bottom: 15px;
  }
  .site-footer-container .footer-col .btn-footer {
    padding: 15px;
    font-size: 16px;
  }
}

/* ===============================================
// Gastroscope Page Sections
// =============================================== */
.gastroscope-intro-section {
  padding: 120px 0;
}
.gastroscope-intro-section .intro-content {
  display: flex;
  align-items: center;
  gap: 40px;
}
.gastroscope-intro-section .intro-content p {
  flex: 1;
  line-height: 2;
}
.gastroscope-intro-section .intro-content img {
  flex: 1;
  max-width: 500px;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.gastroscope-features-section {
  padding: 120px 0;
  background-color: #f7f9fc;
  text-align: center;
}
.gastroscope-features-section .feature-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}
.gastroscope-features-section .feature-card {
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}
.gastroscope-features-section .feature-card img {
  max-width: 100%;
  height: 180px;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}
.gastroscope-features-section .feature-card h4 {
  font-size: 20px;
  font-weight: bold;
  color: #1F286F;
  margin-bottom: 15px;
}
.gastroscope-features-section .feature-card p {
  font-size: 14px;
  line-height: 1.8;
  text-align: left;
}
.gastroscope-features-section.section--white-bg {
  background-color: #fff;
}

.gastroscope-comparison-section {
  padding: 120px 0;
  text-align: center;
}
.gastroscope-comparison-section .comparison-content {
  margin: 0 auto;
}
.gastroscope-comparison-section .comparison-content img {
  max-width: 100%;
  margin-bottom: 30px;
}
.gastroscope-comparison-section .comparison-content .comparison-text {
  margin: 0 auto;
  line-height: 2;
  text-align: left;
}

@media (max-width: 768px) {
  .gastroscope-intro-section {
    padding: 80px 0;
  }
  .gastroscope-intro-section .intro-content {
    flex-direction: column;
  }
  .gastroscope-intro-section .intro-content img {
    max-width: 100%;
  }
  .gastroscope-features-section,
.gastroscope-comparison-section {
    padding: 80px 0;
  }
}
.toc-section {
  padding: 60px 0;
  background-color: #f7f9fc;
}
.toc-section .toc-title {
  font-size: 22px;
  font-weight: bold;
  color: #1F286F;
  text-align: center;
  margin-bottom: 25px;
  font-family: "Zen Maru Gothic";
}
.toc-section .toc-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 1080px;
}
.toc-section .toc-list li a {
  display: block;
  padding: 12px 25px;
  text-decoration: none;
  color: #1F286F;
  background-color: #fff;
  border: 1px solid #1F286F;
  border-radius: 30px;
  font-weight: bold;
  transition: all 0.3s ease;
  text-align: center;
  white-space: nowrap;
}
.toc-section .toc-list li a:hover {
  background-color: #1F286F;
  color: #fff;
}
@media (max-width: 768px) {
  .toc-section .toc-list {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}

.gastroscope-purpose-section {
  padding: 120px 0;
  text-align: center;
  background-color: #fff;
}
.gastroscope-purpose-section .purpose-content-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 60px;
}
.gastroscope-purpose-section .purpose-image {
  flex: 1 1 40%;
}
.gastroscope-purpose-section .purpose-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}
.gastroscope-purpose-section .purpose-text-list {
  flex: 1 1 60%;
  text-align: left;
}
.gastroscope-purpose-section .purpose-text-item {
  padding: 15px 0;
  border-bottom: 1px solid #e0e0e0;
}
.gastroscope-purpose-section .purpose-text-item:first-child {
  border-top: 1px solid #e0e0e0;
}
.gastroscope-purpose-section .purpose-text-item h4 {
  font-size: 20px;
  font-weight: bold;
  color: #1F286F;
  margin-bottom: 10px;
  font-family: "Zen Maru Gothic";
}
.gastroscope-purpose-section .purpose-text-item p {
  font-size: 16px;
  line-height: 1.8;
  padding-left: 1.5em;
  position: relative;
}
.gastroscope-purpose-section .purpose-text-item p::before {
  content: "：";
  position: absolute;
  left: 0;
  top: 0;
}
@media (max-width: 768px) {
  .gastroscope-purpose-section {
    padding: 80px 0;
  }
  .gastroscope-purpose-section .purpose-content-wrapper {
    flex-direction: column;
  }
  .gastroscope-purpose-section .purpose-text-item h4 {
    font-size: 18px;
  }
  .gastroscope-purpose-section .purpose-text-item p {
    font-size: 15px;
  }
}

.gastroscope-recommend-section,
.gastroscope-sedation-section {
  padding: 120px 0;
  text-align: center;
}
.gastroscope-recommend-section .recommend-content,
.gastroscope-sedation-section .recommend-content {
  text-align: left;
  margin: 0 auto;
}
.gastroscope-recommend-section .recommend-content p,
.gastroscope-sedation-section .recommend-content p {
  line-height: 2;
  margin-bottom: 1.5em;
}
.gastroscope-recommend-section .recommend-content p:last-of-type,
.gastroscope-sedation-section .recommend-content p:last-of-type {
  margin-bottom: 40px;
}
.gastroscope-recommend-section .recommend-notes,
.gastroscope-sedation-section .recommend-notes {
  border: 1px solid #f5c6cb;
  background-color: #f8d7da;
  color: #721c24;
  border-radius: 8px;
  padding: 30px;
}
.gastroscope-recommend-section .notes-list,
.gastroscope-sedation-section .notes-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
  counter-reset: recommend-counter;
}
.gastroscope-recommend-section .notes-list li,
.gastroscope-sedation-section .notes-list li {
  padding-left: 45px;
  position: relative;
  margin-bottom: 15px;
  font-size: 15px;
  line-height: 1.8;
}
.gastroscope-recommend-section .notes-list li:last-child,
.gastroscope-sedation-section .notes-list li:last-child {
  margin-bottom: 0;
}
.gastroscope-recommend-section .notes-list li::before,
.gastroscope-sedation-section .notes-list li::before {
  counter-increment: recommend-counter;
  content: counter(recommend-counter);
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  background-color: #dc3545;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 14px;
  line-height: 1;
}
.gastroscope-recommend-section .notes-list li strong,
.gastroscope-sedation-section .notes-list li strong {
  font-weight: bold;
  color: #721c24;
}
@media (max-width: 768px) {
  .gastroscope-recommend-section,
.gastroscope-sedation-section {
    padding: 80px 0;
  }
  .gastroscope-recommend-section .recommend-notes,
.gastroscope-sedation-section .recommend-notes {
    padding: 20px;
  }
  .gastroscope-recommend-section .notes-list li,
.gastroscope-sedation-section .notes-list li {
    padding-left: 40px;
  }
  .gastroscope-recommend-section .notes-list li::before,
.gastroscope-sedation-section .notes-list li::before {
    width: 25px;
    height: 25px;
    font-size: 13px;
  }
}

.gastroscope-recommend-section,
.gastroscope-sedation-section {
  background-color: #f7f9fc;
}

.gastroscope-nasal-features-section {
  padding: 120px 0;
  background-color: #ffffff;
  text-align: center;
}
.gastroscope-nasal-features-section .feature-points-wrapper {
  margin: 0 auto;
}
.gastroscope-nasal-features-section .feature-point {
  display: flex;
  align-items: center;
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  margin-bottom: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: left;
}
.gastroscope-nasal-features-section .feature-point:last-child {
  margin-bottom: 0;
}
.gastroscope-nasal-features-section .feature-point-text {
  flex: 1;
  padding-right: 30px;
}
.gastroscope-nasal-features-section .feature-point-text h3 {
  font-size: 22px;
  font-weight: bold;
  color: #1F286F;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  border-bottom: 2px solid #F3F4FF;
  padding-bottom: 15px;
}
.gastroscope-nasal-features-section .feature-point-text .feature-number {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 30px;
  background-color: #1F286F;
  color: #fff;
  border-radius: 50%;
  font-size: 16px;
  font-weight: bold;
  margin-right: 15px;
  flex-shrink: 0;
}
.gastroscope-nasal-features-section .feature-point-text p {
  font-size: 15px;
  line-height: 1.8;
  padding-top: 15px;
}
.gastroscope-nasal-features-section .feature-point-text p .note {
  display: block;
  font-size: 13px;
  color: #666;
  margin-top: 10px;
}
.gastroscope-nasal-features-section .feature-point-image {
  flex-basis: 200px;
  flex-shrink: 0;
}
.gastroscope-nasal-features-section .feature-point-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}
@media (max-width: 768px) {
  .gastroscope-nasal-features-section {
    padding: 80px 0;
  }
  .gastroscope-nasal-features-section .feature-point {
    flex-direction: column;
    padding: 20px;
  }
  .gastroscope-nasal-features-section .feature-point-text {
    padding-right: 0;
    margin-bottom: 20px;
    width: 100%;
  }
  .gastroscope-nasal-features-section .feature-point-image {
    flex-basis: auto;
    width: 100%;
    max-width: 250px;
  }
}

/* ===============================================
// ABC Page Specific Sections
// =============================================== */
.abc-table-section {
  padding: 120px 0;
  background-color: #f7f9fc;
  text-align: center;
}

.abc-table-wrapper {
  margin: 0 auto;
  border: 1px solid #ddd;
  background-color: #fff;
}

.abc-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
}
.abc-table th, .abc-table td {
  border: 1px solid #ddd;
  padding: 20px;
  text-align: center;
  font-weight: bold;
}
.abc-table .abc-table-header {
  background-color: #f2f2f2;
  font-size: 18px;
}
.abc-table .abc-table-subheader, .abc-table .abc-table-sideheader, .abc-table .abc-table-sideheader-sub {
  background-color: #f9f9f9;
}
.abc-table .abc-table-group-a {
  background-color: #5bc0de;
  color: #fff;
}
.abc-table .abc-table-group-b {
  background-color: #f0ad4e;
  color: #fff;
}
.abc-table .abc-table-group-c {
  background-color: #f06292;
  color: #fff;
}
.abc-table .abc-table-group-d {
  background-color: #d9534f;
  color: #fff;
}

.abc-risk-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 40px;
  margin-left: auto;
  margin-right: auto;
}

.risk-card-item {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.risk-card-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.risk-card-header {
  padding: 15px 20px;
  display: flex;
  align-items: center;
  color: #fff;
}
.risk-card-header .risk-group {
  font-size: 24px;
  font-weight: bold;
  margin-right: 15px;
}
.risk-card-header .risk-title {
  font-size: 18px;
  font-weight: bold;
}

.risk-card-body {
  padding: 20px;
  background-color: #fff;
  text-align: left;
}
.risk-card-body p {
  font-size: 15px;
  line-height: 1.8;
}

.card-a .risk-card-header {
  background-color: #5bc0de;
}

.card-b .risk-card-header {
  background-color: #f0ad4e;
}

.card-c .risk-card-header {
  background-color: #f06292;
}

.card-d .risk-card-header {
  background-color: #d9534f;
}

@media (max-width: 768px) {
  .abc-table-section {
    padding: 80px 0;
  }
  .abc-table {
    font-size: 14px;
  }
  .abc-table th, .abc-table td {
    padding: 12px 8px;
  }
  .abc-risk-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
.merit-demerit-section {
  padding: 120px 0;
  background-color: #fff;
  text-align: center;
}
.merit-demerit-section .merit-box, .merit-demerit-section .demerit-box {
  padding: 30px;
  border-radius: 8px;
  text-align: left;
}
.merit-demerit-section .merit-box h3, .merit-demerit-section .demerit-box h3 {
  font-size: 22px;
  font-weight: bold;
  color: #1F286F;
  padding-left: 20px;
  border-left: 5px solid #1F286F;
  margin-bottom: 25px;
}
.merit-demerit-section .merit-box dl dt, .merit-demerit-section .demerit-box dl dt {
  font-weight: bold;
  color: #141a47;
  margin-top: 20px;
  margin-bottom: 8px;
}
.merit-demerit-section .merit-box dl dt:first-of-type, .merit-demerit-section .demerit-box dl dt:first-of-type {
  margin-top: 0;
}
.merit-demerit-section .merit-box dl dd, .merit-demerit-section .demerit-box dl dd {
  font-size: 15px;
  line-height: 1.8;
  padding-left: 1.2em;
  position: relative;
}
.merit-demerit-section .merit-box dl dd::before, .merit-demerit-section .demerit-box dl dd::before {
  content: "：";
  position: absolute;
  left: 0;
}
.merit-demerit-section .merit-box {
  background-color: #eaf2ff;
  border: 1px solid #b3d1ff;
  margin-bottom: 30px;
}
.merit-demerit-section .demerit-box {
  background-color: #f8f9fa;
  border: 1px solid #dee2e6;
}
@media (max-width: 768px) {
  .merit-demerit-section {
    padding: 80px 0;
  }
}

.summary-section {
  padding: 120px 0;
  background-color: #fff;
  text-align: center;
}
.summary-section .summary-box {
  background-color: #f7f9fc;
  padding: 30px 40px;
  border-radius: 8px;
  text-align: left;
  border-left: 5px solid #1F286F;
}
.summary-section .summary-box p {
  line-height: 2;
  font-size: 16px;
}
@media (max-width: 768px) {
  .summary-section {
    padding: 80px 0;
  }
}

/* colonoscopy.html symptom recommend section */
.symptom-recommend-section {
  padding-bottom: 120px;
  background-color: #ffffff;
}
.symptom-recommend-section .section-title {
  text-align: center;
  margin-bottom: 40px;
}
.symptom-recommend-section .symptom-note-box {
  background-color: #f7f9fc;
  border: 1px solid #e0e0e0;
  border-left: 5px solid #1F286F;
  border-radius: 5px;
  padding: 25px;
  margin: 0 auto 40px;
  max-width: 1080px;
}
.symptom-recommend-section .symptom-note-box p {
  line-height: 1.8;
  font-size: 15px;
  text-align: center;
}
.symptom-recommend-section .symptom-note-box p strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.1em;
}
.symptom-recommend-section .symptom-list-wrapper {
  max-width: 800px;
  margin: 0 auto;
  /* ▼▼▼ ここにリストのデザインを追加しました ▼▼▼ */
}
.symptom-recommend-section .symptom-list-wrapper .purpose-text-item {
  padding: 15px 0;
  border-bottom: 1px solid #e0e0e0;
}
.symptom-recommend-section .symptom-list-wrapper .purpose-text-item:first-child {
  border-top: 1px solid #e0e0e0;
}
.symptom-recommend-section .symptom-list-wrapper .purpose-text-item h4 {
  font-size: 20px;
  font-weight: bold;
  color: #1F286F;
  margin-bottom: 10px;
  font-family: "Zen Maru Gothic";
}
.symptom-recommend-section .symptom-list-wrapper .purpose-text-item p {
  font-size: 16px;
  line-height: 1.8;
  padding-left: 1.5em;
  position: relative;
}
.symptom-recommend-section .symptom-list-wrapper .purpose-text-item p::before {
  content: "：";
  position: absolute;
  left: 0;
  top: 0;
}
@media (max-width: 768px) {
  .symptom-recommend-section {
    padding-bottom: 80px;
  }
}

/* ===============================================
// gastroscope.html内のセクション背景色調整
// =============================================== */
.gastroscope-page .related-plan-section {
  background-color: #ffffff;
}
.gastroscope-page .precautions-section {
  background-color: #f7f9fc;
}

/* ===============================================
// abc.html内のセクション背景色調整
// =============================================== */
.abc-page .summary-section {
  background-color: #f7f9fc;
}
.abc-page .related-plan-section {
  background-color: #ffffff;
}

/* ===============================================
// colonoscopy.html内のセクション背景色調整
// =============================================== */
.gastroscope-page .related-plan-section {
  background-color: #ffffff;
}
.gastroscope-page .precautions-section {
  background-color: #f7f9fc;
}

/* ===============================================
// UGI Page (胃バリウム検査ページ) 専用のスタイル
// =============================================== */
.safety-info-section {
  padding: 120px 0;
  background-color: #f7f9fc;
  text-align: center;
}
.safety-info-section .safety-content-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
  text-align: left;
}
.safety-info-section .safety-images {
  flex: 1;
  display: flex;
  gap: 15px;
}
.safety-info-section .safety-images img {
  width: 50%;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  height: 300px;
  -o-object-fit: cover;
     object-fit: cover;
}
.safety-info-section .safety-text {
  flex: 1.2;
}
.safety-info-section .safety-text p {
  line-height: 2;
  margin-bottom: 1.5em;
}
.safety-info-section .safety-text p:last-child {
  margin-bottom: 0;
}
.safety-info-section .safety-text a {
  color: #1F286F;
  font-weight: bold;
  text-decoration: none;
}
.safety-info-section .safety-text a:hover {
  text-decoration: underline;
}
@media (max-width: 768px) {
  .safety-info-section {
    padding: 80px 0;
  }
  .safety-info-section .safety-content-wrapper {
    flex-direction: column;
  }
}

/* ===============================================
// Metabolic Page Specific Sections
// =============================================== */
.metabolic-criteria-section {
  padding: 120px 0;
  background-color: #f7f9fc;
  text-align: center;
}
.metabolic-criteria-section .criteria-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}
.metabolic-criteria-section .criteria-box {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  padding: 25px;
}
.metabolic-criteria-section .criteria-box.essential {
  flex-basis: 300px;
  border: 2px solid #1F286F;
}
.metabolic-criteria-section .criteria-box.optional {
  flex-basis: 600px;
  border: 2px dashed #aaa;
}
.metabolic-criteria-section .criteria-title {
  font-size: 20px;
  font-weight: bold;
  color: #1F286F;
  padding-bottom: 15px;
  margin-bottom: 20px;
  border-bottom: 1px solid #eee;
  line-height: 1.5;
}
.metabolic-criteria-section .criteria-content p {
  font-size: 16px;
  margin-bottom: 10px;
}
.metabolic-criteria-section .criteria-content .criteria-value {
  font-size: 22px;
  font-weight: bold;
  color: #d9534f;
  line-height: 1.4;
}
.metabolic-criteria-section .criteria-content-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}
.metabolic-criteria-section .criteria-item {
  padding: 15px;
  border-right: 1px dashed #ccc;
}
.metabolic-criteria-section .criteria-item:last-child {
  border-right: none;
}
.metabolic-criteria-section .criteria-item p {
  font-size: 15px;
  margin-bottom: 10px;
  font-weight: bold;
}
.metabolic-criteria-section .criteria-item .criteria-value {
  font-size: 16px;
  font-weight: normal;
  line-height: 1.6;
}
.metabolic-criteria-section .criteria-plus {
  font-size: 40px;
  color: #1F286F;
}
.metabolic-criteria-section .criteria-flow-image {
  display: block;
  max-width: 600px;
  width: 100%;
  margin: 40px auto 0;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}
@media (max-width: 992px) {
  .metabolic-criteria-section .criteria-wrapper {
    flex-direction: column;
  }
  .metabolic-criteria-section .criteria-plus {
    transform: rotate(90deg);
  }
  .metabolic-criteria-section .criteria-box.optional {
    width: 100%;
    max-width: 600px;
  }
}
@media (max-width: 768px) {
  .metabolic-criteria-section {
    padding: 80px 0;
  }
  .metabolic-criteria-section .criteria-content-grid {
    grid-template-columns: 1fr;
  }
  .metabolic-criteria-section .criteria-item {
    border-right: none;
    border-bottom: 1px dashed #ccc;
  }
  .metabolic-criteria-section .criteria-item:last-child {
    border-bottom: none;
  }
}

.lifestyle-improvement-section {
  padding: 120px 0;
  text-align: center;
  background-color: #fff;
}
.lifestyle-improvement-section .improvement-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}
.lifestyle-improvement-section .improvement-card {
  padding: 30px;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
}
.lifestyle-improvement-section .improvement-icon {
  font-size: 40px;
  color: #1F286F;
  margin-bottom: 20px;
}
.lifestyle-improvement-section h3 {
  font-size: 20px;
  font-weight: bold;
  color: #1F286F;
  margin-bottom: 15px;
}
.lifestyle-improvement-section p {
  font-size: 15px;
  line-height: 1.8;
  text-align: left;
}
@media (max-width: 768px) {
  .lifestyle-improvement-section {
    padding: 80px 0;
  }
}

.metabolic-page .page-header {
  background-image: url("../img/images/p11.png");
  background-position: center 40%;
}

/* ===============================================
// Notes Page Sections
// =============================================== */
.notes-section {
  padding: 120px 0;
  background-color: #ffffff;
}
.notes-section .notes-block {
  margin-bottom: 60px;
}
.notes-section .notes-block:last-child {
  margin-bottom: 0;
}
.notes-section .notes-title {
  font-size: 24px;
  font-weight: bold;
  color: #1F286F;
  border-bottom: 2px solid #1F286F;
  padding-bottom: 15px;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
}
.notes-section .notes-title i {
  margin-right: 15px;
  font-size: 1.2em;
}
.notes-section .notes-box {
  background-color: #f7f9fc;
  border-radius: 8px;
  padding: 30px;
}
.notes-section .notes-box p {
  font-size: 16px;
  line-height: 2;
  margin-bottom: 1.5em;
}
.notes-section .notes-box p:last-of-type {
  margin-bottom: 0;
}
.notes-section .notes-box h3 {
  font-size: 18px;
  font-weight: bold;
  color: #1F286F;
  margin-top: 20px;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid #ddd;
}
.notes-section .notes-box ul, .notes-section .notes-box ol {
  padding-left: 20px;
  margin-bottom: 1.5em;
}
.notes-section .notes-box ul {
  list-style: disc;
}
.notes-section .notes-box ol {
  list-style: decimal;
}
.notes-section .notes-box li {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 10px;
}
.notes-section .notes-box li b {
  font-weight: bold;
}
.notes-section .notes-subsection {
  border: 1px solid #ddd;
  border-radius: 5px;
  padding: 20px;
  background-color: #fff;
  margin-bottom: 20px;
}
.notes-section .notes-subsection:last-child {
  margin-bottom: 0;
}
.notes-section .notes-subtitle {
  font-size: 18px;
  font-weight: bold;
  color: #141a47;
  margin-bottom: 15px;
  padding-left: 10px;
  border-left: 4px solid #141a47;
}
.notes-section .notes-inner-box {
  margin-bottom: 20px;
}
.notes-section .notes-inner-box:last-child {
  margin-bottom: 0;
}
.notes-section .notes-time-header {
  background-color: #1F286F;
  color: #FFFFFF;
  font-weight: bold;
  font-size: 16px;
  padding: 12px 20px;
  border-radius: 5px;
  margin-bottom: 15px;
}
.notes-section .meal-examples {
  border: 2px dotted #ccc;
  border-radius: 5px;
  padding: 20px;
  margin-top: 20px;
}
.notes-section .meal-examples .example-title {
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
}
.notes-section .meal-examples ol {
  list-style: none;
  padding-left: 0;
}
.notes-section .meal-examples ol li {
  font-size: 15px;
  line-height: 1.8;
  border-top: 1px solid #eee;
  padding: 10px 0;
}
.notes-section .meal-examples ol li:first-child {
  border-top: none;
}
.notes-section .meal-examples ol li span {
  font-size: 13px;
  color: #666;
  padding-left: 1.5em;
}
.notes-section .common-precautions-list {
  list-style: none;
  padding-left: 0;
  margin-top: 15px;
}
.notes-section .common-precautions-list li {
  position: relative;
  padding-left: 1.2em;
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 1em;
}
.notes-section .common-precautions-list li::before {
  content: "■";
  position: absolute;
  left: 0;
  top: 0.1em;
  color: #1F286F;
  font-size: 0.8em;
}
.notes-section .company-header-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
}
.notes-section .company-header-block img {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.notes-section .company-header-block .section-title {
  text-align: center;
  font-size: 28px;
  margin-bottom: 0;
  border-bottom: none;
}
.notes-section .company-box {
  text-align: center;
}
.notes-section .company-box h3 {
  text-align: left;
  border-bottom: none;
}
.notes-section .company-box p {
  text-align: left;
}
.notes-section .company-box .company-phone-number {
  font-size: 24px;
  font-weight: bold;
  color: #1F286F;
  text-align: center;
}
.notes-section .company-box p:has(+ .company-form-btn) {
  margin-bottom: 20px;
}
.notes-section .company-box .company-form-btn {
  width: auto;
  max-width: 400px;
  border-radius: 5px;
  padding: 15px 30px;
}
.notes-section .contact-option-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 30px;
}
.notes-section .contact-option-box {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 25px;
  background-color: #fff;
}
.notes-section .contact-option-box h3 {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.notes-section .contact-option-box h3 i {
  margin-right: 8px;
}
.notes-section .contact-option-box .company-phone-number {
  margin-bottom: 0.5em;
}
.notes-section .contact-option-box .company-form-btn {
  margin-top: 10px;
}
@media (max-width: 768px) {
  .notes-section {
    padding: 80px 0;
  }
  .notes-section .notes-title {
    font-size: 20px;
  }
  .notes-section .notes-box {
    padding: 20px;
  }
  .notes-section .contact-option-wrapper {
    grid-template-columns: 1fr;
  }
  .notes-section .company-box .company-form-btn {
    white-space: normal;
    padding: 15px 10px;
  }
}

.notes-page .page-header {
  background-image: url("../img/notes-h.png");
}

/* ===============================================
// Course Page
// =============================================== */
.course-attention-section {
  padding: 60px 0 0;
  background-color: #fff;
}
.course-attention-section .attention-box {
  margin-top: 0;
  margin-bottom: 0;
}

.course-page .page-header {
  background-image: url("../img/head-d.png");
}

.toc-section {
  padding: 40px 0;
  background-color: #fff;
}
.toc-section .toc-title {
  font-size: 20px;
  font-weight: bold;
  color: #1F286F;
  text-align: center;
  margin-bottom: 30px;
}
.toc-section .toc-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 900px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px 30px;
}
.toc-section .toc-list li a {
  display: block;
  padding: 12px 20px 12px 35px;
  text-decoration: none;
  color: #1F286F;
  font-weight: bold;
  position: relative;
  transition: all 0.3s ease;
  border: 1px solid #ddd;
  border-radius: 50px;
}
.toc-section .toc-list li a::before {
  content: "✓";
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #007bff;
  font-weight: bold;
}
.toc-section .toc-list li a:hover {
  background-color: #F3F4FF;
  border-color: #1F286F;
}
@media (max-width: 768px) {
  .toc-section {
    padding: 40px 0 30px;
  }
  .toc-section .toc-list {
    grid-template-columns: 1fr;
  }
  .toc-section .toc-list li a {
    font-size: 14px;
    padding: 10px 15px 10px 30px;
  }
}

.course-section {
  padding: 40px 0 120px;
  background-color: #fff;
}

.course-grid2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.course-card {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.07);
  /* overflow: hidden; */
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e0e0e0;
  scroll-margin-top: 150px; /* ▼▼▼ 修正 ▼▼▼ */
}
.course-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.course-card-image {
  width: 100%;
  height: 220px;
  overflow: hidden;
}
.course-card-image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.4s ease;
}
.course-card-image:hover img {
  transform: scale(1.05);
}

.course-card-body {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.course-card-catchphrase {
  font-size: 14px;
  font-weight: bold;
  color: #1F286F;
  background-color: #F3F4FF;
  padding: 5px 10px;
  border-radius: 5px;
  display: inline-block;
  margin-bottom: 15px;
}

.course-card-title {
  font-size: 22px;
  font-weight: bold;
  color: #1F286F;
  font-family: "Zen Maru Gothic";
  margin-bottom: 10px;
  line-height: 1.4;
}

.course-card-price {
  font-size: 28px;
  font-weight: bold;
  color: #d9534f;
  margin-bottom: 15px;
  line-height: 1.2;
  text-align: right;
  padding-right: 10px;
}

.course-card-description {
  font-size: 15px;
  line-height: 1.8;
  color: #414141;
  flex-grow: 1;
  margin-bottom: 20px;
}

.course-card-recommend {
  background-color: #f7f9fc;
  border-radius: 5px;
  padding: 15px;
  margin-bottom: 20px;
}
.course-card-recommend h4 {
  font-size: 16px;
  font-weight: bold;
  color: #141a47;
  margin-bottom: 10px;
  text-align: center;
}
.course-card-recommend ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.course-card-recommend ul li {
  font-size: 14px;
  line-height: 1.7;
  position: relative;
  padding-left: 1.2em;
  margin-bottom: 5px;
}
.course-card-recommend ul li::before {
  content: "★";
  position: absolute;
  left: 0;
  color: #ffd700;
}

.course-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.course-card-tag {
  background-color: #1F286F;
  color: #FFFFFF;
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 20px;
  white-space: nowrap;
  position: relative;
  cursor: pointer;
}
.course-card-tag::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.85);
  color: #fff;
  padding: 8px 12px;
  border-radius: 5px;
  font-size: 12px;
  white-space: normal;
  text-align: left;
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  max-width: 280px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 10;
  pointer-events: none;
}
.course-card-tag:hover::after {
  opacity: 1;
  visibility: visible;
}

.course-card-footer {
  padding: 0 25px 25px;
  margin-top: 20px;
  text-align: center;
}
.course-card-footer .btn-detail {
  width: 180px;
  display: inline-block;
  padding: 12px 15px;
  border: 2px solid #1F286F;
  color: #1F286F;
  text-decoration: none;
  border-radius: 40px 0 0 0;
  transition: all 0.3s ease;
  font-weight: bold;
  background-color: transparent;
}
.course-card-footer .btn-detail:hover {
  background-color: #1F286F;
  color: #fff;
}

@media (max-width: 992px) {
  .course-grid2 {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}
@media (max-width: 768px) {
  .course-section {
    padding: 40px 0 80px;
  }
  .course-card-title {
    font-size: 20px;
  }
  .course-card-price {
    font-size: 24px;
  }
  /* ▼▼▼ 修正 ▼▼▼ */
  .course-card {
    scroll-margin-top: 120px;
  }
}
/* ===============================================
// Course2 Page
// =============================================== */
.course2-page .page-header {
  background-image: url("../img/head-hc.png");
}

.precautions-hub-section {
  padding: 80px 0;
  background-color: #f7f9fc;
}
.precautions-hub-section .container {
  max-width: 1080px;
  background-color: #fff;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.precautions-hub-title {
  font-size: 24px;
  font-weight: bold;
  color: #1F286F;
  text-align: center;
  margin-bottom: 25px;
  border-bottom: 2px solid #1F286F;
  padding-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.precautions-hub-title i {
  font-size: 1.1em;
  margin-right: 10px;
  color: #856404;
}

.precautions-intro,
.precautions-outro {
  font-size: 16px;
  line-height: 2;
  margin-bottom: 40px;
}

.precautions-outro {
  margin-top: 40px;
  font-size: 14px;
}

.precautions-subtitle {
  font-size: 22px;
  font-weight: bold;
  color: #1F286F;
  padding-left: 15px;
  border-left: 5px solid #1F286F;
  margin-bottom: 25px;
}

.precautions-link-list {
  border-top: 1px solid #ddd;
}

.precaution-link-item {
  display: flex;
  align-items: center;
  padding: 20px;
  text-decoration: none;
  background-color: #fff;
  border-bottom: 1px solid #ddd;
  transition: background-color 0.3s;
}
.precaution-link-item:hover {
  background-color: #f7f9fc;
}
.precaution-link-item i {
  font-size: 20px;
  color: #aaa;
  margin-right: 15px;
}
.precaution-link-item span {
  font-size: 16px;
  font-weight: bold;
  color: #1F286F;
  text-decoration: underline;
}

.toc-section-course2 {
  padding: 40px 0;
  background-color: #fff;
  border-bottom: 1px solid #eee;
}
.toc-section-course2 .container {
  max-width: 1080px;
}
.toc-section-course2 .toc-list-course2 {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 15px;
}
.toc-section-course2 .toc-list-course2 li {
  flex: 1;
}
.toc-section-course2 .toc-list-course2 li a {
  display: block;
  padding: 10px 25px;
  text-decoration: none;
  color: #1F286F;
  font-weight: bold;
  border: 1px solid #ddd;
  border-radius: 30px;
  background-color: #fff;
  transition: all 0.3s ease;
  white-space: nowrap;
  text-align: center;
}
.toc-section-course2 .toc-list-course2 li a:hover {
  background-color: #F3F4FF;
  border-color: #1F286F;
}
@media (max-width: 768px) {
  .toc-section-course2 .toc-list-course2 {
    flex-direction: column;
    align-items: stretch;
  }
}

.course2-section {
  padding: 60px 0 120px;
  background-color: #fff;
}
.course2-section .container {
  max-width: 1080px;
}

.course-block {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  margin-bottom: 50px;
}
.course-block:last-child {
  margin-bottom: 0;
}

.course-block-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #1F286F;
  color: #FFFFFF;
  padding: 20px 25px;
  border-radius: 8px 8px 0 0;
}

.course-block-title {
  font-size: 24px;
  font-weight: bold;
  font-family: "Zen Maru Gothic";
  scroll-margin-top: 150px;
}

.course-block-price {
  font-size: 28px;
  font-weight: bold;
  color: #ffd700;
  text-align: right;
  flex-shrink: 0;
}
.course-block-price span {
  font-size: 14px;
  font-weight: normal;
  color: #fff;
}

.course-block-price-group .course-block-price {
  font-size: 18px;
  margin-bottom: 5px;
}
.course-block-price-group .course-block-price:last-child {
  margin-bottom: 0;
}

.course-block-body {
  display: flex;
  padding: 25px;
  gap: 25px;
}

.course-block-main-content {
  flex: 2;
}

.course-block-side-content {
  flex: 1;
  background-color: #f7f9fc;
  padding: 20px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
}
.course-block-side-content p {
  margin-bottom: 1.5em;
  font-size: 15px;
  line-height: 1.8;
}
.course-block-side-content .note {
  font-size: 13px;
  margin-top: auto;
}
.course-block-side-content .btn-detail {
  width: 100%;
  display: block;
  text-align: center;
  margin-top: 20px;
  padding: 12px 15px;
  border: 2px solid #1F286F;
  color: #1F286F;
  text-decoration: none;
  border-radius: 40px 0 0 0;
  transition: all 0.3s ease;
  font-weight: bold;
  background-color: transparent;
}
.course-block-side-content .btn-detail:hover {
  background-color: #1F286F;
  color: #fff;
}

.course-block-image {
  flex: 0 0 200px;
}
.course-block-image img {
  width: 100%;
  height: auto;
  border-radius: 5px;
}

.course-block-content {
  flex: 1;
}

.course-tab-nav {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  border-bottom: 1px solid #ddd;
}
.course-tab-nav li {
  flex: 1 1 0;
}
.course-tab-nav .course-tab-btn {
  width: 100%;
  padding: 15px 10px;
  border: none;
  background-color: #f7f9fc;
  cursor: pointer;
  font-size: 15px;
  font-weight: bold;
  color: #666;
  transition: all 0.3s ease;
  border-right: 1px solid #ddd;
}
.course-tab-nav .course-tab-btn:last-child {
  border-right: none;
}
.course-tab-nav .course-tab-btn.is-active {
  background-color: #fff;
  color: #1F286F;
  position: relative;
}
.course-tab-nav .course-tab-btn.is-active::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: #1F286F;
}
.course-tab-nav .course-tab-btn:hover:not(.is-active) {
  background-color: #e9ecef;
}

.course-tab-content {
  padding: 25px 0 0;
  line-height: 1.8;
}
.course-tab-content .tab-pane {
  display: none;
}
.course-tab-content .tab-pane.is-active {
  display: block;
}
.course-tab-content .tab-pane h4 {
  font-size: 18px;
  font-weight: bold;
  color: #141a47;
  margin-bottom: 15px;
  padding-left: 10px;
  border-left: 4px solid #141a47;
}
.course-tab-content .tab-pane p {
  margin-bottom: 1em;
}

.course-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  margin-top: 20px;
}
.course-table th, .course-table td {
  border: 1px solid #e0e0e0;
  padding: 12px 15px;
  text-align: center;
  vertical-align: middle;
}
.course-table thead th {
  background-color: #F3F4FF;
  font-weight: bold;
}
.course-table tbody th {
  font-weight: bold;
  text-align: left;
  background-color: #f9f9f9;
  width: 30%;
}
.course-table tbody td {
  font-family: sans-serif;
}

.item-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.item-list li {
  padding: 8px 0;
  border-bottom: 1px dotted #ccc;
}
.item-list li:first-child {
  padding-top: 0;
}
.item-list li:last-child {
  border-bottom: none;
}

.item-list-sub {
  list-style: none;
  padding: 10px 0 0 20px;
  margin: 0;
}
.item-list-sub li {
  font-size: 14px;
  padding: 5px 0;
  border: none;
}

.course-block-body-special {
  display: flex;
  gap: 30px;
  padding: 25px;
}

.shibuya-intro {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
}
.shibuya-intro img {
  width: 150px;
  height: auto;
  flex-shrink: 0;
}
.shibuya-intro h3 {
  font-size: 18px;
  font-weight: bold;
  color: #1F286F;
  border-bottom: 2px solid #F3F4FF;
  padding-bottom: 10px;
  margin-bottom: 10px;
}

.shibuya-section {
  margin-bottom: 30px;
}
.shibuya-section h4 {
  font-size: 16px;
  font-weight: bold;
  color: #141a47;
  padding-left: 10px;
  border-left: 4px solid #141a47;
  margin-bottom: 15px;
}
.shibuya-section ol {
  list-style: none;
  padding-left: 0;
}
.shibuya-section ol li {
  padding: 8px 0;
  border-bottom: 1px dotted #ccc;
}
.shibuya-section .note {
  font-size: 13px;
  margin-top: 10px;
}

.shibuya-notes {
  list-style: none;
  padding-left: 0;
}
.shibuya-notes li {
  position: relative;
  padding-left: 1.5em;
  margin-bottom: 1em;
}
.shibuya-notes li::before {
  content: "★";
  color: #d9534f;
  position: absolute;
  left: 0;
}

.shibuya-ticket-box {
  border: 3px solid #1F286F;
  background-color: #fff;
  padding: 15px;
  text-align: center;
  margin-bottom: 20px;
}
.shibuya-ticket-box h4 {
  font-size: 20px;
  font-weight: bold;
  color: #1F286F;
}
.shibuya-ticket-box h4 span {
  display: block;
  font-size: 24px;
}

.price-box {
  border: 1px solid #ddd;
  border-radius: 8px;
  margin-bottom: 15px;
  text-align: center;
}
.price-box .price-label {
  font-size: 16px;
  font-weight: bold;
  padding: 8px;
  background-color: #F3F4FF;
  border-bottom: 1px solid #ddd;
  margin-bottom: 0;
}
.price-box .price-value {
  font-size: 24px;
  font-weight: bold;
  color: #d9534f;
  padding: 10px;
  margin-bottom: 0;
}
.price-box .price-value span {
  font-size: 14px;
  color: #666;
}

@media (max-width: 768px) {
  .course-block-header {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  .course-block-title {
    font-size: 20px;
  }
  .course-block-price {
    font-size: 24px;
    text-align: center;
  }
  .course-block-body, .course-block-body-special {
    flex-direction: column;
  }
  .course-block-image {
    flex-basis: auto;
    max-width: 250px;
    margin: 0 auto;
  }
  .course-tab-nav {
    flex-direction: column;
  }
  .course-tab-nav .course-tab-btn {
    border-right: none;
    border-bottom: 1px solid #ddd;
  }
  .course-tab-nav .course-tab-btn.is-active {
    border-bottom: 3px solid #1F286F;
  }
}
/* ===============================================
// Plan Page
// =============================================== */
.plan-page .page-header {
  background-image: url("../img/head-d.png");
}

.plan-section {
  padding: 80px 0;
  background-color: #f7f9fc;
}

.plan-header {
  display: flex;
  gap: 40px;
  background-color: #fff;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  margin-bottom: 0;
}

.plan-header-cta {
  background-color: #fff;
  padding: 30px 40px;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  margin-bottom: 50px;
  text-align: center;
  border-top: 1px solid #eee;
}
.plan-header-cta .btn-cta {
  width: 100%;
  max-width: 480px;
}

.plan-header-main {
  flex: 2;
  min-width: 0;
}

.plan-header-side {
  flex: 1;
  min-width: 300px;
}

.plan-title {
  font-size: 32px;
  font-weight: bold;
  color: #1F286F;
  line-height: 1.4;
  font-family: "Zen Maru Gothic";
  border-bottom: 2px solid #F3F4FF;
  padding-bottom: 15px;
  margin-bottom: 15px;
}

.plan-catchphrase {
  font-size: 18px;
  font-weight: bold;
  color: #141a47;
  margin-bottom: 20px;
}

.plan-description {
  font-size: 16px;
  line-height: 2;
}

.plan-body {
  background-color: #fff;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.plan-point-box, .plan-detail-box, .plan-notes-box, .plan-option-box {
  margin-bottom: 50px;
}
.plan-point-box:last-child, .plan-detail-box:last-child, .plan-notes-box:last-child, .plan-option-box:last-child {
  margin-bottom: 0;
}
.plan-point-box h3, .plan-detail-box h3, .plan-notes-box h3, .plan-option-box h3 {
  font-size: 22px;
  font-weight: bold;
  color: #1F286F;
  padding-left: 15px;
  border-left: 5px solid #1F286F;
  margin-bottom: 25px;
}

.plan-detail-box p {
  line-height: 2;
  margin-bottom: 1em;
}
.plan-detail-box p:last-of-type {
  margin-bottom: 0;
}

.plan-content-block {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 50px;
}
.plan-content-block.-reverse {
  flex-direction: row-reverse;
}
.plan-content-block .plan-content-text {
  flex: 1.2;
}
.plan-content-block .plan-content-image {
  flex: 1;
}
.plan-content-block .plan-content-image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.plan-point-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.plan-point-box ul li {
  font-size: 16px;
  line-height: 1.7;
  position: relative;
  padding-left: 1.5em;
  margin-bottom: 10px;
}
.plan-point-box ul li::before {
  content: "★";
  position: absolute;
  left: 0;
  color: #ffd700;
}

.plan-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  margin-bottom: 50px;
}
.plan-table th, .plan-table td {
  border: 1px solid #e0e0e0;
  padding: 15px;
  text-align: left;
  vertical-align: top;
}
.plan-table th {
  background-color: #f7f9fc;
  font-weight: bold;
  width: 25%;
}
.plan-table .sub-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.plan-table .sub-list li {
  font-size: 14px;
  margin-bottom: 5px;
  line-height: 1.7;
}

.price-box, .time-box {
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  margin-bottom: 15px;
  background-color: #fff;
}

.price-box:last-child, .time-box:last-child {
  margin-bottom: 0;
}

.price-box {
  border: 2px solid #d9534f;
  background-color: #fff8f8;
}

.price-value {
  font-size: 40px;
  font-weight: bold;
  color: #d9534f;
  line-height: 1;
}
.price-value span {
  font-size: 16px;
  color: #666;
  margin-left: 5px;
}

.time-box {
  border: 1px solid #ddd;
}

.time-value {
  font-size: 22px;
  font-weight: bold;
  color: #1F286F;
}
.time-value i {
  margin-right: 8px;
}

.plan-cta-box {
  padding: 40px 0;
  margin-bottom: 50px;
  text-align: center;
  border-top: 1px dashed #ccc;
  border-bottom: 1px dashed #ccc;
}
.plan-cta-box .btn-cta {
  max-width: 400px;
}

.plan-cta-section {
  padding: 80px 0;
  background-color: #fff;
}

.cta-box {
  background-color: #F3F4FF;
  border: 2px solid #1F286F;
  border-radius: 10px;
  padding: 40px;
  text-align: center;
}

.cta-message {
  font-size: 20px;
  font-weight: bold;
  line-height: 1.8;
  margin-bottom: 25px;
}

.btn-cta.btn-primary {
  font-size: 20px;
  padding: 18px 15px;
  width: 100%;
  max-width: 400px;
}

.phone-booking {
  font-size: 14px;
  line-height: 1.6;
  margin-top: 25px;
  margin-bottom: 5px;
}

.phone-number {
  font-size: 24px;
  font-weight: bold;
  color: #1F286F;
}
.phone-number i {
  margin-right: 5px;
}

.plan-notes-box {
  margin-bottom: 0;
}

.notes-top-alert {
  padding: 12px 15px;
  background-color: #fff8e1;
  border: 1px solid #ffc107;
  border-radius: 5px;
  font-weight: bold;
  color: #6d4c41;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  font-size: 16px;
}
.notes-top-alert i {
  margin-right: 10px;
  color: #ffc107;
}

.notes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.note-item, .note-item-full {
  background-color: #fdfdfd;
  border: 1px solid #eee;
  padding: 25px;
  border-radius: 8px;
  font-size: 15px;
  line-height: 1.8;
}
.note-item h4, .note-item-full h4 {
  font-size: 18px;
  font-weight: bold;
  color: #141a47;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}
.note-item h4 i, .note-item-full h4 i {
  margin-right: 10px;
  font-size: 1.2em;
}
.note-item p, .note-item-full p {
  margin-bottom: 1em;
}
.note-item p:last-child, .note-item-full p:last-child {
  margin-bottom: 0;
}

.note-item-full {
  grid-column: 1/-1;
}

.note-subsection {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px dashed #ddd;
}
.note-subsection:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}
.note-subsection h5 {
  font-weight: bold;
  margin-bottom: 10px;
}

.meal-examples {
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  padding: 15px;
  margin-top: 15px;
  background-color: #fff;
}
.meal-examples .example-title {
  font-weight: bold;
  text-align: center;
  margin-bottom: 10px;
}
.meal-examples ol {
  padding-left: 20px;
  list-style-type: decimal;
}
.meal-examples ol li {
  margin-bottom: 8px;
}

.accordion {
  border-bottom: 1px solid #e0e0e0;
}
.accordion:first-of-type {
  border-top: 1px solid #e0e0e0;
}

.accordion-header {
  width: 100%;
  background-color: #fff;
  border: none;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  cursor: pointer;
  text-align: left;
  transition: background-color 0.3s;
}
.accordion-header:hover {
  background-color: #f7f9fc;
}
.accordion-header::after {
  content: "+";
  font-size: 24px;
  font-weight: bold;
  color: #1F286F;
  transition: transform 0.3s;
  margin-left: 20px;
}
.accordion-header.is-active::after {
  transform: rotate(45deg);
}

.accordion-title {
  font-size: 16px;
  font-weight: bold;
  color: #414141;
  flex-grow: 1;
  margin-right: 20px;
}

.accordion-price {
  font-size: 16px;
  font-weight: bold;
  color: #1F286F;
  flex-shrink: 0;
  min-width: 130px;
  text-align: right;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  background-color: #f7f9fc;
}
.accordion-content p {
  padding: 0px 20px 20px 20px;
  font-size: 15px;
  line-height: 1.8;
}

@media (max-width: 992px) {
  .plan-header {
    flex-direction: column;
  }
}
@media (max-width: 768px) {
  .plan-section {
    padding: 40px 0;
  }
  .plan-header, .plan-body {
    padding: 25px;
  }
  .plan-header-cta {
    padding: 25px;
  }
  .plan-title {
    font-size: 26px;
  }
  .cta-message {
    font-size: 18px;
  }
  .btn-cta,
.plan-cta-box .btn-cta {
    font-size: 18px;
    padding: 15px;
  }
  .plan-content-block {
    flex-direction: column !important;
  }
  .notes-grid {
    grid-template-columns: 1fr;
  }
  .accordion-header {
    flex-wrap: wrap;
    padding: 15px;
  }
  .accordion-title {
    flex-basis: 100%;
    margin-bottom: 8px;
    margin-right: 0;
  }
  .accordion-price {
    flex-basis: 100%;
    text-align: right;
    min-width: auto;
  }
}
/* ===============================================
// よく見られてる健診コース
// =============================================== */
.related-courses-section {
  padding: 80px 0;
  background-color: #FFFFFF;
}

.related-courses-title {
  display: inline-block;
  background-color: #1F286F;
  color: #fff;
  padding: 10px 30px 10px 40px;
  font-size: 20px;
  font-weight: bold;
  border-radius: 5px;
  position: relative;
  margin-bottom: 30px;
}
.related-courses-title::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 15px;
  width: 12px;
  height: 12px;
  background-color: #fff;
  border-radius: 50%;
  transform: translateY(-50%);
}

.related-courses-list {
  background-color: #F3F4FF;
  border: 2px solid #1F286F;
  border-radius: 20px;
  padding: 20px 30px;
}
.related-courses-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.related-courses-list li {
  border-bottom: 1px dashed #c0c5ff;
}
.related-courses-list li:last-child {
  border-bottom: none;
}
.related-courses-list a {
  display: flex;
  align-items: center;
  padding: 15px 10px;
  text-decoration: none;
  color: #1F286F;
  font-size: 16px;
  font-weight: bold;
  transition: background-color 0.3s ease;
  min-height: 90px;
}
.related-courses-list a:hover {
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 8px;
}
.related-courses-list img {
  width: 50px;
  min-width: 50px;
  height: 50px;
  flex-shrink: 0;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 8px;
  margin-right: 20px;
  background-color: #FFFFFF;
  padding: 3px;
  border: 1px solid #ddd;
}

/* ===============================================
// Viewpoint Page
// =============================================== */
.viewpoint-page .search-box-wrapper {
  margin-bottom: 30px;
}
.viewpoint-page .search-input {
  width: 100%;
  padding: 15px;
  font-size: 16px;
  border-radius: 8px;
  border: 1px solid #ddd;
  box-sizing: border-box;
}
.viewpoint-page .search-input:placeholder {
  color: #aaa;
}
.viewpoint-page .result-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
  font-size: 14px;
}
.viewpoint-page .result-table th, .viewpoint-page .result-table td {
  border: 1px solid #e0e0e0;
  padding: 10px;
  text-align: left;
  vertical-align: middle;
}
.viewpoint-page .result-table th {
  background-color: #f7f9fc;
  font-weight: bold;
  width: 30%;
}
.viewpoint-page .result-table td {
  background-color: #fff;
}
.viewpoint-page .result-table .code-header {
  background-color: #1F286F;
  color: #FFFFFF;
  font-weight: bold;
  width: 100%;
}
.viewpoint-page .bethesda-table th, .viewpoint-page .bethesda-table td {
  width: auto;
}

/* ===============================================
// Question Page
// =============================================== */
.question-page .search-box-wrapper {
  margin-bottom: 30px;
}
.question-page .search-input {
  width: 100%;
  padding: 15px;
  font-size: 16px;
  border-radius: 8px;
  border: 1px solid #ddd;
  box-sizing: border-box;
}
.question-page .search-input:placeholder {
  color: #aaa;
}
.question-page .accordion-header .accordion-q {
  font-weight: bold;
  color: #1F286F;
  margin-right: 15px;
}
.question-page .accordion-content .accordion-a {
  font-weight: bold;
  color: #d9534f;
  margin-right: 15px;
}
.question-page .accordion-content p {
  display: flex;
}
.question-page .accordion-content .answer-text {
  flex: 1;
}

.flow-page-section {
  padding: 80px 0;
  background-color: #fff;
}

.flow-tab-nav {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0 auto 40px;
  border-bottom: 2px solid #ddd;
  max-width: 600px;
  justify-content: center;
}
.flow-tab-nav li {
  flex: 1;
  text-align: center;
}

.flow-tab-btn {
  width: 100%;
  padding: 15px 10px;
  border: none;
  background-color: transparent;
  cursor: pointer;
  font-size: 18px;
  font-weight: bold;
  color: #666;
  transition: all 0.3s ease;
  border-bottom: 3px solid transparent;
  position: relative;
  top: 2px;
}
.flow-tab-btn.is-active {
  color: #1F286F;
  border-bottom-color: #1F286F;
}
.flow-tab-btn:hover:not(.is-active) {
  color: #1F286F;
}

.flow-tab-content .tab-pane {
  display: none;
}
.flow-tab-content .tab-pane.is-active {
  display: block;
}

.article-nav-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  margin-top: 40px;
  border-top: 1px solid #eee;
}

.btn-article-nav {
  display: inline-block;
  padding: 10px 25px;
  border: 2px solid #1F286F;
  color: #1F286F;
  background-color: #fff;
  text-decoration: none;
  border-radius: 30px;
  font-weight: bold;
  font-size: 16px;
  transition: all 0.3s ease;
  text-align: center;
}
.btn-article-nav:hover {
  background-color: #1F286F;
  color: #fff;
}
.btn-article-nav .sp-text {
  display: none;
}
.btn-article-nav .pc-text {
  display: inline;
}

.article-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.article-list-item {
  display: flex;
  align-items: center;
  padding: 20px 15px;
  border-bottom: 1px solid #e0e0e0;
}
.article-list-item .article-icon {
  color: #1F286F;
  margin-right: 20px;
  font-size: 1.2em;
}
.article-list-item .article-date {
  color: #333;
  font-size: 16px;
  margin-right: 25px;
  width: 100px;
  flex-shrink: 0;
}
.article-list-item .article-title a {
  color: #1F286F;
  text-decoration: none;
  font-size: 17px;
}
.article-list-item .article-title a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .article-nav-links {
    flex-direction: column;
    gap: 10px;
  }
  .btn-article-nav {
    width: 100%;
    font-size: 15px;
    padding: 12px;
  }
  .btn-article-nav .sp-text {
    display: inline;
  }
  .btn-article-nav .pc-text {
    display: none;
  }
  .article-list-item {
    padding: 15px 5px;
  }
  .article-list-item .article-icon {
    margin-right: 15px;
  }
  .article-list-item .article-date {
    font-size: 14px;
    margin-right: 15px;
    width: 85px;
  }
  .article-list-item .article-title a {
    font-size: 15px;
  }
}
.notes-block .course-grid2 .btn {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 15px 10px;
}
.notes-block .related-plan-grid .btn-related-plan, .notes-block .related-plan-grid .btn-primary {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
/*# sourceMappingURL=style.css.map */