html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Hiragino Kaku Gothic ProN, Meiryo, system-ui, sans-serif;
  line-height: 1.8;
  color: #222;
}

main {
  max-width: 900px;
  margin: 0 auto;
  padding: 16px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1 {
  font-size: 1.8rem;
  margin: 1rem 0 .5rem;
}

h2 {
  font-size: 1.2rem;
  margin: 1.2rem 0 .4rem;
  border-left: 4px solid #000;
  padding-left: .5rem;
}

h3 {
  font-size: 1rem;
  margin: 1rem 0 .3rem;
}

p {
  margin: .7rem 0;
}

.note {
  color: #666;
  font-size: .95em;
}

.hr {
  height: 1px;
  background: #eee;
  margin: 1.6rem 0;
}

/* Swatches: just a simple flow; no fancy grid */
#swatch a.swatch {
  display: block;
  padding: 6px 0;
  text-decoration: none;
  color: inherit;
  border-top: 1px solid #eee;
}

#swatch a.swatch:first-of-type {
  border-top: none;
}

#swatch .thumb {
  width: 100%;
}

/* Table: thin borders for readability */
table {
  border-collapse: collapse;
  width: 100%;
}

th,
td {
  border: 1px solid #ddd;
  padding: .5rem;
  text-align: center;
}

th {
  background: #f9f9f9;
}

/* Variations grid: minimal, no decoration */
.grid.resp {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, 1fr);
  margin: 12px 0;
}

@media (min-width:1024px) {
  .grid.resp {
    grid-template-columns: repeat(6, 1fr);
  }
}

a.swatch {
  display: block;
  text-decoration: none;
  color: inherit
}

.thumb {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  display: block
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block
}

.swatch p {
  text-align: center;
  font-size: .9rem;
  margin: .4rem 0 0
}


.thumb {
  border-radius: 10px;
  overflow: hidden
}

.thumb img {
  border-radius: 10px
}



/* link styles: blue, no underline, subtle hover */
a {
  color: #0066cc;
  text-decoration: none;
}

a:hover {
  background-color: #f5f5f5;
}

a.btn {
  display: inline-block;
  padding: .4rem .8rem;
  border: 1px solid #666;
  background: #fff;
  font-weight: bold;
}

a.btn:hover {
  background: #eee;
}

footer.small.org {
  line-height: 1.4;
  /* ← ここを1.4前後に */
  color: #444;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid #ddd;
}


/* Added for text-first LP layout */
.lead {
  font-size: 1.02rem;
}

.toc {
  margin: 0 0 1rem;
  font-size: .95rem;
}

.grid.two {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, 1fr);
  margin: 12px 0;
}

.grid.three {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, 1fr);
  margin: 12px 0;
}

.pull {
  margin: 1.4rem 0;
  padding: .9rem 1rem;
  background: #fafafa;
  border-left: 4px solid #ddd;
}

.cta {
  margin: 1rem 0;
}

.meta {
  color: #666;
  font-size: .9em;
}

.noimg {
  background: #f5f5f5;
}

@media (max-width: 767px) {

  .grid.two,
  .grid.three {
    grid-template-columns: 1fr;
  }
}

.grid.three {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.grid.three img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.hero {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  /* ←なくてもOKだけどちょっと良くなる */
}