html{
  
    scroll-behavior: smooth;
 
}
body{
     width: 100%;
    margin: 0;
    padding: 0;
 font-family: "Noto Sans","Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif;
}
main {
    background: url("../image/haikei/mizusawa8.png") white center 62% / cover no-repeat;
    background-size: 102%;
    text-align: center;
    padding-right: 65px;
    margin-left: 110px;
    width: 100px;
    width: 100%;
    margin: 0;
    padding: 0;

    
}


header {
      
    justify-content: center; /* 横中央 */
    align-items: center;     /* 縦中央 */
    background: url("../image/mizusawa/mzswmain.png") lightgray 50% / cover no-repeat;
    position: relative;
    background-size: cover;
    width: 100%;
    height: 620px;
    z-index: 0;
} 
header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 11%;
  background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 40%, rgba(255,255,255,0.6) 70%, white 100%);
  pointer-events: none;
  z-index: -1;
}

.rogogazou{
  position: fixed;
}
.top-img {
  position: fixed;   /* スクロールしても固定 */
  right: 20px;       /* 右からの余白（調整可能） */
  bottom: 20px;          /* 画面の縦中央 */
  transform: translateY(-50%); /* 高さの半分ずらして真ん中に */
  width: 150px;      /* サイズ調整（任意） */
  height: auto;      /* アスペクト比維持 */
  width: 75px;
  height: 100px;
  z-index: 0;
  aspect-ratio: 1/1;
  
}

.title-mizusawa {
    display: block;
    margin: 0 auto;       /* ← 横方向を中央揃え */
       /* 必要なら上下に動かせる */
    padding-top: 0px;
    width: 650px;
}

.text1 {
    color: #00286D;
    text-align: center;
    font-family: "Noto Sans";
    font-size: 30px;
    font-weight: 400;
    padding-top: 50px;
}
.brock {
    display: flex;
    justify-content: center;
    margin: 0 auto;
    padding-left: 100px;
    padding-top: 25px;
    gap: 10px;
}

.subbrock1,.subbrock2 {
    flex: 1;
    max-width: 350px;
    text-align: left;
}
.mizusawa-mobile{
  display: none;
}
.subbrock1 img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}
.list {
list-style: none;
color: #00286D;


}

.make{
color: #00286D;
font-family: "Noto Sans";
font-size: 40px;
font-style: normal;


padding-top:140px;
margin-bottom: -20px;





font-weight: 700;
line-height: normal;


}
.text2{
color: #00286D;
text-align: center;
font-family: "Noto Sans";
font-size: 20px;
font-style: normal;
font-weight: 500;
line-height: normal;
}
.text3{
  display: none;
}
.subtitle{
color: #00286D;
font-family: "Noto Sans";
font-size: 34px;
font-style: normal;
font-weight: 700;
line-height: normal;
padding-top: 60px;
text-align: center;
}
.subtitle-mobile{
  display: none;
}
.gakkamei{
color: #00286D;
text-align: center;
font-family: "Noto Sans";
font-size: 20px;
font-style: normal;
font-weight: 700;
line-height: normal;
}
h3{
color: #00286D;
font-family: "Noto Sans";
font-size: 28px;
font-style: normal;
font-weight: 700;
line-height: normal;
}

