@charset "UTF-8";

/* Font Imports */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;600;700&display=swap');

/* Reset CSS */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Base Body Styles */
body {
    font-family: 'Noto Sans JP', sans-serif;
    color: #4a5568;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    transition: background-image 2s ease-in-out;
}

/* Pink Header */
.pink-header {
    width: 100%;
    height: 8vh;
    background-color: #f09dc1;
    z-index: 0;
}

/* Movable White Header */
.movable-white-header {
    position: fixed;
    left: 50%;
    top: 1vh;
    transform: translateX(-50%);
    width: 95%;
    height: 6vh;
    background-color: white;
    z-index: 1001;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    transition: top 0.3s ease-out, opacity 0.3s ease-out;
}

@media (max-width: 480px) {
    .movable-white-header {
        width: 95%;
        padding: 0 10px;
        border-radius: 5px;
    }
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-container img {
    height: 30px;
}

/* Desktop Navigation */
.nav-contact-wrapper {
    display: none;
}

@media (min-width: 1024px) {
    .nav-contact-wrapper {
        display: flex;
        align-items: center;
    }
}

.nav-list {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 1rem;
}

.nav-link {
    padding: 10px 15px;
    color: #4a5568;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 700;
    transition: color 0.2s ease-in-out;
}

.nav-link:hover {
    color: #f09dc1;
}

/* Dropdown Menu */
.has-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    padding: 10px 0;
    min-width: 250px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out, visibility 0.3s;
    z-index: 100;
    overflow: hidden;
}

.nav-item.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 12px 25px;
    color: #4a5568;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
    border-bottom: 1px solid #eee;
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background-color: #fde6f0;
    color: #e91e63;
    transform: translateX(5px);
}

/* Contact Icons */
.contact-icons-wrapper {
    display: flex;
    align-items: center;
    padding-left: 1.5rem;
    margin-left: 1.5rem;
    border-left: 1px solid #d1d5db;
}

.contact-icon {
    margin-left: 20px;
    font-size: 1.5rem;
    color: #4a5568;
    transition: color 0.2s ease-in-out;
}

.contact-icon:first-child {
    margin-left: 0;
}

.contact-icon-lg-block {
    display: none;
}

@media (min-width: 1024px) {
    .contact-icon-lg-block {
        display: block;
    }
}

.contact-icon:hover {
    color: #f7b2c0;
}

/* Mobile Menu */
.hamburger-button {
    display: block;
    color: #4a5568;
    outline: none;
    border: solid 0;
    background-color: #ffffff;
}

.hamburger-button i {
    font-size: 1.8rem;
}

@media (min-width: 1024px) {
    .hamburger-button {
        display: none;
    }
}

.mobile-menu-overlay {
    position: fixed;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 4rem 0 8rem 0;
    transition: top 0.5s ease-in-out, opacity 0.5s ease-in-out;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    overflow-y: auto; /* ここを追加します */
    -webkit-overflow-scrolling: touch; /* iOSでのスムーズなスクロールのため */
}

.mobile-menu-overlay.open {
    top: 0;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mobile-menu-overlay .close-button {
    position: fixed;
    top: 20px;
    right: 20px;
    font-size: 1.8rem;
    color: #4a5568;
    cursor: pointer;
    z-index: 2001;
    background-color: #ffffff;
    border: solid 0;
}

#hamburger-button {
    z-index: 2001;
}

.mobile-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

.mobile-nav-list li {
    margin-bottom: 0;
    border-bottom: 1px solid #eee;
}

.nav-link-mobile {
    display: block;
    padding: 15px;
    font-size: 1rem;
    color: #4a5568;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.5s ease-in-out;
}

.nav-link-mobile:hover {
    color: #f7b2c0;
}

.mobile-nav-item-dropdown .nav-link-mobile {
    display: flex;
    align-items: center;
}

.mobile-nav-item-dropdown .nav-link-mobile i {
    font-size: 0.875rem;
    margin-left: auto;
    transition: transform 0.3s ease-in-out;
}

/* Mobile Dropdown Menu */
#mobile-dropdown-menu {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, opacity 0.3s ease-out;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.5rem;
    width: 100%;
}

#mobile-dropdown-menu.open {
    max-height: 500px;
    opacity: 1;
}

.dropdown-item-mobile {
    display: block;
    padding: 15px;
    font-size: 1rem;
    color: #4a5568;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.5s ease-in-out;
    border-bottom: 1px solid #eee;
}

.dropdown-item-mobile:hover {
    color: #e91e63;
}

.contact-link-mobile {
    display: flex;
    align-items: center;
}

.contact-link-mobile i {
    margin-right: 0.5rem;
}

/* Main Content */
.main-content {
    text-align: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100vw;
    height: 92vh;
    z-index: 0;
}

/* Top Image Section */
.top-display {
    background-image:
        linear-gradient(to bottom, rgba(250, 250, 250, 0.8) 0%, rgba(250, 250, 250, 0) 20%),
        linear-gradient(to top, rgba(250, 250, 250, 0.8) 0%, rgba(250, 250, 250, 0) 20%),
        linear-gradient(rgba(250, 250, 250, 0.5), rgba(250, 250, 250, 0.9)),
        url('../branch/matsuzaki-images/scroll_e_02.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

@media (max-width: 1200px) {
    .top-display {
        background-image:
            linear-gradient(to bottom, rgba(250, 250, 250, 0.8) 0%, rgba(250, 250, 250, 0) 20%),
            linear-gradient(to top, rgba(250, 250, 250, 0.8) 0%, rgba(250, 250, 250, 0) 20%),
            linear-gradient(rgba(250, 250, 250, 0.5), rgba(250, 250, 250, 0.9)),
            url('../branch/matsuzaki-images/top_sp_02.jpg');
    }
}

.top-logo-container {
    position: absolute;
    top: 20vh;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
}

.top-logo-image {
    height: 8rem;
    width: auto;
}

@media (min-width: 768px) {
    .top-logo-image {
        height: 12rem;
    }
}

@media (min-width: 1024px) {
    .top-logo-image {
        height: 13rem;
    }
}

@media (min-width: 1300px) {
    .top-logo-image {
        height: 16rem;
    }
}

.bottom-scrolling-text-section {
    position: absolute;
    bottom: 10vh;
    z-index: 10;
    width: 100%;
}

.scrolling-text-overflow-wrapper {
    overflow: hidden;
    width: 100%;
}

/* Scrolling Text Animation */
@keyframes scroll-left {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-50%);
    }
}

