@charset "utf-8";
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* .main{
  overflow: hidden;
} */

.zoom {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: block;
}

/* === 背景スライド === */
.zoom_photo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  opacity: 0;
  transform: scale(1);
}
.zoom_photo {
  animation: slideZoomKeep 50s linear forwards;/* ← ここをいじればzoomの秒数変化 */
}
.zoom_photo img {
  width: 100%;
  height: 100vh;
  object-fit: cover;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background: rgba(255, 255, 255, 0.4); */
  pointer-events: none;
}


/* === ロゴアニメーション === */
.zoom_logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 30%;
  max-width: 40%;
  min-width: 300px;
  height: auto;
  z-index: 10;
  pointer-events: none;
  opacity: 0;
  animation: logoFade 4s forwards; /* ← forwards を追加 */
  animation-iteration-count: 1;    /* ← 1回だけアニメーション */
}
.jimoto{
  position: absolute;
  top: 70%;
  left: 50%;
  transform: translate(-50%, -70%);
  font-size: 40px;
  white-space: nowrap;
  color: #FFF;
  animation: jimotoFade 4s forwards; /* ← forwards を追加 */
  animation-iteration-count: 1;    /* ← 1回だけアニメーション */
  z-index: 10;
  pointer-events: none;
  opacity: 0;
}

.zoom_logo { animation-delay: 0s; }

@keyframes slideZoomKeep {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(1.2);
    opacity: 1;
  }
}

@keyframes logoFade {
  0% { opacity: 0; }
  10% {opacity: 0.1; }
  30%{opacity: 0.2; }
  45% { opacity: 0.3; }
  70%{opacity: 0.6;}
  90%{opacity: 0.8;}
  100% { opacity: 1; }
}
@keyframes jimotoFade {
  0% { opacity: 0; }
  10% {opacity: 0.1; }
  30%{opacity: 0.2; }
  45% { opacity: 0.3; }
  70%{opacity: 0.6;}
  90%{opacity: 0.8;}
  100% { opacity: 1; }
}

.main-content{
  display: flex;
}

.header{ 
  font-weight: 400;
  font-style: normal;
  width: 250px;
  height: 100vh;
  /* position: fixed; */
  /* position: absolute;
  top: 0;
  left: 0; */
  position: sticky;
  top: 0;
  z-index: 1000;
}
.main{
  position: relative;
  width: 100%;
  margin-left: 0;
}
.tamaarea {
  width: 100%;
  overflow: hidden;
  transform: translate(0px,-450px);
}

.images {
  position: absolute; /* ← fixed → relative */
  top: 0;
  right: 0;
  width: 100%;
    position: sticky;
    top: 0;
}

.photo {
  width: 100%;
  height: 100vh;
  object-fit: cover;
  display: block;
}

.cover {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 100%;
  height: 100vh;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
  z-index: 10;
}

.messages{
  top: 0;
  left: 0;
  width: 100%;
  position: relative;
  z-index: 3;
  padding-top: 0px;
  padding-bottom: 500px; /* 最後までスクロール余白追加 */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.message {
  width: 80%;
  font-size: 24px;
  text-align: center;
  margin: 150px auto;
  max-width: 60vw;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  line-height: 2.5em;
  font-family: "Zen Old Mincho", serif;
  font-weight: bold;
  color: #343434;
}
.message.visible {
  opacity: 1;
  transform: translateY(0);
}
.big{
  font-size: 30px;
  z-index: 100;
  top: 10%;
  left: 50%;
  transform:  translateY(50px);
  color: #343434;
}

.message.visible {
  opacity: 1;
  transform: translateY(0);
}

.message .btn{
  /* vertical-align: middle; */
  text-decoration: none;
  width: 120px;
  margin: auto;
  padding: 1rem 3rem;
  border: 3px solid #C1E4E9;
	background: #C1E4E9;
  border-radius: 100vh;
	transition: 0.5s;
  font-size: 16px;
}

.btn:hover {
	color: #3d3d3d;
	background: #fff;
}

.parallax{
  height: 100vh;
  padding: 5%;
  color: #333;
  font-size: 3rem;
  display: flex;
  align-self: center;
  justify-content: center;
  background-image: url(../images/parallax01.webp);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  opacity: 0.85;
}

.main-content2{
  position: relative; /* headerの絶対位置指定の基準になる */
  display: flex;
}



.sub_main{
  margin-top: 100px;
  margin-bottom: 0;
  padding: 0;
  width: calc(100% - 200px);
  margin-left: 0;
}


.kurasi {
  position: relative;
  max-width: 1000px;
  height: 600px; /* 同じ大きさの箱 */
  margin: 0 auto;
  margin-bottom: 100px;
}
.kurasi_image, .kurasi_text {
  position: absolute; /* 配置を制御するため絶対配置にする */
}
.kurasi_image {
  width: 600px;
  height: 400px;
  top: 0;
  left: 0;
}
.kurasi_image img {
  width: 100%;
  object-fit: cover;
  display: block;
}
.kurasi_text {
  top: 250px;
  left: 400px;
  width: 50%;
  background: rgba(255,255,255,0.8);
  padding: 30px;
  box-sizing: border-box;
  height: auto;
  box-shadow: 0 4px 4px rgba(218,218,218,0.7);
}
.kurasi_text h2 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  text-align: center;
}
.kurasi_text p {
  padding: 10px;
  font-size: 1rem;
  line-height: 1.8em;
}


