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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Public Sans", "Zen Kaku Gothic New", sans-serif;
    color: #333;
    overflow-x: hidden;
    background: #fff;
    font-weight: 700;
}

img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.hero-logo {
    position: absolute;
    top: 45px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    font-family: 'Amarante', serif;
    font-size: 3.8rem;
    letter-spacing: 0.15em;
    color: #a4bbd3;
    text-align: center;
    font-weight: 700;
    filter: drop-shadow(1px 1px 0px rgba(0, 0, 0, 0.8)) drop-shadow(1px -1px 0px rgba(0, 0, 0, 0.8)) drop-shadow(-1px 1px 0px rgba(0, 0, 0, 0.8)) drop-shadow(-1px -1px 0px rgba(0, 0, 0, 0.8));
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    transition: opacity 0.5s ease, transform 0.5s ease;
    opacity: 0;
    transform: translateY(-20px);
    pointer-events: none;
}

header.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.header-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 3rem;
    max-width: 1800px;
    margin: 0 auto;
    position: relative;
}

.nav-left, .nav-right {
    display: flex;
    gap: 2.5rem;
    align-items: center;
    flex: 1;
}

.nav-right {
    justify-content: flex-end;
}

.nav-left a, .nav-right a {
    color: #333;
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 0.12em;
    transition: opacity 0.3s ease;
    font-weight: 700;
}

.nav-left a:hover, .nav-right a:hover {
    opacity: 0.6;
}

.header-logo {
    font-family: 'Amarante', serif;
    font-size: 3rem;
    letter-spacing: 0.15em;
    color: #a4bbd3;
    text-align: center;
    transition: all 0.3s ease;
    font-weight: 700;
    filter: drop-shadow(1px 1px 0px rgba(0, 0, 0, 0.8)) drop-shadow(1px -1px 0px rgba(0, 0, 0, 0.8)) drop-shadow(-1px 1px 0px rgba(0, 0, 0, 0.8)) drop-shadow(-1px -1px 0px rgba(0, 0, 0, 0.8));
}

header.visible .header-logo {
    font-size: 1.8rem;
}

.header-logo-sub {
    display: none;
}

.hero {
    height: 100vh;
    display: flex;
    margin-top: 80px;
    overflow: visible;
}

footer#contact {
    background: url('img/img-footer.png') center/cover no-repeat;
    padding: 8rem 5rem 0;
    border-top: 2px solid #2a2a2a;
    overflow: hidden;
    color: #fff;
}

