@charset "UTF-8";

html {
  scroll-behavior: smooth;
  font-size: 62.5%;
  overflow-x: hidden;
  overflow-y: auto;
}

body {
  line-height: 1;
  text-size-adjust: 100%;
  width: 100%;
  text-decoration: none;
  padding: 0;
  position: relative;
  overflow-wrap: break-word;
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN",
    "Hiragino Sans", "BIZ UDPGothic", Meiryo, sans-serif;
  color: #333;
}

* {
  float: none;
  position: static;
}

img {
  vertical-align: top;
  max-width: 100%;
}

li {
  list-style: none;
}

@media screen and (-webkit-min-device-pixel-ratio: 0) and (min-resolution: 0.001dpcm) {
  img {
    image-rendering: -webkit-optimize-contrast;
  }
}

p {
  font-size: clamp(14px, calc(13px + 0.25vw), 16px);
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
}

/* Header styles */
.sticky-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: white;
  border-bottom: 1px solid #e0e0e0;
}

.sticky-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 64px;
}

.logo img {
  height: 32px;
  width: auto;
}

.menu-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  border-radius: 50%;
  background-color: #00b300;
  color: white;
}

/* アイコンのスタイルを追加 */
[data-lucide] {
  width: 24px;
  height: 24px;
  stroke-width: 1.5;
  stroke: currentColor;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.menu-toggle [data-lucide],
.close-menu [data-lucide] {
  width: 28px;
  height: 28px;
}

.close-menu [data-lucide] {
  color: #00b300;
}

.stars [data-lucide] {
  width: 20px;
  height: 20px;
  fill: #ffc107;
  stroke: #ffc107;
}

.pain-point-card [data-lucide] {
  margin-right: 10px;
  color: #ff0000;
}

/* サイドメニューのスタイル */
.side-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 400px;
  height: 100vh;
  background-color: #00b300;
  transition: right 0.3s ease-in-out;
  z-index: 1001;
  overflow-y: auto;
  padding: 48px 24px 24px;
  color: white;
  box-sizing: border-box; /* ボックスモデルを調整 */
}

.side-menu.active {
  right: 0;
}

