@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Rubik:wght@300;400;500;600;700;800;900&display=swap");
:root {
  --noto: "Noto Sans JP", sans-serif;
  --rubik: "Rubik", sans-serif;
  --red: #e60012;
  --transition: 0.4s;
}

.rubik {
  font-family: var(--rubik);
}

.pc-b {
  display: block !important;
}
@media screen and (max-width: 768px) {
  .pc-b {
    display: none !important;
  }
}

.sp-b {
  display: none !important;
}
@media screen and (max-width: 768px) {
  .sp-b {
    display: block !important;
  }
}

.pc-ib {
  display: inline-block !important;
}
@media screen and (max-width: 768px) {
  .pc-ib {
    display: none !important;
  }
}

.sp-ib {
  display: none !important;
}
@media screen and (max-width: 768px) {
  .sp-ib {
    display: inline-block !important;
  }
}

.pc-f {
  display: flex !important;
}
@media screen and (max-width: 768px) {
  .pc-f {
    display: none !important;
  }
}

.sp-f {
  display: none !important;
}
@media screen and (max-width: 768px) {
  .sp-f {
    display: flex !important;
  }
}

.img-wrap {
  width: fit-content;
}
.img-wrap img {
  width: 100%;
  height: auto;
}

html {
  font-feature-settings: "palt";
  line-height: 1;
  letter-spacing: 0em;
  -webkit-tap-highlight-color: transparent;
  -webkit-text-size-adjust: 100%;
}

*,
::before,
::after {
  box-sizing: border-box;
  border-style: solid;
  border-width: 0;
}

body {
  margin: 0;
  font-family: var(--noto);
  font-weight: 400;
}

main {
  display: block;
}

p,
table,
blockquote,
address,
pre,
iframe,
form,
figure,
dl {
  margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
}

ul,
ol {
  padding: 0;
  margin: 0;
  list-style: none;
}

dt {
  font-weight: bold;
}

dd {
  margin-left: 0;
}

hr {
  box-sizing: content-box;
  height: 0;
  margin: 0;
  overflow: visible;
  clear: both;
  color: inherit;
  border-top-width: 1px;
}

address {
  font-style: inherit;
}

a {
  color: inherit;
  text-decoration: none;
  background-color: transparent;
}

b,
strong {
  font-weight: bolder;
}

small {
  font-size: 100%;
}

