/* Font settings */
@font-face {
    font-family: 'NotoSerifJP-Subset';
    src: url('../font/NotoSerifJP-Regular.woff2') format('woff2'),
         url('../font/NotoSerifJP-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'NotoSerifJP-Subset';
    src: url('../font/NotoSerifJP-Medium.woff2') format('woff2'),
         url('../font/NotoSerifJP-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'NotoSansJP-Subset';
    src: url('../font/NotoSansJP-Light.woff2') format('woff2'),
         url('../font/NotoSansJP-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'NotoSansJP-Subset';
    src: url('../font/NotoSansJP-Bold.woff2') format('woff2'),
         url('../font/NotoSansJP-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* レスポンシブ基本設定 */
:root {
    --max-width: 1200px;
    --padding-inline: clamp(1rem, 5vw, 2rem);
    --gap: clamp(1rem, 3vw, 2rem);
}

html {
    font-size: clamp(14px, 1vw + 10px, 17.6px);
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'NotoSerifJP-Subset', serif;
    font-weight: 400;
    line-height: 1.7;
    color: #333;
    margin: 0;
}

main {
    margin-top: 180px;
    z-index: 100;
}

@media (max-width: 1200px) {
    main {
        margin-top: 280px;
    }
}

h1, h2 {
    font-family: 'NotoSansJP-Subset', sans-serif;
    font-weight: 700;
    margin-bottom: 2rem;
}

h3 {
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.content-wrap{
    margin: 0 auto;
}

/* レイアウトコンテナ */
.main-content {
    margin-inline: auto;
    font-weight: 500;
    margin: 2rem auto;
    max-width: 1200px;
    padding: 0 1rem;
    text-align: center;
    font-family: 'NotoSerifJP-Subset';
}

.break {
    display: block;
}

.mobile-break {
    display: inline;
}

/* ヘッダーとナビゲーション */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.compact {
    transition: transform 0.3s ease;
}

.header-container {
    height: 90px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--gap);
    padding: 1rem var(--padding-inline);
    transition: all 0.3s ease;
}

.logo {
    margin: 0;
    padding: 0;
    flex: 0 1 200px;
}

.logo img {
    display: block;
    width: 100%;
    height: auto;
}

.nav-container {
    flex: 1;
    justify-content: space-between;  
    align-items: center;             
    width: 100%;      
}

.nav-menu {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(0.5rem, 2vw, 2rem);
    list-style: none;
    justify-content: flex-start;
    align-items: center;
    padding: 0;
    max-width: 1200px;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-size: 0.9rem;
    position: relative;
    white-space: nowrap;
}

.nav-menu a:hover::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 1px;
    background: #333;
    transition: all 0.3s ease;
}

.lang-switch {
    margin-left: auto;
  }

.reservation-link {
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.3s ease;
    pointer-events: none;
    text-decoration: none;
    color: #333;
    font-size: 0.9rem;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
}

.reservation-link.show {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.reservation-link:hover::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 1px;
    background: #333;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .reservation-link:hover::after,
    .reservation-link:active::after,
    .reservation-link:focus::after {
        display: none;
    }
}

.nav-menu li:has(a[href="#reservation"]) {
    display: none;
}

  @media (max-width: 768px){
    main {
        margin-top: 250px;
    }
    
    .header-container {
        height: 70px;
        display: grid;
        grid-template-columns: 4fr 1fr 1fr;
        align-items: center;
        gap: 0.5rem;
        margin-right: 3rem;
    }
    
    .logo {
        grid-column: 1;
        flex: none;
        width: 100%;
        max-width: 150px;
    }
    
    .reservation-link {
        grid-column: 2;
        display: block;
        text-align: center;
        margin: 0;
        margin-top: 0.8rem;
        margin-bottom: 1.5rem;
    }
    
    .lang-switch{
        grid-column: 3;
        text-align: center;
        margin: 0;
        margin-top: 0.8rem;
        margin-bottom: 1.5rem;
    }
    
    .mobile-menu-button {
        position: static;
        margin: 0;
        justify-self: end;
        grid-column: 3;
        margin-left: auto;
    }
    
    .nav-menu li:has(a[href="#reservation"]) {
        display: block;
    }
}

@media (max-width: 415px){
    .header-container {
        gap: 0.3rem;
    }
    
    .logo {
        flex: 0 1 120px;
        margin-right: 0.5rem;
    }
    
    .reservation-link {
        font-size: 0.8rem;
    }
    
    .lang-switch{
        font-size: 0.8rem;
    }
}

.social-icon {
    width: 20px;
    height: 20px;
}

.mobile-menu-button {
    display: none;
    position: fixed;
    top: 1.2rem;
    right: 1rem;
    z-index: 2000;
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
 }

@media (max-width: 768px) {
    .mobile-menu-button {
        display: block;
    }
    
    .nav-container {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: #3A6B72;
        padding: 2rem;
        display: none;
        z-index: 1000;
    }
    
    .nav-container.active {
        display: block;
    }
 
    .nav-menu {
        flex-direction: column;
        align-items: center;
        margin-top: 2rem;
    }
 
    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }
 
    .nav-menu a {
        color: #fff;
        display: block;
        padding: 1rem 0;
        text-align: center;
    }
 
    .nav-menu a:hover::after {
        display: none;
    }
 
    .mobile-break {
        display: block;
    }
}

/* 予約フォーム */
.booking-form {
    width: 100%;
    background: #f5f5f5;
    transition: all 0.3s ease;
    max-height: 90px;
    overflow: hidden;
}

.booking-form.hidden {
    max-height: 0;
    padding: 0;
    opacity: 0;
}

.booking-form-container {
    display: flex;
    flex-wrap: wrap;
    gap: var(--gap);
    align-items: center;
    justify-content: flex-end;
    height: 100px;
}

.booking-info {
    flex: 1 1 30px;
    padding: 1rem 0 1rem 2rem;
    font-size: clamp(0.75rem, 1.2vw, 1rem);
}

.booking-input {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1 1 200px;
    min-width: 200px;
    font-size: clamp(0.75rem, 1.2vw, 1rem);
}

.booking-input label {
    font-size: 0.8rem;
    color: #666;
}

.booking-input input {
    border: 1px solid #ddd;
    border-radius: 4px;
}

.booking-button {
    background: #2F4F4F;
    color: white;
    border: none;
    padding: 2rem min(6rem, calc(1rem + 0.568vw * 8.8));
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.booking-button:hover {
    background: #1a2e2e;
    transition: all 0.3s ease;
}
@media (max-width: 1200px) {
    .booking-form {
        max-height: 12rem;
        min-height: 195px;
        z-index: 1000;
    }

    .booking-form.hidden {
        max-height: 0;
        min-height: 0;
        padding: 0;
        opacity: 0;
    }

    .booking-form-container {
        display: grid;
        grid-template-columns: 3fr 1fr;
        grid-template-rows: 0.8fr 2fr 2fr;
        gap: 0;
        height: 195px;
    }
    
    .booking-info {
        padding: 0 1rem;
    }
    
    .booking-input {
        padding: 0.2rem 1.8rem;
        grid-column-start: 1;
        min-width: 0;
        gap: 0.3rem;
    }
    
    .booking-input label {
        font-size: 1rem;
    }
    
    .booking-button {
        width: 100%;
        grid-row: span 3 / span 3;
        grid-column-start: 2;
        grid-row-start: 1;
        height: 195px;
        padding: 0 1rem;
        white-space: nowrap;
    }
    
}

/* ヒーローセクション */
.hero {
    position: relative;
    margin-top: 80px;
    width: 100%;
    aspect-ratio: 1920/1000;
    overflow: hidden;
}

/* Swiperスタイル */
.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    background-position: center;
    background-size: cover;
}

.swiper-slide picture {
    width: 100%;
}

.swiper-slide picture img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.swiper-slide source {
    display: block;
    background-size: cover;
}

/* モバイル時のスタイル */
@media screen and (max-width: 768px) {
    .hero {
        aspect-ratio: 768/1000;
    }
}

.swiper-pagination-bullet {
    width: 10px !important;
    height: 10px !important;
    background: rgba(255, 255, 255, 0.5) !important;
    opacity: 1 !important;
}

.swiper-pagination-bullet-active {
    background: #fff !important;
    opacity: 1 !important;
}

.swiper-pagination {
    position: absolute;
    bottom: 20px !important;
}

/* メッセージセクション */
.message-section {
    padding: 2rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.message-section a {
    text-decoration: none;
}

.message-section-text {
    font-size: 0.9rem;
    line-height: 2.2;
}

.main-title {
    margin: 2rem 0 3rem;
    display: flex;
    justify-content: center;
}

.title-image {
    max-width: 400px;
    height: auto;
    display: block;
}

.overheadview-image {
    width: 100%;
    height: auto;
    display: block;
    padding: 2rem 0;
}

.history-button a{
    display: inline-flex;
    align-items: center;
    background-color: #003360;
    color: #ffffff;
    padding: 0.6rem 2rem;
}

.history-button a::after {
    content: "→";
    margin-left: 8px;
}

/* ホバー時のエフェクト */
.history-button:hover {
    opacity: 0.9;
    transition: all 0.3s ease;
}

/* カフェコンテンツ */
.cafe-content {
    text-align: center;
}
.cafe-content p {
    margin: 2rem auto 1.5rem;
    font-weight: 400;
}

.cafe-content img,
.cafe-content picture {
    margin: 0 auto;
}

.cafe-content-text {
    font-size: 0.9rem;
    line-height: 2.2;
    padding: 0 1rem;
}

/* ゲストハウス */
.guesthouse-content p {
    margin: 2rem auto 0;
    font-size: 0.9rem;
    line-height: 2.2;
    padding: 0 1rem;
    font-weight: 400;
}

.facility-info {
    margin: 2rem auto 2rem;
    background-color: #F2F2F2;
    padding: 1rem 0;
    max-width: 800px;
    font-family: 'NotoSansJP-Subset', sans-serif;
    font-weight: 300;
}

.facility-info p {
    margin: 0 auto;
}

.room-gallery {
    display: grid;
    gap: var(--gap);
    max-width: 1000px;
    margin: 3rem auto;
    padding: 0 1rem;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: auto;
}

.room-item {
    text-align: left;
    display: grid;
    grid-template-rows: auto 1fr;
}

.arch-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.arch-image img {
    width: 100%;
    height: auto;
    display: block;
}

.room-info {
    line-height: 1.8;
    margin-bottom: 0;
    background-color: #F2F2F2;
    padding: clamp(0.5rem, 2vw, 0.8rem);      
    padding-bottom: clamp(0.5rem, 2vw, 0.8rem);
    display: flex;
    flex-direction: column;
    font-family: 'NotoSansJP-Subset', sans-serif;
    font-weight: 300;
    align-self: stretch;
}

.room-info h3 {
    margin-bottom: 1.2rem;
}

.room-info p {
    margin: 0;
}

@media (max-width: 1200px) {
    .guesthouse-content p {
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .room-gallery {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, auto auto);
    }
    
    .room-item {
        grid-row: span 2;
    }
}
/* 設備メニュー */
.facility-menu {
    max-width: 800px;
    margin: 2rem auto 2rem;
    padding: 0 1rem;
    text-align: left;
    font-family: 'NotoSansJP-Subset', sans-serif;
    font-weight: 300;
}

.menu-list {
    font-size: 1rem;
}

.menu-list dt {
    font-weight: 700;
}

.menu-list dd {
    font-weight: 400;
    line-height: 2.0;
    margin: 0.5rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #ddd;
    font-size: 0.9rem;
}

/* サービスセクション */
#service {
    background-color: #F2F2F2;
    padding: 2rem 0;
}

.service-content {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto 1rem;
}

.service-content p {
    font-size: 1.0rem;

    margin-bottom: 2rem;
}

.service-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: var(--gap);
    place-items: center;
    margin: 0 auto;
    padding: 1rem auto 0;
    max-width: 1200px;
}

.more-button {
    margin: 2rem 0;
}

.more-button a{
    margin-bottom: 2rem;
    display: inline-block;
    padding: 0.8rem clamp(4rem, 8vw, 8rem);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 1px solid #000000;
    color: #000000;
    
}
.more-button a:hover {
    background-color: #060606;
    color: #ffffff;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .service-gallery {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-areas: 
            "img1 img1"
            "img2 img3";
        width: 100%;
    }
    
    .service-gallery > * {
        width: 100%;
        height: auto;
    }

    .service-gallery > *:nth-child(1) {
        grid-area: img1;
    }
    
    .service-gallery > *:nth-child(2) {
        grid-area: img2;
    }
    
    .service-gallery > *:nth-child(3) {
        grid-area: img3;
    }
}

/* 予約セクション */
#reservation {
    background-color: #3A6B72;
    padding: 4rem 0;
    color: #fff;
}

