body {
  margin: 0;
  font-family: sans-serif;
}
header {
  background-color: #f8f8f8;
  border-bottom: 1px solid #ccc;
}
nav {
  width: 100%;
  display: flex;
  justify-content: center;
}
nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: space-around;
  width: 90%;
  max-width: 600px;
  flex-wrap: nowrap;
}
nav li {
  position: relative;
}
nav > ul > li {
  flex-shrink: 0;
}
nav a {
  text-decoration: none;
  color: #333;
  padding: clamp(0.3rem, 2vw, 0.8rem);
  display: block;
  text-align: center;
  font-size: 14px;
}
nav li:hover > ul {
  display: block;
}
nav li ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: white;
  border: 1px solid #ccc;
  min-width: 200px;
  z-index: 100;
  white-space: nowrap;
}
nav li ul li {
  width: 100%;
}
footer {
  background-color: #f2f2f2;
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
}
footer a {
  margin: 0 0.5rem;
  color: #555;
  text-decoration: none;
}
.divider-img {
  display: block;
  width: 100%;
  max-width: 1000px;
  height: auto;
  margin: 2em auto;
  border-radius: 8px;
}

/* 本文の読みやすさを改善 */
main {
  max-width: 720px;
  margin: 0 auto;
  padding: 1.5em;
  line-height: 1.9;
  font-size: 16px;
  color: #333;
}

/* 段落ごとにしっかり余白を作る */
p {
  margin: 1.5em 0;
}

/* セクションの前後にも余白を */
section {
  margin-bottom: 3em;
}

/* h2 を見やすく柔らかく */
h2 {
  margin-top: 2.5em;
  margin-bottom: 1em;
  font-size: 1.4em;
  font-weight: 600;
  border-left: 5px solid #ccc;
  padding-left: 0.5em;
}

/* 区切り画像の余白強化 */
img.divider-img {
  display: block;
  width: 100%;
  max-width: 800px;
  margin: 2em auto;
  border-radius: 8px;
}

.header-banner {
  display: block;
  width: 100%;
  max-height: 200px;
  object-fit: cover;
  margin: 0 auto;
}

header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* お好みで */
}
nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: white; /* 任意 */
}


.last-img {
  display: block;
  width: 100%;
  max-height: 240px;
  object-fit: cover;
  margin: 40px auto 0;
}

.form-section {
  background: #fef9f4;
  padding: 2em;
  margin-top: 3em;
  border-top: 2px solid #f0c88d;
  border-bottom: 2px solid #f0c88d;
}

.form-title {
  font-size: 1.5em;
  color: #a35c00;
  margin-bottom: 1em;
}

.form-lead {
  font-size: 1em;
  margin-bottom: 1em;
}

.form-note {
  font-size: 0.85em;
  color: gray;
  margin-bottom: 2em;
}

/* 猫紹介ページ専用（.cats-intro） */
.cats-intro {
  max-width: 960px;
  margin: 0 auto;
  padding: 2rem;
  font-family: "Hiragino Kaku Gothic ProN", sans-serif;
}

.cats-intro .cat-profile {
  margin-bottom: 4rem;
  overflow: hidden;
}

.cats-intro .cat-profile h2 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  border-bottom: 2px solid #ddd;
  padding-bottom: 0.3rem;
}

.cats-intro .cat-photo {
  width: 300px;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  margin: 1rem;
}

.cats-intro .cat-photo.right {
  float: right;
  margin-left: 1.5rem;
}

.cats-intro .cat-photo.left {
  float: left;
  margin-right: 1.5rem;
}

.cats-intro .cat-profile p {
  line-height: 1.6;
  margin: 0.5rem 0;
  clear: both;
}

@media screen and (max-width: 768px) {
  .cats-intro .cat-photo.right,
  .cats-intro .cat-photo.left {
    float: none;
    display: block;
    margin: 0 auto 1rem;
    width: 90%;
  }

  .cats-intro .cat-profile {
    text-align: center;
  }

  .cats-intro .cat-profile h2 {
    font-size: 1.5rem;
  }
}
.footer-sns {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    font-size: 1.5rem;
    padding: 1rem 0;
  }

  .footer-sns a {
    color: #888;
    transition: color 0.3s ease;
  }

  .footer-sns a:hover {
    color: #ff4081;
  }

  .footer-info {
    text-align: center;
    font-size: 0.85rem;
    color: #666;
    padding-bottom: 1.5rem;
  }

  .footer-info nav a {
    color: #666;
    text-decoration: none;
    margin: 0 0.3rem;
  }

  .footer-info nav a:hover {
    text-decoration: underline;
  }
  fieldset {
  border: none;
  margin: 1.5em 0;
  padding: 0;
}

legend {
  font-size: 1.1em;
  font-weight: bold;
  margin-bottom: 0.5em;
}

label {
  display: block;
  margin: 0.3em 0;
  font-size: 1em;
  cursor: pointer;
}

input[type="radio"] {
  margin-right: 0.5em;
  accent-color: #f4a261; /* 柔らかいオレンジ系にして猫っぽさUP */
}

#inputValue {
  margin-top: 0.5em;
  padding: 0.4em;
  font-size: 1em;
  width: 100%;
  max-width: 300px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

button[type="submit"] {
  margin-top: 1em;
  padding: 0.5em 1.2em;
  background-color: #f4a261;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 1em;
  cursor: pointer;
  transition: background-color 0.2s;
}

button[type="submit"]:hover {
  background-color: #e76f51;
}

fieldset label {
  display: inline-block;
  margin-right: 1.5em;
  margin-bottom: 0.5em;
}

.blog-photo {
  display: block;
  max-width: 700px;
  width: 100%;
  margin: 1.5em auto;
  border-radius: 8px;
}