@charset "utf-8";
/* CSS Document */
body {
  background: #f4f1ec;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", "Montserrat", sans-serif;
}

.compare-box {
  background: #ffffff;
  border-radius: 10px;
  margin: 30px 0;
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.3);
  color: #333;
  overflow: hidden;
}

.compare-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #7C5224;
  color: #fff;
  padding: 13px;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.compare-left-head {
  font-size: 1.2em;
  font-weight: 1000;
  text-shadow:
    1px 1px 0 #4d1a00,
    2px 2px 0 #502200,
    2px 2px 0 #5a2d00;
  padding-left: 20px;
}

.compare-right-head {
  display: flex;
  gap: 15px;
  padding-right: 30px;
}

.compare-right-head a {
  display: inline-flex;
  background: linear-gradient(45deg, #5A3A1E 0%, #805736 33%, #A1744E 66%, #6E4B2C 100%);
  background-size: 500% 500%;
  color: #FFFFFF;
  padding: 12px 16px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-position 0.5s ease-in-out, transform 0.3s ease, box-shadow 0.3s ease;
  animation: gradationAnim 15s ease infinite;
  text-shadow: 0.5px 0.5px 0px #000;
  text-align: center;
  line-height: 1.2;
  box-shadow:
    0 6px 12px rgba(0, 0, 0, 0.25),
    0 4px 8px rgba(0, 0, 0, 0.12);
}

.compare-right-head a:hover {
  transform: translateY(-0.5px) scale(1);
  background-position: 100% 50%;
  box-shadow:
    0 10px 20px rgba(0, 0, 0, 0.3),
    0 4px 8px rgba(0, 0, 0, 0.2);
}

@keyframes gradationAnim {
  0% { background-position: 0% 50%; }
  25% { background-position: 25% 50%; }
  50% { background-position: 50% 50%; }
  75% { background-position: 75% 50%; }
  100% { background-position: 100% 50%; }
}

.compare-left {
  background: #e5e2dc;
  padding: 20px;
}

.compare-left ul {
  margin: 0;
  padding-left: 20px;
}

.compare-left ul li {
  margin: 8px 0;
  font-size: 1em;
  color: #5B5B5B;
  line-height: 1.6;
}

.compare-left ul li a {
  color: #864A2B;
  text-decoration: none;
  font-weight: bold;
  text-shadow: 0.5px 0.5px 0px #c4cfd4;
}

.compare-left ul li a:hover {
  text-shadow: 1px 1px 0px #c4cfd4;
  text-decoration: underline;
}

/* 地域ソート　*/
  .location-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    padding: 24px;
    background: #f2f2f2;
    border-radius: 12px;
  }

  .location-filter label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    background-color: #ffffff;
    border: 1px solid #cccccc;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 500;
    color: #333333;
    cursor: pointer;
    transition: background-color 0.2s ease;
  }

  .location-filter label:hover {
    background-color: #ebebeb;
  }

  .location-filter input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
  }


/*TOPへ */
#backToTopBtn {
  position: fixed;  /* 固定位置にしてスクロールに追従 */
  background: linear-gradient(135deg, #4b2e0e, #8b5e3c);
  color: white;
  border: none;
  border-radius: 5px; /* 四角形にする */
  padding: 15px 20px;  /* ボタンの大きさ調整 */
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  animation: float 3s ease-in-out infinite;
  opacity: 0;
  transform: translateY(20px); /* 初期位置は少し下 */
  visibility: hidden;
  transition: opacity 1.5s ease, transform 0.9s ease;
  z-index: 999;
  width: auto;    /* 幅はコンテンツに合わせる */
  height: auto;   /* 高さはコンテンツに合わせる */
}

#backToTopBtn.show {
  opacity: 1;
  visibility: visible;
}

@keyframes float {
  0%   { transform: translateY(0px); }
  50%  { transform: translateY(-8px); }
  100% { transform: translateY(0px); }
}

.entry-text-wrap {
  margin: 0;
  padding: 0;
  box-sizing: border-box; /* 要素の幅や高さを計算する際に、padding と border を含める */
}