.hero-sidebar-left {
    width: 60px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-text-left {
    display: inline-block;
    writing-mode: vertical-rl;
    -webkit-writing-mode: vertical-rl;
    text-orientation: mixed;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-style: normal;
    font-weight: 700;
    line-height: 1.8;
    letter-spacing: 0.2em;
    color: #a4bbd3;
    filter: drop-shadow(1px 1px 0px rgba(0,0,0,0.8)) 
            drop-shadow(1px -1px 0px rgba(0,0,0,0.8)) 
            drop-shadow(-1px 1px 0px rgba(0,0,0,0.8)) 
            drop-shadow(-1px -1px 0px rgba(0,0,0,0.8));
}

.hero-center {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 4s ease-in-out;
    background-size: cover;
    background-position: center;
}

.slide.active {
    opacity: 1;
}

.hero-copy {
    position: absolute;
    bottom: 5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    text-align: center;
    width: 90%;
    max-width: 1200px;
}

.hero-copy-text {
    font-family: "Public Sans", "Zen Kaku Gothic New", sans-serif;
    font-size: 2.5rem;
    letter-spacing: 0.25em;
    color: #fff;
    text-shadow: 2px 2px 12px rgba(0, 0, 0, 0.9),
                 0 0 30px rgba(0, 0, 0, 0.7);
    line-height: 1.8;
    font-weight: 400;
}

@media (max-width: 1024px) {
    .hero-copy {
        bottom: 3rem;
    }

    .hero-copy-text {
        font-size: 2rem;
        letter-spacing: 0.2em;
    }
}

.hero-sidebar-right {
    width: 60px;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 0;
    gap: 3rem;
}

.weather-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.weather-date {
    writing-mode: vertical-rl;
    -webkit-writing-mode: vertical-rl;
    text-orientation: upright;
    font-size: 1rem;
    letter-spacing: 0.1em;
    color: #a4bbd3;
    font-weight: 700;
    line-height: 1.8;
    filter: drop-shadow(1px 1px 0px rgba(0,0,0,0.8)) 
            drop-shadow(1px -1px 0px rgba(0,0,0,0.8)) 
            drop-shadow(-1px 1px 0px rgba(0,0,0,0.8)) 
            drop-shadow(-1px -1px 0px rgba(0,0,0,0.8));
}

.weather-icon {
    font-size: 1.3rem;
}

.weather-temp {
    writing-mode: vertical-rl;
    -webkit-writing-mode: vertical-rl;
    text-orientation: upright;
    font-size: 1rem;
    letter-spacing: 0.15em;
    color: #a4bbd3;
    font-weight: 700;
    filter: drop-shadow(1px 1px 0px rgba(0,0,0,0.8)) 
            drop-shadow(1px -1px 0px rgba(0,0,0,0.8)) 
            drop-shadow(-1px 1px 0px rgba(0,0,0,0.8)) 
            drop-shadow(-1px -1px 0px rgba(0,0,0,0.8));
}

.sunrise-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.sunrise-icon {
    font-size: 1.3rem;
}

.sunrise-time {
    writing-mode: vertical-rl;
    -webkit-writing-mode: vertical-rl;
    text-orientation: upright;
    font-size: 1rem;
    letter-spacing: 0.15em;
    color: #a4bbd3;
    font-weight: 700;
    filter: drop-shadow(1px 1px 0px rgba(0,0,0,0.8)) 
            drop-shadow(1px -1px 0px rgba(0,0,0,0.8)) 
            drop-shadow(-1px 1px 0px rgba(0,0,0,0.8)) 
            drop-shadow(-1px -1px 0px rgba(0,0,0,0.8));
}

.location-label {
    writing-mode: vertical-rl;
    -webkit-writing-mode: vertical-rl;
    text-orientation: mixed;
    font-size: 1rem;
    letter-spacing: 0.2em;
    color: #a4bbd3;
    font-weight: 700;
    margin-top: 1rem;
    filter: drop-shadow(1px 1px 0px rgba(0,0,0,0.8)) 
            drop-shadow(1px -1px 0px rgba(0,0,0,0.8)) 
            drop-shadow(-1px 1px 0px rgba(0,0,0,0.8)) 
            drop-shadow(-1px -1px 0px rgba(0,0,0,0.8));
}

#town {
    background: #f5f5f5;
    padding: 15rem 0 20rem;
}

.town-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 8rem;
}

.town-header {
    text-align: center;
    margin-bottom: 15rem;
    opacity: 1;
    transform: translateY(0);
    transition: all 1.2s ease;
}

.town-header.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.section-title {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
    letter-spacing: 0.3em;
    font-weight: 700;
    color: #a4bbd3;
    font-family: 'Amarante', serif;
    text-transform: uppercase;
    text-align: center;
}

.section-title-en {
    color: #a4bbd3;
    filter: drop-shadow(1px 1px 0px rgba(0, 0, 0, 0.8)) drop-shadow(1px -1px 0px rgba(0, 0, 0, 0.8)) drop-shadow(-1px 1px 0px rgba(0, 0, 0, 0.8)) drop-shadow(-1px -1px 0px rgba(0, 0, 0, 0.8));
}

.section-title-ja {
    display: inline-block;
    font-family: "Public Sans", "Zen Kaku Gothic New", sans-serif;
    font-size: 1rem;
    letter-spacing: 0.15em;
    margin-top: 1rem;
    color: #333;
    font-weight: bold;
    opacity: 0.7;
    position: relative;
    padding-bottom: 1.5rem;
}

.section-title-ja::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    display: block;
    width: 100%;
    height: 15px;
    background-image: url(img/h2-bg-line--black.svg);
    background-size: 560px 15px;
    background-repeat: repeat-x;
    animation: header_line_animation 16s linear infinite;
}

@keyframes header_line_animation {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 560px 0;
    }
}

