/* COLORS */
/**** FORM ****/
/* GENERAL */
/* LABELS */
/* HEADINGS */
/* INPUTS */
/* SELECT -- DROPDOWNS */
/* PLACEHOLDERS */
/* TEXTAREA */
/* BUTTONS */
/* RADIO BUTTONS */
/* CHECKBOXES */
/* UNDERLINE */
/* SPINNER ARROWS */
/* FIELD CONTROLS */
body {
  background-color: #fff;
  height: 100%;
}
a{color:#333; text-decoration:underline}
a:hover{text-decoration:none}
form {
  padding: 0px 0 0px 0;
}

/* 画面全体 */
table.tblB2 {
        border-collapse: collapse;
        border-spacing: 0;
        margin:0 auto;
        width: 640px;
        max-width: 100vw;
}
@media screen and (max-width: 767px) {
  table.tblB2 {
    width: 100vw;     /* スマホ幅に合わせる */
    box-sizing: border-box; /* paddingの影響を排除 */
  }
}
table.tblB2 tr,
table.tblB2 td {
        border: none;
        padding: 0; /* cellpaddingを0にする */
        background: transparent;
}
table.tblB2 td.align-center {
    text-align: center !important;
}
table.tblB2 td.align-right {
    text-align: right;
}

.form-inner2 {
  zoom: 1;
  margin: auto;
  padding: 10px 5px 10px 5px;
  width: 100%;
  max-width: 960px;
  box-sizing: border-box;
}
ul.cat{
  padding: 0;
  margin: 0 0 0 10px;
}
ul.cat li{
  display: inline-block;
  border: solid 3px #777;
  border-radius: 5px;
  padding: 0 5px;
  font-family: 'Oswald', cursive;
  font-weight: bold;
  color: #777;
}

.form-inner {
  zoom: 1;
  margin: auto;
  padding: 10px 5px 10px 5px;
  width: 100%;
  max-width: 600px;
  box-sizing: border-box;
}
.form-inner:before,
.form-inner:after {
  content: "";
  display: table;
}
.form-inner:after {
  clear: both;
}
h2 {
  font-size: 28px;
  font-family: "Roboto", sans-serif;
  color: #777;
  margin: 0;
  margin-top: 30px !important;
  margin-bottom: 5px !important;
  margin-left: 10px;
  font-weight: bold;
  display: block;
  position: relative;
  width: 90%;
  white-space: nowrap;
}
.form-inner > h4 {
  font-size: 22px;
  font-family: "Roboto", sans-serif;
  color: #555;
  margin: 0;
  margin-top: 30px !important;
  margin-bottom: 5px !important;
  margin-left: 10px;
  font-weight: bold;
  display: block;
  position: relative;
  float: left;
  width: 90%;
}
h6 {
  font-size: 20px;
  font-family: "Roboto", sans-serif;
  color: #555;
  margin: 0;
  margin-top: 20px !important;
  margin-bottom: 0px !important;
  margin-left: 10px;
  font-weight: bold;
  display: block;
  position: relative;
  float: left;
  width: 90%;
}
div.signature {
  width: 98%;
  font-size: 12px;
  font-family: "Roboto", sans-serif;
  color: #777;
  margin: 0;
  margin-top: 20px !important;
  margin-bottom: 10px !important;
  margin-right: 0px;
  display: block;
  position: relative;
  text-align: right;
}
.form-inner > div {
  padding-bottom: 0;
  padding-top: 18px;
  width: 100%;
  float: left;
  position: relative;
}
.form-inner > div.half {
  width: 50%;
}
.form-inner > div.quarter {
  width: 25%;
}
@media all and (max-width: 360px) {
  .form-inner > div.half {
    width: 100%;
  }
  .form-inner > div.quarter {
    width: 50%;
  }
}
.form-inner > div.align-center {
  float: center;
  width: fit-content;
}
.form-inner > div.align-right {
  float: right;
  width: fit-content;
}
.form-inner > div.no-label {
  padding-top: 15px;
}
.form-inner > div > select {
  position: absolute;
  opacity: 0;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 500;
}
.form-inner > div.dropdown {
  cursor: pointer;
}
.form-inner > div.dropdown input {
  cursor: pointer;
}
.form-inner > div.dropdown label {
  cursor: pointer !important;
}
.form-inner > div.dropdown .dropdown-arrow {
  bottom: 6px;
  padding: 12px;
}
.form-inner > div.dropdown .dropdown-arrow > div {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  border-top: 7px solid #bbb;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
}
.form-inner > div.dropdown .dropdown-arrow:active > div {
  border-top: 7px solid #1065e7;
}
.form-inner > div.dropdown.open .dropdown-arrow > div {
  transform: rotate(180deg);
}
.form-inner > div.dropdown.open .underline:before,
.form-inner > div.dropdown.open .underline::before,
.form-inner > div.dropdown.open .underline:after,
.form-inner > div.dropdown.open .underline::after {
  background-color: #1065e7;
  height: 35px;
}
.form-inner > div.dropdown.open .underline label {
  color: #1065e7 !important;
}
.form-inner > div.dropdown.open .underline.float-label:before,
.form-inner > div.dropdown.open .underline.float-label::before {
  height: 45px;
}
.form-inner > div.dropdown.open .dropdown-box {
  padding: 8px;
  padding-top: 0;
  height: auto;
  border: 2px solid #1065e7;
  border-top: none;
}
.form-inner > div.dropdown .dropdown-box {
  background-color: #fff;
  border-bottom: 0px solid transparent;
  border-left: 2px solid #1065e7;
  border-right: 2px solid #1065e7;
  border-top: none;
  width: 100%;
  max-width: 100%;
  height: 0;
  top: 100%;
  box-sizing: border-box;
  overflow: hidden;
  z-index: 1000;
  position: absolute;
  left: 0;
}
.form-inner > div.dropdown .dropdown-box > .focus-helper {
  position: absolute;
  opacity: 0;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  font-size: 0;
  margin: 0;
  padding: 0;
  border: none;
}
.form-inner > div.dropdown .dropdown-box > div {
  max-height: 150px;
  overflow: auto;
}
.form-inner > div.dropdown .dropdown-box > div > div {
  width: 100%;
  height: 30px;
}
.form-inner > div.dropdown .dropdown-box > div > div > p {
  cursor: pointer;
  display: block;
  line-height: 30px;
  font-family: "Roboto", sans-serif;
  font-size: 18px;
  color: #333;
  font-weight: normal;
}
.form-inner > div.buttons {
  margin-top: 5px;
}
.form-inner > div.buttons > div {
  width: 25%;
  padding: 0 10px;
  box-sizing: border-box;
  margin: 0;
  float: left;
}
.form-inner > div.buttons > div > button {
  font-family: "Roboto", sans-serif;
  font-weight: bold;
  border: none;
  outline: none;
  background-color: none;
  background: none;
  border: 2px solid #777;
  padding: 5px 0;
  font-size: 12px;
  width: 100%;
  cursor: pointer;
  color: #111;
}
.form-inner > div.buttons > div > button:focus {
  border-color: #1065e7;
  color: #333;
}
.form-inner > div.buttons > div > button:active {
  background-color: #1065e7;
  color: #fff !important;
}
.form-inner > div.buttons2 {
  margin-top: 0px;
}
.form-inner > div.buttons2 > div {
  width: 50%;
  padding: 0 10px;
  box-sizing: border-box;
  margin: 0;
  float: left;
  margin-bottom: 10px;
}
.form-inner > div.buttons2 > div > button {
  font-family: "Roboto", sans-serif;
  font-weight: bold;
  border: none;
  outline: none;
  background-color: none;
  background: none;
  border: 2px solid #777;
  padding: 5px 0;
  font-size: 12px;
  width: 100%;
  cursor: pointer;
  color: #111;
  outline: none; /* デフォルトのフォーカス枠を消す */
  transition: border-color 0.2s ease, box-shadow 0.2s ease; /* スムーズな変化 */
}
.form-inner > div.buttons2 > div > button:focus {
  border-color: #1065e7;
  color: #333;
}
.form-inner > div.buttons2 > div > button:active {
  background-color: #1065e7;
  color: #fff !important;
}
.form-inner > div.buttons2 > div > button:hover {
  border-color: #1065e7;
  color: #333 !important;
}
.form-inner > div.buttons2 > div > button:disabled {
  border-color: #ccc;
  color: #aaa;
  background-color: #f8f8f8;
  cursor: not-allowed;
  opacity: 0.6;
}

.form-inner > div > div {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  position: relative;
  margin: 0 10px;
}
.form-inner > div > div.prefixed > input {
  padding-left: 15px;
}
.form-inner > div > div.right-control {
  padding-right: 30px !important;
}
.form-inner > div > div.underline {
  border-bottom: 2px solid #bbb;
  padding: 0 8px 6px 8px;
}
.form-inner > div > div.underline:before,
.form-inner > div > div.underline::before,
.form-inner > div > div.underline:after,
.form-inner > div > div.underline::after {
  content: "";
  height: 5px;
  width: 2px;
  position: absolute;
  bottom: 0;
  background-color: #bbb;
}
.form-inner > div > div.underline:before,
.form-inner > div > div.underline::before {
  left: 0;
}
.form-inner > div > div.underline:after,
.form-inner > div > div.underline::after {
  right: 0;
}
.form-inner > div > div.underline.dropdown-hint:after,
.form-inner > div > div.underline.dropdown-hint::after {
  width: 0;
  height: 0;
  background-color: transparent;
  border-right: 5px solid #bbb;
  border-bottom: 5px solid #bbb;
  border-left: 5px solid transparent;
  border-top: 5px solid transparent;
}
.form-inner > div > div.underline.focused {
  border-color: #1065e7;
}
.form-inner > div > div.underline.focused:before,
.form-inner > div > div.underline.focused::before,
.form-inner > div > div.underline.focused:after,
.form-inner > div > div.underline.focused::after {
  background-color: #1065e7;
}
.form-inner > div > div.float-label > .placeholder {
  opacity: 0 !important;
}
.form-inner > div > div.float-label > label,
.form-inner > div > div.float-label .prefix {
  opacity: 0.99 !important;
}
.form-inner > div > div > textarea {
  border: none;
  color: #111;
  width: 100%;
  resize: none;
  outline: none;
  padding: 0;
  margin: 0;
  -webkit-appearance: none;
  border-radius: 0;
  overflow: hidden;
  border-image-width: 0;
  font-family: "Roboto", sans-serif;
  font-size: 18px;
  font-weight: normal;
  position: relative;
  z-index: 1;
  background-color: transparent;
  display: block;
}
.form-inner > div > div > textarea:focus ~ label {
  color: #1065e7;
}
.form-inner > div > div > textarea ~ label {
  cursor: text;
}
.form-inner > div > div > input {
  position: relative;
  border: none;
  border-image-width: 0;
  outline: none;
  margin: 0;
  font-size: 18px;
  padding: 0;
  z-index: 1;
  -webkit-appearance: none;
  border-radius: 0;
  width: 100%;
  background-color: transparent;
  display: block;
  box-sizing: border-box;
  color: #111;
  font-family: "Roboto", sans-serif;
  font-weight: bold;
}
.form-inner > div > div > input ~ label {
  cursor: text;
}
.form-inner > div > div > input[type=checkbox] {
  display: none;
}
.form-inner > div > div > input[type=checkbox] ~ label {
  opacity: 1 !important;
  cursor: pointer;
  position: absolute;
  font-size: 18px;
  font-weight: normal;
  color: #777;
  font-family: "Roboto", sans-serif;
  top: 0px;
  left: 0;
  box-sizing: border-box;
  width: auto;
  padding-left: 52px;
  line-height: 32px;
}
.form-inner > div > div > input[type=checkbox]:checked ~ label {
  color: #333;
}
.form-inner > div > div > input[type=checkbox]:checked ~ .checkbox {
  border-color: #333;
}
.form-inner > div > div > input[type=checkbox]:checked ~ .checkbox > span {
  border-color: #333;
}
.form-inner > div > div > input[type=checkbox]:checked ~ .radio {
  border-color: #333;
}
.form-inner > div > div > input[type=checkbox]:checked ~ .radio > span {
  background-color: #333;
}
.form-inner > div > div > input:focus ~ label {
  color: #1065e7;
}
.form-inner > div > div > label {
  width: 100%;
  padding-bottom: 2px;
  cursor: default;
  font-weight: bold;
  position: absolute;
  font-size: 12px;
  font-family: "Roboto", sans-serif;
  top: -14px;
  left: 8px;
  opacity: 0;
  color: #777;
}
.form-inner > div > div > label.invalid {
  color: #d4412c;
  opacity: 1;
}
.form-inner > div > div > .dropdown-arrow,
.form-inner > div > div .spinner-arrow {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  position: absolute;
  right: 0;
  z-index: 6;
  cursor: pointer;
}
.form-inner > div > div > .spinner-arrow {
  padding: 0px 12px;
}
.form-inner > div > div > .spinner-arrow.up {
  bottom: 25px;
  padding-top: 12px;
  padding-bottom: 6px;
}
.form-inner > div > div > .spinner-arrow.up > div {
  border-bottom: 7px solid #bbb;
}
.form-inner > div > div > .spinner-arrow.up:active > div {
  border-bottom: 7px solid #1065e7;
}
.form-inner > div > div > .spinner-arrow.down {
  padding-bottom: 12px;
  padding-top: 6px;
  bottom: 0;
}
.form-inner > div > div > .spinner-arrow.down > div {
  border-top: 7px solid #bbb;
}
.form-inner > div > div > .spinner-arrow.down:active > div {
  border-top: 7px solid #1065e7;
}
.form-inner > div > div > .spinner-arrow > div {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
}
.form-inner > div > div > span.placeholder {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  position: absolute;
  left: 8px;
  bottom: 8px;
  color: #777;
  font-family: "Roboto", sans-serif;
  font-weight: normal;
  font-size: 18px;
  z-index: 0;
  opacity: 0.99;
}
.form-inner > div > div > span.prefix {
  font-size: 14px;
  font-family: "Roboto", sans-serif;
  position: absolute;
  color: #777;
  left: 8px;
  bottom: 6px;
  opacity: 0;
}
.form-inner > div > div > span.checkbox {
  width: 32px;
  height: 32px;
  border: 2px solid #bbb;
  display: block;
  position: relative;
  cursor: pointer;
  outline: none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  box-sizing: border-box;
}
.form-inner > div > div > span.checkbox > span {
  border-right: 2px solid transparent;
  border-bottom: 2px solid transparent;
  transform: rotate(45deg);
  width: 6px;
  height: 14px;
  position: relative;
  display: block;
  top: 4.17157288px;
  left: 10px;
}
html.no-touch form *,
html.no-touch form :before,
html.no-touch form ::before,
html.no-touch form :after,
html.no-touch form ::after {
  transition: opacity 0.08s ease-out, background 0.08s ease-out, color 0.08s ease-out, border 0.08s ease-out, max-height 0.08s ease-out, height 0.08s ease-out, width 0.08s ease-out;
}
html.no-touch form .checkbox:hover {
  border-color: #777;
}
html.no-touch form .checkbox:hover > span {
  border-color: #bbb;
}
html.no-touch form .checkbox:active,
html.no-touch form .checkbox:focus {
  border-color: #1065e7 !important;
}
html.no-touch form .checkbox:focus ~ label {
  color: #1065e7 !important;
}
html.no-touch form .input-hover {
  border-color: #777;
}
html.no-touch form .input-hover:before,
html.no-touch form .input-hover::before,
html.no-touch form .input-hover:after,
html.no-touch form .input-hover::after {
  background-color: #777;
}
html.no-touch form .input-hover .spinner-arrow.up > div {
  border-bottom: 7px solid #777;
}
html.no-touch form .input-hover .spinner-arrow.down > div {
  border-top: 7px solid #777;
}
html.no-touch form .input-hover .dropdown-arrow > div {
  border-top: 7px solid #777;
}
html.no-touch form .buttons > div > button:hover {
  border-color: #1065e7;
  color: #333;
}
html.no-touch form .spinner-arrow:hover.up > div {
  border-bottom: 7px solid #777;
}
html.no-touch form .spinner-arrow:hover.down > div {
  border-top: 7px solid #777;
}
html.no-touch form .dropdown-box p:hover {
  color: #1065e7 !important;
}
html.no-touch form .dropdown:hover .dropdown-arrow > div {
  border-top: 7px solid #777;
}
html.no-touch form input[type=checkbox] ~ label:hover ~ span.checkbox {
  border-color: #777;
}
html.no-touch form input[type=checkbox] ~ label:hover ~ span.checkbox > span {
  border-color: #bbb;
}
html.no-touch form input[type=checkbox] ~ label:hover ~ span.radio {
  border-color: #777;
}
html.no-touch form input[type=checkbox] ~ label:hover ~ span.radio > span {
  background-color: #bbb;
}
html.no-touch form input[type=checkbox]:checked ~ label:hover ~ span.checkbox {
  border-color: #333;
}
html.no-touch form input[type=checkbox]:checked ~ label:hover ~ span.checkbox > span {
  border-color: #333;
}
html.no-touch form input[type=checkbox]:checked ~ label:hover ~ span.radio {
  border-color: #333;
}
html.no-touch form input[type=checkbox]:checked ~ label:hover ~ span.radio > span {
  background-color: #333;
}
.clearfix {
  zoom: 1;
}
.clearfix:before,
.clearfix:after {
  content: "";
  display: table;
}
.clearfix:after {
  clear: both;
}
.unselectable {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
::-ms-clear {
  display: none;
}
* {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
input::-moz-focus-inner {
  padding: 0 !important;
  border: 0 none !important;
}
.animate {
  transition: opacity 0.08s ease-out, background 0.08s ease-out, color 0.08s ease-out, border 0.08s ease-out, max-height 0.08s ease-out, height 0.08s ease-out, width 0.08s ease-out;
}
.buttons {
  margin-top: 5px;
  width: 100%;
}
.buttons2 > div {
  width: 60%;
  padding: 0 10px;
  box-sizing: border-box;
  margin: 0 auto;
}
.buttons2 > div > button {
  font-family: "Roboto", sans-serif;
  font-weight: bold;
  border: none;
  outline: none;
  background-color: none;
  background: none;
  border: 2px solid #777;
  padding: 5px 0;
  font-size: 12px;
  width: 100%;
  cursor: pointer;
  color: #111;
}
.buttons2 > div > button:focus {
  border-color: #1065e7;
  color: #333;
}
.buttons2 > div > button:active {
  background-color: #1065e7;
  color: #fff !important;
}
.buttons2 > div > button:hover {
  border-color: #1065e7;
  color: #333;
}

.form-inner > div.buttons3 {
  margin-top: 10px;
}
.form-inner > div.buttons3 > div {
  width: 50%;
  padding: 0 10px;
  box-sizing: border-box;
  margin: 0;
  float: left;
}
.form-inner > div.buttons3 > div > button {
  font-family: "Roboto", sans-serif;
  font-weight: bold;
  border: none;
  outline: none;
  background-color: none;
  background: none;
  border: 2px solid #777;
  padding: 5px 0;
  font-size: 12px;
  width: 100%;
  cursor: pointer;
  color: #111;
}
.form-inner > div.buttons3 > div > button:focus {
  border-color: #1065e7;
  color: #333;
}
.form-inner > div.buttons3 > div > button:active {
  background-color: #1065e7;
  color: #fff !important;
}
.form-inner > div.buttons3 > div > button:hover {
  border-color: #1065e7;
  color: #333;
}

/* 画面全体 */
table.tblB {
	border-collapse: collapse;
	border-spacing: 0;
        margin:0 auto;
        width: 640px;
	max-width: 100vw;
}
@media screen and (max-width: 767px) {
  table.tblB {
    width: 100vw;     /* スマホ幅に合わせる */
    box-sizing: border-box; /* paddingの影響を排除 */
  }
}
table.tblB tr,
table.tblB td {
        border: none;
	padding: 0; /* cellpaddingを0にする */
	background: transparent;
}
table.tblB td.align-center {
    text-align: center !important;
}
table.tblB td.align-right {
    text-align: right;
}

/* 画面全体（売上一覧） */
table.tblC {
	border-collapse: collapse;
	border-spacing: 0;
        margin:0 auto;
        width: min(960px, 96vw);;
	max-width: 100vw;
}
@media screen and (max-width: 767px) {
  table.tblC {
    width: 100vw;     /* スマホ幅に合わせる */
    box-sizing: border-box; /* paddingの影響を排除 */
  }
}
table.tblC tr,
table.tblC td {
        border: none;
	padding: 0; /* cellpaddingを0にする */
	background: transparent;
}
table.tblC td.align-center {
    text-align: center !important;
}
table.tblC td.align-right {
    text-align: right;
}

.tblH{
        border-collapse:collapse;
        margin:0 0 10px 0;
        width: 100%;
}
.tblH th{
        border:1px solid #5d514b;
        color:#333;
        font-size:14px;
        background:#e0e0e0;
        padding:5px;
        text-align:center;
        vertical-align:top;
        line-height:1.3em;
	white-space:nowrap;
}
.tblH td{
        border:1px solid #5d514b;
        padding:5px;
        background:#fff;
        line-height:1.4em;
        font-size:14px;
	color:#202020;
}

table.tblH2{
        border-collapse:collapse;
        margin:0 0 0 0;
        width: 100%;
}
table.tblH2 th{
        border:1px solid #5d514b;
        color:#333;
        font-size:13px;
        background:#e0e0e0;
        padding:5px;
        text-align:center;
        vertical-align:middle;
        line-height:1.3em;
	white-space:nowrap;
}
table.tblH2 td{
        border:1px solid #5d514b;
        padding:5px;
        background:#fff;
        line-height:1.4em;
        text-align:center;
        font-size:13px;
	color:#202020;
}
table.tblH2 td.align-left {
    text-align: left !important;
}
table.tblH2 td.align-right {
    text-align: right !important;
}
table.tblH2 td.green { background:#c3f69d; }
table.tblH2 td.red { background:#f3baca; }
table.tblH2 th.blue { background: #ceceff; color: #0000ff; }
table.tblH2 th.red { background: #f3baca; color: #ff0000; }
table.tblH2 td.blue { background: #ededff; }
table.tblH2 td.red { background: #f5e5e9; }
table.tblH2 td.gray { background: #f0f0f0; }

table.tblH3{
        border-collapse:collapse;
        margin:0 0 0 0;
        width: 100%;
}
table.tblH3 th{
        border:1px solid #5d514b;
        color:#333;
        font-size:16px;
        background:#e0e0e0;
        padding:5px;
        text-align:center;
        vertical-align:middle;
        line-height:1.3em;
	white-space:nowrap;
}
table.tblH3 td{
        border:1px solid #5d514b;
        padding:5px;
        line-height:1.4em;
        text-align:center;
        font-size:16px;
	color:#202020;
}
table.tblH3 tr.green {
        background-color:#c3f69d;
}
table.tblH3 td.align-left {
    text-align: left !important;
}
table.tblH3 td.align-right {
    text-align: right !important;
}
table.tblH3 td.green {
        background:#c3f69d;
}
table.tblH3 td.red {
        background:#f3baca;
}
table.tblH3 td.muted {
	background:#eee; color:#666;
}

table.tblH4{
        border-collapse:collapse;
        margin:0 0 0 0;
        width: 800px;
}
table.tblH4 th{
        border:1px solid #5d514b;
        color:#333;
        font-size:13px;
        background:#e0e0e0;
        padding:5px;
        text-align:center;
        vertical-align:middle;
        line-height:1.3em;
        white-space:nowrap;
}
table.tblH4 td{
        border:1px solid #5d514b;
        padding:5px;
        line-height:1.4em;
        text-align:center;
        font-size:13px;
        color:#202020;
}
table.tblH4 tr.green {
        background-color:#c3f69d;
}
table.tblH4 td.align-left {
    text-align: left !important;
}
table.tblH4 td.align-right {
    text-align: right !important;
}
table.tblH4 td.green {
        background:#c3f69d;
}
table.tblH4 td.red {
	background:#f3baca;
}
table.tblH4 td.muted {
        background:#eee; color:#666;
}
/* 予約者が来店(=arrived)した行は、table-no以外を緑 */
table.tblH4 tr.arrived td:not(.table-no) {
        background:#c3f69d;
//	background:#e6ffe6;
}
/* テーブル内の全予約が揃ったら、左端の結合セルも緑 */
table.tblH4 td.table-no.all-done {
        background:#c3f69d;
//	background:#e6ffe6;
//	font-weight:700;
}

.tblU{
        border-collapse:collapse;
        margin:0 0 10px 0;
        width: 100%;
}
.tblU th{
        border:1px solid #5d514b;
        color:#333;
        font-size:14px;
        background:#e0e0e0;
        padding:5px;
        text-align:center;
        vertical-align:top;
        line-height:1.3em;
	white-space:nowrap;
}
.tblU td{
        border:1px solid #5d514b;
        padding:5px;
        background:#fff;
        line-height:1.4em;
        font-size:14px;
        text-align:center;
	color:#202020;
}
.tblU td.gl{
        border:1px solid #5d514b;
        padding:5px;
        background:#e0e0e0;
        line-height:1.4em;
        font-size:14px;
        text-align:center;
	color:#202020;
}

.tblT2{
        border-collapse:collapse;
        margin:10px 10px 10px 10px;
}
.tblT2 th{
        border:0px solid #000;
        color:#606060;
        font-size:20px;
        background:#ffffff;
        padding:0px;
        text-align:left;
        font-weight:bold;
	width: 40%;
}
.tblT2 td{
        border:0px solid #000;
        padding:0px;
        background:#ffffff;
        font-size:20px;
        font-weight:bold;
        color:#505050;
	width: 60%;
}
.tblT2 td.align-right {
    text-align: right !important;
}

.tblT3{
        border-collapse:collapse;
        margin:0px 0px 0px 0px;
}
.tblT3 td{
        border:0px solid #000 !important;
        padding:0px;
        font-size:16px;
        text-align:left !important;
}
.tblT3 td.align-right {
    text-align: right !important;
}


table.tblM{
        border-collapse:collapse;
        margin:0 0 10px 0;
        width: 100%;
}
table.tblM th{
        border:1px solid #5d514b;
        color:#333;
        font-size:16px;
        background: #e0e0e0;
        padding:5px;
        text-align:left;
        vertical-align:top;
        line-height:1.3em;
}
table.tblM td{
        border:1px solid #5d514b;
        padding:5px;
	font-size:14px;
	color: #5d514b;
        text-align:left;
        vertical-align:top;
        line-height:1.3em;
}

/* th, td共にcenter */
table.tblM2{
        border-collapse:collapse;
        margin:0 0 10px 0;
        width: 100%;
}
table.tblM2 th{
        border:1px solid #5d514b;
        color:#333;
        font-size:16px;
        background:#e0e0e0;
        padding:5px;
        vertical-align:top;
        line-height:1.0em;
}
table.tblM2 td{
        border: 1px solid #5d514b;
        padding: 5px;
	font-size: 14px;
	color: #5d514b;
        text-align: center;
        line-height: 1.3em;
}
table.tblM2 td.align-left {
    text-align: left !important;
}
table.tblM2 td.mark {
	background: #e0e0e0;
}

table.tblM3{
        border-collapse:collapse;
        margin:0 0 10px 0;
        width: 100%;
}
table.tblM3 th{
        border:1px solid #5d514b;
        color:#333;
        font-size:16px;
        background:#e0e0e0;
        padding:5px;
        vertical-align:top;
        line-height:1.0em;
}
table.tblM3 td{
        border: 1px solid #5d514b;
        padding: 5px;
	font-size: 14px;
	color: #5d514b;
        line-height: 1.3em;
}

table.tblM4{
        border-collapse:collapse;
        margin:0;
}
table.tblM4 td{
        border: none;
        padding:1px;
        background:#fff;
        line-height:1.3em;
}

.tblN{
        border-collapse:collapse;
        margin:0 0 0 0;
        width: 500px;
}
.tblN th{
        border:0px solid #000;
        color:#606060;
        font-size:20px;
        background:#ffffff;
        padding:0px;
        text-align:left;
        font-weight:bold;
	width: 40%;
}
.tblN td{
        border:0px solid #000;
        padding:0px;
        background:#ffffff;
        font-size:20px;
        font-weight:bold;
        color:#505050;
	width: 60%;
}
.tblN td.align-right {
    text-align: right !important;
}

h3{
    width: 60%;
    margin-top: 0px !important;
    border-bottom: 3px solid #a61919;  /*下線太さ 種類 色*/
    border-left: transparent;  /*左線を透明*/
    color: #303030; /*文字色*/
    font-size: 22px;
    font-family: "Roboto", sans-serif;
}
h4{
    margin-top: 20px !important;
    color: #303030; /*文字色*/
    font-size: 22px;
    font-family: "Roboto", sans-serif;
    margin-bottom: 10px !important;
    margin-left: 10px;
}
h5{
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    margin-top: 0px !important;
    margin-bottom: 15px;
    padding-bottom: 0px; 
    border-bottom: 2px solid #a61919;
    border-left: transparent;  /*左線を透明*/
    color: #303030;
    font-size: 20px;
    font-family: "Roboto", sans-serif;
}

.buttonsC {
  margin-top: 10px;
  width: 100%;
}
.buttonsC > div {
  width: 60%;
  padding: 0 10px;
  box-sizing: border-box;
  margin: 0 auto;
}
.buttonsC > div > button {
  font-family: "Roboto", sans-serif;
  font-weight: bold;
  border: none;
  outline: none;
  background-color: none;
  background: none;
  border: 2px solid #777;
  padding: 5px 0;
  font-size: 12px;
  width: 100%;
  cursor: pointer;
  color: #111;
}
.buttonsC > div > button:focus {
  border-color: #1065e7;
  color: #333;
}
.buttonsC > div > button:active {
  background-color: #1065e7;
  color: #fff !important;
}
.buttonsC > div > button:hover {
  border-color: #1065e7;
  color: #333;
}
.buttonsC > div > button:disabled {
  border-color: #ccc;
  color: #aaa;
  background-color: #f8f8f8;
  cursor: not-allowed;
  opacity: 0.6;
}

.buttonsD {
  margin-top: 10px;
  width: 100%;
}
.buttonsD > div {
  width: 50%;
  padding: 0 10px;
  box-sizing: border-box;
  margin: 0 auto;
}
.buttonsD > div > button {
  font-family: "Roboto", sans-serif;
  font-weight: bold;
  border: none;
  outline: none;
  background-color: none;
  background: none;
  border: 2px solid #777;
  padding: 5px 0;
  font-size: 12px;
  width: 100%;
  cursor: pointer;
  color: #111;
}
.buttonsD > div > button:focus {
  border-color: #1065e7;
  color: #333;
}
.buttonsD > div > button:active {
  background-color: #1065e7;
  color: #fff !important;
}
.buttonsD > div > button:hover {
  border-color: #1065e7;
  color: #333;
}

.form-inner > div.note {
  width: 90%;
  margin-right: 20px;
  margin-left: 20px;
  display: block;
  position: relative;
  float: left;
}

.tooltip {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.tooltip .tooltip-text {
  visibility: hidden;
  width: 180px;
  background-color: #444;
  color: #fff;
  text-align: center;
  padding: 5px;
  border-radius: 5px;
  
  /* ポップアップの位置 */
  position: absolute;
  bottom: 120%; /* 文字の上に表示 */
  left: 50%;
  transform: translateX(-50%);
  
  /* アニメーション */
  opacity: 0;
  transition: opacity 0.3s;
}

.tooltip:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}

 /* 年月日等表示位置統一表示 */
.dob {
    display: flex;
    flex-direction: column;
}

.dob-block {
    display: inline-block;
	margin-right: 5px;
    justify-content: right;
}
.num {
    min-width: 18px; /* 数字部分の幅を統一 */
    text-align: right;
    display: inline-block;
}

 /* イメージ／アイコン */
.dumbonet-logo {
	display: inline-block;
	width: 256px;
	height: 79px;
	background-image: url("/tanaka/image/dumbonetsystems_logo_256.png");
	background-size: cover; /* 画像をフィット */
	background-position: center;
	background-repeat: no-repeat;
}
/*
.tanaka-logo {
	display: inline-block;
	width: 125px;
	height: 55px;
	background-image: url("/tanaka/image/logo2.png");
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}
*/
.tanaka-logo {
  display:block;
  width: 160px;        /* PC基準 */
  max-width: 40vw;     /* 画面幅の4割まで縮む */
  aspect-ratio: 125 / 55; /* 縦横比を保持 */
  background:url("/tanaka/image/logo2.png") no-repeat center/contain;
}

.download-icon {
	display: inline-block;
	width: 50px;
	height: 20px;
	background-image: url("/tanaka/image/download.png");
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}
.trash-icon {
	display: inline-block;
	width: 20px;
	height: 20px;
	background-image: url("/tanaka/image/del.png");
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}
.edit-icon {
	display: inline-block;
	width: 20px;
	height: 20px;
	background-image: url("/tanaka/image/edit_icon.png");
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}
.shonin-icon {
	display: inline-block;
	width: 43px;
	height: 20px;
	background-image: url("/tanaka/image/shonin.png");
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

/*
input[type="radio"]:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
*/

.business_day {
	width: 420px;
	border: 2px solid #ccc;
	font-family: "Roboto", sans-serif;
	font-size: 18px;
	font-weight: bold;
}
.business_day:focus {
	outline: 0;
	border: 2px solid #2196f3;
}

/* キャンセルボタン表示用テーブル */
table.tblCALTOP {
    border-collapse: collapse;
    margin: 0;
    width: 100%;
}
table.tblCALTOP th {
    border: 0px solid #5d514b;
    text-align: left;
    color: #777;
    font-size: 28px;
    font-weight: bold;
    vertical-align: middle; /* アイコンをセルの中央にする */
    position: relative;
    height: 80px; /* セルの高さを統一 */
    padding: 0; /* 余計な余白を除去 */
}
table.tblCALTOP td {
    border: 0px solid #5d514b;
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    vertical-align: middle; /* アイコンをセルの中央にする */
    position: relative;
    height: 80px; /* セルの高さを統一 */
    padding: 0; /* 余計な余白を除去 */
}
table.tblCALTOP td.align-left {
	width: 20%;
	text-align: left;
}
table.tblCALTOP td.align-right {
	width: 20%;
	text-align: right;
}

/* 画面全体 */
table.tblCALBASE {
    border-collapse: collapse;
    margin: 0;
    width: 100%;
}
table.tblCALBASE th, table.tblCALBASE td {
    border: 0px solid #5d514b;
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    vertical-align: middle; /* アイコンをセルの中央にする */
    position: relative;
    height: 80px; /* セルの高さを統一 */
    padding: 0; /* 余計な余白を除去 */
}
table.tblCALBASE td.align-left {
	width: 20%;
	text-align: left;
}
table.tblCALBASE td.align-right {
	width: 20%;
	text-align: right;
}

/* カレンダーのスタイル */
table.tblCAL {
    border-collapse: collapse;
    margin: 0;
    width: 100%;
}
table.tblCAL th, table.tblCAL td {
    border: 1px solid #5d514b;
    width: 14.2%;
    text-align: center;
    vertical-align: middle; /* アイコンをセルの中央にする */
    position: relative;
    height: 80px; /* セルの高さを統一 */
    padding: 0; /* 余計な余白を除去 */
}
table.tblCAL th {
    background: #e0e0e0;
    color: #333;
    font-size: 14px;
    padding: 5px;
    line-height: 1.3em;
}

table.tblCAL th.blue { background: #ceceff; color: #0000ff; }
table.tblCAL th.red { background: #f3baca; color: #ff0000; }
table.tblCAL td.blue { background: #ededff; }
table.tblCAL td.red { background: #f5e5e9; }
table.tblCAL td.gray { background: #f0f0f0; }

/* セル内コンテンツ配置 */
.cell-content {
    display: flex;
    flex-direction: column;
    justify-content: center; /* セルの完全中央に配置 */
    align-items: center; /* 水平方向の中央揃え */
    width: 100%;
    height: 100%;
    padding: 4px;
}

/* 日付のスタイル（左上小さめ） */
.cal-day {
    font-size: 12px;
    font-weight: bold;
    position: absolute;
    top: 4px;
    left: 4px;
}

/* アイコンコンテナ（完全中央） */
.icon-container {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 90%;
  margin-top: 16px;     /* 上に余白 */
  padding-right: 8px;  /* 右に余白 */
}

/* ○△×予約アイコン */
.maru-icon, .sankaku-icon, .batsu-icon {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.allow-left, .allow-right {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.maru0-icon, .sankaku0-icon, .batsu0-icon,
.maru1-icon, .sankaku1-icon, .batsu1-icon,
.maru2-icon, .sankaku2-icon, .batsu2-icon,
.maru3-icon, .sankaku3-icon, .batsu3-icon,
.maru4-icon, .sankaku4-icon, .batsu4-icon {
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
}
.maru-icon {
    background-image: url("/tanaka/image/maru.png");
}
.sankaku-icon {
    background-image: url("/tanaka/image/sankaku.png");
}
.batsu-icon {
    background-image: url("/tanaka/image/batsu.png");
}
.allow-left {
    background-image: url("/tanaka/image/allow_left.png");
}
.allow-right {
    background-image: url("/tanaka/image/allow_right.png");
}
.maru0-icon {
    background-image: url("/tanaka/image/maru0.png");
    animation: blink 0.5s ease-in-out infinite alternate;
}
.maru1-icon {
    background-image: url("/tanaka/image/maru1.png");
    animation: blink 0.5s ease-in-out infinite alternate;
}
.maru2-icon {
    background-image: url("/tanaka/image/maru2.png");
    animation: blink 0.5s ease-in-out infinite alternate;
}
.maru3-icon {
    background-image: url("/tanaka/image/maru3.png");
    animation: blink 0.5s ease-in-out infinite alternate;
}
.maru4-icon {
    background-image: url("/tanaka/image/maru3.png");
    animation: blink 0.5s ease-in-out infinite alternate;
}
.batsu0-icon {
    background-image: url("/tanaka/image/batsu0.png");
}
.batsu1-icon {
    background-image: url("/tanaka/image/batsu1.png");
}
.batsu2-icon {
    background-image: url("/tanaka/image/batsu2.png");
}
.batsu3-icon {
    background-image: url("/tanaka/image/batsu3.png");
}
.batsu4-icon {
    background-image: url("/tanaka/image/batsu3.png");
}
.sankaku0-icon {
    background-image: url("/tanaka/image/sankaku0.png");
    animation: blink 0.5s ease-in-out infinite alternate;
}
.sankaku1-icon {
    background-image: url("/tanaka/image/sankaku1.png");
    animation: blink 0.5s ease-in-out infinite alternate;
}
.sankaku2-icon {
    background-image: url("/tanaka/image/sankaku2.png");
    animation: blink 0.5s ease-in-out infinite alternate;
}
.sankaku3-icon {
    background-image: url("/tanaka/image/sankaku3.png");
    animation: blink 0.5s ease-in-out infinite alternate;
}
.sankaku4-icon {
    background-image: url("/tanaka/image/sankaku3.png");
    animation: blink 0.5s ease-in-out infinite alternate;
}
.maruS-icon {
    background-image: url("/tanaka/image/maruS.png");
    animation: blink 0.5s ease-in-out infinite alternate;
}
.batsuS-icon {
    background-image: url("/tanaka/image/batsuS.png");
}
.sankakuS-icon {
    background-image: url("/tanaka/image/sankakuS.png");
    animation: blink 0.5s ease-in-out infinite alternate;
}
.sgrade-icon {
    background-image: url("/tanaka/image/sgrade.png");
}
.agrade-icon {
    background-image: url("/tanaka/image/agrade.png");
}
.bgrade-icon {
    background-image: url("/tanaka/image/bgrade.png");
}
.cgrade-icon {
    background-image: url("/tanaka/image/cgrade.png");
}

/* ○△×凡例 */
.legend-box-center {
  display: flex;
  justify-content: center;  /* 右寄せ */
  align-items: center;
  gap: 1.2em;
  font-size: 1em;  /* サイズ2/3程度 */
  margin-top: 0.5em;
  padding-right: 1em;
  position: relative;
  z-index: 0;
}
.legend-box {
  display: flex;
  justify-content: flex-end;  /* 右寄せ */
  align-items: center;
  gap: 1.2em;
  font-size: 1em;  /* サイズ2/3程度 */
  margin-top: 0.5em;
  padding-right: 1em;
  position: relative;
  z-index: 0;
}
.legend-item {
  display: flex;
  align-items: center;
  gap: 0.2em;
}
.legend-icon {
  display: inline-block;
  width: 1.2em;
  height: 1.2em;
  margin-right: 0.2em;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  vertical-align: middle;
}

/* 予約 (背景画像付きのテーブル) */
@media screen and (min-width: 768px) {
  .tblR {
    width: 640px;
    aspect-ratio: 600 / 721;
    background-image: url("/tanaka/image/floor_base.webp");
    background-repeat: no-repeat;
    background-position: center top;
    background-size: contain;
    position: relative;
    margin: 0 auto;
  }
}
@media screen and (max-width: 767px) {
  .tblR {
    width: 100vw;
    aspect-ratio: 600 / 721;
    background-image: url("/tanaka/image/floor_base.webp");
    background-repeat: no-repeat;
    background-position: center top;
    background-size: contain;
    position: relative;
    margin: 0 auto;
    height: auto !important;
    min-height: 0 !important;
    padding: 0 !important;
    box-sizing: border-box;
  }
}

/* PC 用のスタイル */
@media screen and (min-width: 768px) {
    .maru0-icon, .sankaku0-icon, .batsu0-icon,
    .maru1-icon, .sankaku1-icon, .batsu1-icon,
    .maru2-icon, .sankaku2-icon, .batsu2-icon,
    .maru3-icon, .sankaku3-icon, .batsu3-icon {
        width: 80px;
        height: 80px;
    }
    .maru4-icon, .sankaku4-icon, .batsu4-icon {
        width: 60px;
        height: 60px;
    }
    table.tblR {
        width: 640px; /* PCでは 640px に */
        background-size: 100% auto; /* 画像の幅を100%に調整 */
    }
    /* アイコンの位置（PC用） */
    .table1 { position: absolute; top: 20px; left: 25px; }
    .table2 { position: absolute; top: 148px; left: 25px; }
    .table3 { position: absolute; top: 268px; left: 25px; }
    .table4 { position: absolute; top: 420px; left: 25px; }
    .table5 { position: absolute; top: 420px; left: 112px; }
    .table6 { position: absolute; top: 420px; left: 210px; }
    .table7 { position: absolute; top: 20px; left: 535px; }
    .table8 { position: absolute; top: 148px; left: 535px; }
    .table9 { position: absolute; top: 268px; left: 535px; }
    .table10 { position: absolute; top: 420px; left: 535px; }
    .table11 { position: absolute; top: 420px; left: 435px; }
    .table12 { position: absolute; top: 560px; left: 115px; }
    .table13 { position: absolute; top: 560px; left: 217px; }
    .table14 { position: absolute; top: 503px; left: 445px; }
    .table15 { position: absolute; top: 563px; left: 445px; }
    .table16 { position: absolute; top: 623px; left: 445px; }
}
@media screen and (max-width: 767px) {
    .maru0-icon, .sankaku0-icon, .batsu0-icon,
    .maru1-icon, .sankaku1-icon, .batsu1-icon,
    .maru2-icon, .sankaku2-icon, .batsu2-icon,
    .maru3-icon, .sankaku3-icon, .batsu3-icon {
        width: 12.5vw; /* 画面幅の10% */
        height: 12.5vw; /* 画面幅の10% */
    }
    .maru4-icon, .sankaku4-icon, .batsu4-icon {
        width: 10.0vw; /* 画面幅の10% */
        height: 10.0vw; /* 画面幅の10% */
    }
    table.tblR {
        width: 100vw;
        height: 100vh;
        background-size: 100% auto; /* 画像の幅を100%に調整 */
    }

    /* アイコンの位置を `vw` と `vh` で調整 */
    .table1 { position: absolute; top: 3.1vw; left: 3.8vw; }
    .table2 { position: absolute; top: 23vw; left: 3.8vw; }
    .table3 { position: absolute; top: 42.1vw; left: 3.8vw; }
    .table4 { position: absolute; top: 65.8vw; left: 3.8vw; }
    .table5 { position: absolute; top: 65.8vw; left: 17.5vw; }
    .table6 { position: absolute; top: 65.8vw; left: 33vw; }
    .table7 { position: absolute; top: 3.1vw; left: 84vw; }
    .table8 { position: absolute; top: 23vw; left: 84vw; }
    .table9 { position: absolute; top: 42.1vw; left: 84vw; }
    .table10 { position: absolute; top: 65.8vw; left: 84vw; }
    .table11 { position: absolute; top: 65.8vw; left: 68vw; }
    .table12 { position: absolute; top: 87.5vw; left: 18vw; }
    .table13 { position: absolute; top: 87.5vw; left: 34vw; }
    .table14 { position: absolute; top: 78.5vw; left: 69.3vw; }
    .table15 { position: absolute; top: 88vw; left: 69.3vw; }
    .table16 { position: absolute; top: 97vw; left: 69.3vw; }
}

.red {
	color: #ff0000;
}
.green {
	color: #008000;
}

/* JSパラメータ */
@keyframes afterblink {
    0% { opacity: 1; }
    100% { opacity: 0; }
}
@keyframes blink {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

/* 予約金額表示枠 */
table.tblG {
	border-collapse: collapse; /* cellspacingを0にする */
	border-spacing: 0; /* 念のため cellspacingを0に明示 */
	margin:0;
}
table.tblG tr,
table.tblG td {
        border: none;
	padding: 0; /* cellpaddingを0にする */
	background: transparent;
	text-align: right;
	white-space: nowrap;
}
table.tblG td {
	width: 100px;
	font-weight: bold;
}
table.tblG th {
	font-size: 16px;
	font-family: "Roboto", sans-serif;
	font-weight: bold;
	color: #555;
	text-align: left;
        border: none;
	padding: 0; /* cellpaddingを0にする */
	background: transparent;
}
table.tblG td.align-center {
    text-align: center !important;
}

/* ラジオボタン２ */
 @keyframes radio-select {
    0% {
        transform: scale(0, 0);
    }
    65% {
        transform: scale(1.1, 1.1);
    }
    100% {
        transform: scale(1, 1);
    }
}
.container-radio {
  display: flex;           /* 横並びにする */
  justify-content: space-between;
  gap: 1rem;
  margin: 1rem 0;
}
.container-radio label {
  display: inline-flex;    /* ← blockを解除 */
  align-items: center;
  width: 48%;              /* 半分ずつ（gapを考慮して48%に） */
  position: relative;
  padding-left: 40px;
  cursor: pointer;
  font-size: 16px;
  color: #777;
}
@media screen and (max-width: 600px) {
  .container-radio label {
    width: 100%;
  }
}
.container-radio input {
  height: 1px;
  width: 1px;
  opacity: 0;
  position: absolute;
}
.outside {
  display: inline-block;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border: 2px solid #CCC;
  border-radius: 50%;
  background: #F3F3F3;
  box-sizing: border-box;
}
.inside {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #444;
  transition: transform 0.1s linear;
}

input[type="radio"]:checked ~ .outside .inside {
  transform: translate(-50%, -50%) scale(1);
}

/* Fallback for no transforms (optional) */
.no-transforms .inside {
  width: 0;
  height: 0;
}
.no-transforms input:checked + .outside .inside {
  width: 20px;
  height: 20px;
}

/* 日付選択ラジオボタン */
.radio02{
	float: left;	
	width: 100%;	
	margin:0 0 0 0;
}
.radio02 input{
	display: none;
}
.radio02 label{
	display: block;
	float: left;
	cursor: pointer;
	width: 16%;
	margin: 1px 0 1px 0;
	padding: 1.4% 0 1.5% 0;
	border-right: 1px solid #d7d7d7;
	background: #e5e5e5;
	color: #555e64;
	font-size: 16px;
	font-weight: bold;
	text-align: center;
	line-height: 1;
	transition: .2s;
}
.radio02 label:first-of-type{
}
.radio02 label:last-of-type{
	border-right: 0px;
}
.radio02 input[type="radio"]:checked + label {
	background-color: #a1b91d;
	color: #fff;
}

/* 電話番号検索フォーム */
.container-phone {
	border: none;
	font-size: 20px;
	font-family: "Roboto", sans-serif;
	font-weight: bold;
	color: #555;
}

/* カレンダー内時刻選択 */
.time-button {
  font-size: 14px;
  padding: 5px 0;
  border-radius: 4px;
  border: none;
  width: 100%;
  text-align: center;
  font-weight: bold;
}
.time-button.available {
  background-color: #7bad75;
  color: white;
  cursor: pointer;
}
.time-button.almost {
  background-color: #f4b23a; /* オレンジ */
  color: white;
  cursor: pointer;
}
.time-button.full {
  position: relative;
  background-color: #d66;
  color: white;
  cursor: not-allowed;
  opacity: 0.6;
}
/* ×の斜線 */
.time-button.full::before,
.time-button.full::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 45%;
  background: red;
  height: 4px;
  transform-origin: center;
}
.time-button.full::before {
  transform: translate(-50%, -50%) rotate(45deg);
}
.time-button.full::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.cancel-icon {
        display: inline-block;
        width: 86px;
        height: 20px;
        background-image: url("/tanaka/image/cancel.png");
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
}

/* ホール担当者時間選択ボタン */
.radio-container {
    display: flex;
    gap: 10px; /* ボタン間の余白 */
    flex-wrap: wrap; /* 折り返ししたい場合 */
    justify-content: center;
    margin: 10px 0;
}
.buttonH1 {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100px;
    margin:0 auto;
    padding: .4em 2em;
    border: none;
    border-radius: 5px;
    background: linear-gradient(to top, rgb(10, 150, 174), #67ecff);
    color: #fff;
    font-weight: 600;
    font-size: 1.0em;
}
.buttonH1:hover {
    background-color: #28acd9;
}
.buttonH2 {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100px;
    margin:0 auto;
    padding: .4em 2em;
    border: none;
    border-radius: 5px;
    background: linear-gradient(to top, rgb(95, 144, 153), #b7ced2);
    color: #ddd;
    font-weight: 600;
    font-size: 1.0em;
}
.buttonH2:hover {
    background-color: #28acd9;
}

/* ホール担当用ロゴ表示 */
.top-container {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* GMOペイメント */
#any-wrapper-id1, #any-wrapper-id2, #any-wrapper-id3, #name-input-id {
      line-height: 2;
      border: 0px solid #ccc;
      padding: 2px;
      margin-bottom: 0px;
      width: 200px;
}
#overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 1.2em;
  text-align: center;
  pointer-events: all; /* 全イベントを遮断 */
}
#spinner img {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
}
.card-label {
  display: inline-block;
  vertical-align: middle;
  margin-left: 6px;
}
.spinner {
        display: inline-block;
        width: 150px;
        height: 150px;
        background-image: url("/wp-content/themes/themis/media/image/tengel/spinner.gif");
        background-size: cover; /* 画像をフィット */
        background-position: center;
        background-repeat: no-repeat;
}

/* キャンセルボタン */
.button-2 {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 200px;
    margin:0 auto;
    padding: .6em 2em;
    border: none;
    border-radius: 5px;
    background-color: #e47444;
    color: #fff;
    font-weight: 600;
    font-size: 0.6em;
}
.button-2:hover {
    background-color: #d46434;
}

/* ご来店ボタン */
.button-3 {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100px;
    margin:0 auto;
    padding: .6em 2em;
    border: none;
    border-radius: 5px;
    background-color: #7bad75;
    color: #fff;
    font-weight: 600;
    font-size: 0.8em;
}
.button-3:hover {
    background-color: #8bbd85;
}
/* ご来店キャンセルボタン */
.button-4 {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100px;
    margin:0 auto;
    padding: .6em 2em;
    border: none;
    border-radius: 5px;
    background-color: #e47444;
    color: #fff;
    font-weight: 600;
    font-size: 0.8em;
}
.button-4:hover {
    background-color: #d46434;
}

/* 言語タブ */
.langtab {
    display: flex;
    flex-wrap: wrap;
    max-width: 100%;
    justify-content: space-between;
}

.langtab > label {
    flex: 1 1;
    order: -1;
    min-width: 60px;
    padding: .7em 1em .5em;
    border-bottom: 1px solid #f0f0f0;
    border-radius: 0;
    background-color: #e9f0f6;
    color: #585858;
    font-size: .9em;
    text-align: center;
    cursor: pointer;
}

.langtab > label:hover {
    opacity: .8;
}

.langtab input {
    display: none;
}

.langtab > div {
    display: none;
    width: 100%;
    padding: 1.5em 1em;
    background-color: #fff;
}

.langtab label:has(:checked) {
    background-color: #fff;
    border-color: #ffa742 #f0f0f0 #fff;
    border-style: solid;
    border-width: 4px 1px 1px;
    border-radius: 5px;
    color: #383838;
}

.langtab label:has(:checked) + div {
    display: block;
}

/* アレルギー等Textarea */
.textbox-2 {
    color: #333;
}
.textbox-2 {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #d2d2d2;
    border-radius: 3px;
    background: #f7f7f7;
    font-size: 1em;
    line-height: 1.5;
}
.textbox-2::placeholder {
    color: #999;
}

/* 最終確認画面でのアレルギー等一覧 */
.list1 {
  padding-bottom: 4px;
  padding-left: 10px;
}
.list1 ul li {
  padding: 4px 0;
  list-style: inside;
  margin-left: 1rem;
  text-indent: -1rem;
}

/* res内容表示用テーブル */
table.brwsr1 {
	width: 100%;
	font-size: 14px;
	margin: 0 auto;
	border-collapse: separate;
	border-spacing: 0px 1px;
}
table.brwsr1 th {
	padding: 12px;
	vertical-align: middle;
	text-align: left;
	border-bottom: #999 1px solid;
	color: #fff;
}
table.brwsr1 td {
	padding: 12px;
	vertical-align: middle;
	text-align: left;
	border-bottom: #999 1px solid;
	font-size: 14px;
}
table.brwsr1 th.r1 {
	width: 30%;
	border-right: #999 1px solid;
	background: #447791;
}
table.brwsr1 th.r2,
table.brwsr1 td.r2 {
	width: 70%;
	border-left: #fff 1px solid;
	border-right: #999 1px solid;
	background: #5893b1;
	color: #fff;
}
table.brwsr1 th.r2,
table.brwsr1 th.r3,
table.brwsr1 th.r4 {
	text-align: center;
}
table.brwsr1 th.r3,
table.brwsr1 td.r3 {
	width: 70%;
	border-left: #fff 1px solid;
	border-right: #999 1px solid;
	background: #7cacc2;
}
table.brwsr1 th.r4,
table.brwsr1 td.r4 {
	width: 70%;
	border-left: #fff 1px solid;
	background: #a0c2d3;
}

/* 注意事項 */
.box27 {
    position: relative;
    width: 100%;
    box-sizing: border-box;
    margin: 1.5em 0;
    padding: 0.5em 1em;
    border: solid 3px #447791;
}
.box27 .box-title {
    position: absolute;
    top: -27px;
    left: -3px;
    padding: 0 9px;
    height: 25px;
    line-height: 25px;
    font-size: 17px;
    background: #447791;
    color: #ffffff;
    font-weight: bold;
    border-radius: 5px 5px 0 0;
}
.box27 p {
    margin: 0; 
    padding: 0 0 1em 0;
}

/* 情報表示 */
.info1 {
	font-weight: bold;
	text-decoration: underline;
	font-size: 15px;
	margin-bottom: 10px;
}

table.tblI {
  width: 100%;
  border-collapse: separate;
  border-spacing: 10px; /* 隙間の設定 */
}
table.tblI td {
  padding: 5px;
  text-align: center;
  vertical-align: middle;
}
table.tblI img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  object-fit: contain;
}

.section p {
  text-align: justify;
  text-justify: inter-word; /* 単語間で調整 */
}

.titlebar {
  font-weight: bold;
  padding: 0.5em 1em;
  background-color: #4c9ac0;
  color: #fff;
  overflow: hidden;
  position: relative;
}
.titlebar::after {
  content: '';
  background-color: #fff;
  opacity: 0.3;
  transform: rotate(-65deg);
  position: absolute;
  bottom: -250px;
  right: -250px;
  width: 300px;
  height: 500px;
}

/* ヘッダー行（テーブルは使わない） */
.cal-top{
  display:flex;
  align-items:center;
  justify-content:space-between; /* 左ロゴ／右ボタン */
  gap:16px;
  padding:8px 12px;
  max-width:1200px;
  margin:0 auto;
}

/* ボタン */
.buttonIconText{
  display:inline-flex;
  align-items:center;
  gap:8px;
  /* 幅は固定しない：内容に合わせる */
  padding:10px 16px;
  font:16px/1.2 sans-serif;
  color:#fff;
  background-color:#6fa24a;
  border-radius:9999px;
  text-decoration:none;
  white-space:nowrap;     /* 1行に収める：折り返し防止 */
  flex-shrink:0;          /* 狭い時も潰れない */
}
.buttonIconText:hover{ background-color:#54802f; }

/* アイコン丸背景 */
.buttonIconText_icon{
  display:flex;
  align-items:center;
  justify-content:center;
  width:36px;
  height:36px;
  background:#fff;
  border-radius:50%;
}

.buttonIconText_text{ /* 文字側はそのまま */ }

/* スマホ：ロゴを少し小さく、必要なら2段に回り込み */
@media (max-width:640px){
  .cal-top{ flex-wrap:wrap; }
  .tanaka-logo{ width:160px; height:48px; }
  /* 右端配置を維持しつつ崩れにくく */
  .buttonIconText{ margin-left:auto; }
}

/* さらに小さい画面ではボタンを中央寄せ・少し小さく */
@media (max-width:420px){
  .buttonIconText{
    padding:10px 14px;
  }
  .buttonIconText_icon{
    width:32px; height:32px;
  }
}

/* イベント設定 時刻表示用 */
.time-icon {
  display: inline-block;  /* 横並び用 */
  font-size: 13px;
  padding: 5px 0;
  border-radius: 4px;
  border: none;
  width: 72px;
  text-align: center;
  font-weight: bold;
  background-color: #7bad75;
  color: white;
  margin-right: 4px; /* ボタン間の余白 */
}