.top-text-inner {
    width: 100%;
    bottom: 0;
}

.top-text-inner p {
    font-weight: 700;
    font-size: 7rem;
    text-align: center;
}

.scrolling-text-inner {
    animation: scroll-left 60s linear infinite;
    color: #f09dc1;
    font-size: 3.5rem;
    font-weight: 700;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    white-space: nowrap;
    display: flex;
    width: fit-content;
}

@media (max-width: 767px) {
    .scrolling-text-inner {
        font-size: 5rem;
    }
}

@media (min-width: 1024px) {
    .scrolling-text-inner {
        font-size: 7rem;
    }
}

@media (min-width: 1300px) {
    .scrolling-text-inner {
        font-size: 9rem;
    }
}

.scrolling-text-item {
    display: inline-block;
    margin-right: 4rem;
}

.scrolling-text-wrapper {
    will-change: transform;
}

/* Hide Scrollbar */
.hide-scrollbar::-webkit-scrollbar {
    display: none;
}

/* Matuzaki Animation Section */
.scrolling-effect-section {
    position: relative;
}

.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    object-fit: cover;
    overflow: hidden;
    z-index: -2;
}

.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.background-image.active {
    opacity: 1;
}

.scrolling-effect-section::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    z-index: -1;
}

.animation-container {
    position: sticky;
    top: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
    padding: 1rem;
    box-sizing: border-box;
}

@media (min-width: 1200px) {
    .animation-container {
        flex-direction: row;
        justify-content: center;
        gap: 1rem;
        padding: 0;
    }
}

.static-title-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40%;
    padding: 1rem 0;
    text-align: center;
    width: 100%;
    color: #4a5568;
    box-sizing: border-box;
}

@media (min-width: 1200px) {
    .static-title-container {
        padding: initial;
        width: 30%;
        order: 1;
        text-align: left;
        height: 100%;
    }
}

.static-title {
    font-weight: bolder;
    line-height: 1.2;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 1.5rem;
}

@media (min-width: 768px) {
    .static-title {
        font-size: 2.25rem;
    }
}

@media (min-width: 1024px) {
    .static-title {
        font-size: 3rem;
    }
}

@media (min-width: 1300px) {
    .static-title {
        font-size: 3.5rem;
    }
}

.canvas-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 20%;
    box-sizing: border-box;
}

@media (min-width: 1200px) {
    .canvas-container {
        width: 20%;
        order: 2;
        height: 100%;
    }
}

.text-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
    height: 50%;
    text-align: left;
    position: relative;
    overflow: hidden;
    padding: 1rem;
    box-sizing: border-box;
}

@media (min-width: 1200px) {
    .text-container {
        width: 30%;
        order: 3;
        padding: 2rem 5rem 2rem 2rem;
        height: 100%;
    }
}

.animated-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% - 2rem);
    font-size: 1rem;
    font-weight: 400;
    transition: opacity 0.6s ease-out, transform 0.8s ease-out;
    padding: 0;
    text-align: center;
    box-sizing: border-box;
}

.animated-text h1 {
    color: #4a5568;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.5;
    max-width: 100%;
    word-wrap: break-word;
}

.animated-text p {
    font-size: 0.85rem;
    font-weight: 600;
    color: #718096;
    text-align: center;
    width: 100%;
    word-wrap: break-word;
}

.animated-text.is-active {
    z-index: 2;
}

.animated-text.is-inactive {
    z-index: 1;
}

@media (min-width: 1024px) {
    .animated-text {
        text-align: left;
        width: 100%;
        font-size: 1.25rem;
        padding: 0 1rem;
    }
    .animated-text h1 {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
        text-align: initial;
    }
    .animated-text p {
        font-size: 0.8rem;
        line-height: 1.5rem;
        text-align: initial;
    }
}

@media (min-width: 1400px) {
    .animated-text {
        text-align: left;
        width: 100%;
        font-size: 1.25rem;
        padding: 0 1rem;
    }
    .animated-text h1 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
        text-align: initial;
    }
    .animated-text p {
        font-size: 1rem;
        line-height: 1.5rem;
        text-align: initial;
    }
}

/* Canvas Styles */
canvas {
    background-color: transparent;
    border: 2px solid #f09dc1;
    border-radius: 9999px;
    width: 80%;
    height: auto;
    max-width: 200px;
    max-height: 200px;
    aspect-ratio: 1 / 1;
}

@media (min-width: 768px) {
    canvas {
        max-width: 300px;
        max-height: 300px;
    }
}

/* Spacer */
.spacer {
    position: relative;
    z-index: 0;
}

/* Gradient Overlay */
#gradientOverlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9;
    pointer-events: none;
}

#gradientOverlay::before,
#gradientOverlay::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 20vh;
}

#gradientOverlay::before {
    top: 0;
    background: linear-gradient(to bottom, #F9FAFB, transparent);
}

#gradientOverlay::after {
    bottom: 0;
    background: linear-gradient(to top, #F9FAFB, transparent);
}

.gradient-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.8) 50%, rgba(255, 255, 255, 0) 100%);
}

@media (min-width: 1200px) {
    .gradient-overlay {
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.8) 30%, rgba(255, 255, 255, 0) 70%, rgba(255, 255, 255, 0) 100%);
    }
}

