@charset "UTF-8";
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: auto;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.4);
  animation: fadeIn 0.5s ease 0s 1 normal;
}
.modal .modal-content {
  background-color: #fff;
  margin: 5% auto;
  padding: 20px;
  border: 1px solid #888;
  border-radius: 5px;
  width: 60%;
}
@media screen and (max-width: 768px) {
  .modal .modal-content {
    width: 90%;
  }
}
.modal .close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}
.modal .close:hover, .modal .close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.input-field {
  margin: 15px auto;
}

.btn {
  margin: 15px auto;
  display: inline-block;
  text-align: left;
  font-size: 16px;
  color: #FFF;
  text-decoration: none;
  font-weight: bold;
  padding: 5px 20px;
  border-radius: 4px;
}
.btn:active {
  transform: translateY(4px);
  border-bottom: none;
}

.btn-small {
  margin: 5px;
  background-color: #2191FB;
  color: white;
}

.container {
  width: 80%;
  margin: 10vw auto;
}

.input-wrapper {
  display: flex;
  border-top: 1px solid grey;
  border-left: 1px solid grey;
  border-right: 1px solid grey;
}
.input-wrapper:last-of-type {
  border-bottom: 1px solid grey;
}
.input-wrapper .label-field {
  width: 30%;
  padding: 1em;
  background-color: #ccc;
  font-weight: bold;
}
.input-wrapper .input-field {
  margin: 0 auto;
  width: 70%;
  text-align: left;
  padding: 1em;
}
.input-wrapper .input-field p {
  margin: 0.5em;
}

.short-input {
  width: 50px;
}

.middle-input {
  width: 100px;
}

.long-input {
  width: 200px;
}

.error_box {
  margin: 0.5em auto;
  background-color: #f2dede;
  border: 1px solid #ebcccc;
  color: #a94442;
}
.error_box p {
  text-align: center;
  margin: 0.5em auto;
}

.fadein {
  transform: translateY(50px);
  opacity: 0;
  visibility: hidden;
  transition: transform 1s, opacity 1s, visibility 1s;
}

.is-fadein {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
}

.header-image {
  background-image: url("/assets/header1.jpg");
  margin-top: -145px;
  height: 600px;
  width: 100%;
  background-size: cover;
}

.text-main {
  margin-top: 250px;
}

.flex-box {
  display: flex;
  justify-content: space-around;
}

.item {
  width: 30%;
}

.top-comment {
  margin-top: 50px;
}

.top-comment .title {
  font-weight: bolder;
  font-size: 20px;
}

#new_user > div.actions > input {
  margin: 20px 0px;
}

.signup, .signin {
  margin: 0 20px;
}

.lppage-img > img {
  margin: 30px auto;
  width: 80%;
  height: auto;
  display: inline-block;
  border: 1px solid gray;
}

.size-h3 {
  font-size: 2.5vw;
  font-weight: bold;
}

.size-h2 {
  font-weight: bold;
  font-size: 3vw;
}

.size-p {
  font-size: 2vw;
}

.lppage-main .bottom {
  margin-bottom: 100px;
  text-align: center;
}

.lppage-main .btn-inquiry-hpcm {
  background: #deb887;
  color: white;
  text-align: center;
  margin: 0 auto;
  padding: 1.2vw 4vw 2vw 4vw;
  font-size: 2.5vw;
  width: 100%;
  height: 6vw;
  display: inline-block;
  border-radius: 4px;
  border: 1px solid gray;
  /**/
  display: inline-block;
  font-weight: bold;
  background-image: linear-gradient(-90deg, #FF006E, #FFD500);
  transition: 0.5s;
  background-size: 200%;
}

.lppage-main .btn-inquiry-hpcm:hover {
  background-position: right center;
  color: white;
}

.lppage-main .hpcm-inquiry-btn > a {
  text-decoration: none;
}

.lppage-main .hpcm-inquiry-btn {
  font-family: "Yu Gothic", YuGothic, Verdana, "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", "メイリオ", Meiryo, sans-serif;
  text-align: center;
  width: 60vw;
  margin: 0 auto 50px;
}

.lppage-main div, .lppage-main p, .lppage-main h1, .lppage-main h2, .lppage-main h3 {
  text-align: center;
}

.lppage-main img {
  border-radius: 2px;
}

#page_top {
  width: 90px;
  height: 90px;
  position: fixed;
  right: 0;
  bottom: 0;
  opacity: 0.6;
}

#page_top a {
  position: relative;
  display: block;
  width: 90px;
  height: 90px;
  text-decoration: none;
}

#page_top a::before {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  content: "⬆︎";
  font-size: 25px;
  color: #3f98ef;
  position: absolute;
  width: 25px;
  height: 25px;
  top: -40px;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  text-align: center;
}

#page_top a::after {
  content: "PAGE TOP";
  font-size: 13px;
  color: #fff;
  position: absolute;
  top: 45px;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  text-align: center;
  color: #3f98ef;
}

@media (max-width: 970px) {
  .header-image {
    background-image: url("/assets/header1.jpg");
    margin-top: -100px;
    height: 500px;
    width: 100%;
    background-size: cover;
  }
  .text-main {
    margin-top: 200px;
  }
  .title {
    margin-left: 15px;
    margin-right: 15px;
  }
  .flex-box {
    display: block;
    margin-left: 30px;
    margin-right: 30px;
  }
  .item {
    width: 80%;
    margin-left: 15px;
    margin-right: 15px;
  }
}
@media (max-width: 760px) {
  .header-image {
    background-image: url("/assets/header1.jpg");
    height: 400px;
    width: 100%;
    background-size: cover;
  }
  .text-main {
    margin-top: 190px;
  }
}
.readme {
  margin: 30px 30px;
}

.lppage-top {
  margin-top: 0px;
  background-image: url("/new-images/worry-2.jpg");
  width: 100vw;
  height: 55vw;
  background-size: cover;
}

span.Heading {
  font-weight: bold;
}

.inquiries-table tbody td {
  overflow-x: scroll;
}

#inquiry-index {
  width: 80%;
  margin: 150px auto;
}

#inquiry .my-form {
  display: block;
  width: 75vw;
  height: 34px;
  padding: 6px 12px;
  font-size: 14px;
  line-height: 1.42857143;
  color: #555555;
  background-color: rgb(232, 240, 254);
  background-image: none;
  border: 1px solid #cccccc;
  border-radius: 4px;
}

#inquiry textarea.my-form {
  display: block;
  width: 75vw;
  height: 200px;
  padding: 6px 12px;
  font-size: 14px;
  line-height: 1.42857143;
  color: #555555;
  background-color: rgb(232, 240, 254);
  background-image: none;
  border: 1px solid #cccccc;
  border-radius: 4px;
}

#inquiry .actions {
  margin-top: 20px;
}

#inquiry .send-submit {
  background: #337ab7;
  display: inline-block;
  max-width: 180px;
  text-align: left;
  font-size: 16px;
  color: #FFF;
  text-decoration: none;
  font-weight: bold;
  padding: 5px 20px;
  border-radius: 4px;
  border-color: #2e6da4;
  border: solid 1px rgba(0, 0, 0, 0);
}

#inquiry .send-submit:hover {
  opacity: 0.7;
}

.top-image {
  width: 100%;
}

.main-main {
  margin-top: 80px;
  min-height: calc(100vh - 430px);
}

.top-word-word {
  position: absolute;
  top: 110px;
  padding: 0 23%;
  font-size: 1vw;
  font-weight: 600;
  margin: 0 auto;
  z-index: 2;
}
.top-word-word .title-1, .top-word-word .title-2 {
  font-size: 2.5vw;
  font-weight: 700;
}
.top-word-word .title-1 {
  margin-top: 2.1vw;
}
.top-word-word span {
  margin-right: 20px;
  font-size: 1.2vw;
}
.top-word-word .shop {
  display: grid;
  grid-template-columns: 18% 22% 59%;
  margin-bottom: 2.1vw;
}
.top-word-word .top-banner {
  margin-top: 2.1vw;
  width: 50%;
}

@media screen and (max-width: 792px) {
  .main-main {
    margin-top: 0px;
    min-height: calc(100vh - 230px);
  }
  .top-word-word {
    padding: 0;
    left: 15px;
    font-size: 10px;
    top: calc(15vw + 80px);
    width: 90%;
  }
  .top-word-word .shop {
    display: grid;
    grid-template-columns: 15% 70%;
    margin-bottom: 30px;
  }
  .top-word-word .shop .kitamura {
    display: block;
    width: 300px;
  }
  .top-word-word .title-1, .top-word-word .title-2 {
    font-size: 7vw;
  }
  .top-word-word .title-1 {
    margin-top: 30px;
  }
  .top-word-word .top-banner {
    width: 250px;
  }
}
#main-top .top-word {
  position: relative;
}
#main-top .sale-metatron {
  position: absolute;
  top: 34vw;
  left: 21vw;
  width: 8vw;
  height: 12vw;
  opacity: 0.5;
}
#main-top .features {
  width: 90%;
  margin: 50px auto 0;
}
#main-top .features .features-top {
  width: 90%;
  margin: 0 auto;
}
#main-top .features .features-top .sp-top-banner {
  display: none;
}
#main-top .features .features-top h3 {
  letter-spacing: 2px;
  margin: 0 0 10px 0;
  font-weight: 900;
}
#main-top .features .features-top .top-word {
  font-size: 20px;
  font-weight: 700;
}
#main-top .features .features-top .mstarcosmic {
  font-size: 50px;
  font-weight: 900;
  letter-spacing: 5px;
  margin-bottom: 10px;
}
@media screen and (max-width: 792px) {
  #main-top .features .features-top .mstarcosmic {
    font-size: 30px;
  }
  #main-top .features .features-top .top-word {
    font-size: 13px;
  }
}
#main-top .features .features-top p {
  font-size: 11px;
  padding: 1%;
  font-weight: 500;
}
@media screen and (max-width: 792px) {
  #main-top .features {
    width: 90%;
  }
  #main-top .metatron-features .metatron-features-title {
    font-size: 4vw;
  }
  #main-top .metatron-features .detail {
    display: none;
  }
  #main-top .metatron-features .sp-detail {
    display: block;
    font-size: 11px;
    margin: 20px 0;
  }
  #main-top .metatron-features .sp-about-metatron-link:hover {
    opacity: 0.8;
  }
  #main-top .metatron-features .metatron-feature {
    display: block;
  }
  #main-top .metatron-features .metatron-feature .metatron-feature-each {
    width: 100%;
  }
  #main-top .metatron-features .metatron-feature .metatron-feature-each .title {
    margin: 20px 0;
    font-size: 4vw;
  }
  #main-top .metatron-features .metatron-feature .metatron-feature-each .detail {
    display: none;
  }
  #main-top .metatron-features .metatron-feature .metatron-feature-each .sp-detail {
    display: block;
    text-align: center;
    font-size: 11px;
  }
}

.metatron-features {
  margin: 50px 0 0;
  padding: 5% 10%;
  color: #000;
  background: rgba(63, 152, 239, 0.2);
}
.metatron-features .sp-detail {
  display: none;
}
.metatron-features p {
  font-size: 11px;
  padding: 10px 10px 20px 10px;
  color: #000;
}
.metatron-features .about-button {
  margin-top: 50px;
  text-align: center;
  padding-bottom: 30px;
}
.metatron-features .about-button a > img {
  display: inline-block;
  width: 18vw;
}
.metatron-features .about-button a > img:hover {
  opacity: 0.8;
}
.metatron-features .metatron-features-title {
  padding: 20px 1%;
  font-size: 17px;
  text-align: center;
}
.metatron-features .metatron-feature {
  color: #000;
  display: flex;
  justify-content: space-between;
}
.metatron-features .metatron-feature .metatron-feature-each {
  text-align: center;
  width: 80%;
  margin: 0 auto;
}
.metatron-features .metatron-feature .metatron-feature-each .title {
  text-align: center;
  margin: 30px 0;
  font-size: 1.2vw;
}
.metatron-features .metatron-feature .metatron-feature-each .detail {
  text-align: center;
  color: #000;
  font-size: 1vw;
  padding: 7px;
}
.metatron-features .metatron-feature .metatron-feature-each .sp-detail {
  display: none;
}
.metatron-features .metatron-feature .metatron-feature-each .feature-img {
  display: inline-block;
  width: 38vw;
  height: 25vw;
  object-fit: cover;
}

@media screen and (max-width: 792px) {
  .features {
    width: 100%;
    margin: 30px 0;
  }
  .features .features-top .sp-top-banner {
    display: block;
    width: 100%;
    margin-bottom: 20px;
  }
  .metatron-features .metatron-feature .metatron-feature-each .feature-img {
    width: 80vw;
    height: 53vw;
    margin: 20px 0;
  }
}
#plan_price {
  width: 80%;
  margin: 0 auto 50px;
  font-size: 11px;
  /*position: relative;*/
  /*background: gray;*/
}

#plan_price > img {
  display: inline-block;
  margin: 50px 0;
  width: 100%;
}

#plan_price > .price_link_div {
  position: relative;
  /*text-align: center;*/
}

