@font-face {
  font-family: 'NorthSails';
  src: url('assets/NorthSails.woff') format('woff');
  font-display: block;
}

:root {
  --bg: #f5f2eb;
  --surface: #ffffff;
  --text: #0f1c2c;
  --muted: #4a5568;
  --line: #e3ded5;
  --accent: #ff7043;
  --accent-2: #1e4d8f;
  --radius: 18px;
  --shadow: 0 18px 40px rgba(15, 28, 44, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", "Noto Sans JP", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
  overflow-wrap: break-word;
}

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

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 18px;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 242, 235, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 76px;
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.02em;
  position: absolute;
  left: 0;
}

.brand-logo {
  width: 46px;
  height: 46px;
}

.brand-name {
  font-family: 'NorthSails', "EB Garamond", "Noto Sans JP", serif;
  font-size: 22px;
}

.nav-links {
  display: flex;
  gap: 16px;
  flex: 1;
  justify-content: center;
  font-size: 22px;
  color: var(--text);
}

.nav-links a:hover {
  color: var(--accent-2);
}

.nav-links a {
  font-family: "EB Garamond", "Noto Sans JP", serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}

.nav-title {
  font-family: 'NorthSails', "EB Garamond", "Noto Sans JP", serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--text);
}

.nav-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  position: absolute;
  right: 0;
}

.lang-toggle {
  display: none;
  padding: 8px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-weight: 700;
  cursor: pointer;
}

.nav-cta {
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--accent-2);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(30, 77, 143, 0.22);
}

.hero {
  padding: 80px 0 35px;
}

.hero + .section {
  padding-top: 40px;
}

.hero-full {
  position: relative;
  min-height: calc(100vh - 76px);
  display: flex;
  align-items: flex-end;
  padding: 0;
  color: #fff;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
  opacity: 0;
  transition: opacity 1.5s ease;
}

.hero-background.active {
  opacity: 1;
  z-index: 1;
}

.hero-background.next {
  z-index: 2;
}

.hero-full .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.65));
}

.hero-full .hero-content {
  position: relative;
  z-index: 1;
  padding: 80px 0 60px;
  width: 100%;
}

.hero-copy h1 {
  margin: 0 0 14px;
  font-family: "EB Garamond", "Noto Sans JP", serif;
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.1;
}

.hero-full .hero-copy h1,
.hero-full .lead {
  color: #fff;
}

.hero-full .lead {
  color: rgba(255, 255, 255, 0.9);
}

.hero-visual img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  object-fit: cover;
  height: 300px;
}

.news-ticker {
  margin-top: 32px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  padding: 18px 16px;
  max-width: 720px;
  min-height: 120px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.28);
}

.news-title {
  font-weight: 800;
  margin-bottom: 6px;
  letter-spacing: 0.04em;
}

.news-items {
  position: relative;
  min-height: 22px;
}

.news-item {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  color: #fff;
}

.news-item.active {
  opacity: 1;
  transform: translateY(0);
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  align-items: center;
}

.hero-copy h1 {
  margin: 0 0 14px;
  font-family: "EB Garamond", "Noto Sans JP", serif;
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.1;
}

.lead {
  color: var(--muted);
  line-height: 1.7;
  margin: 0 0 18px;
  font-size: 16px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-visual img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  object-fit: cover;
  height: 300px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.15s ease;
  pointer-events: auto;
}

.btn.primary {
  background: var(--accent-2);
  color: #fff;
  border: 2px solid var(--accent-2);
  box-shadow: 0 10px 24px rgba(15, 28, 44, 0.18);
  font-weight: 700;
}

.btn.primary:hover {
  background: #163d73;
  border-color: #163d73;
}

.btn.outline {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
}

.btn:hover {
  transform: translateY(-1px);
}

.section {
  padding: 80px 0;
}

.stacked {
  display: grid;
  gap: 24px;
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  align-items: start;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
}

.confirm-card {
  background: transparent;
  border: none;
  box-shadow: none;
}

.confirm-card .order-table {
  background: #fff;
}

.confirm-section {
  padding-top: 26px;
}

.product-feature,
.link-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  padding-bottom: 80px;
}

