/* =============================== */
/*         RESPONSIVE CSS         */
/* =============================== */

/* Large screens - 1440px and below (combines old 1100px styles) */
@media (max-width: 1440px) {
   #aligner-plans>div {
	 left: -42vw;}
	
	.sr-grid {
    display: grid;
    gap: 1rem;
    font-family: "Kozuka Gothic Pr6N";
    justify-items: center;
    justify-content: space-evenly;
    grid-template-columns: repeat(3, minmax(25rem, 1fr));
    margin: auto;
		max-width: 90vw;}

}

@media (max-width: 1024px) {
  /* Menu page adjustments */
  #menuPage #elinesmile-intro .treatment-visual {
    flex-direction: column;
  }
  
  #menuPage #elinesmile-intro .visual-image-frame,
  #menuPage #elinesmile-intro .visual-description {
    flex: 1 1 100%;
  }

  #menuPage .before-after {
    flex-direction: column;
    align-items: stretch;
  }
  
  #menuPage .ba-gallery,
  #menuPage .plan-arrow,
  #menuPage .plan-button {
    margin-top: 1rem;
  }
  
  #menuPage .plan-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  #menuPage .plan-desc {
    margin-top: 0.5rem;
  }

  #menuPage #zirconia-intro .treatment-visual {
    flex-direction: column;
  }
  
  #menuPage #zirconia-intro .visual-image-frame,
  #menuPage #zirconia-intro .visual-description {
    flex: 1 1 100%;
  }

  #menuPage #pediatric-intro .pediatric-content {
    flex-direction: column;
  }
  
  #menuPage #pediatric-intro .pediatric-text {
    flex: none;
    width: 100%;
    padding: 2rem 1rem;
    writing-mode: horizontal-tb;
    text-align: center;
  }
  
  #menuPage #pediatric-intro .pediatric-image-frame {
    width: 100%;
    aspect-ratio: auto;
    min-height: 50vw;
  }
  
  #menuPage #pediatric-intro .pediatric-image-frame img {
    mix-blend-mode: normal;
  }

  #menuPage .ba-label-row {
    gap: 2rem;
    justify-content: center;
  }
  
  #menuPage .ba-image-row {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }
  
  #menuPage .before-after-divider {
    margin: 1.5rem 0;
  }
  
  #menuPage .label-arrow svg {
    width: 6rem;
  }

  #features .featuresGrid {
    grid-template-columns: repeat(2, 1fr);
  }

  #newsPage .news-container {
    flex-direction: column;
  }
  
  #newsPage .news-sidebar {
    order: -1;
    margin-bottom: 2rem;
  }

  /* Staff blocks (tablet styles from 900px) */
  .saiwai-block.director-block .saiwai-block-inner {
    flex-direction: column-reverse;
    text-align: center;
    padding: 4vw 2vw;
  }

  .saiwai-block.director-block .saiwai-block-img img {
    max-width: 80%;
    margin-bottom: 2rem;
  }

  .saiwai-block.chairman-block .saiwai-block-inner.reverse {
    flex-direction: column;
    text-align: center;
    padding: 4vw 2vw;
  }

      .saiwai-block.chairman-block .saiwai-block-img {
        width: 80vw;
        margin: auto;
    }

  .director-block .saiwai-block-inner,
  .chairman-block .saiwai-block-inner.reverse {
    flex-direction: column;
    text-align: center;
    padding: 4vw 2vw;
  }

  .director-block .saiwai-block-img,
  .chairman-block .saiwai-block-img {
    margin-bottom: 2rem;
  }

  .saiwai-block.staff-block .saiwai-block-inner {
    flex-direction: column;
    text-align: center;
    padding: 4vw 2vw;
  }

  .saiwai-block.staff-block .saiwai-staff-imgs {
    width: 80%;
    margin: 2rem auto 0;
  }

  .saiwai-block.staff-block .saiwai-staff-imgs img:nth-child(1),
  .saiwai-block.staff-block .saiwai-staff-imgs img:nth-child(2) {
    position: static;
    width: 100%;
    max-width: none;
    margin-bottom: 2rem;
  }

  .director-block::before,
  .director-block::after {
    display: none;
  }

  .director-block .saiwai-block-inner {
    flex-direction: column;
    text-align: left;
    padding: 6vw 4vw;
  }

  .director-block .saiwai-block-img {
    margin-bottom: 2rem;
  }

  .saiwai-header h2 {
    font-size: 5vw;
    margin-left: 4vw;
  }

  .saiwai-block-inner,
  .saiwai-block-inner.reverse {
    flex-direction: column;
    align-items: flex-start;
    padding: 6vw 5vw;
  }

  .saiwai-block-img,
  .saiwai-staff-imgs {
    margin-top: 2vw;
    flex-direction: row;
    gap: 4vw;
  }

  .saiwai-block-img img,
  .saiwai-staff-imgs img {
    width: 50vw;
    height: auto;
  }

  .chairman-bg-outer,
  .chairman-bg-inner {
    display: none;
  }

  .saiwai-block-inner.reverse {
    flex-direction: column;
    padding: 5vw 6vw;
    text-align: left;
  }

  .saiwai-block-img {
    width: 80%;
    margin-bottom: 2rem;
  }

  .sns-grid {
    grid-template-columns: 1fr;
    gap: 24px 0;
    padding: 0 16px;
  }
  
  .sns-title-bg {
    min-width: 0;
    max-width: 100%;
    font-size: 1.3rem;
    min-height: 80px;
    margin-bottom: 12px;
  }
  
  .sns-images {
    flex-direction: column;
    gap: 18px;
    align-items: center;
  }
  
  .sns-img-bg {
    min-width: 0;
    width: 100%;
    max-width: 340px;
    min-height: 180px;
    padding: 10px;
  }
  
  .sns-img-bg img {
    max-width: 100%;
    max-height: 220px;
  }

  .accessSection .access-inner {
    display: flex;
    flex-direction: column;
  }
  
  .accessSection .access-map,
  .accessSection .access-contact,
  .accessSection .address-block,
  .accessSection .hours-table {
    width: 100%;
    margin: auto 0;
  }
  
  .accessSection .hours-table thead {

  }
  
  .accessSection .hours-table,
  .accessSection .hours-table tbody tr {
    display: block;
    width: 100%;
  }
  
  .accessSection .hours-table td {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
  }

  .siteFooter .footer-inner {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }
  
  .siteFooter .footer-nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 2vw;
  }
  
  .siteFooter .footer-watermark {
    display: none;
  }
  
  .siteFooter .reserve-btn {
    border-radius: 1rem;
  }
	
	.quoteBanner {
   
    max-width: 100vw;
}
	.logo img {
    height: 3rem;
    margin-right: 2rem;
}
	
	.nav {
    display: flex
;
    gap: 1vw;
    flex: 1 1 auto;
}
	.hours {
    display: block;
    font-size: 0.65em;
    color: #888;
    /* margin-left: 0.5em; */
}
	.web-btn {
		padding: 0.5em 2.2em;}
	.menu-cards {
    max-width: 90vw;
}
	.menu-row {
    display: flex
;
    align-items: stretch;
    margin-bottom: 1vw;
    gap: 3vw;
    margin-right: auto;
    margin-left: auto;
    flex-direction: column;
}
	.menu-img img
