/* ==========================================================================
   meirune — about.css: the shop's information pages, each a part of our own markup:
   - 会社概要 (/f/company, フリーページ, company.html, .mr-company);
   - お問い合わせ (/f/contact, フリーページ, contact.html, .mr-contact);
   - 特定商取引法に基づく表記について (/p/about/terms, #fs_AboutTerms, legal.html, .mr-legal);
   - プライバシーポリシー (/p/about/privacy-policy, #fs_PrivacyPolicy, privacy.html,
     .mr-policy);
   - 利用規約 (/p/about/member-agreement, #fs_MemberAgreement, terms.html, .mr-policy).
   Loaded after base.css by the mr.css.about part in the head of those layouts. The
   breadcrumb, container and title type come from base.css. Measured from the Bagisto
   theme's resources/views/company, contact, legal, privacy, terms and partials/policy-page.
   ========================================================================== */

/* The parts carry their own breadcrumb, so futureshop's (which names the pages
   特定商取引法に基づく表示, 個人情報取り扱いについて and 会員規約について) is left out. */
:is(#fs_AboutTerms, #fs_PrivacyPolicy, #fs_MemberAgreement):has(.mr-about) .fs-c-breadcrumb {
  display: none;
}

.mr-about {
  padding: 32px 0;
  color: var(--mr-ink);
}

.mr-about,
.mr-about * {
  box-sizing: border-box;
}

.mr-about__title {
  margin-bottom: 40px;
  text-align: center;
}

/* 会社概要: label and value side by side at every width, the label underlined in red. */
.mr-company .mr-inner {
  max-width: 1500px;
}

.mr-company__list {
  margin: 0;
}

.mr-company__row {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
}

.mr-company__label {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 10px 0 10px 10px;
  border-bottom: 2px solid var(--mr-red);
  color: var(--mr-red);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.6;
}

.mr-company__value {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0;
  padding: 10px;
  border-bottom: 1px solid #ddd;
  font-size: 12px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.mr-company__value p {
  margin: 0;
}

.mr-company__map {
  display: block;
  width: 100%;
  margin-top: 20px;
  border: 0;
  aspect-ratio: 8 / 3;
}

/* 特定商取引法: label above value below md, side by side from md. */
.mr-legal .mr-about__title {
  margin-bottom: 20px;
}

.mr-legal__list {
  margin: 0;
  border-top: 1px solid #ddd;
}

.mr-legal__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.mr-legal__label {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 10px 0 10px 10px;
  color: var(--mr-red);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.6;
}

.mr-legal__value {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0;
  padding: 0 10px 10px;
  border-bottom: 1px solid #ddd;
  font-size: 12px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.mr-legal__value p {
  margin: 0;
}

/* One group of lines; the next group starts a little lower. */
.mr-legal__block + .mr-legal__block {
  margin-top: 1.2em;
}

.mr-legal__value a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: opacity var(--mr-ease);
}

.mr-legal__value a:hover {
  opacity: 0.65;
}

/* プライバシーポリシー and 利用規約: a lead, then clauses under red-ruled headings, and for
   the terms a closing 以上 on the right. */
.mr-policy__lead,
.mr-policy__closing,
.mr-policy__body p {
  margin: 0;
  font-size: 10px;
  line-height: 2;
}

.mr-policy__lead {
  margin-bottom: 40px;
}

.mr-policy__section + .mr-policy__section {
  margin-top: 40px;
}

.mr-policy__closing {
  margin-top: 40px;
  text-align: right;
}

.mr-policy__heading {
  margin: 0;
  padding-left: 12px;
  border-left: 3px solid var(--mr-red);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.7;
}

.mr-policy__body {
  margin-top: 20px;
}

.mr-policy__body p + p {
  margin-top: 1em;
}

.mr-policy__body a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* お問い合わせ (contact.html): a 900px column; the script shows one step at a time -
   the form, the values to confirm, or the thanks. Measured from the Bagisto theme's
   resources/views/contact. */
.mr-contact .mr-inner {
  max-width: 900px;
}

.mr-contact .mr-about__title {
  margin-bottom: 20px;
}

.mr-contact__step[hidden] {
  display: none;
}

.mr-contact__copy p {
  margin: 0;
  font-size: 10px;
  line-height: 1.9;
}

.mr-contact__copy p + p {
  margin-top: 1.6em;
}

.mr-contact__copy a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: opacity var(--mr-ease);
}

.mr-contact__copy a:hover {
  opacity: 0.65;
}

.mr-contact__subheading {
  margin: 2em 0 0.8em;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.7;
}

.mr-contact__list {
  margin: 1em 0 1.6em;
  padding-left: 1.4em;
  font-size: 10px;
  line-height: 1.9;
  list-style: disc;
}

.mr-contact__list li + li {
  margin-top: 0.4em;
}

