:root {
  color-scheme: light;
  --ink: #202447;
  --subtle: #555675;
  --paper: #fffcf8;
  --white: #fff;
  --purple: #5d32ac;
  --lavender: #e9e0ff;
  --mint: #d9f3e9;
  --line: #d9d4e5;
  --frame: #aaa0bf;
  --width: 1200px;
  font-family: "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; line-height: 1.65; }
h1, h2, h3, p, ol, ul { margin: 0; }
a { color: inherit; text-underline-offset: .22em; }
a:focus-visible { outline: 3px solid var(--purple); outline-offset: 4px; }
img { display: block; max-width: 100%; }
.wrap { width: min(var(--width), calc(100% - 80px)); margin-inline: auto; }
.skip { position: absolute; inset: 8px auto auto 8px; z-index: 2; padding: 10px 16px; background: var(--white); transform: translateY(-150%); }
.skip:focus { transform: none; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 16px; letter-spacing: .035em; font-weight: 800; text-decoration: none; }
.brand-mark { display: grid; grid-template-columns: repeat(2, 7px); grid-template-rows: repeat(2, 7px); gap: 3px; padding: 5px; border: 1px solid var(--ink); border-radius: 5px; background: var(--lavender); }
.brand-mark span { border: 1px solid var(--ink); border-radius: 1px; }
.brand-mark span:nth-child(1) { background: var(--white); }
.brand-mark span:nth-child(2) { background: var(--purple); }
.brand-mark span:nth-child(3) { background: var(--mint); }
.brand-mark span:nth-child(4) { border-radius: 50%; }
.header-link { font-size: 13px; font-weight: 700; padding-block: 10px; }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(250px, .43fr); align-items: end; gap: clamp(32px, 5vw, 74px); margin-top: 48px; padding-bottom: 36px; border-bottom: 1px solid var(--ink); }
.hero h1 { font-size: clamp(33px, 3.65vw, 54px); line-height: 1.31; letter-spacing: .015em; font-weight: 800; }
.hero h1 > span { display: block; }
.hero-emphasis { color: var(--purple); }
.hero-description { max-width: 39em; margin-top: 20px; color: var(--subtle); font-size: 14px; line-height: 1.95; }
.jump { padding: 17px 22px 10px; border: 1px solid var(--ink); border-radius: 11px; background: var(--lavender); }
.jump h2 { font-size: 13px; letter-spacing: .06em; }
.jump ul { list-style: none; padding: 6px 0 0; }
.jump li + li { border-top: 1px solid #c8b9e1; }
.jump a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 45px; text-decoration: none; font-size: 14px; font-weight: 700; }
.jump a:hover { color: var(--purple); text-decoration: underline; }
.section { margin-top: 39px; }
.section-title { font-size: clamp(24px, 2.6vw, 34px); line-height: 1.35; letter-spacing: .035em; }
.latest-card { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); max-width: 860px; margin-top: 16px; }
.latest-card .card-image { align-self: stretch; height: 100%; border-radius: 11px 0 0 11px; border: 0; border-right: 1px solid var(--line); }
.latest-card .card-body { align-self: center; padding: 21px 22px; }
.new-label { align-self: flex-start; margin-bottom: 7px; padding: 2px 8px; border-radius: 4px; background: var(--lavender); color: var(--purple); font-size: 12px; font-weight: 800; }
.card-guide { font-size: 13px; text-decoration: underline; text-underline-offset: .22em; }
.card-link::after { position: absolute; inset: 0; border-radius: inherit; content: ""; }
.card-link:focus-visible::after { outline: 3px solid var(--purple); outline-offset: 3px; }
.latest-card:hover, .tool-list li:hover { border-color: var(--purple); }
.latest-card .button, .list-action { position: relative; z-index: 1; }
.card { min-width: 0; border: 1px solid var(--frame); border-radius: 12px; background: var(--white); }
.card-image { width: 100%; aspect-ratio: 16/9; height: auto; object-fit: cover; border-radius: 11px 11px 0 0; border-bottom: 1px solid var(--line); background: var(--lavender); }
.card-body { display: flex; flex: 1; flex-direction: column; padding: 17px 17px 16px; }
.card h3 { font-size: clamp(16px, 1.63vw, 21px); line-height: 1.4; }
.name-token { white-space: nowrap; }
.card h3 a { text-decoration: none; }
.card h3 a:hover { color: var(--purple); text-decoration: underline; }
.card p { margin: 7px 0 15px; font-size: 13px; color: var(--subtle); }
.card-actions { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 5px 13px; }
.button { display: inline-flex; min-height: 44px; padding: 7px 13px; align-items: center; justify-content: center; gap: 12px; background: var(--purple); color: var(--white); border: 1px solid var(--purple); border-radius: 7px; font-size: 13px; font-weight: 800; text-decoration: none; }
.button:hover { background: #452284; border-color: #452284; }
.all { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--ink); }
.category { margin-top: 23px; scroll-margin-top: 20px; }
.category h3 { padding: 7px 12px; border: 1px solid var(--line); background: var(--lavender); border-radius: 6px; font-size: 15px; letter-spacing: .04em; }
.category:nth-of-type(2) h3 { background: var(--mint); }
.category:nth-of-type(3) h3 { background: #f4ecfa; }
.tool-list { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; padding: 10px 0 0; }
.tool-list li { position: relative; display: flex; flex-direction: column; gap: 7px; padding: 9px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); }
.list-image { width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; border: 1px solid var(--line); border-radius: 5px; background: var(--lavender); }
.list-name { font-size: 14px; font-weight: 800; text-decoration: none; }
.list-name:hover { color: var(--purple); text-decoration: underline; }
.list-copy { margin-top: 3px; color: var(--subtle); font-size: 12px; }
.list-action { display: inline-flex; align-items: center; align-self: flex-start; gap: 6px; margin-top: auto; min-height: 38px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.site-footer { margin-top: 62px; border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; min-height: 73px; color: var(--subtle); font-size: 13px; }
.footer-inner a { padding-block: 8px; }
.detail { padding-top: 40px; }
.detail-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(26px, 5vw, 64px); align-items: center; padding-bottom: 30px; border-bottom: 1px solid var(--ink); }
.detail-hero h1 { font-size: clamp(28px, 3.3vw, 49px); line-height: 1.33; margin-block: 7px 14px; }
.detail-category { color: var(--purple); font-size: 13px; font-weight: 800; }
.detail-intro { color: var(--subtle); font-size: 15px; line-height: 1.85; margin-bottom: 19px; }
.detail-art { width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; border: 1px solid var(--frame); border-radius: 12px; background: var(--lavender); }
.steps { margin-top: 26px; }
.steps ol { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 11px; padding: 0; margin-top: 13px; }
.steps li { display: flex; align-items: flex-start; gap: 11px; padding: 13px 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); font-size: 14px; }
.step-number { flex: 0 0 30px; line-height: 30px; text-align: center; border-radius: 50%; background: var(--lavender); font-weight: 800; color: var(--purple); }
@media (max-width: 1000px) {
  .wrap { width: calc(100% - 56px); }
  .hero h1 { font-size: clamp(30px, 3.7vw, 42px); }
  .tool-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .wrap { width: calc(100% - 36px); }
  .header-inner { min-height: 61px; }
  .hero { grid-template-columns: 1fr; gap: 22px; margin-top: 30px; padding-bottom: 24px; }
  .hero h1 { font-size: clamp(26px, 7vw, 43px); overflow-wrap: anywhere; }
  .hero-emphasis { display: block; }
  .hero-description { margin-top: 12px; }
  .jump { padding: 10px 13px 7px; }
  .jump ul { display: flex; flex-wrap: wrap; gap: 0 14px; }
  .jump li + li { border: 0; }
  .jump a { min-height: 38px; font-size: 12px; gap: 5px; }
  .section { margin-top: 25px; }
  .latest-card { grid-template-columns: 1fr; }
  .latest-card .card-image { height: auto; border-radius: 11px 11px 0 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .latest-card .card-body { padding: 16px; }
  .card h3 { font-size: 19px; }
  .all { margin-top: 40px; }
  .tool-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .list-action { min-height: 44px; }
  .site-footer { margin-top: 39px; }
  .detail { padding-top: 24px; }
  .detail-hero { grid-template-columns: 1fr; gap: 17px; }
  .detail-hero h1 { font-size: clamp(24px, 6.45vw, 36px); margin-block: 5px 8px; }
  .steps ol { grid-template-columns: 1fr; }
}
@media (max-width: 360px) {
  .tool-list { grid-template-columns: 1fr; }
}