Specificity: (0,1,1)
 {
    width: 100%;
    max-width: 80vw;
  
}
	.menu-article {
    flex: 1 1 0;
    min-width: 0;
    display: flex
;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
    position: relative;
    border: 0.12vw solid var(--gold);
    background: transparent;
    border-radius: 0;
    padding: 5vw;
    padding-left: 5vw;
    margin-right: 4vw;
    margin-left: 0vw;
    min-width: 320px;
    max-width: 80vw;
    z-index: 3;
    align-items: center;
    align-content: center;
    flex-wrap: nowrap;
}
	.menu-article .menu-btn {
    padding-top: 1.5vw;
}
	.menu-row.reverse {
    flex-direction: column;
}
	.norightmargin {
    margin-right: 0vw !important;
    margin-left: 0vw !important;
}
	.saiwai-block.director-block .saiwai-block-text {
    flex: 1 1 0;
    max-width: 80vw;
    margin-top: -3rem;
    display: flex
;
    flex-direction: column;
    align-items: center;
}
	.saiwai-block.director-block .saiwai-btn {
    max-width: 25vw;
}
	.saiwai-block.chairman-block .saiwai-block-inner.reverse {
    position: relative;
    z-index: 1;
    display: flex
;
    justify-content: center;
    margin: 0 auto;
    margin-top: 3vw;
    padding: 5vw 4vw;
    gap: 4vw;
    max-width: 80vw;
    flex-direction: column;
    align-items: center;
    align-content: center;
}
	.saiwai-block.chairman-block .saiwai-block-img {
    flex: 0 0 auto;
    width: 25vw;
    max-width: 100vw;
    /* aspect-ratio: 9 / 16; */
    overflow: hidden;
    /* border-radius: 1rem; */
    /* box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05); */
    height: auto;
}
	.saiwai-block.chairman-block .saiwai-block-img img {
    /* width: 100%; */
    /* height: 100%; */
    object-fit: fill;
    display: block;
    max-width: 80vw;
    /* aspect-ratio: 9 / 16; */
		margin: auto;
}
	.saiwai-block-text {
    max-width: 80vw;
    display: flex
;
    flex-direction: column;
    align-items: center;
}
	#topPage>section.saiwai-section>div.saiwai-block.chairman-block>div.saiwai-block-inner.reverse>div.saiwai-block-text>a {
    display: flex
;
    margin-top: 2rem;
    border: 1px solid #d6c79a;
    background: transparent;
    color: #d6c79a;
    padding: 1rem 3rem;
    font-family: var(--font-jp);
    font-size: 1rem;
    text-decoration: none;
    transition: background .2s, color .2s;
    flex-direction: column;
    max-width: 25vw;
    align-content: center;
    align-items: center;
}
	
	
	
	
	
	
	
	
	
}

