* {
  margin: 0;
  padding: 0;
  box-sizing: border-box
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%
}

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

a {
  text-decoration: none;
  color: inherit
}

ul,
ol {
  list-style: none
}

body {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important
  }
}

:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 2px
}

body {
  font-family: var(--ff-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.85;
  font-size: 16px
}

.shell {
  position: relative
}

.page-main {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 72px 24px 84px
}

.page-head {
  margin-bottom: 44px
}

.eyebrow {
  font-family: var(--ff-disp);
  letter-spacing: .24em;
  font-size: 12px;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 14px
}

.page-head h1 {
  font-family: var(--ff-disp);
  font-weight: 700;
  font-size: clamp(28px, 5vw, 46px);
  line-height: 1.24;
  letter-spacing: .01em;
  margin-bottom: 18px
}

.lead {
  color: var(--muted);
  font-size: 17px;
  /* max-width: 62ch */
}

.block {
  margin: 0 0 52px
}

.block h2 {
  font-family: var(--ff-disp);
  font-weight: 700;
  font-size: clamp(21px, 3.3vw, 30px);
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--line)
}

.block p {
  margin-bottom: 15px
}

.block.has-img {
  display: grid;
  grid-template-columns: 1.25fr .9fr;
  gap: 38px;
  align-items: center
}

.block.has-img h2 {
  border: none;
  padding: 0
}

.block-fig img {
  border-radius: var(--radius);
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  box-shadow: 0 18px 40px -24px rgba(0, 0, 0, .4)
}

@media(max-width:760px) {
  .block.has-img {
    grid-template-columns: 1fr;
    gap: 22px
  }
}

.faq-list {
  border-top: 1px solid var(--line)
}

.faq-item {
  border-bottom: 1px solid var(--line)
}

.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  color: var(--ink);
  padding: 20px 44px 20px 0;
  position: relative;
  display: block
}

.faq-mark {
  position: absolute;
  right: 6px;
  top: 50%;
  width: 14px;
  height: 14px;
  transform: translateY(-50%)
}

.faq-mark::before,
.faq-mark::after {
  content: "";
  position: absolute;
  background: var(--accent);
  transition: .3s
}

.faq-mark::before {
  top: 6px;
  left: 0;
  width: 14px;
  height: 2px
}

.faq-mark::after {
  top: 0;
  left: 6px;
  width: 2px;
  height: 14px
}

.faq-item.open .faq-mark::after {
  transform: scaleY(0)
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease
}

.faq-a p {
  padding: 0 0 20px;
  color: var(--muted)
}

.sitemap-page .sitemap-list {
  display: block;
  border-top: 1px solid var(--line)
}

.sitemap-list>li {
  border-bottom: 1px solid var(--line);
  padding: 22px 4px
}

.sitemap-list a {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px 14px;
  transition: .2s
}

.sitemap-list a:hover .sm-title {
  color: var(--accent)
}

.sitemap-list .sm-title {
  font-weight: 700;
  font-family: var(--ff-disp);
  font-size: 18px;
  transition: .2s
}

.sitemap-list small {
  color: var(--muted);
  font-size: 12px
}

.sitemap-list .sm-desc {
  color: var(--muted);
  font-size: 14.5px;
  margin-top: 8px;
  max-width: 74ch
}

.pager {
  margin-top: 8px;
  padding-top: 30px;
  border-top: 1px solid var(--line)
}

.pager ul {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap
}

.pager .pager-next {
  margin-left: auto
}

.pager a {
  display: inline-block;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 12px 22px;
  font-weight: 700;
  font-size: 14px;
  color: var(--accent);
  transition: .25s
}

.pager a:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent)
}

.site-footer {
  background: var(--foot-bg);
  color: var(--foot-fg);
  margin-top: 72px
}

.site-footer ul {
  list-style: none
}

.site-footer a {
  color: inherit;
  opacity: .82;
  transition: .2s
}

.site-footer a:hover {
  opacity: 1;
  color: var(--accent2)
}

.site-footer .ft-name {
  font-family: var(--ff-disp);
  font-weight: 700
}

.site-footer .ft-tag {
  opacity: .7;
  font-size: 14px
}

.site-footer .ft-addr {
  opacity: .6;
  font-size: 13px
}

.site-footer .ft-copy {
  font-size: 12px;
  opacity: .55
}

/* columns */
.ft-columns .ft-in {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 56px 24px 26px;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 34px
}

.ft-columns .ft-name {
  font-size: 20px;
  margin-bottom: 8px
}

.ft-columns .ft-addr {
  margin-top: 12px
}

.ft-columns .ft-nav ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px
}

.ft-columns .ft-copy {
  text-align: center;
  padding: 16px;
  border-top: 1px solid rgba(255, 255, 255, .12)
}

@media(max-width:760px) {
  .ft-columns .ft-in {
    grid-template-columns: 1fr;
    gap: 22px
  }
}

/* centered */
.ft-centered .ft-in {
  max-width: 760px;
  margin: 0 auto;
  padding: 60px 24px 24px;
  text-align: center
}

