html {
      scroll-behavior: smooth;
    }

    body {
      overscroll-behavior: none; /* オーバースクロール無効化 */
      margin: 0;
      font-family: 'Noto Serif JP', serif;
      display: flex;
      flex-direction: column;
      align-items: center;
      background-color: #fefefe
    }

    header {
        background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 10' preserveAspectRatio='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3ClinearGradient id='gradYellow' x1='0%25' y1='100%25' x2='100%25' y2='0%25'%3E%3Cstop offset='0%25' stop-color='rgb(110,193,227)'/%3E%3Cstop offset='100%25' stop-color='rgb(124,213,248)'/%3E%3C/linearGradient%3E%3ClinearGradient id='gradBlack' x1='0%25' y1='100%25' x2='100%25' y2='0%25'%3E%3Cstop offset='0%25' stop-color='rgb(156,210,239)'/%3E%3Cstop offset='100%25' stop-color='rgb(124,213,248)'/%3E%3C/linearGradient%3E%3ClinearGradient id='gradBlue' x1='0%25' y1='100%25' x2='100%25' y2='0%25'%3E%3Cstop offset='0%25' stop-color='rgb(60,182,206)'/%3E%3Cstop offset='100%25' stop-color='rgb(45,153,175)'/%3E%3C/linearGradient%3E%3ClinearGradient id='gradGreen' x1='0%25' y1='100%25' x2='100%25' y2='0%25'%3E%3Cstop offset='0%25' stop-color='rgb(228,227,227)'/%3E%3Cstop offset='100%25' stop-color='rgb(224,214,165)'/%3E%3C/linearGradient%3E%3ClinearGradient id='gradRed' x1='0%25' y1='100%25' x2='100%25' y2='0%25'%3E%3Cstop offset='0%25' stop-color='rgb(197,188,146)'/%3E%3Cstop offset='100%25' stop-color='rgb(224,214,165)'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M65,0 S70,4 100,4 L100,0 L0,0 Z' fill='url(%23gradYellow)'/%3E%3Cpath d='M60,0 L65,0 S75,4 100,3 L100,10 L0,10 L0,0 Z' fill='url(%23gradBlack)'/%3E%3Cpath d='M13,0 L60,0 S75,4 100,4 L100,10 L10,10 L10,0 Z' fill='url(%23gradBlue)'/%3E%3Cpath d='M10,0 L13,0 S35,10 100,10 L10,10 L10,0 Z' fill='url(%23gradGreen)'/%3E%3Cpath d='M0,0 L10,0 S20,10 100,10 L0,10 L0,0 Z' fill='url(%23gradRed)'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        width: 100%;
        height: 8vh; /* 画面の8% */
        display: flex;
        align-items: center;
        justify-content: center;
        position: fixed; /* スマホ時は上部固定 */
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
    }

    header .sma {
      width: 95%;
      display: flex; /* Flexboxを使って要素を横並びにする */
      justify-content: space-between; /* 両端に要素を配置 */
      align-items: center; /* 垂直方向の中央揃え */
    }

    header .sma .header-left img {
      height: 7vh; /* アイコンの高さ */
      vertical-align: middle; /* 垂直方向の中央揃え */
    }

    header .sma p {
        margin: 0;
    }

    header .sma .hamburger {
        position: relative;
        z-index: 4;
        width: 44px;
        height: 44px;
        padding: 10px;
        border: 0;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.3);
        cursor: pointer;
        transition: background-color 0.25s ease, transform 0.25s ease;
    }

    header .sma .hamburger:hover {
        background: rgba(255, 255, 255, 0.55);
    }

    header .sma .hamburger:active {
        transform: scale(0.92);
    }

    header .sma .hamburger:focus-visible {
        outline: 2px solid #145f7e;
        outline-offset: 3px;
    }

    .hamburger span {
        position: absolute;
        left: 10px;
        width: 24px;
        height: 2px;
        border-radius: 2px;
        background: #25343b;
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                    top 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                    opacity 0.2s ease;
    }

    .hamburger span:nth-child(1) { top: 13px; }
    .hamburger span:nth-child(2) { top: 21px; }
    .hamburger span:nth-child(3) { top: 29px; }

    .hamburger.is-open span:nth-child(1) {
        top: 21px;
        transform: rotate(45deg);
    }

    .hamburger.is-open span:nth-child(2) {
        opacity: 0;
        transform: scaleX(0);
    }

    .hamburger.is-open span:nth-child(3) {
        top: 21px;
        transform: rotate(-45deg);
    }


    /* スマホ時 */
    header .nav-menu {
    visibility: hidden;
    background-color: rgba(255, 255, 255, 0.96);
    position: absolute;
    z-index: 3;
    top: 0;
    left: 0;
    right: 0;
    box-sizing: border-box;
    padding-top: 8vh;
    box-shadow: 0 12px 30px rgba(24, 52, 64, 0.18);
    transform: translateY(-18px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
                opacity 0.28s ease,
                visibility 0s linear 0.38s;
    }

    header .nav-menu.open {
    visibility: visible;
    display: flex;
    justify-content: center;
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
    transition-delay: 0s;
    }

    #nav-menu li {
        opacity: 0;
        transform: translateY(-8px);
        transition: opacity 0.25s ease, transform 0.3s ease;
    }

    #nav-menu.open li {
        opacity: 1;
        transform: translateY(0);
    }

    #nav-menu.open li:nth-child(1) { transition-delay: 0.08s; }
    #nav-menu.open li:nth-child(2) { transition-delay: 0.12s; }
    #nav-menu.open li:nth-child(3) { transition-delay: 0.16s; }
    #nav-menu.open li:nth-child(4) { transition-delay: 0.20s; }
    #nav-menu.open li:nth-child(5) { transition-delay: 0.24s; }
    #nav-menu.open li:nth-child(6) { transition-delay: 0.28s; }

    .menu-backdrop {
        visibility: hidden;
        position: fixed;
        z-index: 2;
        inset: 0;
        background: rgba(12, 32, 40, 0.28);
        opacity: 0;
        backdrop-filter: blur(2px);
        transition: opacity 0.3s ease, visibility 0s linear 0.3s;
    }

    .menu-backdrop.is-visible {
        visibility: visible;
        opacity: 1;
        transition-delay: 0s;
    }

    body.menu-open {
        overflow: hidden;
    }

    @media (prefers-reduced-motion: reduce) {
        .hamburger,
        .hamburger span,
        header .nav-menu,
        #nav-menu li,
        .menu-backdrop {
            transition-duration: 0.01ms !important;
        }
    }

    header .pc {
        display: none;
    }

    #nav-menu ul {
        text-align: center;
    }


    main {
      margin-top: 8vh; /* header の高さ分だけ下げる */
      width: 100%;
      max-width: 800px;
    }

    strong {
        color: #1480ae;
        font-weight: bold;
    }

    em {
        font-style: normal;
        background-color: rgb(223 241 249);
        border-radius: 4px;
    }

    p {
        font-size: 1rem;
        margin: 1rem 0rem;
    }

    nav li {
        margin: 16px 0;
      }

    nav ul {
        list-style: none;
        padding: 0;
    }

    nav ul li a {
        text-decoration: none;
        font-size: 1.5rem;
        color: #333; /* 通常の文字色 */
    }

    nav ul li a {
        text-decoration: none;
        font-size: 1.5rem;
        color: #333; /* 通常の文字色 */
    }

    nav ul li a:hover {
        color: #745b3e; /* ホバー時の色（ピンク系例） */
        border-bottom: 2px solid #745b3e; /* 下線でアクセント */
    }

    /* PC表示 (800px以上) の場合 */
    @media (min-width: 800px) {
      body {
        flex-direction: row; /* 横並び */
        justify-content: center;
        align-items: flex-start;
      }

      header {
        position: sticky; /* 固定解除 */
        height: 100vh; /* 左側全体に配置 */
        flex: 1;
        min-width: 200px;
        background: #f6ebdd;
      }

      header .pc {
        display: block;
    }


      header .sma {
        display: none;
      }

      main {
        margin-top: 0;
        flex: 3;
        min-width: 600px; 
        padding: 0;
      }

      .slideshow-container {
        height: 100vh !important;
        }

        .home-text {
        font-size: clamp(3.5rem, 5vw, 3rem) !important; /* デフォルト（PC用） */
    }
    }

    @media (max-width: 450px) {
      .slideshow-container {
        height: 85vh !important;
      }

      .profile-image p {
      font-size: 15px;
    }
    }

    .slideshow-container {
      width: 100%;
      height: 92vh;
      overflow: hidden;
      position: relative;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
      background-color: #ffffff;
    }

    .slideshow-container img {
      position: absolute;
      /*border-radius: 0.75rem;*/
      box-shadow: 0 10px 25px 0 rgba(0, 0, 0, .5);
      top: 0px;
      left: 0px;
      width: 100%;
      height: 100%;
      object-fit: cover;
      opacity: 0;
      animation: slideshow 30s infinite;
    }

    /* 各画像のアニメーション開始タイミングをずらす（5秒ずつ） */
    .slideshow-container img:nth-child(1) { animation-delay: 0s; }
    .slideshow-container img:nth-child(2) { animation-delay: 5s; }
    .slideshow-container img:nth-child(3) { animation-delay: 10s; }
    .slideshow-container img:nth-child(4) { animation-delay: 15s; }
    .slideshow-container img:nth-child(5) { animation-delay: 20s; }
    .slideshow-container img:nth-child(6) { animation-delay: 25s; }

    @keyframes slideshow {
      0% { opacity: 0; }
      8.3% { opacity: 1; }    /* 0.0s - 2.5s fade in */
      15.86% { opacity: 1; }    /* 2.5s - 5.0s stay */
      25.00% { opacity: 0; }    /* 5.0s - 7.0s fade out */
      100% { opacity: 0; }
    }

    .home-text {
        position: absolute;
        bottom: 20px;
        right: 20px;
        margin: 0;
        color: rgba(254, 254, 254, 1.0);
        font-size: 8vw; /* 横幅の80%くらいに相当（調整可） */
        max-width: 80%; /* 横幅に収めたいなら */
        white-space: nowrap; /* 改行しない */
        text-align: right;
    }


    /*about*/
    .about {
        margin: 0 auto;
        position: relative;
        z-index: 1;
        padding: 2rem;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        line-height: 1.8;
        color: #333;
    }

    .about img {
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0; left: 0;
        object-fit: cover;
        opacity: 0.2;
    }


    /*profile*/
    .profile {
        background-color: #ebdcce;
    }

    .profile-container {
        background-color: #fffaef;
    }


    .profile, .profile-container {
        padding: 2rem;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    .profile-container {
        border-radius: 5%;
    }

    .profile-image {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .profile-image p {
      margin: 6px 0;
    }

    .profile-image img {
        width: 100%;
        max-width: 75px;
        border-radius: 50%;
        /*box-shadow: 20px -10px 0px 10px rgb(199 217 221), -18px 6px 0px 10px rgb(190 233 242);*/
    }

    /*menu*/
    .menu {
        padding: 2rem;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        background-color: #fffdf6;
    }

    .menu-container {
        border-bottom: 1px dashed;
        padding: 1rem 0;
    }

    .menu-img {
    display: flex;
    flex-direction: column-reverse; /* 縦並び */
    align-items: center;    /* 中央寄せ */
    gap: 1rem;              /* 画像とボタンの間隔 */
    margin: 1rem 0;
  }

  .viewer {
    width: 100%;
    height: auto;
    max-width: 400px;
    aspect-ratio: 1/1;
  }

  /* 画像ビューア */
  .viewer img {
    display: none;
    width: 100%;
    border-radius: 20% 20% 3% 3%;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  }

    /* ▼ 1つ目のスライダー専用 */
    .menu-container:nth-of-type(1) .menu-img .buttons:has(#photo5:checked) ~ .viewer img:nth-child(1),
    .menu-container:nth-of-type(1) .menu-img .buttons:has(#photo6:checked) ~ .viewer img:nth-child(2),
    .menu-container:nth-of-type(1) .menu-img .buttons:has(#photo7:checked) ~ .viewer img:nth-child(3),
    .menu-container:nth-of-type(1) .menu-img .buttons:has(#photo8:checked) ~ .viewer img:nth-child(4),
    .menu-container:nth-of-type(2) .menu-img .buttons:has(#photo9:checked) ~ .viewer img:nth-child(1),
    .menu-container:nth-of-type(2) .menu-img .buttons:has(#photo10:checked) ~ .viewer img:nth-child(2),
    .menu-container:nth-of-type(3) .menu-img .viewer img,
    .menu-container:nth-of-type(4) .menu-img .buttons:has(#photo11:checked) ~ .viewer img:nth-child(1),
    .menu-container:nth-of-type(4) .menu-img .buttons:has(#photo12:checked) ~ .viewer img:nth-child(2),
    .menu-container:nth-of-type(5) .menu-img .buttons:has(#photo13:checked) ~ .viewer img:nth-child(1),
    .menu-container:nth-of-type(5) .menu-img .buttons:has(#photo14:checked) ~ .viewer img:nth-child(2) {
        display: block;
    }

  /* ボタン（横並び） */
  .buttons {
    display: flex;
    gap: 1rem;
  }

  .buttons input[type="radio"] {
    display: none; /* 本体は非表示にする */
  }
  
  .buttons label {
    margin: 0.5px;
    border-radius: 20% 20% 3% 3%;
    cursor: pointer;
    opacity: 0.6;
  }

  .buttons label:hover {
      opacity: 0.9;
    }

  .buttons label img {
      display: block;
      width: 40px;
      border-radius: 20% 20% 3% 3%;
    }

  .buttons input[type="radio"]:checked + label {
    border: 2px solid #FF7043;
    opacity: 1;
  }






    .menu-text , .menu-container h2 {
        margin: auto;
        max-width: 600px;
    }

    .menu-container h2 {
        margin: 1rem auto;
    }

    .menu-container details {
    margin: 0.5em 0; /* 各項目の余白 */
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden; /* はみ出しを防ぐ */
    transition: box-shadow 0.3s;
}

.menu-container details:hover {
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.menu-container details summary {
    cursor: pointer;
    font-weight: bold;
    font-size: 1.1em;
    padding: 10px 12px;
    background: #f8f7ee;
    border-radius: 6px;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between; /* タイトルとアイコンを左右に分ける */
    transition: background 0.3s;
}

/* 開いたときの背景色 */
.menu-container details[open] summary {
    background: #e0f0ff;
}

/* デフォルトの三角アイコンを消して独自に矢印を作る */
.menu-container details summary::-webkit-details-marker {
    display: none;
}

.menu-container details summary::after {
    content: "▼";
    font-size: 0.9em;
    transition: transform 0.3s;
    color: #666;
}

/* 開いたときに矢印を回転 */
.menu-container details[open] summary::after {
    transform: rotate(-180deg);
}

/* コンテンツ部分 */
.menu-container details p,
.menu-container details div {
    padding: 10px 12px;
    background: #fffdf6;
    line-height: 1.6;
    font-size: 0.95em;
    margin: 3px 0;
}


    /*price*/
    .price {
        padding: 2rem;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    .section {
        max-width: 500px;
        margin: auto;
    }


    .section-title {
      font-size: 1.2em;
      font-weight: bold;
      margin-top: 20px;
      text-align: center;
      margin-bottom: 10px;
    }

    .subcategory {
      font-weight: bold;
      margin-top: 10px;
    }

    .item {
      display: flex;
      justify-content: space-between;
      margin: 0 auto;
      border-bottom: 1px dashed #ccc;
      align-items:flex-end;
    }

    .item span:first-child {
      color: #1480ae; /* 左側のテキスト（メニュー名） */
    }

      .item span:last-child {
      color: #EC6798; /* 右側のテキスト（金額） */
      font-size: 1.3rem;
    }

    .pay {
        text-align: center; 
        font-size: 1.4rem;
        color: #444; 
        padding: 1rem 0;
    }

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

    .pay_info span {
      padding:0 20px;
      font-size: 1.1rem;
    }

    .pay_info::before,
    .pay_info::after {
      content:"";
      height:1px;
      width:10%;
      background:#333;
    }

    .credit_icon {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 10px;
    }

    .credit_icon img {
      height: 2rem;
    }

    /*access*/
    .access {
        padding: 2rem;
        background-color: #fafdff;
    }

    .access-info {
        max-width: 250px;
        margin: 2rem auto;
    }

    .access-info p {
        margin: 0.5rem 0rem;
    }



    .access_img {
      max-width: 400px;
      margin: 2rem auto;
      padding-top: 325px; /* 画像の高さ */
      position: relative;
      text-align: center;
      display: flex;
      justify-content: center;
      flex-direction:row-reverse
    }
    .access_img > img {
      position: absolute;
      right: 0;
      left: 0;
      margin: 0 auto;
      top: 0;
      transition: all 0.5s;
      border-radius: 3px;
      box-shadow:0px 0px 5px 0px rgba(0,0,0,0.3);
      width: 30vh;
      height: 300px;
    }
    .access_img input[name='cp_switch'] {
      display: none;
    }
    /* サムネイル */
    .access_img label {
      margin: 15px 5px 0 5px;
      border: 2px solid #ffffff;
      display: inline-block;
      cursor: pointer;
      transition: all 0.5s ease;
      opacity: 0.6;
      border-radius: 3px;
      padding: 0;
    }
    .access_img label:hover {
      opacity: 0.9;
    }
    .access_img label img {
      display: block;
      width: 40px;
      border-radius: 2px;
    }
    .access_img input[name='cp_switch']:checked + label {
      border: 2px solid #FF7043;
      opacity: 1;
    }
    .access_img input[name='cp_switch'] ~ img {
      opacity: 0;
    }
    /* チェックされたとき iframe を表示 */
    .access_img input[name='cp_switch']:checked + label + iframe {
      opacity: 1;
    }

    .access_img input[name='cp_switch']:checked + label + img {
      opacity: 1;
    }

    .access_img iframe {
      position: absolute;
      right: 0;
      left: 0;
      margin: 0 auto;
      top: 0;
      transition: all 0.5s;
      opacity: 0;
      border-radius: 3px;
      box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.3);
      width: 30vh;
      height: 300px;
      z-index: 1;
    }

    .access a {
        text-decoration: none;
        color: #333; /* 通常の文字色 */
    }

    .social-icons {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.social-icons a.instagram {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  border-radius: 9999px; /* 丸みを最大化 */
  color: white;
  font-weight: bold;
  text-decoration: none;
  font-size: 1rem;
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, 
              #dc2743 50%, #cc2366 75%, #bc1888 100%);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.social-icons a.instagram:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

    .reserve-button{
        text-align: center;
    }

    :root{
        --cta-bg: linear-gradient(135deg,#ffefe1, #f7e6c0);
        --cta-bg-hover: linear-gradient(135deg,rgb(229, 206, 166),#f3d9a2);
        --cta-text: #333;
        --cta-shadow: 0 10px 24px rgba(0,0,0,.18);
        --cta-shadow-hover: 0 14px 32px rgba(0,0,0,.22);
        --cta-ring: 0 0 0 3px rgba(92,192,255,.35);
    }

.cta-reserve{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.6rem;
  padding: .9rem 1.4rem;
  border-radius: 9999px;          /* pill */
  background: var(--cta-bg);
  color: var(--cta-text);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: .04em;
  box-shadow: var(--cta-shadow);
  transform: translateY(0);
  transition:
    transform .18s ease,
    box-shadow .18s ease,
    background .18s ease,
    filter .18s ease;
  -webkit-tap-highlight-color: transparent;
}

.cta-reserve:hover{
  transform: translateY(-2px);
  background: var(--cta-bg-hover);
  box-shadow: var(--cta-shadow-hover);
  filter: brightness(1.01);
}

.cta-reserve:active{
  transform: translateY(0);
  filter: brightness(.98);
}

.cta-reserve:focus-visible{
  outline: none;
  box-shadow: var(--cta-shadow-hover), var(--cta-ring);
}

/* テキストとアイコン */
.cta-text{ font-size: clamp(1rem, 2.2vw, 1.05rem); }
.cta-icon{
  width: 1.2em;
  height: 1.2em;
  flex: 0 0 auto;
  transition: transform .18s ease;
}
.cta-reserve:hover .cta-icon{ transform: translateX(2px); }


    .footer {
  display: flex;
  justify-content: center; /* 中央寄せ */
  width: 100%;
  padding: 5rem 0;
  background-color: rgb(220, 220, 220);
}

.footer-text {
  width: 80%;               /* 横幅を常にページの80% */
  font-size: clamp(1rem, 5vw, 3rem); /* 画面幅に応じて可変 */
  font-weight: clamp(400, 5vw, 700); /* 太さも可変に */
  text-align: center;       /* 中央寄せ */
  color: rgb(120, 120, 120);
  margin: 0;
}