.block-card {
  padding: 24px;
}

.section h2 {
  font-family: "EB Garamond", "Noto Sans JP", serif;
  font-size: clamp(28px, 3.6vw, 40px);
  margin: 0 0 12px;
}

.section p {
  color: var(--muted);
  line-height: 1.7;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.stat-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  text-align: center;
  box-shadow: var(--shadow);
}

.stat-number {
  font-weight: 800;
  font-size: 22px;
  color: var(--accent-2);
}

.stat-label {
  color: var(--muted);
  font-size: 13px;
}

.location-list {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  display: grid;
  gap: 12px;
  color: var(--muted);
  line-height: 1.6;
}

.location-list strong {
  color: var(--text);
}

.profile-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
  font-size: 15px;
}

.profile-table th,
.profile-table td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.profile-table th {
  width: 160px;
  text-align: left;
  color: var(--muted);
  font-weight: 700;
}

.profile-table td {
  color: var(--text);
  line-height: 1.6;
}

.location-photos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  margin: 18px 0 14px;
}

.location-photo {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--surface);
}

.location-photo img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.photo-caption {
  padding: 10px 12px;
  color: var(--muted);
  font-size: 13px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.product-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.product-feature img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 10px;
}

.product-feature-body h3 {
  margin: 0 0 6px;
}

.product-feature-body p {
  margin: 0 0 10px;
  color: var(--muted);
}

.product-feature .btn,
.link-card .btn {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  margin: 0;
  align-self: center;
}
.product-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 10px;
}

.hero-image-band {
  padding: 40px 0 60px;
}

.wide-image {
  max-width: 1200px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.wide-image img {
  width: 100%;
  display: block;
  height: 380px;
  object-fit: cover;
}

.links {
  background: #fffaf4;
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}

.link-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 10px;
  display: block;
}

.link-body h3 {
  margin: 0 0 6px;
}

.link-body p {
  margin: 0 0 10px;
  color: var(--muted);
}

.contact {
  background: var(--surface);
}

.form-grid {
  display: grid;
  gap: 12px;
}

.order-table {
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0;
  font-size: 14px;
}

.order-summary-header,
.order-summary-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-weight: 800;
}

.summary-value {
  font-size: 16px;
  color: var(--text);
}

.order-table th,
.order-table td {
  padding: 8px;
  border: 1px solid var(--line);
  text-align: center;
}

.order-table th {
  background: var(--bg);
  font-weight: 700;
  color: var(--muted);
}

.order-table input,
.order-table select {
  width: 100%;
  box-sizing: border-box;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
}

.order-table input[readonly] {
  pointer-events: none;
  background: #f6f6f6;
}

.line-price {
  display: inline-block;
  min-width: 80px;
  text-align: right;
  font-weight: 700;
  color: var(--text);
}

.model-description {
  display: none;
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
  line-height: 1.4;
}

.spin-custom-btn {
  width: 100%;
}

.order-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

#add-line {
  cursor: pointer;
  pointer-events: auto;
}

.number-input-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.order-summary {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  color: inherit;
  font-size: 14px;
}

.summary-title-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  margin: 0 0 12px;
}

#summary .fields + .summary-title-row {
  margin-top: 54px;
}

.summary-title-row h2 {
  margin: 0;
}

.summary-matrix {
  margin-bottom: 14px;
  overflow-x: auto;
}

.summary-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.summary-table th,
.summary-table td {
  border: 1px solid var(--line);
  padding: 6px 8px;
  text-align: center;
  background: #fff;
}

.summary-table th {
  background: var(--bg);
  font-weight: 700;
  color: var(--muted);
}

.summary-table th[scope="row"] {
  background: #fff;
  color: var(--text);
  text-align: left;
  font-weight: 700;
}

.summary-total {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-weight: 700;
  color: var(--text);
}

.summary-total-value {
  font-size: clamp(18px, 2.6vw, 26px);
  font-weight: 800;
}

