@font-face {
  font-family: 'Noto Sans JP';
  src: url('/assets/fonts/NotoSansJP.woff2') format('woff2');
  font-display: swap;
  font-weight: 100 900;
}
:root {
  --green: #1b4031;
  --orange: #ee632a;
  --cream: #fffaf4;
  --line: #d9dcd1;
  font: 16px/1.65 'Noto Sans JP', 'Hiragino Sans', Meiryo, sans-serif;
  color: var(--green);
  background: var(--cream);
}
* { box-sizing: border-box; }
body, h1, h2, p { margin: 0; }
a { color: inherit; text-underline-offset: .24em; }
a:focus-visible { outline: 3px solid #a8390e; outline-offset: 4px; }
.wrap { width: min(1176px, calc(100% - 48px)); margin: 0 auto; }
.skip { position: absolute; left: .6rem; top: -5rem; z-index: 5; color: white; background: var(--green); padding: .65rem 1rem; }
.skip:focus { top: .5rem; }
.site-head { border-bottom: 1px solid var(--line); background: #fffefb; }
.head-inner, .foot-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.head-inner { min-height: 70px; }
.brand { display: inline-flex; align-items: center; gap: .4rem; font: 900 30px/1 Arial, sans-serif; letter-spacing: -.08em; text-decoration: none; }
.dot { color: var(--orange); }
nav { display: flex; flex-wrap: wrap; gap: clamp(.8rem,3vw,1.8rem); font-size: .88rem; font-weight: 650; }
nav a { text-decoration: none; }
nav a:hover { text-decoration: underline; }
.intro { margin: clamp(2.2rem,6vw,5.4rem) 0 clamp(1.7rem,3vw,2.8rem); }
.intro h1 { font-size: clamp(2.5rem,5.4vw,4.7rem); line-height: 1.12; letter-spacing: -.065em; font-weight: 900; }
.intro p { margin-top: 1rem; color: #526155; }
.tiers { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.tier { display: flex; flex-direction: column; padding: clamp(18px,2.2vw,30px); border: 1px solid var(--line); border-radius: 20px; background: #fffefa; }
.research { background: #fff0df; border-color: #f3c59e; }
.studio { background: var(--green); border-color: var(--green); color: #fff9ea; }
.tier-top { display: flex; justify-content: space-between; align-items: center; gap: .65rem; }
.tier-top h2 { font: 800 clamp(1.45rem,2.5vw,2.05rem)/1.15 Arial,sans-serif; letter-spacing: -.05em; }
.status { flex-shrink: 0; font-size: .73rem; font-weight: 650; border: 1px solid currentColor; padding: .12rem .58rem; border-radius: 4rem; }
.studio .status { color: #e4ead8; }
.purpose { margin-top: .32rem; font-size: .91rem; }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: .22rem; margin-top: 1.8rem; line-height: 1.08; font-size: 1.15rem; font-weight: 730; }
.price strong { font: 800 clamp(3rem,4.7vw,4.5rem)/1 Arial,sans-serif; letter-spacing: -.07em; }
.price span { font: 500 .8rem/1.4 'Noto Sans JP', sans-serif; }
.term { margin-top: .45rem; font-size: .86rem; font-weight: 650; }
.tier ul { list-style-type: none; margin: 1.5rem 0; padding: .9rem 0 0; border-top: 1px solid var(--line); }
.research ul { border-color: #ddc5ae; }
.studio ul { border-color: #536e5e; }
.tier li { position: relative; padding-left: .92rem; margin: .65rem 0; font-size: .91rem; line-height: 1.7; }
.tier li::before { content: ''; position: absolute; top: .72em; left: .05rem; width: .32rem; height: .32rem; background: currentColor; border-radius: 50%; }
.tier li strong { font-weight: 760; }
.action { display: block; text-align: center; margin-top: auto; padding: .73rem .4rem; border-radius: 9px; color: white; background: var(--green); text-decoration: none; font-size: .87rem; font-weight: 700; }
.research .action { color: #32190b; background: #ff914f; }
.studio .action { background: #f4f7df; color: var(--green); }
.action:hover { text-decoration: underline; }
.availability { max-width: 50rem; margin: clamp(1.8rem,4vw,3rem) 0; }
.availability h2 { font-size: 1.05rem; margin-bottom: .35rem; }
.availability p + p { margin-top: .6rem; }
.availability p, footer { font-size: .86rem; color: #526155; }
footer { border-top: 1px solid var(--line); }
.foot-inner { min-height: 68px; }
@media (min-width: 701px) and (max-width: 930px) {
  .tiers { gap: 10px; }
  .tier { padding: 15px; }
  .wrap { width: calc(100% - 32px); }
  .tier-top { align-items: flex-start; flex-direction: column-reverse; }
}
@media (max-width: 700px) {
  .tiers { grid-template-columns: 1fr; }
  .wrap { width: calc(100% - 32px); }
  .head-inner { min-height: 60px; }
  nav { font-size: .8rem; }
  .brand { font-size: 25px; }
  .brand img { width: 26px; height: auto; }
  .tier { padding: 22px; }
  .price { margin-top: 1.15rem; }
  .intro br { display: none; }
  .foot-inner { flex-wrap: wrap; justify-content: flex-start; padding: .9rem 0; }
}

[hidden] { display: none !important; }
button { font-family: inherit; cursor: pointer; }
button:focus-visible { outline: 3px solid #a8390e; outline-offset: 4px; }
button:disabled { opacity: .65; cursor: wait; }
.card-actions { display: grid; gap: .65rem; margin-top: auto; }
.card-actions .action { width: 100%; margin: 0; border: 0; font-family: inherit; line-height: 1.65; }
.action + .extra-action { text-align: center; color: inherit; font-size: .82rem; text-decoration: underline; }
button.extra-action { border: 0; padding: .3rem; background: transparent; font-family: inherit; }
.account-controls { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin: -1rem 0 1.4rem; border: 1px solid var(--line); border-radius: 12px; background: #fffefa; padding: .8rem 1rem; }
.account-controls p { color: #526155; font-size: .85rem; overflow-wrap: anywhere; }
.sub-action { background: transparent; border: 1px solid var(--green); padding: .48rem .8rem; color: var(--green); border-radius: 2rem; font-weight: 650; }
.feedback:empty, .availability p:empty, .account-controls p:empty { display: none; }
.feedback:not(:empty) { margin: 0 0 1.1rem; padding: .72rem .95rem; border: 1px solid #e8bf9d; border-radius: 8px; font-size: .91rem; }