.reservation-content {
    text-align: center;
    margin: 0 auto;
}

.reservation-content p {
    font-weight: 400;
    font-size: 0.9rem;
    line-height: 2.2;
    padding: 0 1rem;
    margin-bottom: 2rem;
}

.reservation-button {
    margin: 3rem 0;
}

.reservation-button a{
    margin-bottom: 2rem;
    display: inline-block;
    padding: 2rem clamp(4rem, 8vw, 8rem);
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    border: 1px solid #ffffff;
    background-color: #ffffff; 
    color: #060606; 
}

.reservation-button a:hover {
    background-color: #060606;
    color: #ffffff;
    transition: all 0.3s ease;
}

.reservation-more-button {
    margin: 3rem 0;
}

.reservation-more-button a{
    margin-bottom: 2rem;
    display: inline-block;
    padding: 0.8rem clamp(4rem, 8vw, 8rem);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 1px solid #ffffff;
    color: #ffffff;
    
}
.reservation-more-button a:hover {
    background-color: #060606;
    color: #ffffff;
    transition: all 0.3s ease;
}

.phone-number {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin: 2rem 0;
}

/* 料金表 */
.price-list {
    margin: 4rem 0;
    text-align: left;
    font-family: 'NotoSansJP-Subset', sans-serif;
    font-weight: 300;
    color: white;
}

