.cover-design-page {
  box-sizing: border-box;
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  padding: 115px 0 70px;
  color: #333;
}

.cover-design-page *,
.cover-design-page *::before,
.cover-design-page *::after {
  box-sizing: border-box;
}

.cover-design-page .breadcrumb {
  margin: 0 0 24px;
  font-size: 14px;
}

.cover-design-page .breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cover-design-page .breadcrumb li {
  display: flex;
  align-items: center;
  line-height: 1.6;
}

.cover-design-page .breadcrumb li:not(:last-child)::after {
  margin-left: 10px;
  color: #777;
  content: ">";
}

.cover-design-page .breadcrumb a {
  color: #5f462c;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cover-design-page .page-heading {
  margin-bottom: 28px;
  padding: 30px 34px;
  border: 1px solid #e4ded5;
  border-radius: 14px;
  background: #fffdf8;
}

.cover-design-page .page-heading h1 {
  margin: 0;
  color: #4d3926;
  font-family: "Kaisei Tokumin", serif;
  font-size: clamp(28px, 3.2vw, 46px);
  font-weight: 500;
  line-height: 1.4;
}

.cover-design-page .page-heading p {
  margin: 16px 0 0;
  color: #444;
  font-size: 17px;
  line-height: 1.9;
  text-align: left;
}

.cover-design-page .download-note {
  margin: 0 0 42px;
  padding: 20px 24px;
  border-left: 5px solid #f8b62d;
  border-radius: 8px;
  background: #fff8e8;
}

.cover-design-page .download-note strong {
  display: block;
  margin-bottom: 6px;
  color: #5e4210;
  font-size: 18px;
}

.cover-design-page .download-note p {
  margin: 0;
  color: #3f3f3f;
  font-size: 16px;
  line-height: 1.8;
  text-align: left;
}

.cover-design-page h2 {
  position: relative;
  display: block;
  margin: 0 0 28px;
  padding: 0 0 13px;
  color: #5f462c;
  font-family: "Kaisei Tokumin", serif;
  font-size: clamp(24px, 2.4vw, 34px);
  font-weight: 500;
  line-height: 1.45;
}

.cover-design-page h2::after {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: auto;
  width: 100%;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, #8c6239 0 120px, #e5ded5 120px 100%);
  content: "";
}

.cover-design-page .design-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.cover-design-page .design-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 20px;
  border: 1px solid #d8d2ca;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 5px 18px rgba(53, 42, 31, 0.08);
}

.cover-design-page .design-card h3 {
  margin: 0 0 14px;
  color: #3c3025;
  font-family: "Yusei Magic", sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
}

.cover-design-page .design-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 595 / 842;
  object-fit: cover;
  border: 1px solid #aaa39b;
  background: #f5f5f5;
}

.cover-design-page .download-button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 16px;
  padding: 10px 16px;
  border: 2px solid #d98c00;
  border-radius: 8px;
  background: #f8b62d;
  color: #2e220d;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.cover-design-page .download-button:hover,
.cover-design-page .download-button:focus-visible {
  border-color: #006fae;
  background: #009dff;
  color: #fff;
}

.cover-design-page .download-button:focus-visible,
.cover-design-page a:focus-visible {
  outline: 3px solid #222;
  outline-offset: 3px;
}

.cover-design-page .related-links {
  margin-top: 56px;
}

.cover-design-page .related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.cover-design-page .related-grid a {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 22px;
  border: 1px solid #d8d2ca;
  border-radius: 12px;
  background: #fff;
  color: #333;
  text-decoration: none;
}

.cover-design-page .related-grid a:hover,
.cover-design-page .related-grid a:focus-visible {
  border-color: #8c6239;
  background: #fffaf0;
}

.cover-design-page .related-grid strong {
  margin-bottom: 8px;
  color: #684a2c;
  font-size: 18px;
  line-height: 1.5;
}

.cover-design-page .related-grid span {
  font-size: 15px;
  line-height: 1.75;
}

@media (max-width: 1236px) {
  .cover-design-page {
    padding-top: 165px;
  }
}

@media (max-width: 890px) {
  .cover-design-page {
    width: min(100% - 30px, 900px);
    padding-top: 105px;
  }

  .cover-design-page .design-list,
  .cover-design-page .related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .cover-design-page {
    width: min(100% - 24px, 620px);
    padding-top: 95px;
    padding-bottom: 50px;
  }

  .cover-design-page .page-heading {
    padding: 22px 20px;
  }

  .cover-design-page .page-heading h1 {
    font-size: 27px;
  }

  .cover-design-page .page-heading p,
  .cover-design-page .download-note p {
    font-size: 15px;
  }

  .cover-design-page .design-list,
  .cover-design-page .related-grid {
    grid-template-columns: 1fr;
  }

  .cover-design-page .design-card {
    padding: 17px;
  }
}