/* Hero Image */
.hero-image {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

/* Access Section */
.access-information {
    background-color: #f9fafb;
    padding-right: 1rem;
    padding-top: 5rem;
    padding-left: 1rem;
    padding-bottom: 2.5rem;
    width: 100%;
    box-sizing: border-box;
}

@media (min-width: 1024px) {
    .access-information {
        padding-top: 4rem;
        padding-bottom: 4rem;
        padding-left: 3rem;
        padding-right: 3rem;
    }
}

@media (min-width: 1300px) {
    .access-information {
        padding-top: 8rem;
        padding-bottom: 8rem;
        padding-left: 3rem;
        padding-right: 3rem;
    }
}

.access-title-section {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e5e7eb;
}

@media (min-width: 640px) {
    .access-title-section {
        margin-bottom: 2.5rem;
    }
}

.access-main-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #4a5568;
}

@media (min-width: 768px) {
    .access-main-title {
        font-size: 1.875rem;
    }
}

@media (min-width: 1024px) {
    .access-main-title {
        font-size: 2rem;
    }
}

@media (min-width: 1300px) {
    .access-main-title {
        font-size: 2.25rem;
    }
}

.access-sub-title {
    display: flex;
    font-size: 1.5rem;
    font-weight: 800;
    color: #4a5568;
    flex-wrap: wrap;
}

@media (min-width: 768px) {
    .access-sub-title {
        font-size: 2.25rem;
    }
}

@media (min-width: 1024px) {
    .access-sub-title {
        font-size: 2.5rem;
    }
}

@media (min-width: 1300px) {
    .access-sub-title {
        font-size: 3rem;
        margin-top: 0.75rem;
    }
}

.access-new-badge {
    display: inline-flex;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
    border-radius: 0.375rem;
    font-size: 0.75rem;
    font-weight: 500;
    background-color: #dc2626;
    color: #ffffff;
    margin-left: 0.75rem;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

@media (max-width: 480px) {
    .access-new-badge {
        font-size: 0.6rem;
        padding: 0.1rem 0.3rem;
        margin-left: 0.5rem;
    }
}

@media (min-width: 768px) {
    .access-new-badge {
        font-size: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .access-new-badge {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
        font-size: 1.5rem;
        margin-left: 1.5rem;
    }
}

@media (min-width: 1300px) {
    .access-new-badge {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
        font-size: 1.875rem;
        margin-left: 1.5rem;
    }
}

.access-content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .access-content-wrapper {
        flex-direction: row;
        gap: 3rem;
    }
}

@media (min-width: 1300px) {
    .access-content-wrapper {
        flex-direction: row;
        gap: 6rem;
    }
}

.access-image-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    box-sizing: border-box;
}

@media (min-width: 1024px) {
    .access-image-container {
        width: 50%;
        padding: 0;
    }
}

.access-image {
    border-radius: 0.375rem;
    width: 100%;
    height: auto;
    object-fit: cover;
    max-width: 100%;
}

@media (min-width: 1024px) {
    .access-details-container {
        width: 50%;
    }
}

.access-details-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .access-details-grid {
        padding: 0;
    }
}

.access-detail-item {
    display: flex;
    flex-direction: column;
}

.access-detail-row {
    display: flex;
    align-items: center;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e5e7eb;
    flex-wrap: wrap;
}

@media (max-width: 400px) {
    .access-detail-row {
        flex-direction: column;
        align-items: flex-start;
    }
    .access-detail-label {
        margin-bottom: 0.5rem;
    }
}

.access-detail-row-start {
    align-items: flex-start;
}

.access-detail-label {
    color: #4a5568;
    width: 7rem;
    flex-shrink: 0;
    font-weight: 700;
    font-size: 0.875rem;
    min-width: 7rem;
}

@media (max-width: 639px) {
    .access-detail-label {
        min-width: unset;
        font-size: 1rem;
    }
}

@media (min-width: 768px) {
    .access-detail-label {
        font-size: 1.2rem;
    }
}

@media (min-width: 1024px) {
    .access-detail-label {
        font-size: 1.25rem;
    }
}

@media (min-width: 1300px) {
    .access-detail-label {
        font-size: 1.5rem;
    }
}

.access-detail-value {
    color: #4a5568;
    flex-grow: 1;
    font-weight: 700;
    font-size: 0.9rem;
    word-break: break-word;
}

@media (min-width: 768px) {
    .access-detail-value {
        font-size: 1.2rem;
        margin-left: 1.25rem;
    }
}

@media (min-width: 1024px) {
    .access-detail-value {
        font-size: 1.25rem;
        margin-left: 2rem;
    }
}

@media (min-width: 1300px) {
    .access-detail-value {
        font-size: 1.5rem;
        margin-left: 4rem;
    }
}



.access-detail-sub-value {
    margin-top: 0.25rem;
}

/* Facility Photo Section */
.facility-photo-section {
    background-color: #f9fafb;
    width: 100%;
    box-sizing: border-box;
}

@media (min-width: 1024px) {
    .facility-photo-section {
        padding-top: 4rem;
        padding-bottom: 8rem;
        padding-right: 3rem;
    }
}

@media (min-width: 1300px) {
    .facility-photo-section {
        padding-top: 8rem;
        padding-bottom: 12rem;
        padding-right: 3rem;
    }
}

.facility-photo-title-wrapper {
    margin-bottom: 1.5rem;
    border-color: #fbcfe8;
    padding: 0 1rem;
    box-sizing: border-box;
}

@media (min-width: 1024px) {
    .facility-photo-title-wrapper {
        padding: 0;
    }
}

.facility-photo-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #4a5568;
    border-right-width: 4px;
    border-color: #f7b2c0;
    padding-left: 0.8rem;
    border-left: 7px solid #f09dc1;
}

@media (min-width: 768px) {
    .facility-photo-title {
        font-size: 1.875rem;
        border-left: 8px solid #f09dc1;
    }
}