.sns{
    display: flex;
    gap: 85px;
     margin: 0 auto;
     padding-top: 120px;
     padding-bottom: 65px;
    width: fit-content;
    justify-content: center;
}
footer{
     margin: 0 auto;
    width: fit-content;
    justify-content: center;
}
.logogazou{
    width: 454px;
height: 71px;
flex-shrink: 0;
}
.link{
    color: #2463AE;
text-align: center;
font-family: "Noto Sans";
font-size: 13px;
font-style: normal;
font-weight: 400;
line-height: normal;

}
.mizusawa{
    width: 383px;
height: 277px;
flex-shrink: 0;
border-radius: 40px;
}
.x{
    width: 68.488px; 
    height: 70px;
    flex-shrink: 0;
    aspect-ratio: 68.49/70.00;
}
li{
  margin-bottom: 30px;
}
.pura{
  color: #00286D;
  text-align: center;
  font-family: "Noto Sans";
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}
.tuika{
color: #00286D;
font-family: "Noto Sans";
font-size: 20px;
font-style: normal;
font-weight: 400;
line-height: 40px; /* 200% */
text-align: center;


}
.minitext-mobile4{
  display: none;
}
.is{
    width: 73px;
height: 73px;
flex-shrink: 0;
aspect-ratio: 1/1;
}
.yt{
    width: 93.521px;
height: 66px;
flex-shrink: 0;
aspect-ratio: 93.52/66.00;
}
.kounaimap{
  height: auto;
    width: 830px;

flex-shrink: 0;
}
.header-mizusawa{
    color: #00286D;
font-family: "Noto Sans";
font-size: 40px;
font-style: normal;
font-weight: 700;
line-height: normal;
z-index: 0;
padding-top: 200px;
}
.minitext{
    color: #00286D;
text-align: center;
font-family: "Noto Sans";
font-size: 20px;
font-style: normal;
font-weight: 500;
line-height: normal;
}
.minitext-mobile1,.minitext-mobile2,.minitext-mobile3{
  display: none;
}
.rakuensai{
   width: 265px;
height: 105px;
   padding-top: 20px; 
   padding-left: 26px;
}
.day{
    width: 183px;
    height: 73px;
    flex-shrink: 0;
    padding-left: 65px;

}
.logo{
    padding-top: 30px;
    display: block;
    margin: auto;
 
   
}
.setumei2{
  display: none;
}
.link{
    padding-bottom: 40px;
}

.X{
width: 36px;
height: 36px;
flex-shrink: 0;
aspect-ratio: 1/1;
}
.instagram{
    width: 38px;
height: 38px;
flex-shrink: 0;
aspect-ratio: 1/1;
}
.youtube{
    width: 41px;
height: 29px;
flex-shrink: 0;
aspect-ratio: 41/29;
}
.top{
    display: flex;
}
.icon{

    position: fixed;
    
    right: 0;
    top:0;
    margin-right: 0px;
    
  
}
.snsicon{
  padding-left: 13px;
  position: fixed;
  top:110px;
  right:25px;
    
}
.X,.instagram,.youtube{
    padding-bottom: 15px;

}
.kounaimap{
    cursor: pointer; /* クリックできる感じに */
   
}
.kounaimap-mobile{
  display: none;
}
.kounaimap.enlarged{
    transform: scale(1.8); /* 拡大倍率（調整可） */
    z-index: 9999;
    position: fixed;   /* 画面中央に固定 */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1.8);
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    background: white;
}
.main-timetablegazou{
    width:auto;
height: auto;
flex-shrink: 0;
}

footer{
    background-color: white;
    box-shadow: 0 -5px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    margin-bottom: 0px;
    display: flex;
    flex-direction: column;
    
}

.nav{
  position: fixed;
  z-index: 9999;
  right:68px;
  top:30px;
  padding-top: 0px;
  padding-right: 10px;
  padding-bottom: 0px;
}



.tuika-mobile{
  display: none;
}



/* ここから下がハンバーガーメニューに関するCSS */
  
/* チェックボックスを非表示にする */
.drawer_hidden {
  display: none;
}

/* ハンバーガーアイコンの設置スペース */
.drawer_open {
  display: flex;
  height: 60px;
  width: 60px;
  justify-content: center;
  align-items: center;
  position: fixed;
  z-index: 100;/* 重なり順を一番上にする */
  cursor: pointer;
  background-image: url("../image/icon/Ellipse\ 57.png");

}

/* ハンバーガーメニューのアイコン */
.drawer_open span,
.drawer_open span:before,
.drawer_open span:after {
  content: '';
  display: block;
  height: 3px;
  width: 25px;
  border-radius: 3px;
  background: #fff;
  transition: 0.5s;
  position: absolute;
  
}
/* 三本線の一番上の棒の位置調整 */
.drawer_open span:before {
  bottom: 8px;
}

/* 三本線の一番下の棒の位置調整 */
.drawer_open span:after {
  top: 8px;
}

/* アイコンがクリックされたら真ん中の線を透明にする */
#drawer_input:checked ~ .drawer_open span {
  background: rgba(255, 255, 255, 0);
}

