.form-rows {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 1em;
}

.form-row {
  margin: 2em 0;
}
.form-row ul {
  font-size: 16px;
}
@media screen and (max-width: 960px) {
  .form-row {
    display: block;
  }
}
.form-row .birthday-select {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 5px;
}
.form-row input[type=text],
.form-row input[type=email],
.form-row textarea {
  width: 100%;
}
.form-row input[type=file] {
  font-size: 16px;
}
.form-row input[type=file]::-webkit-file-upload-button {
  font-size: 16px;
}
.form-row input[type=file]::file-selector-button {
  font-size: 16px;
}
.form-row.amount-row {
  display: block;
}
.form-row.amount-row select {
  max-width: 720px;
  height: 56px;
  width: 100%;
}
.form-row .form-row-label {
  margin-bottom: 5px;
  font-weight: bold;
}

.update-form-content h2 {
  color: #5b4c4c;
}
.update-form-content h3 {
  background-color: #fce3e0;
  padding: 1em;
  text-align: center;
  font-size: clamp(20px, 3vw, 32px);
}
.update-form-content .update-information {
  font-size: clamp(16px, 3vw, 20px);
  color: #5b4c4c;
}
.update-form-content .update-information p {
  text-align: center;
}
.update-form-content .update-information .notice-list {
  margin: 2em auto;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
}
.update-form-content .update-information .notice-list ul {
  list-style-type: none;
  border: 1px solid #5b4c4c;
  padding-left: 0;
  padding: 2em;
}
@media screen and (max-width: 960px) {
  .update-form-content .update-information .notice-list ul {
    padding: 1em;
  }
}
.update-form-content .information-form {
  padding: 2em;
  border: 1px solid #333333;
  margin-bottom: 2em;
}
@media screen and (max-width: 960px) {
  .update-form-content .information-form {
    padding: 1em;
  }
}
.update-form-content .calc-box {
  background-color: #fef5f4;
  padding: 3em;
}
@media screen and (max-width: 960px) {
  .update-form-content .calc-box {
    padding: 1em;
  }
}
.update-form-content .calc-box table tbody tr {
  border-bottom: 1px solid #d6d6d6;
}
.update-form-content .calc-box table tbody tr th,
.update-form-content .calc-box table tbody tr td {
  border: none;
}
.update-form-content .more-btn {
  background-color: #57c6d5;
  color: #fff;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  padding: 10px 1em;
  margin: 2em auto;
  cursor: pointer;
  border: 1px solid #5c4c4c;
}
.update-form-content .more-btn:hover {
  -webkit-transition: 0.3s;
  transition: 0.3s;
  background-color: #fff;
  color: #5c4c4c;
}

.submit-container {
  text-align: center;
}
.submit-container .submit-btn {
  display: block;
  background-color: #57c6d5;
  width: 100%;
  max-width: 300px;
  height: 56px;
  color: #fff;
  padding: 10px 1em;
  margin: 1em auto;
  cursor: pointer;
  border: 1px solid #5c4c4c;
}
.submit-container .submit-btn:hover {
  -webkit-transition: 0.3s;
  transition: 0.3s;
  background-color: #fff;
  color: #5c4c4c;
}
.submit-container .backbtn {
  background-color: #fef5f4;
  width: 100%;
  max-width: 300px;
  color: #5c4c4c;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  padding: 10px 1em;
  margin: 1em auto;
  cursor: pointer;
  border: 1px solid #5c4c4c;
}
.submit-container .backbtn:hover {
  -webkit-transition: 0.3s;
  transition: 0.3s;
  background-color: #5c4c4c;
  color: #fff;
}

