:root {
  --navy: #183153;
  --blue: #2f77b7;
  --blue-dark: #155d99;
  --blue-light: #e8f5ff;
  --coral: #ef694f;
  --coral-dark: #cb4938;
  --cream: #fffaf0;
  --paper: #fffefa;
  --line: #d7e4ed;
  --muted: #526170;
  --shadow: 0 10px 30px rgba(24, 49, 83, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--navy);
  background:
    radial-gradient(circle at 12px 12px, rgba(47, 119, 183, 0.08) 1.5px, transparent 1.5px) 0 0 / 24px 24px,
    var(--cream);
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  font-size: 18px;
  line-height: 1.85;
  -webkit-text-size-adjust: 100%;
}

a {
  color: var(--blue-dark);
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--coral-dark);
}

a:focus-visible,
summary:focus-visible {
  outline: 4px solid #ffcc52;
  outline-offset: 4px;
}

img {
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.header-inner,
.nav-inner,
.page-main,
.footer-inner {
  width: min(1080px, calc(100% - 32px));
  margin-inline: auto;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 254, 250, 0.97);
}

.header-inner {
  min-height: 106px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: var(--navy);
  text-decoration: none;
}

.brand img {
  width: 76px;
  flex: 0 0 auto;
}

.brand-name {
  display: block;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.02em;
}

.brand-note {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}

.header-contact {
  flex: 0 0 auto;
  padding: 10px 18px;
  border: 2px solid var(--blue);
  border-radius: 999px;
  background: #fff;
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
}

.site-nav {
  border-top: 1px solid #edf2f5;
  background: #fff;
}

.nav-inner {
  display: flex;
  justify-content: center;
  gap: 4px;
  padding: 8px 0;
}

.nav-inner a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 7px 18px;
  border-radius: 10px;
  color: var(--navy);
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
}

.nav-inner a:hover {
  color: var(--blue-dark);
  background: var(--blue-light);
}

.page-main {
  padding: 42px 0 72px;
}

.hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(250px, 0.75fr);
  align-items: center;
  gap: 34px;
  padding: clamp(34px, 6vw, 68px);
  border: 1px solid #cfe2ef;
  border-radius: 30px;
  background: linear-gradient(135deg, #fafdff 0%, #edf8ff 55%, #fff3ed 100%);
  box-shadow: var(--shadow);
}

.hero::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -95px;
  width: 260px;
  height: 260px;
  border: 38px solid rgba(239, 105, 79, 0.1);
  border-radius: 50%;
  pointer-events: none;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 12px;
  padding: 4px 14px;
  border-radius: 999px;
  color: #a53d2f;
  background: #ffe8df;
  font-size: 16px;
  font-weight: 800;
}

.hero h1 {
  margin-bottom: 18px;
  font-size: clamp(32px, 5vw, 50px);
  line-height: 1.35;
  letter-spacing: 0.02em;
}

.hero h1 span {
  color: var(--coral-dark);
}

.hero-copy {
  margin-bottom: 26px;
  color: #33475b;
  font-size: clamp(19px, 2.2vw, 23px);
  line-height: 1.8;
}

.hero-art {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
}

