@font-face {
  font-family: "Erva Esra";
  src: url("ErvaEsraDemoSemibold-Rpwle.ttf") format("truetype");
  font-display: swap;
}
@font-face {
  font-family: "Tulpen One";
  src: url("TulpenOne-Regular.ttf") format("truetype");
  font-display: swap;
}
@font-face {
  font-family: "Barlow";
  src: url("BarlowCondensed-SemiBold.ttf") format("truetype");
  font-display: swap;
}
@font-face {
  font-family: "Mochi";
  src: url("MochiyPopPOne-Regular.ttf") format("truetype");
  font-display: swap;
}
@font-face {
  font-family: "Japanese";
  src: url("WDXLLubrifontJPN-Regular.ttf") format("truetype");
  font-display: swap;
}
@font-face {
  font-family: "Chinese";
  src: url("WDXLLubrifontSC-Regular.ttf") format("truetype");
  font-display: swap;
}
* {
  box-sizing: border-box;
}
html[lang="ja"] .home-slogan {
  font-family: Japanese, Arial, Helvetica, sans-serif;
  width: 40%;
}
@media (max-width: 520px) {
  html[lang="ja"] .home-slogan {
    width: 45%;
  }
}
html[lang="zh-Hans"] .home-slogan {
  font-family: Chinese, Arial, Helvetica, sans-serif;
  width: 50%;
}
html {
  min-height: 100%;
  background: #f3eedf;
  color: #302e29;
  scroll-behavior: smooth;
  overflow-y: scroll;
}
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 17px;
  line-height: 1.34;
  background: radial-gradient(circle at 15% 8%, rgba(255, 255, 255, 0.34), transparent 25rem), #f3eedf;
}
body.modal-open {
  overflow: hidden;
}
.maintenance-preview-badge {
  position: fixed;
  z-index: 10000;
  top: 14px;
  right: 14px;
  width: 250px;
  padding: 10px 16px 9px;
  border: 3px solid #302e29;
  background: #c91622;
  color: #fff;
  box-shadow: 5px 5px 0 rgba(48, 46, 41, 0.32);
  transform: rotate(2deg);
  text-align: center;
  line-height: 1;
  letter-spacing: 0.08em;
  pointer-events: none;
}
.maintenance-preview-badge strong,
.maintenance-preview-badge span {
  display: block;
}
.maintenance-preview-badge strong {
  font-family: Arial Black, Arial, Helvetica, sans-serif;
  font-size: clamp(22px, 3vw, 36px);
}
.maintenance-preview-badge span {
  margin-top: 4px;
  font-family: Arial Black, Arial, Helvetica, sans-serif;
  font-size: clamp(9px, 1.1vw, 12px);
  letter-spacing: 0.18em;
}
a {
  color: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
.hidden {
  display: none !important;
}
.bold,
.strong {
  font-family: Arial Black, Arial, Helvetica, sans-serif;
  font-weight: 700;
}
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.multiline {
  white-space: normal;
}
.multiline-gap {
  display: block;
  height: 0.5lh;
}
.icon {
  width: 1em;
  height: 1em;
  stroke: currentColor;
  vertical-align: -0.15em;
}
.icon.large {
  width: 1.1em;
  height: 1.1em;
}
.icon.up {
  vertical-align: -0.03em;
}
.site-header,
.site-main,
.site-footer {
  width: 1180px;
  margin-inline: auto;
}
.site-header {
  padding: 24px 0 0 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
}
.site-footer .icon {
  height: 1em;
  width: auto;
  opacity: 0.9;
  margin-left: 10px;
  box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
  filter: brightness(0.97);
}
.site-logo {
  display: block;
}
.site-logo img {
  display: block;
  height: 100%;
  max-height: 200px;
  margin-left: -20px;
}
.site-header-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  align-self: stretch;
  justify-content: space-between;
  flex-grow: 1;
}
.language-selector {
  margin: 0 4px 13px 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 30px;
  letter-spacing: 0.13em;
}
.language-selector button {
  border: 0;
  padding: 2px 4px;
  color: inherit;
  letter-spacing: inherit;
  background: transparent;
  cursor: pointer;
  font-size: 30px;
  line-height: 1;
}
.language-selector button.active {
  display: none;
}
.language-selector button:first-child {
  font-family: Japanese;
}
.language-selector button:last-child {
  font-family: Chinese;
}
.language-selector button:focus-visible,
.language-selector button:hover {
  color: #302e29;
}
.site-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  margin-bottom: -12px;
}
.site-nav a {
  position: relative;
  display: flex;
  align-items: baseline;
  text-decoration: none;
  font-family: "Erva Esra", Georgia, serif;
  font-size: clamp(41px, 5vw, 67px);
  line-height: 0.91;
  white-space: nowrap;
}
.nav-marker {
  visibility: hidden;
  width: 0.5em;
  font-family: Arial Narrow, Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1.1em;
  line-height: 0.1em;
}
.site-nav a.active .nav-marker {
  visibility: visible;
}
.prod-view .site-nav a.active .nav-marker {
  visibility: hidden;
}
.site-main {
  flex: 1 0 auto;
  transition: opacity 120ms ease;
  margin-top: 0;
}
.site-main:focus {
  outline: 0;
}
.view-loading .site-main {
  opacity: 0.45;
  pointer-events: none;
}
.home-intro .home-slogan {
  margin: 0;
  font-family: Barlow, Georgia, serif;
  font-size: clamp(20px, 5vw, 48px);
  line-height: 0.98;
  text-transform: uppercase;
  letter-spacing: -1.9px;
}
.home-description {
  margin: 6rem 0 0;
  padding: 1.5rem 0 1.5rem 3rem;
  border-left: 10px solid #975d26;
}
.top-video {
  display: none;
  position: relative;
  margin: 6rem 0 0.75rem;
  overflow: hidden;
  background: #302e29;
  border: 30px solid #252729;
  border-radius: 5px;
}
.top-video video {
  display: block;
  width: 100%;
  height: auto;
}
.top-video-sound {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: grid;
  width: 42px;
  height: 42px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(48, 46, 41, 0.35);
  border-radius: 2px;
  background: rgba(243, 238, 223, 0.88);
  color: #302e29;
  cursor: pointer;
}
.top-video-sound:hover,
.top-video-sound:focus-visible {
  background: #f3eedf;
}
.top-video-sound:focus-visible {
  outline: 2px solid #96742b;
  outline-offset: 2px;
}
.top-video-sound .icon {
  display: block;
  width: 23px;
  height: 23px;
}
.top-video + .disclaimer {
  margin-top: 0;
}
.disclaimer {
  margin: 0;
}
.disclaimer .icon {
  opacity: 0.6;
}
.disclaimer p {
  margin: 0 0 0.75rem 0;
}
.disclaimer p:last-child {
  margin-bottom: 0;
}
.configuration-warning {
  padding: 12px 15px;
  border: 1px solid #96742b;
  color: #96742b;
}
.product-list {
  display: grid;
  gap: 6rem;
  margin-top: 6rem;
}
.back-link {
  display: inline-block;
  margin: 3rem 0 0;
  color: #96742b;
  font-family: "Erva Esra", Georgia, serif;
  text-decoration: none;
  text-align: center;
  font-size: 30px;
  text-transform: uppercase;
}
.mailing-list-signup {
  margin: 6rem 0 -3rem 0;
  text-align: center;
}
.mailing-list-prompt {
  margin: 0 0 14px;
  font-family: Arial Black, Arial, Helvetica, sans-serif;
  font-size: 18px;
}
.mailing-list-form {
  position: relative;
  max-width: 350px;
  margin: auto;
}
.mailing-list-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0;
}
.mailing-list-email input,
.mailing-list-fields button {
  min-height: 46px;
  border: 1px solid #302e29;
  font: 16px/1.2 Arial, Helvetica, sans-serif;
}
.mailing-list-email input {
  width: 100%;
  padding: 10px 13px;
  color: #302e29;
  background: rgba(255, 255, 255, 0.24);
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
}
.mailing-list-email input:focus {
  outline: 2px solid #96742b;
  outline-offset: 2px;
}
.mailing-list-fields button {
  padding: 5px 17px;
  color: #f3eedf;
  font-family: Arial Black, Arial, Helvetica, sans-serif;
  font-size: 13px;
  background: #302e29;
  cursor: pointer;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
}
.mailing-list-fields button img {
  filter: invert(1);
}
.mailing-list-fields button:hover,
.mailing-list-fields button:focus-visible {
  background: #3e3b35;
}
.mailing-list-fields button:disabled {
  opacity: 0.55;
  cursor: wait;
}
.mailing-list-result {
  margin: 9px 0 0;
  color: #96742b;
  font-size: 13px;
  line-height: 1.35;
}
.mailing-list-result:empty {
  display: none;
}
.mailing-list-form.has-error .mailing-list-result {
  color: #a92520;
}
.mailing-list-form.is-complete .mailing-list-result {
  font-weight: 700;
}
.mailing-list-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}
.mailing-list-order-form {
  max-width: none;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(48, 46, 41, 0.24);
}
.mailing-list-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #777164;
  font-size: 14px;
  line-height: 1.4;
  cursor: pointer;
}
.mailing-list-consent input {
  flex: none;
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: #302e29;
}
.mailing-list-order-form.is-complete .mailing-list-consent {
  opacity: 0.65;
  cursor: default;
}
.product {
  scroll-margin-top: 28px;
}
.product > h2,
.product > h1,
.about-page h1,
.about-page h2,
.help-page h1,
.status-page h1,
.download-page h1 {
  margin: 0 0 20px;
  font-family: "Erva Esra", Georgia, serif;
  font-size: clamp(46px, 5.7vw, 74px);
  font-weight: 600;
  line-height: 0.9;
}
.product > h2,
.product > h1 {
  margin: 0 0 10px;
  font-size: clamp(46px, 5.7vw, 54px);
}
.product > h2 a,
.product > h1 a {
  text-decoration: none;
}
.product-nav-marker {
  display: inline-block;
  visibility: visible;
}
.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(340px, 0.94fr);
  gap: 34px;
}
.product-media,
.product-information {
  min-width: 0;
}
.product-media p.buy-msg,
.product-information p.buy-msg {
  font-size: 2em;
  opacity: 0.45;
}
.product-screenshot {
  display: block;
  width: 100%;
  border-radius: 5px;
  border: 1px solid rgba(48, 46, 41, 0.14);
  box-shadow: 0 5px 11px rgba(48, 46, 41, 0.16);
  background: #fbf7eb;
}
.video-thumbnails {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 19px;
  margin-top: 19px;
}
.video-thumbnail-placeholder {
  aspect-ratio: 16 / 8.4;
  min-height: 0;
  background: rgba(48, 46, 41, 0.055);
}
.video-thumbnail {
  position: relative;
  aspect-ratio: 16 / 8.4;
  min-height: 0;
  overflow: hidden;
  border: 0;
  border-radius: 5px;
  padding: 0;
  box-shadow: 0 5px 11px rgba(48, 46, 41, 0.16);
  outline: 3px solid transparent;
  outline-offset: 3px;
  cursor: pointer;
  transition: box-shadow 180ms ease, outline-color 180ms ease;
}
.video-thumbnail-image {
  position: absolute;
  z-index: 0;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 180ms ease;
}
.video-thumbnail:nth-child(2) {
  background-color: #96742b;
}
.video-thumbnail:nth-child(3) {
  background-color: #d9d0b9;
}
.video-thumbnail:hover,
.video-thumbnail:focus-visible {
  box-shadow: 0 7px 15px rgba(48, 46, 41, 0.24);
  outline-color: #96742b;
}
.video-thumbnail:hover .video-thumbnail-image,
.video-thumbnail:focus-visible .video-thumbnail-image {
  filter: brightness(1.05);
}
.video-play {
  position: absolute;
  z-index: 2;
  inset: 50% auto auto 50%;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: rgba(243, 238, 223, 0.9);
  box-shadow: 0 4px 10px rgba(48, 46, 41, 0.36);
  translate: -50% -50%;
  scale: 1;
  transition: box-shadow 180ms ease, scale 180ms ease;
}
.video-thumbnail:hover .video-play,
.video-thumbnail:focus-visible .video-play {
  box-shadow: 0 5px 14px rgba(48, 46, 41, 0.44);
  scale: 1.18;
}
.video-play .icon {
  width: 18px;
  height: 18px;
  margin-left: 2px;
}
.product-information {
  display: flex;
  flex-direction: column;
}
.product-information .product-copy a {
  color: #96742b;
  text-decoration: none;
}
.product-information .product-copy a:hover {
  text-decoration: underline;
}
.product-information .product-copy p {
  margin: 0 0 12px;
}
.product-information .product-copy .product-platform {
  gap: 0;
  color: #302e29;
  padding-bottom: 0;
  margin-bottom: 0.2rem;
}
.product-information .product-copy .product-documents {
  color: #777164;
  font-size: 14px;
}
.product-information .product-copy .product-documents > div {
  margin: 0;
  padding: 0;
  color: #777164;
}
.product-information .product-copy .product-description {
  margin-bottom: 2px;
  font-family: Arial Black, Arial, Helvetica, sans-serif;
}
.purchase-summary {
  margin-top: auto;
  padding-top: 10px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.purchase-summary p {
  margin: 3px 0 0 5px;
  color: #777164;
  font-size: 14px;
  line-height: 1.2;
}
.purchase-summary .terms-trigger {
  color: #96742b;
}
.product-price {
  flex: none;
  font-family: Arial Black, Arial, Helvetica, sans-serif;
  font-size: 42px;
  line-height: 1;
  letter-spacing: -0.05em;
}
.payment-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px;
  margin-top: 18px;
  align-items: start;
}
.payment-buttons button {
  background: #f00 !important;
}
.payment-buttons.free-download {
  grid-template-columns: 1fr;
}
.free-download-button {
  width: 100%;
}
.paypal-column {
  min-width: 0;
}
.paypal-button {
  min-height: 45px;
}
.paypal-wordmark {
  margin-top: 4px;
  text-align: center;
  color: #18345b;
  font-size: 13px;
  font-weight: 800;
  font-style: italic;
}
.paypal-wordmark em {
  color: #1789c9;
  font-style: inherit;
}
.stripe-button {
  min-height: 45px;
  padding: 0 14px;
  border: 1px solid #302e29;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f3eedf;
  text-align: center;
  text-decoration: none;
  font-family: Arial Black, Arial, Helvetica, sans-serif;
  font-size: 17px;
  background: #302e29;
}
.stripe-button:hover,
.stripe-button:focus-visible {
  background: #3e3b35;
}
.stripe-button.disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.payment-methods {
  margin: 9px 0 0;
  color: #777164;
  font-size: 14px;
  line-height: 1.25;
}
.checkout-result {
  color: #96742b;
  font-weight: 700;
  font-size: 13px;
  display: none;
}
.checkout-error-page {
  width: 100%;
  max-width: 920px;
}
.checkout-error-page h1 {
  color: #a92520;
}
.checkout-error-banner {
  border: 4px solid #a92520;
  padding: clamp(24px, 5vw, 50px);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(18px, 4vw, 34px);
  color: #f3eedf;
  background: #302e29;
  box-shadow: 8px 8px 0 rgba(169, 37, 32, 0.22);
}
.checkout-error-icon {
  width: 62px;
  height: 62px;
  border: 3px solid currentColor;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #f05b50;
  font-family: Arial Black, Arial, Helvetica, sans-serif;
  font-size: 40px;
  line-height: 1;
}
.checkout-error-message {
  margin: 0;
  font-family: Arial Black, Arial, Helvetica, sans-serif;
  font-size: clamp(18px, 2.6vw, 25px);
  line-height: 1.3;
}
.show-on-prod-view {
  display: none;
}
.prod-view .show-on-prod-view {
  display: block;
}
.prod-view .hide-on-prod-view {
  display: none !important;
}
.help-page,
.about-page,
.status-page,
.download-page {
  margin: 6rem 0 0;
}
.about-page {
  font-size: 19px;
}
.about-page .about-profile {
  display: grid;
  grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
  align-items: start;
  gap: 24px;
}
.about-page .about-img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
}
.about-page .about-img img {
  margin-bottom: 0.75rem;
}
.about-page .about-copy {
  min-width: 0;
}
.about-page .ad {
  margin: 3rem 0 0;
  padding: 15px 20px;
  background: #ece4cc;
}
.about-page .ad img {
  margin: 0 5px -4px 0;
}
.about-page .ad p {
  margin-top: 0;
  margin-bottom: 10px;
}
.about-page .ad p:last-child {
  margin-bottom: 0;
}
.about-page .sns {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 20px;
  color: #777164;
}
.about-page .sns .sns-label {
  flex-basis: 100%;
}
.about-page .sns a {
  display: inline-flex;
}
.about-page .sns img {
  height: 32px;
  margin: 0;
  opacity: 0.7;
}
.about-page .sns img:hover {
  opacity: 1;
}
.about-intro {
  font-family: Arial Black, Arial, Helvetica, sans-serif;
  font-size: 25px;
}
.about-page p {
  margin: 0 0 1em;
}
.text-link {
  display: inline-block;
  margin-top: 30px;
  color: #96742b;
  font-family: "Erva Esra", Georgia, serif;
  font-size: 36px;
  text-decoration: none;
}
.text-link:hover,
.text-link:focus-visible {
  color: #302e29;
}
.help-intro {
  margin: 0 0 35px;
  font-size: 19px;
}
.help-list {
  border-top: 1px solid rgba(48, 46, 41, 0.24);
}
.help-item {
  border-bottom: 1px solid rgba(48, 46, 41, 0.24);
}
.help-item summary {
  position: relative;
  padding: 21px 42px 21px 0;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 9px;
  font-family: Arial Black, Arial, Helvetica, sans-serif;
  cursor: pointer;
  list-style: none;
}
.help-item summary::-webkit-details-marker {
  display: none;
}
.help-item summary::after {
  content: "+";
  position: absolute;
  top: 16px;
  right: 6px;
  color: #96742b;
  font: 28px/1 Arial, Helvetica, sans-serif;
}
.help-item[open] summary::after {
  content: "−";
}
.help-item summary > span:not(.dark),
.help-answer > strong {
  color: #96742b;
}
.help-answer {
  padding: 0 42px 23px 0;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 9px;
}
.help-answer p {
  margin: 0;
}
.status-card,
.version-card,
.compatibility-note {
  border: 1px solid rgba(48, 46, 41, 0.24);
  padding: 22px;
  background: rgba(255, 255, 255, 0.18);
}
.status-card p:first-child,
.version-card h2 {
  margin-top: 0;
}
.primary-link {
  display: inline-block;
  margin: 14px 0;
  padding: 12px 18px;
  color: #f3eedf;
  text-decoration: none;
  font-family: Arial Black, Arial, Helvetica, sans-serif;
  background: #302e29;
}
.primary-link:hover,
.primary-link:focus-visible {
  color: #302e29;
  outline: 1px solid #302e29;
  background: transparent;
}
.order-details {
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 7px 20px;
  font-size: 13px;
}
.order-details dt {
  font-weight: 700;
}
.order-details dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.versions {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}
.version-card h2 {
  font-family: Arial Black, Arial, Helvetica, sans-serif;
  font-size: 18px;
}
.version-card ul {
  padding-left: 1.2em;
}
.compatibility-note {
  border-color: #96742b;
}
.site-footer {
  margin: 6rem auto 0 auto;
  padding: 24px 0 34px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid rgba(48, 46, 41, 0.24);
  color: #777164;
  font-size: 14px;
}
.site-footer p {
  margin: 0;
}
.site-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
}
.site-footer-copyright {
  margin-left: auto;
  text-align: right;
}
.site-footer a,
.site-footer .terms-trigger {
  color: inherit;
}
.site-footer a:hover,
.site-footer a:focus-visible,
.site-footer .terms-trigger:hover,
.site-footer .terms-trigger:focus-visible {
  color: #302e29;
}
.video-modal[hidden] {
  display: none;
}
.terms-modal[hidden],
.document-modal[hidden] {
  display: none;
}
.video-modal,
.terms-modal,
.document-modal {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
}
.video-modal-backdrop,
.terms-modal-backdrop,
.document-modal-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(21, 20, 18, 0.87);
}
.video-modal-dialog,
.terms-modal-dialog,
.document-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(960px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  color: #302e29;
  background: #f3eedf;
}
.video-modal-dialog {
  width: min(1100px, 100%);
}
.video-modal-dialog header,
.terms-modal-dialog header,
.document-modal-dialog header {
  padding: 13px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.video-modal-dialog h2 {
  margin: 0;
  font-family: Arial Black, Arial, Helvetica, sans-serif;
  font-size: 17px;
}
.video-modal-close,
.terms-modal-close,
.document-modal-close {
  border: 0;
  padding: 0;
  color: inherit;
  font-size: 32px;
  line-height: 1;
  background: transparent;
  cursor: pointer;
}
.video-modal-content {
  min-height: 220px;
  display: grid;
  place-items: center;
  background: #302e29;
}
.video-modal-content iframe,
.video-modal-content video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}
.video-modal-message {
  padding: 70px 24px;
  color: #f3eedf;
  text-align: center;
}
.terms-modal-dialog {
  width: min(760px, 100%);
}
.terms-modal-dialog header,
.document-modal-dialog header {
  padding: 19px 24px 14px;
  border-bottom: 1px solid rgba(48, 46, 41, 0.24);
}
.terms-modal-dialog h2,
.document-modal-dialog h2 {
  margin: 0;
  font-family: "Erva Esra", Georgia, serif;
  font-size: 43px;
  line-height: 0.9;
}
.terms-modal-content {
  padding: 22px 24px 28px;
  font-size: 16px;
}
.terms-modal-content p {
  margin: 0 0 1em;
}
.terms-modal-content p:last-child {
  margin-bottom: 0;
}
.document-modal-dialog {
  width: min(920px, 100%);
}
.document-modal-content {
  min-height: 240px;
  margin: 0;
  padding: 24px;
  overflow: auto;
  color: #302e29;
  font: 14px/1.55 Cousine, Consolas, "Liberation Mono", monospace;
  tab-size: 4;
  white-space: pre;
  overflow-wrap: normal;
  word-break: normal;
  background: #fbf7eb;
}
.txt-btn,
.link-btn,
.terms-trigger {
  appearance: none;
  border: 0;
  padding: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  line-height: inherit;
  text-decoration: underline;
  cursor: pointer;
  color: #96742b;
}
.txt-btn {
  text-decoration: none;
  font-family: Arial, Helvetica, sans-serif;
}
html[lang="ja"] body {
  line-height: 1.55;
}
@media (max-width: 1220px) {
  .site-header,
  .site-main,
  .site-footer {
    width: 95%;
  }
}
@media (max-width: 820px) {
  .site-header {
    min-height: 0;
    padding: 24px 0 0 0;
    gap: 18px;
  }
  .language-selector {
    margin-top: -20px;
  }
  .language-selector button {
    font-size: 17px;
  }
  .home-intro .home-slogan {
    margin: -5px 0 0;
  }
  .prod-view .site-header {
    min-height: 0;
  }
  .site-logo {
    width: min(280px, 48vw);
  }
  .site-logo img {
    width: 100%;
    height: auto;
    margin-left: -7px;
  }
  .site-nav {
    margin-bottom: 0;
  }
  .site-nav a {
    font-size: clamp(28px, 7vw, 48px);
  }
  .top-video {
    margin-bottom: 0.75rem;
  }
  .home-intro {
    margin: 0 0 3rem;
  }
  .home-description {
    font-size: 16px;
    padding: 0.75rem 0 0.75rem 1.5rem;
    border-left: 7px solid #975d26;
  }
  .product-list {
    gap: 6rem;
    margin-top: 6rem;
  }
  .product-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .product-information {
    gap: 10px;
  }
  .purchase-summary {
    margin-top: 5px;
  }
  .checkout-error-banner {
    grid-template-columns: 1fr;
  }
  .about-page {
    font-size: 17px;
  }
  .about-page .about-profile {
    grid-template-columns: minmax(180px, 230px) minmax(0, 1fr);
    gap: 18px;
  }
  .about-page .ad {
    margin-top: 20px;
  }
  .about-intro {
    font-size: 22px;
  }
  .site-footer {
    margin: 6rem auto 0 auto;
  }
  .video-modal,
  .terms-modal,
  .document-modal {
    padding: 14px;
  }
  .video-modal-dialog,
  .terms-modal-dialog,
  .document-modal-dialog {
    max-height: calc(100svh - 28px);
  }
}
@media (max-width: 620px) {
  .about-page .about-profile {
    grid-template-columns: 1fr;
  }
  .about-page .about-img {
    width: min(100%, 280px);
  }
}
@media (max-width: 520px) {
  body {
    font-size: 15px;
  }
  .site-header,
  .site-main,
  .site-footer {
    width: calc(100% - 20px);
  }
  .site-header {
    min-height: 0;
    padding: 10px 0 0 0;
    gap: 10px;
  }
  .site-logo {
    width: min(170px, 44vw);
  }
  .site-logo img {
    margin-left: -4px;
  }
  .language-selector {
    margin: -6px 0 12px;
    font-size: 2em;
    letter-spacing: 0.08em;
    line-height: 0.5;
  }
  .language-selector button {
    font-size: 14px;
  }
  .site-nav a {
    font-size: clamp(21px, 7.2vw, 34px);
  }
  .home-intro {
    margin-bottom: 3rem;
  }
  .disclaimer {
    margin: 3rem 0;
  }
  .top-video {
    margin: 0 0 0.75rem;
    border-width: 8px;
    display: none;
  }
  .top-video-sound {
    right: 6px;
    bottom: 6px;
    width: 36px;
    height: 36px;
  }
  .product-list {
    gap: 6rem;
  }
  .mailing-list-signup {
    margin: 6rem 0 -3rem 0;
  }
  .mailing-list-prompt {
    font-size: 16px;
  }
  .mailing-list-fields button {
    width: auto;
  }
  .product > h2,
  .product > h1 {
    font-size: 40px;
  }
  .about-page h1,
  .about-page h2,
  .help-page h1,
  .status-page h1,
  .download-page h1 {
    font-size: 42px;
  }
  .product-layout {
    gap: 18px;
  }
  .video-thumbnails {
    gap: 8px;
    margin-top: 8px;
  }
  .video-thumbnail {
    min-height: 0;
  }
  .video-play {
    width: 28px;
    height: 28px;
  }
  .video-play .icon {
    width: 15px;
    height: 15px;
  }
  .purchase-summary {
    align-items: flex-start;
    gap: 10px;
  }
  .product-price {
    font-size: 40px;
  }
  .purchase-summary p,
  .payment-methods {
    font-size: 13px;
  }
  .payment-buttons {
    grid-template-columns: 1fr;
    margin-top: 14px;
  }
  .order-details {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  .order-details dd {
    margin-bottom: 8px;
  }
  .site-footer {
    margin: 6rem auto 0 auto;
    padding: 18px 0 24px;
    gap: 12px;
  }
  .site-footer-links {
    gap: 6px 14px;
  }
  .checkout-error-banner {
    padding: 18px;
    gap: 16px;
    box-shadow: 4px 4px 0 rgba(169, 37, 32, 0.22);
  }
  .status-card,
  .version-card,
  .compatibility-note {
    padding: 16px;
  }
  .help-intro {
    margin-bottom: 24px;
    font-size: 16px;
  }
  .help-item summary {
    padding: 17px 34px 17px 0;
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 6px;
  }
  .help-answer {
    padding: 0 34px 18px 0;
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 6px;
  }
  .video-modal,
  .terms-modal,
  .document-modal {
    padding: 8px;
  }
  .video-modal-dialog,
  .terms-modal-dialog,
  .document-modal-dialog {
    max-height: calc(100svh - 16px);
  }
  .terms-modal-dialog header,
  .document-modal-dialog header {
    padding: 14px 16px 11px;
  }
  .terms-modal-dialog h2,
  .document-modal-dialog h2 {
    font-size: 35px;
  }
  .terms-modal-content,
  .document-modal-content {
    padding: 16px;
  }
  .about-page .ad {
    padding: 14px;
  }
  .about-page .sns {
    gap: 9px 18px;
  }
  .about-page .sns img {
    max-height: 32px;
  }
}
@media (max-width: 400px) {
  .product-platform {
    grid-template-columns: 1fr;
  }
}
