/* ------------------------------ */
/* カスタムプロパティ */
/* ------------------------------ */

/* カラー */
:root {
    --color-bg-primary: #faf9f6;
    --color-bg-brack: #333;
    --color-border: #333;
    --color-border-white: #ffffff;
    --color-border-gray: #ccc;
    --color-font-base: #000;
    --color-font-white: #ffffff;
}







/* リセット */
* {
    box-sizing: border-box;
  }
  
  body {
    margin: 0;
    font-family: "Noto Serif JP", serif;
    color: var(--color-font-base);
    background: var(--color-bg-primary);
    line-height: 1.8;
    padding-top: 80px;
  }
  
  img {
    width: 100%;
    display: block;
  }
  
  a {
    text-decoration: none;
    color: inherit;
  }
  






  /* ===== header ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    padding: 0 20px;
    background: rgba(250, 249, 246, 0.9);
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
  }
  
  .logo {
    font-size: 28px;
    letter-spacing: 0.12em;
  }




  /* ===== PC nav ===== */
.pc-nav {
  display: none;
}

.pc-nav-list {
  list-style: none;
  display: flex;
  gap: 32px;
  margin: 0;
  padding: 0;
}

.pc-nav-list a {
  font-size: 24px;
  letter-spacing: 0.12em;
  position: relative;
  font-weight: 700;
}







  /* ===== header position control (SP only) ===== */
@media (max-width: 1100px) {
    .header {
      transition: top 0.3s ease, bottom 0.3s ease;
    }
  
    /* 下固定状態 */
    .header.is-bottom {
      top: auto;
      bottom: 0;
    }
  }
  



  
/* ===== hamburger ===== */
/* ===== hamburger animation ===== */
.hamburger span {
    transition: transform 0.4s ease, opacity 0.4s ease;
  }
  
  /* メニューOPEN時 */
  .sp-nav.is-open + .header .hamburger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  
  .sp-nav.is-open + .header .hamburger span:nth-child(2) {
    opacity: 0;
  }
  
  .sp-nav.is-open + .header .hamburger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  




  .hamburger {
    width: 28px;
    height: 20px;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
  }
  
  .hamburger span {
    display: block;
    width: 100%;
    height: 1px;
    background: var(--color-bg-brack);
    margin-bottom: 6px;
    transition: 0.3s;
  }
  
  .hamburger span:last-child {
    margin-bottom: 0;
  }
  
  /* ===== nav ===== */
  .sp-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--color-bg-primary);

    display: flex;                 /* 追加 */
    justify-content: center;       /* 縦中央 */
    align-items: center;           /* 横中央 */
  
    /*padding: 100px 20px;*/
    transition: right 0.4s ease;
    z-index: 900;
  }
  
  .sp-nav.is-open {
    right: 0;
  }
  
  .sp-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
  }
  
  .sp-nav-list li {
    margin-bottom: 28px;
  }
  
  .sp-nav-list a {
    font-size: 18px;
    letter-spacing: 0.15em;
  }
  
  .page-top {
    margin-top: 40px;
    font-size: 16px;

  }
  




  /* ===== section 共通 ===== */
.section {
    padding: 32px 20px;
  }
  
  .section-title {
    font-size: 28px;
    letter-spacing: 0.12em;
    margin-bottom: 40px;
  }
  




body.is-fixed {
  overflow: hidden;
}







/* top-title */
.top-title {
    position: relative;
    width: 100%;
    height: 40vh;          /* ★追加 */
    min-height: 120px;    /* ★追加 */
    padding-top: 144px;
    padding-bottom: 32px;
    overflow: hidden;
    background-image: url(../img/bg_kv.jpg);
    background-size: cover;
    padding: 0;   /* ← これが重要 */
    background-position: center;
    background-repeat: no-repeat;
  }

  /* スライダー */
.top-title__slider {
    position: relative;
    width: 100%;
    height: 100%;
  }
  
.top-title__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease;
  }
  
  /* 表示中 */
.top-title__slide.is-active {
    opacity: 1;
    z-index: 1;
  }
  
.top-title__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
  
