* {
    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;
    text-shadow: 
        1px 1px 0 #000,
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000;
}

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;
    border-bottom: 1px solid #000;
}

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: 1.8rem;
    letter-spacing: 0.15em;
    color: #a4bbd3;
    text-align: center;
    transition: all 0.3s ease;
    font-weight: 700;
    text-shadow: 
        1px 1px 0 #000,
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000;
}

.header-logo a {
    font-family: 'Amarante', serif;
    letter-spacing: 0.15em;
    color: #a4bbd3;
    text-align: center;
    transition: all 0.3s ease;
    font-weight: 700;
    text-decoration-line: none;
    text-shadow: 
        1px 1px 0 #000,
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000;
}

.nav-left a, .nav-right a {
    white-space: nowrap;
}




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

footer#contact {
    background: url('../img/img-footer.webp') center/cover no-repeat;
    padding: 8rem 5rem 0;
    border-top: 2px solid #2a2a2a;
    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;
    text-shadow: 
        1px 1px 0 #000,
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000;
}

.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: 768px) {
    .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: 1.2rem;
}

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

.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;
    text-shadow: 
        1px 1px 0 #000,
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000;
}

.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;
    text-shadow: 
        1px 1px 0 #000,
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000;
}

.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;
    text-shadow: 
        1px 1px 0 #000,
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000;
}

#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;
    text-shadow: 
        1px 1px 0 #000,
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000;
}

.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;
}

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

@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 a {
text-decoration:none;
}

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

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

.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: hidden;
    padding: 4rem 5rem;
    position: relative;
}

.people-list {
    display: inline-flex;
    gap: 0;
    pointer-events: auto;
    animation: people-scroll-animation 60s linear infinite;
}

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

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

.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: 220px;
    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;
}

.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-link {
    display: inline-block;
    font-size: 0.7rem;
    color: #aaa;
    text-decoration: none;
    letter-spacing: 0.2em;
    font-style: italic;
    transition: color 0.2s;
    margin: 20px 0 0;
}
.modal-link:hover {
    color: #333;
}

.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 {
    width: auto;
    height: 180px;
}

.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;
}

.hamburger-menu {
    display: none;
    position: fixed;
    top: 1.5rem;
    right: 25px;

    background: transparent;
    border: none;
    padding: 0;
    width: 30px;
    height: 24px;
    cursor: pointer;
    flex-shrink: 0; 
    opacity: 1 !important;
}

.hamburger-menu span {
    display: block;
    width: 100%;
    height: 2px;
    background: #a4bbd3;
    transition: all 0.3s ease;
    border-radius: 2px;
    position: absolute;
    left: 0;
    box-shadow: 
    1px 1px 0 #000,
    -1px -1px 0 #000,
    1px -1px 0 #000,
    -1px 1px 0 #000;
}

.hamburger-button span,
.hamburger-button span::before,
.hamburger-button span::after {
    box-shadow: 
    1px 1px 0 #000,
    -1px -1px 0 #000,
    1px -1px 0 #000,
    -1px 1px 0 #000;
}


.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);
}

.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: 2rem 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: 30px;
    height: 30px;
    background: #a4bbd3;
    border-radius: 50%;
    flex-shrink: 0;
    position: relative;
}

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

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


.mobile-menu-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 10000;
}

.mobile-menu-close span {
    display: block;
    width: 100%;
    height: 2px;
    background: #a4bbd3;
    position: absolute;
    left: 0;
    border-radius: 2px;
    box-shadow: 
    1px 1px 0 #000,
    -1px -1px 0 #000,
    1px -1px 0 #000,
    -1px 1px 0 #000;
}

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

.mobile-menu-close span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%) rotate(-45deg);
}

/* SUNSET BEER CLUB 最適化 */

.sbc-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
}

.sbc-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    aspect-ratio: 1;
    background: #1a1a1a;
    contain: layout style paint;
}

.sbc-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate3d(0,0,0);
    transition: transform 0.3s ease;
}

.sbc-image-wrapper:hover .sbc-image {
    transform: scale(1.05) translate3d(0,0,0);
}

/* パフォーマンス最適化 */
.hero-image.active {
    will-change: auto;
}

/* ブレイクポイント用クラス */
.br-sp {
    display: none;
}

.br-pc {
    display: inline;
}

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

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

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

    .town-text-ja {
        writing-mode: horizontal-tb;
        text-align: justify;
        font-size: 0.8rem;
        letter-spacing: -.01em;
    }

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

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

    #town {
        padding: 15rem 0 0rem;
    }
}

@media screen and (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;
    }

    .hero {
        height: 80vh;
    }

    footer#contact {
        padding: 8rem 1rem 0;
    }

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

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

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

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

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

    .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: 0.8rem;
        font-style: normal;
        font-weight: 700;
        line-height: 1.8;
        letter-spacing: 0.2em;
        color: #a4bbd3;
        text-shadow: 
            1px 1px 0 #000,
            -1px -1px 0 #000,
            1px -1px 0 #000,
            -1px 1px 0 #000;
    }

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

    .weather-temp,
    .sunrise-time {
        letter-spacing: 0.15em;
    }

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

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

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

    .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: 3rem;
    }

    .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;
    }

    .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;
    }

    .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: 0.8rem !important;
    }

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

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

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

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

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

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

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

    .br-sp {
        display: inline;
    }

    .br-pc {
        display: none;
    }

    .section-description {
        font-size: 0.8rem;
    }

    .mobile-menu a {
        font-size: 1rem;
    }

    .people-list {
        gap: 0;
    }
}



 /* ローディングオーバーレイ */
 #loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    pointer-events: auto;
    opacity: 1;
    transition: opacity 1.2s ease 0.3s;
}

