@charset "UTF-8";

/*-----------------------------------------------------
Lingerica+vote用スタイルシート全体
FileName:	defualt/style.css
Version:	06.11.11
-----------------------------------------------------*/
/* ===============================
   基本レイアウト
   =============================== */
   

body {
  margin: 0;
  padding: 0;
  background: #fafafa;
  font-family: "Hiragino Sans", "Noto Sans JP", sans-serif;
  color: #222;
}

/* 全体コンテナ（左右レイアウト管理） */
.wrapper {
  display: flex;
  justify-content: center;
  gap: 24px;
  width: 100%;
  max-width: 1280px;
  padding: 24px 16px;
  margin: 0 auto;
  box-sizing: border-box;
}

/* メインコンテンツ（左） */
main {
  flex: 1;
  min-width: 0;
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 0 16px rgba(0,0,0,0.04);
}

/* サイドバー（右） */
aside {
  width: 300px;
  flex-shrink: 0;
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 0 16px rgba(0,0,0,0.03);
  height: fit-content;
  position: sticky;
  top: 20px;
}

/* Header */
.site-header {
  text-align: center;
  padding: 1rem;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 10;
  width:100%;
}

.logo a {
  font-size: 1.6rem;
  font-weight: bold;
  text-decoration: none;
  color: #333;
}
.logo .plus {
  color: #e48dab;
}
.subtitle {
  font-size: 0.9rem;
  color: #888;
  letter-spacing: 1px;
  margin-top: 0.2rem;
}

/* Categories */
.categories {
  padding: 1rem;
}
.categories h2 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}
.category-list {
  display: flex;
  overflow-x: auto;
  gap: 0.5rem;
  padding-bottom: 0.5rem;
}
.category-list button {
  flex: 0 0 auto;
  padding: 0.5rem 1rem;
  border: 1px solid #e48dab;
  background: #fff;
  border-radius: 9999px;
  color: #e48dab;
  font-size: 0.9rem;
}


/* 見出し */
main h1,
aside h2 {
  font-size: 1.4rem;
  margin-bottom: 12px;
  font-weight: 600;
}

/* カード風アイテム（ランキング・新着など） */
.item {
  padding: 12px 10px;
  border-bottom: 1px solid #eee;
}
.item:last-child {
  border-bottom: none;
}

/*パン屑リスト*/

.breadcrumb {
  margin-bottom: 0px;
  padding-left: 10px;
  list-style: none;
  /*background-color: #fff;*/
}

.breadcrumb li {
  display: inline;/*横に並ぶように*/
  list-style: none;
  font-weight: normal;/*太字*/
}

.breadcrumb li:after {/* ▶を表示*/
  content: '>';
  padding: 0 0.2em;
  color: silver;
}

.breadcrumb li:last-child:after {
  content: '';
}

.breadcrumb li a {
  text-decoration: none;
  color: #888;
}

.breadcrumb li a:hover {
  text-decoration: underline;
}



/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  width: 90%;
  max-width: 400px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  text-align: center;
  padding: 15px;
  display: none;
  z-index: 1000;
}
.cookie-banner p {
  font-size: 0.9rem;
  margin-bottom: 10px;
}
.btn-group button {
  background: #e87fa1;
  color: #fff;
  border: none;
  border-radius: 20px;
  margin: 4px;
  padding: 8px 16px;
  font-size: 0.85rem;
}
.btn-group button:nth-child(2) {
  background: #ccc;
}
.btn-group button:nth-child(3) {
  background: #f9b2c2;
}

/* Modal */
.cookie-modal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  justify-content: center;
  align-items: center;
}
.cookie-modal-content {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  width: 90%;
  max-width: 350px;
  text-align: center;
}
.modal-buttons button {
  background: #e87fa1;
  color: white;
  border: none;
  border-radius: 20px;
  padding: 8px 16px;
  margin: 8px;
}

/* Cookie Banner END*/

/* Footer */
.site-footer {
  text-align: center;
  padding: 1rem;
  font-size: 0.8rem;
  color: #777;
  width:100%;
  clear:both;
  min-hight:200px;
}
.site-footer a {
  color: #888;
  text-decoration: none;
  margin: 0 0.3rem;
}

/* Fixed Create Button */
.create-button {
  position: fixed;
  bottom: 2rem;
  right: 1rem;
  background: #e48dab;
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  padding: 0.75rem 1.5rem;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}
.create-button:hover {
  opacity: 0.9;
}



/* ===============================
   スマホ（1カラム）
   =============================== */
@media (max-width: 768px) {
body, html {
  overflow-x: hidden;
}
  .site-header {
	  max-width: 100%;
  }
  .wrapper {
    display: block;
    padding: 4px;
    overflow-x: hidden;
  }

  aside {
    width: 100%;
    margin-top: 24px;
    position: static;
    padding: 20px 4px;
  }

  main {
    width: 100%;
  padding: 4px;
  }
  .site-footer {
	  max-width: 100%;
	  min-height:140px;
  }
}

/* ===============================
   タブレット：セミ2カラム
   =============================== */
@media (max-width: 1024px) and (min-width: 769px) {
  .wrapper {
    gap: 16px;
  }
  aside {
    width: 260px;
  }
}


@media (prefers-color-scheme: dark) {
  /* このなかにダークモード時のスタイルを記述します */
  body {
    background-color: #000;
  }
/*  color: #fff; */
}