.mr-contact__alert {
  margin: 20px 0;
  padding: 12px 16px;
  border: 1px solid var(--mr-red);
  color: var(--mr-red);
  font-size: 10px;
  line-height: 1.8;
}

.mr-contact__alert[hidden] {
  display: none;
}

.mr-contact__form {
  margin-top: 32px;
}

.mr-contact__field + .mr-contact__field {
  margin-top: 22px;
}

.mr-contact__label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 700;
}

.mr-contact__required {
  display: inline-flex;
  align-items: center;
  padding: 5px;
  border: 1px solid var(--mr-red);
  border-radius: 2px;
  color: var(--mr-red);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.mr-contact__control {
  display: block;
  width: 100%;
  height: 48px;
  margin: 0;
  padding: 0 14px;
  border: 1px solid #ddd;
  border-radius: 2px;
  background: #fff;
  box-shadow: none;
  color: var(--mr-ink);
  font-family: var(--mr-sans);
  font-size: 12px;
  transition: border-color var(--mr-ease);
}

.mr-contact__control::placeholder {
  color: #b0b0b0;
}

/* Named through .mr-contact to outweigh the select's own edge below, and fs_style.css's
   blue focus ring and pink error fill on inputs. */
.mr-contact .mr-contact__control:focus {
  border-color: #9a9a9a;
  box-shadow: none;
  outline: none;
}

.mr-contact .mr-contact__control.is-error {
  border-color: var(--mr-red);
  background-color: #fff;
}

.mr-contact__control--textarea {
  height: auto;
  min-height: 200px;
  padding: 14px;
  line-height: 1.9;
  resize: vertical;
}

/* The select's own arrow is removed and a chevron drawn on its wrapper. */
.mr-contact__select {
  position: relative;
  display: flex;
  align-items: center;
  max-width: 340px;
}

.mr-contact__select::after {
  content: "";
  position: absolute;
  right: 14px;
  width: 7px;
  height: 7px;
  border-right: 1px solid #777;
  border-bottom: 1px solid #777;
  transform: translateY(-2px) rotate(45deg);
  pointer-events: none;
}

.mr-contact__select .mr-contact__control {
  min-width: 0;
  padding-right: 38px;
  border-color: #cfcfcf;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.mr-contact__error {
  margin: 6px 0 0;
  color: var(--mr-red);
  font-size: 10px;
  line-height: 1.6;
}

.mr-contact__agree {
  margin-top: 28px;
  font-size: 10px;
  text-align: center;
}

.mr-contact__check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.mr-contact__check input {
  width: 15px;
  height: 15px;
  margin: 0;
  accent-color: var(--mr-ink);
}

.mr-contact__check a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.mr-contact__summary {
  margin: 32px 0 0;
}

.mr-contact__summary-row + .mr-contact__summary-row {
  margin-top: 20px;
}

.mr-contact__summary dt {
  font-size: 12px;
  font-weight: 700;
}

.mr-contact__summary dd {
  margin: 10px 0 0;
  font-size: 10px;
  line-height: 1.9;
  white-space: pre-line;
  overflow-wrap: anywhere;
}

.mr-contact__done {
  margin: 0 0 28px;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.mr-contact__actions {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

/* 入力画面へ戻る / 送信する: stacked with 送信する on top below md, side by side from md. */
.mr-contact__actions--pair {
  flex-direction: column-reverse;
  gap: 20px;
}

.mr-contact__button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 40px;
  margin: 0;
  padding: 0 44px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--mr-ink);
  box-shadow: none;
  color: #fff;
  font-family: var(--mr-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  cursor: pointer;
  transition: opacity var(--mr-ease);
}

.mr-contact__button:hover {
  color: #fff;
  opacity: 0.85;
}

.mr-contact__button:disabled {
  opacity: 0.5;
  cursor: default;
}

.mr-contact__button::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 15px;
  height: 13px;
  background: center / contain no-repeat;
  transform: translateY(-50%);
  pointer-events: none;
}

.mr-contact__button--next::after {
  right: 16px;
  background-image: url("https://sfgbeauty.itembox.cloud/item/meirune/img/icons/union.svg");
  filter: brightness(0) invert(1);
}

.mr-contact__button--back,
.mr-contact__button--back:hover {
  border-color: #ccc;
  background: #fff;
  color: var(--mr-ink);
}

.mr-contact__button--back::after,
.mr-contact__button--home::after {
  left: 16px;
  background-image: url("https://sfgbeauty.itembox.cloud/item/meirune/img/icons/back-arrow.svg");
}

.mr-contact__button--back::after {
  filter: brightness(0);
}

@media (min-width: 768px) {
  .mr-about {
    padding: 44px 0;
  }

  .mr-about__title,
  .mr-legal .mr-about__title {
    margin-bottom: 28px;
  }

  .mr-company__row {
    grid-template-columns: 180px minmax(0, 1fr);
  }

  .mr-company__label {
    padding: 20px 0 20px 20px;
    font-size: 20px;
  }

  .mr-company__value {
    padding: 20px 0 20px 30px;
    font-size: 20px;
  }

  .mr-company__map {
    margin-top: 28px;
  }

  .mr-legal__row {
    grid-template-columns: 200px minmax(0, 1fr);
  }

  .mr-legal__label {
    align-items: flex-start;
    padding: 20px 0 20px 20px;
    border-bottom: 1px solid #ddd;
    font-size: 20px;
  }

  .mr-legal__value {
    padding: 20px 0 20px 20px;
    font-size: 20px;
  }

  .mr-policy__lead,
  .mr-policy__closing,
  .mr-policy__body p {
    font-size: 13px;
  }

  .mr-policy__heading {
    padding-left: 14px;
    font-size: 16px;
  }

  .mr-policy__body {
    margin-top: 18px;
  }

  .mr-contact .mr-about__title {
    margin-bottom: 28px;
  }

  .mr-contact__copy p,
  .mr-contact__list,
  .mr-contact__error,
  .mr-contact__agree,
  .mr-contact__alert {
    font-size: 16px;
  }

  .mr-contact__subheading {
    font-size: 20px;
  }

  .mr-contact__form {
    margin-top: 44px;
  }

  .mr-contact__field + .mr-contact__field {
    margin-top: 28px;
  }

  .mr-contact__label,
  .mr-contact__summary dt,
  .mr-contact__done {
    font-size: 16px;
  }

  .mr-contact__control {
    height: 52px;
    font-size: 16px;
  }

  .mr-contact__control--textarea {
    height: auto;
    min-height: 260px;
  }

  .mr-contact__summary-row + .mr-contact__summary-row {
    margin-top: 60px;
  }

  .mr-contact__summary dd {
    margin-top: 20px;
    font-size: 16px;
  }

  .mr-contact__actions {
    margin-top: 60px;
  }

  .mr-contact__actions--pair {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }

  .mr-contact__button {
    width: 280px;
    height: 52px;
    font-size: 16px;
  }
}

@media (min-width: 1280px) {
  .mr-about {
    padding: 58px 0;
  }

  .mr-about__title,
  .mr-legal .mr-about__title {
    margin-bottom: 34px;
  }

  .mr-company__row {
    grid-template-columns: 240px minmax(0, 1fr);
  }

  .mr-company__map {
    margin-top: 36px;
  }

  .mr-legal__row {
    grid-template-columns: 290px minmax(0, 1fr);
  }

  .mr-policy__lead,
  .mr-policy__closing,
  .mr-policy__body p {
    font-size: 14px;
  }

  .mr-policy__closing {
    margin-top: 52px;
  }

  .mr-policy__lead {
    margin-bottom: 52px;
  }

  .mr-policy__section + .mr-policy__section {
    margin-top: 52px;
  }

  .mr-policy__heading {
    padding-left: 16px;
    border-left-width: 4px;
    font-size: 18px;
  }

  .mr-policy__body {
    margin-top: 22px;
  }

  .mr-contact .mr-about__title {
    margin-bottom: 34px;
  }

  .mr-contact__actions {
    margin-top: 80px;
  }

  .mr-contact__actions--pair {
    gap: 40px;
  }
}

@media (min-width: 1600px) {
  .mr-about {
    padding: 70px 0;
  }

  .mr-about__title,
  .mr-legal .mr-about__title {
    margin-bottom: 100px;
  }

  .mr-company__row {
    grid-template-columns: 300px minmax(0, 1fr);
  }

  .mr-company__map {
    margin-top: 44px;
  }

  .mr-legal__row {
    grid-template-columns: 340px minmax(0, 1fr);
  }

  .mr-policy__lead,
  .mr-policy__closing,
  .mr-policy__body p {
    font-size: 16px;
  }

  .mr-policy__closing {
    margin-top: 64px;
  }

  .mr-policy__lead {
    margin-bottom: 64px;
  }

  .mr-policy__section + .mr-policy__section {
    margin-top: 64px;
  }

  .mr-policy__heading {
    padding-left: 18px;
    font-size: 20px;
  }

  .mr-policy__body {
    margin-top: 26px;
  }

  .mr-contact .mr-about__title {
    margin-bottom: 42px;
  }

  .mr-contact__select::after {
    right: 18px;
    width: 9px;
    height: 9px;
  }

  .mr-contact__actions {
    margin-top: 100px;
  }

  .mr-contact__button {
    width: 360px;
    height: 60px;
    font-size: 20px;
  }

  .mr-contact__button--next::after {
    right: 20px;
  }

  .mr-contact__button--back::after,
  .mr-contact__button--home::after {
    left: 20px;
  }
}