.ft-centered .ft-name {
  font-size: 26px;
  margin-bottom: 10px
}

.ft-centered .ft-tag {
  margin-bottom: 22px
}

.ft-centered .ft-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 22px;
  font-size: 14px;
  margin-bottom: 20px
}

.ft-centered .ft-addr {
  margin-bottom: 6px
}

.ft-centered .ft-copy {
  text-align: center;
  padding: 16px;
  border-top: 1px solid rgba(255, 255, 255, .12)
}

/* split */
.ft-split .ft-in {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 64px 24px 30px;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  align-items: flex-start
}

.ft-split .ft-brand {
  max-width: 46%
}

.ft-split .ft-name {
  font-size: 30px;
  margin-bottom: 10px
}

.ft-split .ft-addr {
  margin-top: 14px
}

.ft-split .ft-nav ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 30px;
  font-size: 14px;
  text-align: right
}

.ft-split .ft-copy {
  padding: 16px 24px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  max-width: var(--maxw);
  margin: 0 auto
}

@media(max-width:760px) {
  .ft-split .ft-brand {
    max-width: 100%
  }

  .ft-split .ft-nav ul {
    text-align: left
  }
}

/* inline */
.ft-inline {
  border-top: 3px solid var(--accent)
}

.ft-inline .ft-in {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap
}

.ft-inline .ft-name {
  font-size: 18px
}

.ft-inline .ft-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  font-size: 13.5px
}

/* bigtype */
.ft-bigtype .ft-in {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 64px 24px 34px
}

.ft-bigtype .ft-name {
  font-size: clamp(38px, 8vw, 82px);
  line-height: 1;
  letter-spacing: -.02em;
  margin-bottom: 12px
}

.ft-bigtype .ft-tag {
  margin-bottom: 24px
}

.ft-bigtype .ft-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  font-size: 14px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  margin-bottom: 16px
}

/* band */
.ft-band-top {
  background: var(--accent);
  color: var(--foot-bg)
}

.ft-band-top p {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 20px 24px;
  font-family: var(--ff-disp);
  font-weight: 700;
  font-size: clamp(16px, 2.6vw, 22px)
}

.ft-band .ft-in {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 40px 24px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap
}

.ft-band .ft-name {
  font-size: 20px
}

.ft-band .ft-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px
}

.ft-band .ft-nav a {
  display: inline-block;
  padding: 7px 14px;
  border-radius: 30px;
  background: rgba(255, 255, 255, .08);
  font-size: 13px;
  opacity: 1
}

.ft-band .ft-nav a:hover {
  background: var(--accent);
  color: var(--foot-bg)
}

.ft-band .ft-copy {
  text-align: center;
  padding: 14px
}

/* card */
.ft-card .ft-in {
  max-width: 760px;
  margin: 0 auto;
  padding: 54px 24px 18px
}

.ft-card-box {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 18px;
  padding: 34px 30px;
  text-align: center
}

.ft-card .ft-name {
  font-size: 22px;
  margin-bottom: 8px
}

.ft-card .ft-tag {
  margin-bottom: 20px
}

.ft-card .ft-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
  font-size: 14px
}

.ft-card .ft-copy {
  text-align: center;
  padding: 16px
}

/* stack2 */
.ft-stack2 .ft-row {
  border-bottom: 1px solid rgba(255, 255, 255, .12)
}

.ft-stack2 .ft-row ul {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 26px 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 26px;
  font-size: 14.5px
}

.ft-stack2 .ft-in {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap
}

.ft-stack2 .ft-name {
  font-size: 18px
}

/* rail */
.ft-rail .ft-in {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: 300px 1fr
}

.ft-rail .ft-rail-brand {
  background: rgba(255, 255, 255, .05);
  border-right: 3px solid var(--accent);
  padding: 46px 30px
}

.ft-rail .ft-name {
  font-size: 22px;
  margin-bottom: 10px
}

.ft-rail .ft-addr {
  margin-top: 14px
}

.ft-rail .ft-nav {
  padding: 46px 30px;
  display: flex;
  align-items: center
}

.ft-rail .ft-nav ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 24px;
  font-size: 14.5px
}

.ft-rail .ft-copy {
  text-align: center;
  padding: 16px;
  border-top: 1px solid rgba(255, 255, 255, .12)
}

@media(max-width:760px) {
  .ft-rail .ft-in {
    grid-template-columns: 1fr
  }

  .ft-rail .ft-rail-brand {
    border-right: none;
    border-bottom: 3px solid var(--accent)
  }
}

/* chips */
.ft-chips .ft-in {
  max-width: 820px;
  margin: 0 auto;
  padding: 56px 24px 20px;
  text-align: center
}

.ft-chips .ft-name {
  font-size: 22px;
  margin-bottom: 18px
}

.ft-chips .ft-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 18px
}

.ft-chips .ft-nav a {
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 30px;
  font-size: 13px;
  opacity: 1
}

.ft-chips .ft-nav a:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--foot-bg)
}

.ft-chips .ft-addr {
  font-size: 13px
}

.ft-chips .ft-copy {
  text-align: center;
  padding: 16px
}

