/*
Theme Name: Ochi Eye Clinic
Description: Theme for Ochi Eye Clinic based on Figma design
Version: 1.0.0
Author: Ochi Eye Clinic
*/

/* Reset & Base Styles */
body {
  margin: 0;
  padding: 0;
  font-family: "Shippori Mincho B1", serif;
  color: #000;
  width: 100%;
  margin: 0 auto;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

a {
  text-decoration: none;
  color: inherit;
}

a:hover {
  opacity: 0.7;
}

/* Utility Classes */
@media (min-width: 769px) {
  .sp-only {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .pc-only {
    display: none !important;
  }
}

.wrapper {
  position: relative;
  width: 100%;
  /* overflow: hidden; removed to allow sticky nav */
}

/* Typography */
.section-title-en {
  font-family: "Cinzel", serif;
  font-size: 48px;
  line-height: 1;
  color: #fff;
  text-align: center;
}

/* Header / Hero Section */
.header {
  position: relative;
  width: 100%;
  border-bottom: 5px solid #333;
  overflow: hidden;
}

/* トップページ（index.php / front-page） */
.home .header {
  height: 850px;
}

/* トップページ以外 */
body:not(.home) .header {
  height: 400px;
  background: #F1EBE2;
}

body:not(.home) .header::before {
  content: "";
  position: absolute;
  background-repeat: no-repeat;
  background-size: contain;
  top: 100px;
  right: 25%;
  width: 234px;
  height: 250px;
  background-image: url(img/deco-pageheader.webp);
}

.header-bg-shape {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.vector-shape {
  position: absolute;
  top: -50px;
  right: -50px;
  width: 300px;
  /* 調整 */
}

.group-shape {
  position: absolute;
  top: 0;
  right: 0;
  width: 400px;
}

.header-content {
  position: relative;
  padding-top: 20px;
}

body:not(.home) .header-content {
  background: linear-gradient(to bottom,
      #ffffff 0%,
      #ffffff 66%,
      transparent 60%,
      transparent 100%);
}

.head-logo {
  flex: 1;
  margin: 0;
}

.head-logo img {
  max-width: 320px;
}

.header-info {
  margin: 0 auto;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 20px;
  padding: 0 40px;
  font-size: 18px;
}

.global-nav {
  position: sticky;
  top: 0;
  width: 100%;
  margin: 0 auto;
  height: 100px;
  background-color: #f1ebe2;
  z-index: 1000;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.global-nav-list {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
  padding: 35px 0;
  margin: 0;
  gap: 60px;
}

.nav-item a {
  font-size: 18px;
  font-weight: 400;
  color: #000;
  text-decoration: none;
  position: relative;
  display: block;
}

.nav-item.has-dropdown>a {
  padding-right: 15px;
}

.nav-item.has-dropdown>a::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 5px solid #000;
  border-right: 4px solid transparent;
  border-left: 4px solid transparent;
}

.nav-item.has-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #C2AC8C;
  min-width: 220px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 10px 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1001;
}

.nav-item.has-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  top: 100%;
}

.dropdown-menu li a {
  display: block;
  padding: 10px 20px;
  font-size: 16px;
  color: #ffffff;
  white-space: nowrap;
  transition: background-color 0.2s;
}

.dropdown-menu li a:hover {
  background-color: #f1ebe2;
  color: #000;
}

.header-info .tel {
  font-size: 36px;
  margin: 0;
}

.web-reserve-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: #000;
  color: #fff;
  padding: 10px 20px;
  border-radius: 100px;
  font-size: 20px;
}

.web-reserve-btn img {
  width: 18px;
  height: 10px;
  flex-shrink: 0;
}

.hero {
  position: absolute;
  top: 230px;
  left: 50%;
  transform: translateX(-50%);
  overflow: hidden;
}

.main-title {
  text-align: center;
  font-size: 64px;
  font-weight: 400;
  line-height: 1.6;
}

.main-title .line {
  display: block;
}

.hero-images {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: slideShow 18s infinite;
}

.hero-slide:nth-child(1) {
  animation-delay: 0s;
}

.hero-slide:nth-child(2) {
  animation-delay: 6s;
}

.hero-slide:nth-child(3) {
  animation-delay: 12s;
}

@keyframes slideShow {
  0% {
    opacity: 0;
  }

  5% {
    opacity: 1;
  }

  33% {
    opacity: 1;
  }

  38% {
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

.hero-message {
  text-align: center;
  font-size: 32px;
  z-index: 10;
  margin: 0;
}

/* Navigation / Info Section */
.section-info {
  padding: 0 0 100px;
  background-color: #fff;
}

.info-container {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 60px;
}

.info-left {
  width: 45%;
}

.info-right {
  width: 45%;
}

.info-divider {
  width: 1px;
  background-color: #000;
  height: auto;
  min-height: 450px;
}

.info-title {
  font-family: "Cinzel", serif;
  font-size: 32px;
  margin-bottom: 30px;
  text-align: center;
  font-weight: normal;
  letter-spacing: 0.05em;
}

.map-box iframe {
  width: 100%;
  height: 450px;
  border: 0;
}

.info-schedule {
  background-color: #C4B298;
  padding: 5px 20px;
  color: #fff;
  margin-bottom: 30px;
}

.schedule-table-wrap table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

.schedule-table-wrap th,
.schedule-table-wrap td {
  text-align: center;
  padding: 10px 5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  font-weight: normal;
}

.schedule-table-wrap th {
  font-size: 16px;
}

.schedule-table-wrap td {
  font-size: 16px;
}

.schedule-table-wrap tr:last-child td {
  border-bottom: 1px solid #fff;
}

.schedule-notes p {
  margin: 5px 0;
  font-size: 14px;
  line-height: 1.5;
}

.access-address {
  text-align: center;
  font-size: 18px;
  margin: 0 0 20px;
}

.access-parking {
  background: #F1EBE2;
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.access-parking p {
  margin: 0;
  font-size: 18px;
  color: #000;
}

.access-parking .num {
  font-size: 32px;
  font-family: "Cinzel", serif;
  margin: 0 5px;
}

.parking-icon img {
  width: 40px;
  height: auto;
}

/* Concept Section */
.section-concept {
  position: relative;
  text-align: center;
}

.concept-bg {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1120px;
  height: 556px;
  z-index: 1;
}

.concept-bg .bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.concept-bg .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(92, 85, 77, 0.5);
}

.concept-content {
  position: relative;
  z-index: 1;
  color: #fff;
}

.section-concept .section-title-en {
  font-family: Cinzel;
  font-size: 128px;
  font-weight: 400;
  letter-spacing: 0.2em;
  margin-top: 0;
  margin-bottom: 40px;
}

.concept-text-main {
  font-size: 40px;
  line-height: 1.6;
  letter-spacing: 8px;
  margin-bottom: 50px;
}

.concept-text-main p {
  margin: 0;
}

.concept-description {
  font-size: 20px;
  line-height: 2;
  text-align: left;
  max-width: 720px;
  margin: 0 auto;
}

/* Feature Section */
.section-feature {
  margin-top: -60px;
  position: relative;
  padding: 200px 0 0;
  background: #F1EBE2;
  overflow: hidden;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 33px;
  margin-bottom: 50px;
}

.section-header .line {
  height: 2px;
  width: 100%;
  background-color: #c2ac8c;
}

.section-feature .section-title-en {
  font-family: "Lora", serif;
  font-size: 150px;
  font-weight: 400;
  color: #c2ac8c;
  margin: 0;
}

.feature-subtitle {
  text-align: center;
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 0.2em;
  margin-top: 0;
  margin-bottom: 50px;
}

.feature-list {
  position: relative;
  margin-top: 100px;
}

.feature-item {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
  margin-bottom: 100px;
  z-index: 1;
}

.feature-number {
  position: absolute;
  background-color: #c2ac8c;
  /* or #b0a99f */
  color: #fff;
  padding: 20px 40px;
  display: flex;
  align-items: center;
  gap: 20px;
  font-family: "Cinzel", serif;
  font-size: 48px;
  white-space: nowrap;
  z-index: 10;
}

.item-01 .feature-number {
  right: calc(50% - 50vw);
  top: 356px;
  transform-origin: right top;
  transform: rotate(90deg);
}

.item-02 .feature-number {
  left: calc(50% - 50vw);
  top: 0;
  background-color: #b0a99f;
  transform-origin: left top;
  transform: rotate(90deg) translateY(-100%);
}

.item-03 .feature-number {
  display: none;
  /* デザイン上、数字だけ配置されている */
}

.item-04 .feature-number {
  display: none;
}

.item-05 .feature-number {
  right: calc(50% - 50vw);
  left: auto;
  bottom: 0;
  transform-origin: right top;
  transform: rotate(90deg);
}

.feature-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
}

.feature-image {
  position: relative;
}

.feature-image img {
  margin: 5px;
}

.feature-desc {
  max-width: 600px;
}

.feature-desc h4 {
  font-size: 40px;
  font-weight: 400;
  margin-bottom: 30px;
}

.feature-desc p {
  font-size: 20px;
  line-height: 2;
}

.feature-points {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 60px;
}

.point-circle {
  width: 180px;
  height: 180px;
  border: 2px solid #000;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 20px;
  line-height: 1.5;
  background-color: transparent;
  position: relative;
}

.point-circle::before,
.point-circle::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  background-color: #F1EBE2;
}