/* Tablets - 768px and below (combines old 800px small tablet styles) */
@media (max-width: 768px) {

  #mobileHeader,
  .headerInner,
  #mobileNav,
  .navLinks a,
  .contactCard {
    box-sizing: border-box;
  }
.hamburger.open .hamburger__bars span:nth-child(1) {
        transform: translateY(0.55rem) rotate(45deg);
    }
.hamburger.open .hamburger__bars span:nth-child(2)
Specificity: (0,4,1)
 {
        opacity: 0;
    }
    .hamburger.open .hamburger__bars span:nth-child(3) {
        transform: translateY(-0.55rem) rotate(-45deg);
    }
  /*──────────────────────────────────────────────────────────────────────────────
    Mobile Header Bar
  ──────────────────────────────────────────────────────────────────────────────*/
  #mobileHeader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: #fff;
    border-bottom: 1px solid #eee;
    z-index: 1000;
  }

  .headerInner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
    padding-right: 0;
  }

  .mobileLogo img {
    height: 2.3rem;
  }

  /*──────────────────────────────────────────────────────────────────────────────
    Hamburger Button
  ──────────────────────────────────────────────────────────────────────────────*/
  .hamburger {
    width: 3.5rem;
    height: 3rem;
    background: #BEAE7A;
    border: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 1001;
    padding: 0;
  }

  .hamburger__bars {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 1.25rem;
    padding: 0 0.5rem;
  }

  .hamburger__bars span {
    display: block;
    width: 2rem;
    height: 0.15rem;
    background: #fff;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .hamburger__label {
    margin-top: 0.25rem;
    font-family: "Kozuka Gothic Pr6N", sans-serif;
    font-size: 0.6rem;
    color: #fff;
    text-transform: uppercase;
    line-height: 1;
  }

  /*──────────────────────────────────────────────────────────────────────────────
    Slide-in Navigation Panel
  ──────────────────────────────────────────────────────────────────────────────*/
  #mobileNav {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    background: #faf8f2;
    overflow-y: auto;
    z-index: 1000;
    margin-right: 0;
    padding-right: 0;
    padding: 1rem;
    max-width: 100%;
    box-sizing: border-box;
  }

  #mobileNav.open {
    transform: translateX(0);
  }

  /*──────────────────────────────────────────────────────────────────────────────
    Navigation Links
  ──────────────────────────────────────────────────────────────────────────────*/
  .navLinks {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 4rem 0;
  }

  .navLinks a {
    text-decoration: none;
    margin: auto;
    width: 60vw;
    text-align: center;
    color: #352302;
    font-size: 1.125rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid #706542;
  }

  /*──────────────────────────────────────────────────────────────────────────────
    Contact Card
  ──────────────────────────────────────────────────────────────────────────────*/
  .contactCard {
    background: #fff;
    padding: 2rem;
    border-radius: 0.5rem;
    margin-bottom: 2rem;
    width: 70vw;
    margin: auto;
    -webkit-box-shadow: -2px -1px 13px 5px rgba(0, 0, 0, 0.56);
  }

  .contactLabel {
    font-size: 0.875rem;
    color: #3A2E1B;
    margin-bottom: 0.5rem;
    text-align: center;
  }

  .webBtn {
    display: block;
    background: #D6C17E;
    color: #fff;
    text-align: center;
    padding: 0.75rem;
    border-radius: 1rem;
    margin-bottom: 1rem;
    width: 55vw;
    margin: auto;
    text-decoration: none;
    margin-bottom: 4vw;
  }

  .phone {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    color: #352302;
    justify-content: center;
  }

  .phoneIcon {
    font-size: 1.25rem;
  }

  /*──────────────────────────────────────────────────────────────────────────────
    Hours Table
  ──────────────────────────────────────────────────────────────────────────────*/
  .hoursTable {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
  }

  .hoursTable th,
  .hoursTable td {
    border: 1px solid #ddd;
    padding: 0.5rem;
    text-align: center;
    font-size: 0.875rem;
  }

  .desktop {
    display: none;
  }

  /* Hamburger animation */
  .hamburger.open .hamburger__bars span:nth-child(1) {
    transform: translateY(0.55rem) rotate(45deg);
  }

  .hamburger.open .hamburger__bars span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.open .hamburger__bars span:nth-child(3) {
    transform: translateY(-0.55rem) rotate(-45deg);
  }

  .hamburger.open .hamburger__label {
    color: #fff;
  }

  html,
  body {
    overflow-x: hidden;
  }

  .mobileNav {
    overflow-x: hidden;
  }

  /* Carousel adjustments for mobile */
  .carouselWrapper {
    width: 100vw;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .carouselWrapper::-webkit-scrollbar {
    display: none;
  }

  .carousel {
    display: flex;
  }

  .carouselItem {
    flex: 0 0 auto;
    width: 60vw;
    margin: 0 20vw;
    scroll-snap-align: center;
    box-sizing: border-box;
  }

  .carouselPrev,
  .carouselNext {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 2.5rem;
    height: 2.5rem;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
    font-size: 1.5rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
  }

  .carouselPrev {
    left: 1rem;
  }

  .carouselNext {
    right: 1rem;
  }

  /* General mobile styling */
  .heroTitle {
    font-size: 6vw;
  }

  .mobile {
    display: block !important;
  }

  .heroSubtitle {
    font-size: 3vw;
  }

  .quoteText {
    font-size: 3.5vw;
  }

  .carouselItem {
    flex: 0 0 90vw;
  }

  .headingText {
    font-size: 4vw;
  }

  .staffCard {
    width: 90vw;
    max-width: 90vw;
  }

  .ctaButton {
    width: 90vw;
    font-size: 4vw;
  }

  .reviewsButton {
    font-size: 3.5vw;
    padding: 2vw 4vw;
  }

  .sectionTitle {
    font-size: 5vw;
  }

  .clinicDescription {
    font-size: 3.2vw;
    max-width: 90vw;
  }

  .sectionButton {
    font-size: 3.5vw;
    padding: 2vw 4vw;
  }

  .clinicAddress {
    font-size: 3.2vw;
  }

  .contactButton {
    font-size: 3.5vw;
    padding: 2vw 4vw;
  }

  .siteFooter small {
    font-size: 2.5vw;
  }

  /* Small tablet styles from 800px */
  .clinic-top {
    flex-direction: column;
    gap: 24px;
    padding-left: 0;
  }

  .clinic-gallery {
    flex-direction: column;
    gap: 18px;
    padding-left: 0;
    margin-left: 0;
  }

  .side-title {
    position: static;
    writing-mode: horizontal-tb;
    text-align: center;
    width: 100%;
    height: auto;
    margin: 24px 0 0 0;
    font-size: 1.5rem;
  }

  .news-grid {
    grid-template-columns: 1fr;
    gap: 24px 0;
    padding: 0 16px;
  }
  
  .news-header-title {
    margin-top: 0;
    align-items: flex-start;
  }

  #clinic-points.points {
    flex-direction: column;
    gap: 3rem;
    padding: 3rem 5vw;
  }

  #clinic-points .point-item {
    flex: 1 1 100%;
  }

  #clinic-points .point-image {
    max-width: 100%;
    margin-bottom: 1rem;
  }

  .equipment-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .equipment-extra {
    grid-template-columns: 1fr;
  }

  .equipment-extra-item .extra-image,
  .equipment-extra-item .extra-desc,
  .equipment-extra-info {
    max-width: 100%;
  }

  .space-content {
    gap: 2rem;
  }

  .space-item {
    flex-direction: column !important;
  }

  .space-item .item-image,
  .space-item .item-text {
    flex: 1 1 100%;
    margin-top: 0 !important;
  }

  #space .space-content {
    gap: 2rem;
  }

  #space .space-item {
    flex-direction: column !important;
  }

  #space .item-image,
  #space .item-text {
    flex: 1 1 100%;
    margin-top: 0;
  }

  #space .space-item.reversed .item-text {
    margin-left: 0;
    margin-right: 0;
  }

  .desktopOnly {
    display: none;
  }

  .mobileOnly {
    display: block;
  }

  .mobileCard {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
  }

  .reviewsMobile {
    position: relative;
    width: 100vw;
    overflow: hidden;
    padding: 2rem 0;
    box-sizing: border-box;
  }

  .reviewsMobileContainer {
    display: flex;
    transition: transform 0.5s ease;
  }

  .mobileCard {
    flex: 0 0 80vw;
    margin: 0 13vw;
    background: #fff;
    border-radius: 0.5rem;
    padding: 1rem;
    box-sizing: border-box;
    text-align: center;
    height: 80vw;
  }

  .mobileCard .avatar {
    max-width: 14rem;
    width: 6rem;
    max-height: 8rem;
    height: 6rem;
    border-radius: 50%;
    margin-bottom: 0.5rem;
    margin: auto;
    margin-top: -1rem;
  }

  .mobileCard .reviewerName {
    font-weight: bold;
    margin-bottom: 0.25rem;
  }

  .mobileCard .reviewDate {
    font-size: 0.875rem;
    color: #A08F7A;
    margin-bottom: 0.5rem;
  }

  .mobileCard .stars {
    color: #D6C17E;
    margin-bottom: 0.75rem;
  }

  .mobileCard .reviewText {
    font-size: 0.7rem;
    line-height: 1.2;
    text-align: justify;
  }

  .mobileNavBtn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
    border: none;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
  }

  #mobilePrev {
    left: 1rem;
  }

  #mobileNext {
    right: 1rem;
  }

  .mobileFooter {
    background: #F7F1DE;
    padding: 2rem 5vw;
    padding-right: 0;
    padding-left: 0;
  }

  .footerInnerMobile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }

  .footerWatermark {
    font-family: "Hiragino Mincho Pro", serif;
    font-size: 1.875rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    width: 100%;
  }

  .linksReserveGrid {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: repeat(3, auto);
    gap: 1.5rem;
    width: 100%;
  }

  .footerNavMobile ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    row-gap: 1.5rem;
    column-gap: 2rem;
    list-style: none;
    margin: 0;
    margin-left: 3rem;
    padding: 0;
  }

  .footerNavMobile a {
    text-decoration: none;
    color: #352302;
    font-size: 1rem;
    width: 30vw;
    padding-bottom: 0.25rem;
    border-bottom: 1px solid #D6C17E;
    display: inline-block;
  }

  .reserveWrapper {
    display: flex;
    position: fixed;
    bottom: 1.5rem;
    right: 0;
    width: 45vw;
    height: 25vw;
    margin: 0;
    padding: 0;
    z-index: 2000;
  }

  .reserveBtn {
    display: block;
    background: rgba(214, 193, 122, 0.7);
    color: #fff;
    text-decoration: none;
    padding: 2rem 4rem;
    margin-right: -3.5rem;
    margin-bottom: 8rem;
    border-radius: 4rem;
    font-family: "Kozuka Gothic Pr6N", sans-serif;
    font-size: 1rem;
    text-align: center;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.2);
    transition: background 0.2s, opacity 0.2s;
  }

  .reserveBtn:hover {
    background: rgba(214, 193, 122, 0.9);
    opacity: 1;
  }

  .footerLogoMobile img {
    max-width: 10rem;
    height: auto;
  }

  .footerCopyMobile {
    font-size: 0.875rem;
    color: #352302;
    text-align: center;
  }
}

