
/* -----layout------ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
html, body {
    width: 100%;
    overflow-x: hidden;
    scroll-behavior: smooth;
    font-family: 'Noto Serif JP', serif;
  }
  
section {
    width: 100%;
    min-height: 1000px;
    background: white;
    
  }
h1 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 2rem;
    color: #c76c2f;
    font-weight: normal;
  }
h2 {
    font-size: 1.3rem;
    text-align: center;
    font-weight: normal;
    color: black;
    margin-bottom: 1rem;
}
.notice {
  color: red;
  font-size: 0.9rem;
  margin-top: -10px;
  margin-bottom: 10px;
  text-align: center;
}



#top {
  padding-top: 0;
}
  .hero {
    background: linear-gradient(
      to bottom,
      white 0%,
      #e7ad86 50%,
      white 100%
    );
    background-size: 100% 300%;
    background-position: 0 0;
    animation: gradientFlow 10s ease-in-out infinite alternate;
    color: #3d2c21;
    margin: 0;
    padding: 0;
    text-align: center;
  }
  
  @keyframes gradientFlow {
    0% {
      background-position: 0 0;
    }
    100% {
      background-position: 0 100%;
    }
  }
  
  .logo {
    width: 400px;
    margin-top: 2rem;
    margin-bottom: 2rem;
  }

  
  .hero-inner {
    position: relative;
    z-index: 1;
  }
  .main-title {
    font-size: 3rem;
    line-height: 1.6;
    margin: 1.5rem 0;
    font-weight: 500;
    color: #3d2c21;
  }
  
  .description {

    font-size: 2rem;
    line-height: 1.8;
    margin-top: 1rem;
    margin-bottom: 2rem;
    color: #4a3c30;
  }
  @keyframes colorGlow {
    0%   { color: #3d2c21; }
    25%  { color: #685649; }
    50%  { color: #807975; }
    75%  { color: #7c695d; }
    100% { color: #3d2c21; }
  }
  
  .main-title,
  .description {
    animation: colorGlow 14s ease-in-out infinite;
  }

  


.scroll-prompt {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: #c76c2f;
  font-family: 'Noto Serif JP', serif;
  font-size: 2rem;
}

.scroll-prompt i {
  display: block;
  margin-top: 0.5rem;
  animation: bounce 1.5s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(20px); opacity: 0.2; }
}



/* 下部に固定されるフッターボタンのスタイル */
.fixed-footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 100px;
    background-color:rgba(0, 0, 0, 0);;
    text-align: center;
}

/* -----layout------ */


/* -----fotter------ */

/* フッター内のボタンスタイル */
.fixed-footer button {
  font-size: 1.2rem;
  color: white;
  background-color: #c76c2f;
  border: none;
  padding: 1rem 3rem;
  border-radius: 12px;
  margin-bottom: 5px;
  cursor: pointer;
  box-shadow: 0 6px 0 #a9541f, 0 6px 15px rgba(0,0,0,0.2);
  transition: all 0.15s ease-in-out;
  font-family: 'Noto Serif JP', serif;
  font-weight: normal;
  letter-spacing: 1px;
}

.fixed-footer button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 15px rgba(0,0,0,0.3);
  background-color: #d87530;
}

.fixed-footer button:active {
  transform: translateY(3px);
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  background-color: #b85f27;
}

/* モーダル全体（ポップアップの背景）のスタイル */
.modal-overlay {
    display: none; /* 初期は非表示 */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5); /* 半透明の背景 */
    z-index: 11111;
    justify-content: center;
    align-items: center;
}

/* 閉じるボタン（右上の × ボタン） */
.close-button {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: #888;
}

/* iframeで表示する予約フォームのスタイル */
iframe {
    width: 100%;
    height: 700px; /* 高さを拡大 */
    border: none;
}
@media screen and (max-width: 768px) {
  iframe {
    width: 100%;
    height: 100vh; /* 高さを拡大 */
    border: none;
}
}


/* -----fotter------ */


