/*
Theme Name: AI Create Guide
Version: 0.1.0
Requires at least: 6.8
Requires PHP: 8.3
Text Domain: aicreate-theme
*/
:root {
  --ink: #202c39;
  --muted: #5d6972;
  --paper: #fcfbf7;
  --line: #dcded8;
  --accent: #b94622;
  --mint: #dcebe2;
  --radius: 18px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    -apple-system, BlinkMacSystemFont, "Noto Sans JP",
    "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  line-height: 1.85;
  font-size: 16px;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
button,
input,
select {
  font: inherit;
}
button,
.button {
  border: 0;
  border-radius: 8px;
  padding: 12px 22px;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  display: inline-block;
  min-height: 48px;
}
button:hover,
.button:hover {
  background: #384b5b;
}
input,
select {
  max-width: 100%;
  min-width: 0;
  border: 1px solid #9aa59e;
  border-radius: 7px;
  background: #fff;
  padding: 12px;
  color: var(--ink);
}
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}
.container {
  width: min(1160px, calc(100% - 64px));
  margin: auto;
}
.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  width: min(1320px, calc(100% - 64px));
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 23px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.45;
  white-space: nowrap;
}
.brand small {
  display: block;
  font-size: 10px;
  letter-spacing: 0.19em;
  font-weight: 600;
}
.brand-mark {
  font-size: 30px;
  letter-spacing: -5px;
  background: var(--ink);
  color: #fff;
  width: 46px;
  height: 46px;
  text-align: center;
  border-radius: 12px;
  padding-right: 5px;
}
.brand-mark span {
  color: #e4a584;
}
.site-header nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 700;
}
.nav-tools {
  border: 1px solid var(--ink);
  border-radius: 6px;
  padding: 8px 14px;
}
.local-notice {
  font-size: 12px;
  text-align: center;
  background: #f0eee6;
  color: #545b58;
  padding: 6px 20px;
}
.hero {
  padding: 76px 0 58px;
  text-align: center;
}
.eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: var(--accent);
}
h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}
h1 {
  font-size: clamp(29px, 3.9vw, 54px);
  line-height: 1.5;
  letter-spacing: 0.02em;
  margin: 15px 0 20px;
}
h1 span {
  position: relative;
  display: inline-block;
}
h1 span:after {
  content: "";
  position: absolute;
  height: 8px;
  background: #e6b596;
  bottom: 8px;
  left: 0;
  right: 0;
  z-index: -1;
}
h2 {
  font-size: 25px;
  line-height: 1.6;
  margin: 6px 0 16px;
}
h3 {
  font-size: 19px;
  line-height: 1.6;
}
.hero-copy {
  color: var(--muted);
  font-size: 16px;
  line-height: 2;
}
.search-form {
  max-width: 640px;
  margin: 28px auto 0;
  text-align: left;
}
.search-form label {
  font-size: 13px;
  display: block;
  font-weight: 700;
  margin-bottom: 7px;
}
.search-row {
  display: flex;
  gap: 10px;
  background: #fff;
  border: 1px solid #a4aca5;
  border-radius: 12px;
  padding: 7px;
  box-shadow: 0 6px 20px #25382a06;
}
.search-row input {
  flex: 1;
  border: 0;
  background: transparent;
  width: 100%;
  padding: 10px;
}
.search-row button {
  white-space: nowrap;
}
.search-hint {
  font-size: 12px;
  color: var(--muted);
}
.mobile-break {
  display: none;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 24px;
}
.section-heading p,
.section-heading > span {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 18px;
}
.genre-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.genre-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  transition: transform 0.2s;
}
.genre-card:hover {
  transform: translateY(-4px);
  text-decoration: none;
}
.genre-art {
  height: 194px;
  position: relative;
  overflow: hidden;
  background: #e3ebe3;
}
.genre-video .genre-art {
  background: #e8e5f1;
}
.genre-music .genre-art {
  background: #f1e2d6;
}
.art-orbit {
  position: absolute;
  width: 270px;
  height: 270px;
  border: 1px solid #ffffffb0;
  border-radius: 50%;
  top: -30px;
  left: calc(50% - 135px);
}
.art-orbit:before {
  content: "";
  position: absolute;
  inset: 25px;
  border: 1px solid #ffffffa0;
  border-radius: 50%;
}
.art-object {
  position: absolute;
  left: calc(50% - 56px);
  top: 38px;
  width: 112px;
  height: 112px;
  background: linear-gradient(135deg, #f8f6df, #559c83);
  border-radius: 48% 48% 18% 48%;
  transform: rotate(-25deg);
  box-shadow: 15px 15px 30px #275a5020;
}
.genre-video .art-object {
  background: linear-gradient(135deg, #c6bae6, #77609e);
  border-radius: 23px;
  transform: rotate(-12deg);
  width: 126px;
  height: 86px;
  top: 55px;
}
.genre-video .art-object:after {
  content: "";
  position: absolute;
  border-left: 25px solid #fff;
  border-top: 17px solid transparent;
  border-bottom: 17px solid transparent;
  top: 25px;
  left: 54px;
}
.genre-music .art-object {
  background: repeating-linear-gradient(
    90deg,
    transparent 0 12px,
    #bd714a 12px 20px,
    transparent 20px 28px
  );
  border-radius: 45%;
  box-shadow: none;
  transform: none;
  top: 43px;
  width: 145px;
  left: calc(50% - 72px);
}
.art-spark {
  position: absolute;
  top: 21px;
  right: 30px;
  font-size: 32px;
  color: #fff;
}
.genre-content {
  padding: 24px;
}
.genre-number {
  font-size: 10px;
  letter-spacing: 0.17em;
  color: var(--muted);
}
.genre-content h3 {
  font-size: 23px;
  margin: 8px 0;
}
.genre-content h3 span {
  float: right;
  font-weight: 400;
}
.genre-content p {
  margin: 4px 0;
  font-size: 14px;
}
.genre-content small {
  font-size: 12px;
  color: var(--muted);
}
.art-caption {
  font-size: 11px;
  color: var(--muted);
  text-align: right;
}
.content-section {
  padding: 48px 0 20px;
}
.soft-section {
  background: #edf1eb;
  padding: 48px 0;
  margin-top: 42px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.content-card {
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 10px;
}
.tag {
  color: #2d6553;
  background: #eaf3ed;
  padding: 2px 8px;
  border-radius: 4px;
}
.sample-label {
  color: var(--muted);
  padding: 2px 0;
}
.content-card h3 {
  margin: 14px 0 8px;
}
.content-card > p {
  font-size: 13px;
  color: var(--muted);
  margin-top: 0;
}
.card-bottom {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  align-items: center;
  margin-top: auto;
  padding-top: 15px;
  border-top: 1px solid #eee;
}
.card-bottom small {
  font-size: 10px;
  color: var(--muted);
}
.text-link {
  font-size: 13px;
  font-weight: 700;
}
.closing {
  padding: 70px 0;
  text-align: center;
}
.closing p {
  color: var(--muted);
  font-size: 14px;
}
.site-footer {
  background: #25332e;
  color: #f7f9f6;
  padding: 48px 0 16px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}
.footer-inner strong {
  font-size: 19px;
}
.footer-inner p {
  font-size: 14px;
}
.footer-inner small {
  font-size: 11px;
  color: #c6d1c8;
}
.footer-pages {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px 20px;
  font-size: 12px;
}
.footer-pages strong {
  grid-column: 1/-1;
  font-size: 13px;
  margin-bottom: 8px;
}
.footer-pages span small {
  margin-left: 6px;
}
.copyright {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #ffffff30;
  margin-top: 35px;
  padding-top: 15px;
  font-size: 10px;
  color: #d0d9d2;
}
.breadcrumbs {
  font-size: 12px;
  color: var(--muted);
  margin: 22px 0 30px;
}
.breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
}
.breadcrumbs li + li:before {
  content: "/";
  padding-right: 8px;
}
.listing {
  padding-bottom: 60px;
}
.listing h1 {
  font-size: 34px;
}
.listing .search-form {
  margin-left: 0;
}
.results {
  margin-top: 30px;
}
.filter-panel {
  padding: 24px;
  background: #edf1eb;
  border-radius: 12px;
  margin-top: 28px;
}
.filter-panel fieldset {
  border: 0;
  padding: 0;
  margin: 0 0 18px;
}
.filter-panel legend {
  font-size: 13px;
  font-weight: 700;
}
.checkbox {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 8px 20px 0 0;
  font-size: 14px;
}
.checkbox input {
  width: 20px;
  height: 20px;
  accent-color: #254f3e;
}
.filter-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.filter-grid label {
  font-size: 12px;
  font-weight: 700;
}
.filter-grid select {
  display: block;
  width: 100%;
  margin-top: 4px;
  font-size: 13px;
}
.filter-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 20px;
  font-size: 13px;
}
.empty {
  grid-column: 1/-1;
  padding: 40px;
  background: #f0f2ec;
  border-radius: 10px;
}
.empty a {
  text-decoration: underline;
}
.detail {
  padding-bottom: 70px;
}
.lead {
  font-size: 18px;
  color: var(--muted);
}
.notice {
  border-left: 3px solid #a44e29;
  background: #f5ede1;
  padding: 14px 20px;
  font-size: 13px;
}
.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 48px;
  margin-top: 35px;
}
.prose {
  font-size: 16px;
  line-height: 2.1;
  min-width: 0;
}
.prose h2 {
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
  margin-top: 38px;
}
.prose h3 {
  margin-top: 25px;
}
.prose .cards {
  grid-template-columns: 1fr;
}
.info-panel {
  align-self: start;
  background: #edf1eb;
  border-radius: 12px;
  padding: 24px;
  font-size: 13px;
}
.info-panel h2 {
  font-size: 18px;
}
.info-panel dt {
  font-size: 12px;
  color: var(--muted);
}
.info-panel dd {
  margin: 0 0 16px;
}
.article-wrap {
  max-width: 800px;
  padding-bottom: 65px;
}
.article-wrap h1 {
  font-size: 36px;
}
.article-dates {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  font-size: 11px;
  color: var(--muted);
}
.article-dates dd {
  margin: 0;
}
.summary {
  background: #e9efe7;
  border-radius: 12px;
  padding: 24px;
  margin: 28px 0;
}
.summary h2 {
  font-size: 19px;
}
.related {
  margin-top: 45px;
}
.related .cards {
  grid-template-columns: 1fr;
}
.not-found {
  padding-bottom: 70px;
}
.not-found .search-form {
  margin: 30px 0;
}
.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  background: #fff;
  padding: 12px;
  z-index: 100;
}
.skip-link:focus {
  top: 10px;
}
.navigation.pagination {
  margin-top: 30px;
}
.page-numbers {
  padding: 8px;
}
.prose img {
  max-width: 100%;
  height: auto;
}
table {
  max-width: 100%;
  border-collapse: collapse;
}
td,
th {
  padding: 8px;
  border: 1px solid var(--line);
}
@media (max-width: 1000px) {
  .site-header nav {
    gap: 15px;
    font-size: 12px;
  }
  .brand {
    font-size: 16px;
  }
  .genre-grid,
  .cards {
    gap: 14px;
  }
  .genre-content {
    padding: 18px;
  }
  .genre-content h3 {
    font-size: 20px;
  }
  .filter-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .content-card {
    padding: 18px;
  }
  .detail-layout {
    gap: 24px;
    grid-template-columns: minmax(0, 1fr) 230px;
  }
}
@media (max-width: 767px) {
  .container,
  .header-inner {
    width: calc(100% - 36px);
  }
  .header-inner {
    flex-wrap: wrap;
    gap: 14px;
    padding: 16px 0;
  }
  .site-header nav {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
  }
  .nav-tools {
    padding: 5px 9px;
  }
  .brand {
    font-size: 18px;
  }
  .brand-mark {
    width: 39px;
    height: 39px;
    font-size: 26px;
  }
  .brand small {
    font-size: 9px;
  }
  .local-notice {
    font-size: 10px;
    padding: 6px 16px;
  }
  .hero {
    padding: 45px 0 35px;
  }
  .hero h1 {
    font-size: clamp(23px, 7.4vw, 32px);
  }
  .mobile-break {
    display: block;
  }
  .hero-copy {
    font-size: 13px;
  }
  .search-row button {
    font-size: 13px;
    padding: 10px 14px;
  }
  .search-row input {
    font-size: 13px;
    padding: 8px;
  }
  .section-heading {
    align-items: start;
    flex-direction: column;
    gap: 0;
    margin-bottom: 18px;
  }
  .section-heading p,
  .section-heading > span {
    margin: 0;
  }
  h2 {
    font-size: 23px;
  }
  .genre-grid,
  .cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .genre-card {
    display: grid;
    grid-template-columns: 100px minmax(0, 1fr);
  }
  .genre-art {
    height: 100%;
    min-height: 163px;
  }
  .art-orbit {
    width: 170px;
    height: 170px;
    left: -35px;
    top: 0;
  }
  .art-object {
    width: 70px;
    height: 70px;
    left: 15px;
    top: 50px;
  }
  .genre-video .art-object {
    width: 74px;
    height: 54px;
    left: 12px;
    top: 57px;
  }
  .genre-video .art-object:after {
    border-left-width: 17px;
    border-top-width: 12px;
    border-bottom-width: 12px;
    left: 31px;
    top: 15px;
  }
  .genre-music .art-object {
    left: 12px;
    top: 45px;
    width: 80px;
    height: 80px;
  }
  .art-spark {
    right: 10px;
    top: 15px;
    font-size: 20px;
  }
  .genre-content {
    padding: 16px;
  }
  .genre-content h3 {
    font-size: 20px;
    margin: 4px 0;
  }
  .genre-content p {
    font-size: 12px;
  }
  .genre-content small {
    font-size: 10px;
  }
  .genre-number {
    font-size: 9px;
  }
  .art-caption {
    text-align: left;
    font-size: 10px;
  }
  .content-section {
    padding: 32px 0 10px;
  }
  .soft-section {
    margin-top: 24px;
    padding: 30px 0;
  }
  .content-card {
    padding: 22px;
  }
  .closing {
    padding: 45px 0;
  }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-pages {
    grid-template-columns: 1fr;
  }
  .copyright {
    flex-direction: column;
    gap: 8px;
  }
  .listing h1 {
    font-size: 27px;
  }
  .filter-panel {
    padding: 18px;
  }
  .filter-grid {
    grid-template-columns: 1fr;
  }
  .filter-actions {
    gap: 12px;
    flex-wrap: wrap;
  }
  .detail-layout {
    grid-template-columns: 1fr;
  }
  .article-wrap h1 {
    font-size: 29px;
  }
  .article-dates {
    gap: 18px;
  }
  .summary {
    padding: 18px;
  }
  .prose {
    font-size: 15px;
  }
  .prose h2 {
    font-size: 22px;
  }
  .not-found h1 {
    font-size: 28px;
  }
  .search-form label {
    font-size: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .genre-card {
    transition: none;
  }
}

/* Official source URLs and evidence-backed labels may contain long unbroken text. */
.prose .verified-facts,
.prose a {
  overflow-wrap: anywhere;
}