.section-description {
    font-size: 1rem;
    line-height: 2.2;
    letter-spacing: 0.12em;
    color: #333;
    margin-top: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.view-all-button {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: #a4bbd3;
    border: 2px solid #a4bbd3;
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.view-all-button:hover {
    background: #8da5bd;
    border-color: #8da5bd;
}

.town-content-block {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.town-item {
    position: relative;
    opacity: 0 !important;
    transform: translateY(30px) !important;
    transition: all 1s ease;
    margin-bottom: 8rem;
    display: flex;
    gap: 3rem;
}

.town-item.visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.town-item:nth-child(1) {
    flex-direction: row;
    align-items: flex-start;
}

.town-item:nth-child(2) {
    flex-direction: row-reverse;
    align-items: flex-end;
}

.town-item:nth-child(3) {
    flex-direction: row;
    align-items: center;
}

.town-item:nth-child(4) {
    flex-direction: row-reverse;
    align-items: flex-start;
}

.town-item:nth-child(5) {
    flex-direction: row;
    align-items: flex-end;
}

.town-item:nth-child(1) .town-image-wrapper {
    width: 40%;
    transform: translateY(-3rem);
}

.town-item:nth-child(1) .town-image {
    aspect-ratio: 3/4;
    object-fit: cover;
}

.town-item:nth-child(2) .town-image-wrapper {
    width: 55%;
    transform: translateY(3rem);
}

.town-item:nth-child(2) .town-image {
    aspect-ratio: 16/9;
    object-fit: cover;
}

.town-item:nth-child(3) .town-image-wrapper {
    width: 45%;
}

.town-item:nth-child(3) .town-image {
    aspect-ratio: 1/1;
    object-fit: cover;
}

.town-item:nth-child(4) .town-image-wrapper {
    width: 50%;
    transform: translateY(-2rem);
}

.town-item:nth-child(4) .town-image {
    aspect-ratio: 4/5;
    object-fit: cover;
}

.town-item:nth-child(5) .town-image-wrapper {
    width: 52%;
    transform: translateY(2rem);
}

.town-item:nth-child(5) .town-image {
    aspect-ratio: 5/3;
    object-fit: cover;
}

.town-item:last-child {
    margin-bottom: 0;
}

.town-item.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.town-image-wrapper {
    position: relative;
}

.town-text {
    flex: 1;
    background: transparent;
    padding: 2rem 0;
}

.town-text-ja {
    font-size: 1.1rem;
    line-height: 2.2;
    color: #2a2a2a;
    letter-spacing: 0.08em;
}

.town-item:nth-child(even) {
    flex-direction: row-reverse;
}

.town-image-wrapper {
    flex: 1.2;
    position: relative;
    overflow: hidden;
}

.town-image {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    display: block;
}

.town-text {
    flex: 0.8;
    display: flex;
    flex-direction: column;
    gap: 3rem;
    padding: 5rem 0;
}

#properties {
    padding: 0;
    background: #fff;
}

.entrance-loop {
    overflow: hidden;
    background: #f0e6d8;
    padding: 2rem 0;
    border: none;
    display: flex;
}

.entrance-track {
    display: flex;
    white-space: nowrap;
    animation: scroll 40s linear infinite;
    align-items: center;
    flex-shrink: 0;
}

.entrance-text {
    font-family: 'Amarante', serif;
    font-size: 2rem;
    letter-spacing: 0.3em;
    padding: 0 3rem;
    font-weight: 700;
}

.entrance-text:nth-child(odd) {
    color: #2a2a2a;
}

.entrance-text:nth-child(even) {
    color: #a4bbd3;
}
    padding: 0 1.5rem;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-section {
    opacity: 0 !important;
    transform: translateY(30px) !important;
    transition: opacity 1s ease, transform 1s ease;
}

.fade-in-section.visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.properties-header {
    text-align: center;
    padding: 8rem 5rem 4rem;
}

.property-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 4rem auto;
}

.property-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

.filter-btn {
    background: transparent;
    border: 2px solid #a4bbd3;
    color: #a4bbd3;
    padding: 0.8rem 2.5rem;
    border-radius: 50px;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.9rem;
    letter-spacing: 0.15em;
    transition: all 0.3s ease;
    font-weight: 700;
}

.filter-btn:hover {
    background: #a4bbd3;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(164, 187, 211, 0.3);
}

.filter-btn.active {
    background: #a4bbd3;
    color: #fff;
    box-shadow: 0 4px 12px rgba(164, 187, 211, 0.4);
}

.property-grid {
    max-width: 1600px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-left: 1px dashed #d0d0d0;
    border-top: 1px dashed #d0d0d0;
}

.property-card {
    padding: 3rem 2.5rem;
    border-right: 1px dashed #d0d0d0;
    border-bottom: 1px dashed #d0d0d0;
    cursor: pointer;
    transition: background 0.3s ease;
    background: #fff;
}

.property-card:hover {
    background: #f5f5f5;
}

.property-image-wrapper {
    position: relative;
    margin-bottom: 1.5rem;
    overflow: hidden;
    border-radius: 8px;
}

.property-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #a4bbd3;
    color: #fff;
    padding: 0.6rem 1.4rem;
    border-radius: 20px;
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    z-index: 2;
}