.close-menu {
  position: absolute;
  top: 12px;
  right: 12px;
  background: white;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.menu-content {
  display: flex;
  flex-direction: column;
}

.menu-items {
  flex-grow: 1;
}

.menu-item {
  border-radius: 8px;
  text-align: center;
  display: block;
  text-decoration: none;
  font-size: 18px;
  padding: 12px 0;
}

.submenu-title {
  display: block;
  margin-bottom: 8px;
}

.submenu-items {
  margin-left: 16px;
}

.submenu-item {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 14px;
}

.menu-images {
  margin-top: 8px;
}

.menu-banner {
  width: 100%;
  height: auto;
  margin-bottom: 16px;
  border-radius: 8px;
}

.menu-schedule {
  width: 100%;
  height: auto;
  margin-bottom: 16px;
}

.menu-footer {
  text-align: center;
  padding: 8px 0;
}

.clinic-name {
  font-weight: bold;
  margin-bottom: 8px;
}

.clinic-address {
  font-size: 14px;
  line-height: 1.4;
}

/* Main content styles */

.hero {
  position: relative;
}

.hero .pwrap {
  position: absolute;
  left: 8%;
  top: 50%;
  transform: translateY(-50%);
  font-weight: bold;
  -webkit-text-stroke: 6px white;
  paint-order: stroke;
}

.hero h4 {
  font-size: clamp(32px, calc(18px + 3.5000000000000004vw), 60px);
  font-weight: bold;
  color: #00b900;
  margin-bottom: 0.3em;
  line-height: 1.3;
}

.hero p {
  color: #ff7018;
  width: fit-content;
  font-size: clamp(24px, calc(12px + 3vw), 48px);
  font-weight: bold;
}

.hero-image {
  width: 100%;
  object-fit: cover;
  min-height: 304px;
  max-height: 80vh;
}

.banners {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(8px, calc(-36.800000000000004px + 6.4vw), 40px);
  margin: 0 4% clamp(16px, calc(-28.800000000000004px + 6.4vw), 48px);
}

.banner {
  width: 88%;
  max-width: 320px;
}

/* Reviews section */
.reviews {
  background-color: #f5f5f5;
  padding: 32px 0 40px;
}

.section-header {
  text-align: center;
}

.section-title-image {
  width: 84%;
  margin: 0 0 16px;
  max-width: 360px;
}

.review-card {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border: 1px solid #ccc; /* Optional: Add border for better visual separation */
  padding: 20px; /* Optional: Add padding for better spacing inside the card */
  box-sizing: border-box;
  width: 80%;
  margin: 16px auto 24px;
}

.stars {
  color: #ffc107;
  margin-bottom: 10px;
}

.review-text {
  font-size: 14px;
  flex-grow: 1;
}

.reviews-link {
  text-align: center;
  margin-top: 30px;
}

.reviews-link img {
  width: 72%;
  max-width: 320px;
}

/* Pain points section */
.pain-points {
  padding: 40px 0;
}

.pain-point-card {
  background-color: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease;
  display: flex;
  align-items: center;
  width: 80%;
  margin: 16px auto 24px;
}

.pain-point-card:hover {
  background-color: #fff5f5;
}

.pain-point-card p {
  display: flex;
  align-items: center;
  font-size: 16px;
  width: calc(100% - 34px);
}

/* Testimonials section */
.testimonials {
  background-color: #f5f5f5;
  padding: 40px 0 48px;
  overflow: hidden;
}

.loop_wraps {
  margin-top: 24px;
}

.infinite-slider {
  height: 250px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  transform: translate3d(0, 0, 0);
}

@media screen and (max-width: 780px) {
  .infinite-slider {
    height: 150px;
  }
}

.items {
  display: flex;
  width: 400%;
  height: 100%;
}

.infinite-slider1 .items,
.infinite-slider3 .items {
  animation: moveSlideshow 32s linear infinite;
}

.infinite-slider2 .items {
  animation: moveSlideshow 48s linear infinite reverse;
}

@keyframes moveSlideshow {
  100% {
    transform: translateX(-66.6666%);
  }
}

.item {
  width: 480px;
  height: 88%;
  background-position: center center;
  background-size: cover;
  margin-right: 8px; /* 代わりに余白を適用 */
}

.item-1 {
  background-image: url("/img/customers/1.JPG");
}
.item-2 {
  background-image: url("/img/customers/2.JPG");
}
.item-3 {
  background-image: url("/img/customers/3.JPG");
}
.item-4 {
  background-image: url("/img/customers/4.JPG");
}
.item-5 {
  background-image: url("/img/customers/5.JPG");
}
.item-6 {
  background-image: url("/img/customers/6.JPG");
}
.item-7 {
  background-image: url("/img/customers/7.JPG");
}
.item-8 {
  background-image: url("/img/customers/8.JPG");
}
.item-9 {
  background-image: url("/img/customers/9.JPG");
}
.item-10 {
  background-position: center 20%;
  background-image: url("/img/customers/10.JPG");
}
.item-11 {
  background-image: url("/img/customers/11.JPG");
}
.item-12 {
  background-image: url("/img/customers/12.JPG");
}
.item-13 {
  background-image: url("/img/customers/13.JPG");
}
.item-14 {
  background-image: url("/img/customers/14.JPG");
}
.item-15 {
  background-image: url("/img/customers/15.JPG");
}
.item-16 {
  background-image: url("/img/customers/16.JPG");
}
.item-17 {
  background-position: center 10%;
  background-image: url("/img/customers/17.JPG");
}
.item-18 {
  background-position: center top;
  background-image: url("/img/customers/18.JPG");
}
.item-19 {
  background-image: url("/img/customers/19.JPG");
  background-position: center top;
}
.item-20 {
  background-image: url("/img/customers/20.JPG");
  background-position: center 10%;
}
.item-21 {
  background-position: center 20%;
  background-image: url("/img/customers/21.JPG");
}
.item-22 {
  background-position: center 10%;
  background-image: url("/img/customers/22.JPG");
}
.item-23 {
  background-position: center 10%;
  background-image: url("/img/customers/23.JPG");
}

/* Features section */
.features {
  padding: 40px 0 48px;
}

.feature-card {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  width: 80%;
  margin: 16px auto 24px;
}

.feature-image img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.feature-image2 img {
  object-position: center 0%;
}

.feature-image4 img {
  object-fit: contain;
}

.feature-content {
  padding: 16px;
}

.feature-content h3 {
  font-size: 18px;
  margin-bottom: 4px;
  font-weight: bold;
  color: #333;
  line-height: 1.2;
}

/* Treatment menu section */
.treatment-menu {
  background-color: #f5f5f5;
  padding: 40px 0;
}

.menu-title {
  color: #333;
}

.menu-title p {
  text-align: center;
  font-size: 16px;
  margin-bottom: 4px;
}

.menu-title h2 {
  text-align: center;
  font-size: 24px;
  margin-bottom: 30px;
}

.menu-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.menu-item2 {
  width: 160px;
  height: 160px;
  border-radius: 9999px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  font-size: 18px;
  background-color: white;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
  margin-bottom: 16px;
}

.menu-icon {
  width: 72px;
  height: 72px;
  object-fit: contain;
  margin-bottom: 16px;
}

/* FAQ section */
.faq {
  padding: 48px;
}

.faq-title {
  text-align: center;
  font-size: clamp(24px, calc(20px + 1vw), 32px);
  margin-bottom: 24px;
}

.faq-list {
  max-width: 1200px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 20px;
}

.faq-item summary {
  font-weight: bold;
  cursor: pointer;
  padding: 10px;
  background-color: #f5f5f5;
  border-radius: 4px;
}

.faq-item p {
  padding: 10px;
  background-color: white;
  border-radius: 0 0 4px 4px;
}

/* Global Styles */

.faq .container {
  min-height: 0;
  display: inline-block;
  position: relative;
  left: 50%;
  transform: translate(-50%, 0);
  max-width: 600px;
}

@media (max-width: 550px) {
  .faq .container {
    box-sizing: border-box;
    transform: translate(0, 0);
    max-width: 100%;
    min-height: 100%;
    margin: 0;
    left: 0;
  }
}

.faq-list li {
  position: relative;
  padding: 16px 0px;
  border-bottom: 1px solid #e0e0e0;
}

.faq-list h2 {
  font-size: 15px;
  line-height: 34px;
  padding-right: 24px;
  line-height: 1.6;
  font-weight: 400;
  display: block;
  margin: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.faq-list li:hover h2 {
  text-decoration: underline;
}

.faq-list p {
  font-size: 13px;
  position: relative;
  overflow: hidden;
  transition: all 0.25s ease-in-out;
  opacity: 1;
  transform: translate(0, 0);
  margin-top: 14px;
  z-index: 2;
}

.faq-list li i {
  position: absolute;
  margin-top: 8px;
  right: 8px;
}

.faq-list li i:before,
.faq-list li i:after {
  content: "";
  transition: all 0.25s ease-in-out;
  position: absolute;
  background-color: #737373;
  width: 1.2px;
  height: 6px;
}

.faq-list li i:before {
  transform: translate(-2px, 0) rotate(45deg);
}

.faq-list li i:after {
  transform: translate(2px, 0) rotate(-45deg);
}

.faq-list li input[type="checkbox"] {
  position: absolute;
  cursor: pointer;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0;
}

.faq-list li input[type="checkbox"]:checked ~ p {
  margin-top: 0;
  max-height: 0;
  opacity: 0;
  transform: translate(0, 50%);
}

.faq-list li input[type="checkbox"]:checked ~ i:before {
  transform: translate(2px, 0) rotate(45deg);
}

.faq-list li input[type="checkbox"]:checked ~ i:after {
  transform: translate(-2px, 0) rotate(-45deg);
}

/* News section */
.news {
  padding: 40px 0;
}

.news-title {
  text-align: center;
  font-size: 24px;
  margin-bottom: 30px;
  color: #333;
}

.news-list {
  width: 88%;
  margin: auto;
  max-width: 600px;
}

.news-item {
  border-bottom: 1px solid #e0e0e0;
  padding: 16px 0 16px 8px;
}

.news-item time {
  color: #666;
  font-size: 14px;
}

.news-item h3 {
  margin-top: 12px;
  font-size: 16px;
}

.news-item a {
  color: #333;
  text-decoration: none;
}

.news-item a:hover {
  text-decoration: underline;
}

/* Access section */
.access {
  padding: 40px 0 32px;
  background-color: #f5f5f5;
}

.access-title {
  text-align: center;
  font-size: 24px;
  margin-bottom: 24px;
  color: #333;
}

.map-container {
  position: relative;
  width: 72%;
  max-width: 400px;
  margin: 0 auto 24px;
}

.map-container::before {
  content: "";
  display: block;
  padding-top: 56.25%; /* 16:9 のアスペクト比 */
}

.map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.access-info {
  text-align: center;
}

.phone-number {
  font-size: 16px;
  margin-top: 8px;
}

.phone-number-large {
  font-size: 24px;
  font-weight: bold;
}

/* Footer styles */
.site-footer {
  background-color: white;
  color: #333;
  padding: 32px 0 88px;
}

.footer-content {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
  flex-direction: column;
}

.footer-logo-image {
  height: 50px;
  margin-bottom: 16px;
  width: auto;
}

.footer-nav {
  display: flex;
  gap: 8px;
}

.footer-link {
  color: white;
  color: #333;
  text-decoration: none;
}

.footer-link:hover {
  text-decoration: underline;
}

.copyright {
  text-align: center;
  font-size: clamp(10px, calc(8px + 0.5vw), 14px);
}

/* Fixed bottom bar */
.fixed-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: white;
  display: flex;
  justify-content: space-between;
  gap: 2px;
  align-items: center;
  padding: 2px;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  transition: transform 0.4s ease, opacity 0.4s ease; /* ふわっとしたアニメーション */
}

.fixed-bottom-bar.hidden {
  transform: translateY(100%);
  opacity: 0; /* フェードアウト */
}

.bottom-bar-item {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 72px;
  font-size: 16px;
  text-align: center;
  line-height: 1.2;
}

.web-reservation {
  background-color: #ff7018;
  color: white;
}

.line-inquiry {
  background-color: #00b900;
  color: white;
}

.phone-call {
  background-color: #b0da1b;
  color: white;
}

.lucide {
  width: 24px;
  height: 24px;
  stroke-width: 1.5;
  stroke: currentColor;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .footer-nav {
    flex-direction: column;
    align-items: center;
  }
}

.flex {
  display: flex;
}

.items-center {
  align-items: center;
}

.justify-between {
  justify-content: space-between;
}

.h-16 {
  height: 4rem;
}

/* Button styles */
.rounded-full {
  border-radius: 9999px;
}

.bg-\[\#00b300\] {
  background-color: #00b300;
}

.hover\:bg-\[\#009a00\]:hover {
  background-color: #009a00;
}

.p-2 {
  padding: 0.5rem;
}
/* Image styles */
.w-auto {
  width: auto;
}

/* Breadcrumb styles */
.space-x-2 > * + * {
  margin-left: 0.5rem;
}

.text-sm {
  font-size: 0.875rem;
}

.hover\:underline:hover {
  text-decoration: underline;
}

.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.text-2xl {
  font-size: 1.5rem;
}

.font-normal {
  font-weight: 400;
}

.text-center {
  text-align: center;
}

/* Main content styles */
.flex-grow {
  flex-grow: 1;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.space-y-8 > * + * {
  margin-top: 2rem;
}

.text-xl {
  font-size: 1.25rem;
}

.font-light {
  font-weight: 300;
}

/* Footer styles */
.bg-gray-900 {
  background-color: #111827;
}

.pb-28 {
  padding-bottom: 7rem;
}

.relative {
  position: relative;
}

.z-20 {
  z-index: 20;
}

.md\:flex-row {
  flex-direction: row;
}

.space-y-4 > * + * {
  margin-top: 1rem;
}

.md\:space-y-0 > * + * {
  margin-top: 0;
}

.justify-center {
  justify-content: center;
}

.h-12 {
  height: 3rem;
}

.flex-wrap {
  flex-wrap: wrap;
}

.gap-4 {
  gap: 1rem;
}

.hover\:underline:hover {
  text-decoration: underline;
}

.mt-8 {
  margin-top: 2rem;
}

.text-white {
  color: white;
}

.btn2kuchikomi {
  width: fit-content;
  background: #00b900;
  margin: 24px auto 32px;
  color: white;
  padding: 16px 32px;
  border-radius: 9999px;
  font-size: 20px;
}

.btn2kuchikomi:hover {
  background: #009a00;
}

.flex-col {
  flex-direction: column;
}

.sticky {
  position: sticky;
}

.top-0 {
  top: 0;
}

.z-50 {
  z-index: 50;
}

.border-b {
  border-bottom: 1px solid #e5e7eb;
}

.breadcrumb {
  background-color: white;
  padding: 2rem 2rem;
  display: flex;
  flex-wrap: wrap; /* 横幅が狭い場合に折り返し */
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: clamp(12px, calc(10px + 0.5vw), 16px);
  line-height: 1.3;
}

.breadcrumb li {
  display: flex;
  align-items: center;
  white-space: nowrap; /* 通常は折り返さない */
}

.breadcrumb li:last-child {
  white-space: normal; /* タイトル部分は折り返し可能 */
  word-break: break-word; /* 長い単語でも改行 */
  overflow-wrap: break-word;
  display: block; /* タイトルのみブロック要素にする */
  max-width: 100%; /* 長すぎる場合は折り返す */
}

.pagetitle {
  background-color: #00b300;
  padding: 1.6em 0;
}

.pagetitle h1 {
  font-size: clamp(16px, calc(4.799999999999999px + 1.6vw), 24px);
  color: white;
  font-weight: bolder;
  text-align: center;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 4%;
  padding-left: 1rem;
  padding-right: 1rem;
}

.treatment-section .container {
  margin-top: 16px;
}

.treatment-section p {
  padding: 0 2rem 2.4rem;
}

.h-16 {
  height: 4rem;
}

.items-center {
  align-items: center;
}

.justify-between {
  justify-content: space-between;
}

.rounded-full {
  border-radius: 9999px;
}

.p-2 {
  padding: 0.5rem;
}

.text-white {
  color: white;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.flex-grow {
  flex-grow: 1;
}

.ctl-maincontent {
  flex-grow: 1;
  width: 92%;
  max-width: 800px;
  margin: 24px auto;
}

.ctl-maincontent section {
  margin-bottom: 32px;
  color: #333;
}

.ctl-maincontent h2 {
  font-weight: 400;
  border-bottom: #e5e7eb solid 1px;
  padding-bottom: 0.4em;
}

.ctl-maincontent p {
  padding-left: 1em;
  padding-right: 2em;
  font-size: clamp(12px, calc(6.3999999999999995px + 0.8vw), 16px);
}

.ctl-maincontent h3 {
  margin: 16px 0 8px;
  padding-left: 1rem;
  font-size: 1.3rem;
}

.menseki p {
  margin-bottom: 16px;
}

.py-3 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.inline-flex {
  display: inline-flex;
}

.mx-2 {
  margin-left: 0.5rem;
  margin-right: 0.5rem;
}

.text-gray-600 {
  color: #4b5563;
}

.object-contain {
  object-fit: contain;
}

.my-8 {
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.bg-gray-50 {
  background-color: #f9fafb;
}

.grid {
  display: grid;
}

.gap-8 {
  gap: 2rem;
}

.overflow-hidden {
  overflow: hidden;
}

.p-6 {
  padding: 1.5rem;
}

.text-xl {
  font-size: 1.25rem;
}

.font-bold {
  font-weight: 700;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.text-2xl {
  font-size: 1.5rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.bg-gray-900 {
  background-color: #111827;
}

.pb-28 {
  padding-bottom: 7rem;
}

.space-y-4 > * + * {
  margin-top: 1rem;
}

.hover\:underline:hover {
  text-decoration: underline;
}

.fixed {
  position: fixed;
}

.bottom-0 {
  bottom: 0;
}

.left-0 {
  left: 0;
}

.right-0 {
  right: 0;
}

.border-t {
  border-top: 1px solid #e5e7eb;
}

.shadow-lg {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.space-x-2 > * + * {
  margin-left: 0.5rem;
}

.h-16 {
  height: 4rem;
}

.h-8 {
  height: 2rem;
}

.text-xs {
  font-size: 0.75rem;
}

.leading-tight {
  line-height: 1.25;
}

/* Main content styles */
.rounded-lg {
  border-radius: 0.5rem;
}

.w-full {
  width: 100%;
}

/* Typography */
h2 {
  font-size: clamp(18px, calc(6.799999999999999px + 1.6vw), 26px);
  font-weight: bold;
  margin-bottom: 1rem;
}

.text-2xl {
  font-size: 1.5rem;
}

.font-bold {
  font-weight: bold;
}

.pricing-section {
  padding: 0 15px;
}

.pricing-category {
  margin-bottom: 48px;
}
.pricing-category h2 {
  font-weight: normal;
  color: #00b300;
  text-align: center;
  margin: 24px auto;
}

.pricing-category table {
  width: 92%;
  max-width: 800px;
  border-collapse: collapse;
  margin: 24px auto;
  font-size: clamp(11px, calc(4px + 1vw), 16px);
}
.pricing-category th,
.pricing-category td {
  border: 1px solid #dadada;
  padding: 12px 0;
  text-align: center;
  line-height: 1.3;
  vertical-align: middle;
}
.pricing-category th {
  background-color: #f0f0f0;
  width: 48%;
}
.table-schedule-wrap {
  width: 88%;
  max-width: 800px;
  margin: 16px auto;
  overflow: visible;
}

.table-schedule-container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.table-schedule {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  color: #333;
  white-space: nowrap;
  font-size: clamp(11px, calc(4px + 1vw), 16px);
}

.table-schedule tr {
  border: 1px solid #ccc;
}

.table-schedule th,
.table-schedule td {
  padding: clamp(4px, calc(-1.6000000000000005px + 0.8vw), 8px);
  text-align: center;
}

.table-schedule th {
  background-color: #f4f4f4;
}

.table-schedule td {
  background-color: white;
}

.closed {
  background-color: #e0e0e0;
}

.note {
  margin-top: 4px;
  font-size: 12px;
  text-align: center;
}

.section-jiko-sejutsu .img-wrapper {
  display: flex;
  justify-content: center;
  gap: 4%;
  flex-wrap: wrap;
}

.section-jiko-sejutsu img {
  width: 88%;
  max-width: 320px;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  margin-bottom: 16px;
}

.section-jiko-sejutsu p {
  margin-bottom: 0.6em;
}

.section-jiko-sejutsu ol {
  margin: 1.2em 0 1.6em 2.4em;
}

.section-jiko-sejutsu li {
  list-style-type: disc;
  margin: 0.4em 0;
  font-size: clamp(
    13px,
    calc(12.11111111111111px + 0.2777777777777778vw),
    16px
  );
  line-height: 1.4;
}

.text-wrapper {
  width: 88%;
  max-width: 800px;
  margin: 0 auto;
}

.text-wrapper p {
  font-size: clamp(
    12px,
    calc(11.407407407407408px + 0.1851851851851852vw),
    14px
  );
}

.section-reason .container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  height: max-content;
  padding-bottom: 48px;
}

.section-reason .card {
  width: 88%;
  max-width: 300px;
  background-color: white;
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.section-reason .card img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  border-radius: 0.5rem 0.5rem 0 0;
}

.pagination {
  text-align: center;
  margin: 20px 0;
}

.pagination-btn {
  display: inline-block;
  padding: 8px 16px;
  margin: 4px;
  border: 1px solid #ccc;
  background: #f8f8f8;
  color: #333;
  cursor: pointer;
  font-size: 16px;
  border-radius: 4px;
}

.pagination-btn:hover {
  background: #ddd;
}

.pagination-btn.active {
  background: #009a00;
  color: white;
  border-color: #009a00;
}

.article {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

.article h1 {
  font-size: 24px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 10px;
}

.article-date {
  text-align: center;
  font-size: 14px;
  color: gray;
  margin-bottom: 20px;
}

.article-content {
  font-size: 16px;
  line-height: 1.6;
}

.back-btn-container {
  text-align: center;
  margin: 20px 0;
}

.mainbtn {
  display: inline-block;
  padding: 10px 20px;
  font-size: 16px;
  color: white;
  background-color: #009a00;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.4s;
  position: relative;
}

.mainbtn::after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  border: solid 0px #009a00;
  border-radius: 8px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.mainbtn:hover {
  background-color: white;
  color: #009a00;
}

.mainbtn:hover::after {
  border-width: 1px;
}

.jiko-mv {
  width: 100%;
  background-size: cover;
  text-align: center;
  padding: 24px;
  position: relative;
  z-index: 1;
  /* 背景カラーここでは削除。下で透過色を設定します */
}

.jiko-mv::before {
  content: "";
  position: absolute;
  background-image: url("/img/hero.png");
  background-repeat: no-repeat;
  background-size: cover;
  filter: grayscale(0.3) brightness(1.1) blur(1px);
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

.jiko-mv::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(225, 225, 225, 0.5); /* ←ここで透過色を設定 */
  z-index: -1;
}

.jiko-mv .breadcrumb {
  background-color: transparent;
  padding: 1em 0;
}

.jiko-mv-midashi {
  font-size: clamp(
    22px,
    calc(16.666666666666668px + 1.6666666666666667vw),
    40px
  );
  font-weight: bold;
  margin: 16px auto 24px;
}

.jiko-mv-list {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 16px;
}

.jiko-mv-list li {
  color: white;
  background-color: #00b900;
  width: 8.8em;
  height: 8.8em;
  border-radius: 9999px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-weight: 800;
  line-height: 1.4;
  font-size: clamp(
    12px,
    calc(10.222222222222221px + 0.5555555555555556vw),
    18px
  );
}

.jiko-mv .white {
  background: rgb(255, 255, 255, 0.8);
  padding: 1em 0;
  width: 98%;
  max-width: 800px;
  margin: 1em auto 0;
}

.jiko-mv .orange {
  background: #ff7018;
  color: white;
  padding: 1em 0;
  width: 98%;
  max-width: 800px;
  margin: 0 auto 1em;
}

.jiko-mv .green {
  color: #00b900;
}

h5 {
  width: 98%;
  max-width: 960px;
  margin: 0.8em auto 1.4em;
  font-size: clamp(16px, calc(12px + 0.8vw), 20px);
  font-weight: bold;
  color: white;
  background: #00b300;
  text-align: center;
  padding: 0.8em 0;
}

.jiko-card {
  width: 90%;
  max-width: 540px;
  margin: 0 auto;
  background: #0066cc;
  color: white;
  padding: 1.2em 1.2em 1.2em 1.4em;
  border-radius: 8px;
  display: flex;
  margin: auto;
  gap: 1em;
}

.jiko-arrow {
  height: calc(3.2em / 2);
  width: 3.2em;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  background: #0066cc;
  margin: 1.6em auto;
}

.jiko-card-img {
  width: 32%;
  max-width: 120px;
  aspect-ratio: 1 / 1; /* ← 正方形にする */
  position: relative;
  flex-shrink: 0; /* ← Flex内で潰れないように */
}

.jiko-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block; /* ← スクロールが出ないように */
}

.jiko-card-text {
  display: flex;
  flex-direction: column;
  justify-content: start;
  gap: 0.8em;
  padding: 0.4em;
}

.jiko-card .p1 {
  font-weight: 800;
  font-size: 14px;
}

.jiko-card .p2 {
  font-size: 12px;
}

.jiko-card .tel {
  font-weight: 800;
  font-size: 14px;
}

.jiko-card-img p {
  position: absolute;
  top: -0.3em;
  left: -0.5em;
  width: 1.8em;
  height: 1.8em;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  color: #0066cc;
  border-radius: 9999px;
  font-size: 20px;
  font-weight: bold;
  z-index: 1; /* ← 念のため画像の上に */
}

.jiko-text {
  text-align: center;
}

.jiko-text p {
  margin: 1.6em;
  font-size: large;
}

.jiko-text .bold {
  font-weight: bold;
}

.jiko-text .red {
  color: #ff0000;
}

.jiko-text .yellow {
  background: linear-gradient(transparent 0%, rgba(253, 224, 71, 0.8) 0%);
}

.menu-card-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2%;
  margin-top: 32px;
}

.menu-card-wrap li {
  text-align: center;
  font-size: 12px;
  line-height: 1.4;
  max-width: 240px;
  width: 40%;
  margin-bottom: 8px;
}

.menu-card-wrap li img {
  width: 100%;
  aspect-ratio: 1 / 1; /* 正方形にする */
  object-fit: contain;
  background: #0000000e;
  border-radius: 8px;
}

.jiko-bannar {
  text-align: center;
  margin-top: 24px;
}

.jiko-bannar img {
  width: 88%;
  max-width: 640px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
  margin-bottom: 32px;
}

.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 720px;
  aspect-ratio: 16 / 9; /* 比率維持（CSS対応ブラウザで最適） */
  margin: 0 auto 32px;
}

.video-wrapper iframe {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 0;
  top: 0;
  left: 0;
}

@media (min-width: 768px) {
  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .md\:space-y-0 > * + * {
    margin-top: 0;
  }
  .md\:flex-row {
    flex-direction: row;
  }

  .hero .pwrap {
    left: 24%;
  }
  .sponly {
    display: none;
  }

  .reviews-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 34px;
  }

  .review-card {
    width: 30%;
    max-width: 300px;
    min-height: 240px;
    margin: 0 0 16px;
  }

  .pain-points-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    padding: 0 32px;
  }

  .pain-point-card {
    width: 40%;
    max-width: 600px;
    margin: 0 0;
  }

  /* Testimonials section */
  .testimonials {
    padding: 0px 0 0px;
  }

  .infinite-slider {
    height: 168px;
  }

  .items {
    width: 240%;
  }

  .item-8 {
    background-position: center 20%;
  }
  .item-9 {
    background-position: center 40%;
  }
  .item-10 {
    background-position: center 20%;
  }
  .item-11 {
    background-position: center 20%;
  }
  .item-12 {
    background-position: center 30%;
  }
  .item-13 {
    background-position: center 20%;
  }
  .item-14 {
    background-position: center 20%;
  }
  .item-15 {
    background-position: center 20%;
  }
  .item-16 {
    background-position: center 20%;
  }
  .item-17 {
    background-position: center 10%;
  }
  .item-18 {
    background-position: center top;
  }
  .item-19 {
    background-position: center top;
  }
  .item-20 {
    background-position: center 10%;
  }
  .item-21 {
    background-position: center 30%;
  }
  .item-22 {
    background-position: center 20%;
  }
  .item-23 {
    background-position: center 20%;
  }

  .features-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    padding: 0 32px;
  }

  .feature-card {
    width: 30%;
    max-width: 300px;
    margin: 0 0;
  }

  .breadcrumb {
    max-width: 800px;
    margin: auto;
    padding: 32px;
  }
}