.price-list h3 {
    text-align: center;
    font-weight: 700;
    color: white;
}

.price-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    border-collapse: collapse;
}

.grid-cell {
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2)
}

.room-type {
    grid-column: 1;
}

.room-type.rowspan-3 {
    grid-row: span 3;
}

.room-type.rowspan-4 {
    grid-row: span 4;
}

.price {
    grid-column: 2;
}

/* 注意事項リスト */
.notice-list {
    text-align: left;
    margin: 4rem 0;
    font-family: 'NotoSansJP-Subset', sans-serif;
    font-weight: 300;
}

.notice-list ul {
    list-style: none;
    padding: 0;
}

.notice-list li {
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    line-height: 2.2;
    padding: 0 1rem;
}

/* アクセスセクション */
.access-content {
    max-width: 1000px;
    margin: 3rem 2rem;
}

.access-content h2 {
    text-align: center;
    font-size: 1.8rem;
    margin: 0;
    letter-spacing: 0.1em;
}

.access-lead {
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.access-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 3rem;
    align-items: start;
    font-size: 0.9rem;
    line-height: 2.2;
    padding: 0 1rem;
}

.access-info > *:first-child {
    display: flex;
    align-items: center;
    grid-row: 1 / 3;
 }

.access-info > *:nth-child(2) {
    grid-row: 1 / 2;
    grid-column: 2;
 }
 
 .access-info > *:nth-child(3) {
    grid-row: 2;
    grid-column: 2;
 }

 .map-container {
    width: 100%;
    aspect-ratio: 1;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

@media screen and (max-width: 768px) {
    .access-info {
        grid-template-columns: 1fr;
        grid-auto-rows: min-content;
        gap: 2rem;
    }

    .access-info > *:first-child {
        grid-row: auto;
        display: flex;
        justify-content: center;
    }

    .map-container {
        margin: 0 auto;
        aspect-ratio: 768/600;
    }

    .access-info > *:nth-child(2),
    .access-info > *:nth-child(3) {
        grid-row: auto;
        grid-column: 1;
    }
}

.access-details {
    text-align: left;
}

.access-details .shop-logo img {
    max-width: 200px;
    margin-bottom: 1rem;
}

.access-details dl{
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 8px 16px;
}

.access-details dt {
    font-weight: 500;
}

.access-details dd {
    font-weight: 400;
    margin: 0;
}

.access-details 

.access-list {
    text-align: Left;
}

.access-list dl {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 8px 16px;
}

.access-list dd {
    text-align: left;
}

.shop-type {
    margin-bottom: 2rem;
    font-weight: 700;
}

.access-item {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .access-item {
        grid-template-columns: 70px 1fr;
        gap: 0;
    }

    .access-info {
        grid-template-columns: 1fr;
    }
}

/* 川越セクション */
.kawagoe-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    text-align: center;
    font-weight: 400;
}