.change-info table {
  margin: 2em auto;
}
.change-info .change-row {
  display: grid;
  grid-template-columns: 200px auto;
  gap: 10px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding-bottom: 0.5em;
  margin-bottom: 0.5em;
}
@media screen and (max-width: 960px) {
  .change-info .change-row {
    display: block;
  }
}
.change-info .change-row .change-title {
  font-weight: bold;
  padding: 0.5em;
}
.change-info .change-row .change-content form {
  display: block;
  width: 100%;
}
.change-info .change-row .change-content form .form-row {
  display: grid;
  grid-template-columns: auto 200px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 10px;
  margin: 10px auto;
}
.change-info .change-row .change-content form .form-row .form-submit {
  margin: 0;
}
@media screen and (max-width: 960px) {
  .change-info .change-row .change-content form .form-row .form-submit {
    margin-top: 1em;
    margin-left: auto;
  }
}
@media screen and (max-width: 960px) {
  .change-info .change-row .change-content form .form-row {
    display: block;
  }
}
.change-info .change-content-title {
  font-size: clamp(18px, 3vw, 22px);
  background-color: #483838;
  color: #fff;
  padding: 1em;
  margin: 1em auto;
}
.change-info .change-before {
  display: grid;
  grid-template-columns: 200px 1fr;
}

.mypage-btn {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  place-items: center;
  gap: 1em;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin: 2em auto;
}
@media screen and (max-width: 960px) {
  .mypage-btn {
    grid-template-columns: 1fr 1fr;
  }
}
.mypage-btn .cm-btn {
  margin: 0;
}

.user-info-table table tbody tr {
  border-top: 1px solid #5b4c4c;
}
@media screen and (max-width: 600px) {
  .user-info-table table tbody tr {
    display: grid;
    grid-template-rows: auto auto;
  }
}
.user-info-table table tbody tr:last-child {
  border-bottom: 1px solid #5b4c4c;
}
.user-info-table table tbody tr th,
.user-info-table table tbody tr td {
  border: none;
  padding: 0.8em;
  text-align: center !important;
}
@media screen and (max-width: 600px) {
  .user-info-table table tbody tr th,
  .user-info-table table tbody tr td {
    width: 100% !important;
  }
}
.user-info-table table tbody tr th {
  font-weight: bold;
  background-color: #fef5f4 !important;
}