.to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: .3s;
  z-index: 60;
  box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .5)
}

.to-top.show {
  opacity: 1;
  pointer-events: auto;
  transform: none
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .7s ease
}

.reveal.in {
  opacity: 1;
  transform: none
}

.burger {
  display: none;
  width: 42px;
  height: 42px;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 8px
}

.burger span {
  display: block;
  height: 2px;
  background: currentColor;
  transition: .3s
}

.burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg)
}

.burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0
}

.burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg)
}

.drawer {
  display: none
}


:root {
  --bg: #fff9f4;
  --ink: #3a2415;
  --accent: #e8611d;
  --accent2: #d99311;
  --soft: #fdeede;
  --line: #f3ddca;
  --muted: #8a6b54;
  --foot-bg: #3a2415;
  --foot-fg: #fbeede;
  --ff-disp: 'Zen Kaku Gothic New', sans-serif;
  --ff-body: 'Noto Sans JP', sans-serif;
  --maxw: 1100px;
  --radius: 14px;
}

.mini {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 249, 244, .96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  height: 60px
}

.mini .logo {
  font-family: var(--ff-disp);
  font-weight: 900;
  font-size: 20px;
  color: var(--accent)
}

.mini .logo b {
  color: var(--accent2)
}

.mininav ul {
  display: flex;
  gap: 26px
}

.mininav a {
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
  transition: .2s
}

.mininav a:hover,
.mininav a.is-active {
  color: var(--accent)
}

.shell {
  padding-top: 60px
}

.ed-hero {
  background: linear-gradient(120deg, var(--soft), #fff)
}

.ed-hero-in {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 64px 24px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
  align-items: center
}

.ed-hero .k {
  color: var(--accent2);
  font-weight: 800;
  letter-spacing: .12em;
  margin-bottom: 14px
}

.ed-hero h1 {
  font-family: var(--ff-disp);
  font-weight: 900;
  font-size: clamp(28px, 4.6vw, 46px);
  line-height: 1.5;
  margin-bottom: 18px;
  color: var(--ink)
}

.ed-hero h1 em {
  font-style: normal;
  color: var(--accent);
  border-bottom: 6px solid #f6c79a;
  padding-bottom: 2px
}

.ed-hero p {
  color: var(--muted);
  margin-bottom: 26px;
  line-height: 1.95
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 15px 32px;
  border-radius: 40px;
  font-weight: 800;
  font-size: 15px;
  transition: .25s
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 26px -14px var(--accent)
}

.ed-hero figure img {
  border-radius: var(--radius);
  aspect-ratio: 5/4;
  object-fit: cover;
  box-shadow: 0 28px 56px -32px rgba(58, 36, 21, .4)
}

.lesson {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 80px 24px;
  display: grid;
  grid-template-columns: 226px 1fr;
  gap: 52px;
  align-items: start
}

.toc {
  position: sticky;
  top: 84px
}

.toc-h {
  font-family: var(--ff-disp);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .08em;
  color: var(--muted);
  margin-bottom: 14px
}

.toc ul {
  border-left: 2px solid var(--line)
}

.toc a {
  display: block;
  padding: 9px 16px;
  font-size: 14px;
  color: var(--muted);
  margin-left: -2px;
  border-left: 2px solid transparent;
  transition: .2s
}

.toc a:hover {
  color: var(--accent)
}

.toc a.active {
  color: var(--accent);
  font-weight: 800;
  border-color: var(--accent)
}

.lesson-sec {
  margin-bottom: 54px;
  scroll-margin-top: 80px
}

.lesson-sec .step-badge {
  display: inline-block;
  background: var(--accent2);
  color: #fff;
  font-family: var(--ff-disp);
  font-weight: 800;
  font-size: 12px;
  padding: 4px 14px;
  border-radius: 30px;
  margin-bottom: 14px;
  letter-spacing: .04em
}

.lesson-sec h2 {
  font-family: var(--ff-disp);
  font-weight: 900;
  font-size: clamp(22px, 3.2vw, 30px);
  color: var(--ink);
  margin-bottom: 16px
}

.lesson-sec p {
  color: var(--muted);
  margin-bottom: 14px;
  line-height: 1.95
}

.lesson-sec figure img {
  border-radius: var(--radius);
  margin: 8px 0 6px;
  aspect-ratio: 16/9;
  object-fit: cover
}

.lesson-sec figcaption {
  font-size: 13px;
  color: var(--muted);
  text-align: center
}

@media(max-width:860px) {
  .mininav {
    display: none
  }

  .burger {
    display: flex;
    color: var(--accent)
  }

  .drawer.open {
    display: block;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line)
  }

  .drawer.open ul {
    flex-direction: column;
    padding: 8px 24px 16px
  }

  .drawer.open li {
    padding: 9px 0;
    border-top: 1px solid var(--line)
  }

  .ed-hero-in {
    grid-template-columns: 1fr;
    gap: 30px
  }

  .lesson {
    grid-template-columns: 1fr;
    gap: 28px
  }

  .toc {
    position: static;
    background: var(--soft);
    border-radius: var(--radius);
    padding: 18px
  }
}