@media (min-width: 1024px) {
    .facility-photo-title {
        font-size: 2.25rem;
        border-left-width: 8px;
        padding-left: 1rem;
        border-left: 10px solid #f09dc1;
        margin-left: 3rem;
    }
}

.facility-photo-scroll-container {
    cursor: grab;
    display: flex; /* scrollContent に flex を適用するため */
    overflow-x: auto;
    padding-bottom: 1rem;
    padding-left: 1rem;
    padding-right: 1rem;
    box-sizing: border-box;
    -ms-overflow-style: none;
    scrollbar-width: none;
    transition-timing-function: cubic-bezier(.19,1,.22,1);
}
.scrollContent {
    display: flex; /* これが画像アイテムを横並びにする役割 */
}
.facility-photo-scroll-container::-webkit-scrollbar {
    display: none;
}
.facility-photo-scroll-container.active {
    cursor: grabbing;
}
@media (min-width: 1024px) {
    .facility-photo-scroll-container {
        padding-left: 3rem;
        padding-right: 3rem;
    }
}
/* 施設写真ギャラリー内の画像に対する修正 */
.facility-photo-item img {
    pointer-events: none; /* 画像へのマウスイベントを無効にする */
}

.facility-photo-item {
    flex-shrink: 0;
    width: 90vw;
    max-width: 30rem;
    scroll-snap-align: center;
    margin-right: 1rem;
}

@media (max-width: 767px) {
    .facility-photo-item {
        width: 90%;
        max-width: none;
        margin-right: 0.5rem;
    }
}

@media (min-width: 640px) {
    .facility-photo-item {
        width: 24rem;
    }
}

@media (min-width: 768px) {
    .facility-photo-item {
        width: 50%;
    }
}

@media (min-width: 1024px) {
    .facility-photo-item {
        width: 33.333333%;
    }
}

@media (min-width: 1280px) {
    .facility-photo-item {
        width: 25%;
    }
}

.facility-photo-item:last-child {
    margin-right: 0;
}

.facility-photo-image {
    width: 100%;
    height: auto;
    border-radius: 0.375rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Price System Section */
.price-system-section {
    background-color: #f9fafb;
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
    padding-left: 1rem;
    padding-right: 1rem;
    width: 100%;
    box-sizing: border-box;
}

@media (min-width: 1024px) {
    .price-system-section {
        padding-top: 8rem;
        padding-bottom: 8rem;
        padding-left: 3rem;
        padding-right: 3rem;
    }
}

.price-system-section p {
    margin-top: 20px;
    font-size: 0.8rem;
    color: #a6a6a6;
}

@media (min-width: 1024px) {
    .price-system-section p {
        font-size: 1rem;
        color: #697281;
    }
}

.price-system-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #4a5568;
    margin-bottom: 1.5rem;
    border-left-width: 4px;
    border-color: #f7b2c0;
    padding-left: 0.8rem;
    border-left: 7px solid #f09dc1;
}

@media (min-width: 768px) {
    .price-system-title {
        font-size: 1.875rem;
        border-left: 8px solid #f09dc1;
    }
}

@media (min-width: 1024px) {
    .price-system-title {
        font-size: 1.8rem;
        border-left-width: 8px;
        border-left: 8px solid #f09dc1;
        padding-left: 1rem;
    }
}

@media (min-width: 1300px) {
    .price-system-title {
        font-size: 2.25rem;
        border-left-width: 8px;
        border-left: 10px solid #f09dc1;
        padding-left: 1rem;
    }
}


.price-table-desktop {
    display: none;
    margin-left: 1rem;
    margin-right: 1rem;
    max-width: calc(100% - 2rem);
}

@media (min-width: 1024px) {
    .price-table-desktop {
        display: block;
        background-color: #ffffff;
        border-radius: 0.5rem;
        overflow: hidden;
        border: 1px solid #e5e7eb;
        margin-left: auto;
        margin-right: auto;
        max-width: 100%;
    }
}

.price-table-header {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    text-align: center;
    color: #4a5568;
    font-weight: 600;
    border-bottom: 1px solid #e5e7eb;
    font-size: 1.25rem;
}

.price-table-cell-header {
    padding: 2rem;
    border-right: 1px solid #e5e7eb;
}

.price-table-cell-header-pink {
    padding: 2rem;
    background-color: #f09dc1;
    color: #ffffff;
}

.price-table-row {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    text-align: center;
    color: #4a5568;
    font-weight: 700;
    font-size: 2.25rem;
}

.price-table-cell-value {
    padding-top: 6rem;
    padding-bottom: 6rem;
    border-right: 1px solid #e5e7eb;
}

.price-table-cell-value-pink {
    padding-top: 6rem;
    padding-bottom: 6rem;
    background-color: #f09dc1;
    color: #ffffff;
}

.price-table-mobile {
    background-color: #ffffff;
    border-radius: 0.375rem;
    overflow: hidden;
    width: 100%;
}

@media (min-width: 1024px) {
    .price-table-mobile {
        display: none;
    }
}

.price-table-mobile-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 1rem;
    border-bottom: 1px solid #e5e7eb;
}

.price-table-mobile-item-pink {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 1rem;
    background-color: #f09dc1;
    color: #ffffff;
}

.price-table-mobile-label {
    font-weight: 600;
    color: #4a5568;
    word-break: break-word;
}

.price-table-mobile-item-pink .price-table-mobile-label {
    color: #ffffff;
}

.price-table-mobile-value {
    color: #4a5568;
    font-weight: 700;
    font-size: 1.25rem;
    word-break: break-word;
}

.price-table-mobile-item-pink .price-table-mobile-value {
    color: #ffffff;
}

/* Features Section */
.features-section {
    background-color: #f9fafb;
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
    padding-left: 1rem;
    padding-right: 1rem;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-sizing: border-box;
}

