body{
    font-family:'Noto Serif JP',serif;
}

/* リセット */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* スムーズスクロール */
html {
  scroll-behavior: smooth;
}

/* 全体 */
body {
  font-family: "Noto Serif JP", serif;
  background-color: #0f0f0f;
  color: #f5f3ee;
  line-height: 1.8;
}

/* ナビ */
nav {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;

  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 2rem 5%;
  z-index: 100;
}

nav ul {
  display: flex;
  gap: 2rem;
  list-style: none;
}

nav a {
  color: white;
  text-decoration: none;
}

/* ロゴ */
.logo h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 500;
}

.logo p {
  letter-spacing: 4px;
  font-size: 0.8rem;
}

/* Hero */
.hero{
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.hero img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.hero::after{
    content:"";
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.35);
}

.hero-text{
    position:absolute;
    left:10%;
    bottom:15%;
    z-index:2;
}

.hero-text p{
    letter-spacing:4px;
    margin-bottom:20px;
}

.hero-text h1{
    font-size:clamp(2.5rem,5vw,5rem);
    font-weight:300;
    line-height:1.5;
}

/* 共通セクション */
section {
  padding: 8rem 10%;
}

section h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #c9a86a;
}

/* 客室 */


/* フッター */
footer {
  text-align: center;
  padding: 3rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

html {
  scroll-behavior: smooth;
}

#reserve{
  text-align:center;
  padding:120px 10%;
}

.reserve-btn{
  display:inline-block;
  margin-top:30px;
  padding:16px 48px;

  color:#f5f3ee;
  text-decoration:none;

  border:1px solid #c9a86a;
  transition:.3s;
}

.reserve-btn:hover{
  background:#c9a86a;
  color:#111;
}

#concept {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.concept-catch {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    margin-bottom: 50px;
    letter-spacing: 0.1em;
}

.concept-text {
    line-height: 2.5;
    font-size: 1rem;
    color: #d8d4cc;
}

#concept h2{
    margin-bottom: 80px;
}

.back-to-top{
    position:fixed;
    right:30px;
    bottom:30px;

    width:70px;
    height:70px;

    border:1px solid #c9a86a;
    border-radius:50%;

    color:#c9a86a;
    text-decoration:none;

    background:rgba(0,0,0,.8);

    display:flex;
    flex-direction:column;

    justify-content:center;
    align-items:center;

    gap:4px;

    z-index:999;

    line-height:1;
}

.back-to-top:hover{
    background:#c9a86a;
    color:#111;
    transition:.3s;
}

html{
    scroll-behavior:smooth;
}

#access{
    padding:120px 10%;
}

.access-content{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:80px;
}

.access-text{
    flex:1;
}

.access-map{
    flex:1;
}

.access-map img{
    width:100%;
    display:block;
    border-radius:10px;
}

.access-text h2{
    margin-bottom:50px;
}

.access-name{
    font-size:1.5rem;
    margin-bottom:30px;
}

.access-text p{
    margin-bottom:20px;
    line-height:2;
}

@media (max-width:768px){

    .access-content{
        flex-direction:column;
    }

    .access-map{
        width:100%;
    }

}

/* ---------------- */
/* NEW LAYOUT */
/* ---------------- */

.concept{
    padding:180px 10%;
    text-align:center;
}

.concept-inner{
    max-width:800px;
    margin:auto;
}

.concept h2{
    font-size:clamp(2rem,4vw,3rem);
    font-weight:400;
    line-height:1.8;
    margin:30px 0;
}

.concept p{
    line-height:2.5;
    color:#d8d4cc;
}

.sub-title{
    color:#c9a86a;
    letter-spacing:4px;
}

/* Feature */

.feature{
    max-width:1200px;
    margin:180px auto;
    padding:0 40px;

    display:flex;
    align-items:center;
    gap:120px;
}

.reverse{
    flex-direction:row-reverse;
}

.feature-images{
    flex:1;
    position:relative;
}

.main-image{
    width:100%;
    display:block;
}

.sub-image{
    width:280px;

    position:absolute;

    top:-60px;
    right:-60px;

    box-shadow:0 20px 50px rgba(0,0,0,.3);
}

.feature-text{
    flex:1;
}

.feature-text h2{
    font-size:clamp(3rem,8vw,6rem);
    font-weight:300;
    color:#c9a86a;
    margin-bottom:20px;
}

.jp-title{
    font-size:1.2rem;
    letter-spacing:.3em;
    margin-bottom:30px;
}

.feature-text p{
    line-height:2.4;
}

/* Gallery */

.gallery-section{
    margin:200px 0;
}

.gallery-section h2{
    text-align:center;
    margin-bottom:60px;
}