.property-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.property-card:hover .property-image {
    transform: scale(1.05);
}

.property-info {
    padding: 0;
}

.property-name {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    letter-spacing: 0.12em;
    color: #333;
    font-weight: bold;
}

.property-detail {
    font-size: 0.85rem;
    opacity: 0.6;
    line-height: 2;
    letter-spacing: 0.1em;
    color: #333;
    margin-bottom: 1rem;
}

.property-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.property-tag {
    background: #a4bbd3;
    color: #fff;
    border: 1px solid #a4bbd3;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
}

#people {
    padding: 12rem 0;
    background: #f5f5f5;
    overflow: hidden;
    position: relative;
}

.people-header {
    text-align: center;
    margin-bottom: 6rem;
    padding: 0 5rem;
}

.people-scroll-wrapper {
    position: relative;
}

.people-scroll-container {
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    padding: 4rem 5rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #d0d0d0 transparent;
}

.people-scroll-container::-webkit-scrollbar {
    height: 8px;
}

.people-scroll-container::-webkit-scrollbar-track {
    background: transparent;
}

.people-scroll-container::-webkit-scrollbar-thumb {
    background: #d0d0d0;
    border-radius: 4px;
}

.people-list {
    display: inline-flex;
    gap: 2rem;
}

.person-card {
    display: inline-block;
    cursor: pointer;
    transition: transform 0.3s ease;
    text-align: center;
    position: relative;
    flex-shrink: 0;
    width: 250px;
}

.person-card:hover {
    transform: translateY(-10px);
}

.person-bubble {
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    color: #2a2a2a;
    padding: 0.8rem 1.5rem;
    border-radius: 20px;
    border: 2px dashed #2a2a2a;
    font-size: 0.85rem;
    white-space: nowrap;
    opacity: 1;
    visibility: visible;
    z-index: 10;
    letter-spacing: 0.08em;
}

.person-bubble::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid #fff;
}

.person-image {
    height: 280px;
    width: 100%;
    object-fit: contain;
    display: block;
    margin-bottom: 1rem;
}

.person-name {
    font-size: 1rem;
    letter-spacing: 0.15em;
    color: #000;
    margin-bottom: 0.3rem;
    text-shadow: -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff, 1px 1px 0 #fff, 0 -1px 0 #fff, 0 1px 0 #fff, -1px 0 0 #fff, 1px 0 0 #fff;
}

.person-role {
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    color: #000;
    text-shadow: -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff, 1px 1px 0 #fff, 0 -1px 0 #fff, 0 1px 0 #fff, -1px 0 0 #fff, 1px 0 0 #fff;
}

.scroll-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.scroll-arrow:hover {
    background: #fff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.scroll-arrow-left {
    left: 2rem;
}

.scroll-arrow-right {
    right: 2rem;
}

.scroll-arrow svg {
    width: 24px;
    height: 24px;
    fill: #2a2a2a;
}

.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: #fff;
    padding: 4rem;
    border-radius: 2px;
    max-width: 800px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.3s ease;
    border: 15px solid #a4bbd3;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 2rem;
    cursor: pointer;
    color: #a4bbd3;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.modal-close:hover {
    background: #f0f0f0;
}

.modal-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding-bottom: 2rem;
}

.modal-person-image {
    height: 200px;
    width: auto;
}

.modal-person-info h2 {
    font-size: 2rem;
    letter-spacing: 0.15em;
    margin-bottom: 0.5rem;
    color: 333;
}