@media (min-width: 1024px) {
    .features-section {
        padding-top: 8rem;
        padding-bottom: 8rem;
        padding-left: 3rem;
        padding-right: 3rem;
        background-image: url('../branch/matsuzaki-images/see.jpg');
    }
}

.features-content-wrapper {
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    max-width: 100%;
}

@media (min-width: 1024px) {
    .features-content-wrapper {
        flex-direction: row;
        align-items: flex-start;
        gap: 2.5rem;
    }
}

.features-title-container {
    margin-bottom: 1.5rem;
    box-sizing: border-box;
}

@media (min-width: 1024px) {
    .features-title-container {
        width: 40%;
        margin-bottom: 0;
        padding: 0;
    }
}

.features-main-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #4a5568;
    border-left-width: 4px;
    border-color: #f7b2c0;
    padding-left: 0.8rem;
    border-left: 7px solid #f09dc1;
}

@media (min-width: 768px) {
    .features-main-title {
        font-size: 1.875rem;
        border-left: 8px solid #f09dc1;
    }
}

@media (min-width: 1024px) {
    .features-main-title {
        font-size: 1.8rem;
        border-left-width: 8px;
        padding-left: 1rem;
        border-left: 8px solid #f09dc1;
    }
}

@media (min-width: 1300px) {
    .features-main-title {
        font-size: 2.25rem;
        border-left-width: 8px;
        padding-left: 1rem;
        border-left: 10px solid #f09dc1;
    }
}

@media (min-width: 1024px) {
    .features-grid-container {
        width: 60%;
    }
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 0;
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        margin-top: 2.5rem;
    }
}

.feature-item {
    background-color: #ffffff;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    padding-top: 3rem;
    padding-bottom: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-sizing: border-box;
}

.feature-item.hidden-initially {
    display: none;
}

.feature-icon-wrapper {
    margin-bottom: 1rem;
}

.feature-icon {
    width: 4rem;
    height: 4rem;
    color: #4a5568;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #4a5568;
}

.feature-description {
    color: #4a5568;
    font-size: 0.875rem;
    word-break: break-word;
}

.features-button-container {
    text-align: center;
    margin-top: 2.5rem;
    display: flex;
    justify-content: center;
    padding: 0 1rem;
    box-sizing: border-box;
}

@media (min-width: 1024px) {
    .features-button-container {
        padding: 0;
    }
}

.toggle-features-button {
    background-color: #f09dc1;
    color: #ffffff;
    font-weight: 700;
    padding-top: 1rem;
    padding-bottom: 1rem;
    width: 250px;
    border-radius: 0.375rem;
    transition: background-color 0.3s ease-in-out;
    display: flex;
    align-items: center;
    max-width: 100%;
    box-sizing: border-box;
    white-space: nowrap;
    border: solid 0;
    justify-content: center;
}

.toggle-features-button:hover {
    background-color: #f09dc1;
}

.toggle-features-arrow-icon {
    margin-left: 0.5rem;
    width: 1rem;
    height: 1rem;
    transition: transform 0.3s ease-in-out;
}

.toggle-features-arrow-icon.rotate-180 {
    transform: rotate(180deg);
}

/* Inquiry Section */
.inquiry-section {
    background-color: #f9fafb;
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
    padding-left: 1rem;
    padding-right: 1rem;
    width: 100%;
    box-sizing: border-box;
}

@media (min-width: 1024px) {
    .inquiry-section {
        padding-top: 8rem;
        padding-bottom: 4rem;
        padding-left: 3rem;
        padding-right: 3rem;
        border-bottom: 1px solid #e5e7eb;
    }
}

@media (min-width: 1300px) {
    .inquiry-section {
        padding-top: 8rem;
        padding-bottom: 8rem;
        padding-left: 3rem;
        padding-right: 3rem;
        border-bottom: 1px solid #e5e7eb;
    }
}

.inquiry-content-wrapper {
    background-color: #ffffff;
    border-radius: 0.5rem;
    overflow: hidden;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

@media (min-width: 1024px) {
    .inquiry-content-wrapper {
        flex-direction: row;
    }
}

.inquiry-image-container {
    position: relative;
    width: 100%;
    height: 50%;
    overflow: hidden;
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
}

@media (min-width: 1024px) {
    .inquiry-image-container {
        height: auto;
        border-top-left-radius: 0;
        border-top-right-radius: 0.5rem;
        border-bottom-left-radius: 0;
        order: 2;
    }
}

.inquiry-text-container {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-bottom-left-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
    box-sizing: border-box;
    width: 100%;
}

@media (min-width: 768px) {
    .inquiry-text-container {
        padding: 5rem;
    }
}

@media (min-width: 1024px) {
    .inquiry-text-container {
        border-bottom-left-radius: 0.5rem;
        border-bottom-right-radius: 0;
        border-top-right-radius: 0;
        order: 1;
        justify-content: center;
        align-items: flex-start;
    }
}

.inquiry-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ec4899;
    margin-bottom: 1rem;
    word-break: break-word;
}

@media (min-width: 768px) {
    .inquiry-title {
        font-size: 2.25rem;
        color: #4a5568;
        text-align: left;
    }
}

@media (min-width: 1024px) {
    .inquiry-title {
        font-size: 2.25rem;
    }
}

@media (min-width: 1300px) {
    .inquiry-title {
        font-size: 3rem;
    }
}

.inquiry-description {
    font-size: 1rem;
    color: #4a5568;
    margin-bottom: 2rem;
    word-break: break-word;
}

@media (min-width: 768px) {
    .inquiry-description {
        font-size: 1.5rem;
        text-align: left;
    }
}

.inquiry-button {
    background-color: #f09dc1;
    color: #ffffff;
    font-weight: 600;
    padding-top: 1rem;
    padding-bottom: 1rem;
    width: 250px;
    border-radius: 0.5rem;
    transition: all 0.3s ease-in-out;
    white-space: nowrap;
    border: solid 0;
    justify-content: center;
}