.oisii {
  position: relative;
  max-width: 1000px;
  margin: 60px auto;
  height: 600px; /* 同じ大きさの箱 */
  margin: 0 auto;
  margin-bottom: 100px;
}
.oisii_image, .oisii_text {
  position: absolute; /* 配置を制御するため絶対配置にする */
  box-shadow: 0 4px 4px rgba(173,207,197,1);
  width: 600px;
  height: 100%;
}
.oisii_image {
  width: 600px;
  height: 400px;
  top: 0;
  right: 0;
}
.oisii_image img {
  width: 100%;
  object-fit: cover;
  display: block;
}
.oisii_text {
  top: 250px;    /* 縦50pxずらす */
  right:400px;  /* 横100px重なるように調整（400px-100px=300px） */
  background:rgba(255,255,255,0.8);
  width: 50%;
  padding: 30px;
  box-sizing: border-box;
  height: auto;
}
.oisii_text h2 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  text-align: center;
}
.oisii_text p {
  font-size: 1rem;
  line-height: 1.6em;
  padding: 10px;
}


.onomi {
  position: relative;
  max-width: 1000px;
  margin: 60px auto;
  height: 600px; /* 同じ大きさの箱 */
  margin: 0 auto;
}
.onomi_image, .onomi_text {
  position: absolute; /* 配置を制御するため絶対配置にする */
  width: 600px;
  height: 100%;
}
.onomi_image {
  width: 600px;
  height: 400px;
  top: 0;
  left: 0;
}
.onomi_image img {
  width: 100%;
  object-fit: cover;
  display: block;
}
.onomi_text {
  top: 250px;    /* 縦50pxずらす */
  left: 400px;  /* 横100px重なるように調整（400px-100px=300px） */
  background: rgba(255,255,255,0.8);
  padding: 20px;
  box-sizing: border-box;
  height: auto;
  box-shadow: 0 4px 4px rgba(135,31,31,0.7);
  width: 50%;
}
.onomi_text h2 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  text-align: center;
}
.onomi_text p {
  font-size: 1rem;
  line-height: 1.6;
  padding: 10px;
}

.parallax2{
  height: 80vh;
  color: #333;
  background-image: url(../images/DSC_2965.webp);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  opacity: 0.85;
  margin: 0;      /* 念のため余白リセット */
  padding: 0;
}
/* スライダー */
/* .slider{
  margin-bottom: 100px;
  text-align: center;
}
  .zigzag-slider{
  margin: 0 auto;
  margin-inline: auto;
  width: 100%;
  padding-top: 0px;
  padding-bottom: 50px;
  margin-top: 40px;
  }
  
  .zigzag-slider img {
  margin: 0 10px;
  width: 100%;
  aspect-ratio: 4 / 4;
  object-fit: cover;
  }
  .zigzag-slider div{
    margin-right:10px;
    margin-left:10px;
  }
  .swiper-slide2{
    margin-top: 30px;
  } */
   /* スライダー */
.slider{
  margin-bottom: 100px;
  text-align: center;
}
  .zigzag-slider{
  margin: 0 auto;
  margin-inline: auto;
  width: 100%;
  padding-top: 0px;
  padding-bottom: 50px;
  margin-top: 40px;
  
  }
  
  .zigzag-slider {
    overflow: hidden;
    width: 100%;
    background: #fff;
  }
  
  .slide-track {
    display: flex;
    width: calc(200px * 24); /* 画像幅 × 枚数 */
    animation: scroll 60s linear infinite;
  }
  
  .slide {
    width: 200px;
    flex-shrink: 0;
    padding: 0 10px;
  }
  
  .slide img {
    width: 100%;
    height: auto;
    display: block;
  }
  
  /* アニメーション定義 */
  @keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-250px * 12)); } /* 半分動いたらループ */
  }
  .slide{
    padding: 0 15px;
    margin-bottom: 30px;
  }
  .slide2{
    margin-top: 30px;
    padding: 0 15px;
  }
  
  .slider .btn{
    /* vertical-align: middle; */
    text-decoration: none;
    width: 120px;
    margin: auto;
    padding: 1rem 4rem;
    border: 3px solid #C1E4E9;
    background: #C1E4E9;
    border-radius: 100vh;
    transition: 0.5s;
  }
  
  .btn:hover {
    color: #3d3d3d;
    background: #fff;
  }


#main-content3{
  position: relative; /* headerの絶対位置指定の基準になる */
  display: flex;
}

.main3{
  margin-top: 0px;
  margin-bottom: 0;
  padding: 0;
  width: 100%;
  margin-left: 0px;
}
.rice{
  width: 100%;
  height: 800px;
  background-image: url(../images/4x/rice5@4x.webp);
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 100px;
}
.rice_img{
  display: none;
}

.rice h2{
  font-size: 36px;
  -webkit-text-stroke: 8px #eaeaea;
  text-stroke: 8px #eaeaea;
  paint-order: stroke;
  /* text-shadow:4px 4px 0 #eaeaea, -2px -2px 0 #eaeaea,
              -1px 1px 0 #eaeaea, 2px -2px 0 #eaeaea,
              0px 2px 0 #eaeaea,  0 -1px 0 #eaeaea,
              -2px 0 0 #eaeaea, 2px 0 0 #eaeaea; */
              text-align: center;
              white-space: nowrap;
              transform: translate(0px,20px);
}
.rice_text{
  -webkit-text-stroke: 8px #eaeaea;
  text-stroke: 8px #eaeaea;
  paint-order: stroke;
  font-size: 24px;
  
              text-align: center;
              margin-bottom: 20px;
              white-space: nowrap;
              transform: translate(0px,20px);
}
.rice_text2{
  width: 100%;
  text-align: center;
  line-height: 2.5em;
  transform: translate(0px,20px);
}
.rice_link{
  margin-top: 30px;
  text-align: center;
  line-height:1em;
  transform: translate(0px,20px);
}
.rice_link span:hover{
  border-bottom:2px solid #212121;
}