/* ===== PC（769px以上） ===== */
@media screen and (min-width: 769px) {
    /*========= ナビゲーションのためのCSS ===============*/
    .openbtn {
        display: none;
      }
    #g-nav {
        display: none;
      }
    
    .header_page {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 60px;    
        background-color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 1000;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
      }
        
    
        #navigation{
           
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: space-between;
        }
    
       #navigation ul li{
           display: inline-block;
           padding: 0 30px;
           font-size: 1.5rem;
           line-height:3
           
          
       }
       #navigation a{
           
        
          font-family: 'Noto Serif JP', serif;
          font-weight: normal;
           
           color: #c76c2f;
           text-decoration: none;
           opacity: 0.8;
       }

    /*========= layout ===============*/

    section {
        padding-top: 60px;
        padding-bottom: 60px;
    }
    /* モーダルの中身（フォームを含む白いエリア）のスタイル */
    .modal-content {
    background-color: #fff;
    width: 70%; /* 横幅をやや狭く */
    max-height: 90%; /* 高さ制限（画面の90%） */
    border-radius: 10px;
    overflow-y: auto;
    position: relative;
    }
}

  
  /* スマホ（幅768px以下）では表示 */
  @media screen and (max-width: 768px) {
    h1 {
      text-align: center;
      font-size: 1.7rem;
      margin-bottom: 2rem;
      color: #c76c2f;
      font-weight: normal;
    }
  h2 {
      font-size: 1.1rem;
      text-align: center;
      font-weight: normal;
      color: black;
      margin-bottom: 1rem;
  }



    .logo {
      width: 300px;
      margin-bottom: 1rem;
    }
    
    .main-title {
      font-size: 2rem;
      line-height: 1.6;
      margin: 1.5rem 0;
      font-weight: 500;
      color: #3d2c21;
    }
    
    .description {
  
      font-size: 1.5rem;
      line-height: 1.8;
      margin-top: 1rem;
      margin-bottom: 2rem;
      color: #4a3c30;
    }
    

    section {
        width: 100%;
        background: white;
      }

    .openbtn {
      display: block;
    }
    #g-nav {
        display: block;
      }
    #navigation{
        display: none;
    }


    #g-nav{
        /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
        position:fixed;
        z-index: 999;
        /*ナビのスタート位置と形状*/
        top:-120%;
        left:0;
        width:100%;
        height: 100vh;/*ナビの高さ*/
        background-color: #e7ad86;
        /*動き*/
        transition: all 0.6s;
    }

    /*アクティブクラスがついたら位置を0に*/
    #g-nav.panelactive{
        top: 0;
    }

    /*ナビゲーションの縦スクロール*/
    #g-nav.panelactive #g-nav-list{
        /*ナビの数が増えた場合縦スクロール*/
        position: fixed;
        z-index: 999; 
        width: 100%;
        height: 100vh;/*表示する高さ*/
        -webkit-overflow-scrolling: touch;
    }

    /*ナビゲーション*/
    #g-nav ul {
        position: absolute;
        z-index: 999;
        top:50%;
        left:50%;
        transform: translate(-50%,-50%);
    }

    /*リストのレイアウト設定*/
    #g-nav li{
        list-style: none;
        text-align: center; 
    }
    #g-nav li a{
        color: #333;
        text-decoration: none;
        padding:10px;
        display: block;
        text-transform: uppercase;
        letter-spacing: 0.1em;
        font-family: 'Noto Serif JP', serif;
        font-weight: normal;
    }

    /*========= ボタンのためのCSS ===============*/
    .openbtn{
        position:fixed;
        z-index: 9999;/*ボタンを最前面に*/
        top:10px;
        right: 10px;
        cursor: pointer;
        width: 50px;
        height:50px;
    }
        
    /*×に変化*/	
    .openbtn span{
        display: inline-block;
        transition: all .4s;
        position: absolute;
        left: 14px;
        height: 3px;
        border-radius: 2px;
        background-color: #666;
        width: 45%;
    }

    .openbtn span:nth-of-type(1) {
        top:15px;	
    }

    .openbtn span:nth-of-type(2) {
        top:23px;
    }

    .openbtn span:nth-of-type(3) {
        top:31px;
    }

    .openbtn.active span:nth-of-type(1) {
        top: 18px;
        left: 18px;
        transform: translateY(6px) rotate(-45deg);
        width: 30%;
    }

    .openbtn.active span:nth-of-type(2) {
        opacity: 0;
    }

    .openbtn.active span:nth-of-type(3){
        top: 30px;
        left: 18px;
        transform: translateY(-6px) rotate(45deg);
        width: 30%;
    }
    /* メニューが開いている間だけ予約ボタンを非表示にする */
    #g-nav.panelactive ~ .fixed-footer {
        display: none;
    }

    /* モーダルの中身（フォームを含む白いエリア）のスタイル */
    .modal-content {
    background-color: #fff;
    width: 100%; /* 横幅をやや狭く */
    max-height: 100%; /* 高さ制限（画面の90%） */
    overflow-y: auto;
    position: relative;
}
}