.inquiry-button:hover {
    background-color: #f09dc1;
    transform: scale(1.05);
}

.inquiry-button:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(247, 178, 192, 0.75);
}

@media (min-width: 768px) {
    .inquiry-button {
        padding-left: 4rem;
        padding-right: 4rem;
        background-color: #ec4899;
    }
    .inquiry-button:hover {
        background-color: #db2777;
    }
    .inquiry-button:focus {
        box-shadow: 0 0 0 2px rgba(236, 72, 153, 0.75);
    }
}

/* Link Images Section */
.link-images-section {
    background-color: #f9fafb;
    padding-top: 2.5rem;
    padding-bottom: 0;
    padding-left: 1rem;
    padding-right: 1rem;
    width: 100%;
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .link-images-section {
        padding-bottom: 0;
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

@media (min-width: 1024px) {
    .link-images-section {
        padding-top: 4rem;
        padding-bottom: 0;
        padding-left: 3rem;
        padding-right: 3rem;
    }
}

@media (min-width: 1300px) {
    .link-images-section {
        padding-top: 8rem;
        padding-bottom: 0;
        padding-left: 3rem;
        padding-right: 3rem;
    }
}

.link-image-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding-left: 0.25rem;
    padding-right: 0.25rem;
    box-sizing: border-box;
}

@media (min-width: 1024px) {
    .link-image-container {
        flex-direction: row;
        padding-left: 0;
        padding-right: 0;
    }
}

.link-image-wrapper {
    position: relative;
    flex: 1;
    overflow: hidden;
    border-radius: 0.5rem;
    margin: 0.25rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    height: 80vh;
    display: block;
    box-sizing: border-box;
    width: calc(100% - 0.5rem);
}

@media (max-width: 767px) {
    .link-image-wrapper {
        margin: 0.5rem 0;
        width: 100%;
    }
}

.link-image-desktop {
    display: none;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
    border-radius: 0.5rem;
}

.link-image-wrapper:hover .link-image-desktop {
    transform: scale(1.1);
}

@media (min-width: 1024px) {
    .link-image-desktop {
        display: block;
    }
}

.link-image-mobile {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
    border-radius: 0.5rem;
}

.link-image-wrapper:hover .link-image-mobile {
    transform: scale(1.1);
}

@media (min-width: 1024px) {
    .link-image-mobile {
        display: none;
    }
}

.link-image-overlay {
    position: absolute;
    inset: 0;
    background-color: #f09dc1;
    opacity: 0.3;
    transition: opacity 0.3s ease-in-out;
    border-radius: 0.5rem;
}

.link-image-wrapper:hover .link-image-overlay {
    opacity: 0.1;
}

.link-image-text {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    color: #ffffff;
    font-size: 1.875rem;
    font-weight: 700;
    padding: 0.5rem;
    border-bottom: 1px solid;
    word-break: break-word;
    max-width: calc(100% - 2rem);
}

@media (min-width: 768px) {
    .link-image-text {
        bottom: 6rem;
        left: 2rem;
        font-size: 2.25rem;
    }
}

@media (min-width: 1024px) {
    .link-image-text {
        font-size: 3rem;
        bottom: 3rem;
    }
}

@media (min-width: 1300px) {
    .link-image-text {
        font-size: 4.5rem;
    }
}

/* Company Slogan Section */
.company-slogan-section {
    text-align: center;
    background-color: #f9fafb;
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: 12rem;
    padding-bottom: 12rem;
    width: 100%;
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .company-slogan-section {
        padding-left: 3rem;
        padding-right: 3rem;
        padding-top: 14rem;
        padding-bottom: 14rem;
    }
}

.company-slogan-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: #4a5568;
    word-break: break-word;
}

@media (min-width: 768px) {
    .company-slogan-text {
        font-size: 2.25rem;
    }
}

@media (min-width: 1024px) {
    .company-slogan-text {
        font-size: 3rem;
    }
}

@media (min-width: 1300px) {
    .company-slogan-text {
        font-size: 3.75rem;
    }
}

.company-slogan-highlight {
    color: #f09dc1;
}

/* Footer Contact Section */
.footer-contact-section {
    position: relative;
    width: 100%;
    height: 600px;
    padding: 2rem;
    background-image: url('../branch/matsuzaki-images/sp_footer.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .footer-contact-section {
        height: 400px;
        background-image: url('../branch/matsuzaki-images/md_footer.jpg');
    }
}

@media (min-width: 1024px) {
    .footer-contact-section {
        background-image: url('../branch/matsuzaki-images/footer.jpg');
        flex-direction: row;
        justify-content: flex-end;
        align-items: center;
    }
}

.footer-contact-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    z-index: 10;
    max-width: 90%;
    box-sizing: border-box;
}

@media (min-width: 1024px) {
    .footer-contact-content {
    max-width: 80%;       
    }
}

@media (min-width: 1300px) {
    .footer-contact-content {
    max-width: 90%;       
    }
}



.footer-contact-text {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    color: #4a5568;
    white-space: nowrap;
    word-break: keep-all;
}

@media (max-width: 480px) {
    .footer-contact-text {
        white-space: normal;
        word-break: normal;
        font-size: 1.3rem;
    }
}

@media (min-width: 1024px) {
    .footer-contact-text {
        font-size: 1.5rem;
    }
}

@media (min-width: 1300px) {
    .footer-contact-text {
        font-size: 1.875rem;
    }
}

.footer-contact-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 100%;
    justify-content: center;
}

@media (min-width: 768px) {
    .footer-contact-buttons {
        flex-direction: row;
        gap: 1.5rem;
        margin-top: 0;
    }
}

.footer-button-link {
    width: 100%;
    cursor: pointer;
    display: block;
    max-width: 300px;
}

.footer-button-link:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease-in-out;
}

@media (min-width: 1024px) {
    .footer-button-link {
        width: 40%;
        max-width: none;
    }
}