.top-title__text {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    pointer-events: none;
  }
  
.top-title__title {
    font-size: 36px;
    letter-spacing: 0.15em;
    color: var(--color-font-white);
    margin-bottom: 12px;
    text-shadow:    
    1px 1px 2px var(--color-border),  
    -1px 1px 2px var(--color-border),
    -1px -1px 0 var(--color-border),
    1px -1px 0 var(--color-border);;
   }
  
.top-title__subtitle {
    font-size: 16px;
    letter-spacing: 0.08em;
    color: var(--color-font-white);
    text-shadow:    
    1px 1px 2px var(--color-border),
    -1px 1px 2px var(--color-border),
    -1px -1px 0 var(--color-border),
    1px -1px 0 var(--color-border);;
  }

/* 中身だけ中央寄せ */
.top-title__slider {
  max-width: 600px;
  margin: 0 auto;
  height: 100%;
}







/* ===== key visual slider ===== */
.key-visual {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding: 24px 20px;
    padding-top: 64px;
    padding-bottom: 64px;
    background-image: url(../img/bg_kv.jpg);
    background-size: cover;
  }
  
  .key-visual::-webkit-scrollbar {
    display: none;
  }
  
  .key-visual__track {
    display: flex;
    gap: 60px;
    padding: 0;
  }
  
  .key-visual__item {
    flex: 0 0 70%;
    scroll-snap-align: center;
  }
  
  .key-visual__item img{
    width: 100%;
    height: auto;
    object-fit: cover;
  }
  
  .key-visual.is-auto {
    scroll-snap-type: none;
  }

  .key-visual__item img:hover {
    opacity: 0.9;
  }







  /* ===== menu ===== */
  .menu {
    background-image: url(../img/bg_menu.jpg);
    background-size: cover;
  }

  .menu-list {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
  }
  
  .menu-list li {
    display: flex;
    justify-content: left;
    padding: 12px 0;

  }
  
  .menu-name {
    font-size: 16px;
  }
  
  .menu-price {
    font-size: 16px;
    letter-spacing: 0.05em;
    font-weight: bold;
  }
  
  /* ===== button ===== */
  .toggle-btn {
    display: block;
    width: 100%;
    padding: 14px 0;
    background: none;
    border: 1px solid var(--color-border-gray);
    font-size: 16px;
    letter-spacing: 0.1em;
    cursor: pointer;
    border-radius: 10px;
  }
  
  .close-btn {
    margin-top: 32px;
  }
  
  /* ===== hidden area ===== */
  .menu-detail {
    display: none;
    margin-top: 32px;
  }
  
  .menu-detail.is-open {
    display: block;
  }

  .menu-list-pc {
    display: none;
  }



