@charset "UTF-8";

:root {
  --weak-color: #999;
}

/* init */
body {
  background: #f5f5f5;
}
main {
  padding-bottom: 40px;
}


/* layout*/
.layout1 {
  padding-bottom: 40px;
}
/* .col-2 > *:nth-child(n + 3) {
  margin-top: 6%;
} */
.content-margin-l {
  margin-top: 120px;
}
.content-margin-sss {
  margin-top: 16px;
}
.box-inner {
 padding: 2%;
}
.box-flex {
  align-items: stretch;
}

/* style */
.color-red {
  color: #e04622;
}
.message-attention {
  word-break: auto-phrase;
}
.message-attention a:hover {
  color: #e04622;
  text-decoration: underline;
}
#reservation-contents {
  background: #dcdcdc;
  box-shadow: 0 2px 4px rgb(0, 0, 0, .25);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1;
}
#reservation-contents summary {
  text-align: right;
  padding: 1em;
}
#reservation-contents ul {
 margin: 0;
}
#reservation-contents li {
  align-items: center;
  border-bottom: 1px solid #ccc;
  display: flex;
  justify-content: flex-start;
  line-height: 1.25;
  padding: 1em;
}
#reservation-contents i {
  flex-basis: 2em;
  text-align: center;
}
.login-content {
  position: fixed;
  top: 0;
  right: 1em;
  z-index: 2;
}
.login-content a {
  background: #f5f5f5;
  border-radius: 4px;
  padding: 0.5em 1em;
  text-decoration: none;
}
.login-content a:hover {
  background: #212529;
  color: #f5f5f5;
  transition: 0.5s;
}
#select-menu-name span {
  display: block;
}
.heading {
display: inline-block;
font-size: 1.5em;
padding: 0 1em;
position: relative;
text-align: center;
}
.heading::before,
.heading::after {
  content: "●";
  font-size: .8em;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}
.heading::after {
  left: inherit;
  right: 0;
}
.category {
  margin: 40px 1em 1em 1em;
}
.category:first-of-type {
  margin-top: 20px;
}
.square-btn {
  align-content: space-between;
  border-radius: 22px;
  background: #f5f5f5;
  box-shadow:  8px 8px 18px #e4e4e4,
               -8px -8px 18px #ffffff;
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  margin: 2%;
  padding: 2% 4%;
  position: relative;
}
.square-btn.selected {
  box-shadow: inset 8px 8px 18px #e4e4e4,
              inset -8px -8px 18px #ffffff;
}
.square-btn.selected::after {
  content: "選択中";
  opacity: .8;
  padding: 0.5em 2em;
  position: absolute;
  top: 10%;
  right: 0;
}
.square-btn p {
 margin: 0;
}
.square-btn .box-inner {
  width: 100%;
}
#area-calendar table {
  table-layout: fixed;
  text-align: center;
  width: 100%;
}
#area-calendar th {
  background: #ccc;
  border: 1px solid #333;
  font-weight: normal;
}
#area-calendar .change-month th {
  background: none;
  border: none;
  display: table-cell;
}
#area-calendar .change-month i {
  padding: 0 .5em;
}
#area-calendar td {
  border: 1px solid #333;
  padding: .25em;
}
#area-calendar td:not(.passed),
.change-month {
  cursor: pointer;
}
#area-calendar .passed {
  background-color: #ccc;
}
#area-calendar td:not(.passed):hover,
#area-calendar td:not(.passed).selected,
.menu-bar:hover {
  box-shadow: none;
  color: #fff;
}

/* header */
#logo-main,
.logo-main {
  margin: 0 auto;
  width: 50%;
}
.information {
  margin: 40px auto 20px auto;
  text-align: center;
  width: 80%;
}
.mb-1 {
  margin-bottom: 40px;
}
#area-login {
  position: fixed;
  top: 80px;
  right: 20px;
}
#area-login a {
  border-radius: 2em;
  box-shadow: 0 1px 2px rgb(0, 0, 0, .5);
  padding: 0.5em 2em;
  text-decoration: none;
  transition: 0.5s;
}


/* footer */
.contact {
  align-items: center;
  border-radius: 50%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, .25);
  display: flex;
  font-size: 1.75em;
  height: 56px;
  justify-content:center;
  position: fixed;
  right: 16px;
  bottom: 40px;
  width: 56px;
}
.contact:hover {
  text-decoration: none;
}

.menu-name .txt-s {
  display: block;
}


/* form */
.form input,
.form textarea {
 border-radius: 4px;
 margin-top: 16px;
}
.form .message-error {
  background: none;
  border: none;
  font-weight: bold;
  padding: .5em;
}
.form .border-error {
  border: solid 1px #da4437;
}
.form .square-btn {
  margin: 2%;
}
.form .square-btn:nth-child(odd) {
  margin-left: 0;
}
.form .square-btn:nth-child(even) {
  margin-right: 0;
}
.form .box-inner {
  margin: 0;
}
.form .btn-submit {
  background: #e04622;
  border: 1px solid #e04622;
  border-radius: 4px;
}
.form .btn-submit:hover {
  border: 1px solid #e04622;
  color: #e04622;
}
.form .btn-submit:focus {
  outline: none;
}
/*complete*/
.logo-main {
  width: 40%;
}

/* mypage */
#area-mypage header {
  background: #fff;
  padding: 0.5em 1em;
}
#area-mypage header h1 {
  width: 60px;
}
#area-mypage main {
  padding-top: 100px;
}
#area-mypage main button {
  display: block;
  margin-left: auto;
}
#area-mypage main form {
  margin-bottom: 0;
}
#area-mypage main .btn-sign-up {
  /* background: #dcdcdc; */
  padding: 0.5em;
  text-align: center;
  text-decoration: none;
}
#area-mypage .confirm-infor {
  border: solid 1px #ccc;
  margin-top: 40px;
}
.btn-registration {
  background-color: transparent;
  border: none;
  cursor: pointer;
  outline: none;
  appearance: none;

  color: #fff;
  cursor: pointer; /* ポインターカーソルを表示 */
  background-color: #212529;
  margin: auto;
  padding: 8px 24px;
  width: 40%;
}

.btn-registration[disabled] {
  background-color: #ccc;
  cursor: not-allowed; /* クリック不可のカーソルを表示 */
}


#page-mypage-header {
  height: 20vh;
  overflow: hidden;
  padding-bottom: 80px;
  box-sizing: content-box;
  padding-bottom: calc(80px + 4em);
  position: relative;
}
#page-mypage-header::before {
  content: "";
  width: 200%;
  height: 100vw;
  background: #fff;
  position: absolute;
  left: -50%;
  right: -50%;
  bottom: calc(80px + 4em);
  border-radius: 50%;
}
.profile-image {
  background: #fff;
  border: 4px solid #fff;
  border-radius: 50%;
  height: 160px;
  margin: auto;
  position: absolute;
  left: 0;
  right: 0;
  top: calc(20vh - 160px / 2);
  width: 160px;
}
.profile-image img {
  margin: auto;
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  width: 80%;
}
.member-name {
  font-size: 2em;
  margin: auto;
  position: absolute;
  bottom: 4px;
  left: 0;
  right: 0;
  text-align: center;
}
.profile-text {
  line-height: 2;
}
.week-color {
  color: var(--weak-color);
  font-size: 0.8em;
}

@media screen and (max-width: 648px) {
  .layout1 {
    padding: 0 4% 40px 4%;
  }
  .square-btn.selected::after {
    font-size: .8em;
  }
}