#plan_price > .price_link_div img {
  display: inline-block;
  width: 16vw;
  position: absolute;
  bottom: 30px;
  left: calc(50% - 8vw);
}

#plan_price > .price_link_div img:hover {
  opacity: 0.8;
}

#sp-plan_price {
  display: none;
}

@media screen and (max-width: 792px) {
  #plan_price {
    display: none;
  }
  #sp-plan_price {
    display: block;
    position: relative;
    width: 80%;
    margin: 0 auto 50px;
  }
  #sp-plan_price .plan_price_img {
    width: 100%;
    margin: 30px 0;
  }
  .sp-price_link_div {
    background: #fff;
    height: 200px;
    line-height: 200px;
    text-align: center;
  }
  .sp-price_link_div a > .sp-price_button {
    width: 70%;
  }
  .sp-price_link_div a > .sp-price_button:hover {
    opacity: 0.8;
  }
}
#footer {
  background: #fff;
  height: 300px;
  padding: 50px 10%;
  margin: 0 auto;
}
#footer .footer-upper {
  text-align: right;
  height: 40px;
  display: grid;
  grid-template-columns: 16.6% 16.6% 16.6% 16.6% 16.6% 16.6%;
}
#footer .footer-upper img.metatron-logo {
  display: inline-block;
  width: 80%;
}
#footer .footer-upper img.metatron-logo:hover {
  opacity: 0.8;
}
#footer .footer-middle {
  height: 30px;
  padding: 30px 16.6%;
  display: grid;
  grid-template-columns: 16% 30% 15% 30%;
  text-align: center;
}
#footer .footer-middle a {
  color: #000;
}
#footer .footer-lower {
  height: 30px;
  padding-left: 40%;
  display: grid;
  grid-template-columns: 35% 20% 44%;
  font-size: 0.8rem;
  text-align: right;
}
#footer .footer-lower a {
  color: #000;
}
#footer .page_up_link {
  margin: 30px 0;
  text-align: right;
}
#footer .page_up_link .page_top img {
  transform: scale(0.3);
}

#sp-footer {
  display: none;
}

#copyright {
  display: block;
  padding: 0 20%;
  height: 50px;
  line-height: 50px;
  background: #000;
  color: rgba(255, 255, 255, 0.8196078431);
  text-align: right;
}

#sp-copyright {
  display: none;
}

@media screen and (max-width: 792px) {
  #footer {
    display: none;
  }
  #sp-footer {
    background: #fff;
    height: 25vw;
    line-height: 25vw;
    display: grid;
    grid-template-columns: 20% 35% 30%;
    justify-content: space-around;
  }
  #sp-footer .metatron-logo {
    width: 100%;
  }
  #sp-footer .page_up_link {
    text-align: right;
  }
  #sp-footer .page_up_link .page_top img {
    transform: scale(0.3);
  }
  #copyright {
    display: none;
  }
  #sp-copyright {
    display: block;
    text-align: center;
    height: 50px;
    line-height: 50px;
    background: #000;
    color: rgba(255, 255, 255, 0.8196078431);
  }
}
#meishiki-show .meishiki-show-image {
  width: 80%;
  height: auto;
}

.meishiki-new-btn {
  margin: 20px 0;
  display: inline-block;
  float: right;
}

#meishiki-index-area {
  width: 100%;
}
#meishiki-index-area .meishiki-index {
  height: 70px;
  padding: 10px 0;
  border-bottom: solid 1px #dcdcdc;
}
#meishiki-index-area .meishiki-index-image {
  margin: 0 0 0 50px;
  width: 50px;
  height: 50px;
}
#meishiki-index-area .meishiki-index-name {
  width: 180px;
  display: inline-block;
  padding: 10px 30px 10px 0;
}
#meishiki-index-area .meishiki-index-title {
  font-size: 30px;
  margin: 30px 0;
}
#meishiki-index-area .meishiki-index-category {
  display: inline-block;
  width: 100px;
  padding: 0 10px 0 10px;
}
@media screen and (max-width: 500px) {
  #meishiki-index-area .meishiki-index-name {
    font-size: 12px;
    width: 100px;
    display: inline-block;
    padding: 10px 0px 10px 0;
  }
  #meishiki-index-area .meishiki-new-btn {
    width: 100px;
    font-size: 12px;
  }
  #meishiki-index-area .meishiki-index-title {
    font-size: 20px;
  }
  #meishiki-index-area .meishiki-index-image {
    margin: 0;
  }
}

.page_content-title {
  float: left;
}

td.center {
  text-align: center;
}

td.right {
  text-align: right;
}

.paytype {
  display: block;
  max-width: 280px;
}

h3.paytitle {
  margin-top: 120px;
  text-align: center;
}

.cancel {
  float: right;
}

p.test {
  text-align: center;
}

.bought-coupon {
  width: 80%;
  margin: 50px auto;
  text-align: center;
}

.bought-coupon > .title {
  margin: 20px 0;
  font-weight: bold;
}

.bought-coupon {
  font-size: 12px;
}

h2.sanmei-title {
  text-align: center;
}

.sanmei-btn {
  margin: 10px 0;
  width: 150px;
  text-align: center;
}

ul.sanmei-ul {
  padding: 0 0;
  margin: 0 auto;
  list-style: none;
}

ul.sanmei-ul > li {
  text-align: center;
}

.meishiki {
  margin-top: 200px;
  margin-bottom: 200px;
  text-align: center;
}

.meishiki select {
  border: 1px solid #d3d3d3;
}

#schedule {
  height: 70vh;
}
#schedule h2 {
  border-bottom: 1px solid gray;
  padding-bottom: 30px;
  margin: 100px 10% 0px 10%;
  text-align: center;
}
#schedule .staff-schedule {
  text-align: center;
}

#schedule-new td.allChecked {
  line-height: 82px;
  font-weight: bold;
}
#schedule-new .back-link {
  width: 60%;
  margin: 100px auto 0;
  text-align: left;
}
#schedule-new .title {
  margin: 10px auto 0;
  text-align: center;
  font-size: 2rem;
  font-weight: bold;
}
#schedule-new div.table-responsive.table-width.schedule > table {
  width: 60%;
  margin: 0 auto;
}
#schedule-new div.table-responsive.table-width.schedule > table > tbody {
  display: block;
  height: 500px;
  overflow: auto;
}
#schedule-new thead, #schedule-new tbody tr {
  display: table;
  width: 100%;
  table-layout: fixed;
}
#schedule-new div.table-responsive.table-width > table > thead > tr > th {
  padding: 1.2vw;
  text-align: center;
  font-weight: normal;
}
#schedule-new th.calender-date {
  font-size: 2vw;
}
#schedule-new div.table-responsive.table-width > table > tbody > tr > th {
  text-align: center;
  margin: 0 auto;
  font-size: 2vw;
  font-weight: normal;
}
#schedule-new div.table-responsive.table-width.schedule > table > tbody > tr > td {
  text-align: center;
}
#schedule-new div.table-responsive.table-width > table > tbody > tr > td > a {
  padding-top: 20px;
  font-size: 20px;
}
#schedule-new .schedule table th, #schedule-new .schedule table td {
  width: 12.3%;
}
#schedule-new .schedule-submit {
  width: 60%;
  margin: 0 auto;
}
@media (max-width: 767.98px) {
  #schedule-new div.table-responsive.table-width.schedule > table {
    width: 90%;
    margin: 0 auto;
  }
  #schedule-new .schedule-submit {
    width: 90%;
    margin: 0 auto;
  }
  #schedule-new .week-flex {
    width: 90%;
  }
}
#schedule-new .schedule-submit-tr {
  background: white;
  border: 4px solid red;
  border-style: none;
  text-align: right;
}
#schedule-new .schedule-submit-tr td {
  border-style: none;
}
#schedule-new .schedule-submit-tr th {
  border-style: none;
}
#schedule-new .thead-dates {
  background: #696969;
  color: #fff;
}

#all_schedules td.allChecked {
  line-height: 82px;
  font-weight: bold;
}
#all_schedules .back-link {
  width: 60%;
  margin-top: 100px;
  text-align: left;
}
#all_schedules .title {
  margin: 10px auto 0;
  text-align: center;
  font-size: 2rem;
  font-weight: bold;
}
#all_schedules div.table-responsive.table-width.schedule > table {
  width: 60%;
  margin: 0 auto;
}
#all_schedules div.table-responsive.table-width.schedule > table > tbody {
  display: block;
  height: 500px;
  overflow: auto;
}
#all_schedules thead, #all_schedules tbody tr {
  display: table;
  width: 100%;
  table-layout: fixed;
}
#all_schedules div.table-responsive.table-width > table > thead > tr > th {
  padding: 1.2vw;
  text-align: center;
  font-weight: normal;
}
#all_schedules th.calender-date {
  font-size: 2vw;
}
#all_schedules div.table-responsive.table-width > table > tbody > tr > th {
  text-align: center;
  margin: 0 auto;
  font-size: 2vw;
  font-weight: normal;
}
#all_schedules div.table-responsive.table-width.schedule > table > tbody > tr > td {
  text-align: center;
}
#all_schedules .schedule table th, #all_schedules .schedule table td {
  width: 12.5%;
}
@media (max-width: 767.98px) {
  #all_schedules div.table-responsive.table-width.schedule > table {
    width: 90%;
    margin: 0 auto;
  }
  #all_schedules .schedule-submit {
    width: 90%;
    margin: 0 auto;
  }
  #all_schedules .week-flex {
    width: 90%;
  }
}
#all_schedules .schedule-submit-tr {
  background: white;
  border: 4px solid red;
  border-style: none;
  text-align: right;
}
#all_schedules .schedule-submit-tr td {
  border-style: none;
}
#all_schedules .schedule-submit-tr th {
  border-style: none;
}
#all_schedules .thead-dates {
  background: #696969;
  color: #fff;
}

#staff-new {
  width: 40%;
  margin: 100px auto 50px;
  text-align: center;
}
#staff-new h4 {
  padding-bottom: 10px;
  border-bottom: lightgray solid 1px;
}
#staff-new input.staff-input-width {
  margin: 0 auto;
  width: 70%;
}
@media (max-width: 790px) {
  #staff-new input.staff-input-width {
    width: 100%;
  }
}
#staff-new .machine-select-br {
  display: none;
}

#staff-edit {
  width: 40%;
  margin: 0px auto;
  text-align: center;
}
#staff-edit .checkbox input[type=checkbox] {
  margin-left: -50px;
}
#staff-edit .checkbox label {
  display: block;
}
#staff-edit h4 {
  padding-bottom: 10px;
  border-bottom: lightgray solid 1px;
}

#staff-index {
  width: 50%;
  margin: 150px auto;
  text-align: center;
}
#staff-index ul {
  list-style: none;
  padding-left: 0;
}

#staffs {
  background-color: #FDEBF5;
}
#staffs .staff-name {
  margin: 0;
  font-weight: 600;
}
#staffs .staff-position {
  font-size: 9px;
}

@media screen and (max-width: 830px) {
  #staff-new {
    width: 80%;
  }
  #staff-new .machine-select-br {
    display: block;
  }
}
.short {
  width: 300px;
}

.main-main > .login.container {
  width: 50%;
  margin: 100px auto;
}

.main-main > .registration.container {
  width: 50%;
  margin: 100px auto;
}

.registration form label {
  font-size: 14px;
  font-weight: bold;
}

#user_name, #user_email, #user_password, #user_password_confirmation {
  display: block;
  width: 100%;
  height: 34px;
  padding: 6px 12px;
  font-size: 14px;
  line-height: 1.42857143;
  border: 1px solid #cccccc;
}

#new_user > div.actions > .signup-submit {
  margin: 15px auto;
  display: inline-block;
  max-width: 200px;
  text-align: left;
  font-size: 16px;
  color: #FFF;
  text-decoration: none;
  font-weight: bold;
  padding: 5px 20px;
  border-radius: 4px;
  background-color: #f0ad4e;
  border-color: #eea236;
  border: solid 1px rgba(0, 0, 0, 0);
}

#new_user > div.actions > .signup-submit:hover {
  opacity: 0.7;
}

#user_email, #user_password {
  display: block;
  width: 100%;
  height: 34px;
  padding: 6px 12px;
  font-size: 14px;
  line-height: 1.42857143;
  border: 1px solid #cccccc;
}

#new_user > div.actions > .login-submit {
  background: #337ab7;
  display: inline-block;
  max-width: 200px;
  text-align: left;
  font-size: 16px;
  color: #FFF;
  text-decoration: none;
  font-weight: bold;
  padding: 5px 20px;
  border-radius: 4px;
  border-color: #2e6da4;
  border: solid 1px rgba(0, 0, 0, 0);
}

.login hr {
  margin-top: 20px;
  margin-bottom: 20px;
  border: 0;
  border-top: 1px solid #eeeeee;
}

div.main-main > div.login.container > a.btn.btn-warning.btn-sm {
  margin: 15px auto;
  display: inline-block;
  max-width: 200px;
  text-align: left;
  font-size: 16px;
  color: #FFF;
  text-decoration: none;
  font-weight: bold;
  padding: 5px 20px;
  border-radius: 4px;
  background-color: #f0ad4e;
  border-color: #eea236;
}

