body {
  margin: 0;
  padding: 0;
  background: #ffffff;
  color: #222;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  line-height: 1.8;
}

main {
  margin: 0;
  padding: 20px 20px;
  background: #fff;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}


.header-image {
  margin-bottom: 40px;
}

.header-image img {
  display: block;
  width: 100%;
  height: auto;
}


h1 {
  font-size: 28px;
  font-weight: normal;
  margin-bottom: 40px;
  letter-spacing: 0.1em;
}

h1 img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 16px;
}

h2 {
  font-size: 20px;
  font-weight: bold;
  letter-spacing: 0.1em;
}

a {
  color: #555;
  text-decoration: underline;
}

.top-bg {
  position: fixed;
  width: 100%;
  height: 85vh;
  background-image: url("images/top-img.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -1;
}

.top-img {
  position: relative;
  height: 85vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.swipe-slider {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  margin: 0 auto;

  display: flex;
  overflow-x: auto;
  overflow-y: hidden;

  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;

  border-radius: 18px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.swipe-slider::-webkit-scrollbar {
  display: none;
}

.swipe-slide {
  position: relative;
  min-width: 100%;
  height: 100%;

  scroll-snap-align: center;

  display: flex;
  align-items: center;
  justify-content: center;

  background-size: cover;
  background-position: center;
}

.swipe-slide p {
  margin: 0;
  padding: 0.8em 1.2em;

  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: clamp(0.95rem, 2.5vw, 1.5rem);
  line-height: 2.5;
  color: #fff;
  text-align: center;
}

.swipe-hint {
  position: absolute;
  right: 12px;
  bottom: 10px;

  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.6);

  pointer-events: none;
  user-select: none;
}

.update-pill {
  width: min(88%, 680px);
  margin: 30px auto 0;
  padding: 14px 22px;
  border-radius: 999px;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;

  background:
    linear-gradient(
      90deg,
      rgba(232, 240, 235, 0.85),
      rgba(246, 244, 228, 0.75)
    );

  color: #5f645d;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif;
  font-size: clamp(0.85rem, 2.7vw, 1.05rem);
  letter-spacing: 0.08em;
  line-height: 1.6;

  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.75),
    0 8px 24px rgba(70, 90, 75, 0.08);
}

.site-menu {
  margin: 0 auto;
  padding: 30px 0px;
}

.category-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.category-card {
  display: block;
  padding: 24px 20px;
  border: 2px solid #ddd;
  border-radius: 16px;
  text-decoration: none;
  color: #222;
  transition: all 0.25s ease;
}

/* ホバー共通 */
.category-card:hover {
  transform: translateY(-3px);
  filter: brightness(0.97);
}

/* ===== カテゴリー別 ===== */

.category-card.yakusoku {
    position: relative;
    display: block;
    box-sizing: border-box;
    width: 100%;
    aspect-ratio: 16 / 6;
    background-image: url("/images/yakusoku.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 20px;
    overflow: hidden;
}

.category-card.yakusoku::before {
  content: "";
  position: absolute;
  inset: 0;
}

.category-card.morinoima {
    position: relative;
    display: block;
    box-sizing: border-box;
    width: 100%;
    aspect-ratio: 16 / 6;
    background-image: url("/images/morinoima.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 20px;
    overflow: hidden;
}

.category-card.morinoima::before {
  content: "";
  position: absolute;
  inset: 0;
}

.category-card.hibi {
    position: relative;
    display: block;
    box-sizing: border-box;
    width: 100%;
    aspect-ratio: 16 / 6;
    background-image: url("/images/hibi.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 20px;
    overflow: hidden;
}

.category-card.hibi::before {
  content: "";
  position: absolute;
  inset: 0;
}

.category-card.nemuri {
    position: relative;
    display: block;
    box-sizing: border-box;
    width: 100%;
    aspect-ratio: 16 / 6;
    background-image: url("/images/nemuri.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 20px;
    overflow: hidden;
}

.category-card.nemuri::before {
  content: "";
  position: absolute;
  inset: 0;
}

.category-card.kakawari {
    position: relative;
    display: block;
    box-sizing: border-box;
    width: 100%;
    aspect-ratio: 16 / 6;
    background-image: url("/images/kakawari.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 20px;
    overflow: hidden;
}

.category-card.kakawari::before {
  content: "";
  position: absolute;
  inset: 0;
}


.category-card.shigoto {
    position: relative;
    display: block;
    box-sizing: border-box;
    width: 100%;
    aspect-ratio: 16 / 6;
    background-image: url("/images/shigoto.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 20px;
    overflow: hidden;
}

.category-card.shigoto::before {
  content: "";
  position: absolute;
  inset: 0;
}
.category-card.okane {
    position: relative;
    display: block;
    box-sizing: border-box;
    width: 100%;
    aspect-ratio: 16 / 6;
    background-image: url("/images/okane.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 20px;
    overflow: hidden;
}

.category-card.okane::before {
  content: "";
  position: absolute;
  inset: 0;
}

.category-card.kagaku {
    position: relative;
    display: block;
    box-sizing: border-box;
    width: 100%;
    aspect-ratio: 16 / 6;
    background-image: url("/images/kagaku.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 20px;
    overflow: hidden;
}

.category-card.kagaku::before {
  content: "";
  position: absolute;
  inset: 0;
}

.category-card.coffee {
    position: relative;
    display: block;
    box-sizing: border-box;
    width: 100%;
    aspect-ratio: 16 / 6;
    background-image: url("/images/coffee.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 20px;
    overflow: hidden;
}

.category-card.coffee::before {
  content: "";
  position: absolute;
  inset: 0;
  }

.category-card.music {
    position: relative;
    display: block;
    box-sizing: border-box;
    width: 100%;
    aspect-ratio: 16 / 6;
    background-image: url("/images/music.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 20px;
    overflow: hidden;
}

.category-card.music::before {
  content: "";
  position: absolute;
  inset: 0;
  }

.category-card.hatake {
    position: relative;
    display: block;
    box-sizing: border-box;
    width: 100%;
    aspect-ratio: 16 / 6;
    background-image: url("/images/hatake.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 20px;
    overflow: hidden;
}

.category-card.hatake::before {
  content: "";
  position: absolute;
  inset: 0;
  }

.category-card.kondate {
    position: relative;
    display: block;
    box-sizing: border-box;
    width: 100%;
    aspect-ratio: 16 / 6;
    background-image: url("/images/kondate.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 20px;
    overflow: hidden;
}

.category-card.kondate::before {
  content: "";
  position: absolute;
  inset: 0;
  }
  
.category-card.kazoku {
    position: relative;
    display: block;
    box-sizing: border-box;
    width: 100%;
    aspect-ratio: 16 / 6;
    background-image: url("/images/kazoku.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 20px;
    overflow: hidden;
}

.category-card.kazoku::before {
  content: "";
  position: absolute;
  inset: 0;
  }

.category-card h2 {
  font-weight: 600;
	font-size: 16px;
}

.category-card p {
	font-size: 12px;
  margin: 0;
	font-weight: bold;
}

.category-name {
  font-size: 2rem;
  font-weight: normal;
  margin: 0 0 24px;
  letter-spacing: 0.08em;
}

.article-body p {
    margin: 40px 0;
}

.back-link {
  margin-top: 60px;
}


.back-link a {
  color: #555;
  text-decoration: none;
}

.back-link a:hover {
  text-decoration: underline;
}

footer {
  background: #fff;
  margin:0;
  padding: 40px 20px;
  text-align: center;
  font-size: 12px;
  color: #bbb;
}


label {
  display: block;
  margin-top: 20px;
  margin-bottom: 6px;
  font-size: 14px;
  color: #666;
}

input,
select,
textarea {
  width: 100%;
  font-size: 16px; /* ←これ超重要（ズーム防止） */
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #ddd;
  box-sizing: border-box;
  background: #fff;
}

textarea {
  min-height: 260px; /* ←書く気になる高さ */
  line-height: 1.7;
}

button {
  width: 100%;
  margin-top: 30px;
  padding: 14px;
  font-size: 16px;
  border-radius: 999px;
  border: none;
  background: #222;
  color: #fff;
}

.add-link {
  display: inline-block;
  margin-bottom: 20px;
  padding: 10px 16px;
  border-radius: 999px;
  background: #222;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
}

.post-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.post-list li {
  padding: 14px;
  margin-bottom: 40px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #e5e5e5;
	background-image: url("images/title-bg.jpg");
  background-size: cover;
  background-position: center;

  position: relative;
}

.post-list a {
  display: block;

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

.post-title {
  display: block;
  font-size: 15px;
  color: #222;
  text-decoration: none;
  line-height: 1.6;
}

.post-number {
    font-size: 12px;
    color: #aaa;
    display: block;
}

.post-date {
    font-size: 12px;
    color: #aaa;
    display: block;
}