@charset "UTF-8";

:root {
  /* 色管理用の変数 */
  --black-color: #000000;
  --white-color: #fff;
  --gray-color: #bababa;
  --primary-color: #33886a;
  --text-black-color: #333333;
  --text-red-color: #fa3737;
  --line-gray-color: #cdd0ca;
  --bg-green-color: #f2f4eb;
  --faq-q-bg-color: #459fcc;
  --faq-a-bg-color: #ef6767;
  --text-highlight-color: #f5f567;
}

:root {
  /* コンテンツ幅管理用の変数 */
  --content-pc-width: 900px;
}

html {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  color: var(--black-color);
  font-size: 20px;
  font-family: "Zen Kaku Gothic New", sans-serif;
  line-height: 1.8;
  letter-spacing: 0.04em;
}

.list {
  margin: 0;
  padding: 20px;
  background-color: #f5f5f5;
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: #333;
}

a {
  color: #333;
  text-decoration: none;
}

/* AdSence */

.ad-spacer {
    margin: 40px auto;
    text-align: center;
    max-width: 900px;
    min-height: 100px;
    background: transparent;
    overflow: hidden;
}

.ad-spacer::before {
    content: "スポンサーリンク";
    display: block;
    font-size: 10px;
    color: #bbb;
    margin-bottom: 5px;
}

/* ---------- list ---------- */

.header {
    margin-bottom: 40px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}

.header h1 {
    font-size: 1.2rem;
    letter-spacing: 0.1em;
}

.header span {
    font-size: 0.7rem;
    color: #888;
    margin-left: 15px;
}

.category-block {
  margin-bottom: 60px;
}


.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

@media screen and (max-width: 450px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px; 
  }
}

.category-section {
    margin-bottom: 60px;
    width: 100%;
}

.card {
    background: transparent;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.card:hover {
    opacity: 0.8;
}

.card-image {
    width: 100%;
    aspect-ratio: 3 / 2;
    background-color: #eee;
    overflow: hidden;
    margin-bottom: 10px;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-long-image {
    width: 100%;            /* ★ 180pxから100%に変更。これで枠に収まります */
    max-width: 180px;       /* ★ PCなどで大きくなりすぎないよう最大値を制限 */
    aspect-ratio: 3 / 5;
    overflow: hidden;
    margin-bottom: 10px;
    margin-inline: auto;
}

.card-long-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.card-title {
    font-size: 0.85rem;
    text-align: center;
    font-weight: normal;
    margin: 0;
}

@media screen and (max-width: 450px) {
  .card-title {
    font-size: 12px;
    line-height: 1.4;
  }
}

/* ---------- footer ---------- */

.footer {
  margin-top: 20px;
  width: 100%;
}

.footer_text {
  font-weight: 500;
  font-size: 12px;
  color: var(--text-gray-color);
  margin-top: 15px;
  text-align: center;
  padding-bottom: 8px;
  letter-spacing: 0.08em;
}