#new_user > div.actions > .login-submit:hover, div.main-main > div.login.container > a.btn.btn-warning.btn-sm:hover {
  opacity: 0.7;
}

.edit.container {
  width: 40%;
  margin: 150px auto;
}

#registration-thanks {
  margin-top: 300px;
  text-align: center;
}

.field {
  margin: 10px 0;
}

.table .price {
  text-align: right;
}

.edit .field {
  width: 100%;
}

.user-count {
  font-size: 20px;
  margin-left: 10px;
}

.table-schedule .name {
  width: 160px;
}
.table-schedule .email {
  width: 303px;
}
.table-schedule .tel {
  width: 122px;
}
.table-schedule .gender {
  width: 46px;
}
.table-schedule .name_kana {
  width: 300px;
}
.table-schedule .birthday {
  width: 93px;
}
.table-schedule .introducer {
  width: 137px;
}
.table-schedule .type {
  width: 75px;
}
.table-schedule .delete {
  width: 47px;
}

.edit-abo {
  font-weight: bold;
}

@media screen and (max-width: 768px) {
  #edit_user #user_email {
    width: 60%;
  }
  #edit_user #user_name {
    width: 60%;
  }
  #edit_user #user_name_kana {
    width: 60%;
  }
  #edit_user #user_tel {
    width: 60%;
  }
  #edit_user #user_introducer {
    width: 60%;
  }
  .main-main > .login.container {
    width: 80%;
    margin: 100px auto;
  }
  .main-main > .registration.container {
    width: 80%;
    margin: 100px auto;
  }
  .edit.container {
    width: 80%;
    margin: 50px auto;
  }
  .edit.container .field {
    width: 100%;
  }
}
#sp-new-header {
  display: none;
}

#new-header {
  display: block;
  text-align: center;
}
#new-header .new-header {
  position: fixed;
  top: 0;
  display: flex;
  list-style: none;
  width: 100%;
  height: 80px;
  line-height: 80px;
  background: rgba(128, 128, 128, 0.0784313725);
  margin-bottom: 0;
  padding: 0 0 0 22%;
  z-index: 10;
}
#new-header .new-header li.logo {
  margin-right: 3vw;
}
#new-header .new-header li.not_image a {
  text-decoration: none;
  color: #000;
  position: relative;
  display: inline-block;
  font-size: 0.7vw;
}
#new-header .new-header li.not_image a::after {
  position: absolute;
  top: 50px;
  left: 0;
  content: "";
  width: 100%;
  height: 1px;
  background: #333;
  transform: scale(0, 1);
  transform-origin: left top;
  transition: transform 0.3s;
}
#new-header .new-header li.not_image .dropdown > li > a::after {
  background: rgba(128, 128, 128, 0.0784313725);
}
#new-header .new-header li.not_image a:hover::after {
  transform: scale(1, 1);
}
#new-header .new-header li {
  margin: 0 1vw 0 0;
}
#new-header .new-header li a:hover {
  opacity: 0.8;
}
#new-header .new-header img.logo {
  height: 50px;
}
#new-header .new-header .button {
  height: auto;
  width: 7vw;
  object-fit: contain;
}
#new-header .new-header ul.dropdown {
  padding-left: 0;
  list-style: none;
  width: 100%;
  background: #fff;
  z-index: 10;
  margin: -1px;
}
#new-header .new-header .dropdown li {
  background: #fff;
  height: 0px;
  line-height: 40px;
  overflow: hidden;
  text-align: left;
  padding: 0 10px;
  transition: 0.3s;
  width: 100%;
}
#new-header .new-header .dropdown li a {
  border-top: 1px solid rgba(158, 158, 158, 0.5803921569);
  width: 100%;
}
#new-header .new-header .reserve_menu:hover > ul > li {
  height: 40px;
  cursor: pointer;
  overflow: visible;
}
#new-header .new-header .dropdown li:hover {
  opacity: 0.8;
}

.sp-menu #open {
  cursor: pointer;
}

.sp-menu #open.hide {
  display: none;
}

.overlay {
  height: calc(100vh - 50px);
  z-index: 1000;
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  background: rgba(255, 255, 255, 0.95);
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s;
}

.overlay.show {
  opacity: 1;
  pointer-events: auto;
}

.overlay #close {
  position: absolute;
  top: 0;
  right: 0;
  cursor: pointer;
}

.overlay ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.overlay li {
  margin-top: 20px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.3s, transform 0.3s;
}

/*　遅らせて順番に表示 */
.overlay.show li {
  opacity: 1;
  transform: none;
}

.overlay.show li:nth-child(1) {
  transition-delay: 0.1s;
}

.overlay.show li:nth-child(2) {
  transition-delay: 0.2s;
}

.overlay.show li:nth-child(3) {
  transition-delay: 0.3s;
}

.overlay.show li:nth-child(4) {
  transition-delay: 0.4s;
}

.overlay.show li:nth-child(5) {
  transition-delay: 0.5s;
}

.overlay.show li:nth-child(6) {
  transition-delay: 0.6s;
}

.overlay.show li:nth-child(7) {
  transition-delay: 0.7s;
}

.overlay.show li:nth-child(8) {
  transition-delay: 0.8s;
}

.overlay.show li:nth-child(9) {
  transition-delay: 0.9s;
}

.overlay.show li:nth-child(10) {
  transition-delay: 1s;
}

.overlay.show li:nth-child(11) {
  transition-delay: 1.1s;
}

.overlay.show li:nth-child(12) {
  transition-delay: 1.2s;
}

.overlay.show li:nth-child(13) {
  transition-delay: 1.3s;
}

.overlay.show li:nth-child(14) {
  transition-delay: 1.4s;
}

.overlay.show li:nth-child(15) {
  transition-delay: 1.5s;
}

@media (max-width: 792px) {
  #new-header {
    display: none;
  }
  #sp-new-header {
    display: block;
    height: 20vw;
  }
  #sp-new-header .logo-img {
    height: 16vw;
    width: 18vw;
    padding: 3vw 0 0vw 3vw;
  }
  #sp-new-header .logo-img:hover {
    cursor: pointer;
  }
  ul.sp-new-header {
    margin-top: 0;
    display: grid;
    grid-template-columns: 20vw 20vw 20vw 20vw 20vw;
    grid-row-gap: 0;
    list-style: none;
    margin-bottom: 0;
    padding-left: 0;
    height: 20vw;
  }
  ul.sp-new-header img {
    width: 20vw;
    height: 20vw;
  }
  ul.sp-new-header img:hover {
    opacity: 0.8;
  }
  .overlay .nav a {
    font-size: 14px;
    text-decoration: none;
    color: #337ab7;
  }
  .overlay .nav a:hover {
    opacity: 0.7;
  }
  .nav {
    display: block;
    margin-top: 15vw;
    height: calc(100vh - 80px);
  }
  #close {
    width: 15vw;
  }
}
.tooltip-inner {
  max-width: none; /* デフォルトの最大幅制限を解除 */
  width: 150px; /* 幅を指定（例: 200px） */
}

.staff-select-area {
  display: flex;
  width: 60%;
  margin: 0 auto;
}

.staff-select-area input[type=submit] {
  display: inline-block;
  margin-right: 10px;
  background: rgba(0, 150, 136, 0.431372549);
  border-radius: 5px;
  border: 1px solid rgba(0, 150, 136, 0.431372549);
}

.staff_select {
  padding-right: 10px;
}

.modal-footer-holiday .modal-holiday {
  display: inline-block;
  float: left;
}

#new_reserve > table > tbody td label.radio_text {
  font-size: 12px;
  font-weight: bold;
}

.container.reserve-form {
  margin: 30px auto;
}

#new_reserve > table > tbody > tr > th {
  background: #dcdcdc;
}

body > div > div.reserves {
  margin-top: 150px;
}

#new_reserve > table th, #new_reserve > table td {
  border: solid 1px gray;
}

.modal-footer {
  position: relative;
}

.modal-footer-holiday {
  position: absolute;
  left: 0;
  top: 12px;
}

.modal-footer .btn {
  color: white;
  cursor: pointer;
}

.modal-footer .btn:hover {
  color: white;
  opacity: 0.7;
}

.modal-dialog {
  z-index: 1500;
}

.reserves > h1 {
  text-align: center;
  margin-bottom: 30px;
}

thead.reserves-calender {
  z-index: 1000;
  background: #808080;
  color: white;
}

.sanday-saturday {
  background: #000;
}

.calender-today {
  background: #f5f5f5;
}

body > div > div.float-right > p {
  z-index: 1000;
  display: inline;
  position: absolute;
  right: 10px;
  margin-left: 10px;
}

#user-modal > div {
  -webkit-z-index: 10;
  z-index: 10;
  width: 80vw;
  margin: 100px auto;
}

.reserves > div.table-responsive.table-width {
  width: 60%;
  margin: 0 auto;
}

body > div > div.reserves > div.table-responsive.table-width > table > tbody {
  display: block;
  height: 500px;
  overflow: auto;
}

thead, tbody tr {
  display: table;
  width: 100%;
  table-layout: fixed;
}

body > div > div.reserves > div.table-responsive.table-width > table > thead > tr > th {
  padding: 1.2vw;
  text-align: center;
  font-weight: normal;
}

th.calender-date {
  font-size: 2vw;
}

.reserves > div.table-responsive.table-width > table > tbody > tr > th {
  text-align: center;
  margin: 0 auto;
  font-size: 2vw;
  font-weight: normal;
}

.reserves > div.table-responsive.table-width > table > tbody > tr > td {
  text-align: center;
}

.reserves > div.table-responsive.table-width > table > tbody > tr > td > a {
  padding-top: 20px;
  font-size: 20px;
}

.week-flex {
  width: 60%;
  display: flex;
  margin: 10px auto;
}

.space-status {
  text-align: center;
  width: 60%;
  margin: 10px auto;
  padding: 0 0 0 15px;
}

.space-status > div {
  font-weight: 600;
  font-size: 2rem;
  padding-right: 30px;
}

.next-week {
  margin: 0 0 0 auto;
}

div.reserves table td.holiday {
  color: red;
}

.reserve table th, .reserve table td {
  width: 12.3%;
}

#reserves thead {
  z-index: 1000;
  background: #696969;
  color: white;
}
#reserves .calender-note {
  width: 60%;
  margin: 20px auto;
  font-size: 10px;
}
#reserves #reserve_name, #reserves #reserve_name_kana, #reserves #reserve_email, #reserves #reserve_tel {
  width: 100%;
}
#reserves .calender-title {
  text-align: center;
  font-weight: 600;
  font-size: 1.8rem;
}

@media (max-width: 767.98px) {
  body > div > div.reserves {
    margin-top: 80px;
  }
  body > div > div.reserves > div.table-responsive.table-width {
    width: 90%;
    margin: 0 auto;
  }
  .week-flex {
    width: 90%;
  }
  #user-modal > div {
    -webkit-z-index: 10;
    z-index: 10;
    width: 90vw;
    margin: 100px auto;
  }
  #new_reserve > div {
    padding-right: 0;
  }
  th.calender-date {
    font-size: 3vw;
  }
  .clickable {
    cursor: pointer;
  }
  #user-modal > div > div {
    width: 90%;
  }
  .staff-select-area {
    width: 90%;
  }
  #reserves .calender-note {
    width: 80%;
    margin: 20px auto;
    font-size: 10px;
  }
}
.about-metatron-top-image {
  width: 100%;
  display: block;
}

.sp-about-metatron-top-image {
  display: none;
}

#about_metatron {
  width: 100%;
}
#about_metatron section.about-metatron {
  padding: 50px 20% 50px 20%;
}
#about_metatron section.about-metatron .title-1 {
  text-align: center;
  font-size: 1.5vw;
  font-weight: 600;
}
#about_metatron section.about-metatron .title-2 {
  text-align: center;
  font-size: 3vw;
  font-weight: 600;
}
#about_metatron section.about-metatron .features-topics {
  margin: 50px 0;
  display: flex;
  justify-content: space-between;
}
#about_metatron section.about-metatron .features-topics div {
  width: 32%;
}
#about_metatron section.about-metatron .features-topics div .feature-topic-img {
  width: 100%;
}
#about_metatron section.metatron-features {
  background: #000;
  padding: 0 20%;
}
#about_metatron section.metatron-features .title {
  padding: 100px 0 50px;
  color: #fff;
  text-align: center;
  font-size: 3vw;
  font-weight: 600;
}
#about_metatron section.metatron-features .img-area {
  display: flex;
  justify-content: space-between;
}
#about_metatron section.metatron-features .img-area div {
  width: 32%;
}
#about_metatron section.metatron-features .img-area div .feature-topic-img {
  display: inline-block;
  width: 100%;
}
#about_metatron section.metatron-features .metatron-features-title {
  margin: 30px 0;
  color: #cdc8c8;
}
#about_metatron section.metatron-features .features-image-area {
  padding: 50px 0;
  display: flex;
  justify-content: space-between;
}
#about_metatron section.metatron-features .features-image-area div.metatron-feature-each {
  width: 32%;
}
#about_metatron section.metatron-features .features-image-area div.metatron-feature-each .feature-img {
  display: inline-block;
  width: 100%;
}
#about_metatron section.metatron-features .features-image-area div.metatron-feature-each .title {
  font-size: 1.5vw;
  font-weight: 600;
  padding: 30px 0;
}
#about_metatron section.metatron-features .features-image-area div.metatron-feature-each .detail {
  display: block;
  color: #cdc8c8;
}
#about_metatron section.metatron-features .features-image-area div.metatron-feature-each .sp-detail {
  display: none;
}
#about_metatron .metatron-description {
  padding: 80px 20%;
  display: block;
}
#about_metatron .metatron-description img.description-img {
  width: 100%;
}
#about_metatron .description-word {
  display: none;
}

