@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/inter/v20/UcCO3FwrK3iLTeHuS_nVMrMxCp50SjIw2boKoduKmMEVuLyfMZg.ttf)
    format("truetype");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/inter/v20/UcCO3FwrK3iLTeHuS_nVMrMxCp50SjIw2boKoduKmMEVuI6fMZg.ttf)
    format("truetype");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/inter/v20/UcCO3FwrK3iLTeHuS_nVMrMxCp50SjIw2boKoduKmMEVuGKYMZg.ttf)
    format("truetype");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/inter/v20/UcCO3FwrK3iLTeHuS_nVMrMxCp50SjIw2boKoduKmMEVuFuYMZg.ttf)
    format("truetype");
}

#page-mailmagazine {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    sans-serif,
    "Apple Color Emoji",
    "Segoe UI Emoji",
    "Segoe UI Symbol";
  color: #424242;
}

#page-mailmagazine .inner {
  max-width: 1105px;
}
.mm__section {
  text-align: center;
  padding-top: 40px;
  font-size: 18px;
  line-height: calc(26 / 20);
}
.mm__title {
  font-size: 30px;
  font-weight: bold;
  padding-bottom: 46px;
}
.mm__text {
  margin-bottom: 40px;
  line-height: 1.4;
}
.mm__panel-list {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 40px;
}
.mm__panel-list > p:empty {
  display: none;
}
.mm__panel-item {
  width: 100%;
  border: 1px solid #d0d0d0;
}
.mm__panel-item-head {
  background: #f7f7f7;
  padding: 20px;
}
.mm__panel-item-title {
  font-size: 20px;
  font-weight: 700;
  line-height: calc(37 / 26);
}
.mm__panel-item-image {
  margin-top: 20px;
}
.mm__panel-item-text {
  padding: 20px 20px;
  text-align: left;
}

.mm__example-wrap {
  position: relative;
  padding-top: 20px;
  margin-bottom: 75px;
}
.mm__example-inner {
  border: 2px dotted #d0d0d0;
  padding: 20px;
  text-align: left;
  background: #fff;
}
.mm__example-title {
  position: absolute;
  font-size: 18px;
  top: 13px;
  left: 20px;
  background: #fff;
  line-height: 1;
}
.mm__example-text {
  cursor: pointer;
  transition: all 0.2s;
}
.mm__example-text:hover {
  opacity: 0.7;
}

.mm__form-wrap {
  background: #f7f7f7;
  padding: 30px 30px;
  margin-bottom: 40px;
}
.mm__form-description {
  font-size: 20px;
  line-height: calc(37 / 20);
  font-weight: 700;
}
.mm__form-note {
  font-size: 18px;
  line-height: calc(37 / 20);
  margin-bottom: 30px;
}
.mm__form-field {
  max-width: 500px;
  margin: 0 auto 30px;
  text-align: left;
}
.mm__form-label {
  display: block;
  font-size: 20px;
  margin-bottom: 8px;
  color: #424242;
}
.mm__form-required {
  font-size: 20px;
  color: #fff;
  margin-left: 8px;
  background: #808080;
  padding: 5px 10px;
}
.mm__form-input {
  width: 100%;
  padding: 12px 16px;
  font-size: 16px;
  border: 1px solid #d0d0d0;
  border-radius: 9px;
  background: #fff;
  box-sizing: border-box;
  font-family: inherit;
}
.mm__form-input:focus {
  outline: none;
  border-color: #00b2b0;
  box-shadow: 0 0 0 2px rgba(0, 178, 176, 0.2);
}
.mm__form-input::placeholder {
  color: #b0b0b0;
}
.mm__form-error {
  color: #e53935;
  font-size: 14px;
  margin-top: 8px;
  margin-bottom: 0;
}
.mm__form-submit {
  text-align: center;
  margin-top: 20px;
}
.mm__form-submit .button {
  position: relative;
  padding-right: 50px;
}
.mm__form-submit .button::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: translateY(-50%) rotate(45deg);
}
.mm__form-submit .button.is-loading {
  pointer-events: none;
  opacity: 0.7;
}
.mm__form-submit .button.is-loading::after {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-right-color: transparent;
  border-radius: 50%;
  transform: translateY(-50%);
  animation: mm-spin 0.6s linear infinite;
}
@keyframes mm-spin {
  to {
    transform: translateY(-50%) rotate(360deg);
  }
}
.mm__form-button {
  display: inline-block;
  min-width: 200px;
  padding: 14px 40px;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  background: #00b2b0;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.3s;
}
.mm__form-button:hover {
  background: #009a98;
}

.mm__form-complete {
  text-align: center;
}
.mm__form-complete-text {
  font-size: 18px;
  line-height: 2;
}

@media screen and (min-width: 769px) {
  .mm__section {
    padding-top: 83px;
    font-size: 20px;
    line-height: calc(26 / 20);
  }
  .mm__title {
    font-size: 54px;
    padding-bottom: 46px;
    line-height: 1;
  }
  .mm__text {
    margin-bottom: 60px;
  }
  .mm__panel-list {
    gap: 67px;
  }
  .mm__panel-item {
    flex: 1;
    border: 1px solid #d0d0d0;
  }
  .mm__panel-item-head {
    background: #f7f7f7;
    padding: 20px;
  }
  .mm__panel-item-title {
    font-size: 26px;
    font-weight: 700;
    line-height: calc(37 / 26);
  }
  .mm__panel-item-image {
    margin-top: 20px;
    height: 210px;
  }
  .mm__panel-item-text {
    padding: 20px 40px 30px;
    text-align: left;
  }

  .mm__form-wrap {
    background: #f7f7f7;
    padding: 60px 40px;
    margin-bottom: 75px;
  }
  .mm__form-note {
    font-size: 20px;
  }
  .mm__form-field {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    width: 100%;
    max-width: 890px;
  }
  .mm__form-label {
    flex-shrink: 0;
    margin-bottom: 0;
    padding-top: 12px;
  }
  .mm__form-field-body {
    flex: 1;
  }
  .mm__form-input {
    width: 100%;
  }
}

.u-color-green {
  color: #00b2b0;
}

/* モーダル */
.mm-modal {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  inset: 0;
  z-index: 9000;
  padding: 16px;
  box-sizing: border-box;
}
.mm-modal[aria-hidden="true"] {
  display: none;
}
.mm-modal__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
}
.mm-modal__content {
  position: relative;
  z-index: 1;
  max-width: 100%;
  max-height: 90dvh;
  display: flex;
}
.mm-modal__img {
  display: block;
  max-width: 100%;
  max-height: 90dvh;
  object-fit: contain;
  width: auto;
  height: auto;
}
.mm-modal__close {
  position: absolute;
  top: -40px;
  right: 0;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}