/* Mobile devices - 640px and below (combines 700px, 600px, and 40rem styles) */
@media (max-width: 640px) {
  .side-title {
    font-size: 6vw;
    padding-top: 10vw;
    position: relative;
    top: 50vw;
    left: -41vw;
  }

  .jp-title {
    font-size: 4vw;
  }

  .en-title {
    font-size: 2vw;
  }

  .menu-card {
    width: 90vw;
    min-width: unset;
    font-size: 3vw;
    padding: 5vw 2vw 4vw 2vw;
  }

  .menu-card .icon-bg {
    width: 12vw;
    height: 12vw;
  }

  .menu-card .icon {
    font-size: 6vw;
  }

  .menu-card .jp {
    font-size: 3vw;
  }

  .menu-card .en {
    font-size: 2.5vw;
  }

  .menu-article h4 {
    font-size: 3vw;
  }

  .menu-article p,
  .menu-article .menu-btn {
    font-size: 0.9rem;
  }

  .menu-article {
    padding: 6vw 3vw;
  }

  .mapWrapper {
    height: 60vw;
  }

  .recruit-bg {
    width: 100%;
    border-radius: 18px;
    min-height: 100px;
  }

  .recruit-content {
    padding: 24px 0;
  }

  .recruit-vertical-title {
    display: none;
  }

  /* 600px styles */
  .carouselWrapper {
    overflow-x: hidden;
  }

  .carousel {
    gap: 1rem;
  }

  .carouselItem {
    flex: 0 0 100vw !important;
  }

  .mobile {
    display: block;
  }

  #menuPage .hero-section .hero-content {
    padding: 0.75rem 1rem;
    width: 90%;
  }

  /* 40rem (640px) styles */
  #features .featuresGrid {
    grid-template-columns: 1fr;
  }
}