@media screen and (max-width: 768px) {
  .about-metatron-top-image {
    display: none;
  }
  .sp-about-metatron-top-image {
    width: 100%;
    display: block;
  }
  #about_metatron section.about-metatron {
    padding: 50px 10% 50px 10%;
  }
  #about_metatron section.about-metatron .title-1 {
    font-size: 3vw;
    font-weight: 600;
  }
  #about_metatron section.about-metatron .title-2 {
    font-size: 6vw;
    font-weight: 600;
  }
  #about_metatron section.about-metatron .features-topics {
    display: block;
  }
  #about_metatron section.about-metatron .features-topics div {
    width: 100%;
    margin-bottom: 20px;
  }
  #about_metatron section.about-metatron .features-topics div .feature-topic-img {
    width: 100%;
  }
  #about_metatron section.metatron-features {
    padding: 0 10%;
  }
  #about_metatron section.metatron-features .title {
    font-size: 5vw;
    text-align: left;
    padding: 50px 0 0px;
  }
  #about_metatron section.metatron-features .img-area {
    display: none;
  }
  #about_metatron section.metatron-features .features-image-area {
    display: block;
  }
  #about_metatron section.metatron-features .features-image-area div.metatron-feature-each {
    width: 100%;
  }
  #about_metatron section.metatron-features .features-image-area div.metatron-feature-each .title {
    font-size: 5vw;
    text-align: center;
  }
  #about_metatron section.metatron-features .features-image-area div.metatron-feature-each .detail {
    display: none;
  }
  #about_metatron section.metatron-features .features-image-area div.metatron-feature-each .sp-detail {
    display: block;
    color: #cdc8c8;
    padding-bottom: 30px;
  }
  #about_metatron .metatron-description {
    padding: 80px 10%;
  }
  #about_metatron .metatron-description .description {
    display: none;
  }
  #about_metatron .metatron-description .description-word {
    display: block;
  }
}
#fasting {
  width: 100%;
}
#fasting section.about-metatron {
  padding: 50px 20% 50px 20%;
}
#fasting section.about-metatron .title-1 {
  margin-bottom: 50px;
  text-align: center;
  font-size: 1.5vw;
  font-weight: 600;
}
#fasting section.about-metatron .title-2 {
  text-align: center;
  font-size: 3vw;
  font-weight: 600;
}
#fasting section.about-metatron .features-topics {
  margin: 50px 0;
  display: flex;
  justify-content: space-between;
}
#fasting section.about-metatron .features-topics div {
  width: 32%;
}
#fasting section.about-metatron .features-topics div .feature-topic-img {
  width: 100%;
}
#fasting section.about-metatron .cristing_program > ul {
  padding-left: 20px;
}
#fasting section.about-metatron .cristing_program_title {
  font-weight: 600;
}
#fasting section.metatron-features {
  background: #000;
  padding: 0 20%;
}
#fasting section.metatron-features .title {
  padding: 100px 0 50px;
  color: #fff;
  text-align: center;
  font-size: 3vw;
  font-weight: 600;
}
#fasting section.metatron-features .img-area {
  display: flex;
  justify-content: space-between;
}
#fasting section.metatron-features .img-area div {
  width: 32%;
}
#fasting section.metatron-features .img-area div .feature-topic-img {
  display: inline-block;
  width: 100%;
}
#fasting section.metatron-features .metatron-features-title {
  margin: 30px 0;
  color: #cdc8c8;
}
#fasting section.metatron-features .features-image-area {
  padding: 50px 0;
  display: flex;
  justify-content: space-between;
}
#fasting section.metatron-features .features-image-area div.metatron-feature-each {
  width: 32%;
}
#fasting section.metatron-features .features-image-area div.metatron-feature-each .feature-img {
  display: inline-block;
  width: 100%;
}
#fasting section.metatron-features .features-image-area div.metatron-feature-each .title {
  font-size: 1.5vw;
  font-weight: 600;
  padding: 30px 0;
}
#fasting section.metatron-features .features-image-area div.metatron-feature-each .detail {
  display: block;
  color: #cdc8c8;
}
#fasting section.metatron-features .features-image-area div.metatron-feature-each .sp-detail {
  display: none;
}
#fasting .metatron-description {
  padding: 80px 20%;
  display: block;
}
#fasting .metatron-description img.description-img {
  width: 100%;
}
#fasting .description-word {
  display: none;
}
#fasting .chomomi_qa .chomomi_qa_table {
  padding: 5px;
  background: rgba(211, 211, 211, 0.4392156863);
  border: solid 10px rgba(211, 211, 211, 0);
  margin: 20px 0;
}
#fasting .chomomi_qa .chomomi_qa_table .tr {
  border-bottom: 1px solid rgba(128, 128, 128, 0.2196078431);
  margin: 5px 0;
}
#fasting .chomomi_qa .head {
  width: 5%;
  vertical-align: top;
}
#fasting .chomomi_qa .content {
  width: 95%;
}
#fasting section.reviews {
  padding: 50px 20% 50px 20%;
}
#fasting section.reviews h4 {
  margin-bottom: 15px;
}
#fasting section.reviews h4 > span {
  padding: 0 5px 5px 0;
  border-bottom: 1px solid lightgray;
}
#fasting section.reviews .name {
  font-weight: bold;
}
#fasting section.reviews ul {
  list-style-type: none;
}
#fasting .reviews .review {
  display: flex;
  padding: 0 0 50px 0;
}
#fasting .reviews .review .review_left {
  width: 50%;
}
#fasting .reviews .review .content {
  padding: 65px 0 0 0;
  width: 50%;
}
#fasting .before_after_img_area {
  width: 100%;
}
#fasting .before_after_img {
  width: 80%;
  border: 1px solid lightgray;
  margin: 20px 20% 0 0;
}
#fasting .reviews .content {
  margin-top: 20px;
}

@media screen and (max-width: 768px) {
  .about-metatron-top-image {
    display: none;
  }
  .sp-about-metatron-top-image {
    width: 100%;
    display: block;
  }
  #fasting section.about-metatron {
    padding: 50px 10% 50px 10%;
  }
  #fasting section.about-metatron .title-1 {
    margin-bottom: 30px;
    font-size: 5vw;
    font-weight: 600;
  }
  #fasting section.about-metatron .title-2 {
    font-size: 6vw;
    font-weight: 600;
  }
  #fasting section.about-metatron .features-topics {
    display: block;
  }
  #fasting section.about-metatron .features-topics div {
    width: 100%;
    margin-bottom: 20px;
  }
  #fasting section.about-metatron .features-topics div .feature-topic-img {
    width: 100%;
  }
  #fasting section.metatron-features {
    padding: 0 10%;
  }
  #fasting section.metatron-features .title {
    font-size: 5vw;
    text-align: left;
    padding: 50px 0 0px;
  }
  #fasting section.metatron-features .img-area {
    display: none;
  }
  #fasting section.metatron-features .features-image-area {
    display: block;
  }
  #fasting section.metatron-features .features-image-area div.metatron-feature-each {
    width: 100%;
  }
  #fasting section.metatron-features .features-image-area div.metatron-feature-each .title {
    font-size: 5vw;
    text-align: center;
  }
  #fasting section.metatron-features .features-image-area div.metatron-feature-each .detail {
    display: none;
  }
  #fasting section.metatron-features .features-image-area div.metatron-feature-each .sp-detail {
    display: block;
    color: #cdc8c8;
    padding-bottom: 30px;
  }
  #fasting .metatron-description {
    padding: 80px 10%;
  }
  #fasting .metatron-description .description {
    display: none;
  }
  #fasting .metatron-description .description-word {
    display: block;
  }
  #fasting section.reviews {
    padding: 50px 10% 50px 10%;
  }
  #fasting section.reviews ul {
    padding-left: 10px;
  }
  #fasting .before_after_img_area {
    width: 100%;
  }
  #fasting .before_after_img {
    width: 100%;
    margin: 20px auto;
    padding: 0 10%;
  }
  #fasting .reviews .review {
    display: block;
    padding: 0 0 50px 0;
  }
  #fasting .reviews .review .review_left {
    width: 100%;
  }
  #fasting .reviews .review .content {
    padding: 0px;
    width: 100%;
  }
}
#metatron_sale {
  width: 100%;
}
#metatron_sale section.description {
  padding: 50px 20% 50px 20%;
}
#metatron_sale section.description .title-1 {
  margin-bottom: 50px;
  text-align: center;
  font-size: 1.5vw;
  font-weight: 600;
}
#metatron_sale section.description .merit-title {
  margin-top: 50px;
  font-weight: 600;
}
#metatron_sale section.description ul {
  padding-inline-start: 10px;
}
#metatron_sale section.description ul > ol {
  padding-inline-start: 0px;
}
#metatron_sale .metatron-description {
  padding: 80px 20%;
  display: block;
}
#metatron_sale .metatron-description img.description-img {
  width: 100%;
}
#metatron_sale .description-word {
  display: none;
}
#metatron_sale .chomomi_qa .chomomi_qa_table {
  padding: 5px;
  background: rgba(211, 211, 211, 0.4392156863);
  border: solid 10px rgba(211, 211, 211, 0);
  margin: 20px 0;
}
#metatron_sale .chomomi_qa .chomomi_qa_table .tr {
  border-bottom: 1px solid rgba(128, 128, 128, 0.2196078431);
  margin: 5px 0;
}
#metatron_sale .chomomi_qa .head {
  width: 5%;
  vertical-align: top;
}
#metatron_sale .chomomi_qa .content {
  width: 95%;
}
#metatron_sale section.reviews {
  padding: 50px 20% 50px 20%;
}
#metatron_sale section.reviews h4 {
  margin-bottom: 15px;
}
#metatron_sale section.reviews h4 > span {
  padding: 0 5px 5px 0;
  border-bottom: 1px solid lightgray;
}
#metatron_sale section.reviews .name {
  font-weight: bold;
}
#metatron_sale section.reviews ul {
  list-style-type: none;
}

.metatron_sale_inquiry_link {
  position: fixed;
  right: 10px;
  bottom: 10px;
  width: 200px;
  height: 50px;
  line-height: 50px;
  border-radius: 10px;
  text-align: center;
  background: orange;
  opacity: 1;
  color: #fff;
  z-index: 3;
}

.metatron_sale_inquiry_link:hover {
  text-decoration: none;
  color: #fff;
  opacity: 0.8;
}