#loading.loaded {
    pointer-events: none;
    opacity: 0;
}

/* 暗幕オーバーレイ */
.dark-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        circle at 50% 50%,
        transparent 0%,
        transparent 0px,
        rgba(20, 20, 20, 1) 0px,
        rgba(20, 20, 20, 1) 100%
    );
    transition: background 1s cubic-bezier(0.4, 0, 0.2, 1) 1s;
    opacity: 1;
}

/* ステップ1: 真っ黒（初期状態） */
#loading.step-1 .dark-overlay {
    background: radial-gradient(
        circle at 50% 50%,
        transparent 0%,
        transparent 0px,
        rgba(20, 20, 20, 1) 0px,
        rgba(20, 20, 20, 1) 100%
    );
}

/* ステップ2: のぞき穴が開く */
#loading.step-2 .dark-overlay {
    background: radial-gradient(
        circle at 50% 50%,
        transparent 0%,
        transparent 60px,
        rgba(20, 20, 20, 0.95) 80px,
        rgba(20, 20, 20, 0.98) 100%
    );
}

/* ステップ5: 全体が開く */
#loading.loaded .dark-overlay {
    opacity: 0;
}

/* のぞき穴の縁 */
.peephole-edge {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        circle at 50% 50%,
        transparent 0%,
        transparent 55px,
        rgba(245, 243, 240, 0.3) 60px,
        rgba(245, 243, 240, 0.7) 65px,
        rgba(245, 243, 240, 0.9) 70px,
        transparent 75px
    );
    opacity: 0;
    transition: opacity 1s ease 1s;
    pointer-events: none;
}

#loading.step-2 .peephole-edge {
    opacity: 1;
}

#loading.loaded .peephole-edge {
    opacity: 0;
    transition: opacity 0.8s ease;
}

/* ヒントテキスト */
.peephole-hint {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, calc(-50% + 90px));
    font-size: 0.75rem;
    color: #ccc;
    letter-spacing: 0.3em;
    opacity: 0;
    transition: opacity 1s ease 2s;
    pointer-events: none;
    text-shadow: 0 0 10px rgba(0,0,0,0.5);
}

#loading.step-3 .peephole-hint {
    opacity: 1;
}

#loading.loaded .peephole-hint {
    opacity: 0;
    transition: opacity 0.6s ease;
}

/* ローディングロゴ */
.loading-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, calc(-50% - 100px));
    font-family: 'Amarante', serif;
    font-size: 1.2rem;
    color: #d4d4d4;
    letter-spacing: 0.15em;
    text-align: center;
    opacity: 0;
    transition: opacity 1s ease 2s;
    text-shadow: 0 0 15px rgba(0,0,0,0.6);
}

#loading.step-3 .loading-logo {
    opacity: 1;
}

#loading.loaded .loading-logo {
    opacity: 0;
    transition: opacity 0.6s ease;
}

/* アクセシビリティ対応 */
@media (prefers-reduced-motion: reduce) {
    .dark-overlay,
    .peephole-edge,
    .peephole-hint,
    .loading-logo {
        transition-duration: 0.5s;
    }
    #loading {
        transition: opacity 0.5s ease;
    }
}

/* コンテンツ制御 */
body.is-loading {
    overflow: hidden;
}

main,
#page {
    opacity: 1;
    transition: none;
}

/* モバイル対応 */
@media (max-width: 768px) {

    .person-image {
        height: 180px;
    }

    .loading-logo {
        font-size: 1rem;
    }
    
    .peephole-hint {
        font-size: 0.65rem;
    }
    
    #loading.step-2 .dark-overlay {
        background: radial-gradient(
            circle at 50% 50%,
            transparent 0%,
            transparent 50px,
            rgba(20, 20, 20, 0.95) 70px,
            rgba(20, 20, 20, 0.98) 100%
        );
    }
    
    .peephole-edge {
        background: radial-gradient(
            circle at 50% 50%,
            transparent 0%,
            transparent 45px,
            rgba(245, 243, 240, 0.3) 50px,
            rgba(245, 243, 240, 0.7) 55px,
            rgba(245, 243, 240, 0.9) 60px,
            transparent 65px
        );
    }

    .modal-person-info h2 {
        font-size: 1.2rem;
    }

    .modal-person-info p {
        font-size: 0.8rem;
    }

    .qa-question {
        font-size: 0.8rem;
    }

    .qa-answer {
        font-size: 0.8rem;
    }
}

.single-body p {
    margin-bottom: 1.5em;
    font-size: 1rem;
    line-height: 2;
    letter-spacing: 0.05em;
    margin-bottom: 2em;
    font-weight: 400;
    color: #333;
    text-align: justify;
    text-justify: inter-ideograph;
    font-feature-settings: "palt";
}

.single-title {
    font-feature-settings: "palt";
}

.property-features,.card-meta-value ,.property-detail {
    font-weight: 400;
}