@import "shops.css";
@import "reviews.css";
@import "home.css";
@import "users.css";
@import "shop_detailed_review.css";
@import "review.css";
/* application.css */
/* ヘッダー全体のスタイル */
.site-header{ display: grid;
  z-index: 3000; 
  grid-template-columns: 1fr auto 1fr; /* 左・中央・右の幅均等に */
  align-items: center; }

/*ロゴ ラーメン二郎レビュー*/
.logo-image{
  height: 200px;
  width: auto;
  display: block;
  justify-self: start;
  z-index: 1000;         
  
}
/* ドロップダウンメニュー、新規登録/ログイン/ログアウト */
.header-2{
  margin-left: auto;         
  display: flex;
  align-items: center;
  gap: 12px;  
  justify-self: end;
  z-index: 1000;                          
}
/* ヘッダーのタイトル */
.header-title{
  font-size: 25px;
  font-weight: bold;
  align-items: center;
}

/* ログイン/新規登録を横並びに */
.header-nav{
  display: flex;
  text-align: center;
  gap: 10px;
}
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  padding: 0 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background: #fff;
  text-decoration: none;
  color: #111;
  cursor: pointer;
}

.dropdown{
  position: relative;
}

.dropdown-trigger{
  height: 34px;
  padding: 0 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}
/*ドロップダウンメニュー*/
.dropdown-menu{
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 180px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  padding: 8px;
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu{
  display: block;
}

.dropdown-item{
  display: block;
  padding: 8px 10px;
  border-radius: 8px;
  text-decoration: none;
  color: #111;
}
.dropdown-item:hover{
  background: #f3f4f6;
}
.dropdown-sep{
  border: none;
  border-top: 1px solid #eee;
  margin: 6px 0;
}

.dropdown-item.danger{
  color: #c00;
}

/*口コミの☆*/
.star-rating {
  display: inline-flex;
  gap: 6px;
  user-select: none;
}
.star-rating .star {
  font-size: 28px;
  line-height: 1;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  color: #cfcfcf; /* 未選択 */
}
.star-rating .star.is-on {
  color: #f5b301; /* 選択済み */
}
@media (max-width: 1024px) {
  .header-title {
    display: none;
  }
  .site-header{
    grid-template-columns: auto 1fr auto;
  }
}