/* Small mobile devices - 480px and below */
@media (max-width: 480px) {
  .access-inner {
    flex-direction: column;
    margin: 1rem auto;
    gap: 1.5rem;
  }
    #topPage>section.saiwai-section>div.saiwai-block.staff-block>div.saiwai-block-inner>div.saiwai-staff-imgs>img:nth-child(2) {
        width: 80vw;
        max-width: 100vw;
        height: auto;
        margin-top: 3vw;
    }
	    #topPage>section.saiwai-section>div.saiwai-block.staff-block>div.saiwai-block-inner>div.saiwai-staff-imgs>img:nth-child(3) {
        width: 60vw;
        position: relative;
        top: -15vw;
        left: 40%;
    }
  .access-map iframe {
    height: 200px;
  }

  .access-address p {
    font-size: .85rem;
  }

  .access-info-list {
    font-size: .85rem;
  }

  .sr-grid {
    grid-template-columns: 1fr;
    max-width: 90vw;
  }

  .sr-card {
    padding: 1rem;
    border-radius: 0;
  }

  .menu-content {
    margin-top: -5vw;
    display: flex;
    align-items: center;
    justify-content: space-around;
    align-content: center;
    flex-wrap: wrap;
    flex-direction: column;
  }

  .menu-card .icon-bg {
    width: 18vw;
    height: 18vw;
    margin-bottom: 2vw;
  }

  .menu-article h4 {
    margin-bottom: 5vw;
    font-size: 1rem;
  }

  .menu-article p,
  .menu-article .menu-btn {
    height: auto;
    padding: 3vw;
  }

  .menu-row.reverse {
    display: flex;
    flex-direction: column-reverse;
  }

  #topPage>section.saiwai-section>div.saiwai-header>h2 {
    font-size: 2rem;
    width: 100vw;
    top: -15vw;
    left: -5vw;
    letter-spacing: 0.5vw;
  }

  .saiwai-block.director-block .saiwai-block-text {
    max-width: 80vw;
    display: flex;
    text-align: justify;
    flex-direction: column;
  }

  .saiwai-block.director-block .saiwai-block-inner {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    margin: auto;
  }

  .director-block .saiwai-block-img {
    margin: auto;
  }

  .saiwai-block.director-block .saiwai-block-img img {
    max-width: 80vw;
    margin-top: 2rem;
    margin-bottom: -2rem;
  }

  .saiwai-block.director-block .saiwai-btn {
    display: flex;
    flex-direction: row;
    text-orientation: sideways;
    max-width: 45vw;
    margin-top: -1vw;
    margin-bottom: 2vw;
  }

  .saiwai-block.chairman-block .saiwai-block-img {
    max-width: 80vw;
    margin: auto;
    height: 80vw;
  }

  .saiwai-block.chairman-block .saiwai-block-img img {
    max-width: 60vw;
    width: 60vw;
    margin: auto;
  }

  .saiwai-block-text h3 {
    margin-top: 2vw;
  }

  #topPage>section.saiwai-section>div.saiwai-block.chairman-block>div.saiwai-block-inner.reverse>div.saiwai-block-text>a {
    max-width: 50vw;
    margin-bottom: 5vw;
  }

  #topPage>section.saiwai-section>div.saiwai-block.staff-block>div.saiwai-block-inner>div.saiwai-block-text>a {
    max-width: 50vw;
    margin-bottom: 5vw;
  }

  .saiwai-block.staff-block .saiwai-block-inner {
    display: flex;
    padding: 0;
    flex-direction: column-reverse;
  }

  .saiwai-block.staff-block .saiwai-staff-imgs {
    width: 100vw;
    height: 120vw;
  }

  #topPage>section.saiwai-section>div.saiwai-block.staff-block>div.saiwai-block-inner>div.saiwai-staff-imgs>div {
    display: flex;
    margin: auto;
    margin-top: 2rem;
  }

  #topPage>section.saiwai-section>div.saiwai-block.staff-block>div.saiwai-block-inner>div.saiwai-staff-imgs>img:nth-child(2) {
    width: 80vw;
    max-width: 100vw;
    height: auto;
    margin-top: 3vw;
  }
    #topPage>section.saiwai-section>div.saiwai-block.staff-block>div.saiwai-block-inner>div.saiwai-staff-imgs>img:nth-child(2) {
        width: 80vw;
        max-width: 100vw;
        height: auto;
        margin-top: 3vw;
    }
  #topPage>section.saiwai-section>div.saiwai-block.staff-block>div.saiwai-block-inner>div.saiwai-staff-imgs>img:nth-child(3) {
    width: 60vw;
    position: relative;
    top: -15vw;
    left: 40%;
  }

  #topPage>section.saiwai-section>div.saiwai-block.staff-block>div.saiwai-block-inner>div.saiwai-block-text>p:nth-child(3) {
    margin-top: 8rem;
  }
    #topPage>section.saiwai-section>div.saiwai-block.staff-block>div.saiwai-block-inner>div.saiwai-staff-imgs>img:nth-child(3) {
        width: 60vw;
        position: relative;
        top: -15vw;
        left: 40%;
    }
  #clinicInfo>section.menu-section {
    display: flex;
    background: linear-gradient(0deg, #FFF 0%, #61A8D3 100%);
    flex-direction: column;
    margin-top: -4rem;
  }
  
  #topPage #clinicInfo>section.menu-section {
    display: flex;
    background: linear-gradient(0deg, #FFF 0%, #61A8D3 100%);
    flex-direction: column;
    margin-top: -1rem;
  }
  
  #clinicInfo>section.menu-section>div.clinic-top>div.clinic-image-stack>img.top-img {
    position: relative;
    left: -11vw;
    width: 80vw;
  }

  #clinicInfo .side2 {
    font-size: 3.1rem;
    top: 175vw;
    left: -82vw;
    width: 180vw;
  }

  #clinicInfo>section.menu-section>div.menu-header-inner>div.menu-header-title {
    margin-right: -1rem;
  }

  .clinic-gallery img {
    height: 30vw;
    width: 50vw;
  }

  .sns-title-bg span {
    margin: auto;
  }

  .recruit-bg img {
    width: 100%;
    position: absolute;
  }

  .accessSection .access-inner {
    width: 90vw;
    align-items: stretch;
  }

  .accessSection .access-map {
    max-height: 45vw;
    margin-top: 4vw;
  }

  .accessSection .address-block {
    margin-top: 2rem;
    margin-bottom: 2rem;
    font-size: 0.7rem;
    margin-left: 1rem;
  }

  .accessSection .address-block p {
    font-size: 0.9rem;
  }

  .accessSection .contact-card {
    width: 70vw;
    margin: auto;
  }

  .accessSection .contact-card .web-btn {
    font-size: 0.8rem;
    background: #D6C17E;
  }

  .accessSection .phone-icon {
    font-size: 2rem;
  }

  .phone-icon img {
    margin-top: 1vw;
    width: 2rem;
  }

  .accessSection .phone {
    font-size: 1.8rem;
    width: 64vw;
    margin-bottom: -3vw !important;
    margin-top: -1rem;
  }

  .accessSection .hours-table {
    display: table !important;
    grid-column: auto !important;
    grid-row: auto !important;
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 3rem;
    table-layout: fixed;
    margin-left: 0.2rem;
    font-size: 0.7rem;
    margin-top: 2rem;
  }

  .accessSection .hours-table th,
  .accessSection .hours-table td {
    display: table-cell !important;
    padding: 0.7rem;
    text-align: center;
    font-size: 0.7rem;
  }

  .accessSection .hours-table thead th {
    display: table;
    font-size: 0.7rem;
    padding: 0.7rem;
    margin-right: -0.5rem;
    text-align: center;
  }

  .accessSection .hours-table td:first-child {
    font-size: 0.7rem;
    padding-left: 0.6rem;
    text-align: center;
  }

  #access>div>table>thead>tr>th:nth-child(1) {
    padding-right: 1.4rem;
  }

  #access>div>table>tbody>tr {
    margin-top: 0.3rem;
    display: table;
    padding: 0.3rem;
    margin-left: -1.2vw;
  }

  #access>div>table>thead>tr {
    display: table;
    padding: 0.7rem;
    font-size: 0.7rem;
  }

  #access>div>table>tbody>tr:nth-child(2) {
    margin-left: -0.3rem;
  }

  .siteFooter .footer-inner {
    display: flex;
  }

  .reserveWrapper,
  .footer-reserve {

  }

  .reserveBtn {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 2000;
    background: rgba(214, 193, 122, 0.7);
    color: #fff;
    padding: 1rem 1.25rem;
    font-family: "Kozuka Gothic Pr6N", sans-serif;
    font-size: 1rem;
    border-radius: 2rem;
    text-decoration: none;
    text-align: center;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.2);
    transition: background .2s, opacity .2s;
  }

  .reserveBtn:hover {
    background: rgba(214, 193, 122, 0.9);
    opacity: 1;
  }

  /* Hero Section */
  #hero img {
    height: 57vw;
    object-fit: cover;
    margin-top: -1rem;
    margin-bottom: -1rem;
  }

  .heroVideo {
    margin-top: 0vw;
    height: 70vw;
  }

  #features {
    z-index: 999;
    position: relative;
  }

  .quoteBanner {
    width: 100vw;
    height: 6rem;
  }

  .quoteText {
    font-size: 1rem;
    text-align: center;
    margin: auto;
  }

  .carouselWrapper {
    width: 60vw;
    margin: auto;
    margin-bottom: 5vw;
  }

  #reviewsCarousel {
    width: 90vw;
  }

  .carouselItem {
    padding: 3vw 10vw;
    height: 70vw;
    margin-left: -5vw;
  }

  .avatar {
    max-width: 3rem;
    margin-bottom: 2vw;
  }

  .carouselItem .reviewText {
    -webkit-line-clamp: 4 !important;
    font-size: 0.7rem !important;
    overflow: visible !important;
    margin-top: 2vw !important;
    padding-top: 2vw !important;
    padding-right: 20vw;
    padding-left: 15vw;
    line-height: 1.5;
  }

  #carouselPrev {
    left: -10vw;
  }

  #carouselNext {
    right: -10vw;
  }

  .reviewsButton {
    width: 40vw;
    font-size: 2.5vw;
  }

  .staffTreatmentSection {
    padding-bottom: 20vw;
  }

  .staffHeadingGradient {
    height: 6rem;
  }

  .headingText {
    padding-right: 0;
  }

  .staffImages {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .staffImage {
    width: 80vw;
    margin: auto;
  }

  .ctaButton {
    margin-top: 3vw;
    font-size: 2.5vw;
    width: 40vw;
    padding: 2vw 4vw;
  }

  #treatment {
    display: flex;
    flex-direction: column;
    align-items: center;
    align-content: center;
    justify-content: center;
    margin-top: -23vw;
  }

  .side-title {
    transform: rotate(90.02deg);
    font-size: 2.5rem;
    top: 75vw;
    width: 180vw;
    padding-top: 0;
  }

  .menu-section {
    overflow: visible;
  }

  .menu-cards {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .menu-card {
    height: 50vw;
    width: 60vw;
    display: flex;
    flex-direction: column;
    border-radius: 24px;
    align-items: center;
    justify-content: center;
  }

  .menu-content {
    margin-top: 42rem;
  }

  .menu-row {
    margin: auto;
    width: 100vw;
    display: flex;
    flex-direction: column-reverse;
  }

  .reverse {
    display: flex;
  }

  .menu-img {
    width: 100vw;
    max-width: 100vw;
    margin: 0;
    padding: 0;
  }

  .menu-article {
    margin: 4vw;
  }

  .norightmargin {
    margin-left: 4vw !important;
    margin-right: 4vw !important;
  }

  .menu-bottom-btn {
    font-size: 0.9rem;
    padding: 3vw 7vw;
  }

  .saiwai-header {
    height: 7rem;
  }

  .saiwai-block-inner {
    margin: auto;
  }

  .saiwai-block-text {
    max-width: 70vw;
    text-align: justify;
  }

  #clinicInfo>div.imgwide>img {
    width: 100vw;
  }

  #clinicInfo {
    padding-bottom: 0;
    margin-top: -2vw;
  }

  #clinicInfo>section.menu-section>div.menu-header-inner {
    height: 30vw;
    background: none;
    display: flex;
    align-items: center;
    padding-right: 2rem;
  }

  .menu-header-line {
    margin-left: 10vw;
  }

  .jp-title {
    font-size: 1.4rem;
  }

  .en-title {
    font-size: 1.1rem;
  }

  .clinic-top {
    display: flex;
    flex-direction: column-reverse;
  }

  .clinic-text {
    width: 75vw;
    margin-bottom: 2rem;
  }

  .clinic-image-stack {
    max-width: 100vw;
    flex-wrap: nowrap;
    flex-direction: column;
  }

  .bottom-img {
    width: 80vw !important;
  }

  .clinic-gallery {
    display: flex;
    flex-direction: row;
    padding: 0;
    max-width: 150vw;
    width: 150vw;
    margin-left: 1vw;
    align-content: center;
  }

  #clinicInfo>section>div.clinic-top>div.clinic-text>h2 {
    font-size: 1.2rem;
  }

  .clinic-text p {
    font-size: 0.8rem;
  }

  #clinic .treatment-description-section {
    padding: 2rem 3rem;
  }

  #clinic>div>h2 {
    font-size: 1.2rem;
  }

  #clinic>div>p {
    font-size: 0.8rem;
  }

  .equipment-title {
    font-size: 1.4rem;
  }

  #news {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100vw;
    justify-content: center;
    align-content: center;
  }

  .news-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100vw;
    align-content: stretch;
  }

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

  .news-more-btn {
    margin-top: 5vw;
  }

  .news-list {
    width: 80vw;
  }

  .news-item {
    gap: 4px;
  }

  .news-date {
    font-size: 0.8rem;
    margin-right: -4vw;
  }

  .news-tag {
    font-size: 0.4rem;
  }

  .news-link {
    font-size: 0.7rem;
  }

  .snsSection {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .sns-title-bg {
    width: 80vw;
    height: 30vw;
    margin: auto;
  }

  .sns-img-bg {
    width: 46vw;
    border-radius: 0;
    height: 60vw;
  }

  .recruitSection {
    padding: 0;
    width: 100vw;
    max-width: 100vw;
    padding-top: 10vw;
  }

  .recruit-bg {
    border-radius: 0;
    width: 100vw;
    max-width: 100vw;
    height: 50vw;
    max-height: 50vw;
    padding: 0;
    margin: 0;
  }

  .recruit-content {
    border-radius: 0;
    width: 100vw;
    max-width: 100vw;
    padding: 0;
    background: none;
    margin: 0;
  }

  #access {
    padding: 5vw;
    padding-bottom: 3rem;
  }

  .contact-label {
    font-size: 0.7rem;
  }

  .phone {
    text-align: center;
    margin-bottom: 3vw !important;
    margin-left: -2rem;
  }

  .desktopOnly {
    display: none;
  }

  .mobileOnly {
    display: block;
  }

  .reviewsMobile {
    position: relative;
    width: 100vw;
    overflow: hidden;
    padding: 2rem 0;
    box-sizing: border-box;
  }

  .reviewsMobileContainer {
    display: flex;
    transition: transform 0.5s ease;
  }



  .mobileCard .avatar {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    margin-bottom: 0.5rem;
  }

  .mobileCard .reviewerName {
    font-weight: bold;
    margin-bottom: 0.25rem;
  }

  .mobileCard .reviewDate {
    font-size: 0.875rem;
    color: #A08F7A;
    margin-bottom: 0.5rem;
  }

  .mobileCard .stars {
    color: #D6C17E;
    margin-bottom: 0.75rem;
  }

  .mobileCard .reviewText {
    font-size: 0.875rem;
    line-height: 1.5;
  }

  .mobileNavBtn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
    border: none;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
  }

  #mobilePrev {
    left: 1rem;
  }

  #mobileNext {
    right: 1rem;
  }

  .equipment-subtitle {
    font-size: 1rem;
  }

  #clinic-points .point-text {
    font-size: 0.8rem;
  }

  .equipment-grid {
    width: 90vw;
  }

  .equipment-extra {
    width: 95vw;
    gap: 1vw;
    grid-template-columns: 1fr 1fr;
  }

  .equipment-extra-info {
    width: 45vw;
    padding: 2rem 0.5rem;
  }

  .equipment-extra-info .info-title {
    font-size: 1rem;
  }

  .equipment-extra-info .info-list li {
    font-size: 0.8rem;
    line-height: 1.4;
  }

  .equipment-extra-info .info-list {
    margin-left: 6vw;
  }

  .equipment-extra-info .info-note {
    font-size: 0.8rem;
  }

  .equipment-extra-item {
    max-width: 40vw;
  }

  .equipment-desc {
    font-size: 0.8rem;
  }

  #clinic .menu-header-inner {
    height: 30vw;
  }

  #space .space-content {
    width: 100vw;
    margin: 0;
    padding: 0;
    gap: 0;
    max-width: 100vw;
  }

  #space .space-item .item-image img {
    left: 0;
    width: 100vw;
  }

  #space .space-item .item-image {
    width: 100vw;
    left: 0;
  }

  #space .space-item .item-text {
    width: 90vw;
    margin: auto;
    margin-top: 2rem !important;
    padding: 2rem 3rem;
  }

  #space .item-title {
    font-size: 1.1rem;
  }

  #space .item-description {
    font-size: 0.8rem;
  }

  #space .space-item.reversed .item-text {
    max-width: 100vw;
    width: 90vw;
    margin: auto;
  }

  /* Staff Page specific styles */
  #staffPage #hero .hero-image {
    margin-top: 10vw;
    width: 170vw;
    object-fit: cover;
  }

  #staffPage #hero .hero-title {
    margin-top: 3rem;
  }

  #staffPage .saiwai-section .saiwai-header h2 {
    width: 100vw;
    font-size: 2.1rem;
    letter-spacing: 0.1vw;
    top: -3.5rem;
    left: -2rem;
  }

  #staffPage .saiwai-section .saiwai-block.director-block .saiwai-block-inner {
    gap: 0vw;
  }

  #staffPage .saiwai-section .saiwai-block.director-block .saiwai-block-text h3 {
    font-size: 1.5rem;
    height: 5rem;
  }

  #staffPage .saiwai-section .saiwai-block.director-block .saiwai-block-text p {
    font-size: 0.8rem;
    max-width: 80vw;
    width: 80vw;
  }

  #staffPage .saiwai-section .saiwai-block.director-block .saiwai-block-img {
    width: 100vw;
  }

  #staffPage .saiwai-section .saiwai-block.director-block .saiwai-block-img img {
    max-width: 60vw;
  }

  #staffPage .saiwai-section .saiwai-block.director-block .saiwai-block-img .saiwai-block-text h3 {
    font-size: 1.4rem;
    margin-top: 1rem;
  }

  #staffPage .saiwai-section .saiwai-block.director-block .saiwai-block-img .saiwai-block-text .subtitle {
    font-size: 1.1rem;
  }

  #staffPage .saiwai-section .saiwai-block.chairman-block .saiwai-block-img {
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    align-content: stretch;
  }

  #staffPage .saiwai-section .saiwai-block.chairman-block .saiwai-block-img .saiwai-block-text h3 {
    z-index: 999;
    font-size: 1.5rem;
  }

  #staffPage .saiwai-section .saiwai-block.chairman-block .saiwai-block-img .saiwai-block-text .subtitle {
    font-size: 1.1rem;
    text-align: center;
  }

  #staffPage .saiwai-section .saiwai-block.chairman-block .saiwai-block-text {
    max-width: 80vw;
    width: 80vw;
  }

  #staffPage .saiwai-section .saiwai-block.chairman-block .saiwai-block-text p {
    max-width: 80vw;
    width: 80vw;
  }

  #staffPage .saiwai-section #staffTag {
    width: 100vw;
    max-width: 100vw;
    height: auto;
  }

  #staffPage .saiwai-section #staffTag .saiwai-block-inner {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    align-content: center;
  }

  #staffPage .saiwai-section #staffTag .saiwai-block-text {
    width: 80vw;
    max-width: 80vw;
    margin: auto;
    margin-top: -3rem;
  }

  #staffPage .saiwai-section #staffTag .saiwai-block-img {
    max-width: 100vw;
    margin-right: 0;
    display: flex;
    flex-direction: column;
    padding-right: 2vw;
  }

  #staffPage .saiwai-section #staffTag .saiwai-block-img img {
    width: 80vw;
    max-width: 80vw;
    margin: auto;
  }

  #staffPage .saiwai-section #staffTag .saiwai-block-img .saiwai-block-text h3 {
    width: 80vw;
    height: 7rem;
  }

  #staffPage .staffRecruit {
    margin-top: -8rem;
  }

  #staffPage .staffRecruit .clinic-top .clinic-image-stack {
    max-width: 100vw;
    flex-wrap: nowrap;
    flex-direction: column;
  }

  #staffPage .staffRecruit .clinic-top .clinic-image-stack .top-img {
    position: relative;
    left: -11vw;
    width: 80vw;
  }

  #staffPage>div.side-title.side2 {
    font-size: 3.1rem;
    top: 145vw;
    left: -82vw;
    width: 180vw;
  }

  #staffPage>section.saiwai-section>div.saiwai-block.chairman-block>div.saiwai-block-inner.reverse>div.saiwai-block-text>h3 {
    font-size: 1.5rem;
  }

  .saiwai-block.director-block .saiwai-block-inner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    z-index: -1;
  }

  #aoyagiphoto {
    display: flex;
    align-items: center;
    flex-direction: column;
    align-content: center;
  }

  #aoyagiphoto img {
    position: static !important;
    width: 70vw !important;
  }

  #clinic #clinicInfo .side2 {
    font-size: 3rem;
    top: 75vw;
    left: -82vw;
    width: 180vw;
  }

  /* Access Page specific styles */
  #accessPage .accessSection .access-map {
    display: flex;
    aspect-ratio: 1 / 1;
    max-height: 80vw;
    height: 80vw;
    width: 80vw;
    max-width: 80vw;
    align-items: center;
    justify-content: center;
    margin-top: -4rem;
  }

  #accessPage .accessSection .access-contact {
    display: flex;
    justify-content: space-evenly;
    flex-direction: column-reverse;
    align-content: center;
    align-items: center;
    max-width: 100vw;
    gap: 5vw;
    width: 80vw;
  }

  #accessPage .accessSection .contact-card {
    flex: 10vw;
    max-width: 90vw;
    margin-bottom: 3rem;
  }

  #accessPage .accessSection .hours-table {
    flex: 40vw;
    max-width: 100vw;
    max-height: 10vw;
  }

  #accessPage .saiwai-header h2 {
    background: none;
    top: -3.5rem;
    font-size: 2rem;
    z-index: 999;
    width: 90vw;
    letter-spacing: 0.2vw;
  }

  #accessPage > section.accessSection > div.accessPage-inner > div.access-contact > table > thead > tr > th:nth-child(1) {
    width: 20vw;
  }

  #accessPage > section.accessSection > div.accessPage-inner > div.access-contact > table > tbody > tr > td:nth-child(1) {
    width: 20vw;
    margin-left: 0;
    padding-left: 0;
  }

  .doctor-thought {
    flex-direction: column;
    margin: 2rem auto;
    gap: 1.5rem;
  }

  #accessPage #hero {
    margin-top: 10vw;
    margin-bottom: -1rem;
  }

  #access > div > table > thead > tr {
    margin-left: 1rem;
  }

  .doctor-thought__img {
    flex: none;
    width: 100%;
  }

  .doctor-thought__text h2 {
    font-size: 1.5rem;
    text-align: center;
  }

  .doctor-thought__text p {
    font-size: 0.8rem;
  }

  .sr-heading {
    font-family: "Hiragino Mincho Pro", serif;
    font-size: 1.2rem;
    font-weight: 300;
    color: #3a2e1b;
    text-align: center;
    margin: auto;
    margin-bottom: 0.5rem;
  }

  .sr-card-img img {
    width: 100%;
    height: 50vw;
    aspect-ratio: 16/9;
    object-fit: cover;
    object-position: 50% 25%;
    margin-bottom: 1rem;
  }

  .sr-card-text {
    color: #000;
    font-family: "Kozuka Gothic Pr6N";
    font-size: 0.8rem;
    line-height: 2;
    padding-bottom: 1rem;
  }
}