.noren{
  width: 100%;
  height: 800px;
  background-image: url(../images/4x/noren5@4x.webp);
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 100px;
}
.noren_img{
  display: none;
}
.noren div{
  width: 70%;
}
.noren h2{
  font-size: 36px;
  -webkit-text-stroke: 8px #eaeaea;
  text-stroke: 8px #eaeaea;
  paint-order: stroke;
              text-align: center;
              white-space: nowrap;
              transform: translate(0px,90px);
              padding: 10px;
}
.noren_text{
  font-size: 24px;
  -webkit-text-stroke: 8px #eaeaea;
  text-stroke: 8px #eaeaea;
  paint-order: stroke;
              text-align: center;
              margin-bottom: 20px;
              white-space: nowrap;
              transform: translate(0px,90px);
              padding: 10px;
}
.noren_text2{
  width: 60%;
  line-height: 2.5em;
  text-align: center;
  margin: 0 auto;
  transform: translate(0px,90px);
  padding: 10px;
}
.noren_link{
  text-align: center;
  margin-top: 30px;
  padding: 10px;
}

.shop{
  margin: 0 50px;
  padding-top: 150px;
}
.shop h2{
  text-align: center;
  font-size: 36px;
  margin-bottom: 70px;
}
.shop_div{
  margin: 0 auto;
  display: flex;
  
  align-items: center;
  justify-content: center;
}
.shop_img{
  width: 100%;
  max-width: 420px;
}
.shop_img img{
  width: 100%;
}
.shop_text{
  width: 40%;
  padding-left: 150px;
  font-size: 16px;
  text-align: left;
}
.shop_ps{
  display: inline-block;
  text-align: left;
}
.shop_span{
  display: inline-block;
  width: 80px;
  margin-right: 20px;
}
.money{
  font-size: 18px;
  margin: 30px auto;
  text-align: center;
}
.money_div{
  font-size: 14px;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-align: left;
}

.access{
  margin: 100px 50px;
}
.access h2{
  margin-bottom: 70px;
  font-size: 36px;
  text-align: center;
}
.access_top{
  padding-left: 0px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}
.access_map0{
  width: 100%;
  aspect-ratio: 1/1;
  max-width: 420px;
}
.access_map{
  display: none;
}
.access_map2{
  display: none;
}
.access_map3{
  display: none;
}
.access_train{
  font-size: 20px;
}
.access_text{
  width: 40%;
  padding-left: 120px;
  font-size: 16px;
  text-align: center;
}
.access_ps{
  display: inline-block;
  text-align: left;
}
.access_car{
  margin-top: 30px;
  font-size: 20px;
}
.car_text{
  margin-bottom: 30px;
}
.access_link{
  display: flex;
  justify-content: center;
}
.access_link p{
  display: inline;
  margin-top: 30px;
  font-size: 20px;
  
  text-align: center;
}
.access_link p:hover{
  border-bottom:2px solid #212121;
}


.news{
  margin-top: 100px;
  margin-bottom: 300px;
  text-align: center;
}
.news h2{
  font-size: 36px;
  margin-bottom: 20px;
}
.news_text{
  margin-bottom: 30px;
}
.nexs_pcdiv {
  text-align: center;
  position: relative;
  width: 600px;  /* iframeと合わせる */
  height: 600px;
  overflow: hidden;
  margin: 0 auto;
}

.nexs_pch {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(180,180,180,0.3); /* 半透明の背景が欲しい場合 */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2; /* iframeより上に */
  opacity: 0;
}
.p_sns{
  display: none;
}

.nexs_pch img {
  max-width: 30%;
  max-height: 30%;
}

.news_pcsns {
  position: relative;
  z-index: 1;
}
.news_pcsns2{
  display: none;
}

.nexs_pcdiv:hover .nexs_pch {
  opacity: 1;
}
.nexs_phondiv{
  display: none;
}
@media(max-width: 1950px){
  .shop_text{
    width: 40%;
    padding-left: 145px;
    font-size: 16px;
    text-align: left;
  }
}
@media(max-width: 1900px){
  .shop_text{
    width: 40%;
    padding-left: 140px;
    font-size: 16px;
    text-align: left;
  }
}
@media(max-width: 1850px){
  .shop_text{
    width: 40%;
    padding-left: 130px;
    font-size: 16px;
    text-align: left;
  }
}
@media(max-width: 1800px){
  .shop_text{
    width: 40%;
    padding-left: 120px;
    font-size: 16px;
    text-align: left;
  }
}
@media(min-width: 1700px){
  .jimoto{
    position: absolute;
    top: 70%;
    left: 48%;
    transform: translate(-48%, -70%);
    font-size: 40px;
    white-space: nowrap;
    color: #FFF;
    animation: jimotoFade 4s forwards; /* ← forwards を追加 */
    animation-iteration-count: 1;    /* ← 1回だけアニメーション */
    z-index: 10;
    pointer-events: none;
    opacity: 0;
  }
}
@media(max-width: 1256px){
  .kurasi {
    position: relative;
    max-width: 1000px;
    height: 630px; /* 同じ大きさの箱 */
    margin: 0 auto;
    margin-bottom: 100px;
  }
}
@media(max-width: 1216px){
  .onomi {
    position: relative;
    max-width: 1000px;
    height: 630px; /* 同じ大きさの箱 */
    margin: 0 auto;
    margin-bottom: 100px;
  }
}
@media(max-width: 1125px){
  .kurasi {
    position: relative;
    max-width: 1000px;
    height: 660px; /* 同じ大きさの箱 */
    margin: 0 auto;
    margin-bottom: 100px;
  }
}

