* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #f7efd5;
  color: #333;
  font-family: Arial, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.8;
}

a {
  color: inherit;
}

.env-bar {
  display: none;
  background: #b00020;
  color: #fff;
  text-align: center;
  font-weight: bold;
  padding: 10px;
  font-size: 15px;
}

.top-copy {
  max-width: 1040px;
  margin: 0 auto;
  padding: 6px 10px;
  font-size: 13px;
}

.header {
  background: #fff;
  padding: 24px 0 18px;
  border-bottom: 1px solid #ddd;
}

.header-inner {
  max-width: 1040px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 10px;
}

.logo {
  font-size: 34px;
  font-weight: bold;
  color: #222;
  text-decoration: none;
  line-height: 1.35;
}

.tel-area {
  text-align: right;
  white-space: nowrap;
}

.tel-note {
  font-size: 13px;
  color: #555;
}

.tel-number {
  color: #1144cc;
  font-size: 30px;
  font-weight: bold;
  line-height: 1.2;
}

.business {
  font-size: 13px;
}

.mail a {
  font-size: 13px;
  color: #7b4b00;
  text-decoration: underline;
}

.nav {
  background: #67b62f;
  padding: 10px;
}

.nav-inner {
  max-width: 1040px;
  margin: 0 auto;
  display: flex;
  gap: 10px;
}

.nav-inner a {
  flex: 1;
  display: block;
  text-align: center;
  padding: 13px 8px;
  background: #fff;
  color: #333;
  text-decoration: none;
  border-radius: 4px;
  font-size: 17px;
  font-weight: bold;
  box-shadow: 0 2px 0 rgba(0,0,0,.15);
}

.main {
  max-width: 1040px;
  margin: 28px auto 40px;
  padding: 0 10px;
}

.title {
  margin: 0 0 10px;
  font-size: 28px;
  font-weight: bold;
  line-height: 1.4;
}

.desc {
  margin: 6px 0;
  font-size: 16px;
  line-height: 1.9;
}

.form-box,
.menu-box {
  margin-top: 20px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 28px;
  box-shadow: 0 2px 6px rgba(0,0,0,.12);
}

.form-title,
.menu-title {
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 3px solid #9ec5e5;
  color: #4b9bd0;
  font-size: 24px;
  font-weight: bold;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 18px;
}

.form-item.full {
  grid-column: 1 / -1;
}

label {
  display: block;
  margin-bottom: 6px;
  font-weight: bold;
}

.required {
  color: #c62828;
  font-size: 13px;
  margin-left: 4px;
}

input,
select,
textarea {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid #4b9bd0;
  border-radius: 8px;
  font-size: 17px;
  line-height: 1.6;
  font-family: Arial, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  background: #fff;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.checkbox-area {
  padding: 12px 14px;
  border: 2px solid #4b9bd0;
  border-radius: 8px;
  background: #fff;
}

.checkbox-area label {
  font-weight: normal;
  margin: 6px 0;
  display: block;
}

.checkbox-area input {
  width: auto;
  margin-right: 8px;
}

.check-guide {
  margin-bottom: 10px;
  padding: 10px 12px;
  background: #f8fbff;
  border-left: 5px solid #4b9bd0;
  border-radius: 6px;
  font-size: 14px;
  color: #555;
}

.form-note {
  margin-top: 14px;
  font-size: 13px;
  color: #666;
}

.button-area {
  margin-top: 24px;
}