.point-circle::before {
  top: 14px;
  right: 14px;
  transform: rotate(45deg);
}

.point-circle::after {
  bottom: 14px;
  left: 14px;
  transform: rotate(45deg);
}

/* Feature 03 & 04 Overlay Style */
.feature-row-3-4 {
  display: flex;
  justify-content: center;
  gap: 40px;
  max-width: 1280px;
  margin: 0 auto 100px;
}

.item-03,
.item-04 {
  width: calc(50% - 20px);
  margin-bottom: 0;
  min-height: auto;
}

.item-03 .feature-content,
.item-04 .feature-content {
  position: relative;
  width: 100%;
  height: 600px;
}

.item-03 .feature-image,
.item-04 .feature-image {
  width: 100%;
  height: 100%;
}

.item-03 .feature-image img,
.item-04 .feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-text-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  padding: 40px;
  background-color: rgba(0, 0, 0, 0.6);
  color: #fff;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.feature-num-title {
  font-family: "Cinzel", serif;
  font-size: 40px;
  font-weight: 400;
  margin: 0 0 20px;
  letter-spacing: 0.05em;
}

.overlay-line {
  width: 100%;
  height: 1px;
  background-color: #fff;
  margin-bottom: 30px;
}

.feature-text-overlay h4 {
  font-size: 28px;
  font-weight: 400;
  margin: 0 0 30px;
  font-family: "Shippori Mincho B1", serif;
}

.feature-text-overlay p {
  font-size: 16px;
  line-height: 2;
  text-align: left;
  margin: 0;
}

.item-05 {
  padding: 30px 0;
}

.item-05::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 100%;
  background: #C2AC8C;
  z-index: -1;
}

/* Flow Section */
.section-flow {
  padding: 0 0 100px;
}

.section-flow .section-title-en {
  font-family: "Lora", serif;
  font-weight: 400;
  font-size: 150px;
  color: #c2ac8c;
  margin: 0;
}

.flow-subtitle {
  text-align: center;
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 0.2em;
  margin-top: 0;
  margin-bottom: 50px;
}

.flow-steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 80px;
}

.flow-step {
  display: flex;
  align-items: center;
  background-color: #f1ebe2;
  /* 背景色 */
  padding: 60px 40px;
  border: 1px solid transparent;
  /* 調整 */
}

.flow-step-page {
  display: flex;
  align-items: center;
  background-color: #ffffff;
  /* 背景色 */
  padding: 60px 40px;
  border: 1px solid transparent;
  /* 調整 */
}

.step-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-right: 40px;
}

.step-label {
  font-family: "Cinzel", serif;
  font-size: 48px;
}

.step-num {
  font-family: "Cinzel", serif;
  font-size: 48px;
  margin-left: 15px;
}

.step-header h4 {
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 20px;
}

.step-line {
  width: 1px;
  height: 150px;
  background-color: #000;
  margin-right: 40px;
}

.step-content {
  flex: 1;
}

.step-content p {
  font-size: 18px;
  line-height: 2;
}

.step-content-list {
  display: flex;
  align-items: center;
  gap: 15px;
  position: relative;
}

.step-image {
  width: 200px;
  height: 200px;
  border: 2px solid #000;
  margin-left: 30px;
}

.step-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.step-arrow {
  text-align: center;
  height: 40px;
}

.step-arrow img {
  width: 10px;
  height: 40px;
}

/* Doctor Section */
.section-doctor {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}

.doctor-deco {
  position: absolute;
  background-repeat: no-repeat;
  background-size: contain;
  top: 50px;
  left: 10%;
  width: 400px;
  height: 311px;
  background-image: url(img/deco-doctor.webp);
  z-index: 1;
}

.doctor-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: -1;
}

.doctor-bg .bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.doctor-bg .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.8);
}

.doctor-content {
  display: flex;
  gap: 50px;
  max-width: 1120px;
  margin: 0 auto;
}

.doctor-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.doctor-image {
  width: 480px;
  position: relative;
}

.doctor-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.doctor-message {
  flex: 1;
}

.doctor-title {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
}

.doctor-title h3 {
  font-size: 32px;
  margin: 0;
}

.doctor-title .line {
  flex: 1;
  height: 1px;
  background-color: #000;
}

.doctor-text {
  font-size: 18px;
  line-height: 2;
  margin-bottom: 50px;
}

.doctor-name {
  border: 3px solid #000;
  background-color: #fff;
  padding: 20px 0;
  text-align: center;
  width: fit-content;
  width: 475px;
}

.doctor-name .jp {
  font-size: 36px;
  margin: 0;
}

.doctor-name .en {
  font-size: 20px;
  margin: 0;
}

/* Medical Section */
.section-medical {
  padding: 0 0 100px 0;
  background-color: #f1ebe2;
  position: relative;
  overflow: hidden;
}

.medical-header {
  position: relative;
  width: 100%;
  height: 450px;
  background-image: url(img/rectangle26.webp);
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
}

.section-medical .section-title-en {
  position: relative;
  top: auto;
  left: auto;
  transform: none;
  color: #FFF;
  font-family: Lora;
  font-size: 150px;
  font-style: normal;
  font-weight: 400;
  line-height: 100%;
  margin: 0;
}

.medical-subtitle {
  position: relative;
  font-size: 24px;
  font-weight: 400;
  color: #fff;
  margin-top: 10px;
  z-index: 1;
  letter-spacing: 0.1em;
}