@media(max-width: 1100px){
  .jimoto{
    position: absolute;
    top: 63%;
    left: 50%;
    transform: translate(-50%, -63%);
    font-size: 40px;
    white-space: nowrap;
    color: #FFF;
    animation: jimotoFade 4s forwards; /* ← forwards を追加 */
    animation-iteration-count: 1;    /* ← 1回だけアニメーション */
    z-index: 10;
    pointer-events: none;
    opacity: 0;
  }
  .kurasi {
    position: relative;
    max-width: 900px;
    margin: 60px auto;
    height: 660px; /* 同じ大きさの箱 */
    margin: 0 auto;
    margin-bottom: 100px;
    padding-right: 30px;
  }
  .kurasi_image, .kurasi_text {
    position: absolute; /* 配置を制御するため絶対配置にする */
    
  }
  .kurasi_image {
    width: 480px;
    aspect-ratio: 3/2;
    top: 0;
    left: 0;
  }
  .kurasi_image img {
    width: 100%;
    object-fit: cover;
    display: block;
  }
  .kurasi_text {
    top: 210px;
    left: 310px;  /* 横100px重なるように調整（400px-100px=300px） */
    background: rgba(255,255,255,0.8);
    padding: 30px;
    box-sizing: border-box;
    height: auto;
    box-shadow: 0 4px 4px rgba(218,218,218,0.7);
    width: 50%;
  }
  .kurasi_text h2 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    text-align: center;
  }
  .kurasi_text p {
    font-size: 1rem;
    line-height: 1.6;
  }
  
  
  .oisii {
    position: relative;
    max-width: 900px;
    height: 660px; /* 同じ大きさの箱 */
    margin: 0 auto;
    margin-bottom: 100px;
  }
  .oisii_image, .oisii_text {
    position: absolute; /* 配置を制御するため絶対配置にする */
  }
  .oisii_image {
    width: 480px;
    aspect-ratio: 3/2;
    top: 0;
    right: 0;
    box-shadow: none;
  }
  .oisii_image img {
    width: 100%;
    object-fit: cover;
    display: block;
  }
  .oisii_text {
    top: 210px;    /* 縦50pxずらす */
    right:310px;  /* 横100px重なるように調整（400px-100px=300px） */
    box-shadow: 0 4px 4px rgba(173,207,197,1);
    padding: 30px;
    box-sizing: border-box;
    height: auto;
    width: 50%;
  }
  .oisii_text h2 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    text-align: center;
  }
  .oisii_text p {
    font-size: 1rem;
    line-height: 1.6;
  }
  
  
  .onomi {
    position: relative;
    max-width: 900px;
    height: 700px; /* 同じ大きさの箱 */
    margin: 0 auto;
    margin-bottom: 100px;
  }
  .onomi_image, .onomi_text {
    position: absolute; /* 配置を制御するため絶対配置にする */
    box-shadow: none;
  }
  .onomi_image {
    width: 480px;
    aspect-ratio: 3/2;
    top: 0;
    left: 0;
  }
  .onomi_image img {
    width: 100%;
    object-fit: cover;
    display: block;
  }
  .onomi_text {
    top: 210px;    /* 縦50pxずらす */
    left: 310px;  /* 横100px重なるように調整（400px-100px=300px） */
    background: rgba(255,255,255,0.8);
    padding: 30px;
    box-sizing: border-box;
    height: auto;
    box-shadow: 0 4px 4px rgba(135,31,31,0.7);
    width: 50%;
  }
  .onomi_text h2 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    text-align: center;
  }
  .onomi_text p {
    font-size: 1rem;
    line-height: 1.6;
  }
  


  .rice{
    width: 100%;
    height: 650px;
    background-image: url(../images/4x/rice5@4x.webp);
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 70%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .rice h2{
    font-size: 36px;
    -webkit-text-stroke: 8px #eaeaea;
  text-stroke: 8px #eaeaea;
  paint-order: stroke;
                text-align: center;
                white-space: nowrap;
                transform: translate(0,90px);
                padding: 10px;
  }
  .rice_text{
    width: 500px;
    font-size: 24px;
    -webkit-text-stroke: 8px #eaeaea;
  text-stroke: 8px #eaeaea;
  paint-order: stroke;
                transform: translate(120px,90px);
                margin-bottom: 20px;
                white-space: nowrap;
                padding: 10px;
  }
  .rice_text2{
    width: 700px;
    text-align: center;
    transform: translate(0,90px);
    padding: 10px;
  }
  .rice_link{
    text-align: center;
    transform: translate(0,90px);
    padding: 10px;
  }
  .noren{
    width: 100%;
    height: 800px;
    background-image: url(../images/4x/noren5@4x.webp);
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 70%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 50px;
  }
  .noren div{
    width: 70%;
  }
  .noren h2{
    font-size: 36px;
    -webkit-text-stroke: 8px #eaeaea;
  text-stroke: 8px #eaeaea;
  paint-order: stroke;
                text-align: center;
                white-space: nowrap;
                transform: translate(0,50px);
                padding: 10px;
  }
  .noren_text{
    font-size: 24px;
    -webkit-text-stroke: 8px #eaeaea;
  text-stroke: 8px #eaeaea;
  paint-order: stroke;
                text-align: center;
                margin-bottom: 20px;
                width: 500px;
                transform: translate(0,50px);
                margin-bottom: 20px;
                white-space: nowrap;
                padding: 10px;
  }
  .noren_text2{
    text-align: center;
    width: 90%;
    transform: translate(30px,50px);
    padding: 10px;
  }
  .shop{
    margin-top: 100px;
  }
  .shop_img{
    width: 50%;
  }
  .shop_text{
    width: 40%;
    padding-left: 70px;
    font-size: 16px;
    text-align: left;
  }
  .access_text{
    width: 40%;
    padding-left: 70px;
    font-size: 16px;
    text-align: center;
  }
  .access_map0{
    width: 50%;
  }
}