.button-row {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.main-button,
.sub-button {
  width: 100%;
  min-height: 56px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 2px 0 rgba(0,0,0,.18);
}

.main-button {
  background: linear-gradient(#fff, #e7e7e7);
  color: #333;
}

.sub-button {
  background: #f5f5f5;
  color: #333;
}

.main-button:disabled,
.sub-button:disabled {
  color: #777;
  background: #ddd;
  cursor: default;
}

.confirm-area {
  display: none;
}

.confirm-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
  border: 1px solid #ddd;
}

.confirm-table th,
.confirm-table td {
  border-bottom: 1px solid #ddd;
  padding: 12px;
  vertical-align: top;
  text-align: left;
  line-height: 1.8;
}

.confirm-table th {
  width: 28%;
  background: #f8fbff;
  color: #4b9bd0;
  font-weight: bold;
}

.result-message {
  display: none;
  margin-top: 24px;
  padding: 18px;
  border-radius: 6px;
  line-height: 1.9;
}

.result-message.ok {
  display: block;
  background: #eaf7ea;
  border: 1px solid #9ccc9c;
  color: #235b23;
}

.result-message.ng {
  display: block;
  background: #fff0f0;
  border: 1px solid #e0a0a0;
  color: #8a1f1f;
}

.reception-no {
  font-size: 24px;
  font-weight: bold;
  color: #1144cc;
}

.footer-note {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid #ddd;
  font-size: 13px;
  color: #666;
}

.footer {
  background: #fff;
  border-top: 1px solid #ddd;
  text-align: center;
  padding: 18px 10px;
  font-size: 13px;
  color: #666;
}

.menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.menu-link {
  display: block;
  padding: 22px;
  border-radius: 8px;
  text-decoration: none;
  background: linear-gradient(#ffffff, #f2f2f2);
  border: 1px solid #ccc;
  box-shadow: 0 2px 0 rgba(0,0,0,.12);
  transition: .2s;
}

.menu-link:hover {
  transform: translateY(-2px);
}

.menu-name {
  font-size: 24px;
  font-weight: bold;
  color: #333;
  margin-bottom: 8px;
}

.menu-desc {
  font-size: 15px;
  color: #555;
  line-height: 1.8;
}

.menu-status {
  display: inline-block;
  margin-top: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #fff9e8;
  border: 1px solid #e0c978;
  color: #6b5200;
  font-size: 13px;
  font-weight: bold;
}

.notice-box {
  margin-top: 24px;
  padding: 18px;
  border-radius: 8px;
  background: #fff9e8;
  border: 1px solid #e0c978;
  line-height: 1.9;
  color: #6b5200;
}

input[type="date"] {
  max-width: 100%;
  min-width: 0;
}

input[type="date"]::-webkit-date-and-time-value {
  text-align: left;
}

/* ▼ SP モード ▼ */

html.sp-mode body {
  font-size: 20px !important;
  line-height: 1.9 !important;
  overflow-x: hidden !important;
  -webkit-text-size-adjust: 100% !important;
}

html.sp-mode .top-copy {
  font-size: 14px !important;
  padding: 8px 12px !important;
}

html.sp-mode .header {
  padding: 16px 12px !important;
}

html.sp-mode .header-inner {
  display: block !important;
  text-align: center !important;
}

html.sp-mode .logo {
  display: block !important;
  font-size: 28px !important;
  margin-bottom: 10px !important;
}

html.sp-mode .tel-area {
  text-align: center !important;
  white-space: normal !important;
}

html.sp-mode .tel-number {
  font-size: 30px !important;
}

html.sp-mode .nav {
  padding: 8px 10px !important;
}

html.sp-mode .nav-inner {
  display: block !important;
  width: 100% !important;
}

html.sp-mode .nav-inner a {
  display: block !important;
  width: 100% !important;
  font-size: 18px !important;
  padding: 14px 10px !important;
  margin-bottom: 8px !important;
}

html.sp-mode .main {
  margin: 20px auto 36px !important;
  padding: 0 14px !important;
}

html.sp-mode .title {
  font-size: 30px !important;
  line-height: 1.45 !important;
}

html.sp-mode .desc {
  font-size: 19px !important;
}

html.sp-mode .form-box,
html.sp-mode .menu-box {
  padding: 18px 14px !important;
  border-radius: 10px !important;
}

html.sp-mode .form-title,
html.sp-mode .menu-title {
  font-size: 24px !important;
}

html.sp-mode .form-grid,
html.sp-mode .menu-grid {
  display: block !important;
}

html.sp-mode .form-item {
  margin-bottom: 16px !important;
}

html.sp-mode label {
  font-size: 19px !important;
}

html.sp-mode input,
html.sp-mode select,
html.sp-mode textarea {
  font-size: 22px !important;
  padding: 12px 14px !important;
  line-height: 1.6 !important;
}

html.sp-mode input[type="date"] {
  height: 64px !important;
  min-height: 64px !important;
  padding: 12px 14px !important;
  font-size: 22px !important;
  line-height: 1.4 !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
  appearance: none;
  -webkit-appearance: none;
}

html.sp-mode textarea {
  min-height: 180px !important;
}

html.sp-mode .checkbox-area,
html.sp-mode .checkbox-area label {
  font-size: 18px !important;
}

html.sp-mode .main-button,
html.sp-mode .sub-button {
  min-height: 64px !important;
  font-size: 23px !important;
}

html.sp-mode .button-row {
  display: block !important;
}

html.sp-mode .button-row .sub-button,
html.sp-mode .button-row .main-button {
  margin-bottom: 12px !important;
}

html.sp-mode .confirm-table th,
html.sp-mode .confirm-table td {
  display: block !important;
  width: 100% !important;
  font-size: 18px !important;
}

html.sp-mode .confirm-table th {
  border-bottom: none !important;
}

html.sp-mode .menu-link {
  padding: 20px !important;
  margin-bottom: 14px !important;
}

html.sp-mode .menu-name {
  font-size: 24px !important;
}

html.sp-mode .menu-desc {
  font-size: 17px !important;
}

.sales-warning {
  margin-top: 14px;
  padding: 12px;
  border: 1px solid #e0c978;
  background: #fff9e8;
  color: #6b5200;
  border-radius: 6px;
  font-size: 14px;
}