.hero-art img {
  width: min(100%, 310px);
  filter: drop-shadow(0 12px 14px rgba(24, 49, 83, 0.14));
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 12px 26px;
  border: 2px solid var(--coral-dark);
  border-radius: 14px;
  color: #fff;
  background: var(--coral);
  box-shadow: 0 5px 0 var(--coral-dark);
  font-size: 20px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.button:hover {
  color: #fff;
  transform: translateY(2px);
  box-shadow: 0 3px 0 var(--coral-dark);
}

.button-secondary {
  border-color: #b8d3e5;
  color: var(--navy);
  background: #fff;
  box-shadow: 0 5px 0 #b8d3e5;
}

.button-secondary:hover {
  color: var(--navy);
  box-shadow: 0 3px 0 #b8d3e5;
}

.section-panel,
.content-card {
  margin-top: 38px;
  padding: clamp(28px, 5vw, 48px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.section-heading {
  margin-bottom: 26px;
  text-align: center;
  font-size: clamp(27px, 4vw, 38px);
  line-height: 1.4;
}

.section-heading::after {
  content: "";
  display: block;
  width: 72px;
  height: 5px;
  margin: 13px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--coral));
}

.features,
.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.feature {
  padding: 26px;
  border-radius: 18px;
  background: var(--blue-light);
}

.feature:nth-child(2) {
  background: #fff0e9;
}

.feature-icon {
  display: grid;
  width: 54px;
  height: 54px;
  margin-bottom: 14px;
  place-items: center;
  border-radius: 16px;
  color: #fff;
  background: var(--blue);
  font-size: 28px;
}

.feature:nth-child(2) .feature-icon {
  background: var(--coral);
}

.feature h3 {
  margin-bottom: 9px;
  font-size: 23px;
  line-height: 1.5;
}

.feature p {
  margin-bottom: 0;
}

.count-note {
  margin: 28px 0 0;
  padding: 18px;
  border: 2px dashed #efb8a9;
  border-radius: 14px;
  background: #fffaf7;
  text-align: center;
  font-size: 20px;
}

.count-note strong {
  color: var(--coral-dark);
  font-size: 1.15em;
}

.menu-grid {
  gap: 16px;
}

.menu-link {
  display: flex;
  align-items: center;
  gap: 15px;
  min-height: 86px;
  padding: 18px 20px;
  border: 2px solid #cfdfeb;
  border-radius: 16px;
  color: var(--navy);
  background: #fff;
  font-size: 21px;
  font-weight: 800;
  text-decoration: none;
}

.menu-link:hover {
  border-color: var(--coral);
  background: #fff8f4;
}

.menu-icon {
  display: grid;
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  background: var(--blue-light);
  font-size: 25px;
}

.news-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.news-item {
  display: grid;
  grid-template-columns: 8.5em minmax(0, 1fr);
  gap: 18px;
  padding: 18px 20px;
  border-left: 5px solid var(--blue);
  border-radius: 0 12px 12px 0;
  background: #f7fbfe;
}

.news-item time {
  color: var(--muted);
  font-weight: 700;
}

.news-item p {
  margin: 0;
}

details {
  margin-top: 16px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

summary {
  cursor: pointer;
  color: var(--blue-dark);
  font-size: 18px;
  font-weight: 800;
}

.apology,
.notice-box {
  margin: 24px 0 0;
  padding: 18px 20px;
  border-radius: 14px;
  background: #fff5d9;
}

.apology strong,
.notice-box strong {
  color: #8a5510;
}

.page-title {
  padding: clamp(32px, 5vw, 52px);
  border: 1px solid #cfe2ef;
  border-radius: 26px;
  background: linear-gradient(135deg, #fafdff 0%, #edf8ff 65%, #fff3ed 100%);
  box-shadow: var(--shadow);
}

.page-title h1 {
  margin: 0 0 10px;
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.4;
}

.page-title p:last-child {
  margin-bottom: 0;
  color: #33475b;
  font-size: 20px;
}

.content-card:first-child {
  margin-top: 0;
}

.content-card h2 {
  margin: 34px 0 14px;
  padding-bottom: 8px;
  border-bottom: 3px solid #dbeaf4;
  font-size: clamp(24px, 3vw, 30px);
  line-height: 1.5;
}

.content-card h2:first-child {
  margin-top: 0;
}

.plain-list,
.steps-list,
.warning-list {
  padding-left: 1.4em;
}

.plain-list li,
.steps-list li,
.warning-list li {
  margin: 8px 0;
}

.steps-list {
  padding-left: 1.8em;
}

.action-box {
  margin-top: 28px;
  padding: 26px;
  border-radius: 18px;
  background: var(--blue-light);
  text-align: center;
}

.warning-box {
  margin-top: 30px;
  padding: 24px;
  border: 2px solid #f0c7b9;
  border-radius: 18px;
  background: #fff7f3;
}

.warning-box h2 {
  margin-top: 0;
  border-color: #f0c7b9;
  color: #8b3a2d;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  margin: 0;
  padding: 0;
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
}

.faq-item summary {
  padding: 20px 22px;
  color: var(--navy);
  background: #f4faff;
  font-size: 19px;
}

.faq-answer {
  padding: 20px 22px 22px;
  border-top: 1px solid var(--line);
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.form-card {
  margin-top: 38px;
  padding: clamp(28px, 5vw, 48px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.form-field {
  display: grid;
  align-content: start;
  gap: 8px;
}

.form-field-full {
  grid-column: 1 / -1;
}

.form-field label,
.field-label {
  color: var(--navy);
  font-size: 17px;
  font-weight: 800;
}

.required {
  display: inline-block;
  margin-left: 7px;
  padding: 1px 8px;
  border-radius: 999px;
  color: #fff;
  background: var(--coral-dark);
  font-size: 12px;
  vertical-align: 0.12em;
}

.field-help {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

input[type="text"],
input[type="email"],
input[type="file"],
textarea,
select {
  width: 100%;
  min-height: 52px;
  padding: 11px 13px;
  border: 2px solid #c6d9e6;
  border-radius: 12px;
  color: var(--navy);
  background: #fff;
  font: inherit;
  font-size: 17px;
}

textarea {
  min-height: 190px;
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--blue);
  outline: 3px solid rgba(47, 119, 183, 0.18);
  outline-offset: 1px;
}

.privacy-notice {
  margin: 24px 0;
  padding: 20px 22px;
  border: 2px solid #efc4b6;
  border-radius: 16px;
  background: #fff5f0;
}

.privacy-notice h2 {
  margin: 0 0 8px;
  color: #8b3a2d;
  font-size: 21px;
}

.privacy-notice p:last-child {
  margin-bottom: 0;
}

.upload-box {
  padding: 22px;
  border: 2px dashed #a9c9dd;
  border-radius: 16px;
  background: #f5fbff;
}

.upload-box input[type="file"] {
  border: 0;
  background: transparent;
}

.drop-uploader {
  position: relative;
  display: flex;
  min-height: 190px;
  padding: 28px 20px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  border: 3px dashed #8bb9d4;
  border-radius: 18px;
  color: var(--navy);
  background: linear-gradient(145deg, #f1faff, #fff8f3);
  cursor: pointer;
  text-align: center;
  transition: border-color 0.18s ease, background-color 0.18s ease, transform 0.18s ease;
}

.drop-uploader:hover,
.drop-uploader:focus,
.drop-uploader:focus-within,
.drop-uploader.is-dragover {
  border-color: var(--blue);
  outline: 4px solid rgba(47, 119, 183, 0.16);
  outline-offset: 2px;
  background: #eaf7ff;
}

.drop-uploader.is-dragover {
  transform: scale(1.01);
}

.drop-uploader.has-file {
  border-color: #5b9e75;
  background: #f2fbf5;
}

.drop-uploader-input {
  position: absolute;
  width: 1px !important;
  height: 1px !important;
  min-height: 0 !important;
  padding: 0 !important;
  overflow: hidden;
  border: 0 !important;
  opacity: 0;
  clip-path: inset(50%);
}

.drop-uploader-icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--blue);
  font-size: 34px;
  line-height: 1;
  box-shadow: 0 8px 20px rgba(47, 119, 183, 0.24);
}

.drop-uploader strong {
  font-size: clamp(19px, 2.4vw, 24px);
}

.drop-uploader > span:last-child {
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
}

.drop-uploader-status {
  min-height: 1.6em;
  text-align: center;
}

.canvas-editor[hidden] {
  display: none;
}

.canvas-editor {
  padding: clamp(18px, 4vw, 30px);
  border: 1px solid #bfd4e2;
  border-radius: 20px;
  background: linear-gradient(145deg, #f6fbff, #fff9f4);
  box-shadow: 0 12px 34px rgba(24, 49, 83, 0.1);
}

.canvas-editor-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.canvas-editor-heading h2 {
  margin: 5px 0 0;
  font-size: clamp(24px, 3.2vw, 34px);
  line-height: 1.4;
}

.button.button-small {
  min-height: 44px;
  padding: 8px 16px;
  font-size: 15px;
}

.canvas-stage {
  display: grid;
  min-height: 260px;
  padding: 14px;
  place-items: center;
  overflow: hidden;
  border-radius: 16px;
  background-color: #dfe8ef;
  background-image:
    linear-gradient(45deg, rgba(255, 255, 255, 0.35) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(255, 255, 255, 0.35) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(255, 255, 255, 0.35) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(255, 255, 255, 0.35) 75%);
  background-position: 0 0, 0 12px, 12px -12px, -12px 0;
  background-size: 24px 24px;
}

#imageCanvas {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: min(70vh, 720px);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(24, 49, 83, 0.18);
  object-fit: contain;
}

#imageCanvas.has-draggable-text {
  cursor: grab;
  touch-action: none;
}

#imageCanvas.is-dragging-text {
  cursor: grabbing;
}

.canvas-drag-help {
  margin: 10px 0 0;
  text-align: center;
}

.canvas-controls {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.canvas-control {
  min-width: 0;
  padding: 16px;
  border: 1px solid #d7e4ed;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.88);
}

.canvas-control-wide {
  grid-column: 1 / -1;
}

.canvas-control label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 9px;
  font-weight: 800;
}

.canvas-control output {
  color: var(--blue);
  font-size: 15px;
}

.canvas-control input[type="range"] {
  width: 100%;
  min-height: 32px;
  padding: 0;
  border: 0;
  background: transparent;
  accent-color: var(--blue);
}

.canvas-control input[type="color"] {
  width: 100%;
  height: 54px;
  padding: 5px;
  cursor: pointer;
}

.canvas-control-pair {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 3px 12px;
}

.canvas-control-pair label {
  grid-column: 1 / -1;
}

.canvas-control-pair span {
  color: #536474;
  font-size: 14px;
  font-weight: 700;
}

.canvas-status {
  min-height: 1.7em;
  margin: 14px 0 0;
  color: #466174;
  font-size: 15px;
  text-align: center;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 28px;
}

button.button {
  cursor: pointer;
  font-family: inherit;
}

.preview-image {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 520px;
  margin: 0 auto;
  border-radius: 14px;
  object-fit: contain;
  box-shadow: 0 8px 24px rgba(24, 49, 83, 0.12);
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(72px, 1fr));
  gap: 12px;
}

.choice-card {
  position: relative;
  display: grid;
  min-height: 90px;
  padding: 12px;
  place-items: center;
  border: 2px solid #cbdce8;
  border-radius: 14px;
  background-color: #fff;
  background-position: center;
}

.choice-card input {
  width: 24px;
  height: 24px;
  margin: 0;
  accent-color: var(--blue);
}

.choice-card:has(input:checked) {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(47, 119, 183, 0.15);
}

.layout-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.layout-choice {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 70px;
  padding: 16px;
  border: 2px solid #cbdce8;
  border-radius: 14px;
  background: #fff;
  font-weight: 700;
}

.layout-choice input {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  accent-color: var(--blue);
}

.schedule-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(120px, 0.4fr);
  align-items: end;
  gap: 14px;
}

.confirm-list {
  display: grid;
  gap: 12px;
  margin: 24px 0;
}

.confirm-row {
  display: grid;
  grid-template-columns: minmax(140px, 0.3fr) minmax(0, 1fr);
  gap: 18px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #f6faff;
}

.confirm-row dt {
  font-weight: 800;
}

.confirm-row dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.card-preview {
  margin: 28px 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #f9fcff;
}

.card-preview h2 {
  text-align: center;
}

.card-preview-frame {
  width: 100%;
  padding: 24px;
  border-radius: 18px;
  background-color: #fff;
  background-position: center;
}

.card-preview-frame img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 460px;
  margin: 18px auto;
  object-fit: contain;
}