/* ===== staff ===== */
  .staff {
    background-image: url(../img/bg_staff.jpg);
    background-size: cover;
  }

  .staff-card {
    display: flex;
    flex-direction: column;

    gap: 16px;
    margin-bottom: 24px;
  }
  
  .staff-card img {

    height: auto;
    object-fit: cover;
    border-radius: 2px;
  }
  
  .staff-info {
    font-size: 16px;
    display: flex;
    gap: 16px;
    font-weight: 500;
    margin-bottom: 4px;
  }
  
 
  
  .staff-detail {
    display: none;
    margin-top: 24px;
  }
  
  .staff-detail.is-open {
    display: block;
  }
  
  .staff-text {
    font-size: 16px;
    margin-bottom: 32px;
  }
  



  
  /* ===== gallery ===== */


  .gallery-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }
  
  .gallery-item img {
    border-radius: 2px;
    transition: 0.3s;
  }
  
  
  .gallery-item img:hover {
    opacity: 0.9;
  }

  .gallery {
    padding-top: 60px;
    background-image: url(../img/bg_gallery.jpg);
    background-size: cover;
  }
  
  .gallery-slider {
    display: flex;
    gap: 60px;
    overflow-x: auto;
    padding: 0;
  
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  
  .gallery-slider.is-auto {
    scroll-snap-type: none;
  }
  
  .gallery-item {
    flex: 0 0 70%;
    scroll-snap-align: center;
  }
  
  .gallery-item img {
    width: 100%;
    height: auto;
    display: block;
  }
  
  /* gallery スクロールバー非表示 */
  .gallery-slider::-webkit-scrollbar {
    display: none;
  }
  
  /* Firefox 用 */
  .gallery-slider {
    scrollbar-width: none;
  }
  
  .gallery-slider::before,
  .gallery-slider::after {
    content: "";
    flex: 0 0 calc((100% - 70%) / 2);
  }
  



  

  /* ===== reservation ===== */
  .reservation {
    background-image: url(../img/bg_reservation.jpg);
    background-size: cover;
  }

  .reservation-text {
    font-size: 16px;
    margin-bottom: 32px;
  }
  
  .calendar {
    margin-bottom: 40px;
  }
  
  .calendar-row {
    display: flex;
    justify-content: space-between;
  }
  
  .day {
    width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    font-size: 16px;
    border-radius: 50%;
    
  }
  
  .day.is-full {
    color: #aaa;
    border-color: #e0e0e0;
  }
  
  .reservation-btn {
    display: block;
    text-align: center;
    padding: 16px 0;
    border: 1px solid var(--color-border);;
    font-size: 16px;
    letter-spacing: 0.1em;
  }
  






  
  .calendar-header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
  }
  
  .calendar-header button {
    background: none;
    border: 0px solid var(--color-border-white);
    padding: 4px 12px;
    cursor: pointer;
    color: var(--color-font-white);
  }
  
  .calendar-header p {
    font-weight: bold;
  }
  






  /* ===== reservation table ===== */