.page-fill {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page-fill-main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.page-fill-main .section {
  flex: 1;
  display: flex;
  align-items: center;
}

.page-fill-main .section .container {
  width: 100%;
}

.thanks-section {
  padding: 120px 0 140px;
}

.confirm-total-row {
  display: flex;
  justify-content: flex-end;
  align-items: baseline;
  gap: 8px;
  margin-top: 18px;
  font-weight: 700;
  color: var(--text);
}

.confirm-total-value {
  font-size: clamp(18px, 2.6vw, 26px);
  font-weight: 800;
}

.sail-preview {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto;
}

.sail-preview .sail-photo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 30;
}

.modal {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  width: min(520px, 90vw);
  padding: 18px;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.modal-header h3 {
  margin: 0;
  line-height: 1.05;
}

.modal-header .btn {
  pointer-events: auto;
  cursor: pointer;
  position: relative;
  z-index: 2;
}

.modal-body {
  display: grid;
  gap: 12px;
  overflow: hidden;
}

.spin-visual {
  position: relative;
  width: 100%;
  max-height: 70vh;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  overflow: hidden;
  background: #f4f4f4;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.spin-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

#spin-svg-stage,
#spin-svg-stage-420 {
  width: 100%;
  max-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

#sailSvg {
  width: 100%;
  max-width: 520px;
  height: auto;
}

#sailSvg420 {
  width: 100%;
  max-width: 400px;
  height: auto;
}

#sailSvg .panel,
#sailSvg420 .panel {
  cursor: pointer;
  transition: opacity 0.15s ease, stroke 0.15s ease;
  stroke: rgba(0, 0, 0, 0.25);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

#sailSvg .panel:hover,
#sailSvg420 .panel:hover {
  opacity: 0.85;
  stroke: rgba(0, 0, 0, 0.35);
}

#sailSvg .outline,
#sailSvg420 .outline {
  vector-effect: non-scaling-stroke;
}

.spin-visual {
  position: relative;
  width: 100%;
  padding-top: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  background: #f4f4f4;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.spin-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 8px;
}

.modal-actions-with-swatches {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.color-palette {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: center;
}

.color-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease;
}

.color-dot.white {
  border-color: #cfd3d8;
}

.color-dot.selected {
  outline: 2px solid #1e4d8f;
  outline-offset: 2px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
}

.color-dot:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.14);
}

.modal-note {
  margin: 2px 0 2px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.05;
}

.spin-pattern-toggle {
  display: flex;
  gap: 8px;
  margin: 4px 0 0;
  position: relative;
  z-index: 5;
}

.spin-pattern-toggle .pattern-btn {
  flex: 1;
  padding: 8px 12px;
  border: 2px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.spin-pattern-toggle .pattern-btn:hover {
  border-color: var(--accent-2);
}

.spin-pattern-toggle .pattern-btn.active {
  border-color: var(--accent-2);
  background: var(--accent-2);
  color: #fff;
}

.fields {
  display: grid;
  gap: 10px;
}

#summary .fields + h2 {
  margin-top: 54px;
}

.fields.two-col {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 10px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 700;
}

.field strong {
  font-weight: 800;
  color: var(--text);
}

.field div {
  font-weight: 500;
  color: var(--muted);
}

.field input,
.field textarea {
  font-family: "Manrope", "Noto Sans JP", sans-serif;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--text);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.field textarea {
  resize: vertical;
}

.checkbox-inline {
  display: inline-flex;
  width: 100%;
  box-sizing: border-box;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(240, 246, 255, 0.9));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 6px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.2s ease;
}

.checkbox-inline input {
  width: auto;
  accent-color: var(--accent-2);
}

.checkbox-inline:hover {
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 10px 26px rgba(0, 0, 0, 0.08);
  border-color: var(--accent-2);
}

.checkbox-row {
  justify-items: start;
}

.fields.three-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
}

.color-controls {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}

.op-color-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-start;
}

.op-color-group .color-label {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}

.op-color-group .color-label:first-child {
  margin-top: 0;
}

.spin-custom-btn {
  position: relative;
  z-index: 10;
  cursor: pointer;
}

.field input[type="date"] {
  cursor: pointer;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent-2);
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.site-footer {
  padding: 50px 0;
  text-align: center;
  background: #0f1c2c;
  color: #fff;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
  justify-content: center;
}

.copyright {
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
}

.lang {
  display: inline;
}

