@charset "utf-8";

.adjustModal .pcOnly{
  display: block !important;
}
.adjustModal .spOnly{
  display: none !important;
}
@media screen and (max-width: 640px) {
  .adjustModal .pcOnly {
    display: none !important; 
  }
  .adjustModal .spOnly {
    display: block !important; 
  }
}

/* adjustModal
============================================================== */
.adjustModal {
  display: none;
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 100001;
  overflow: hidden;
  padding: 10vh 3% 5vh; 
}
.adjustModal *,
.adjustModalContents *::before,
.adjustModal *::after {
  box-sizing: inherit;
}
.adjustModal {
  box-sizing: border-box;
}

.adjustModal.is-open {
  display: block;
}
.adjustModalBg {
  width: 100%;
  height: 100%;
  background: rgba(28, 28, 28, 0.8);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 5;
}
.closeAdjustModalArea {
  max-width: 800px;
  width: 94%;
  margin: 0 auto;
  position: absolute;
  top: calc(10vh - 50px);
  right: 50%;
  transform: translateX(50%);
  z-index: 100;
  height: 44px;
  pointer-events: none;
}
.closeAdjustModal {
  width: 40px;
  height: 40px;
  position: absolute;
  top: 0;
  right: 0;
  pointer-events: all;
  cursor: pointer;
}
.closeAdjustModal::before{
  display: block;
  width: 32px;
  height: 4px;
  background: #fff;
  border-radius: 2px;
  transform: rotate(45deg);
  position: absolute;
  top: 20px;
  right: 4px;
  content: "";
}
.closeAdjustModal::after{
  display: block;
  width: 32px;
  height: 4px;
  background: #fff;
  border-radius: 2px;
  transform: rotate(-45deg);
  position: absolute;
  top: 20px;
  right: 4px;
  content: "";
}
.adjustModalWrapper {
  position: relative;
  width: 100%;
  max-width: 815px;
  height: 100%;
  padding: 0;
  background-color: #fff;
  border-radius: 16px;
  border: none;
  overflow: hidden;
  margin: 0 auto;
  z-index: 100002; 
}
.adjustModalScroll {
  width: 100%;
  height: 100%;
  padding-top: 64px;
  position: relative;
  background-color: #fff;
  overflow-y: scroll;
  overflow-x: hidden; 
}

.adjustModalBody {
  padding: 0 5%; 
}

@media screen and (max-width: 800px) {
  .adjustModalScroll {
    padding-top: 8vw;
  }
}

@media screen and (max-width: 640px) {
  .closeModalArea {
    top: calc(10vh - 40px);
    height: 30px;
  }
  .closeAdjustModal {
    width: 30px;
    height: 30px;
  }
  .closeAdjustModal::before {
    width: 24px;
    height: 3px;
    top: 14px;
    right: 2px;
  }
  .closeAdjustModal::after {
    width: 24px;
    height: 3px;
    top: 14px;
    right: 2px;
  }
  .adjustModalWrapper {
    border-radius: 8px;
  }
  .adjustModalScroll {
    padding-top: 10.6666vw;
  }
  .adjustModalBody {
    padding: 0 4.256%;
  }
}


/* Contents
============================================================== */
.adjustModalContents div,
.adjustModalContents p {
  letter-spacing: normal;
}

section.adjustModalContents {
  padding: 0 0 72px;
  line-height: 1.5;
}

.adjustModalContents header {
  display: block;
  color: #005bac;
  text-align: center;
  font-weight: bold;
  word-break: keep-all;
}
.adjustModalContents header h2 {
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font-size: clamp(28px, (28/376 * 100vw), 40px);
  line-height: 1.3;
  text-align: center;
}
.adjustModalContents header p {
  font-size: clamp(18px, (18/376 * 100vw), 24px);
  text-align: center;
}

/* CV */
.adjustModalContents .cvBox {
  margin: clamp(40px, (40/376 * 100vw), 72px) 0;
}

.adjustModalContents .adjust_qr {
  display: block;
  padding: 24px;
  border-radius: 8px;
  background: #eef2f6;
  text-align: center;
}
.adjustModalContents .adjust_qr::after {
  display: block;
  margin: 16px auto 0;
  font-size: 16px;
  letter-spacing: 0.025em;
  text-indent: 0.025em;
  content: "スマートフォンでご利用いただけます。";
}
.adjustModalContents .adjust_qr img {
  display: block;
  max-width: 264px;
  margin: 0 auto;
  border-radius: 8px;
}

.adjustModalContents a.adjust_cv {
  position: relative;
  display: block;
  max-width: 640px;
  margin: 0 auto;
  border-radius: 100vh;
  background-image: linear-gradient(to bottom, #e11823, #dc1c26);
  box-shadow: 0 0.15em 0 0 rgba(0, 0, 0, 0.15);
  color: #fff;
  letter-spacing: 0.04em;
  text-indent: 0.04em;
  font-weight: 400;
  text-align: center;
  white-space: nowrap;
  text-decoration: none;

  min-height: calc(66 / 22 * 1em);
  padding: calc(32 / 40 * 1em) calc(44 / 22 * 1em) 0;
  font-size: clamp(22px, calc(22 / 360 * 100vw), 40px);
}

@media (hover: hover) {
  .adjustModalContents a.adjust_cv {
    transition: filter 0.3s ease;
  }
  .adjustModalContents a.adjust_cv:hover {
    opacity: 1;
    filter: brightness(1.1);
  }
}
@media (min-width: 641px) {
  .adjustModalContents a.adjust_cv {
    min-height: calc(110 / 40 * 1em);
    padding: calc(4 / 40 * 1em) calc(88 / 40 * 1em) 0 calc(136 / 40 * 1em);
    font-size: 40px;
  }
}

/**/
.adjustModalContents .flow {
  max-width: calc(264px + 48px);
  margin: 0 auto;
  padding: 0 24px;
}
.adjustModalContents .flow li ~ li::before {
  display: block;
  width: 35px;
  height: 24px;
  background: #dc1c26;
  margin: 40px auto 32px;
  clip-path: polygon(0 0, 100% 0%, 50% 100%);
  content: "";
}


@media (max-width: 767px) {
  .adjustModalContents .flow li ~ li::before {
    margin: 32px auto 24px;
  }
}

.adjustModalContents footer {
  all: unset;
  display: block;
}

.adjustModalContents footer p {
  margin: 0 auto 72px;
  padding: 16px;
  border: 1px solid #1c1c1c;
  font-size: 18px;
  font-weight: bold;
  letter-spacing: 0.025em;
}
.adjustModalContents footer p em {
  color: #dc1c26;
  font-style: normal;
}

.adjustModalContents footer small {
  display: block;
  font-size: 18px;
  text-align: center;
}
.adjustModalContents footer small a:link {
  color: inherit;
  text-decoration: underline;
}

@media (max-width: 767px) {
  .adjustModalContents footer p {
    margin-bottom: 40px;
    font-size: 16px;
  }
  .adjustModalContents footer small {
    font-size: 16px;
  }
}