.complete-mark {
  display: grid;
  width: 92px;
  height: 92px;
  margin: 0 auto 22px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), #4ca2d7);
  box-shadow: 0 10px 24px rgba(47, 119, 183, 0.22);
  font-size: 46px;
  font-weight: 800;
}

.complete-card {
  text-align: center;
}

.site-footer {
  padding: 52px 0 28px;
  border-top: 1px solid var(--line);
  background: #eaf5fb;
}

.footer-directory {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.footer-group {
  padding: 24px;
  border: 1px solid #cddfeb;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(24, 49, 83, 0.06);
}

.footer-group h2 {
  margin: 0 0 16px;
  padding-left: 12px;
  border-left: 5px solid var(--coral);
  font-size: 21px;
  line-height: 1.5;
}

.footer-link-list {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-link-list a {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 6px 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
}

.footer-link-list a::before {
  content: "›";
  flex: 0 0 auto;
  margin-right: 9px;
  color: var(--coral);
  font-size: 24px;
  line-height: 1;
}

.footer-link-list a:hover {
  text-decoration: underline;
}

.footer-operator {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 26px;
  padding: 24px 28px;
  border-radius: 18px;
  color: #fff;
  background: var(--navy);
}

.operator-label {
  display: block;
  margin-bottom: 3px;
  color: #bcdcf2;
  font-size: 14px;
  font-weight: 700;
}

.operator-name {
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  text-decoration-thickness: 1px;
}

.operator-details {
  text-align: right;
}

.operator-service {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
}

.operator-privacy {
  display: inline-block;
  margin-top: 7px;
  color: #d9ecf8;
  font-size: 14px;
}

.operator-privacy:hover {
  color: #fff;
}

@media (max-width: 760px) {
  body {
    font-size: 17px;
  }

  .header-inner {
    min-height: 92px;
  }

  .brand img {
    width: 64px;
  }

  .brand-note,
  .header-contact {
    display: none;
  }

  .nav-inner {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
  }

  .nav-inner a {
    padding-inline: 8px;
  }

  .nav-inner a:first-child {
    grid-column: 1 / -1;
  }

  .page-main {
    padding-top: 26px;
  }

  .hero {
    grid-template-columns: 1fr;
    padding: 28px 18px;
    text-align: center;
  }

  .hero h1 {
    font-size: 28px;
    letter-spacing: 0;
  }

  .hero-art {
    grid-row: 1;
  }

  .hero-art img {
    width: 190px;
  }

  .button-row {
    justify-content: center;
  }

  .button {
    width: 100%;
  }

  .features,
  .menu-grid,
  .footer-directory {
    grid-template-columns: 1fr;
  }

  .news-item {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .page-title {
    padding: 28px 22px;
  }

  .page-title h1 {
    font-size: 30px;
  }

  .page-title p:last-child {
    font-size: 18px;
  }

  .content-card {
    padding: 26px 20px;
  }

  .form-card {
    padding: 26px 20px;
  }

  .form-grid,
  .layout-choice-grid,
  .schedule-grid {
    grid-template-columns: 1fr;
  }

  .choice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .confirm-row {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .site-footer {
    padding-top: 34px;
  }

  .footer-group {
    padding: 22px 20px;
  }

  .footer-link-list a {
    min-height: 46px;
    font-size: 17px;
  }

  .footer-operator {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    padding: 22px;
  }

  .operator-details {
    text-align: left;
  }
}

@media (max-width: 760px) {
  .canvas-editor-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .canvas-controls {
    grid-template-columns: 1fr;
  }

  .canvas-control-wide {
    grid-column: auto;
  }

  .canvas-stage {
    min-height: 180px;
    padding: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button {
    transition: none;
  }
}