body[data-lang="ja"] .lang.en {
  display: none;
}

body[data-lang="en"] .lang.ja {
  display: none;
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }
}

@media (max-width: 820px) {
  .fields.two-col,
  .fields.three-col {
    grid-template-columns: 1fr;
  }

  .order-table,
  .order-table thead,
  .order-table tbody,
  .order-table tr,
  .order-table th,
  .order-table td {
    display: block;
    width: 100%;
  }

  .order-table thead {
    display: none;
  }

  .order-table tr {
    border: 1px solid var(--line);
    border-radius: 12px;
    margin-bottom: 12px;
    padding: 10px;
    background: var(--surface);
    overflow: hidden;
  }

  .order-table td {
    border: none;
    padding: 6px 0;
    text-align: left;
  }

  .order-table td::before {
    content: attr(data-label-ja);
    display: block;
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 4px;
    font-weight: 600;
  }

  body[data-lang="en"] .order-table td::before {
    content: attr(data-label-en);
  }

  .order-table .sail-preview {
    width: 100%;
    height: 180px;
    margin: 0;
  }

  .order-table .line-price {
    text-align: left;
  }

  .confirm-card .order-table {
    background: transparent;
  }

  .order-table.has-preview tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(160px, 40vw);
    grid-auto-rows: auto;
    gap: 6px 12px;
    align-items: start;
  }

  .order-table.order-lines-table.has-preview tr {
    grid-template-areas:
      "class preview"
      "type preview"
      "model preview"
      "number preview"
      "color preview"
      "price preview"
      "remove preview";
  }

  .order-table.confirm-lines-table.has-preview tr {
    grid-template-areas:
      "class preview"
      "type preview"
      "model preview"
      "price preview";
  }

  .order-table.order-lines-table.has-preview tr > td:nth-child(1),
  .order-table.confirm-lines-table.has-preview tr > td:nth-child(1) {
    grid-area: class;
  }

  .order-table.order-lines-table.has-preview tr > td:nth-child(2),
  .order-table.confirm-lines-table.has-preview tr > td:nth-child(2) {
    grid-area: type;
  }

  .order-table.order-lines-table.has-preview tr > td:nth-child(3),
  .order-table.confirm-lines-table.has-preview tr > td:nth-child(3) {
    grid-area: model;
  }

  .order-table.order-lines-table.has-preview tr > td:nth-child(4) {
    grid-area: number;
  }

  .order-table.order-lines-table.has-preview tr > td:nth-child(5) {
    grid-area: color;
  }

  .order-table.order-lines-table.has-preview tr > td:nth-child(6) {
    grid-area: preview;
  }

  .order-table.order-lines-table.has-preview tr > td:nth-child(7) {
    grid-area: price;
  }

  .order-table.order-lines-table.has-preview tr > td:nth-child(8) {
    grid-area: remove;
  }

  .order-table.confirm-lines-table.has-preview tr > td:nth-child(4) {
    grid-area: preview;
  }

  .order-table.confirm-lines-table.has-preview tr > td:nth-child(5) {
    grid-area: price;
  }

  .order-table.has-preview td[data-label-ja="プレビュー"],
  .order-table.has-preview td[data-label-en="Preview"] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .order-table.has-preview td[data-label-ja="プレビュー"]::before,
  body[data-lang="en"] .order-table.has-preview td[data-label-en="Preview"]::before {
    display: block;
  }

  .order-table.has-preview .sail-preview {
    width: 100%;
    height: 200px;
    margin: 0;
  }
}

@media (max-width: 640px) {
  .nav-inner {
    height: 52px;
    padding: 4px 0;
    flex-wrap: nowrap;
    gap: 8px;
  }

  .nav-actions {
    width: auto;
    justify-content: flex-end;
  }

  .brand {
    gap: 8px;
  }

  .brand-logo {
    width: 28px;
    height: 28px;
  }

  .brand-name {
    font-size: 14px;
  }

  .hero {
    padding: 64px 0 28px;
  }

  .hero-visual img {
    height: 220px;
  }

  .hero-full {
    min-height: calc(100vh - 64px);
  }

  .hero + .section {
    padding-top: 32px;
  }
}