.gallery{
    display:flex;
    gap:30px;

    overflow-x:auto;

    padding:0 60px 30px;
}

.gallery img{
    width:500px;
    height:350px;

    object-fit:cover;

    flex-shrink:0;

    border-radius:12px;
}

.gallery::-webkit-scrollbar{
    height:8px;
}

.gallery::-webkit-scrollbar-thumb{
    background:#666;
}

/* Responsive */

@media(max-width:900px){

    .feature,
    .reverse{
        flex-direction:column;
        gap:60px;
    }

    .sub-image{
        position:static;
        width:100%;
        margin-top:20px;
    }

    .gallery img{
        width:320px;
        height:220px;
    }
}

.gallery-section{
    overflow:hidden;
    margin:200px 0;
}

.gallery-track{
    display:flex;
    gap:30px;
    width:max-content;

    animation:slide 30s linear infinite;
}

.gallery-track img{
    width:500px;
    height:350px;

    object-fit:cover;

    border-radius:12px;
}

@keyframes slide{

    from{
        transform:translateX(0);
    }

    to{
        transform:translateX(-50%);
    }
}

.fade-up{
    opacity:0;

    transform:translateY(60px);

    filter:blur(4px);

    transition:
        opacity 2s ease,
        transform 2s ease,
        filter 2s ease;
}

.fade-up.show{
    opacity:1;

    transform:translateY(0);

    filter:blur(0);
}

.hero img{

    width:100%;
    height:100%;

    object-fit:cover;

    animation:heroZoom 12s ease-out forwards;
}

@keyframes heroZoom{

    from{
        transform:scale(1.1);
    }

    to{
        transform:scale(1);
    }
}

/* =====================
   Mobile Navigation
===================== */

/* PCでは非表示 */
.menu-toggle {
    display: none;
}

@media screen and (max-width: 767px) {

    /* ヘッダー */
    nav {
        padding: 18px 20px;
        align-items: center;
        background: rgba(15, 15, 15, 0.88);
    }

    .logo h1 {
        font-size: 1.35rem;
        line-height: 1.2;
        white-space: nowrap;
    }

    .logo .en {
        margin-left: 5px;
        font-size: 0.9rem;
    }

    /* 三本線 */
    .menu-toggle {
        display: flex;
        width: 32px;
        height: 26px;
        padding: 0;
        border: 0;
        background: transparent;
        flex-direction: column;
        justify-content: space-between;
        cursor: pointer;
        z-index: 102;
    }

    .menu-toggle span {
        display: block;
        width: 100%;
        height: 1px;
        background: #f5f3ee;
        transition: 0.3s;
    }

    /* 開閉メニュー */
    nav ul {
        position: absolute;
        top: 100%;
        left: 0;

        width: 100%;
        padding: 0 20px;

        flex-direction: column;
        gap: 0;

        background: rgba(15, 15, 15, 0.96);

        max-height: 0;
        opacity: 0;
        overflow: hidden;
        pointer-events: none;

        transition: 0.4s;
    }

    nav ul.is-open {
        max-height: 420px;
        padding-top: 10px;
        padding-bottom: 20px;
        opacity: 1;
        pointer-events: auto;
    }

    nav ul li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    }

    nav ul a {
        display: block;
        padding: 12px 4px;
        font-size: 0.9rem;
    }

    /* FV */
    .hero {
        height: 100svh;
        min-height: 600px;
        padding: 76px 20px 20px;
    }

    .hero img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .hero-text {
        left: 32px;
        bottom: 38px;
    }

    .hero-text p {
        margin: 0;
        font-size: 0.75rem;
        letter-spacing: 3px;
    }

        /* Gallery */
    .gallery-section {
        margin: 100px 0 0;
        padding: 60px 0 20px;
    }

    #access {
        padding: 70px 10% 90px;
    }

    .gallery-section h2 {
        margin-bottom: 35px;
        font-size: 1.8rem;
    }

    .gallery-track {
        gap: 16px;
    }

    .gallery-track img {
        width: 260px;
        height: 180px;
        border-radius: 8px;
    }

    /* TOPボタン */
    .back-to-top {
        right: 14px;
        bottom: 14px;
        width: 54px;
        height: 54px;
        font-size: 0.75rem;
    }

        /* CONCEPT周辺の余白 */
    .concept {
        padding: 90px 8% 60px;
    }

    #concept h2 {
        margin-bottom: 50px;
    }

    /* Stay・Onsen・Cuisine */
    .feature {
        margin: 70px auto;
        padding: 0 24px;
        gap: 40px;
    }

    /* CONCEPT直後のStayだけ少し詰める */
    #rooms.feature {
        margin-top: 40px;
    }
    
}

