@charset "UTF-8";
/* CSS Document */

html {
  font-size: 16px;
}

body {
  font-family: 'Noto Sans JP', 'Yu Gothic', 'Meiryo', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
  margin: 0;
  padding: 0;
  text-align: justify;
  word-break: break-all;
  box-sizing: border-box;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  list-style: none;
  text-decoration: none;
}

img {
  width: 100%;
  height: auto;
  vertical-align: bottom;
}

.main {
  /* background: #ddd; */

  border: 1px solid #333;
  width: 100%;
  margin: 0 auto;
  max-width: 480px;
}

.container {
  padding: 20px;
}

.main-visual img {
  width: 100%;
  height: auto;
  display: block;
}

.text-section {
  /* margin: 1rem 0; */
}

.text-section p {
  margin-bottom: 0.9375rem;
  font-size: 1rem;
}

.text-section p:last-child {
  margin-bottom: 0;
}

.category-section {
  margin-top: 2rem;
}

.category-section h2 {
  font-size: 1.5rem;
  margin-bottom: 12px;
  text-align: center;
}

.category-content {
  margin: 2rem 0;
  /* background-color: #fff; */
  /* border: 1px solid #ddd;
  border-radius: 5px; */
}

.category-title-image img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 16px;
}

.category-content ul {
  list-style: none;
  padding: 0 1rem;
  max-width: 600px;
  margin: 0 auto;
}

.category-content li {
  position: relative;
  padding-left: 0.5em;
  padding-bottom: 0.5rem;
  margin-bottom: 16px;
  border-bottom: 1px dotted #ccc;
}

.category-content li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: #666;
  font-size: 1rem;
  line-height: 1.5;
}

.category-content h3 {
  font-size: 16px;
  margin-bottom: 8px;
}


/* footer ================================= */

.site-footer {
  background-color: #333333;
  padding: 24px 16px;
  font-size: 0.875rem;
  color: #fff;
  text-align: center;
}

.footer-inner {
  max-width: 600px;
  margin: 0 auto;
}

.footer-info,
.footer-contact {
  margin-bottom: 16px;
}

.footer-info p,
.footer-contact p {
  margin: 4px 0;
}

.footer-link a {
  display: inline-block;
  color: #fff;
  text-decoration: underline;
  font-weight: 500;
}

.footer-link a:hover {
  text-decoration: none;
  color: #ddd;
}

.copyright {
  font-size: 0.875rem;
  color: #fff;
  margin-top: 16px;
}

/* card ======================================== */

.list-area {
  margin-top: 2rem;
}

/* セクション共通スタイル */
.section-title {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 1rem;
  text-align: center;
  color: #222;
}

/* フィルター（セレクトボックス） */
.filter-box {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  /* padding: 0 1rem; */
}

.filter-box select {
  font-size: 1rem;
  padding: 0.6rem 0.8rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  appearance: none;
  background: #fff url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" width="14" height="10"><path fill="%23999" d="M1 1l6 6 6-6"/></svg>') no-repeat right 0.75rem center;
  background-size: 0.7em auto;
}

/* リスト全体 */
.card-list {
  padding: 0 0 0.1rem;
}

/* カード */
.card {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 1rem;
  margin: 1rem auto;
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

/* タイトル */
.card-title {
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: #333;
  /* border-bottom: 2px solid #333; */
  padding-bottom: 0.5rem;
}

/* ジャンル */
.card-category {
  font-size: 0.95rem;
  color: #666;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

/* ジャンル */
.card-region {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 0.5rem;
}

/* 寸評 */
.card-description {
  font-size: 0.95rem;
  color: #444;
  margin-top: 1rem;
  /* margin-bottom: 1rem; */
}

/* 公式サイトリンクボタン */
.card-link {
  display: block;
  text-align: center;
  background-color: #ccc;
  color: #000;
  padding: 0.6rem;
  margin-top: 1rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.2s ease;
}

.card-link:hover {
  background-color: #D0C8E7;
}





.card--forest .card-title {
  border-bottom: 2px solid #004101;
  color: #004101;
}

.card--forest .card-link {
  background-color: #c8e38d;
}

.card--forest .card-link:hover {
  background-color: #004101;
  color: #fff;
}


.card--architecture .card-title {
  border-bottom: 2px solid #ac4701;
  color: #ac4701;
}

.card--architecture .card-link {
  background-color: #f5b181;
}

.card--architecture .card-link:hover {
  background-color: #ac4701;
  color: #fff;
}

/* ======================= */

.images__section {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 16px;
  margin: 2rem 0;
}

.img__btn {
  width: 100%;
  max-width: 200px;
  height: auto;
  transition: opacity 0.3s;
  display: block;
  border: 2px solid transparent;
  box-sizing: border-box;
  vertical-align: bottom;
}

.img__btn:hover {
  opacity: 0.9;
}

.images__section a.active .img__btn {
  border-color: #007acc;
  opacity: 1;
}




.region-selector {
  width: 100%;
  margin: 1.5em auto;
  padding: 0 1em;
  font-size: 16px;
}

.region-selector label {
  display: block;
  margin-bottom: 0.5em;
  font-weight: bold;
  color: #333;
  font-size: 18px;
  text-align: center;
}

#region-select {
  width: 100%;
  padding: 0.75em 1em;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background-color: #fff;
  color: #333;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 140 140' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolygon points='0,0 140,0 70,70' fill='%23999'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1em center;
  background-size: 12px;
}

.no-result {
  text-align: center;
}



.content {
  display: none;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  position: relative;
}

.content.is-active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* ====================================== */

.recommend__title {}

.recommend {
  width: 100%;
  margin: 0 auto;
}

.recommend__heading {
  text-align: center;
}

.recommend__box {
  margin: 2rem 0;
}

.recommend__item {
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

.recommend__item-link {
  display: inline-block;
  padding: 0.8em 1.5em;
  text-decoration: none;
  font-weight: bold;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.recommend__item-link {
  width: 100%;
  text-align: center;
  display: inline-block;
  padding: 0.8em 1.5em;
  font-size: 14px;
  font-weight: bold;
  text-decoration: none;
  border-radius: 50px;
  background-color: #c8e38d;
  color: #333;
  border: 1px solid #004101;
  transition: all 0.3s ease;
  margin-bottom: 1rem;

  i {
    margin-left: 0.5em;
    transition: transform 0.3s ease;
  }

  &:hover {
    background-color: #004101;
    color: #fff;

    i {
      transform: translateX(4px);
      /* アイコンが少し右に動く */
    }
  }
}

/* トップ戻るボタン */

.pagetop {
  position: fixed;
  right: 1rem;
  bottom: 1.5rem;
  width: 48px;
  height: 48px;
  background-color: #333;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 999;
}

.pagetop.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.pagetop__icon {
  width: 24px;
  height: 24px;
}