/* アイコンがクリックされたらアイコンが×印になように上下の線を回転 */
#drawer_input:checked ~ .drawer_open span::before {
  bottom: 0;
  transform: rotate(45deg);
}

#drawer_input:checked ~ .drawer_open span::after {
  top: 0;
  transform: rotate(-45deg);
}
  
/* メニューのデザイン*/
/* メニューのデザイン*/
.nav_content {
  width: 380px;
  height: 100%;
  position: fixed;
  z-index: 2;
  top: 0;
  right: -380px;
  
  background-color:#6EA4D9;
  transition: .5s;
  overflow-y: auto;
  
}

.nav_content a{
   text-decoration: none; /* 下線を消す */
}
.menu-event{
  color: #FFF;
}
.text{
  color: #fff;
  padding-top: 80px;

}
.menu-top{
  padding-left: 127px;
  font-size: 22px;
  margin: 0;
}
.menu-yahaba,.menu-mizusawa{
  padding-left: 121px;
  font-size: 22px;
  margin: 0;
}
.menu-map{
  padding-left: 142px;
  font-size: 22px;
  margin: 0;
}
.menu-koumoku{
  padding-left: 120px;
  font-size: 19px;
  list-style: none;
}
.menu-koumoku li::before{
  content: "✦";

}
/* メニュー黒ポチを消す */
.nav_list {
  list-style: none;
}

/* アイコンがクリックされたらメニューを表示 */
#drawer_input:checked ~ .nav_content {
  right: 0%;/* メニューを画面に入れる */
}
/* アイコンがクリックされたら背景画像を消す */
#drawer_input:checked ~ .drawer_open {
  background-image: none;
  background-color: transparent; /* 完全に透明に */
  /* background-color: #fff; とかにすれば色に変えることも可能 */
}


hr {
  border: none;
  border-top: 2px solid #fff;
  width: 265px;         /* 線の長さはそのまま */
  margin-left: 60px;  
    /* 左に少し寄せる */
  margin-top: 10px;
  margin-bottom: 10px;
}

.line-bottom{
}
.text-bottom{
  padding-bottom: 20px;
}
.html,body{
  height: 100%;
  margin: 0;
  padding: 0;
}
.store {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3列 */
  gap: 12px;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center; /* 名前を中央揃え */
  margin-top: 60px;
}
.store img {
  width: 253px;
  height: 253px;
  flex-shrink: 0;
  border-radius: 50px;
}