.medical-list-container {
  background-color: #fff;
  width: 1280px;
  max-width: 90%;
  margin: -60px auto 0;
  padding: 50px 80px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  display: flex;
  justify-content: space-between;
  position: relative;
  z-index: 10;
}

.medical-list {
  width: 22%;
}

.medical-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  border-bottom: 2px solid #C2AC8C;
  font-size: 20px;
  color: #333;
  font-family: "Yu Mincho", "YuMincho", serif;
  margin-bottom: 30px;
}

.medical-item img {
  width: 12px;
  height: 10px;
}

/* Gallery Section */
.section-gallery {
  padding: 130px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.gallery-deco {
  position: absolute;
  background-repeat: no-repeat;
  background-size: contain;
  top: 0;
  left: 5%;
  width: 400px;
  height: 311px;
  background-image: url(img/deco-gallery.webp);
  z-index: 1;
}

.gallery-header {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.gallery-title {
  font-family: "Lora", serif;
  font-size: 120px;
  color: #c2ac8c;
  margin: 0;
  font-weight: normal;
  font-style: italic;
  position: relative;
  z-index: 1;
}

.gallery-deco-left {
  position: absolute;
  top: -130px;
  left: 0;
  width: 200px;
  z-index: 0;
}

.gallery-deco-right {
  position: absolute;
  top: -150px;
  right: 0;
  width: 300px;
  z-index: 0;
}

.gallery-slider {
  width: 100%;
  padding: 20px 0;
}

.gallery-track {
  width: 100%;
}

.gallery-item {
  width: 320px;
  height: 320px;
  border-radius: 50%;
  overflow: hidden;
  transition: transform 0.3s ease;
  margin: 0;
}

.gallery-item:hover {
  transform: scale(1.05);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-nav {
  position: absolute;
  bottom: 5%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 1200px;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  z-index: 10;
}

.gallery-nav img {
  width: 60px;
  height: 30px;
  cursor: pointer;
  pointer-events: auto;
  transition: opacity 0.3s;
}

.gallery-nav img:hover {
  opacity: 0.7;
}

.gallery-nav .prev {
  transform: rotate(180deg);
}

/* Footer */
.footer {
  background-color: #f1ebe2;
  padding-top: 50px;
  position: relative;
}

.footer-top {
  display: flex;
  justify-content: center;
  gap: 80px;
  padding: 0 20px;
  margin-bottom: 50px;
  align-items: center;
  flex-wrap: wrap;
}

.footer-left {
  text-align: center;
}

.footer-org {
  font-size: 14px;
  margin-bottom: 5px;
  letter-spacing: 0.1em;
}

.footer-name {
  font-size: 32px;
  font-family: "Zen Maru Gothic", sans-serif;
  margin-bottom: 20px;
  letter-spacing: 0.1em;
}

.footer-logo-img img {
  width: 250px;
  margin-bottom: 20px;
}

.footer-address {
  font-size: 18px;
  margin: 0 0 20px;
}

.footer-btns {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.tel-btn,
.web-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: #000;
  color: #fff;
  width: 200px;
  height: 60px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 20px;
}

.tel-btn img {
  width: 20px;
  height: 20px;
}

.web-btn img {
  width: 20px;
  height: 15px;
}

.footer-right {
  background-color: #c2ac8c;
  padding: 5px 20px;
  color: #fff;
}

.footer-schedule table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

.footer-schedule th,
.footer-schedule td {
  padding: 10px 15px;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  font-size: 16px;
}

.footer-schedule th {
  font-weight: normal;
}

.schedule-notes {
  font-size: 14px;
  line-height: 1.8;
}

.footer-map {
  display: flex;
  width: 100%;
  height: 500px;
  margin-bottom: 80px;
}

.map-area {
  width: 80%;
  height: 100%;
}

.map-area iframe {
  width: 100%;
  height: 100%;
  filter: grayscale(0.1);
}

.access-area {
  width: 35%;
  background-color: #fff;
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.access-img {
  width: 100%;
  margin-bottom: 30px;
}

.access-img img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.access-address {
  font-size: 16px;
  margin-bottom: 30px;
  font-family: "Yu Mincho", "YuMincho", serif;
}

.access-parking {
  background-color: #f1ebe2;
  width: 100%;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.access-parking .icon img {
  width: 40px;
  height: auto;
}

.access-parking p {
  font-size: 20px;
  font-family: "Yu Mincho", "YuMincho", serif;
  margin: 0;
}

.access-parking .num {
  font-size: 36px;
  font-family: "Lora", serif;
  margin: 0 5px;
}

.footer-dental {
  display: flex;
  justify-content: center;
  margin-bottom: 50px;
  padding: 0 20px;
}

.footer-dental img {
  max-width: 100%;
  height: auto;
  width: 700px;
  transition: opacity 0.3s;
}

.footer-dental a:hover img {
  opacity: 0.8;
}

.footer-bottom {
  max-width: 1120px;
  margin: 0 auto;
  background-color: #f1ebe2;
  padding: 0 0 20px;
}

.footer-section-title {
  font-size: 24px;
  font-family: "Lora", serif;
  border-bottom: 1px solid #8b7960;
  padding-bottom: 10px;
  margin-bottom: 20px;
  color: #333;
  font-weight: normal;
  letter-spacing: 0.05em;
}

.sitemap-list,
.medical-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px 20px;
  margin-bottom: 50px;
}

.footer-bottom a {
  text-decoration: none;
  color: #333;
  font-size: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: opacity 0.3s;
}

.footer-bottom a:hover {
  opacity: 0.7;
}

.footer-bottom a::before {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 5px 0 5px 8px;
  border-color: transparent transparent transparent #c2ac8c;
}

.copyright {
  text-align: center;
  font-size: 16px;
  color: #333;
  margin: 70px 0 0
}


/* =========================================
   下層ページ共通
   ========================================= */

/* Page Header */
.page-header {
  position: absolute;
  top: 170px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}

.page-header-content {
  position: relative;
  z-index: 2;
}

.page-title-jp {
  font-size: 40px;
  margin-bottom: 10px;
  font-weight: normal;
}

.page-title-en {
  font-size: 32px;
  color: #c2ac8c;
  font-family: "Cinzel", serif;
  letter-spacing: 0.05em;
}

.page-header-deco {
  position: absolute;
  top: 100px;
  right: 20%;
  width: 230px;
  z-index: 1;
  opacity: 0.5;
}

h3.section-subtitle {
  position: relative;
  background: #C2AC8C;
  color: #FFF;
  text-align: center;
  font-family: "Noto Serif JP";
  font-size: 28px;
  font-style: normal;
  font-weight: 400;
  line-height: 120%;
  margin: 60px 0 30px;
  padding: 30px 0;
}

h3.section-subtitle::before,
h3.section-subtitle::after {
  content: "";
  position: absolute;
  left: 7px;
  right: 7px;
  height: 1px;
  background: #ffffff;
}

h3.section-subtitle::before {
  top: 7px;
}

h3.section-subtitle::after {
  bottom: 7px;
}

h4.section-subtitle {
  color: #000;
  font-family: "Shippori Mincho B1";
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: 120%;
  text-align: center;
  padding: 25px 0;
  border-top: 2px solid #000;
  border-bottom: 2px solid #000;
}

/* =========================================
   Page: Clinic
   ========================================= */

.clinicmode {
  background: #F1EBE2;
}

.concept-clinic-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.concept-clinic-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.concept-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(92, 85, 77, 0.5);
  z-index: 2;
}

.concept-clinic-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 800px;
  padding: 0 20px;
}

.concept-title {
  font-family: "Cinzel", serif;
  font-size: 128px;
  letter-spacing: 0.2em;
  margin: 0 0 20px;
  line-height: 1;
}

.concept-lead {
  font-size: 40px;
  margin-bottom: 40px;
  letter-spacing: 0.2em;
}

.concept-date {
  margin-bottom: 10px;
}

.concept-text {
  font-size: 20px;
  line-height: 2;
  text-align: left;
}

/* Common Section Styles */
.clinic-equipment,
.clinic-doctor {
  position: relative;
  padding: 100px 0 50px;
  background-color: #f1ebe2;
}

.clinic-doctor {
  background-color: #e4dacb;
}

.section-header-vertical {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 30px;
}

.section-title-vertical {
  font-size: 40px;
  letter-spacing: 0.2em;
  margin-bottom: 0;
  font-weight: normal;
}

.section-line-vertical {
  width: 1px;
  height: 30px;
  background-color: #000;
}

/* Equipment Section */
.equipment-list {
  display: flex;
  justify-content: center;
  gap: 40px;
  max-width: 1280px;
  margin: 0 auto;
}

.equipment-item {
  width: 400px;
  height: 260px;
}

.equipment-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Doctor Section */
.clinic-doctor {
  background-color: #e4dacb;
  background: linear-gradient(to bottom, #e4dacb 0%, #e4dacb 80%, #F1EBE2 80%, #F1EBE2 100%);
}

.doctor-profile-area {
  display: flex;
  justify-content: center;
  gap: 60px;
  max-width: 1220px;
  margin: 50px auto;
}

.doctor-image-col {
  width: 400px;
  position: relative;
}

.doctor-image {
  width: 100%;
  overflow: hidden;
}

.doctor-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.doctor-name-box {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  background-color: #fff;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.doctor-name-jp {
  font-size: 32px;
  margin: 0 0 5px;
  font-weight: normal;
}

.doctor-name-en {
  font-size: 18px;
  color: #666;
}

.doctor-info-col {
  flex: 1;
}

.doctor-intro-text {
  font-size: 18px;
  line-height: 2;
  margin-bottom: 40px;
}

.doctor-history-box,
.spec-box {
  flex: 1;
  background-color: #fff;
  padding: 30px;
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.box-label {
  background-color: #c2ac8c;
  color: #fff;
  padding: 10px 0;
  font-size: 18px;
  white-space: nowrap;
  width: 100%;
  text-align: center;
}

.box-content {
  font-size: 18px;
  line-height: 1.8;
}

.box-content p {
  margin: 0 0 5px;
}

.box-content .center {
  text-align: center;
}

.doctor-specs-grid {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Access Section */
.clinic-access {
  background-color: #f1ebe2;
  padding-bottom: 150px;
}

.access-content-wrapper {
  display: flex;
  justify-content: center;
  gap: 60px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 50px;
  background: #ffffff;
}

.access-map {
  flex: 1;
}

.access-map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.access-info {
  background-color: #c2ac8c;
  padding: 20px;
  color: #fff;
}

.access-info table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

.access-info th,
.access-info td {
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding: 10px 5px;
  text-align: center;
  font-size: 14px;
}

.access-info th {
  font-weight: normal;
}

.access-address {
  font-size: 18px;
}

/* Mobile Elements Base */
.hamburger-btn {
  display: none;
}

.mobile-header-btns {
  display: none;
}

/* Responsive adjustments */
@media (max-width: 1024px) {

  .equipment-list,
  .doctor-profile-area,
  .access-content-wrapper {
    flex-direction: column;
    align-items: center;
    padding-left: 0;
  }

  .section-header-vertical {
    position: static;
    flex-direction: column;
    margin-bottom: 40px;
    justify-content: center;
    gap: 10px;
  }

  .doctor-image-col,
  .doctor-info-col {
    width: 100%;
    max-width: 600px;
  }
}

/* =========================================
   Page: Lacrimal Passage 
   ========================================= */

.page-lacrimal {
  background-color: #f1ebe2;
  padding-bottom: 100px;
}

/* Intro Section */
.lacrimal-intro {
  position: relative;
  padding: 100px 0 0;
  max-width: 1280px;
  margin: 0 auto;
}

.intro-content {
  display: flex;
  justify-content: center;
  gap: 40px;
}

.intro-image {
  width: 600px;
  height: 400px;
  flex-shrink: 0;
}

.intro-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.intro-text {
  width: 640px;
  font-size: 18px;
  line-height: 2;
}

.intro-text p {
  margin-top: 0;
  margin-bottom: 20px;
}

.lacrimal-epiphora {
  position: relative;
  padding: 100px 0 0;
  max-width: 1280px;
  margin: 0 auto;
}

.epiphora-content {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 40px;
}

.epiphora-image {
  width: 600px;
  height: 400px;
  flex-shrink: 0;
}

.epiphora-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.epiphora-text {
  width: 640px;
  font-size: 18px;
  line-height: 2;
}

.epiphora-detail {
  max-width: 1280px;
  margin: 0 auto;
  font-size: 18px;
  line-height: 2;
}

.lacrimal-dacryocystitis {
  position: relative;
  padding: 100px 0;
  max-width: 1280px;
  margin: 0 auto;
}

.dacryocystitis-text {
  max-width: 1280px;
  margin: 0 auto;
  font-size: 18px;
  line-height: 2;
}

/* Symptoms Section */
.lacrimal-symptoms {
  background-color: #e4dacb;
  padding: 10px 0 50px;
  text-align: center;
}

.lacrimal-symptoms-image {
  width: 100%;
  max-width: 1000px;
  height: auto;
  margin: -100px auto 0;
}

.symptoms-title {
  font-family: "Noto Serif JP", serif;
  font-size: 28px;
  margin: 20px 0;
  font-weight: normal;
}

.symptoms-list {
  display: flex;
  justify-content: center;
  gap: 80px;
  max-width: 1000px;
  padding: 30px;
  margin: 0 auto;
}

.symptoms-col {
  display: flex;
  flex-direction: column;
  gap: 30px;
  flex: 1;
  text-align: left;
}

.symptom-item {
  display: flex;
  align-items: center;
  gap: 15px;
  position: relative;
}

.symptom-item::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #000;
  opacity: 0.2;
}

.check-icon {
  width: 20px;
  height: 20px;
  background-color: #c2ac8c;
  /* Placeholder color */
  border-radius: 50%;
  flex-shrink: 0;
}

.symptom-item p {
  font-size: 18px;
  margin: 0;
}

/* Treatment Section */
.lacrimal-treatment {
  position: relative;
  padding: 100px 0;
  max-width: 1280px;
  margin: 0 auto;
}

.treatment-intro {
  max-width: 1280px;
  margin: 0 auto 80px;
  font-size: 18px;
  line-height: 2;
}

.treatment-method {
  position: relative;
  margin-bottom: 60px;
}

.method-content {
  display: flex;
  justify-content: center;
  gap: 40px;
}

.method-image {
  width: 600px;
  height: 400px;
  flex-shrink: 0;
}

.method-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.method-text {
  width: 640px;
  font-size: 18px;
  line-height: 2;
}

.treatment-note {
  max-width: 1280px;
  margin: 0 auto;
  font-size: 18px;
  line-height: 2;
}

/* Responsive adjustments for Lacrimal Page */
@media (max-width: 1024px) {

  .intro-content,
  .epiphora-content,
  .method-content {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding-left: 0;
  }

  .intro-image,
  .epiphora-image,
  .method-image {
    width: 100%;
    max-width: 600px;
    height: auto;
  }

  .intro-text,
  .epiphora-text,
  .method-text,
  .dacryocystitis-text,
  .treatment-intro,
  .treatment-note,
  .epiphora-detail {
    width: 100%;
    font-size: 16px;
  }

  .symptoms-list {
    flex-direction: column;
    gap: 30px;
    padding: 0 20px;
  }
}

/* =========================================
   Page: Medical (�f�Èē�)
   ========================================= */

.page-medical {
  background-color: #f1ebe2;
  padding-bottom: 100px;
}

/* Navigation */
.medical-nav-section {
  background-color: #fff;
  padding: 40px 0;
  margin-bottom: 80px;
}

.medical-nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

.medical-nav-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.medical-nav-list li a {
  display: block;
  padding: 10px 20px;
  background-color: #f1ebe2;
  border-radius: 30px;
  font-size: 16px;
  transition: background-color 0.3s;
}

.medical-nav-list li a:hover {
  background-color: #e4dacb;
}

/* Sections */
.medical-section {
  padding: 100px 0 0;
  max-width: 1280px;
  margin: 0 auto;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.medical-content-block {
  flex: 1;
  margin: 0;
  padding: 0 20px;
}

h4.medical-sub-title {
  color: #C2AC8C;
  font-family: "Noto Serif JP";
  font-size: 24px;
  font-style: normal;
  font-weight: 600;
  line-height: 120%;
  padding-bottom: 15px;
  border-bottom: 1px solid #C2AC8C;
}

h4.medical-sub-title:first-child {
  margin-top: 0;
}

h5.medical-sub-title {
  color: #B0A99F;
  font-family: "Shippori Mincho B1";
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 120%;
  margin: 30px 0 0;
  padding-left: 10px;
  border-left: 6px solid #B0A99F;
}

/* Initial Symptoms Box */
.medical-initial-flexible {
  display: flex;
  gap: 30px;
}

.medical-initial-symptoms {
  flex: 1;
  background-color: #fff;
  padding: 30px;
  margin: 30px 0;
}

.medical-sub-title-center {
  text-align: center;
  font-size: 24px;
  margin-bottom: 30px;
  color: #333;
}

.initial-symptoms-content {
  text-align: center;
}

.symptoms-intro {
  font-weight: bold;
  margin-bottom: 20px;
}

.initial-symptoms-list {
  list-style: none;
  padding: 0;
  margin: 0 auto 30px;
  display: inline-block;
  text-align: left;
}

.initial-symptoms-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
}

.initial-symptoms-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  background-color: #c2ac8c;
  border-radius: 50%;
}

/* Check List Grid */
.medical-check-list-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px 30px;
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.medical-check-list-grid li {
  position: relative;
  padding-left: 25px;
}

.medical-check-list-grid li::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: #c2ac8c;
}

/* Types and Causes Table */
.medical-types-causes-container {
  margin-bottom: 40px;
  overflow-x: auto;
}

.medical-types-causes-table {
  width: 100%;
  font-size: 18px;
  font-weight: 400 !important;
  border-collapse: collapse;
  background-color: #fff;
}

.medical-types-causes-table th {
  background-color: #000000;
  padding: 15px;
  color: #ffffff;
  border: 1px solid #c2ac8c;
  width: 50%;
}

.medical-types-causes-table td {
  padding: 15px;
  border: 1px solid #c2ac8c;
}

@media (max-width: 768px) {

  .medical-types-causes-table th,
  .medical-types-causes-table td {
    padding: 10px;
    font-size: 14px;
  }
}

/* AMD Treatment List */
.medical-treatment-list-amd {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.medical-treatment-list-amd li {
  margin-bottom: 20px;
}

.medical-treatment-list-amd strong {
  display: block;
  font-size: 18px;
  margin-bottom: 10px;
  color: #c2ac8c;
}

/* Lifestyle Advice */
.medical-lifestyle-advice {
  background-color: #fff;
  padding: 30px;
  border: 1px solid #c2ac8c;
  margin: 40px 0;
}

.lifestyle-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.lifestyle-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 15px;
}

.lifestyle-list li::before {
  content: '●';
  position: absolute;
  left: 0;
  color: #c2ac8c;
}

@media (max-width: 768px) {
  .medical-check-list-grid {
    grid-template-columns: 1fr;
  }

  .medical-types-causes-container {
    flex-direction: column;
    gap: 20px;
  }
}

.medical-text {
  font-size: 18px;
  line-height: 2;
}

.medical-text-note {
  font-size: 18px;
  line-height: 2;
  margin-bottom: 30px;
  color: #666;
}

/* Lists */
.medical-check-list {
  list-style: none;
  padding: 0;
  margin-bottom: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 15px;
}

.medical-check-list li {
  position: relative;
  padding-left: 30px;
  font-size: 18px;
}

.medical-check-list li::before {
  content: "✔";
  /* Changed to checkmark for better visibility */
  position: absolute;
  left: 0;
  color: #c2ac8c;
}

.medical-causes-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 40px;
}

.medical-causes-grid .cause-item {
  background-color: #fff;
  padding: 15px 30px;
  border-radius: 5px;
  font-size: 16px;
}

.medical-types-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-bottom: 40px;
}