.modal-person-info p {
    font-size: 1rem;
    letter-spacing: 0.12em;
    color: #333;
}

.modal-qa {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.qa-item {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.qa-question {
    font-size: 1.1rem;
    font-weight: bold;
    letter-spacing: 0.12em;
    color: #333;
    padding-left: 2rem;
    position: relative;
    border-bottom: 1px dashed #333;
    padding-bottom: 1rem;
}

.qa-question::before {
    content: 'Q';
    position: absolute;
    left: 0;
    top: 0;
    font-family: 'Amarante', serif;
    font-size: 1.3rem;
    color: #333;
}

.qa-answer {
    font-size: 1rem;
    line-height: 2;
    letter-spacing: 0.08em;
    color: #333;
    padding-left: 2rem;
    position: relative;
}

.qa-answer::before {
    content: 'A';
    position: absolute;
    left: 0;
    top: 0;
    font-family: 'Amarante', serif;
    font-size: 1.3rem;
    color: #333;
}

footer {
    background: #2a2a2a;
    padding: 8rem 5rem 4rem;
    color: #f5f5f5;
    position: relative;
}

.footer-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 500px;
    object-fit: cover;
    opacity: 0.3;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.footer-logo {
    font-family: 'Amarante', serif;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    letter-spacing: 0.2em;
}

.footer-content p {
    line-height: 2;
    margin-bottom: 4rem;
    opacity: 0.8;
    max-width: 500px;
}

.footer-nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

.footer-nav a {
    color: #f5f5f5;
    text-decoration: none;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    letter-spacing: 0.15em;
    font-size: 0.85rem;
}

.footer-nav a:hover {
    opacity: 1;
}

.copyright {
    opacity: 0.5;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

@media (max-width: 1400px) {
    .property-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    .town-item {
        flex-direction: column !important;
        gap: 3rem;
    }

    .town-text-ja {
        writing-mode: horizontal-tb;
        text-align: center;
    }

    .town-item {
        margin-bottom: 15rem !important;
    }

    .town-container {
        padding: 0 4rem;
    }
}

.hamburger {
    display: none;
}

.hamburger-menu {
    display: none;
    position: fixed;
    top: 1.5rem;
    right: 2rem;
    z-index: 10000;
    background: transparent;
    border: none;
    padding: 0;
    width: 30px;
    height: 24px;
    cursor: pointer;
}

.hamburger-menu span {
    display: block;
    width: 100%;
    height: 3px;
    background: #333;
    transition: all 0.3s ease;
    border-radius: 2px;
    position: absolute;
    left: 0;
}

.hamburger-menu span:nth-child(1) {
    top: 0;
}

.hamburger-menu span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.hamburger-menu span:nth-child(3) {
    bottom: 0;
}

.hamburger-menu.active span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}

.hamburger-menu:active {
    transform: scale(0.96);
}

.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 9999;
    padding: 8rem 3rem 3rem;
    transition: opacity 0.3s ease;
    overflow-y: auto;
    border: 10px solid #a4bbd3;
    opacity: 0;
}

.mobile-menu.active {
    display: block;
    opacity: 1;
}

.mobile-menu a {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 0;
    color: #333;
    text-decoration: none;
    font-size: 1.2rem;
    letter-spacing: 0.12em;
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
    position: relative;
}

.mobile-menu a::before {
    content: '';
    display: block;
    width: 50px;
    height: 50px;
    background: #a4bbd3;
    border-radius: 50%;
    flex-shrink: 0;
    position: relative;
}

.mobile-menu a::after {
    content: '→';
    position: absolute;
    left: 15px;
    color: #fff;
    font-size: 1.5rem;
    font-weight: bold;
}

.mobile-menu a:hover {
    padding-left: 0;
    color: #5a9f7e;
}

.mobile-menu-close {
    display: none;
}

.fixed-bottom-menu {
    display: none;
}
    padding-top: 1rem;
    border-top: 1px solid #e0e0e0;
}

.bottom-menu-list.active {
    display: flex;
}

.bottom-menu-list a {
    color: #a4bbd3;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    padding: 1rem;
    text-align: center;
}