.footer-button-link img {
    width: 100%;
    height: auto;
    display: block;
}

/* Main Footer */
.main-footer {
    background-color: #f09dc1;
    padding-top: 5rem;
    padding-bottom: 2rem;
    width: 100%;
    box-sizing: border-box;
}

@media (min-width: 1024px) {
    .main-footer {
        padding-top: 8rem;
        padding-bottom: 3rem;
    }
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-left: 1rem;
    padding-right: 1rem;
    max-width: 100%;
    box-sizing: border-box;
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        padding-left: 3rem;
        padding-right: 3rem;
    }
}

.company-info-section {
    grid-column: span 1 / span 1;
    width: 100%;
}

@media (min-width: 768px) {
    .company-info-section {
        grid-column: span 1 / span 1;
    }
}

@media (min-width: 1024px) {
    .company-info-section {
        grid-column: span 2 / span 2;
        width: 80%;
    }
}

.footer-logo-wrapper {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.footer-logo-wrapper img {
    max-width: 100%;
    height: auto;
}

.company-description {
    font-size: 0.75rem;
    color: #ffffff;
    line-height: 1.625;
    font-weight: 700;
    word-break: break-word;
}

@media (min-width: 1024px) {
    .company-description {
        font-size: 1rem;
    }
}

.footer-nav-wrapper {
    grid-column: span 1 / span 1;
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .footer-nav-wrapper {
        grid-column: span 2 / span 2;
        flex-direction: row;
        justify-content: flex-end;
        gap: 3rem;
    }
}

@media (min-width: 1024px) {
    .footer-nav-wrapper {
        grid-column: span 2 / span 2;
    }
}

.footer-nav-column {
    width: 100%;
}

@media (min-width: 768px) {
    .footer-nav-column {
        flex: 1;
    }
}

.footer-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 0;
}

.footer-nav-item {
    padding-top: 1rem;
    padding-bottom: 1rem;
    border-top: 1px solid #ffffff;
    position: relative;
    display: block;
    box-sizing: border-box;
}

@media (min-width: 640px) {
    .footer-nav-item {
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
    }
}