.medical-types-list .type-item {
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
}

.medical-types-list .type-item h4 {
  font-size: 20px;
  margin-top: 0;
  margin-bottom: 15px;
  color: #c2ac8c;
}

.medical-types-list .type-item p {
  margin: 0;
  line-height: 1.8;
}

.medical-treatment-list,
.medical-step-list,
.medical-list {
  padding-left: 20px;
  margin-bottom: 40px;
}

.medical-treatment-list li,
.medical-step-list li,
.medical-list li {
  margin-bottom: 15px;
  line-height: 1.8;
}

/* QA Section */
.medical-qa {
  max-width: 1100px;
  margin: 30px auto;
  padding: 30px 0;
  display: flex;
  flex-direction: column;
}

.qa-containar {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background: #E4DACB;
}

.qa-item {
  font-size: 18px;
  border-bottom: 1px solid;
  overflow: hidden;
}

.qa-question {
  padding: 20px;
  position: relative;
  display: flex;
  align-items: flex-start;
}

.qa-question::before {
  content: "Q.";
  font-size: 24px;
  margin-right: 10px;
  line-height: 1;
}

.qa-item {
  border-bottom: 1px solid #000000;
}

.qa-item:last-child {
  border-bottom: none;
}

.qa-question {
  padding: 15px 50px 15px 50px;
  position: relative;
  cursor: default;
  transition: background-color 0.3s;
  min-height: 54px;
  display: flex;
  align-items: center;
}