.kawagoe-content p {
    font-size: 0.9rem;
    line-height: 2.2;
    margin-bottom: 2rem;
}

.kawagoe-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
    gap: var(--gap);
    width: 100%;
    margin: 3rem 0 0;
    padding: 0;
}

/* 求人セクション */
#recruit {
    background-color: #F2F2F2;
    padding: 4rem 0;
}

.recruit-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    text-align: center;
    font-family: 'NotoSansJP-Subset', sans-serif;
    font-weight: 300;
}

.recruit-overview {
    font-family: 'NotoSerifJP-Subset';
    font-weight: 400;
}

.recruit-info {
    text-decoration: underline;
}

.requirements-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: var(--gap);
    text-align: left;
    margin: 3rem auto;
    padding-left: 2rem;
    max-width: 800px;
}
.requirements-section dt {
    font-weight: 700;
}
.requirements-section ul {
    padding-left: 1.5rem;
}

.circle-images {
    margin: 2rem auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin: 3rem auto;
    max-width: 1200px;
}

.circle-image {
    width: clamp(150px, 40vw, 250px);
    height: clamp(150px, 40vw, 250px);
    border-radius: 50%;
    object-fit: cover;
}

@media (max-width: 768px) {
    .circle-images {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
        gap: 16px;
        margin: 2rem auto; 
        max-width: 800px; 
        justify-items: center;
        align-items: center; 
    }
    
    .circle-images > *:nth-child(2) {
        grid-column: 1 / -1;
        order: -1;
    }

    .circle-image {
        width: clamp(150px, 40vw, 200px);
        height: clamp(150px, 40vw, 200px);
        border-radius: 50%;
        object-fit: cover;
    }
}