@media (min-width: 768px) {
    .footer-nav-item {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
}

.footer-nav-item-border-b {
    border-bottom: 1px solid #ffffff;
}

.footer-nav-link {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    transition: color 0.3s ease-in-out;
}

@media (min-width: 1024px) {
    .footer-nav-link {
        font-size: 1.125rem;
    }
}

.footer-nav-link-text {
    display: inline-block;
    transition: transform 0.3s ease-out;
    word-break: break-word;
}

.footer-nav-item:hover .footer-nav-link-text {
    transform: translateY(-0.25rem);
}

.footer-nav-link-underline {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #ffffff;
    transition: all 0.3s ease-out;
}

.footer-nav-item:hover .footer-nav-link-underline {
    width: 100%;
    transform-origin: left;
}

/* Copyright Section */
.copyright-section {
    margin-top: 5rem;
    text-align: center;
    color: #ffffff;
    font-size: 0.75rem;
    padding-left: 1rem;
    padding-right: 1rem;
    box-sizing: border-box;
}

@media (min-width: 640px) {
    .copyright-section {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

@media (min-width: 768px) {
    .copyright-section {
        padding-left: 2.5rem;
        padding-right: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .copyright-section {
        margin-top: 8rem;
        padding-left: 3rem;
        padding-right: 3rem;
    }
}


/* 入居の流れ */
.steps-section {
    background-color: #f9fafb;
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
    padding-left: 1rem;
    padding-right: 1rem;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-sizing: border-box;
}

@media (min-width: 1024px) {
    .steps-section {
        padding-top: 8rem;
        padding-bottom: 0rem;
        padding-left: 3rem;
        padding-right: 3rem;
    }
}

.steps-title-container {
    margin-bottom: 1.5rem;
    box-sizing: border-box;
}

@media (min-width: 1024px) {
    .steps-title-container {
        width: 40%;
        margin-bottom: 0;
        padding: 0;
    }
}

.steps-main-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #4a5568;
    border-left-width: 4px;
    border-color: #f7b2c0;
    padding-left: 0.8rem;
    border-left: 7px solid #f09dc1;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .steps-main-title {
        font-size: 1.875rem;
        border-left: 8px solid #f09dc1;
    }
}

@media (min-width: 1024px) {
    .steps-main-title {
        font-size: 1.8rem;
        border-left-width: 8px;
        padding-left: 1rem;
        border-left: 8px solid #f09dc1;
    }
}

@media (min-width: 1300px) {
    .steps-main-title {
        font-size: 2.25rem;
        border-left-width: 8px;
        padding-left: 1rem;
        border-left: 10px solid #f09dc1;
    }
}

/* Steps Section Wrapper */
.steps-wrapper {
    display: flex; /* flex */
    align-items: center; /* items-center */
    overflow-x: auto; /* 横スクロールを有効にする */
    cursor: grab;
    position: relative; /* 矢印の位置決めに必要 */
    gap: 1rem;
    -ms-overflow-style: none;
    scrollbar-width: none;
    transition-timing-function: cubic-bezier(.19,1,.22,1);
}
.facility-photo-scroll-container::-webkit-scrollbar {
    display: none;
}
.facility-photo-scroll-container.active {
    cursor: grabbing;
}

@media (min-width: 768px) { /* md breakpoint */
    .steps-wrapper {
        flex-direction: row; /* md:flex-row */
        justify-content: space-between; /* 要素間に均等なスペースを配置 */
        align-items: center; /* 矢印とボックスを垂直方向で中央揃え */
    }
}

/* Container for each step column */
.step-column-container {
    display: flex; /* flex */
    flex-direction: column; /* flex-col */
    align-items: center; /* items-center */
    text-align: center; /* text-center */
    flex-shrink: 0; /* flex-shrink-0: アイテムが縮まないように変更 */
    flex-grow: 0; /* flex-grow-0: アイテムが伸びないように変更 */
    flex-basis: auto; /* flex-basis: auto: コンテンツサイズに基づいて幅を決定 */
    min-width: 280px; /* 最小幅を維持 */

}
.step-column-container img {
    pointer-events: none; /* 画像へのマウスイベントを無効にする */
}

/* Styles for STEP label and number */
.step-label {
    font-size: 0.875rem; /* text-sm */
    font-weight: 600; /* font-semibold */
    color: #6b7280; /* text-gray-500 */
    align-self: flex-start; /* align-self: flex-start */
    margin-left: 1rem; /* ml-4 */
}

.step-number {
    font-size: 2.5rem; /* Adjusted font size for number */
    font-weight: 700; /* font-bold */
    color: #f09dc1; /* text-blue-600 */
    margin-bottom: 0.5rem; /* mb-2 */
    align-self: flex-start; /* align-self: flex-start */
    margin-left: 1rem; /* ml-4 */
}
@media (min-width: 1024px) { /* md breakpoint */
    .step-number {
        font-size: 3rem; /* Adjusted font size for number */
    }
}

/* Styles for the illustration image */
.step-illustration {
    width: 200px; /* w-[150px] */
    height: 200px; /* h-[150px] */
    margin-bottom: -80px; /* -mb-[50px] */
    z-index: 10; /* z-10 */
    position: relative; /* relative */
}
@media (min-width: 1300px) { /* md breakpoint */
    .step-illustration {
        width: 250px; /* w-[150px] */
        height: 250px; /* h-[150px] */
        margin-bottom: -100px; /* -mb-[50px] */
    }
}

/* Styles for the white content box */
.step-content-box {
    background-color: #ffffff; /* bg-white */
    border-radius: 0.75rem; /* rounded-xl */
    padding: 2rem; /* p-8 */
    padding-top: 6rem; /* pt-[5rem] */
    width: 100%; /* w-full */
    text-align: center; /* text-left */
    position: relative; /* relative */
    z-index: 1; /* z-1 */
    /* min-height: 280px; */
    display: flex; /* flex */
    flex-direction: column; /* flex-col */
    justify-content: flex-start; /* justify-start */
}

.step-title-in-box {
    font-size: 1.2rem; /* text-xl */
    font-weight: 600; /* font-semibold */
    color: #4a5568; /* text-gray-800 */
    margin-bottom: 0.75rem; /* mb-3 */
}
@media (min-width: 1300px) { /* md breakpoint */
    .step-title-in-box {
        font-size: 1.5rem;
    }
}

.step-description-in-box {
    color: #4b5563; /* text-gray-600 */
    line-height: 1.6; /* leading-relaxed */
    font-size: 0.875rem; /* text-sm */
    flex-grow: 1; /* flex-grow */
}

/* Styles for the arrow between steps */
.arrow-container {
    display: none; /* hidden */
    align-items: center; /* items-center */
    justify-content: center; /* justify-center */
    flex-shrink: 0; /* flex-shrink-0 */
    width: 30px; /* w-[80px] */
}

@media (min-width: 768px) { /* md breakpoint */
    .arrow-container {
        display: flex; /* md:flex */
    }
}

.arrow-svg {
    width: 3rem; /* w-12 */
    height: 3rem; /* h-12 */
    color: #9ca3af; /* text-gray-400 */
    stroke-width: 1.5; /* stroke-1.5 */
}

/* --- 横スクロール誘導アニメーションのスタイル --- */
.scroll-indicator {
    position: absolute;
    top: 50%;
    left: 50%; /* 中央に配置 */
    transform: translateY(-50%) translateX(-50%); /* 中央寄せ */
    width: 120px; /* 円の幅を大きく */
    height: 120px; /* 円の高さを大きく */
    /* 背景をより洗練されたグラデーションに */
    background: radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.05) 100%);
    /* 枠線を削除 */
    /* border: 2px solid rgba(0, 0, 0, 0.25); */
    border-radius: 50%; /* 円形にする */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0; /* 初期状態では非表示 */
    pointer-events: none; /* クリックイベントを無効にする */
    /* 影をよりソフトに、オフセットなしで円形に */
    filter: drop-shadow(0px 0px 10px rgba(0, 0, 0, 0.15));
    box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.1); /* 内側の影で立体感を出す */
    z-index: 20; /* 他の要素より上に表示 */
}

/* 円の中のSVG矢印のスタイル */
.scroll-indicator svg {
    width: 60%; /* 親の円に対してのサイズ */
    height: 60%;
    color: #ffffff; /* 矢印の色を白に */
}

/* アニメーションクラス */
.scroll-indicator.animate {
    animation: arrowAnimate 2.8s forwards ease-in-out; /* アニメーション時間を長くし、イージングも変更 */
}

/* キーフレームアニメーション */
@keyframes arrowAnimate {
    0% {
        opacity: 0;
        transform: translateY(-50%) translateX(-50%) scale(0.6); /* 小さく透明で開始 */
    }
    10% {
        opacity: 1;
        transform: translateY(-50%) translateX(-50%) scale(1.1); /* 少し大きめにポップ */
    }
    20% {
        transform: translateY(-50%) translateX(-50%) scale(1); /* 通常サイズに戻る */
    }
    30% {
        transform: translateY(-50%) translateX(-40%) scale(1); /* 少し右にスライド */
    }
    50% {
        transform: translateY(-50%) translateX(-60%) scale(1); /* 少し左にスライド */
    }
    70% {
        transform: translateY(-50%) translateX(-50%) scale(1); /* 中央に戻る */
    }
    90% {
        opacity: 0.2; /* 消える前に少し透明に */
        transform: translateY(-50%) translateX(-50%) scale(0.8); /* 少し縮小 */
    }
    100% {
        opacity: 0;
        transform: translateY(-50%) translateX(-50%) scale(0.5); /* さらに縮小して完全に消える */
    }
}