.reservation-table-wrap {
    overflow-x: auto;
    margin-top: 24px;
    -webkit-overflow-scrolling: touch;
  }
  
  .reservation-table {
    border-collapse: collapse;
    min-width: 900px; /* ← SPで横スクロールさせる鍵 */
    width: 100%;
    font-size: 16px;
  }


  .reservation-table thead th {
    background: var(--color-bg-brack);
    color: var(--color-font-white);
    border: 1px solid var(--color-border);;
  }
  
  .month-row th {
    font-size: 16px;
    letter-spacing: 0.1em;
    padding: 12px;
  }
  
  .arrow {
    margin: 0 12px;
  }
  





  .date-row th {
    padding: 8px 4px;
  }
  
  .day {
    display: block;
    font-size: 16px;
    margin: 0 auto;
  }
  
  .week {
    font-size: 16px;
    text-align: center;
  }
  
  .week.sun { color: #ff6b6b; }
  .week.sat { color: #6ba8ff; }
  





  .reservation-table td {
    border: 1px solid var(--color-border-gray);
    height: 34px;
    text-align: center;
  }
  
  .reservation-table td.ok::before {
    content: "○";
    font-size: 18px;
  }
  
  .reservation-table td.ng::before {
    content: "×";
    font-size: 18px;
  }
  




  .reservation-table td.ok {
    cursor: pointer;
    transition: background 0.2s ease;
  }
  
  .reservation-table td.ok:hover {
    background: #f5f5f5;
  }
  
  .reservation-table td.ng {
    color: #6e6e6e;
  }
  



  .reservation-table td.ok:active {
    background: #e6e6e6;
  }
  


  
/* ===== reservation hidden ===== */
.reservation-detail {
    display: none;
    margin-top: 32px;
  }
  
  .reservation-detail.is-open {
    display: block;
  }
  





/* ===== blog ===== */
.blog {
    padding: 40px 16px;
    background-image: url(../img/bg_blog.jpg);
    background-size: cover;
  }
  
 
  .blog-list {
    display: grid;
    gap: 24px;
    max-height: 600px;        /* 初期表示 */
    overflow: hidden;
    transition: max-height .4s ease;
  }
  
  .blog-list.open {
    max-height: 4000px;       /* 展開時 */
  }
  
  .blog-card {
    border: 1px solid  var(--color-border);
    padding: 16px;
  }
  
  .blog-date {
    font-size: 16px;
    margin-bottom: 8px;
  }
  
  .blog-heading {
    font-size: 16px;
    margin-bottom: 12px;
    line-height: 1.5;
  }
  
  .blog-card img {
    width: 100%;
    height: auto;
    display: block;
  }
  
  .blog-toggle {
    display: block;
    width: 100%;
    padding: 14px 0;
    background: none;
    border: 1px solid var(--color-border-gray);
    font-size: 16px;
    letter-spacing: 0.1em;
    cursor: pointer;
    border-radius: 10px;
    margin-top: 20px;
  }











  /* ===== contact ===== */
.contact {
    text-align: left;
    background-image: url(../img/bg_contact.jpg);
    background-size: cover;
  }
  
  .contact-text {
    font-size: 16px;
    margin-bottom: 120px;
  }
  




  .nav-portfolio {
      text-decoration: none;
      color: var(--color-font-base);
      padding: 10px;
    }




  .sp-only {
    display: block;
  }
  
  .pc-only {
    display: none;
  }
  



  @media (max-width: 1100px) {

      /* top-title 全体はそのまま */
      .top-title {
        padding: 0; /* ← 左右の余白量（お好みで調整） */
      }
  
      /* スライダーを中央寄せ＋最大幅制限 */
      .top-title__slider {
        max-width: 600px;
        margin: 0 auto;
      }


      .nav-portfolio {
      padding-bottom: 80px;
    }



    }
  



 
  
  @media (min-width: 1100px) {
    .section {
      padding: 100px 100px;
    }
  
    .section > * {
      max-width: 1400px;
      margin-left: auto;
      margin-right: auto;
    }
  
    .section-title {
      font-size: 32px;
      padding-bottom: 64px;
    }







    .hamburger {
      display: none;
    }
  
    /* PCナビ表示 */
    .pc-nav {
      display: block;
    }
  
    /* ヘッダー右寄せ調整 */
    .header {
      padding: 0 60px;
    }









    .toggle-btn,
    .blog-toggle {
      display: none;
    }
  
    /* 詳細は常に表示 */
    .menu-detail,
    .staff-detail,
    .reservation-detail {
      display: block;
    }
  
    .blog-list {
      max-height: none;
      overflow: visible;
    }








    /* top-title 全体はそのまま */
    .top-title {
      padding: 0; 
    }

    /* スライダーを中央寄せ＋最大幅制限 */
    .top-title__slider {
      max-width: 600px;
      margin: 0 auto;
    }






    .menu-list {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 48px 80px;
    }
  
    .menu-list li {
      border-bottom: none;
      padding: 8px 0;
    }






    /* ===== menu 2カラム ===== */
    .menu-columns {
      display: grid;
      grid-template-columns: 31% 1fr;
      gap: 40px;
    }

    .menu-list {
      display: block;
    }

    .menu-group {
      margin-bottom: 60px; /* ← ご指定の「スペース空ける」 */
      font-size: 20px;
    }

    .menu-title {
      font-size: 20px;
      font-weight: 500;
      letter-spacing: 0.08em;
      margin-bottom: 16px;
    }

    .menu-group p {
      display: flex;
      justify-content: space-between;
      font-size: 20px;
      margin-bottom: 8px;
    }

    .menu-group p span {
      font-weight: 700;
      white-space: nowrap;
    }

    .menu-name{
      font-size: 20px;
    }
    .menu-price{
      font-size: 20px;
    }

    .menu-list-pc{
      font-size: 20px;
    }





    .staff {
      display: grid;
      grid-template-columns: 1fr 420px; /* 左：文章 / 右：写真 */
      grid-template-rows: auto auto; /* ← これが重要 */
      gap: 0px 80px;
      align-items: start;
    }
  
    /* タイトルは横幅いっぱい */
    .staff .section-title {
      grid-column: 1 / -1;
      margin-left: 0px;
    }
  
    /* 左側（文章） */
    .staff-detail {
      max-width: none;
      grid-column: 1 / 2;
      grid-row: 2 / 3;
    }
  
    /* 名前ブロックを文章の下に */
    .staff-card {
      flex-direction: column;
      grid-column: 2 / 3;
      grid-row: 2 / 4;
      margin-top: 0; /* ← ここ重要 */
    }
  
    .staff-info {
      grid-column: 1 / 2;
      grid-row: 3 / 4;
      margin: 0px auto auto 0px;
      font-size: 18px;
      gap: 24px;
    }
  
    /* 右側写真 */
    .staff-img {
      width: 100%;
      border-radius: 4px;
    }


    .staff-inner {
      max-width: 1400px;
      margin: 0 auto;
  
      display: grid;
      grid-template-columns: 1fr 420px;
      grid-template-rows: auto auto;
      gap: 0 80px;
      align-items: start;
    }
  
    .staff {
      display: block; /* ← gridをやめる */
    }

    .staff-text {
      font-size: 20px;
    }

    .staff-info{
      font-size: 20px;
    }






    
    .reservation-text{
      font-size: 20px;
    }

    .reservation-table{
      font-size: 20px;
    } 

    .reservation-table thead th{
      font-size: 20px;
    }

    .reservation-table tbody td{
      font-size: 20px;
    }   

    .reservation-table td.ok::before{
      font-size: 20px;
    }

    .reservation-table td.ng::before{
      font-size: 20px;
    }
    
    .reservation-table td.ok{
      font-size: 20px;
    }

    .reservation-table td.ng{
      font-size: 20px;
    }
    
    .reservation-table td.ok:hover{
      font-size: 20px;
    }

    .reservation-table td.ng:hover{
      font-size: 20px;
    }
    
    .reservation-table td.ok:active{
      font-size: 20px;
    }

    .reservation-table td.ng:active{
      font-size: 20px;
    }
    
    .reservation-detail{
      font-size: 20px;
    } 

    .day{
      font-size: 20px;
    }

    .week{
      font-size: 20px;
    }








    .blog-list {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 40px 48px;
    }
  
    .blog-card {
      display: grid;
      grid-template-columns: 1fr 240px; /* 右側を画像固定 */
      gap: 24px;
      align-items: start;
      padding: 24px;
    }
  
    /* 左側まとめ */
    .blog-text {
      display: flex;
      flex-direction: column;
      justify-content: center; /* ← 縦中央 */
      font-size: 20px;
    }
  
    .blog-card img {
      width: 100%;
      height: 160px;          /* ← ここが肝 */
      object-fit: cover;      /* はみ出しはトリミング */
      object-position: center;
    }
      
    .blog-date{
      font-size: 20px;
    }

    .blog-heading{
      font-size: 20px;
    }







    .contact-text {
      font-size: 20px;
    }











    .sp-only,
    .menu-list-sp {
      display: none;
    }
  
    .pc-only {
      display: block;
    }






    /* ===== key visual hover ===== */
    .key-visual__item {
      overflow: hidden;
    }

    .key-visual__item img {
      transition: transform 0.4s ease;
    }

    .key-visual__item:hover img {
      transform: scale(1.08);
    }





    /* ===== gallery hover ===== */
    .gallery-item {
      overflow: hidden;
    }

    .gallery-item img {
      transition: transform 0.4s ease;
    }

    .gallery-item:hover img {
      transform: scale(1.08);
    }







    .key-visual__item:hover img,
    .gallery-item:hover img {
      transform: scale(1.08);
    }
  
    .key-visual__item,
    .gallery-item {
      transition: transform 0.3s ease;
    }
  
    .key-visual__item:hover,
    .gallery-item:hover {
      transform: translateY(-4px);
    }




  }
  

  /* ===== reservation confirm popup ===== */
.reservation-popup {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 3000;
}

.reservation-popup.is-open {
  display: flex;
}

.reservation-popup__content {
  background: #fff;
  padding: 24px 32px;
  border-radius: 8px;
  max-width: 360px;
  width: 90%;
  text-align: center;
}

.reservation-popup__content p {
  font-size: 16px;
  margin-bottom: 24px;
}

.reservation-popup__buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.reservation-popup__buttons button {
  flex: 1;
  padding: 10px 0;
  border: 1px solid var(--color-border-gray);
  background: none;
  cursor: pointer;
  border-radius: 6px;
}

  


@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