.recruit-notes {
    background-color: #ffffff;
    max-width: 800px;
    margin: 0 auto;
    font-size: 0.8rem;
}

.note-box {
    padding: 1rem;
    text-align: left;

}

.note-box p {
    margin: 0;
}

@media (max-width: 768px) {
    .recruit-notes {
        font-size: 0.9rem;
    }
    .note-box span.break {
        display: inline;
    }
}

.recruit-button a{
    margin-top: 2rem;
    display: inline-block;
    background-color: #99A7B3; 
    color: #ffffff;
    padding: 0.8rem clamp(4rem, 8vw, 8rem);
    border-radius: 100px; 
    text-decoration: none;
    font-size: 16px;
    text-align: center;
    min-width: 240px;
}

.recruit-button a:hover {
    opacity: 0.9;
    transition: all 0.3s ease;
}

/* Instagramセクション */
#instagram {
    padding: 4rem 0;
    text-align: center;
}

.instagram-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    text-align: center;
    font-family: 'NotoSansJP-Subset', sans-serif;
    font-weight: 300;
}

.instagram-lead{
    margin-bottom: 2rem;
}

.sp_widget {
    display: none;

}

.pc_widget {
    display: block;
    width: 100%;
}

@media (width < 768px) {
    .pc_widget{
        display: none;
        height: 400px;

    }
    .sp_widget {   
        display: block;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .snapwidget-widget {
        width: 100% !important;
        height: auto !important;
        margin: 0 auto;
        overflow: hidden;
        max-width: 100vw;
    }
    
    /* iframeのレスポンシブ対応 */
    .snapwidget-widget iframe {
        width: 100% !important;
        height: auto !important;
        min-height: 150vw !important;  
        border: none !important;
    }
    
    /* コンテナ要素 */
    .snapwidget-container {
        width: 100%;
        max-width: 100%;
        padding: 0;
        margin: 0 auto;
        overflow: hidden;
    }
}

/* history */
#history-page {
    font-weight: 500;
    font-family: 'NotoSerifJP-Subset';
    line-height: 2rem; 
}

#history-page p {
    font-size: 0.9rem;
    line-height: 2.2;
    padding: 0 1rem;
}

.history-page-image {
    object-fit: cover;
    object-position: center;
    aspect-ratio: 1920/1000;
    max-width: 100%;
    width: 100%;
}

.history-page-image img {
    width: 100%;
}

.logo-text-container {
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center; 
}

.history-page-logo {
    width: auto;
    height: auto;
    max-width: 50%;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .history-page-logo {
        max-width: 100%;
    }
}

.history-title {
    color: #ffffff; 
    font-size: 1rem; 
    font-weight: 700;
    font-family: 'NotoSansJP-Subset';
    letter-spacing: 0.2em; 
}

.history-page-text {
    font-size: 0.8rem; 
    margin: 0 auto 4rem; 
}

.history-page-button a{
    display: inline-flex;
    align-items: center;
    background-color: #3A6B72;
    color: #ffffff;
    padding: 0.6rem 2rem;
    margin: 2rem auto;
}

#history-staff {
    background-color: #003360;
    padding: 4rem 0;
    color: #fff;
    text-align: center;
}

.history-staff-container {
    display: grid;
    grid-template-columns: 1fr 1fr;  
    gap: 30px;  
    padding: 0 1rem;
}