.line-kanyu-banner {
  -webkit-transform: translateY(-20%);
          transform: translateY(-20%);
}
.line-kanyu-banner .soudan-banner {
  display: block;
  text-align: center;
}
@media screen and (max-width: 600px) {
  .line-kanyu-banner .soudan-banner {
    display: none;
  }
}
.line-kanyu-banner .soudan-banner-sp {
  display: none;
  text-align: center;
}
@media screen and (max-width: 600px) {
  .line-kanyu-banner .soudan-banner-sp {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
}

.cm-btn {
  width: 100%;
  max-width: 300px;
  height: 50px;
  margin: 2em auto;
}
.cm-btn a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  border: 1px solid #000;
  width: 100%;
  height: 100%;
  margin: 0 auto;
  text-decoration: none;
  background-color: #5c4c4c;
  color: #fff;
}
.cm-btn a:hover {
  background-color: #fff;
  color: #5c4c4c;
}
.cm-btn.logout-btn a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  background-color: #f4cccc;
  border: 1px solid #000;
  max-width: 300px;
  margin: 2em auto;
  color: #000;
  text-decoration: none;
  height: 50px;
}
.cm-btn.logout-btn a:hover {
  background-color: #fff;
  color: #000;
}
.cm-btn.logout-btn a:hover {
  background-color: #fff;
  color: #5c4c4c;
}
.cm-btn.left-side {
  margin: 2em 0;
}
.cm-btn.cm-input {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
.cm-btn.grey-out a {
  pointer-events: none;
  background-color: grey;
}

.member-card {
  border: thick double #5c4c4c;
  padding: 1em;
}
.member-card .member-title {
  text-align: center;
}
.member-card .member-info-table {
  border: 1px solid #000;
  background-color: #f4cccc;
  font-weight: bold;
}
.member-card .member-info-table tbody {
  margin: 5px;
}
.member-card .member-info-table td {
  padding: 5px;
  font-size: 16px;
}
.member-card .number-grid {
  display: grid;
  grid-template-columns: repeat(14, 1fr);
  grid-template-rows: 1fr 1fr;
  grid-template-areas: "huken huken syosyou kankatu kankatu kikan kikan kikan kikan kikan kikan eda eda eda" "n-1 n-2 n-3 n-4 n-5 n-6 n-7 n-8 n-9 n-10 n-11 n-12 n-13 n-14";
  border: 1px solid #000;
}
.member-card .number-grid p {
  text-align: center;
  margin: 0;
  font-size: 16px;
  border-collapse: collapse;
}
.member-card .number-grid .huken {
  grid-area: huken;
  border-bottom: 1px solid #000;
  border-right: 1px solid #000;
}
.member-card .number-grid .syosyou {
  grid-area: syosyou;
  border-bottom: 1px solid #000;
  border-right: 1px solid #000;
}
.member-card .number-grid .kankatu {
  grid-area: kankatu;
  border-bottom: 1px solid #000;
  border-right: 1px solid #000;
}
.member-card .number-grid .kikan {
  grid-area: kikan;
  border-bottom: 1px solid #000;
  border-right: 1px solid #000;
}
.member-card .number-grid .eda {
  grid-area: eda;
  border-bottom: 1px solid #000;
}
.member-card .number-grid .n-1 {
  grid-area: n-1;
  border-right: 1px solid #000;
}
.member-card .number-grid .n-2 {
  grid-area: n-2;
  border-right: 1px solid #000;
}
.member-card .number-grid .n-3 {
  grid-area: n-3;
  border-right: 1px solid #000;
}
.member-card .number-grid .n-4 {
  grid-area: n-4;
  border-right: 1px solid #000;
}
.member-card .number-grid .n-5 {
  grid-area: n-5;
  border-right: 1px solid #000;
}
.member-card .number-grid .n-6 {
  grid-area: n-6;
  border-right: 1px solid #000;
}
.member-card .number-grid .n-7 {
  grid-area: n-7;
  border-right: 1px solid #000;
}
.member-card .number-grid .n-8 {
  grid-area: n-8;
  border-right: 1px solid #000;
}
.member-card .number-grid .n-9 {
  grid-area: n-9;
  border-right: 1px solid #000;
}
.member-card .number-grid .n-10 {
  grid-area: n-10;
  border-right: 1px solid #000;
}
.member-card .number-grid .n-11 {
  grid-area: n-11;
  border-right: 1px solid #000;
}
.member-card .number-grid .n-12 {
  grid-area: n-12;
  border-right: 1px solid #000;
}
.member-card .number-grid .n-13 {
  grid-area: n-13;
  border-right: 1px solid #000;
}
.member-card .number-grid .n-14 {
  grid-area: n-14;
}
.member-card .print-date {
  text-align: right;
}
.member-card .syoumei {
  text-align: center;
}

.line-content {
  margin: 5em 0;
}
@media screen and (max-width: 600px) {
  .line-content .line-pc {
    display: none;
  }
}
.line-content .line-sp {
  display: none;
}
@media screen and (max-width: 600px) {
  .line-content .line-sp {
    display: block;
  }
}

.line-banner .soudan-banner {
  display: block;
  text-align: center;
}
.line-banner .soudan-banner a {
  max-width: 400px;
}
.line-banner .soudan-banner a img {
  max-width: 400px;
}
@media screen and (max-width: 600px) {
  .line-banner .soudan-banner {
    display: none;
  }
}
.line-banner .soudan-banner-sp {
  display: none;
  text-align: center;
}
.line-banner .soudan-banner-sp a {
  max-width: 400px;
}
@media screen and (max-width: 600px) {
  .line-banner .soudan-banner-sp {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
}

#receipt {
  padding: 1em;
  border: 1px solid #333;
}
#receipt .receipt-head {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: distribute;
      justify-content: space-around;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-bottom: 1em;
}
#receipt .receipt-head h3 {
  margin: 0;
}