/*＊＊＊＊＊＊＊＊ 900px ＊＊＊＊＊＊＊＊＊＊＊＊ */

@media(max-width: 900px){
  .main-content{
    display: block;
  }
  #header2{
    display: none;
  }
  #header3{
    display: none;
  }
  .messages{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    position: relative;
    z-index: 3;
    padding-top: 30vh;
    padding-bottom: 50vh; /* 最後までスクロール余白追加 */
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 18px;
  }
  .message {
    width: 80%;
    font-size: 18px;
    text-align: center;
    margin: 150px auto;
    max-width: 60vw;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    line-height: 2;
    font-family: "Zen Old Mincho", serif;
    font-weight: bold;
  }
  .big{
    font-size: 18px;
  }
  .sub_main{
    text-align: center;
    margin: 0 auto;
    margin-top: 100px;
    width: 100%;
  }
  .kurasi {
    position: static;
    margin: 60px auto;
    height: auto; /* 同じ大きさの箱 */
    padding: 0 30px;
    width: 70%;
    margin-bottom: 100px;
  }
  .kurasi_image, .kurasi_text {
    position: static;
  }
  .kurasi_image {
    width: 100%;
    height: auto;
    top: 0;
    left: 0;
  }
  .kurasi_image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
  }
  .kurasi_text {
    background: rgba(255,255,255,0.8);
    padding: 10px;
    box-sizing: border-box;
    height: auto;
    box-shadow: 0 4px 4px rgba(218,218,218,0.7);
    width: 100%;
    margin-bottom: 30px;
  }
  .kurasi_text h2 {
    font-size: 16px;
    margin-bottom: 15px;
    text-align: center;
  }
  .kurasi_text p {
    font-size: 14px;
    line-height: 1.6;
  }
  
  
  .oisii {
    position: static;
    margin: 60px auto;
    height: auto; /* 同じ大きさの箱 */
    padding: 0 30px;
    width: 70%;
    margin-bottom: 100px;
  }
  .oisii_image, .oisii_text {
    position: static;
    box-shadow: 0 4px 4px rgba(173,207,197,1);
  }
  .oisii_image {
    width: 100%;
    height: auto;
    top: 0;
    left: 0;
  }
  .oisii_image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
  }
  .oisii_text {
    top: 150px;    /* 縦50pxずらす */
    right:50px;  /* 横100px重なるように調整（400px-100px=300px） */
    background:rgba(255,255,255,0.8);
    width: 100%;
    margin-bottom: 30px;
    padding: 10px;
    box-sizing: border-box;
    height: auto;
  }
  .oisii_text h2 {
    font-size: 16px;
    margin-bottom: 15px;
    text-align: center;
  }
  .oisii_text p {
    font-size: 14px;
    line-height: 1.6;
  }
  
  
  .onomi {
    position: static;
    margin: 60px auto;
    height: auto; /* 同じ大きさの箱 */
    padding: 0 30px;
    width: 70%;
    margin-bottom: 200px;
  }
  .onomi_image, .onomi_text {
    position: static;
  }
  .onomi_image {
    width: 100%;
    height: auto;
    top: 0;
    left: 0;
  }
  .onomi_image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
  }
  .onomi_text {
    top: 150px;    /* 縦50pxずらす */
    left: 50px;  /* 横100px重なるように調整（400px-100px=300px） */
    background: rgba(255,255,255,0.8);
    padding: 10px;
    width: 100%;
    margin-bottom: 30px;
    box-sizing: border-box;
    height: auto;
    box-shadow: 0 4px 4px rgba(135,31,31,0.7);
  }
  .onomi_text h2 {
    font-size: 16px;
    margin-bottom: 15px;
    text-align: center;
  }
  .onomi_text p {
    font-size: 14px;
    line-height: 1.6;
  }

  .slider .btn{
    /* vertical-align: middle; */
    text-decoration: none;
    width: 120px;
    margin: auto;
    padding: 1rem 4rem;
    border: 3px solid #C1E4E9;
    background: #C1E4E9;
    border-radius: 100vh;
    transition: 0.5s;
    font-size: 16px;
  }



  .rice{
    width: 100%;
    height: 650px;
    background-image: url(../images/4x/rice5@4x.webp);
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 80%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .rice h2{
    font-size: 36px;
    -webkit-text-stroke: 8px #eaeaea;
  text-stroke: 8px #eaeaea;
  paint-order: stroke;
                text-align: center;
                white-space: nowrap;
                transform: translate(0,100px);
                padding: 10px;
  }
  .rice_text{
    width: 500px;
    font-size: 24px;
    -webkit-text-stroke: 8px #eaeaea;
  text-stroke: 8px #eaeaea;
  paint-order: stroke;
                transform: translate(0px,100px);
                margin-bottom: 20px;
                white-space: nowrap;
                padding: 10px;
  }
  .rice_text2{
    width: 500px;
    text-align: center;
    transform: translate(0,100px);
    padding: 10px;
  }
  .rice_link{
    display: inline-block;
    margin: 0 auto;
    margin-top: 60px;
    padding-top: 30px;
    text-align: center;
    line-height:1em;
    transform: translate(60%,50px);
    border-bottom:2px solid #212121;
  }
  .rice_link span:hover{
    border-bottom:none;
  }
  .noren{
    width: 100%;
    height: 800px;
    background-image: url(../images/4x/noren5@4x.webp);
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 80%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .noren div{
    width: 90%;
    margin-right: 30px;
  }
  .noren h2{
    font-size: 36px;
    -webkit-text-stroke: 8px #eaeaea;
  text-stroke: 8px #eaeaea;
  paint-order: stroke;
                text-align: center;
                white-space: nowrap;
                transform: translate(0px,70px);
                padding: 10px;
  }
  .noren_text{
    font-size: 24px;
    -webkit-text-stroke: 8px #eaeaea;
  text-stroke: 8px #eaeaea;
  paint-order: stroke;
                text-align: center;
                margin-bottom: 20px;
                width: 500px;
                transform: translate(100px,70px);
                margin-bottom: 20px;
                white-space: nowrap;
                padding: 10px;
  }
  .noren_text2{
    text-align: center;
    width: 80%;
    transform: translate(30px,70px);
    padding: 10px;
  }
  .shop{
    margin-top: 0px;
    padding-top: 70px;
  }
  .shop_div{
    display: block;
  }
  .shop_img{
    margin: 0 auto;
    width: 60%;
  }
  .shop_text{
    margin-left: 0;
    padding-left: 0;
    width: 70%;
    padding-top: 30px;
    margin: 0 auto;
  }
  .access_map{
    margin-right: 30px;
  }
  .access_map0{
    width: 60%;
  }
  .access_map iframe{
    width: 100%;
    margin-right: 30px;
  }
  .access_text{
    margin:0 30px;
  }
  .access_top{
    margin-top: 0px;
    padding-left: 0;
    margin: 0 0px;
  }
  
  .access_ps{
    margin: 0 auto;
    width: 70%;
  }
  .access_text{
    margin-left: 0;
    padding-left: 0;
    margin-top: 30px;
    width: 100%;
  }

  .access_link{
    display: flex;
    justify-content: center;
    line-height: 3em;
  }
  .access_link p{
    display: inline;
    margin-top: 30px;
    font-size: 16px;
    border-bottom:2px solid #212121;
    text-align: center;
  }
  .news{
    margin-top: 100px;
    margin-bottom: 100px;
    text-align: center;
  }
  .news h2{
    font-size: 32px;
    margin-bottom: 20px;
  }
  .news_text{
    margin-bottom: 30px;
  }
  .nexs_pcdiv {
    text-align: center;
    position: relative;
    width: 400px;  /* iframeと合わせる */
    height: 400px;
    overflow: hidden;
    margin: 0 auto;
  }
  
  .nexs_pch {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(180,180,180,0.3); /* 半透明の背景が欲しい場合 */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2; /* iframeより上に */
    opacity: 0;
  }
  
  .nexs_pch img {
    max-width: 30%;
    max-height: 30%;
  }
  
  .news_pcsns {
    display: none;
  }
  .news_pcsns2{
    display: none;
    display: block;
    position: relative;
    z-index: 1;
  }
  
  .nexs_pcdiv:hover .nexs_pch {
    opacity: 1;
  }
  .nexs_phondiv{
    display: none;
  }
  .p_sns{
    display: inline-block;
    text-align: center;
    border-bottom:2px solid #212121;
    font-size: 16px;
    margin-top: 30px;
    padding: 10px;
    transition: transform .2s;
 &:active{
  transform: scale(.95);
 }
  }
  .header{ 
    position: fixed;
  }
  
}





/*＊＊＊＊＊＊＊ 640px ＊＊＊＊＊＊＊＊＊＊＊*/

@media(max-width: 640px){
  .header{ 
    position: fixed;
  }
  
  header .btn_menu {
    display: block !important;
  }
  .main-content{
    display: block;
  }
  .jimoto{
    position: absolute;
    top: 63%;
    left: 50%;
    transform: translate(-50%, -63%);
    font-size: 30px;
    white-space: nowrap;
    color: #FFF;
  }
  .tamaarea {
    width: 100%;
    overflow: hidden;
    transform: translate(0px,-650px);
  }
  .messages{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    position: relative;
    z-index: 3;
    padding-top: 30vh;
    padding-bottom: 50vh; /* 最後までスクロール余白追加 */
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 16px;
  }
  .message {
    width: 80%;
    font-size: 16px;
    text-align: center;
    margin: 100px auto;
    max-width: 60vw;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    line-height: 2;
    font-family: "Zen Old Mincho", serif;
    font-weight: bold;
  }
  .message .btn{
    /* vertical-align: middle; */
    text-decoration: none;
    width: 120px;
    margin: auto;
    padding: 1rem 2rem;
    border: 3px solid #C1E4E9;
    background: #C1E4E9;
    border-radius: 100vh;
    transition: 0.5s;
    font-size: 16px;
  }
  .sub_main{
    width: 100%;
    margin-left: 0px;
  }
  #header2{ 
    display: none;
  }

  .kurasi {
    position: static;
    margin: 60px auto;
    height: auto; /* 同じ大きさの箱 */
    padding: 0 30px;
    width: 90%;
  }
  .kurasi_image, .kurasi_text {
    position: static;
  }
  .kurasi_image {
    width: 100%;
    height: auto;
    top: 0;
    left: 0;
  }
  .kurasi_image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
  }
  .kurasi_text {
    background: rgba(255,255,255,0.8);
    padding: 10px;
    box-sizing: border-box;
    height: auto;
    box-shadow: 0 4px 4px rgba(218,218,218,0.7);
    width: 100%;
    margin-bottom: 30px;
  }
  .kurasi_text h2 {
    font-size: 16px;
    margin-bottom: 15px;
    text-align: center;
  }
  .kurasi_text p {
    font-size: 14px;
    line-height: 1.6;
  }
  
  
  .oisii {
    position: static;
    margin: 60px auto;
    height: auto; /* 同じ大きさの箱 */
    padding: 0 30px;
    width: 90%;
  }
  .oisii_image, .oisii_text {
    position: static;
    box-shadow: 0 4px 4px rgba(173,207,197,1);
  }
  .oisii_image {
    width: 100%;
    height: auto;
    top: 0;
    left: 0;
  }
  .oisii_image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
  }
  .oisii_text {
    top: 150px;    /* 縦50pxずらす */
    right:50px;  /* 横100px重なるように調整（400px-100px=300px） */
    background:rgba(255,255,255,0.8);
    width: 100%;
    margin-bottom: 30px;
    padding: 10px;
    box-sizing: border-box;
    height: auto;
  }
  .oisii_text h2 {
    font-size: 16px;
    margin-bottom: 15px;
    text-align: center;
  }
  .oisii_text p {
    font-size: 14px;
    line-height: 1.6;
  }
  
  
  .onomi {
    position: static;
    margin: 60px auto;
    height: auto; /* 同じ大きさの箱 */
    padding: 0 30px;
    width: 90%;
  }
  .onomi_image, .onomi_text {
    position: static;
  }
  .onomi_image {
    width: 100%;
    height: auto;
    top: 0;
    left: 0;
  }
  .onomi_image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
  }
  .onomi_text {
    top: 150px;    /* 縦50pxずらす */
    left: 50px;  /* 横100px重なるように調整（400px-100px=300px） */
    background: rgba(255,255,255,0.8);
    padding: 10px;
    width: 100%;
    margin-bottom: 30px;
    box-sizing: border-box;
    height: auto;
    box-shadow: 0 4px 4px rgba(135,31,31,0.7);
  }
  .onomi_text h2 {
    font-size: 16px;
    margin-bottom: 15px;
    text-align: center;
  }
  .onomi_text p {
    font-size: 14px;
    line-height: 1.6;
  }
  .slider .btn{
    /* vertical-align: middle; */
    text-decoration: none;
    width: 120px;
    margin: auto;
    padding: 1rem 3rem;
    border: 3px solid #C1E4E9;
    background: #C1E4E9;
    border-radius: 100vh;
    transition: 0.5s;
    font-size: 16px;
  }


  .main3{
    width: 100%;
    margin-left: 0px;
  }
  #header3{ 
    display: none;
  }

  .rice{
    width: 100%;
    height: auto;
    background-image: none;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .rice_img{
    display: block;
    text-align: center;
    width: 50%;
    margin: 30px;
    margin: 30px auto;
    object-fit: cover;
  }
  .rice_img img{
    width: 100%;
  }
  .rice h2{
    font-size: 20px;
    -webkit-text-stroke: 0;
    text-stroke: 0;
    paint-order: normal; /* stroke描画順序をリセット */
                text-align: center;
                white-space: normal;
                transform: translate(0,0px);
                width: 80%;
                align-items: center;
                margin: 0 auto;
                padding: 10px;
  }
  .rice_text{
    width: 500px;
    font-size: 16px;
    -webkit-text-stroke: 0;
    text-stroke: 0;
    paint-order: normal; /* stroke描画順序をリセット */
                transform: translate(0px,0px);
                margin-bottom: 20px;
                white-space: normal;
                width: 80%;
                align-items: center;
                margin: 0 auto;
                padding: 10px;
  }
  .rice_text2{
    margin: 30px auto;
    font-size: 14px;
    width: 50%;
    text-align: center;
    transform: translate(0,-0px);
    width: 80%;
    align-items: center;
    margin: 0 auto;
    padding: 10px;
  }
  .rice_link{
    display: block;
    text-align: center;
    transform: translate(0,0px);
    border-bottom:none;
    padding: 0 10px 10px;
  }
  .rice_link a{
    display: inline-block;
    padding-bottom: 10px;
    border-bottom:2px solid #212121;
    transition: .4s;
  }

  .rice_link a:hover{
    color: #888;
  }
  .noren{
    width: 100%;
    height: auto;
    background-image: none;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .noren_img{
    display: block;
    text-align: center;
    width: 50%;
    margin: 30px;
    margin: 30px auto;
    object-fit: cover;
  }
  .noren_img img{
    width: 100%;
  }
  .noren div{
    width: 100%;
    margin-right: 0px;
  }
  .noren h2{
    font-size: 20px;
    -webkit-text-stroke: 0;
    text-stroke: 0;
    paint-order: normal; /* stroke描画順序をリセット */
                text-align: center;
                white-space: normal;
                transform: translate(0,0px);
                width: 80%;
                align-items: center;
                margin: 0 auto;
                padding: 10px;
  }
  .noren_text{
    width: 500px;
    font-size: 16px;
    -webkit-text-stroke: 0;
    text-stroke: 0;
    paint-order: normal; /* stroke描画順序をリセット */
                transform: translate(0px,0px);
                margin-bottom: 20px;
                white-space: normal;
                width: 80%;
                align-items: center;
                margin: 0 auto;
                padding: 10px;
  }
  .noren_text2{
    margin: 30px auto;
    font-size: 14px;
    width: 50%;
    text-align: center;
    transform: translate(0,-0px);
    width: 80%;
    align-items: center;
    margin: 0 auto;
    padding: 10px;
  }
  


  .shop{
    margin: 0 50px;
  }
  .shop h2{
    text-align: center;
    font-size: 24px;
    margin-bottom: 70px;
  }
  .shop_div{
    display: block;
    text-align: left;
  }
  .shop_img{
    text-align: center;
    margin: 0 auto;
    width: 100%;
    max-width: 400px;
  }
  .shop_img img{
    width: 100%;
  }
  .shop_text{
    margin-top: 30px;
    padding-left: 0px;
    font-size: 14px;
    width: 100%;
  }
  /* .shop_p{
    display: flex;
    justify-content: space-around;
  } */
  .shop_span{
    display: inline-block;
    width: 60px;
    margin-right: 20px;
  }
  .money{
    font-size: 18px;
    margin: 30px auto;
    text-align: center;
    width: 100%;
  }
  .money_img{
    width: 100%;
    text-align: center;
  }
  .money_img img{
    width: 100%;
  }
  
  .access{
    margin: 100px 50px;
  }
  .access_text{
    font-size: 14px;
  }
  .access h2{
    margin-bottom: 70px;
    font-size: 24px;
    text-align: center;
  }
  .access_top{
    display: block;
    padding-left: 0;
  }
  .access_map0{
    margin: 0 auto;
    width: 100%;
    max-width: 400px;
  }
  .access_ps{
    margin: 0 auto;
    width: 100%;
  }
  .access_text{
    margin-left: 0;
    padding-left: 0;
    margin-top: 30px;
    width: 100%;
  }
  .access_train{
    margin-top: 30px;
    font-size: 14px;
  }
  .access_car{
    margin-top: 30px;
    font-size: 14px;
  }
  .car_text{
    margin-bottom: 10px;
  }
  .access_link{
    display: flex;
    justify-content: center;
  }
  .access_link p{
    display: inline;
    margin-top: 30px;
    font-size: 14px;
    border-bottom:2px solid #212121;
    text-align: center;
  }
  
  
  .news{
    margin-top: 100px;
    margin-bottom: 300px;
    text-align:  center;
  }
  .news h2{
    font-size: 24px;
    margin-bottom: 20px;
  }
  .news_text{
    font-size: 14px;
    margin-bottom: 30px;
  }
  .nexs_pcdiv {
    display: none;
  }
  

  .news_pcsns2{
    display: none;
  }
  
  .nexs_pcdiv:hover .nexs_pch {
    opacity: 1;

  }
  .nexs_phondiv {
    position: relative; /* 子要素のabsolute配置の基準にする */
    display: inline-block;
  }
  
  .nexs_phonh {
    position: absolute;
    top: 0;
    left: 0;
    width: 310px;  /* iframeの幅と同じ */
    height: 465px; /* iframeの高さと同じ */
    background-color: rgba(180,180,180,0.3); /* 半透明の背景が欲しい場合 */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2; /* iframeより上に */
    opacity: 0;
    transition: opacity 0.3s; /* フェードイン効果を追加すると自然 */
  }
  
  .nexs_phonh img {
    max-width: 40%;
    max-height: 40%;
  }
  
  .phon_sns {
    position: relative;
    z-index: 1;
  }
  
  .nexs_phondiv:hover .nexs_phonh {
    opacity: 1;
  }
  .p_sns{
    display: inline-block;
    text-align: center;
    border-bottom:2px solid #212121;
    font-size: 14px;
    margin:0 40px;
    margin-top: 30px;
    padding: 10px;
    transition: transform .2s;
    &:active{
      transform: scale(.95);
    }
  }

  .parallax2{
    display: none;
  }
  .parallax{
    display: none;
  }
    /* スライダー */
.slider{
  margin-bottom: 100px;
  text-align: center;
}
  .zigzag-slider{
  margin: 0 auto;
  margin-inline: auto;
  width: 100%;
  padding-top: 0px;
  padding-bottom: 50px;
  margin-top: 40px;
  
  }
  
  .zigzag-slider {
    overflow: hidden;
    width: 100%;
    background: #fff;
  }
  
  .slide-track {
    display: flex;
    width: calc(150px * 24); /* 画像幅 × 枚数 */
    animation: scroll 60s linear infinite;
  }
  
  .slide {
    width: 150px;
    flex-shrink: 0;
    padding: 0 10px;
  }
  
  .slide img {
    width: 100%;
    height: auto;
    display: block;
  }
  
  /* アニメーション定義 */
  @keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-250px * 12)); } /* 半分動いたらループ */
  }
  .slide{
    padding: 0 10px;
    margin-bottom: 20px;
  }
  .slide2{
    margin-top: 20px;
    padding: 0 10px;
  }
}
@media(max-width: 400px){
  .p_sns{
    margin: 0 auto;
    margin-top: 30px;
  }
  
}