@charset "UTF-8";

/* ============================
   Layout for PC (min-width: 750px)
   ============================ */

body {
  width: 1024px;
  margin: 0 auto;
  padding: 0 0 40px;
  background-color: #f5f5f7;
}

/* ---------------- Header ---------------- */

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 10px 0 12px;
}

header img {
  max-height: 60px;
  height: auto;
  display: block;
}

/* メインビジュアル */
.main_img {
  margin-bottom: 14px;
}

.main_img img {
  border-radius: 6px;
}

/* ---------------- Global Nav ---------------- */

#menuList {
  margin: 0 0 18px;
  padding: 6px 10px;
  background-color: #ffffff;
  border-radius: 999px;
  border: 1px solid #ddd;
  display: flex;
  align-items: center;
  gap: 8px;
}

#menuList a {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  color: #555;
  transition: background-color 0.15s ease-out, color 0.15s ease-out;
}

#menuList a.slct {
  background-color: #0d6efd;
  color: #fff;
}

#menuList a:hover {
  background-color: #e9f2ff;
}

/* 検索フォーム（右端） */
#menuList form {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
}

#menuList input[type="text"] {
  width: 150px;
  font-size: 12px;
  padding: 4px 8px;
}

/* ============================
   Main / Aside
   ============================ */

main#top {
  float: left;
  width: 700px;
}

aside {
  float: right;
  width: 300px;
}

/* aside 内バナーなど */
aside > * + * {
  margin-top: 12px;
}

/* ============================
   TOP: Search area
   ============================ */

article.sch {
  margin-bottom: 18px;
}

article.sch .pop_menu {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 90px;
  margin: 4px 6px 4px 0;
  padding: 5px 10px;
  font-size: 12px;
  border-radius: 999px;
  border: 1px solid #ccc;
  background-color: #fafafa;
  cursor: pointer;
  transition: background-color 0.15s ease-out, border-color 0.15s ease-out;
}

article.sch .pop_menu:hover {
  background-color: #e9f2ff;
  border-color: #0d6efd;
}

article.sch_st h2 {
  margin-bottom: 6px;
}

article.sch_st form {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ============================
   TOP: Info section
   ============================ */

article.info ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

article.info ul li a {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  font-size: 11px;
  border-radius: 999px;
  border: 1px solid #ddd;
  background-color: #fafafa;
}

article.info section table td:nth-child(1) {
  width: 15%;
  white-space: nowrap;
}

article.info section table td:nth-child(2) {
  width: 25%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

article.info section table td:nth-child(3) {
  width: auto;
}

/* ============================
   TOP: Review / Content / FAQ / Ranking
   ============================ */

article.review table td:first-child,
article.cont table td:first-child,
article.faq table td:first-child,
article.ranking table td:first-child {
  width: 18%;
  white-space: nowrap;
}

article.review table td:nth-child(2),
article.cont table td:nth-child(2),
article.faq table td:nth-child(2) {
  width: 35%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

article.review table td:nth-child(3) img {
  max-height: 18px;
  width: auto;
}

article.ranking table td:first-child {
  width: 12%;
  font-weight: bold;
  color: #0d6efd;
}

/* ============================
   Footer
   ============================ */

footer {
  clear: both;
  margin-top: 24px;
  padding-top: 12px;
  border-top: 1px solid #ddd;
  font-size: 12px;
  color: #777;
}

/* clearfix for floats */
main#top::after,
body::after {
  content: "";
  display: block;
  clear: both;
}