@media (max-width: 400px) {
  h1 {
    text-align: center;
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: #c76c2f;
    font-weight: normal;
  }
  h2 {
    font-size: 1rem;
    text-align: center;
    font-weight: normal;
    color: black;
    margin-bottom: 1rem;
  }
  .logo {
    width: 200px;
    margin-bottom: 1rem;
  }
  
  .main-title {
    font-size: 1.5rem;
    line-height: 1.6;
    margin: 1.5rem 0;
    font-weight: 500;
    color: #3d2c21;
  }
  
  .description {

    font-size: 1rem;
    line-height: 1.8;
    margin-top: 1rem;
    margin-bottom: 2rem;
    color: #4a3c30;
  }
  /* フッター内のボタンスタイル */
.fixed-footer button {
  font-size: 1rem;
  color: white;
  background-color: #c76c2f;
  border: none;
  padding: 0.8rem 2rem;
  border-radius: 12px;
  margin-bottom: 5px;
  cursor: pointer;
  box-shadow: 0 6px 0 #a9541f, 0 6px 15px rgba(0,0,0,0.2);
  transition: all 0.15s ease-in-out;
  font-family: 'Noto Serif JP', serif;
  font-weight: normal;
  letter-spacing: 1px;
}

.fixed-footer button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 15px rgba(0,0,0,0.3);
  background-color: #d87530;
}

.fixed-footer button:active {
  transform: translateY(3px);
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  background-color: #b85f27;
}
.scroll-prompt {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: #c76c2f;
  font-family: 'Noto Serif JP', serif;
  font-size: 1.5rem;
}

.scroll-prompt i {
  display: block;
  margin-top: 0.3rem;
  animation: bounce 1.5s infinite;
}


  }


/* service */



.item {
    position: relative;
    border-radius: 20px;
    overflow-x: hidden;
    cursor: pointer;
    transition: transform 0.2s ease;
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.5);
}

.item:hover {
    transform: scale(0.97);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0);
}



.item .mask {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(238, 178, 109, 0.3);
    display: flex;
    color: white;
    font-family: 'Noto Serif JP', serif;
    font-size: 1.4rem;
    z-index: 2;
    backface-visibility: hidden;
}

.item h3 {
    position: absolute;
    top: 5rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    font-family: 'Noto Serif JP', serif;
    font-weight: normal;
    color: white;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
    z-index: 3;
    margin: 0;
    padding: 0.3rem 1rem;
}

.item p {
    position: absolute;
    top: 5rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1rem;
    font-family: 'Noto Serif JP', serif;
    font-weight: normal;
    color: white;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
    z-index: 3;
    margin: 0;
    padding: 0.3rem 1rem;
}