.store figcaption {
  color: #00286D;
  text-align: center;
  font-family: "Noto Sans";
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

/* 共通: まず全部表示 */
.store figure {
  display: inline-block;
}
.title{
  color: #00286D;
font-family: "Noto Sans";
font-size: 28px;
font-style: normal;
font-weight: 700;
line-height: normal;
padding-top: 60px;
}
.mini{
  display: none;
}
.subtitle-mobile8{
  display: none;
}
.minitext-mobile8{
  display: none;
}
.store-mobile{
  display: none;
}
.store1 {
  
  gap: 12px;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center; /* 名前を中央揃え */
  margin-top: 60px;
}
.store1 img {
  width: 393px;
  height: 293px;
  flex-shrink: 0;
  border-radius: 50px;
}

.store1 figcaption {
  color: #00286D;
  text-align: center;
  font-family: "Noto Sans";
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

/* 共通: まず全部表示 */
.store1 figure {
  display: inline-block;
}
/* スマートフォン用*/

/* スマホ用レイアウト調整 */
@media(max-width: 420px) {
  body {
    overflow-x: hidden;
    margin: auto;
  }
  .big{
    display: none;
  }
  .title{
    font-size: 18px;
  }
  .mini{
    display: block;
  }
  main{
   background-image: url("../image/haikei/sp-mizusawa.png");
    
}
li{
  
  margin-bottom: 0px;
  font-size: 14px;
}
.subtitle-mobile8{
  margin-bottom: -40px;
  color: #00286D;
text-align: left;
font-family: "Noto Sans";
font-size: 17px;
font-style: normal;
font-weight: 700;
line-height: normal;
display: block;
text-align: center;
}
.sanka{
  padding-right: 0px;
}
.ja{
  display: none;
  
}
  header {
    height: 202px;
    background-position: center;
    text-align: center;
    background-image: url("../image/haikei/mizusawa-haikeiSP2.png");
    
  }
  .store-mobile figcaption {
    color: #00286D;
    text-align: center;
    font-family: "Noto Sans";
    font-size: 13px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
  }
.purareru img{
  width: 233px;
  height: 233px;
}
.store,.store1{
  display: none;
}
  .store-mobile img {
    width: 233px;
    height: 233px;
    flex-shrink: 0;
    border-radius: 50px;
  }
  
  .rakuensai{
    padding-top: 30px;
    padding-left: 12px;
  }
  .header-mizusawa {
    padding-left: 0;
    padding-top: 110px;   /* 不要な大きな余白を削除 */
    text-align: center;
    width:179px ;
    height: 72px;
     margin: 0 auto;
  }

  .title-mizusawa {
    width: 80%;   /* 画像を画面幅にフィット */
    z-index: 0;
   
  }

  .text1 {
    font-size: 12px;
    padding: 20px;
    display: none;
  }
  .text3{
    display: block;
    color: #00286D;
    text-align: center;
    font-family: "Noto Sans";
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
  }

  .brock {
    flex-direction: column;  /* 横並び → 縦並び */
    padding-left: 0;
    gap: 20px;
  }

  .subbrock1 {
    max-width: 100%;
    text-align: center;
    display: none;
  }
  .subbrock2{
    text-align: center;
  }
  .mizusawa {
    width: 90%;
    height: auto;
    width: 200px;
    height: 180px;
   
  }
  .mizusawa-mobile{
    display: block;
    width: 181px;
    height: 210px;
    width: 60%;
    margin: auto;
    border-radius: 40px;
    margin-bottom: -20px;
  }
  .make {
    font-size: 19px;
    padding-top: 40px;
    margin-bottom: -15px;
  }

  .subtitle {
    font-size: 14px;
    padding-top: 30px;
    display: none;
  }
  .subtitle-mobile{
    color: #00286D;
text-align: left;
font-family: "Noto Sans";
font-size: 17px;
font-style: normal;
font-weight: 700;
line-height: normal;
display: block;
text-align: center;

  }
  .subtitle-mobile1{
    color: #00286D;
    text-align: center;
    
    font-size: 12px;
    
    font-weight: 700;
    line-height: normal;
    display: block;
  }
  .gakkamei, .minitext {
    
    padding: 0 10px;
  }
.gakkamei{
    font-size: 13px;
}
  h3 {
    font-size: 20px;
  }

  .main-timetablegazou,
  .kounaimap {
    width: 250px;   /* 画面幅いっぱい */
    height: auto;
  }
 .list{
    text-align: left;
    padding-left: 130px;
 }
  .sns {
    gap: 30px;
    padding-top: 60px;
    padding-bottom: 40px;
    display: none;
  }

  .x, .is, .yt {
    width: 50px;
    height: auto;
  }

  footer {
    padding: 20px;
    text-align: center;
  }

  .logo {
    width: 60%;
    height: auto;
    padding-top: 10px;
    width: 160px;
    height: 26px;

  }

  .link {
    
    padding-bottom: 0px;
    color: #2463AE;
font-family: "Noto Sans";
font-size: 8px;
font-style: normal;
font-weight: 400;
line-height: normal;
  }

  /* ハンバーガーメニュー調整 */
  .menu-top,
  .menu-yahaba,
  .menu-mizusawa,
  .menu-map {
    padding-left: 20px;
    font-size: 18px;
    z-index: 180;
  }

  .menu-koumoku {
    padding-left: 40px;
    font-size: 16px;
  }

  hr {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
  }
  .rakuensai{
     width: 126px;
     height: 50px;
  }
  .day{
    width: 83px;
height: 33px;
padding-left: 11px;

  }
  .nav{
   
    width: 63.055px;
    height: 63.055px;
    position: fixed;
    padding-right: 7px;
    padding-bottom: 0px;
    right: 30px;
    top:10px;
   
    
  }
  .X{
    width: 22.39px;
height: 22.39px;

  }
  .instagram{
    width: 23.634px;
height: 23.634px;
flex-shrink: 0;
aspect-ratio: 1/1;
  }
  .youtube{
    width: 25.5px;
height: 18.037px;
flex-shrink: 0;
aspect-ratio: 41/29;
  }
 
  
  .X,.instagram,.youtube{
    padding-bottom: 5px;
    
  }
  .tuika{
    display: none;
  }
  .tuika-mobile{
    display: block;
  }
  .snsicon{

   
    padding-right: 20px;

    position: fixed;
    padding-right: 0px;

    margin-top: 0px;
  }
  
  .blue-line{
    width: 231px;
    height: 39px;
    margin-bottom: -20px;
  }
  .minitext{
    display: none;
  }
  .minitext-mobile1,.minitext-mobile2,.minitext-mobile3{
    display: block;
    color: #00286D;
    text-align: center;
    font-family: "Noto Sans";
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    padding-bottom: 0px;
    margin-top: 0px;

}
.minitext-mobile8{
  display: block;
    color: #00286D;
    text-align: center;
    font-family: "Noto Sans";
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    padding-bottom: 0px;
    margin-top: 0px;
    margin-bottom: -50px;
    
}
.minitext-mobile4{
  display: block;
  color: #00286D;
  text-align: center;
  font-family: "Noto Sans";
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px;
  padding-bottom: 0px;
  padding-left: 115px;
  margin-top: 0px;
  text-align: left;
}

   footer{
    height: 20px;
   }
   .kounaimap{
    display: none;
   }
   .kounaimap-mobile{
    display: block;
    width: 252px;
    height: 168px;
    cursor: pointer; 
    margin: auto;
   }
   .kounaimap-mobile.enlarged{
    transform: scale(1.8); /* 拡大倍率（調整可） */
    z-index: 9999;
    position: fixed;   /* 画面中央に固定 */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1.8);
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    background: white;
}
.gakkamei{
  margin: 0px;
}
.map{
  margin-bottom: 60px;
}



.drawer_open {
  /* アイコンを画面右上に固定 */
  position: fixed;
  top: 22px; /* 画面上部からの距離 */
  right: 10px; /* 画面右からの距離 */
  z-index: 101; /* 他の要素より手前に表示 */
  
  display: flex;
  height: 60px;
  width: 60px;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  background-image: url("../image/icon/Ellipse\ 57.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 43px;
}
.snsicon{
  top:85px;
  
}
#drawer_input:checked ~ .nav_content {
  top: 0;
  left: 0 !important;/* メニューを画面に入れる */
}
.nav_content {
  width: 100%;
  height: 100%;
  position: fixed;
  top: -100%;
  left: 0 !important; 
  z-index: 100;
  background-color:#6EA4D9;
  transition: top 0.5s;
  overflow-y: auto;
}
.top-img {
  position: fixed;   /* スクロールしても固定 */
  right: 20px;       /* 右からの余白（調整可能） */
  top: 95%;          /* 画面の縦中央 */
  transform: translateY(-50%); /* 高さの半分ずらして真ん中に */
        /* サイズ調整（任意） */
  height: auto;      /* アスペクト比維持 */
  width: 39px;
  height: 50px;
  flex-shrink: 0;
  aspect-ratio: 1/1;
  z-index: 0;
}
.text{
  color: #fff;
  padding-top: 70px;
  
}
.store-mobile {
  display: block;
  grid-template-columns: repeat(3, 1fr); /* 3列 */
  gap: 12px;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center; /* 名前を中央揃え */
  margin-top: 60px;
  
}
.menu-top{
  
  font-size: 22px;
}
.menu-yahaba,.menu-mizusawa{
  font-size: 22px;
}
.menu-map{

  font-size: 22px;
}
.menu-koumoku{
  text-align: left;
  padding-left:90px;
  font-size: 22px;
  list-style: none;
  margin: 0;
}
.menu-koumoku li::before{
  content: "✦";

}
hr {
  border: none;
  border-top: 2px solid #fff;
  width: 220px;         /* 線の長さはそのまま */
  margin-left: 90px;  
    /* 左に少し寄せる */
  margin-top: 10px;
  margin-bottom: 10px;
}
.line-bottom{
  padding-bottom: 0px;
}
.text-bottom{
  padding-bottom: 0px;
}
}