@media (max-width: 768px) {
    .header-nav {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.5rem 3rem;
        max-width: 1800px;
        margin: 0 auto;
        position: relative;
    }

    .hamburger-menu {
        display: block;
    }

    .nav-left, .nav-right {
        display: none;
    }

    .fixed-bottom-menu {
        display: none;
    }

    .hero {
        height: 80vh;
    }

    footer#contact {
        background: url('img/img-footer.png') center/cover no-repeat;
        padding: 8rem 1rem 0;
    }

    .yamakasa-container {
        bottom: -10px !important;
        right: 10px !important;
    }

    .yamakasa-image {
        width: 120px !important;
    }

    .speech-bubble {
        bottom: 140px !important;
        right: 10px !important;
        padding: 0.8rem 1.2rem !important;
    }

    .speech-bubble p {
        font-size: 0.85rem !important;
    }

    .hero-logo {
        font-size: 1.8rem;
        top: 20px;
    }

    .header-logo {
        font-size: 1.5rem;
    }

    header.visible .header-logo {
        font-size: 1.3rem;
    }

    .hero-sidebar-left, .hero-sidebar-right {
        display: none;
    }

    .hero-copy {
        bottom: 2rem;
        width: 85%;
    }

    .hero-copy-text {
        font-size: 1.3rem;
        letter-spacing: 0.15em;
    }

    .town-container {
        padding: 0 2rem;
    }

    .town-header {
        margin-bottom: 8rem;
    }

    .town-item {
        flex-direction: column !important;
        gap: 2rem !important;
        margin-bottom: 6rem !important;
    }

    .town-item .town-image-wrapper {
        width: 100% !important;
        transform: none !important;
    }

    .town-text {
        padding: 0 !important;
    }

    #people {
        padding: 8rem 0;
    }

    .people-header {
        padding: 0 2rem;
    }

    .people-scroll-container {
        padding: 4rem 2rem;
    }

    .scroll-arrow {
        display: none;
    }

    .properties-header {
        padding: 6rem 2rem 3rem;
    }

    .property-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 0 1rem;
        border: none;
    }

    .property-card {
        padding: 1rem 0.5rem;
        cursor: pointer;
        transition: background 0.3s ease;
        background: #fff;
        border: none;
        border-radius: 0;
        border-right: 1px dashed #d0d0d0;
        border-bottom: 1px dashed #d0d0d0;
    }

    .property-image-wrapper {
        position: relative;
        margin-bottom: 1.5rem;
        overflow: hidden;
        border-radius: 0px;
    }

    .property-image {
        aspect-ratio: 1/1;
        object-fit: cover;
        height: auto;
    }

    .property-name {
        font-size: 0.9rem;
    }

    .property-detail {
        font-size: 0.75rem;
    }

    .modal-content {
        padding: 3rem 2rem;
    }

    .modal-header {
        flex-direction: column;
        text-align: center;
    }

    .footer-nav {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-title-ja {
        font-size: 0.9rem;
    }

    #sunset-beer-club {
        padding: 5rem 2rem !important;
    }

    #sunset-beer-club h2 {
        font-size: 2rem !important;
    }

    #sunset-beer-club p {
        font-size: 1rem !important;
    }

    .sbc-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.8rem !important;
    }

    #sunset-beer-club > div > div:last-child {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.8rem !important;
    }

    #contact-section {
        padding: 5rem 2rem !important;
    }

    #contact-section > div {
        flex-direction: column !important;
        gap: 3rem !important;
    }

    #contact-section h2 {
        font-size: 2rem !important;
    }

    #contact-section p {
        font-size: 0.9rem !important;
    }

    #contact-section a {
        padding: 1rem 2rem !important;
        font-size: 0.9rem !important;
    }

    #contact-section svg {
        width: 200px !important;
        height: 150px !important;
    }

    .property-filter {
        padding: 0 1rem;
        gap: 0.5rem;
    }

    .filter-btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.8rem;
    }
}

/* Footer内の文字色を白に */
footer#contact h3,
footer#contact a,
footer#contact div,
footer#contact p {
    color: #fff !important;
}

/* パフォーマンス最適化 */
.hero-image, 
.property-card,
.town-item,
.people-card,
.fade-in-section {
    will-change: opacity, transform;
}

.hero-image.active {
    will-change: auto;
}