.qa-item.has-answer .qa-question {
  cursor: pointer;
}

/* Q. Mark */
.qa-question::before {
  content: "Q.";
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  line-height: 1;
  color: #000000;
}

/* Accordion Icon */
.qa-question::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 20px;
  width: 16px;
  height: 16px;
  transform: translateY(-50%);
  background: linear-gradient(#000000, #000000), linear-gradient(#000000, #000000);
  background-position: center;
  background-size: 100% 2px, 2px 100%;
  /* Horizontal, Vertical */
  background-repeat: no-repeat;
  transition: all 0.3s;
  display: none;
  /* Hidden by default */
}

.qa-item.has-answer .qa-question::after {
  display: block;
  /* Show only if has answer */
}

/* Open State */
.qa-item.is-open .qa-question::after {
  background-size: 100% 2px, 0 100%;
  /* Hide vertical bar -> Minus */
  transform: translateY(-50%) rotate(180deg);
}

.qa-answer {
  padding: 20px;
  line-height: 1.8;
  display: none;
}

/* Treatment Box */
.medical-treatment-box {
  background-color: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 30px;
}

.medical-treatment-box h4 {
  font-size: 20px;
  margin-top: 0;
  margin-bottom: 20px;
  text-align: center;
  color: #c2ac8c;
}