@media screen and (max-width: 768px) {
  .about-metatron-top-image {
    display: none;
  }
  .sp-about-metatron-top-image {
    width: 100%;
    display: block;
  }
  #metatron_sale section.description {
    padding: 50px 10% 50px 10%;
  }
  #metatron_sale section.description .title-1 {
    margin-bottom: 30px;
    font-size: 18px;
    font-weight: 600;
  }
  #metatron_sale section.description .title-2 {
    font-size: 6vw;
    font-weight: 600;
  }
  #metatron_sale section.description .features-topics {
    display: block;
  }
  #metatron_sale section.description .features-topics div {
    width: 100%;
    margin-bottom: 20px;
  }
  #metatron_sale section.description .features-topics div .feature-topic-img {
    width: 100%;
  }
  #metatron_sale section.metatron-features {
    padding: 0 10%;
  }
  #metatron_sale section.metatron-features .title {
    font-size: 5vw;
    text-align: left;
    padding: 50px 0 0px;
  }
  #metatron_sale section.metatron-features .img-area {
    display: none;
  }
  #metatron_sale section.metatron-features .features-image-area {
    display: block;
  }
  #metatron_sale section.metatron-features .features-image-area div.metatron-feature-each {
    width: 100%;
  }
  #metatron_sale section.metatron-features .features-image-area div.metatron-feature-each .title {
    font-size: 5vw;
    text-align: center;
  }
  #metatron_sale section.metatron-features .features-image-area div.metatron-feature-each .detail {
    display: none;
  }
  #metatron_sale section.metatron-features .features-image-area div.metatron-feature-each .sp-detail {
    display: block;
    color: #cdc8c8;
    padding-bottom: 30px;
  }
  #metatron_sale .metatron-description {
    padding: 80px 10%;
  }
  #metatron_sale .metatron-description .description {
    display: none;
  }
  #metatron_sale .metatron-description .description-word {
    display: block;
  }
  #metatron_sale section.reviews {
    padding: 50px 10% 50px 10%;
  }
  #metatron_sale section.reviews ul {
    padding-left: 10px;
  }
}
.new_customer_banner {
  position: fixed;
  left: 10px;
  bottom: 10px;
  width: 150px;
  height: 50px;
  line-height: 50px;
  border-radius: 10px;
  text-align: center;
  background: orange;
  opacity: 0;
  visibility: hidden;
  color: #fff;
  z-index: 3;
  text-decoration: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.new_customer_banner:hover {
  text-decoration: none;
  color: #fff;
  opacity: 0.8;
}

.price_banner {
  position: fixed;
  right: 10px;
  bottom: 10px;
  width: 150px;
  height: 50px;
  line-height: 50px;
  border-radius: 10px;
  text-align: center;
  background: #1acb83;
  opacity: 1;
  color: #fff;
  z-index: 3;
  text-decoration: none;
}

.price_banner:hover {
  text-decoration: none;
  color: #fff;
  opacity: 0.8;
}

.floating {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
}

.about-metatron-top-image {
  width: 100%;
  display: block;
}

.sp-about-metatron-top-image {
  display: none;
}

#special_treatment {
  width: 100%;
}
#special_treatment section.about-metatron {
  padding: 50px 20% 50px 20%;
}
#special_treatment section.about-metatron .title-1 {
  margin-bottom: 50px;
  text-align: center;
  font-size: 1.5vw;
  font-weight: 600;
}
#special_treatment section.about-metatron .title-2 {
  text-align: center;
  font-size: 3vw;
  font-weight: 600;
}
#special_treatment section.about-metatron .features-topics {
  margin: 50px 0;
  display: flex;
  justify-content: space-between;
}
#special_treatment section.about-metatron .features-topics div {
  width: 32%;
}
#special_treatment section.about-metatron .features-topics div .feature-topic-img {
  width: 100%;
}
#special_treatment section.about-metatron .cristing_program > ul {
  padding-left: 20px;
}
#special_treatment section.about-metatron .cristing_program_title {
  font-weight: 600;
}
#special_treatment section.metatron-features {
  background: #000;
  padding: 0 20%;
}
#special_treatment section.metatron-features .title {
  padding: 100px 0 50px;
  color: #fff;
  text-align: center;
  font-size: 3vw;
  font-weight: 600;
}
#special_treatment section.metatron-features .img-area {
  display: flex;
  justify-content: space-between;
}
#special_treatment section.metatron-features .img-area div {
  width: 32%;
}
#special_treatment section.metatron-features .img-area div .feature-topic-img {
  display: inline-block;
  width: 100%;
}
#special_treatment section.metatron-features .metatron-features-title {
  margin: 30px 0;
  color: #cdc8c8;
}
#special_treatment section.metatron-features .features-image-area {
  padding: 50px 0;
  display: flex;
  justify-content: space-between;
}
#special_treatment section.metatron-features .features-image-area div.metatron-feature-each {
  width: 32%;
}
#special_treatment section.metatron-features .features-image-area div.metatron-feature-each .feature-img {
  display: inline-block;
  width: 100%;
}
#special_treatment section.metatron-features .features-image-area div.metatron-feature-each .title {
  font-size: 1.5vw;
  font-weight: 600;
  padding: 30px 0;
}
#special_treatment section.metatron-features .features-image-area div.metatron-feature-each .detail {
  display: block;
  color: #cdc8c8;
}
#special_treatment section.metatron-features .features-image-area div.metatron-feature-each .sp-detail {
  display: none;
}
#special_treatment .metatron-description {
  padding: 80px 20%;
  display: block;
}
#special_treatment .metatron-description img.description-img {
  width: 100%;
}
#special_treatment .description-word {
  display: none;
}
#special_treatment .chomomi_qa .chomomi_qa_table {
  padding: 5px;
  background: rgba(211, 211, 211, 0.4392156863);
  border: solid 10px rgba(211, 211, 211, 0);
  margin: 20px 0;
}
#special_treatment .chomomi_qa .chomomi_qa_table .tr {
  border-bottom: 1px solid rgba(128, 128, 128, 0.2196078431);
  margin: 5px 0;
}
#special_treatment .chomomi_qa .head {
  width: 5%;
  vertical-align: top;
}
#special_treatment .chomomi_qa .content {
  width: 95%;
}
#special_treatment section.reviews {
  padding: 50px 20% 50px 20%;
}
#special_treatment section.reviews h4 {
  margin-bottom: 15px;
}
#special_treatment section.reviews h4 > span {
  padding: 0 5px 5px 0;
  border-bottom: 1px solid lightgray;
}
#special_treatment section.reviews .name {
  font-weight: bold;
}
#special_treatment section.reviews ul {
  list-style-type: none;
}

@media screen and (max-width: 768px) {
  .about-metatron-top-image {
    display: none;
  }
  .sp-about-metatron-top-image {
    width: 100%;
    display: block;
  }
  #special_treatment section.about-metatron {
    padding: 50px 10% 50px 10%;
  }
  #special_treatment section.about-metatron .title-1 {
    margin-bottom: 30px;
    font-size: 5vw;
    font-weight: 600;
  }
  #special_treatment section.about-metatron .title-2 {
    font-size: 6vw;
    font-weight: 600;
  }
  #special_treatment section.about-metatron .features-topics {
    display: block;
  }
  #special_treatment section.about-metatron .features-topics div {
    width: 100%;
    margin-bottom: 20px;
  }
  #special_treatment section.about-metatron .features-topics div .feature-topic-img {
    width: 100%;
  }
  #special_treatment section.metatron-features {
    padding: 0 10%;
  }
  #special_treatment section.metatron-features .title {
    font-size: 5vw;
    text-align: left;
    padding: 50px 0 0px;
  }
  #special_treatment section.metatron-features .img-area {
    display: none;
  }
  #special_treatment section.metatron-features .features-image-area {
    display: block;
  }
  #special_treatment section.metatron-features .features-image-area div.metatron-feature-each {
    width: 100%;
  }
  #special_treatment section.metatron-features .features-image-area div.metatron-feature-each .title {
    font-size: 5vw;
    text-align: center;
  }
  #special_treatment section.metatron-features .features-image-area div.metatron-feature-each .detail {
    display: none;
  }
  #special_treatment section.metatron-features .features-image-area div.metatron-feature-each .sp-detail {
    display: block;
    color: #cdc8c8;
    padding-bottom: 30px;
  }
  #special_treatment .metatron-description {
    padding: 80px 10%;
  }
  #special_treatment .metatron-description .description {
    display: none;
  }
  #special_treatment .metatron-description .description-word {
    display: block;
  }
  #special_treatment section.reviews {
    padding: 50px 10% 50px 10%;
  }
  #special_treatment section.reviews ul {
    padding-left: 10px;
  }
}
#staffs {
  padding: 4% 10%;
  background: #FDEBF5;
}
#staffs .staffs-title {
  text-align: center;
  padding: 0 0 5vw;
}
#staffs .staffs-title > img {
  width: 40%;
}
#staffs .staffs-area {
  display: grid;
  grid-template-columns: 20% 20% 20% 20%;
  gap: 20px 6.6%;
}
#staffs .staffs-area div > img {
  width: 100%;
  margin: 0 0 10px;
}
#staffs .staffs-area .staff-intro {
  width: 100%;
  overflow-wrap: break-word;
  padding: 20px 0;
}

@media (max-width: 792px) {
  #staffs {
    padding: 10% 10%;
  }
  #staffs .staffs-title > img {
    width: 80%;
  }
  #staffs .staffs-area {
    grid-template-columns: 45% 45%;
    gap: 20px 10%;
  }
  #staffs .staffs-area div > img {
    width: 100%;
  }
  #staffs .staffs-area .staff-intro {
    width: 100%;
    overflow-wrap: break-word;
    padding: 20px 0;
  }
}
#features {
  display: flex;
  justify-content: space-between;
}

.features-top {
  width: 60%;
}

.publish-area {
  width: 40%;
}

.publish-area > .woman-title {
  /*text-align: center;*/
  margin: 0 0 20px 10%;
}

.publish-area > .woman {
  width: 70%;
  margin: 0 0 0 10%;
}

@media screen and (max-width: 768px) {
  #features {
    display: block;
  }
  .features-top {
    width: 100%;
  }
  .publish-area {
    width: 100%;
  }
  .publish-area > .woman-title {
    /*text-align: center;*/
    margin: 10px 0 20px 5%;
  }
  .publish-area > .woman {
    width: 70%;
    margin: 0 0 0 5%;
  }
}
html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

.calendar-container {
  max-width: 100%;
  margin: 0;
  padding: 0;
  background-color: #f5f5f5;
  height: 100vh;
  display: flex;
  flex-direction: column;
}

.header {
  background-color: #333;
  color: white;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  font-size: 24px;
}