.history-staff-text {
    grid-column: 1;
    grid-row: 1 / 3; 
    font-size: 16px;
    line-height: 1.8;
    margin: 0 auto; 
}

.history-staff-text p {
    margin-bottom: 30px; 
    text-align: left;
}

.hisoty-staff-point {
    font-size: 0.9rem;
    line-height: 2.2;
    padding: 0 1rem;
}

.history-staff-text p:first-child {
    font-size: 24px; 
    margin-bottom: 40px;
    padding: 0 1rem;
}

.history-staff-container img {
    height: auto;
    object-fit: cover;
}


/* service detail */
.service-page-image {
    width: 100%;
    height: 100vh;
    object-fit: cover;
}

.service-page-image img {
    width: 100%;
}

#RentalSpace, #tatami, #shower {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

#RentalSpace h2, #tatami h2, #shower h2 {
    font-family: 'NotoSerifJP-Subset';;
    font-weight: 500;
}

.rentalspace-container {
    max-width: 1200px;
    margin: 4rem auto 0;
    padding: 0 1rem;
}

.rentalspace-container h2 {
    font-size: 1.3rem;
}

.rentalspace-image-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 0px;
    max-width: 1200px;
    margin: 2rem auto;
}

.rentalspace-image-container img{
    width: 100%;
}
.tatami-container {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 1rem;
}

.tatami-container h2 {
    font-size: 1.2rem;
}

.tatami-container img {
    width: 100%;
    margin: 2rem auto;
}

.tatami-menu {
    margin: 4rem auto;
}

.shower-container {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 1rem;
}

.shower-container h2 {
    font-size: 1.2rem;
}

.shower-image-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 10px;
    margin: 2rem auto 4rem;
    text-align: center;
    justify-items: center;
    max-width: 1200px;
}

.shower-image-container img {
    width: 100%;
}

/* 左側の2つの画像 */
.shower-image:nth-child(1),
.shower-image:nth-child(2) {
  grid-column: 1;
}

.shower-image:nth-child(1) {
  grid-row: 1;
}

.shower-image:nth-child(2) {
  grid-row: 2;
}

/* 右側の大きい画像 */
.shower-image:nth-child(3) {
  grid-column: 2;
  grid-row: 1 / span 2;
}

.shower-menu {
    margin: 4rem auto;
}

@media screen and (max-width: 768px) {
    .history-staff-container {
        grid-template-columns: 1fr; 
    }

    .history-staff-container > *:nth-child(1) {
        grid-row: auto; 
    }

    .history-staff-container > * {
        grid-column: 1;
    }
}

/* ホバー時のエフェクト */
.history-page-button a:hover {
    opacity: 0.9;
    transition: all 0.3s ease;
}

.history-page-line {
    margin: 2rem auto;
    width: 100%;
    height: 1px;
}

/* フッター */
.footer {
    background-color: #3A6B72;
    color: #fff;
    padding: 3rem 1rem 1rem;
    font-size: clamp(8px, 1.5vw, 1rem);
}

.footer-container {
    display: grid;
    grid-template-columns: 1fr 2.5fr;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .footer {
        font-size: 0.9rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.footer-container > *:nth-child(2) {
    justify-self: end;
}

.footer-container img {
    width: auto;
    height: auto;
}

.footer-logo {
    max-width: 200px;
}

.footer-nav {
    text-align: right; 
    margin-right: 1rem;
}

.footer-nav ul li {
    list-style: none;
    min-width: 0;
    overflow: hidden;
    text-align: center; 
    box-sizing: border-box;
}

.footer-nav svg {
    width: clamp(6px, 1.5vw, 1rem);
    height: clamp(6px, 1.5vw, 1rem);
    margin-top: 0.3rem;
}

.footer-menu-top {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: flex-start;
    flex-wrap: wrap;
    align-content: space-around;
    gap: clamp(0.6rem, 0.6rem + ((1vw - 7.68px) * 0.444), 1rem);
    max-width: 800px;
    text-align: right;
}


.footer-copyright {
    display: flex;
    justify-content: flex-end;
}

@media (max-width: 768px) {
    .footer-menu-top {
        justify-content: center;
    }

    .footer-nav{
        display: none;
    }
}

img {
    max-width: 100%;
    height: auto;
}

.section-header {
    width: 100%;
    height: auto;
    margin: 0 auto 4rem;
    display: block;
    aspect-ratio: 1920/700;
}

@media (max-width: 768px) {
    .section-header {
        aspect-ratio: 768/700;
    }
}