.treatment-content h5 {
  font-size: 18px;
  margin-bottom: 10px;
  border-bottom: 2px solid #f1ebe2;
  padding-bottom: 5px;
  display: inline-block;
}

/* Symptoms Grid */
.medical-symptoms-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 40px;
}

.symptom-group {
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
}

.symptom-group h4 {
  text-align: center;
  margin-top: 0;
  margin-bottom: 20px;
  color: #c2ac8c;
}

.symptom-group ul {
  padding-left: 20px;
  margin: 0;
}

.symptom-group ul li {
  margin-bottom: 10px;
}

/* Measures List */
.medical-measures-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.measure-item {
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
}

.measure-item h4 {
  font-size: 20px;
  color: #c2ac8c;
  margin-top: 0;
  margin-bottom: 15px;
}

.measure-check {
  background-color: #f9f9f9;
  padding: 20px 20px 20px 40px;
  border-radius: 5px;
  margin-top: 15px;
}

/* Nutrient List */
.medical-nutrient-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
  margin-bottom: 40px;
}

.nutrient-item {
  background-color: #fff;
  padding: 15px;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.nutrient-name {
  font-weight: bold;
  color: #c2ac8c;
  margin-bottom: 5px;
  font-size: 18px;
}

.nutrient-food {
  font-size: 14px;
}

/* Check Box */
.medical-check-box {
  background-color: #fff;
  border: 3px solid #f1ebe2;
  padding: 30px;
  border-radius: 10px;
  margin-bottom: 40px;
}

.check-title {
  text-align: center;
  font-weight: bold;
  margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 768px) {
  .medical-nav-list {
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .medical-nav-list li a {
    font-size: 14px;
    padding: 8px 15px;
  }

  .medical-check-list,
  .medical-check-list-grid {
    grid-template-columns: 1fr;
  }

  .medical-section {
    flex-direction: column;
    padding: 60px 20px;
    gap: 30px;
  }

  .medical-section .section-header-vertical {
    margin-right: 0;
    margin-bottom: 30px;
    width: 100%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .medical-section .section-title-vertical,
  .section-title-vertical {
    writing-mode: horizontal-tb;
    font-size: 24px;
    letter-spacing: 0.1em;
    margin-bottom: 0;
  }

  .medical-section .section-line-vertical,
  .section-line-vertical {
    width: 1px;
    height: 25px;
  }

  .medical-symptoms-grid {
    grid-template-columns: 1fr;
  }
}

/* Cataract Page Styles */
.page-cataract {
  background-color: #f1ebe2;
  padding-bottom: 100px;
}

.cataract-message-box {
  background-color: #c2ac8c;
  color: #fff;
  text-align: center;
  padding: 30px;
  margin-bottom: 60px;
}

.cataract-message-box p {
  font-size: 28px;
  font-family: 'Noto Serif JP', serif;
  margin: 0;
}

.intro-text-full {
  margin-bottom: 40px;
}

.intro-image-large img,
.intro-image-wide img {
  width: 100%;
  height: auto;
  display: block;
}

.intro-content-reverse {
  margin-top: 60px;
}

/* Symptoms Check */
.symptoms-check-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 40px;
}

.check-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.check-circle {
  width: 20px;
  height: 20px;
  border: 2px solid #c2ac8c;
  border-radius: 50%;
  display: inline-block;
}

.check-item p {
  font-size: 18px;
  margin: 0;
}

.symptoms-note {
  background-color: #f9f9f9;
  padding: 30px;
  line-height: 2;
}

/* Method Flow */
.method-flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}


/* IOL */
.iol-intro {
  margin-bottom: 60px;
  line-height: 2;
}

.iol-box {
  background: #fff;
  border: 1px solid #e0e0e0;
  padding: 40px 80px;
  margin-bottom: 30px;
  text-align: center;
}

.iol-title {
  font-size: 24px;
  color: #c2ac8c;
  border-bottom: 1px solid #c2ac8c;
  display: inline-block;
  padding-bottom: 10px;
  margin-bottom: 20px;
  font-family: 'Noto Serif JP', serif;
}

.iol-desc {
  text-align: left;
  line-height: 2;
}

/* Wish */
.wish-content {
  margin-bottom: 60px;
}

.wish-list {
  color: #997747;
  margin: 30px 0;
  padding-left: 20px;
}

.wish-list li {
  margin-bottom: 10px;
}

.anesthesia-box {
  background: #fff;
  border: 1px solid #e0e0e0;
  padding: 40px 80px;
  text-align: center;
}

.anesthesia-title {
  font-size: 24px;
  color: #c2ac8c;
  border-bottom: 1px solid #c2ac8c;
  display: inline-block;
  padding-bottom: 10px;
  margin-bottom: 20px;
  font-family: 'Noto Serif JP', serif;
}

.anesthesia-desc {
  text-align: left;
  line-height: 2;
}

/* Flow Timeline */
.flow-timeline {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.flow-step-box {
  background: #fff;
  padding: 30px;
  width: 100%;
  border: 1px solid #eee;
  display: flex;
  align-items: center;
  gap: 40px;
}

.step-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 200px;
}

.step-number .num {
  font-size: 48px;
  line-height: 1;
}

.step-line {
  height: 100px;
  display: flex;
  align-items: center;
}

.step-desc {
  font-size: 18px;
  line-height: 2;
}

/* Day Flow */
.day-flow-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.day-step-box {
  background: #fff;
  padding: 40px;
  width: 100%;
  border: 1px solid #eee;
  display: flex;
  gap: 60px;
}

.day-step-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 200px;
}

.day-step-title {
  text-align: center;
  margin-bottom: 20px;
}

.day-step-title .main {
  font-size: 24px;
  font-weight: bold;
}

.day-step-number {
  font-family: 'Cinzel', serif;
  text-align: center;
  margin-bottom: 20px;
}

.day-step-number .label {
  font-size: 24px;
  display: block;
}

.day-step-number .num {
  font-size: 48px;
  line-height: 1;
}

.day-step-content {
  flex: 1;
}

.day-content-title {
  font-size: 24px;
  color: #c2ac8c;
  margin-bottom: 20px;
  margin-top: 30px;
}

.day-content-title:first-child {
  margin-top: 0;
}

.day-list {
  list-style: none;
  padding: 0;
}

.day-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  line-height: 1.8;
}

.day-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 10px;
  height: 10px;
  background-color: #c2ac8c;
  /* Or use ellipse image */
  border-radius: 50%;
}