.logo-text {
  font-weight: bold;
  font-size: 18px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.user-menu,
.auth-menu {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logout-btn,
.login-btn {
  color: white;
  text-decoration: none;
  font-size: 14px;
}

.menu-btn {
  font-size: 14px;
  font-weight: bold;
}

.main-content {
  padding: 20px;
  max-width: 800px;
  margin: 0 auto;
  margin-top: 70px;
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.page-title {
  text-align: center;
  margin-bottom: 30px;
  position: relative;
}

.page-title h1 {
  font-size: 24px;
  color: #333;
  margin: 0;
}

.reserve-btn {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  background-color: #00bcd4;
  color: white;
  padding: 8px 16px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 14px;
}

.service-title {
  text-align: center;
  margin-bottom: 20px;
}

.service-title h2 {
  font-size: 28px;
  color: #333;
  margin: 0;
  font-weight: bold;
}

.week-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding: 0 10px;
  position: relative;
}

.week-range {
  font-size: 18px;
  color: #333;
  font-weight: bold;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.week-nav-btn {
  background-color: transparent;
  color: #2196F3;
  border: 2px solid #2196F3;
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 70px;
  height: 40px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.week-nav-btn:hover {
  background-color: #2196F3;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(33, 150, 243, 0.3);
}

.week-nav-btn:active {
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(33, 150, 243, 0.3);
}

.calendar-grid {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  flex: 1;
  display: flex;
  flex-direction: column;
  order: 2;
}

.calendar-scroll-container {
  flex: 1;
  overflow-y: auto;
  max-height: calc(100vh - 300px);
}

.calendar-header-row {
  display: grid;
  grid-template-columns: 80px repeat(7, 1fr);
  background-color: #666;
  color: white;
}

.time-header {
  background-color: #666;
}

.date-header {
  padding: 15px 5px;
  text-align: center;
  border-right: 1px solid #555;
  font-size: 12px;
}

.date-header.today {
  background-color: #00bcd4;
}

.date-header:last-child {
  border-right: none;
}

.date-number {
  font-weight: bold;
  margin-bottom: 2px;
}

.day-name {
  font-size: 10px;
  opacity: 0.8;
}

.day-name.weekend {
  color: #f44336;
  font-weight: bold;
  opacity: 1;
}

.time-row {
  display: grid;
  grid-template-columns: 80px repeat(7, 1fr);
  border-bottom: 1px solid #e0e0e0;
}

.time-row:last-child {
  border-bottom: none;
}

.time-label {
  padding: 15px 10px;
  background-color: #f8f8f8;
  border-right: 1px solid #e0e0e0;
  font-size: 12px;
  color: #666;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.time-cell {
  padding: 15px 5px;
  border-right: 1px solid #e0e0e0;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
}

.time-cell:last-child {
  border-right: none;
}

.status-link {
  text-decoration: none;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
}

.status-excellent {
  color: transparent;
  /* HTMLの○文字を非表示 */
  font-size: 14px;
  font-weight: bold;
  border: 2px solid #2196F3;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.status-excellent::before {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border: 2px solid #2196F3;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.status-good {
  color: transparent;
  /* HTMLの○文字を非表示 */
  font-size: 14px;
  font-weight: bold;
  border: 2px solid #2196F3;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.status-unavailable {
  color: #f44336;
  font-size: 20px;
  font-weight: bold;
}

.status-no-staff {
  color: #f44336;
  font-size: 14px;
  font-weight: normal;
  position: relative;
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.status-no-staff::before {
  content: "";
  position: absolute;
  width: 16px;
  height: 1px;
  background-color: #f44336;
  top: 7px;
  left: 50%;
  transform: translateX(-50%);
}

.status-no-staff::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 1px;
  background-color: #f44336;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
}

.status-link:hover .status-excellent,
.status-link:hover .status-good {
  transform: scale(1.1);
  transition: transform 0.2s ease;
}

/* モーダルスタイル */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal.show {
  opacity: 1;
}

.modal-content {
  background-color: #fefefe;
  margin: 10% auto;
  padding: 0;
  border-radius: 8px;
  width: 90%;
  max-width: 500px;
  max-height: 45vh;
  overflow-y: auto;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transform: translateY(-50px);
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0;
}

/* PCサイズでモーダルの高さを1.8倍に */
@media (min-width: 769px) {
  .modal-content {
    max-height: 81vh;
    /* 45vh × 1.8 = 81vh */
    margin: 5% auto;
    /* 上下マージンも調整 */
  }
}
.modal.show .modal-content {
  transform: translateY(0);
  opacity: 1;
}

.modal-header {
  padding: 15px 20px;
  background-color: #f8f9fa;
  border-bottom: 1px solid #dee2e6;
  border-radius: 8px 8px 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h2 {
  margin: 0;
  color: #495057;
  font-size: 24px;
}

.close {
  color: #aaa;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  line-height: 1;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
}

.modal-body {
  padding: 15px;
}

.reservation-info {
  background-color: #f8f9fa;
  padding: 10px 15px;
  border-radius: 8px;
  margin-bottom: 15px;
}

.reservation-info h3 {
  margin-top: 0;
  margin-bottom: 15px;
  color: #495057;
}

.reservation-info p {
  margin: 8px 0;
  color: #495057;
}

.reserve-form {
  margin: 0;
}

.form-group {
  margin-bottom: 10px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: #495057;
}

.form-label.required::after {
  content: " *";
  color: #dc3545;
}

.form-control {
  width: 100%;
  padding: 12px;
  border: 1px solid #ced4da;
  border-radius: 4px;
  font-size: 16px;
  box-sizing: border-box;
}

.form-control:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

.customer-info {
  border-top: 2px solid #dee2e6;
  padding-top: 20px;
  margin-top: 30px;
}

.customer-info h4 {
  margin-bottom: 20px;
  color: #495057;
}

.form-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #dee2e6;
}

.btn {
  padding: 12px 24px;
  border: none;
  border-radius: 4px;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: #007bff;
  color: white;
}

.btn-primary:hover {
  background-color: #0056b3;
}

.btn-secondary {
  background-color: #6c757d;
  color: white;
}

.btn-secondary:hover {
  background-color: #545b62;
}

.btn-large {
  padding: 15px 30px;
  font-size: 18px;
}

@media (max-width: 768px) {
  .header {
    padding: 10px 15px;
  }
  .logo-text {
    font-size: 16px;
  }
  .main-content {
    padding: 15px;
  }
  .page-title h1 {
    font-size: 20px;
  }
  .service-title h2 {
    font-size: 24px;
  }
  .calendar-header-row {
    grid-template-columns: 60px repeat(7, 1fr);
  }
  .time-row {
    grid-template-columns: 60px repeat(7, 1fr);
  }
  .time-label {
    padding: 10px 5px;
    font-size: 10px;
  }
  .time-cell {
    padding: 10px 2px;
    min-height: 40px;
  }
  .status-excellent,
  .status-good {
    width: 25px;
    height: 25px;
    font-size: 16px;
  }
  .date-header {
    padding: 10px 2px;
    font-size: 10px;
  }
  .modal-content {
    margin: 10% auto;
    width: 95%;
    max-height: 80vh;
  }
  .modal-header {
    padding: 15px 20px;
  }
  .modal-header h2 {
    font-size: 20px;
  }
  .modal-body {
    padding: 20px;
  }
  .form-actions {
    flex-direction: column;
  }
}
/* 
管理者用tooltip */
.admin-tooltip {
  cursor: help;
}

.admin-tooltip-popup {
  position: fixed;
  background-color: rgba(0, 0, 0, 0.9);
  color: white;
  padding: 12px;
  border-radius: 8px;
  font-size: 12px;
  z-index: 10000;
  max-width: 250px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  pointer-events: none;
}

.tooltip-reserve {
  margin-bottom: 8px;
}

.tooltip-reserve:last-child {
  margin-bottom: 0;
}

.tooltip-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 4px;
  align-items: center;
}

.tooltip-row:last-child {
  margin-bottom: 0;
}

.tooltip-label {
  font-weight: 600;
  color: #ccc;
  min-width: 50px;
  font-size: 11px;
}

.tooltip-value {
  font-weight: 400;
  text-align: right;
  flex: 1;
  margin-left: 8px;
}

.tooltip-value.member {
  color: #4CAF50;
  font-weight: 600;
}

.tooltip-value.non-member {
  color: #FF9800;
  font-weight: 600;
}

.tooltip-divider {
  border: none;
  border-top: 1px solid #444;
  margin: 8px 0;
}

/* 予約
確認ページのスタイル */
.confirm-container {
  max-width: 700px;
  margin: 0 auto;
  padding: 20px;
}

.confirm-header {
  text-align: center;
  margin-bottom: 40px;
}

.confirm-header h1 {
  color: #495057;
  margin-bottom: 10px;
}

.confirmation-details {
  background-color: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
}

.confirmation-details h3 {
  margin-top: 0;
  margin-bottom: 30px;
  color: #495057;
  text-align: center;
}

.detail-section {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #dee2e6;
}

.detail-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.detail-section h4 {
  margin-bottom: 15px;
  color: #6c757d;
  font-size: 1.1em;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #f8f9fa;
}

.detail-row:last-child {
  border-bottom: none;
}

.detail-section .label {
  font-weight: bold;
  color: #495057;
  min-width: 120px;
}

.detail-section .value {
  color: #212529;
  text-align: right;
  flex: 1;
}

.notes-content {
  background-color: #f8f9fa;
  padding: 15px;
  border-radius: 4px;
  border-left: 4px solid #007bff;
  margin-top: 10px;
}

.confirm-form {
  text-align: center;
}

.confirm-form .form-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.confirm-form .btn {
  padding: 12px 24px;
  border: none;
  border-radius: 4px;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.3s ease;
}

.confirm-form .btn-primary {
  background-color: #007bff;
  color: white;
}

.confirm-form .btn-primary:hover {
  background-color: #0056b3;
}

.confirm-form .btn-secondary {
  background-color: #6c757d;
  color: white;
}

.confirm-form .btn-secondary:hover {
  background-color: #545b62;
}

.confirm-form .btn-outline {
  background-color: transparent;
  color: #6c757d;
  border: 1px solid #6c757d;
}

.confirm-form .btn-outline:hover {
  background-color: #6c757d;
  color: white;
}

.confirm-form .btn-large {
  padding: 15px 30px;
  font-size: 18px;
}

.confirm-btn {
  background-color: #28a745;
}

.confirm-btn:hover {
  background-color: #1e7e34;
}

@media (max-width: 768px) {
  .detail-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }
  .detail-section .value {
    text-align: left;
  }
  .confirm-form .form-actions {
    flex-direction: column;
  }
  .confirmation-details {
    padding: 20px;
  }
}
/* 
Grid Layout for Calendar */
.calendar-header-grid {
  display: grid;
  grid-template-columns: 2fr repeat(7, 1fr);
  background-color: #666;
  color: white;
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid #555;
}

.time-row-grid {
  display: grid;
  grid-template-columns: 2fr repeat(7, 1fr);
  border-bottom: 1px solid #e0e0e0;
}

.time-row-grid:last-child {
  border-bottom: none;
}

.time-header {
  padding: 15px 10px;
  text-align: center;
  font-size: 14px;
  font-weight: bold;
  border-right: 1px solid #555;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
}

.date-header {
  padding: 10px 5px;
  text-align: center;
  font-size: 12px;
  border-right: 1px solid #555;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60px;
}

.date-header:last-child {
  border-right: none;
}

.date-header.today {
  background-color: #00bcd4;
}

.time-label {
  padding: 15px 10px;
  background-color: #f8f8f8;
  border-right: 1px solid #e0e0e0;
  font-size: 12px;
  color: #666;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  min-height: 50px;
}

.time-cell {
  padding: 15px 5px;
  border-right: 1px solid #e0e0e0;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
}

.time-cell:last-child {
  border-right: none;
}

/* 管理者メニュー
ボタン */
.admin-menu-btn {
  background-color: #28a745 !important;
  color: white !important;
  text-decoration: none !important;
  font-size: 14px;
  padding: 8px 16px;
  border-radius: 4px;
  transition: background-color 0.3s ease;
  white-space: nowrap;
  display: inline-block;
  margin-right: 10px;
}

.admin-menu-btn:hover {
  background-color: #1e7e34 !important;
  color: white !important;
  text-decoration: none !important;
}

.admin-menu-btn:visited {
  color: white !important;
  text-decoration: none !important;
}

/* 出張登録ボタン */
.business-trip-btn {
  background-color: #e91e63 !important;
}

.business-trip-btn:hover {
  background-color: #c2185b !important;
}

* ヘッダー・ナビゲーション（Bootstrap対応） * .header {
  background-color: #333 !important;
}

.navbar-brand.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: white !important;
  text-decoration: none !important;
}

.navbar-brand.logo:hover {
  color: white !important;
}

.logo-icon {
  font-size: 24px;
}

.logo-text {
  font-weight: bold;
  font-size: 18px;
}

/* 管理者メニューボタン（Bootstrap nav-link対応） */
.nav-link.admin-menu-btn {
  background-color: #28a745 !important;
  color: white !important;
  text-decoration: none !important;
  font-size: 14px;
  padding: 8px 16px !important;
  border-radius: 4px;
  transition: background-color 0.3s ease;
  white-space: nowrap;
  margin: 0 5px;
}

.nav-link.admin-menu-btn:hover {
  background-color: #1e7e34 !important;
  color: white !important;
  text-decoration: none !important;
}

.nav-link.admin-menu-btn:visited {
  color: white !important;
  text-decoration: none !important;
}

/* 出張登録ボタン */
.nav-link.business-trip-btn {
  background-color: #e91e63 !important;
}

.nav-link.business-trip-btn:hover {
  background-color: #c2185b !important;
}

/* ログイン・ログアウトボタン */
.nav-link.logout-btn,
.nav-link.login-btn {
  color: white !important;
  text-decoration: none !important;
  font-size: 14px;
  padding: 8px 16px !important;
}

.nav-link.logout-btn:hover,
.nav-link.login-btn:hover {
  color: #ccc !important;
  text-decoration: none !important;
}

/* レスポンシブ対応 */
@media (max-width: 767px) {
  .navbar-nav {
    text-align: center;
    padding-top: 10px;
  }
  .nav-link.admin-menu-btn {
    display: block;
    margin: 5px auto;
    text-align: center;
    max-width: 250px;
  }
  .nav-link.logout-btn,
  .nav-link.login-btn {
    display: block;
    margin: 5px auto;
    text-align: center;
    max-width: 150px;
  }
}
/* レスポンシ
ブヘッダー */
.header {
  background-color: #333;
  color: white;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  font-size: 24px;
}

.logo-text {
  font-weight: bold;
  font-size: 18px;
}

/* ハンバーガーメニューボタン */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: white;
  margin: 3px 0;
  transition: 0.3s;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

/* ヘッダーアクション */
.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.user-menu,
.auth-menu {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
  }
  .header-actions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #333;
    flex-direction: column;
    padding: 20px;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }
  .header-actions.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .user-menu,
  .auth-menu {
    flex-direction: column;
    gap: 15px;
    width: 100%;
  }
  .admin-menu-btn {
    display: block;
    text-align: center;
    margin: 5px 0;
    width: 100%;
    max-width: 300px;
  }
  .logout-btn,
  .login-btn {
    display: block;
    text-align: center;
    padding: 10px;
    margin: 5px 0;
  }
}
/*
 週ナビゲーション（カレンダー用） */
.container-wrapper .week-navigation {
  align-items: center;
  margin-bottom: 20px;
  padding: 0 10px;
  position: relative;
  width: 100%;
}

.container-wrapper .week-range {
  font-size: 18px;
  color: #333;
  font-weight: bold;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.container-wrapper .week-nav-btn {
  background-color: transparent;
  color: #2196F3;
  border: 2px solid #2196F3;
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 70px;
  height: 40px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.container-wrapper .week-nav-btn:hover {
  background-color: #2196F3;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(33, 150, 243, 0.3);
}

.container-wrapper .week-nav-spacer {
  width: 70px;
  height: 40px;
}

/* カレンダーページ専用スタイル */
.container-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 80px;
}

.container-wrapper .week-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding: 15px 0;
  width: 800px;
  position: relative;
}

.container-wrapper .week-navigation .week-range {
  font-size: 18px;
  color: #333;
  font-weight: bold;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.container-wrapper .week-navigation .week-nav-btn {
  background-color: transparent;
  color: #2196F3;
  border: 2px solid #2196F3;
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 70px;
  height: 40px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.container-wrapper .week-navigation .week-nav-btn:hover {
  background-color: #2196F3;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(33, 150, 243, 0.3);
}

.table-wrapper {
  width: 800px;
  height: 80vh;
  background-color: #ffffff;
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
}

.table-header {
  flex-shrink: 0;
  background-color: #ccc;
  border-bottom: 2px solid #999;
}

.table-body {
  flex: 1;
  overflow-y: auto;
}

.table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  border: 3px solid #ccc;
}

.table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background-color: #ccc;
  font-weight: 600;
  border: 1px solid #ccc;
}

.table-mask {
  position: sticky;
  top: 0;
  height: 1px;
  background-color: #fff;
  z-index: 3;
}