.item span {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.3rem;
    font-weight: normal;
    color: white;
    z-index: 3;
    margin: 0;
    padding: 0.3rem 1.2rem;
    border: 1px solid white;
    border-radius: 12px;
    box-sizing: border-box;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.item span:hover {
    transform: translateX(-50%) scale(1.05);
}

.container {
    display: grid;
    grid-template-columns: 35% 35%;
    grid-template-rows: 250px 250px;
    gap: 10%;
    justify-content: center;
    align-content: center;
    min-height: 70vh;
    margin-top: 2rem;
}

.blog .item:nth-of-type(1) {
    background-image: url(../image/hari.jpg);
    background-position: center;
    background-size: cover;
}

.blog .item:nth-of-type(2) {
    background-image: url(../image/biyoubari.png);
    background-position: center;
    background-size: cover;
}

.blog .item:nth-of-type(3) {
    background-image: url(../image/massage.jpg);
    background-position: center;
    background-size: cover;
}

.blog .item:nth-of-type(4) {
    background-image: url(../image/este.jpg);
    background-position: center;
    background-size: cover;
}


.price-table {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #e7ad86;
    color: white;
    font-family: 'Noto Serif JP', serif;
    align-items: center;
    justify-content: center;
  }
  
  .price-table ul {
    list-style: none;
    padding: 0 1.5rem 1.5rem 1.5rem;
    text-align: center;
  }
  
  .price-table li {
    margin: 1rem 0;
    font-size: 1.2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.5rem 1.5rem;
  }
  
  .price-table li:last-child {
    border-bottom: none;
  }
.price-table .back-btn {
    display: inline-block;
    background-color: white;
    color: #e7ad86;
    font-weight: bold;
    font-family: 'Noto Serif JP', serif;
    cursor: pointer;
    border: 1px solid #e7ad86;
    text-align: center;
    transition: background-color 0.3s;
    bottom: 1rem;
  }
  
  .price-table .back-btn:hover {
    background-color: #f5f5f5;
  }

  

@media screen and (max-width: 768px) {
    .blog {
        width: 100%;
        background-color: white;
    }

    .container {
        grid-template-columns: 1fr;
        display: grid;
        grid-template-rows: 250px 250px 250px 250px;
        gap: 5%;
        justify-content: center;
        height: 1200px;
        margin: 1rem;
    }

    .item {
        border-radius: 12px;
        cursor: pointer;
        transition: transform 0.2s ease;
        box-shadow: 0 15px 25px rgba(0, 0, 0, 0.3);
        margin-top: 1rem;
    }

    .item:hover {
        transform: scale(0.98);
        box-shadow: 0 15px 25px rgba(0, 0, 0, 0.3);
    }

    .item span:hover {
        transform: translateX(-50%) scale(0.98);
    }

    .item h2 {
        font-size: 1.2rem;
    }

    .item span {
        font-size: 1.1rem;
        padding: 0.5rem 1rem;
    }

}

.item.animate {
    animation: pressDown 0.15s ease;
}

@keyframes pressDown {
    0%   { transform: scale(1); }
    50%  { transform: scale(0.92); }
    100% { transform: scale(1); }
}
@media (max-width: 400px) {

.item .mask {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(238, 178, 109, 0.2);
  display: flex;
  color: white;
  font-family: 'Noto Serif JP', serif;
  z-index: 2;
  backface-visibility: hidden;
}

.item h3 {
  position: absolute;
  top: 3rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.5rem;
  font-family: 'Noto Serif JP', serif;
  font-weight: normal;
  color: white;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
  z-index: 3;
  margin: 0;
  padding: 0.3rem 1rem;
}

.item p {
  position: absolute;
  top: 3rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1rem;
  font-family: 'Noto Serif JP', serif;
  font-weight: normal;
  color: white;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
  z-index: 3;
  margin: 0;
  padding: 0.3rem 1rem;
}

.item span {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1rem;
  font-weight: normal;
  color: white;
  z-index: 3;
  margin: 0;
  padding: 0.3rem 1.2rem;
  border: 1px solid white;
  border-radius: 12px;
  box-sizing: border-box;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
  bottom : 1.5rem
}
.price-table li {
  margin:0;
  font-size: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0.5rem 1.5rem;
}

}



/* service */


/* customer */

.nyano-feedback-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 1000px;
    margin: auto;
    }
    
    .nyano-feedback-card {
    display: flex;
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    align-items: flex-start;
    flex-wrap: wrap;
    }
    .nyano-feedback-card:nth-child(odd) {
    background-color: #fff6eb;
    }
    .nyano-feedback-card:nth-child(even) {
    background-color: #e7ad86;
    }
    
    .nyano-profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100px;
    margin-right: 15px;
    }

    .nyano-profile-image {
        border-right: none; /* 念のため */
      }
      .nyano-profile {
        border-right: none;
      }
    
    .nyano-profile-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    }
    
    .nyano-profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    }
    
    .nyano-profile-footer {
    margin-top: 10px;
    font-size: 12px;
    color: #666;
    text-align: center;
    }
    
    .nyano-feedback-content {
    flex: 1;
    }
    
    .nyano-feedback-content p {
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    text-align: left;
    }
    
    .nyano-feedback-content p span {
    font-weight: bold;
    color: #e56b3c;
    }