sub,
sup {
  position: relative;
  font-size: 75%;
  line-height: 0;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

svg,
img,
embed,
object,
iframe {
  vertical-align: bottom;
}

button,
input,
optgroup,
select,
textarea {
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  text-align: inherit;
  text-transform: inherit;
  vertical-align: middle;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  border-radius: 0;
}

[type=checkbox] {
  -webkit-appearance: checkbox;
  appearance: checkbox;
}

[type=radio] {
  -webkit-appearance: radio;
  appearance: radio;
}

button,
[type=button],
[type=reset],
[type=submit] {
  cursor: pointer;
}

button:disabled,
[type=button]:disabled,
[type=reset]:disabled,
[type=submit]:disabled {
  cursor: default;
}

:-moz-focusring {
  outline: auto;
}

select:disabled {
  opacity: inherit;
}

option {
  padding: 0;
}

fieldset {
  min-width: 0;
  padding: 0;
  margin: 0;
}

progress {
  vertical-align: baseline;
}

textarea {
  overflow: auto;
}

[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
}

[type=search] {
  outline-offset: -2px;
}

[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

::-webkit-file-upload-button {
  font: inherit;
  -webkit-appearance: button;
}

label[for] {
  cursor: pointer;
}

details {
  display: block;
}

summary {
  display: list-item;
}

[contenteditable]:focus {
  outline: auto;
}

table {
  border-collapse: collapse;
  border-color: inherit;
}

caption {
  text-align: left;
}

td,
th {
  padding: 0;
  vertical-align: top;
}

th {
  font-weight: bold;
  text-align: left;
}

html body .main .content {
  z-index: 0;
}
html body .main .form {
  padding: 80px 18px 70px;
  margin-top: -100px;
}
@media screen and (max-width: 1080px) {
  html body .main .form {
    margin-top: -50px;
  }
}
@media screen and (max-width: 768px) {
  html body .main .form {
    padding: 30px 15px 30px 15px;
    margin-top: -150px;
  }
}
html body .main .form .match-wrapper {
  display: block;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  margin-top: 0;
}
@media screen and (max-width: 768px) {
  html body .main .form .match-wrapper {
    margin-top: 0;
  }
}
html body .main .form .match-wrapper .message-list .message-list-item {
  width: 100%;
  padding: 11px 20px 20px 20px;
  border: solid 2px #cccccc;
  border-radius: 12px;
}
@media screen and (max-width: 768px) {
  html body .main .form .match-wrapper .message-list .message-list-item {
    padding: 11px 12px 30px 12px;
  }
}
html body .main .form .match-wrapper .message-list .message-list-item:not(:first-of-type) {
  margin-top: 20px;
}
@media screen and (max-width: 768px) {
  html body .main .form .match-wrapper .message-list .message-list-item:not(:first-of-type) {
    margin-top: 12px;
  }
}
html body .main .form .match-wrapper .message-list .message-list-item.is-hidden {
  display: none;
}
html body .main .form .match-wrapper .message-list .message-list-item .head {
  display: flex;
  justify-content: flex-end;
  width: 100%;
  min-height: 50px;
  padding-bottom: 13px;
  position: relative;
}
html body .main .form .match-wrapper .message-list .message-list-item .head .category {
  width: 128px;
  height: 58px;
  border-radius: 12px 0 0 0;
  background: url(../media/images/matching/profile-category.png) no-repeat;
  background-size: contain;
  position: absolute;
  top: -12px;
  left: -21px;
}
@media screen and (max-width: 768px) {
  html body .main .form .match-wrapper .message-list .message-list-item .head .category {
    width: 118px;
    height: 56px;
    top: -12px;
    left: -13px;
  }
}
html body .main .form .match-wrapper .message-list .message-list-item .head .category span {
  display: block;
  padding: 7px 17px;
  font-size: 13px;
  line-height: 1.3076923077;
  letter-spacing: 0em;
  font-weight: 700;
  text-align: center;
  color: #fff;
}
@media screen and (max-width: 500px) {
  html body .main .form .match-wrapper .message-list .message-list-item .head .category span {
    font-size: 12px;
    line-height: 1.3333333333;
    letter-spacing: 0em;
  }
}
html body .main .form .match-wrapper .message-list .message-list-item .head .date {
  display: flex;
}
@media screen and (max-width: 500px) {
  html body .main .form .match-wrapper .message-list .message-list-item .head .date {
	  flex-flow: column nowrap;
	  align-items: flex-end;
  }
}
html body .main .form .match-wrapper .message-list .message-list-item .head .date.new {
  padding-left: 64px;
  position: relative;
}
@media screen and (max-width: 768px) {
  html body .main .form .match-wrapper .message-list .message-list-item .head .date.new {
    padding-top: 25px;
    padding-left: 0;
  }
}
html body .main .form .match-wrapper .message-list .message-list-item .head .date.new::before {
  content: "NEW";
  display: block;
  padding: 0 12px;
  font-size: 14px;
  line-height: 1.7142857143;
  letter-spacing: 0em;
  font-weight: 700;
  color: #E60012;
  border: solid 1px #E60012;
  position: absolute;
  top: 0;
  left: 0;
}
@media screen and (max-width: 500px) {
  html body .main .form .match-wrapper .message-list .message-list-item .head .date.new::before {
    font-size: 12px;
    line-height: 2;
    letter-spacing: 0em;
    padding: 0 10px;
    left: unset;
    right: 0;
  }
}
html body .main .form .match-wrapper .message-list .message-list-item .head .date dt {
  font-size: 12px;
  line-height: 2;
  letter-spacing: 0em;
  font-weight: 500;
  color: #858585;
}
@media screen and (max-width: 500px) {
  html body .main .form .match-wrapper .message-list .message-list-item .head .date dt {
	  line-height: 1.5;
  }
}
html body .main .form .match-wrapper .message-list .message-list-item .head .date dd {
  margin-left: 10px;
  font-size: 13px;
  line-height: 1.9230769231;
  letter-spacing: 0em;
  font-weight: 500;
  color: #858585;
}
@media screen and (max-width: 500px) {
  html body .main .form .match-wrapper .message-list .message-list-item .head .date dd {
    margin-left: 6px;
	line-height: 1.5;
  }
}
html body .main .form .match-wrapper .message-list .message-list-item .profile {
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: 950px;
}
@media screen and (max-width: 768px) {
  html body .main .form .match-wrapper .message-list .message-list-item .profile {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
}
html body .main .form .match-wrapper .message-list .message-list-item .profile .body {
  width: 100%;
  max-width: clamp(622px, 50vw, 700px);
}
@media screen and (max-width: 768px) {
  html body .main .form .match-wrapper .message-list .message-list-item .profile .body {
    max-width: 100%;
  }
}
html body .main .form .match-wrapper .message-list .message-list-item .profile .body .company {
  font-size: 20px;
  line-height: 1.5;
  letter-spacing: 0em;
  font-weight: 700;
  text-align: left;
  color: #333;
}
@media screen and (max-width: 500px) {
  html body .main .form .match-wrapper .message-list .message-list-item .profile .body .company {
    font-size: 17px;
    line-height: 1.7647058824;
    letter-spacing: 0em;
  }
}
html body .main .form .match-wrapper .message-list .message-list-item .profile .body .pn-wrap {
  display: flex;
  margin-top: 12px;
}
html body .main .form .match-wrapper .message-list .message-list-item .profile .body .pn-wrap .position {
  font-size: 16px;
  line-height: 0.9375;
  letter-spacing: 0em;
  font-weight: 500;
  text-align: left;
  color: #333;
}
@media screen and (max-width: 500px) {
  html body .main .form .match-wrapper .message-list .message-list-item .profile .body .pn-wrap .position {
    font-size: 14px;
    line-height: 1.0714285714;
    letter-spacing: 0em;
  }
}
html body .main .form .match-wrapper .message-list .message-list-item .profile .body .pn-wrap .position + .name {
  padding-left: 24px;
  position: relative;
}
html body .main .form .match-wrapper .message-list .message-list-item .profile .body .pn-wrap .position + .name::before {
  content: "";
  display: block;
  width: 2px;
  height: 100%;
  background-color: #CCCCCC;
  position: absolute;
  top: 0;
  left: 11px;
}
html body .main .form .match-wrapper .message-list .message-list-item .profile .body .pn-wrap .name {
  font-size: 16px;
  line-height: 0.9375;
  letter-spacing: 0em;
  font-weight: 500;
  text-align: left;
  color: #333;
}
@media screen and (max-width: 500px) {
  html body .main .form .match-wrapper .message-list .message-list-item .profile .body .pn-wrap .name {
    font-size: 14px;
    line-height: 1.0714285714;
    letter-spacing: 0em;
  }
}
html body .main .form .match-wrapper .message-list .message-list-item .profile .body .summary {
  margin-top: 16px;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0em;
  font-weight: 500;
  text-align: left;
  color: #333;
}
@media screen and (max-width: 500px) {
  html body .main .form .match-wrapper .message-list .message-list-item .profile .body .summary {
    font-size: 13px;
    line-height: 1.6153846154;
    letter-spacing: 0em;
  }
}
html body .main .form .match-wrapper .message-list .message-list-item .profile .buttons {
  width: 100%;
  max-width: clamp(222px, 17.9vw, 250px);
  align-items: flex-end;
  margin: 0;
}
@media screen and (max-width: 768px) {
  html body .main .form .match-wrapper .message-list .message-list-item .profile .buttons {
    max-width: 100%;
    align-items: center;
    margin-top: 20px;
  }
}
html body .main .form .match-wrapper .message-list .message-list-item .profile .buttons .button.small {
  width: 100%;
  max-width: 180px;
  padding: 13px;
  font-size: 15px;
  line-height: 1.2;
  letter-spacing: 0em;
  font-weight: 700;
}
@media screen and (max-width: 768px) {
  html body .main .form .match-wrapper .message-list .message-list-item .profile .buttons .button.small {
    font-size: 14px;
    line-height: 1.2;
    letter-spacing: 0em;
    max-width: 200px;
  }
}
html body .main .form .match-wrapper .message-list .message-list-item.br-gray {
  background-color: #f2f2f2;
}
html body .main .form .match-wrapper .message-list .message-list-item.br-gray .profile {
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: 950px;
}
html body .main .form .match-wrapper .message-list .message-list-item.br-gray .profile .body {
  max-width: clamp(622px, 50vw, 700px);
}
html body .main .form .match-wrapper .message-list .message-list-item.br-gray .profile .body .company {
  color: #858585;
}
html body .main .form .match-wrapper .message-list .message-list-item.br-gray .profile .body .pn-wrap .position {
  color: #858585;
}
html body .main .form .match-wrapper .message-list .message-list-item.br-gray .profile .body .pn-wrap .name {
  color: #858585;
}
html body .main .form .match-wrapper .message-list .message-list-item.br-gray .profile .body .summary {
  color: #858585;
}
html body .main .form .match-wrapper .loading-msg {
  width: 100%;
  padding: 20px;
}
html body .main .form .match-wrapper .loading-msg .result-msg {
  text-align: center;
  font-size: 18px;
  line-height: 1.2222222222;
  letter-spacing: 0em;
  font-weight: 700;
}
html body .main .showmore-wrapper {
  margin-top: 30px;
}
html body .main .showmore-wrapper .showmore {
  cursor: pointer;
  font-size: 17px;
  line-height: 1.2;
  letter-spacing: 0em;
  font-weight: 700;
  line-height: 20.4px;
  text-align: center;
  text-decoration: underline;
  color: #E60012;
}
@media screen and (max-width: 1080px) {
  html body .main .mv__inner h1 {
    padding-bottom: 50px;
  }
}
@media screen and (max-width: 500px) {
  html body .main .mv__inner h1 {
    padding-bottom: 20px;
  }
}
@media screen and (max-width: 500px) {
  html body .main .content {
    padding-top: 180px;
  }
}
html body .main .content__wrapper__inner .main-content.gray-pattern::after {
  top: 100px;
  height: calc(100% - 100px);
}
@media screen and (max-width: 1080px) {
  html body .main .content__wrapper__inner .main-content.gray-pattern::after {
    top: 50px;
    height: calc(100% - 50px);
  }
}
@media screen and (max-width: 500px) {
  html body .main .content__wrapper__inner .main-content.gray-pattern::after {
    top: 150px;
    height: calc(100% - 150px);
  }
}
html body .main .message-modal {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
}
html body .main .message-modal .modal-cover {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  background-color: #cccccc;
  opacity: 0.4;
  cursor: unset;
}
html body .main .message-modal .modal-content {
  width: 100%;
  height: 100%;
  max-width: 800px;
  max-height: 80%;
  padding: 35px 35px 50px;
  background-color: #FFFFFF;
  border-radius: 15px;
  overflow-y: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.15);
  overflow: visible;
}
@-moz-document url-prefix() {
  html body .main .message-modal .modal-content {
    scrollbar-width: 0;
    scrollbar-color: transparent;
  }
}
html body .main .message-modal .modal-content::-webkit-scrollbar {
  background: transparent;
  width: 0;
  border-radius: 0;
}
html body .main .message-modal .modal-content::-webkit-scrollbar-thmb {
  background: transparent;
  border-radius: 90;
}
@media screen and (max-width: 850px) {
  html body .main .message-modal .modal-content {
    width: calc(100% - (18.5px * 2));
  }
}
@media screen and (max-width: 500px) {
  html body .main .message-modal .modal-content {
    padding: 20px 15px 40px;
  }
}
html body .main .message-modal .modal-content-inner {
  margin-top: 0;
  height: 100%;
  display: flex;
  flex-flow: column nowrap;
  max-height: calc(80vh - 105px);
}
@media screen and (max-width: 767px) {
	html body .main .message-modal .modal-content-inner {
		max-height: calc(80vh - 130px);
	}
}
@media screen and (max-width: 375px) {
	html body .main .message-modal .modal-content-inner {
		max-height: calc(80vh - 80px);
	}
}
html body .main .message-modal .modal-content-inner .modal-content-head {
  flex: none;
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 10px;
}
@media screen and (max-width: 768px) {
  html body .main .message-modal .modal-content-inner .modal-content-head {
    flex-flow: column nowrap;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 8px;
  }
}
html body .main .message-modal .profile .body .company {
  margin-top: 12px;
  font-size: 22px;
  line-height: 1.1363636364;
  letter-spacing: 0em;
  font-weight: 700;
  text-align: left;
}
@media screen and (max-width: 375px) {
  html body .main .message-modal .profile .body .company {
    margin-top: 10px;
    font-size: 17px;
    line-height: 1.4705882353;
    letter-spacing: 0em;
  }
}
html body .main .message-modal .profile .body .pn-wrap {
  display: flex;
  margin-top: 12px;
}
@media screen and (max-width: 375px) {
  html body .main .message-modal .profile .body .pn-wrap {
    margin-top: 4px;
  }
}
html body .main .message-modal .profile .body .pn-wrap .position {
  font-size: 15px;
  line-height: 1.3333333333;
  letter-spacing: 0em;
  font-weight: 500;
  text-align: left;
}
@media screen and (max-width: 375px) {
  html body .main .message-modal .profile .body .pn-wrap .position {
    font-size: 14px;
    line-height: 1.0714285714;
    letter-spacing: 0em;
  }
}
html body .main .message-modal .profile .body .pn-wrap .position + .name {
  padding-left: 24px;
  position: relative;
}
html body .main .message-modal .profile .body .pn-wrap .position + .name::before {
  content: "";
  display: block;
  width: 2px;
  height: 100%;
  background-color: #CCCCCC;
  position: absolute;
  top: 0;
  left: 11px;
}
html body .main .message-modal .profile .body .pn-wrap .name {
  font-size: 16px;
  line-height: 1.25;
  letter-spacing: 0em;
  font-weight: 500;
  text-align: left;
  color: #333333;
}
@media screen and (max-width: 375px) {
  html body .main .message-modal .profile .body .pn-wrap .name {
    font-size: 14px;
    line-height: 1.0714285714;
    letter-spacing: 0em;
  }
}
html body .main .message-modal .matching-link {
  font-size: 16px;
  line-height: 1.25;
  letter-spacing: 0em;
  font-weight: 500;
  text-align: left;
  color: #E60012;
}
@media screen and (max-width: 375px) {
  html body .main .message-modal .matching-link {
    font-size: 14px;
    line-height: 1.0714285714;
    letter-spacing: 0em;
  }
}
html body .main .message-modal .matching-link .link {
  font-size: 90%;
  text-decoration-line: underline;
  text-decoration-style: solid;
  text-decoration-color: #E60012;
}
@media screen and (max-width: 375px) {
  html body .main .message-modal .matching-link .link {
    font-size: 14px;
    line-height: 1.0714285714;
    letter-spacing: 0em;
  }
}
html body .main .message-modal .matching-link .link p::before {
  content: "";
  display: inline-block;
  aspect-ratio: 1;
  width: 12px;
  height: auto;
  background-image: url(../media/images/matching/icon_right_triangle.svg);
  background-position: center bottom;
  background-repeat: no-repeat;
  background-size: 100%;
}
html body .main .message-modal .message-form {
  margin-top: 30px;
  background-color: #f2f2f2;
  padding: 50px 20px 30px;
  position: relative;
  display: flex;
  flex-flow: column nowrap;
  width: 100%;
  height: calc(100% - 100px);
  box-shadow: unset;
}
@media screen and (max-width: 375px) {
  html body .main .message-modal .message-form {
    margin-top: 20px;
    padding: 30px 15px 15px;
  }
}
html body .main .message-modal .message-form .chat-area {
  padding: 0 10px;
  flex: auto;
  overflow-y: auto;
  display: flex;
  flex-flow: column nowrap;
  gap: 15px;
}
html body .main .message-modal .message-form .chat-area .accept_interest.accept,
html body .main .message-modal .message-form .chat-area .send_request.send,
html body .main .message-modal .message-form .chat-area .decline_request.decline,
html body .main .message-modal .message-form .chat-area .cancel_request.decline,
html body .main .message-modal .message-form .chat-area .change_request.change,
html body .main .message-modal .message-form .chat-area .withdraw_request.decline,
html body .main .message-modal .message-form .chat-area .delete_request.delete {
  width: 100%;
  text-align: center;
  line-height: 1.2;
}
html body .main .message-modal .message-form .chat-area .accept_request.accept {
  width: 100%;
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
  align-items: center;
}
html body .main .message-modal .message-form .chat-area .accept_request.accept .box {
  width: 60%;
  background-color: #ffffff;
  border-radius: 10px;
  border: 1px solid #E60012;
  padding: 20px 0;
}
@media screen and (max-width: 768px) {
  html body .main .message-modal .message-form .chat-area .accept_request.accept .box {
    width: 90%;
  }
}
html body .main .message-modal .message-form .chat-area .accept_request.accept .box .label {
  font-size: 120%;
  justify-content: center;
  align-items: center;
  padding: 0 10px;
}
html body .main .message-modal .message-form .chat-area .accept_request.accept .box .label p {
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  align-items: center;
  gap: 20px;
}
html body .main .message-modal .message-form .chat-area .accept_request.accept .box .label p::before {
  content: "";
  display: inline-block;
  aspect-ratio: 1;
  width: 24px;
  height: auto;
  background-image: url(../media/images/matching/icon_check.svg);
  background-position: center bottom;
  background-repeat: no-repeat;
  background-size: 100%;
}
html body .main .message-modal .message-form .chat-area .accept_request.accept .box .label::before, html body .main .message-modal .message-form .chat-area .accept_request.accept .box .label::after {
  display: none;
}
html body .main .message-modal .message-form .chat-area .accept_request.accept .box .summary .multiple-line {
  white-space: pre-line;
  margin: auto;
  max-width: 230px;
  font-size: 12px;
  font-weight: 500;
  padding: 0 5px;
}
html body .main .message-modal .message-form .chat-area .accept_request.accept .box .summary .multiple-line.jp {
  max-width: 230px;
}
html body .main .message-modal .message-form .chat-area .accept_request.accept .box .summary .multiple-line.en {
  max-width: 250px;
}
html body .main .message-modal .message-form .chat-area .label {
  display: flex;
  align-items: center;
  font-size: 14px;
  line-height: 1.5714285714;
  letter-spacing: 0em;
  font-weight: 700;
  text-align: center;
  color: #E60012;
  position: relative;
}
html body .main .message-modal .message-form .chat-area .label::before, html body .main .message-modal .message-form .chat-area .label::after {
  content: "";
  min-width: 50px;
  height: 1px;
  flex-grow: 1;
  background: #E60012;
}
html body .main .message-modal .message-form .chat-area .label::before {
  margin-right: 20px;
}
html body .main .message-modal .message-form .chat-area .label::after {
  margin-left: 20px;
}
html body .main .message-modal .message-form .chat-area .message {
  width: 100%;
  display: flex;
  flex-flow: column nowrap;
  gap: 6px;
  font-size: 14px;
  line-height: 1.5;
  justify-content: flex-start;
  letter-spacing: 0.002px;
}
html body .main .message-modal .message-form .chat-area .message .text {
  max-width: 75%;
  padding: 15px 20px;
  white-space: pre-line;
  line-height: 1.5;
  padding: .6em 1em;
}
@media screen and (max-width: 768px) {
  html body .main .message-modal .message-form .chat-area .message .text {
    max-width: 85%;
  }
}
html body .main .message-modal .message-form .chat-area .message .created {
  font-size: 98%;
}
html body .main .message-modal .message-form .chat-area .message.yours {
  align-items: flex-start;
}
html body .main .message-modal .message-form .chat-area .message.yours .text {
  border-radius: 10px 10px 10px 0;
  background-color: #ffffff;
}
html body .main .message-modal .message-form .chat-area .message.mine {
  align-items: flex-end;
}
html body .main .message-modal .message-form .chat-area .message.mine .text {
  border-radius: 10px 10px 0 10px;
  background-color: #ff828b;
  color: #ffffff;
}
html body .main .message-modal .message-form .post-msg {
  margin-top: 20px;
  padding: 0 10px;
  flex: none;
  position: relative;
}
html body .main .message-modal .message-form .post-msg .data {
  width: 100%;
  margin-top: 10px;
}
html body .main .message-modal .message-form .post-msg .data .data-unit {
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
  align-items: flex-start;
  gap: 16px 30px;
  width: 100%;
}
html body .main .message-modal .message-form .post-msg .data .data-unit.row-wrap {
  flex-flow: row wrap;
  justify-content: flex-start;
}
html body .main .message-modal .message-form .post-msg textarea {
  width: 100%;
  max-width: 100%;
  min-height: 63px;
  padding: 10px 100px 10px 10px;
  border-radius: 5px;
  border: 1px solid #CCCCCC;
  background: #ffffff;
  resize: none;
}
html body .main .message-modal .message-form .post-msg .buttons {
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin: 0;
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
}
@media screen and (max-width: 375px) {
  html body .main .message-modal .message-form .post-msg .buttons {
    gap: 10px;
  }
}
html body .main .message-modal .message-form .post-msg .buttons .button {
  display: block;
  margin: 0;
  padding: 12px 20px;
  width: 80px;
  border: 1px solid #E60012;
  background: #ffffff;
  color: #E60012;
  font-size: 15px;
  line-height: 1.6666666667;
  letter-spacing: 0em;
  font-weight: 700;
  text-align: center;
  text-decoration: none !important;
  border-radius: 999px;
  position: relative;
}
@media screen and (max-width: 500px) {
  html body .main .message-modal .message-form .post-msg .buttons .button {
    padding: 12px 17px;
    font-size: 14px;
    line-height: 1.3571428571;
    letter-spacing: 0em;
  }
}
html body .main .message-modal .message-form .post-msg .buttons .button.thin {
  opacity: 0.3;
  pointer-events: none;
}
html body .main .message-modal .message-form .post-msg .buttons .button.medium {
  min-width: 80px;
}
@media screen and (max-width: 375px) {
  html body .main .message-modal .message-form .post-msg .buttons .button.medium {
    min-width: 50px;
  }
}
html body .main .message-modal .message-form .post-msg .buttons .button.positive {
  border-color: #E60012;
  background: #E60012;
  color: #ffffff;
}
html body .main .message-modal .close-btn {
  width: 50px;
  height: 50px;
  background: url(../media/images/matching/icon_modal-close.svg);
  background-size: contain;
  background-position: center;
  font-size: 0;
  position: absolute;
  top: 0;
  right: 0;
  transform: translate(50%, -50%);
}
@media screen and (max-width: 768px) {
  html body .main .message-modal .close-btn {
    width: 37px;
    height: 37px;
  }
}
html body .main .message-modal .close-btn:hover {
  background: url(../media/images/matching/icon_modal-close.svg) no-repeat;
  background-size: contain;
  background-position: center;
  font-size: 0;
}

@media screen and (max-width: 768px) {
  span.sp-br {
    content: "A";
    white-space: pre;
  }
}

html.modal-active body#page-top .sub_navigation{
	z-index: 9;
}

html.modal-active body .main .content {
  z-index: 100;
}
.modal .bottom-profile {
	padding-top: 1em;
	display: flex;
	flex-flow: row nowrap;
	justify-content: flex-start;
	align-items: flex-end;
	gap: 1.5em;
}
@media screen and (max-width: 768px) {
	.modal .bottom-profile {
		align-items: flex-start;
	}
}
.modal .bottom-profile .photo-wrap {
	width: 120px;
	flex: none;
}
@media screen and (max-width: 768px) {
	.modal .bottom-profile .photo-wrap {
		width: 80px;
	}
}
.modal .bottom-profile .phone-wrap {
	line-height: 1.5;
}
@media screen and (max-width: 300px) {
	.modal .bottom-profile {
		overflow-x: scroll;
	}
	.modal .bottom-profile .phone-wrap {
		max-width: 130px;
		min-width: 100px;
	}
}
.modal .bottom-profile .phone-wrap .phone {
	margin-top: 10px;
}

html body .main .form .match-wrapper .message-list .message-list-item .head .category {
  height: unset;
  min-height: 40px;
  border-radius: 0 0 5px 5px;
  background: var(--clr-black);
  left: 0;
  padding-bottom: 0;
}