.table th,
.table td {
  border: 1px solid #ccc;
  padding: 0.25rem;
  text-align: center;
  vertical-align: middle;
  font-size: 0.95rem;
  aspect-ratio: 1/1;
  height: 80px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 列幅比率 */
.table th:nth-child(1),
.table td:nth-child(1) {
  width: 11.1%;
}

.table th:nth-child(n+2),
.table td:nth-child(n+2) {
  width: 11.1%;
}

/* レスポンシブ対応 */
@media (max-width: 1000px) {
  .container-wrapper .week-navigation {
    width: 600px;
  }
  .table-wrapper {
    width: 600px;
  }
  .table th,
  .table td {
    height: 66px;
  }
}
@media (max-width: 768px) {
  .container-wrapper .week-navigation {
    width: 500px;
  }
  .table-wrapper {
    width: 500px;
  }
  .table th,
  .table td {
    height: 55px;
  }
}
@media (max-width: 600px) {
  .container-wrapper .week-navigation {
    width: 400px;
  }
  .table-wrapper {
    width: 400px;
  }
  .table th,
  .table td {
    height: 44px;
  }
}
@media (max-width: 400px) {
  .container-wrapper .week-navigation {
    width: 380px;
  }
  .table-wrapper {
    width: 380px;
  }
  .table th,
  .table td {
    height: 42px;
  }
}
/* カレンダー固有のスタイル */
.container-wrapper .today {
  background-color: #e3f2fd !important;
}

.container-wrapper .weekend {
  color: #f44336;
  font-weight: bold;
}

.container-wrapper .status-link {
  background: none;
  border: none;
  cursor: pointer;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.container-wrapper .status-excellent {
  color: transparent;
  font-size: 0;
  width: 28px;
  height: 28px;
  border: 3px solid #2196F3;
  border-radius: 50%;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
}

.container-wrapper .status-excellent::before {
  content: "";
  width: 14px;
  height: 14px;
  background-color: #2196F3;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.container-wrapper .status-good {
  color: transparent;
  font-size: 0;
  width: 28px;
  height: 28px;
  border: 3px solid #2196F3;
  border-radius: 50%;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
}

.container-wrapper .status-unavailable {
  color: #f44336;
  font-size: 18px;
  font-weight: bold;
}

.container-wrapper .status-no-staff {
  color: #999;
  font-size: 14px;
}

/* カレンダー用モーダルスタイル */
.container-wrapper .modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
}

.container-wrapper .modal-content {
  background-color: #fefefe;
  margin: 10% auto;
  padding: 0;
  border-radius: 8px;
  width: 90%;
  max-width: 500px;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.container-wrapper .modal-header {
  padding: 15px 20px;
  background-color: #f8f9fa;
  border-bottom: 1px solid #dee2e6;
  border-radius: 8px 8px 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.container-wrapper .modal-header h2 {
  margin: 0;
  color: #495057;
  font-size: 24px;
}

.container-wrapper .close {
  color: #aaa;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  line-height: 1;
}

.container-wrapper .close:hover,
.container-wrapper .close:focus {
  color: #000;
  text-decoration: none;
}

.container-wrapper .modal-body {
  padding: 20px;
}

.container-wrapper .reservation-info {
  background-color: #f8f9fa;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.container-wrapper .reservation-info h3 {
  margin-top: 0;
  margin-bottom: 15px;
  color: #495057;
}

.container-wrapper .reservation-info p {
  margin: 8px 0;
  color: #495057;
}

.container-wrapper .form-group {
  margin-bottom: 15px;
}

.container-wrapper .form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: #495057;
}

.container-wrapper .form-control {
  width: 100%;
  padding: 12px;
  border: 1px solid #ced4da;
  border-radius: 4px;
  font-size: 16px;
  box-sizing: border-box;
}

.container-wrapper .form-control:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

.container-wrapper .customer-info {
  border-top: 2px solid #dee2e6;
  padding-top: 20px;
  margin-top: 20px;
}

.container-wrapper .customer-info h4 {
  margin-bottom: 15px;
  color: #495057;
}

.container-wrapper .form-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #dee2e6;
}

.container-wrapper .btn {
  padding: 12px 24px;
  border: none;
  border-radius: 4px;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.3s ease;
}

.container-wrapper .btn-primary {
  background-color: #007bff;
  color: white;
}

.container-wrapper .btn-primary:hover {
  background-color: #0056b3;
}

.container-wrapper .btn-secondary {
  background-color: #6c757d;
  color: white;
}

.container-wrapper .btn-secondary:hover {
  background-color: #545b62;
}

.container-wrapper .btn-large {
  padding: 15px 30px;
  font-size: 18px;
}

/* 予約関連ページのスタイル */
/* 共通スタイル */
.reserves-container {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: #f5f5f5;
  min-height: 100vh;
  padding: 20px 0;
}

/* 予約一覧ページ (index.html.erb) */
.reserves-index-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

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

.header-actions {
  display: flex;
  gap: 10px;
}

.reserves-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.reserve-card {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 25px;
  border-left: 4px solid #007bff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.reserve-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.reserve-card.past {
  border-left-color: #6c757d;
  opacity: 0.8;
}

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

.reserve-id {
  font-weight: bold;
  color: #495057;
  font-size: 1.1em;
}

.status-badge {
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.85em;
  font-weight: bold;
}

.status-badge.completed {
  background-color: #d4edda;
  color: #155724;
}

.status-badge.today {
  background-color: #fff3cd;
  color: #856404;
}

.status-badge.upcoming {
  background-color: #d1ecf1;
  color: #0c5460;
}

.status-badge.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
  display: inline-block;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: bold;
  margin-bottom: 30px;
  text-align: center;
}

.reserve-info {
  margin-bottom: 20px;
}

.info-row {
  display: flex;
  margin-bottom: 10px;
  align-items: flex-start;
}

.info-row:last-child {
  margin-bottom: 0;
}

.reserves-index-container .label,
.reserve-detail-container .label {
  font-weight: bold;
  color: #495057;
  min-width: 80px;
  margin-right: 15px;
}

.reserves-index-container .value,
.reserve-detail-container .value {
  color: #212529;
  flex: 1;
}

.notes-preview {
  font-style: italic;
  color: #6c757d;
}

.reserve-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  padding-top: 15px;
  border-top: 1px solid #dee2e6;
}

.empty-state {
  text-align: center;
  padding: 60px 20px;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.empty-icon {
  font-size: 4em;
  margin-bottom: 20px;
}

.empty-state h3 {
  color: #495057;
  margin-bottom: 15px;
}

.empty-state p {
  color: #6c757d;
  margin-bottom: 30px;
  font-size: 1.1em;
}

/* 予約詳細ページ (show.html.erb) */
.reserve-detail-container {
  max-width: 700px;
  margin: 0 auto;
  padding: 20px;
}

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

.reserve-details {
  background-color: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
}

.detail-section {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #dee2e6;
}

.detail-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.detail-section h3 {
  margin-bottom: 20px;
  color: #495057;
  font-size: 1.2em;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #f8f9fa;
}

.detail-row:last-child {
  border-bottom: none;
}

.reserve-detail-container .label {
  min-width: 120px;
}

.reserve-detail-container .value {
  text-align: right;
}

.notes-content {
  background-color: #f8f9fa;
  padding: 15px;
  border-radius: 4px;
  border-left: 4px solid #007bff;
  margin-top: 10px;
}

.action-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
}

/* 予約フォームページ (new.html.erb) */
.reserve-form-container {
  max-width: 600px;
  margin: 0 auto;
  padding: 20px;
}

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

.reservation-info {
  background-color: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 30px;
}

.reservation-info h3 {
  margin-top: 0;
  color: #495057;
}

.reserve-form {
  background-color: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: #495057;
}

.form-control {
  width: 100%;
  padding: 12px;
  border: 1px solid #ced4da;
  border-radius: 4px;
  font-size: 16px;
}

.form-control:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

.customer-info {
  border-top: 2px solid #dee2e6;
  padding-top: 20px;
  margin-top: 30px;
}

.customer-info h4 {
  margin-bottom: 20px;
  color: #495057;
}

.form-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #dee2e6;
}

.error-messages {
  background-color: #f8d7da;
  color: #721c24;
  padding: 15px;
  border-radius: 4px;
  margin-bottom: 20px;
}

.error-messages h4 {
  margin-top: 0;
}

.error-messages ul {
  margin-bottom: 0;
}

/* 共通ボタンスタイル */
.btn {
  padding: 8px 16px;
  border: none;
  border-radius: 4px;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s ease;
}

.btn-sm {
  padding: 6px 12px;
  font-size: 13px;
}

.btn-large {
  padding: 15px 30px;
  font-size: 18px;
}

.btn-primary {
  background-color: #007bff;
  color: white;
}

.btn-secondary {
  background-color: #6c757d;
  color: white;
}

.btn-outline {
  background-color: transparent;
  color: #007bff;
  border: 1px solid #007bff;
}

.btn-danger {
  background-color: #dc3545;
  color: white;
}

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