@media (max-width: 768px) {

  /* Header */
  .header {
    height: auto;
    padding-bottom: 20px;
    border-bottom: 3px solid #333;
  }

  .home .header {
    height: 650px;
  }

  body:not(.home) .header-content {
    background: none
  }

  body:not(.home) .header {
    height: 250px;
  }

  .header-info {
    padding: 0 20px;
    justify-content: space-between;
    align-items: flex-start;
  }

  .header-info .address,
  .header-info .tel,
  .header-info .web-reserve-btn {
    display: none;
  }

  .head-logo img {
    max-width: 180px;
  }

  /* Hamburger */
  .hamburger-btn {
    position: fixed;
    right: 20px;
    display: block;
    width: 38px;
    height: 38px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 2000;
    padding: 0px;
    background: #C2AC8C;
  }

  .hamburger-btn .bar {
    position: absolute;
    left: 4px;
    width: 30px;
    height: 2px;
    background-color: #ffffff;
    transition: all 0.3s;
  }

  .hamburger-btn .bar:nth-child(1) {
    top: 9px;
  }

  .hamburger-btn .bar:nth-child(2) {
    top: 18px;
  }

  .nav-open .hamburger-btn {
    position: fixed;
    top: 20px;
    right: 20px;
  }

  .hamburger-btn .bar:nth-child(3) {
    bottom: 9px;
  }

  .hamburger-btn.active .bar:nth-child(1) {
    transform: rotate(45deg);
    top: 18px;
  }

  .hamburger-btn.active .bar:nth-child(2) {
    opacity: 0;
  }

  .hamburger-btn.active .bar:nth-child(3) {
    transform: rotate(-45deg);
    bottom: 18px;
  }

  /* Mobile Nav */
  .global-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 80%;
    height: 100vh;
    background-color: #F1EBE2;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    display: block;
    overflow-y: auto;
    z-index: 1500;
    padding-top: 100px;
  }

  .global-nav.active {
    transform: translateX(0);
  }

  .global-nav-list {
    display: block;
    width: 100%;
    padding: 0 20px 40px;
    box-sizing: border-box;
  }

  .nav-item {
    text-align: left;
    border-bottom: 1px solid #000;
    width: 100%;
  }

  .nav-item a {
    display: block;
    padding: 13px 0;
    font-size: 16px;
    color: #000;
    position: relative;
    width: 100%;
  }

  .nav-item.has-dropdown>a::after {
    content: "";
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 6px 8px 6px;
    border-color: transparent transparent #C2AC8C transparent;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
  }

  .dropdown-menu {
    position: static;
    transform: none;
    box-shadow: none;
    background: #C2AC8C;
    opacity: 1;
    visibility: visible;
    display: none;
    padding: 10px 20px;
    min-width: auto;
    text-align: left;
  }

  .nav-item.has-dropdown.active .dropdown-menu {
    display: block;
  }

  .dropdown-menu li a {
    color: #fff;
    border-bottom: none;
    padding: 8px 0;
    font-size: 14px;
  }

  .dropdown-menu li a::after {
    display: none;
  }

  .dropdown-menu li a {
    color: #ffffff;
    padding: 5px 0;
  }

  /* Mobile Header Buttons */
  .mobile-header-btns {
    display: flex;
    justify-content: center;
    gap: 10px;
    position: absolute;
    bottom: 100px;
    left: 0;
    width: 100%;
    z-index: 10;
  }

  .mobile-btn-reserve,
  .mobile-btn-access {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: #000;
    color: #fff;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 14px;
    text-decoration: none;
    width: 140px;
  }

  .mobile-btn-reserve img,
  .mobile-btn-access img {
    width: 12px;
    height: auto;
  }

  /* Hero */
  .hero {
    top: 242px;
    width: 90%;
  }

  .hero-slide {
    background-position: top;
    animation: slideShow 18s infinite;
  }

  .main-title {
    font-size: 32px;
  }

  .hero-message {
    font-size: 14px;
    margin-top: -10px;
    line-height: 1.6;
  }

  /* Info Section */
  .section-info {
    padding: 0 20px 40px;
  }

  .info-title {
    margin-bottom: 10px;
  }

  .info-container {
    flex-direction: column-reverse;
    gap: 14px;
  }

  .info-left,
  .info-right {
    width: 100%;
    padding: 0;
  }

  .info-divider {
    display: none;
  }

  .map-box iframe {
    height: 300px;
  }

  .access-parking {
    text-align: center;
    padding: 10px 0;
  }

  /* Concept */

  .section-concept {
    width: 90%;
    margin: 0 auto;
  }

  .concept-bg {
    width: 100%;
    height: 400px;
  }

  .section-concept .section-title-en {
    font-size: 48px;
  }

  .concept-text-main {
    font-size: 24px;
    letter-spacing: 4px;
    margin-bottom: 20px;
  }

  .concept-description {
    font-size: 14px;
    padding: 0 20px;
  }

  /* Feature */

  .reverse {
    flex-direction: column-reverse !important;
  }

  .section-feature {
    margin-top: -60px;
    padding: 100px 0 0;
  }

  .section-header {
    margin-bottom: 20px;
  }

  .section-feature .section-title-en {
    font-size: 48px;
  }

  .feature-subtitle {
    font-size: 18px;
    margin-bottom: 0;
  }

  .feature-item {
    margin-bottom: 30px;
  }

  .feature-list {
    margin-top: 30px;
  }

  .feature-number {
    position: static;
    transform: none;
    width: 100%;
    justify-content: flex-start;
    padding: 15px 20px;
    margin-bottom: 20px;
    right: auto !important;
    left: auto !important;
    top: auto !important;
    bottom: auto !important;
    background-color: #c2ac8c;
  }

  .item-01 .feature-number,
  .item-02 .feature-number,
  .item-05 .feature-number {
    transform: none;
    margin: -10px;
  }

  .item-02 .feature-number {
    background-color: #b0a99f;
  }

  .item-05::before {
    width: 100%;
    left: 0;
    transform: none;
  }

  .vector-shape,
  .group-shape {
    display: none;
  }

  .qa-containar {
    width: 100%;
    margin: 0;
  }

  .feature-number {
    font-size: 24px;
  }

  .feature-content {
    flex-direction: column;
    gap: 20px;
  }

  .feature-points {
    gap: 10px;
    margin-top: 20px;
  }

  .point-circle {
    width: 100px;
    height: 100px;
    border: 1px solid #000;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 16px;
    line-height: 1.5;
    background-color: transparent;
    position: relative;
  }

  .point-circle::before {
    top: 0px;
    right: 14px;
    transform: rotate(45deg);
  }

  .point-circle::after {
    bottom: 0px;
    left: 14px;
    transform: rotate(45deg);
  }

  .feature-image {
    width: 90%;
    padding: 0 20px;
  }

  .feature-image img {
    margin: 0;
  }

  .feature-desc {
    padding: 0 20px;
  }

  .feature-desc h4 {
    font-size: 20px;
    text-align: center;
  }

  .feature-desc p {
    font-size: 14px;
  }

  .feature-row-3-4 {
    flex-direction: column;
    gap: 20px;
    margin: 0
  }

  .item-03,
  .item-04 {
    width: 100%;
  }

  .item-03 .feature-content,
  .item-04 .feature-content {
    height: 400px;
  }

  .feature-text-overlay {
    width: 80%;
    padding: 20px;
  }

  .feature-num-title {
    font-size: 32px;
    margin: 0;
  }

  .feature-text-overlay h4 {
    font-size: 20px;
    margin: 0 0 20px;
  }

  /* Flow */
  .section-flow {
    padding: 50px 0;
  }

  .section-flow .section-title-en {
    font-size: 60px;
  }

  .flow-steps {
    padding: 0 20px;
  }

  .flow-step,
  .flow-step-page {
    flex-direction: column;
    padding: 30px 20px;
    text-align: center;
  }

  .step-header {
    margin-right: 0;
    margin-bottom: 20px;
  }

  .step-label {
    font-size: 36px;
  }

  .step-header h4 {
    font-size: 20px;
    margin-bottom: 0;
  }

  .step-line {
    display: none;
  }

  .step-image {
    margin-left: 0;
    margin-top: 20px;
  }

  .step-content p {
    font-size: 14px;
    text-align: left;
  }

  /* Doctor */

  .section-doctor {
    position: relative;
  }

  .section-doctor::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url(img/rectangle34.webp);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    opacity: 0.2;
    z-index: -1;
  }

  .doctor-bg {
    display: none;
  }

  .doctor-content {
    flex-direction: column;
    padding: 0 20px;
  }

  .doctor-image {
    width: 100%;
  }

  .doctor-deco {
    width: 224px;
    height: 100px;
  }

  .doctor-name {
    width: 100%;
    padding: 10px 0;
  }

  .doctor-name .jp {
    font-size: 24px;
  }

  .doctor-name .en {
    font-size: 14px;
  }

  .doctor-title h3 {
    font-size: 24px;
  }

  .doctor-text {
    font-size: 14px;
    margin-bottom: 0;
  }

  /* Medical */
  .medical-header {
    height: 250px;
  }

  .section-medical .section-title-en {
    font-size: 48px;
  }

  .medical-subtitle {
    font-size: 16px;
  }

  .medical-list-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 10px;
    width: 90%;
  }

  .medical-list {
    width: auto;
    padding-left: 0;
    margin-bottom: 20px;
  }

  .medical-item {
    font-size: 16px;
    margin-bottom: 0px;
  }

  /* Gallery */

  .gallery-deco {
    width: 200px;
    height: 150px;
  }

  .gallery-deco-left,
  .gallery-deco-right {
    top: 0;
    width: 120px;
  }

  .gallery-title {
    font-size: 60px;
  }

  .gallery-item {
    width: 200px;
    height: 200px;
  }

  .section-gallery {
    padding: 56px 0 0px;
  }

  /* Footer */
  .footer-top {
    flex-direction: column;
    gap: 40px;
    margin-bottom: 20px;
  }

  .footer-address {
    font-size: 14px;
    margin: 0 0 20px;
  }

  .footer-btns {
    flex-direction: column;
    align-items: center;
  }

  .tel-btn,
  .web-btn {
    font-size: 16px;
    max-width: 250px;
  }

  .footer-right {
    width: 100%;
    padding: 20px 10px;
    box-sizing: border-box;
  }

  .footer-schedule {
    width: 100%;
  }

  .footer-schedule table {
    width: 100%;
    table-layout: fixed;
  }

  .footer-schedule th,
  .footer-schedule td {
    padding: 8px 2px;
    font-size: 10px;
    white-space: nowrap;
    text-align: center;
  }

  .footer-schedule th:first-child,
  .footer-schedule td:first-child {
    width: 28%;
    white-space: nowrap;
  }

  .footer-schedule th:last-child {
    font-size: 9px;
    letter-spacing: -1px;
  }

  .footer-dental img {
    width: 100%;
    height: auto;
  }

  .schedule-notes p {
    margin: 5px 0;
    font-size: 11px;
    line-height: 1.5;
  }

  .footer-map {
    flex-direction: column-reverse;
    gap: 20px;
    height: auto;
    background: #fff;
    margin-bottom: 0;
    padding: 20px 0 0;
  }

  .map-area {
    width: 100%;
    height: 400px;
  }

  .access-area {
    width: 90%;
    margin: 0 auto;
    padding: 0;
  }

  .access-img {
    margin-bottom: 10px;
  }

  .access-address {
    font-size: 14px;
    margin-bottom: 10px;
  }

  .footer-bottom {
    padding: 0 20px 20px;
  }

  .footer-bottom a {
    font-size: 14px;
  }

  .sitemap-list,
  .medical-links {
    grid-template-columns: 1fr 1fr;
  }

  .copyright {
    font-size: 12px;
  }

  /* 下層ページ */
  .page-header {
    top: 102px;
    width: 100%;
  }

  .page-title-jp {
    font-size: 32px;
  }

  .page-title-en {
    font-size: 24px;
  }

  .symptoms-check-grid {
    grid-template-columns: 1fr;
  }

  .flow-step-box,
  .day-step-box {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .flow-number,
  .day-step-left {
    margin-right: 0;
    min-width: auto;
  }

  .flow-line,
  .day-step-line {
    display: none;
  }

  .iol-box,
  .anesthesia-box {
    padding: 20px;
  }

  .medical-nav-section {
    padding: 30px 0;
    margin-bottom: 0;
  }

  .medical-content-block {
    padding: 0;
  }

  h3.section-subtitle {
    position: relative;
    background: #C2AC8C;
    color: #FFF;
    text-align: center;
    font-family: "Noto Serif JP";
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 120%;
    margin: 50px 0 20px;
    padding: 20px 0;
  }

  h4.medical-sub-title {
    font-size: 18px;
    line-height: 1.6;
  }

  h5.medical-sub-title {
    font-size: 18px;
    line-height: 1.6;
  }

  .medical-text {
    font-size: 16px;
    line-height: 2;
  }

  .medical-initial-symptoms {
    padding: 20px;
    margin: 20px 0;
  }

  .symptoms-title {
    font-size: 20px;
  }

  .symptom-item p {
    font-size: 16px;
  }

  .medical-qa {
    padding: 0;
  }

  .qa-item {
    font-size: 16px;
  }

  .medical-initial-flexible {
    display: block;
  }

  h4.section-subtitle {
    font-size: 18px;
    padding: 15px 0;
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
  }

  .lacrimal-symptoms {
    padding: 20px;
  }

  .page-cataract {
    padding-bottom: 0;
  }

  .equipment-item {
    width: 100%;
    height: auto;
  }

  .clinic-equipment,
  .clinic-doctor {
    padding: 50px 20px 1px;
  }

  .doctor-name-jp {
    font-size: 24px;
  }

  .equipment-list,
  .doctor-profile-area,
  .access-content-wrapper {
    gap: 20px;
    padding: 20px 0;
    margin: 0px auto;
  }

  .doctor-intro-text {
    font-size: 16px;
    margin-bottom: 0;
  }

  .doctor-specs-grid {
    width: 100%;
  }

  .box-content {
    font-size: 16px;
  }

  .access-map {
    /* flex: 1; */
    width: 90%;
  }

  .clinic-access {
    padding-bottom: 0;
  }

  .page-lacrimal {
    padding: 0 20px;
  }

  .lacrimal-intro {
    padding: 60px 0 0;
  }

  .lacrimal-epiphora {
    padding: 30px 0 0;
  }

  .lacrimal-dacryocystitis,
  .lacrimal-treatment {
    padding: 30px 0;
  }

  .treatment-method {
    margin-bottom: 0px;
  }



}