/* セクション見出しを統一感あるデザインに */
.feedback-section h1 {

    color: #c76c2f;
}

.feedback-section h2 {

    margin-bottom: 1rem;
}

/* カードのホバーで拡大・影強調 */
.nyano-feedback-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.nyano-feedback-card:hover {
  transform: scale(1.02);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

/* プロフィール画像に枠追加 */
.nyano-profile-image {
  border: 3px solid #fff;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

/* カード内の文章も中央寄せ気味に */
.nyano-feedback-content {
  padding-top: 10px;
}

/* モバイルでもカードに余白感を */
@media screen and (max-width: 768px) {
  .nyano-feedback-card {
    flex-direction: column;
    align-items: center;
    text-align: left;
    padding: 15px;
    margin: 1rem;
    }
    
    .nyano-profile {
    margin-right: 0;
    margin-bottom: 10px;
    width: auto;
    }
    
    .nyano-feedback-content {
    text-align: left;
    }

  #customer {
    width: 100%;
  }

}


/* contact */

.contact-section {
    text-align: center;
    font-family: 'Noto Serif JP', serif;
  }
  
  .contact-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    flex-wrap: wrap;
    min-height: 70vh;
  }
  
  .contact-info {
    flex: 1;
    font-size: 1rem;
    line-height: 2;
    margin-top: 4rem;
    padding: 1rem;
    text-align: left;
  }
  
  .contact-info p {
    margin: 2rem 0;
  }
  
  .contact-info i {
    margin-right: 0.5rem;
    color: #c76c2f;
  }
  
  .contact-info a {
    text-decoration: none;
    color: #333;
    border-bottom: 3px dotted#c76c2f;;
  }
  
  .map-wrapper {
    flex: 1;
    width: 40%;
    min-height: 50vh;
    border-radius: 10px;
    margin-top: 4rem;
    margin-right: 2rem;
  }
  
  .map-wrapper iframe {
    width: 100%;
    height: 50vh;
  }
  
  /* モバイル対応 */
  @media (max-width: 768px) {

    .contact-section {
        width: 100%;
        font-family: 'Noto Serif JP', serif;
      } 
    .contact-content {
      flex-direction: column;
      gap: 1rem;
      width: 100%;
      padding: 1rem;
    }
  
  
    .contact-info {
      font-size: 0.95rem;
      width: 100%;
      text-align: left;
    }
  
    .map-wrapper {
      height: 100%;
      width: 100%;
      margin-top: 0;
    }
  }
  @media (max-width: 400px) {

    .nyano-feedback-card {
      flex-direction: column;
      align-items: center;
      text-align: left;
      padding: 15px;
      margin: 1rem;
    
      }
      
      .nyano-profile {
      margin-right: 0;
      margin-bottom: 10px;
      width: auto;
      }
      
      .nyano-feedback-content {
      text-align: left;
      }
  
    #customer {
      width: 100%;
    }
  
  }

  