@charset "utf-8";
/* スマホ対応 */
@media (max-width: 800px) {
  .site-nav .main-nav { display: none; }
  .hero { height: 42vh; }
  .hero__text {
    font-size: 20px;
    padding: 12px 16px;
    top: 30%;
  }
  .shop-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: auto;  /* ✅ スマホでは高さ固定を解除 */
  }
  .shop-card__figure {
    width: 95%;
    height: auto;
  }
  .shop-card__title { font-size: 24px; }
  .shop-card__desc { font-size: 15px; }
  .shop-card__tags { justify-content: center; }
}

/* 全体のリセットと共通設定 */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    background-color: #fffef8;
}
/* box-sizing: border-box; を設定すると、要素のサイズ計算が楽になります */
* {box-sizing: border-box;}

/* ヘッダー */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: #fff;
  border-bottom: 2px solid #e0e0c0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 10000;
}


.logo { display: flex; align-items: center; gap: 12px; text-decoration: none;}
.logo__img { height: 60px; }
.logo__title { height: 40px; }
.logo:hover {opacity: 0.8;}

/* ナビ */
.site-nav .main-nav {
  display: flex;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav .main-nav a {
  display: inline-block;
  text-decoration: none;
  background: #f3f0c0;
  color: #333;
  padding: 8px 14px;
  border-radius: 6px;
  font-weight: bold;
}

.site-nav .main-nav a:hover {
  background: linear-gradient(90deg, #f6e58d, #ffbe76);
  color: #444;
  transform: translateY(-2px);
  box-shadow: 0 3px 6px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
}

/*メインビジュアル*/
.box0{ text-align: center;}
.special-img {width: 55%;height: auto;margin-top: 80px;}

/*見出し*/
.box0 h2{
    margin-top: 5px;
    display: flex;
    justify-content: center;
    text-align:center;
    font-size: 30px;
}

.box0 p{
    width: 70%;
    margin:0 auto;
    display: flex; /* 子要素をフレックスボックスとして配置 */
    justify-content: center; /* 水平方向に中央揃え */
    align-items: center; /* 垂直方向に中央揃え */
    text-align: center; /* テキストを中央揃え */
}

/*店主紹介*/
.box1 {
    display: flex;
    max-width: 70%;
    margin: 20px auto;
    background-color:#f3f3e9; /*色の変更*/
    border-radius: 10px;
    border: 1px solid #ccc;
    margin-top: 40px;
}
.tensyu-img {max-width: 25%;margin:10px auto;margin-left: 30px;border-radius: 10px;border: 1px solid #ccc;}

/*紹介文*/
.text {text-align: left;}
.box11{margin: auto 5rem;margin-right: 10%;}
  
/*生徒紹介*/
.box2 {
  display: flex;
  max-width: 70%;
  margin: 20px auto;
  border: 1px solid #ccc;
  border-radius: 10px;
  background-color: #ffffffff;
}

.seito-img{
  max-width:25%;
  margin:10px auto;
  margin-left: 30px;
  border: 1px solid #ccc;
  border-radius: 10px;
}
.box12{margin: auto 5rem;margin-right: 15%;}

@media screen and (max-width: 800px){
.special-img{width: 90%;}
.box0 h2{font-size: 18px;width: 90%;margin: 0 auto;}
.box0 p{width: 90%;margin-bottom: 20px;margin-top: 30px;}
.box1{display:block;width: 100%;margin: 0 auto;}
.seito-img{width: 100px;}
.tensyu-img{width: 100px;margin-bottom: 5px;}
.box11{width: 80%;margin: 0 auto;}
.box2{display: block;width: 100%;margin-top:30px;}
.box12{width: 80%;margin: 0 auto;}}

/*質問者（右）*/
.f-container-r {
  width: 95%;
  margin-top: 50px;/*ふきだしとふきだしの隙間*/
  display: flex;
  margin-left: 21px
}
.f-icon-r img {
  max-height: 120px;
  border-radius: 50%;
  margin-left: auto;
  object-fit: contain;
  background-color: #fff;
  border: 1px solid #ccc;
}
/*アイコンの丸*/
.f-icon-r {width: 17%;text-align: center;margin-top: -5px;}

/*吹き出し*/
.f-text-box-r {
  width: 90%;
  position: relative;
  margin-left: 15%;
  border: 1px solid #ccc;
  background: #ffffff;
  border-radius:25px 25px 25px 25px;
}
/*文字*/
.f-text-box-r p {
  margin: 15px;/*ふきだし内でのテキスト位置*/
  line-height: 28px;
  font-size: 20px;
}
/*吹き出しの三角部分*/
.f-text-box-r::before {
  content: "";
  position: absolute;
  right: -31px;
  top: 20%;
  border-top: 15px solid transparent;
  border-right: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-left: 15px solid #ccc;
}

@media only screen and (max-width: 800px) {
.f-text-box-r p {line-height: 23px;letter-spacing: 1px;font-size: 13px;}
.f-text-box-r {width: 60%;margin-left: 60px;}
.f-icon-r  img{width: 80%;margin-top: 20px;}}

/*店主側（左）*/
.f-container {width: 95%;margin-top: 50px;display: flex;}

.f-icon img {
  max-height: 120px;
  border-radius: 50%;
  object-fit: contain;
  background-color: #fff;
  border: 1px solid #ccc;
}
/*アイコンの丸*/
.f-icon {width: 17%;text-align:center;margin-top: -5px;margin-left: 3%;}

/*吹き出し*/
.f-text-box {
  width: 90%;
  padding: 10px;
  border: 1px solid #ccc;
  position: relative;
  background: #f3f3e9; /*色の変更*/
  border-radius:25px 25px 25px 25px;/*ふきだし線の角丸*/
  margin-right: 12%;
}

/*文字*/
.f-text-box p {
  margin: 10px;
  padding: 0;
  line-height: 28px;
  font-size: 20px;
}
/*吹き出しの三角部分*/
.f-text-box::before {
  content: "";
  position: absolute;
  left: -31px;
  top: 20%;
  border-top: 15px solid transparent;
  border-right: 15px solid #ccc;
  border-bottom: 15px solid transparent;
  border-left: 15px solid transparent; 
  }

/*人気メニュー画像*/
.famous{text-align: center;}
.famous-img{width:40%; margin-top: 30px;}
.famous p{font-size: 20px;}

@media only screen and (max-width: 800px){
  .f-text-box p {line-height: 23px;letter-spacing: 1px;  font-size: 13px;}
  .f-text-box {width: 60%;margin-left: 10px;}
  .f-icon img {width: 80%;margin-left: 15px;margin-top: 20px;}
  .famous-img{width: 55%;}
  .famous p{font-size: 15px;}}

/* 店舗概要 */ /*変更点*/
.shopinfo {
border-collapse: collapse;
width: 100%;
max-width: 700px; /* 最大幅を調整 */
margin: 0 auto; /* 中央寄せ */
padding: 0 20px; /* 左右の余白を追加 */
box-sizing: border-box;
}
.shopinfo{margin-top:7%;}

.shopinfo th, .shopinfo td {
border-bottom: 1.5px solid #16a085;
padding: 1.2em;
font-size: 1.2rem;
text-align: center; /* 中央寄せ */
box-sizing: border-box;
}

.shopinfo th {
border-bottom: 1.5px solid #16a085; /*色の変更*/
font-weight: bold;
width: 120px; /* 幅を固定 */
min-width: 14rem;
vertical-align: center; /* 上揃え */
}

.shopinfo td{
width: auto;
white-space: nowrap;
}

.shopinfo .gmap {
width: 100%; /* マップの幅を100%に */
height: 250px; /* マップの高さを調整 */
border: none; /* iframeのデフォルトボーダーをなくす */
}

.sns{
height: 80px;
margin-top: 4px;
margin-bottom: 4px;
}

.sns img{
padding-left: 10px;
padding-right: 10px;
box-sizing: content-box;
}

/* 編集部コメント */
   .edit {
    width: 90%; /* 最大幅を画面幅に合わせる */
    margin: 20px auto;
    padding: 15px;
    margin-bottom: 30px;
    margin-top: 50px;
    border: 1px solid #ccc;
    border-radius: 10px;
    background-color: #fff; /*変更点*/
}
.content{text-align: left;}
.title{text-align:center;font-size:large;}

/* フッター */
.site-footer {
  padding: 18px;
  text-align: center;
  font-size: 14px;
  color: #666;
  border-top: 2px solid #e0e0c0;
}

/* ================================
   ハンバーガーメニュー
================================ */
.nav-toggle {
  display: none;
}
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 22px;
  cursor: pointer;
  z-index: 10001;
}
.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background: #333;
  border-radius: 2px;
  transition: all 0.3s ease;
}
.close-btn {
  display: none;
  position: absolute;
  top: 16px;
  right: 22px;
  font-size: 28px;
  cursor: pointer;
  color: #333;
}

/* スマホ対応 */
@media (max-width: 800px) {
  .hamburger {
    display: flex;
  }
  .site-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 70%;
    height: 100%;
    background: #fffef8;
    transform: translateX(100%);
    box-shadow: -3px 0 8px rgba(0,0,0,0.2);
    padding-top: 80px;
    z-index: 10000;
    transition: transform 0.4s ease;
  }
  .site-nav .main-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-left: 30px;
    gap: 20px;
  }
  .nav-toggle:checked ~ .site-nav {
    transform: translateX(0);
  }
  .nav-toggle:checked ~ .site-nav .close-btn {
    display: block;
  }
  .nav-toggle:checked + .hamburger span:nth-child(1) {
    transform: rotate(45deg) translateY(8px);
  }
  .nav-toggle:checked + .hamburger span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle:checked + .hamburger span:nth-child(3) {
    transform: rotate(-45deg) translateY(-8px);
  }

  .hero { height: 42vh; }
  .hero__text { font-size: 20px; padding: 12px 16px; top: 30%; }
  .shop-card { flex-direction: column; align-items: center; text-align: center; min-height: auto; }
  .shop-card__figure { width: 95%; height: auto; }
  .shop-card__title { font-size: 24px; }
  .shop-card__desc { font-size: 15px; }
  .shop-card__tags { justify-content: center; }

/*店舗概要(変更点)*/
 
.shopinfo th {
  text-align: center;
  background-color: #f3f0c0;
  padding-left: 15px; 
  }

.shopinfo th, .shopinfo td {
  padding: 0.8em;
  font-size: 0.9rem;
  display: block;
  width: 100%;
  box-sizing: border-box;
  border-bottom: none;
    }

.shopinfo td {
  padding-left: 15px;
  margin-bottom: 10px;
   }

.shopinfo tr {
  margin-bottom: 20px;
  display: block;
  border-radius: 5px;
  overflow: hidden;
    }


 .sns {
    height: auto;
    display: flex;
    align-items: center;
   }
  
  .sns img{
    height: 30px;
    width: 30px;
    
  }
  

  footer {
    margin-top: 60px;
    padding: 15px 10px;
  }

}