/* レスポンシブデザイン */
@media (max-width: 768px) {
  .index-header,
  .detail-header,
  .form-header {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
  .header-actions {
    justify-content: center;
  }
  .reserve-header {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
  .info-row,
  .detail-row {
    flex-direction: column;
    gap: 5px;
    align-items: flex-start;
  }
  .reserve-detail-container .value {
    text-align: left;
  }
  .reserve-actions,
  .action-buttons,
  .form-actions {
    justify-content: center;
    flex-direction: column;
  }
  .reserve-card,
  .reserve-details,
  .reserve-form {
    padding: 20px;
  }
}
/* スタッフスケジュール管理ページのスタイル */
.staff-schedule-container {
  max-width: 100%;
  margin: 0;
  padding: 0;
  background-color: #f5f5f5;
  height: 100vh;
  display: flex;
  flex-direction: column;
}

.staff-schedule-container .header {
  background-color: #333;
  color: white;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.staff-schedule-container .logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.staff-schedule-container .logo-icon {
  font-size: 24px;
}

.staff-schedule-container .logo-text {
  font-weight: bold;
  font-size: 18px;
}

.staff-schedule-container .header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.staff-schedule-container .user-menu {
  display: flex;
  align-items: center;
  gap: 15px;
}

.calendar-btn,
.logout-btn {
  color: white;
  text-decoration: none;
  font-size: 14px;
  padding: 8px 16px;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.calendar-btn {
  background-color: #007bff;
}

.calendar-btn:hover {
  background-color: #0056b3;
}

.logout-btn:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.menu-btn {
  font-size: 14px;
  font-weight: bold;
}

.staff-schedule-container .main-content {
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
  margin-top: 70px;
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.staff-schedule-container .page-title {
  text-align: center;
  margin-bottom: 30px;
}

.staff-schedule-container .page-title h1 {
  font-size: 24px;
  color: #333;
  margin: 0;
}

/* スタッフ選択 */
.staff-selector {
  background-color: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.staff-selector label {
  font-weight: bold;
  color: #495057;
  white-space: nowrap;
}

.staff-selector select {
  flex: 1;
  padding: 10px;
  border: 1px solid #ced4da;
  border-radius: 4px;
  font-size: 16px;
}

/* 週ナビゲーション */
.staff-schedule-container .week-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding: 0 10px;
  position: relative;
}

.staff-schedule-container .week-range {
  font-size: 18px;
  color: #333;
  font-weight: bold;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.staff-schedule-container .week-nav-btn {
  background-color: transparent;
  color: #2196F3;
  border: 2px solid #2196F3;
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 70px;
  height: 40px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.staff-schedule-container .week-nav-btn:hover {
  background-color: #2196F3;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(33, 150, 243, 0.3);
}

/* スケジュールグリッド */
.schedule-form {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.schedule-grid {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 600px;
}

.schedule-header-row {
  display: grid;
  grid-template-columns: 100px repeat(7, 1fr);
  background-color: #666;
  color: white;
  min-height: 80px;
}

.schedule-header-row .time-header {
  background-color: #666;
  padding: 10px 5px;
  text-align: center;
  font-weight: bold;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.date-header {
  padding: 10px 5px;
  text-align: center;
  border-right: 1px solid #555;
  font-size: 11px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}

.date-header.today {
  background-color: #00bcd4;
}

.date-header:last-child {
  border-right: none;
}

.date-number {
  font-weight: bold;
  font-size: 12px;
}

.day-name {
  font-size: 10px;
  opacity: 0.8;
}

.day-name.weekend {
  color: #ffcdd2;
  font-weight: bold;
  opacity: 1;
}

.day-controls {
  display: flex;
  gap: 2px;
  justify-content: center;
  margin-top: 4px;
}

.day-all-btn,
.day-clear-btn {
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  padding: 1px 4px;
  font-size: 8px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.day-all-btn:hover {
  background-color: rgba(76, 175, 80, 0.3);
}

.day-clear-btn:hover {
  background-color: rgba(244, 67, 54, 0.3);
}

.schedule-scroll-container {
  flex: 1;
  overflow-y: auto;
  max-height: calc(100vh - 450px);
}

.time-row {
  display: grid;
  grid-template-columns: 100px repeat(7, 1fr);
  border-bottom: 1px solid #e0e0e0;
  min-height: 50px;
}

.time-row:last-child {
  border-bottom: none;
}

.time-label {
  padding: 8px 5px;
  background-color: #f8f8f8;
  border-right: 1px solid #e0e0e0;
  font-size: 12px;
  color: #666;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.schedule-cell {
  padding: 8px 5px;
  border-right: 1px solid #e0e0e0;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
}

.schedule-cell:last-child {
  border-right: none;
}

/* カスタムチェックボックス */
.checkbox-container {
  display: inline-block;
  position: relative;
  cursor: pointer;
  user-select: none;
  width: 20px;
  height: 20px;
}

.checkbox-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 20px;
  width: 20px;
  background-color: #eee;
  border: 2px solid #ddd;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.checkbox-container:hover input ~ .checkmark {
  background-color: #ccc;
}

.checkbox-container input:checked ~ .checkmark {
  background-color: #2196F3;
  border-color: #2196F3;
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
  display: block;
}

.checkbox-container .checkmark:after {
  left: 6px;
  top: 2px;
  width: 5px;
  height: 8px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* フォームアクション */
.form-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
  padding: 20px;
  background-color: white;
  border-radius: 8px 8px 0 0;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  bottom: 0;
  z-index: 100;
  margin-top: auto;
}

.staff-schedule-container .btn {
  padding: 12px 24px;
  border: none;
  border-radius: 4px;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.3s ease;
}

.staff-schedule-container .btn-primary {
  background-color: #007bff;
  color: white;
}

.staff-schedule-container .btn-primary:hover {
  background-color: #0056b3;
}

.staff-schedule-container .btn-secondary {
  background-color: #6c757d;
  color: white;
}

.staff-schedule-container .btn-secondary:hover {
  background-color: #545b62;
}

.staff-schedule-container .btn-large {
  font-size: 18px;
}

.empty-state {
  text-align: center;
  padding: 60px 20px;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
  .staff-schedule-container .header {
    padding: 10px 15px;
  }
  .staff-schedule-container .main-content {
    padding: 15px;
  }
  .staff-selector {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .staff-selector select {
    width: 100%;
  }
  .schedule-header-row {
    grid-template-columns: 80px repeat(7, 1fr);
  }
  .time-row {
    grid-template-columns: 80px repeat(7, 1fr);
  }
  .time-label {
    padding: 10px 5px;
    font-size: 10px;
  }
  .schedule-cell {
    padding: 10px 2px;
    min-height: 50px;
  }
  .checkmark {
    height: 20px;
    width: 20px;
  }
  .checkbox-container .checkmark:after {
    left: 6px;
    top: 2px;
    width: 5px;
    height: 8px;
  }
  .date-header {
    padding: 10px 2px;
    font-size: 10px;
  }
  .day-controls,
  .time-controls {
    flex-direction: column;
    gap: 2px;
  }
  .day-all-btn,
  .day-clear-btn,
  .time-all-btn,
  .time-clear-btn {
    font-size: 8px;
    padding: 1px 4px;
  }
  .form-actions {
    flex-direction: column;
  }
}
/* 出張登録ページのスタイル */
.business-trip-container {
  max-width: 100%;
  margin: 0;
  padding: 0;
  background-color: #f5f5f5;
  height: 100vh;
  display: flex;
  flex-direction: column;
}

.business-trip-container .header {
  background-color: #333;
  color: white;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.business-trip-container .logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.business-trip-container .logo-icon {
  font-size: 24px;
}

.business-trip-container .logo-text {
  font-weight: bold;
  font-size: 18px;
}

.business-trip-container .header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.business-trip-container .user-menu {
  display: flex;
  align-items: center;
  gap: 15px;
}

.business-trip-container .main-content {
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
  margin-top: 70px;
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.business-trip-container .page-title {
  text-align: center;
  margin-bottom: 30px;
}

.business-trip-container .page-title h1 {
  font-size: 24px;
  color: #333;
  margin: 0;
}

/* マシン選択 */
.machine-selector {
  background-color: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.machine-selector label {
  font-weight: bold;
  color: #495057;
  white-space: nowrap;
}

.machine-selector select {
  flex: 1;
  padding: 10px;
  border: 1px solid #ced4da;
  border-radius: 4px;
  font-size: 16px;
}

/* 週ナビゲーション */
.business-trip-container .week-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding: 0 10px;
  position: relative;
}

.business-trip-container .week-range {
  font-size: 18px;
  color: #333;
  font-weight: bold;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.business-trip-container .week-nav-btn {
  background-color: transparent;
  color: #2196F3;
  border: 2px solid #2196F3;
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 70px;
  height: 40px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.business-trip-container .week-nav-btn:hover {
  background-color: #2196F3;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(33, 150, 243, 0.3);
}

/* 出張スケジュールグリッド */
.business-trip-form {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.business-trip-grid {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  flex: 1;
  display: flex;
  flex-direction: column;
  order: 2;
}

.business-trip-header-row {
  display: grid;
  grid-template-columns: 100px repeat(7, 1fr);
  background-color: #00bcd4;
  color: white;
  min-height: 80px;
}

.business-trip-header-row .time-header {
  background-color: #00bcd4;
  padding: 15px 10px;
  text-align: center;
  font-weight: bold;
}

.date-header {
  padding: 15px 5px;
  text-align: center;
  border-right: 1px solid #0097a7;
  font-size: 12px;
}

.date-header.today {
  background-color: #0097a7;
}

.date-header:last-child {
  border-right: none;
}

.date-number {
  font-weight: bold;
  margin-bottom: 2px;
}

.day-name {
  font-size: 10px;
  opacity: 0.8;
  margin-bottom: 8px;
}

.day-name.weekend {
  color: #ffcdd2;
  font-weight: bold;
  opacity: 1;
}

.day-controls {
  display: flex;
  gap: 4px;
  justify-content: center;
}

.day-all-btn,
.day-clear-btn {
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 3px;
  padding: 2px 6px;
  font-size: 10px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.day-all-btn:hover {
  background-color: rgba(76, 175, 80, 0.3);
}

.day-clear-btn:hover {
  background-color: rgba(244, 67, 54, 0.3);
}

.business-trip-scroll-container {
  flex: 1;
  overflow-y: auto;
  max-height: calc(100vh - 450px);
}

.time-row {
  display: grid;
  grid-template-columns: 100px repeat(7, 1fr);
  border-bottom: 1px solid #e0e0e0;
}

.time-row:last-child {
  border-bottom: none;
}

.time-label {
  padding: 15px 10px;
  background-color: #f8f8f8;
  border-right: 1px solid #e0e0e0;
  font-size: 12px;
  color: #666;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
}

.business-trip-cell {
  padding: 15px 5px;
  border-right: 1px solid #e0e0e0;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
}

.business-trip-cell:last-child {
  border-right: none;
}

/* 出張用カスタムチェックボックス */
.business-trip-container .checkbox-container {
  display: inline-block;
  position: relative;
  cursor: pointer;
  user-select: none;
  width: 20px;
  height: 20px;
}

.business-trip-container .checkbox-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.trip-checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 20px;
  width: 20px;
  background-color: #eee;
  border: 2px solid #ddd;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.business-trip-container .checkbox-container:hover input ~ .trip-checkmark {
  background-color: #ccc;
}

.business-trip-container .checkbox-container input:checked ~ .trip-checkmark {
  background-color: #00bcd4;
  border-color: #00bcd4;
}

.trip-checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.business-trip-container .checkbox-container input:checked ~ .trip-checkmark:after {
  display: block;
}

.business-trip-container .checkbox-container .trip-checkmark:after {
  left: 6px;
  top: 2px;
  width: 5px;
  height: 8px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* フォームアクション */
.business-trip-container .form-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
  padding: 20px;
  background-color: white;
  border-radius: 8px 8px 0 0;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  bottom: 0;
  z-index: 100;
  margin-top: auto;
}

.business-trip-container .btn {
  padding: 12px 24px;
  border: none;
  border-radius: 4px;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.3s ease;
}

.business-trip-container .btn-primary {
  background-color: #00bcd4;
  color: white;
}

.business-trip-container .btn-primary:hover {
  background-color: #0097a7;
}

.business-trip-container .btn-secondary {
  background-color: #6c757d;
  color: white;
}

.business-trip-container .btn-secondary:hover {
  background-color: #545b62;
}

.business-trip-container .btn-large {
  font-size: 15px;
}

.business-trip-container .empty-state {
  text-align: center;
  padding: 60px 20px;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
  .business-trip-container .header {
    padding: 10px 15px;
  }
  .business-trip-container .main-content {
    padding: 15px;
  }
  .machine-selector {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .machine-selector select {
    width: 100%;
  }
  .business-trip-header-row {
    grid-template-columns: 80px repeat(7, 1fr);
  }
  .business-trip-container .time-row {
    grid-template-columns: 80px repeat(7, 1fr);
  }
  .business-trip-container .time-label {
    padding: 10px 5px;
    font-size: 10px;
  }
  .business-trip-cell {
    padding: 10px 2px;
    min-height: 50px;
  }
  .trip-checkmark {
    height: 20px;
    width: 20px;
  }
  .business-trip-container .checkbox-container .trip-checkmark:after {
    left: 6px;
    top: 2px;
    width: 5px;
    height: 8px;
  }
  .business-trip-container .date-header {
    padding: 10px 2px;
    font-size: 10px;
  }
  .business-trip-container .day-controls {
    flex-direction: column;
    gap: 2px;
  }
  .business-trip-container .day-all-btn,
  .business-trip-container .day-clear-btn {
    font-size: 8px;
    padding: 1px 4px;
  }
  .business-trip-container .form-actions {
    flex-direction: column;
  }
}
/* 管理画面 - 新規予約一覧のスタイル */
.admin-new-reserves {
  /* スマホサイズでの調整 */
}
.admin-new-reserves .table-wrapper {
  border: 1px solid #dee2e6;
  border-radius: 0.375rem;
  overflow: hidden;
  width: 100%;
}
.admin-new-reserves .table-header {
  background-color: #6c757d;
  overflow-x: auto;
}
.admin-new-reserves .table-header table {
  margin-bottom: 0;
  min-width: 800px;
  width: 100%;
}
.admin-new-reserves .table-header th {
  background-color: #b9b9b9 !important;
  color: white !important;
  border-bottom: 1px solid #dee2e6;
  padding: 0.75rem;
  white-space: nowrap;
}
.admin-new-reserves .table-body {
  height: 60vh;
  overflow-y: auto;
  overflow-x: auto;
}
.admin-new-reserves .table-body table {
  margin-bottom: 0;
  min-width: 800px;
  width: 100%;
}
.admin-new-reserves .table-body tbody tr:hover {
  background-color: rgba(0, 0, 0, 0.075);
}
.admin-new-reserves .table-body td {
  padding: 0.75rem;
  vertical-align: top;
  white-space: nowrap;
}
@media (max-width: 768px) {
  .admin-new-reserves {
    /* ストライプ効果を固定列にも適用 */
    /* ホバー効果を固定列にも適用 */
  }
  .admin-new-reserves .table-wrapper {
    position: relative;
    overflow: hidden;
  }
  .admin-new-reserves .table-header {
    overflow: hidden;
  }
  .admin-new-reserves .table-header table {
    width: 700px !important;
    min-width: 700px;
    table-layout: fixed;
  }
  .admin-new-reserves .table-header th:first-child {
    position: sticky;
    left: 0;
    z-index: 20;
    background-color: #6c757d !important;
    width: 140px;
    min-width: 140px;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
  }
  .admin-new-reserves .table-header th:nth-child(2) {
    width: 120px;
    min-width: 120px;
  }
  .admin-new-reserves .table-header th:nth-child(3) {
    width: 150px;
    min-width: 150px;
  }
  .admin-new-reserves .table-header th:nth-child(4) {
    width: 200px;
    min-width: 200px;
  }
  .admin-new-reserves .table-header th:nth-child(5) {
    width: 90px;
    min-width: 90px;
  }
  .admin-new-reserves .table-body {
    overflow-x: auto;
    overflow-y: auto;
  }
  .admin-new-reserves .table-body table {
    width: 700px !important;
    min-width: 700px;
    table-layout: fixed;
  }
  .admin-new-reserves .table-body td:first-child {
    position: sticky;
    left: 0;
    z-index: 15;
    background-color: white !important;
    width: 140px;
    min-width: 140px;
    border-right: 2px solid #dee2e6;
    white-space: normal;
    box-shadow: 3px 0 8px rgba(0, 0, 0, 0.15);
  }
  .admin-new-reserves .table-body td:nth-child(2) {
    width: 120px;
    min-width: 120px;
    white-space: normal;
  }
  .admin-new-reserves .table-body td:nth-child(3) {
    width: 150px;
    min-width: 150px;
    white-space: normal;
  }
  .admin-new-reserves .table-body td:nth-child(4) {
    width: 200px;
    min-width: 200px;
    white-space: normal;
  }
  .admin-new-reserves .table-body td:nth-child(5) {
    width: 90px;
    min-width: 90px;
    white-space: normal;
  }
  .admin-new-reserves .table-body tbody tr:nth-of-type(odd) td:first-child {
    background-color: #f8f9fa !important;
  }
  .admin-new-reserves .table-body tbody tr:hover td:first-child {
    background-color: #e9ecef !important;
  }
}
