/*****************************************************************************
CSS only for /jp/support/sumai/hantei/ common
*****************************************************************************/

/* Set
-----------------------------------------*/
#contents {
  padding-bottom: 70px;
}
#contents * {
  box-sizing: border-box;
}
img {
  max-width: 100%;
  height: auto;
}
button {
  border: none;
  background-color: transparent;
}

/* Mv
-----------------------------------------*/
.Mv {
  margin: 0 auto;
  max-width: 1200px;
  text-align: center;
}

/* Step
-----------------------------------------*/
.Step {
  margin: 50px 0 30px;
}
@media only screen and (max-width:640px) and (max-device-width:1280px) {
  .Step {
    margin: 40px 0 25px;
  }
}
.Step__list {
  display: grid;
  justify-content: center;
  gap: 32px 3.5%;
}
@media only screen and (max-width:640px) and (max-device-width:1280px) {
  .Step__list {
    gap: 20px 2%;
  }
}
.Step__list--col2 {
  grid-template-columns: repeat(2, 31%);
}
@media only screen and (max-width:640px) and (max-device-width:1280px) {
  .Step__list--col2 {
    grid-template-columns: repeat(2, 48%);
  }
}
.Step__list--col3 {
  grid-template-columns: repeat(3, 31%);
}
@media only screen and (max-width:640px) and (max-device-width:1280px) {
  .Step__list--col3 {
    grid-template-columns: repeat(2, 48%);
  }
}
.Step__item {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 4;
  align-items: center;
  gap: 12px 0;
  position: relative;
  margin-top: 40px;
  padding: 55px 18px 43px;
  border: 2px solid #000;
  border-radius: 20px;
  text-align: center;
}
@media only screen and (max-width:640px) and (max-device-width:1280px) {
  .Step__item {
    margin-top: 25px;
    padding: 43px 15px 36px;
    border: 1px solid #000;
    border-radius: 10px;
  }
}
.Step__number {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: #000;
  color: #fff;
  font-size: 40px;
}
@media only screen and (max-width:640px) and (max-device-width:1280px) {
  .Step__number {
    top: -25px;
    width: 50px;
    height: 50px;
    font-size: 26px;
  }
}
.Step__title {
  font-size: 20px;
  font-weight: bold;
}
.Step__text {
  font-size: 16px;
}
.Step__img {
  padding: 3px 0;
}

/* MemoList
-----------------------------------------*/
.MemoList {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.75;
}
.MemoList--small {
  font-size: 12px;
}
.MemoList--center {
  text-align: center;
}
.MemoList ul {
  display: inline-block;
}
.MemoList li {
  padding-left: 1em;
  text-indent: -1em;
  text-align: left;
}

/* Link
-----------------------------------------*/
.LinkArea {
  margin-top: 28px;
  text-align: center;
}
.LinkArea--right {
  text-align: right;
}
.LinkList {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 30px;
}

.TextLink {
  display: inline-block;
  position: relative;
  padding: 0 20px 0 0;
  color: #535353;
  font-size: 16px;
}
.TextLink--blue {
  color: #3060c0;
}
.TextLink::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  -webkit-transform: translateY(-50%) rotate(45deg);
  transform: translateY(-50%) rotate(45deg);
  width: 8px;
  height: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
}

.TextLink:hover   { text-decoration: underline; }
.TextLink:focus   { text-decoration: underline; }
.TextLink:active  { text-decoration: underline; }

.BtnArea {
  margin-block: 80px 25px;
}
@media only screen and (max-width:640px) and (max-device-width:1280px) {
  .BtnArea {
    margin-block: 64px 25px;
  }
}
.BtnArea > .btn_link {
  padding: 1.25em 15px 1.25em 30px;
  width: 500px;
  font-size: 24px;
}
@media only screen and (max-width:640px) and (max-device-width:1280px) {
  .BtnArea > .btn_link {
    width: 100%;
    font-size: 20px;
  }
}

/* modaal
-----------------------------------------*/
.modaal-overlay {
  z-index: 1000;
}
.modaal-container {
  max-width: 976px;
}
.modaal-content-container {
  padding: 112px 40px 100px;
}
@media only screen and (max-width:640px) and (max-device-width:1280px) {
  .modaal-content-container {
    padding: 64px 20px 80px;
  }
}
.modaal-content-container * {
  box-sizing: border-box;
}
.modaal-close {
  position: absolute;
  top: 28px;
  right: 28px;
  width: 60px;
  height: 60px;
}
@media only screen and (max-width:640px) and (max-device-width:1280px) {
  .modaal-close {
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
  }
}
.modaal-close:before,
.modaal-close::after {
  top: 6px;
  left: 29px;
  width: 1px;
  height: 50px;
  background:#000;
}
@media only screen and (max-width:640px) and (max-device-width:1280px) {
  .modaal-close:before,
  .modaal-close::after {
    top: 5px;
    left: 19px;
    height: 30px;
  }
}

.modaal-close:focus:before, .modaal-close:focus:after   { background: rgba(0, 0, 0, .8); }
.modaal-close:hover:before, .modaal-close:hover:after   { background: rgba(0, 0, 0, .8); }
.modaal-close:active:before, .modaal-close:active:after { background: rgba(0, 0, 0, .8); }

/* Detail
-----------------------------------------*/
.Detail {
  display: none;
}
.Detail__inner {
  padding-inline: 6.696%;
}
@media only screen and (max-width:640px) and (max-device-width:1280px) {
  .Detail__inner {
    padding-inline: 0;
  }
}
.Detail__sec + .Detail__sec {
  margin-top: 40px;
}
.Detail__sec > *:last-child {
  margin-bottom: 0;
}
.Detail__title {
  margin-bottom: 40px;
  font-size: 30px;
  line-height: 1.5;
  text-align: center;
}
@media only screen and (max-width:640px) and (max-device-width:1280px) {
  .Detail__title {
    margin-bottom: 32px;
    font-size: 24px;
  }
}
.Detail__subTitle {
  margin-bottom: 18px;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
}
@media only screen and (max-width:640px) and (max-device-width:1280px) {
  .Detail__subTitle {
    margin-bottom: 15px;
    font-size: 18px;
  }
}
.Detail__subTitle > span {
  display: block;
  margin-top: 7px;
  font-size: 18px;
}
@media only screen and (max-width:640px) and (max-device-width:1280px) {
  .Detail__subTitle > span {
    font-size: 16px;
  }
}
.Detail__boxTitle {
  margin-bottom: 20px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
}
@media only screen and (max-width:640px) and (max-device-width:1280px) {
  .Detail__boxTitle {
    font-size: 16px;
  }
}
.Detail__boxTitle span {
  display: inline-block;
  padding: .611em .944em;
  border: 2px solid #000;
}
.Detail__close {
  margin-top: 50px;
}
@media only screen and (max-width:640px) and (max-device-width:1280px) {
  .Detail__close {
    margin-top: 35px;
  }
}
.Detail__close > .btn_link {
  width: 154px;
}
.Detail__memo {
  margin-top: 65px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.6;
  text-align: center;
}
@media only screen and (max-width:640px) and (max-device-width:1280px) {
  .Detail__memo {
    margin-top: 30px;
    font-size: 16px;
  }
}
.Detail__link {
  margin-top: 15px;
}
.Detail__link > .btn_link {
  padding: 1.222em 15px 1.222em 30px;
  width: 400px;
  font-size: 18px;
}
@media only screen and (max-width:640px) and (max-device-width:1280px) {
  .Detail__link > .btn_link {
    width: 100%;
    font-size: 16px;
  }
}

.BoxArea {
  margin: 20px 0;
  padding: 15px 40px;
}
@media only screen and (max-width:640px) and (max-device-width:1280px) {
  .BoxArea {
    padding: 18px 15px;
  }
}
.BoxArea > *:last-child {
  margin-bottom: 0;
}

.BgGray {
  background-color: #dedede;
}
.FrameGray {
  border: 1px solid #cfcfcf;
}

.BaseText {
  font-size: 18px;
  line-height: 1.6;
}
@media only screen and (max-width:640px) and (max-device-width:1280px) {
  .BaseText {
    font-size: 16px;
  }
}
.BaseText p > a {
  color: #000;
  text-decoration: underline;
}
.BaseText p > a:hover   { text-decoration: none; opacity: .8; }
.BaseText p > a:focus   { text-decoration: none; opacity: .8; }
.BaseText p > a:active  { text-decoration: none; opacity: .8; }

.DiscList li {
  padding-left: 1em;
  text-indent: -1em;
}

/* Column
-----------------------------------------*/
.Column {
  display: grid;
  grid-template-columns: 31% 1fr;
  align-items: center;
  gap: 0 30px;
  margin-block: 20px;
}
@media only screen and (max-width:640px) and (max-device-width:1280px) {
  .Column {
    grid-template-columns: 1fr;
    gap: 15px 0;
  }
}
.Column__img {
  text-align: center;
}
@media only screen and (max-width:640px) and (max-device-width:1280px) {
  .Column__img {
    width: 100%;
  }
  .Column__img img {
    width: 70%;
  }
}
.Column__text {
  flex: 1;
  font-size: 14px;
  line-height: 1.85;
}

/* ImgArea
-----------------------------------------*/
.ImgArea {
  margin-block: 20px;
}
.ImgArea + .ImgArea {
  margin-top: 30px;
}

.ImgArea--sample {
  text-align: center;
}
.ImgArea--sample img {
  margin: 0 auto;
  width: 43.685%;
}
@media only screen and (max-width:640px) and (max-device-width:1280px) {
  .ImgArea--sample img {
    width: auto;
  }
}

.ImgArea__box {
  padding: 10px 20px;
}
@media only screen and (max-width:640px) and (max-device-width:1280px) {
  .ImgArea__box {
    padding: 10px 15px;
  }
}
.ImgArea__caption {
  margin-top: 18px;
  font-size: 16px;
  font-weight: 600;
}
@media only screen and (max-width:640px) and (max-device-width:1280px) {
  .ImgArea__caption {
    font-size: 14px;
  }
}

/* ImgList
-----------------------------------------*/
.ImgList {
  display: grid;
  line-height: 1.4;
}
.ImgArea__box > .ImgList {
  justify-content: center;
  text-align: center;
}

.ImgList--col2 {
  grid-template-columns: repeat(2, calc((100% - 20px) / 2));
  gap: 20px;
}
@media only screen and (max-width:640px) and (max-device-width:1280px) {
  .ImgList--col2 {
    grid-template-columns: 1fr;
    gap: 24px 0;
  }
}
.ImgList--col3 {
  grid-template-columns: repeat(3, calc((100% - 28px * 2) / 3));
  gap: 25px 28px;
}
@media only screen and (max-width:640px) and (max-device-width:1280px) {
  .ImgList--col3 {
    grid-template-columns: repeat(2, calc((100% - 13px) / 2));
    gap: 24px 13px;
  }
}
.ImgList--col4 {
  grid-template-columns: repeat(4, calc((100% - 20px * 3) / 4));
  gap: 23px 20px;
}
@media only screen and (max-width:640px) and (max-device-width:1280px) {
  .ImgList--col4 {
    grid-template-columns: repeat(2, calc((100% - 13px) / 2));
    gap: 24px 13px;
  }
}

.ImgArea__box > .ImgList--col3 {
  grid-template-columns: repeat(3, 19%);
  column-gap: 9.536%;
}
@media only screen and (max-width:640px) and (max-device-width:1280px) {
  .ImgArea__box > .ImgList--col3 {
    grid-template-columns: repeat(3, calc((100% - 15px * 2) / 3));
    column-gap: 15px;
  }
}

.ImgList__item:has(> :nth-child(2)) {
  display: grid;
  grid-template-rows: subgrid;
  gap: 0;
  grid-row: span 2;
}

.ImgList__title {
  align-self: end;
  margin-bottom: 7px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
}
@media only screen and (max-width:640px) and (max-device-width:1280px) {
  .ImgList__title {
    font-size: 16px;
  }
}
.ImgList__title span {
  display: inline-block;
  padding-left: 7px;
  font-size: 16px;
  font-weight: 400;
}
@media only screen and (max-width:640px) and (max-device-width:1280px) {
  .ImgList__title span {
    display: block;
    padding: 3px 0 0;
    font-size: 14px;
  }
}
.ImgList__text {
  font-size: 14px;
}
@media only screen and (max-width:640px) and (max-device-width:1280px) {
  .ImgList__text {
    font-size: 12px;
  }
}
.ImgList__text > *:last-child {
  margin-bottom: 0;
}

.ImgList__text:nth-child(2) {
  margin-top: 10px;
}
.ImgList__img:nth-child(2) {
  margin-top: 5px;
}

.ImgList__caption {
  margin-bottom: 6px;
  font-size: 16px;
  font-weight: 600;
}
@media only screen and (max-width:640px) and (max-device-width:1280px) {
  .ImgList__caption {
    font-size: 14px;
  }
}

/* Explain
-----------------------------------------*/
.Explain {
  display: flex;
  font-size: 16px;
  line-height: 1.625;
}
@media only screen and (max-width:640px) and (max-device-width:1280px) {
  .Explain {
    font-size: 14px;
  }
}
.Explain dd {
  flex: 1;
}

/* Disclaimer
-----------------------------------------*/
.Disclaimer {
  padding-right: 90px;
  padding-right: 11.597%;
  height: 700px;
  overflow-y: auto;
  overscroll-behavior-y: none;
}
@media only screen and (max-width:640px) and (max-device-width:1280px) {
  .Disclaimer {
    padding-right: 30px;
    height: 580px;
  }
}
.Disclaimer__inner {
  width: 100%;
  height: 100px;
}
.Disclaimer__inner div:last-child {
  padding-bottom: 40px;
}
.Disclaimer__wrapper + .Disclaimer__wrapper {
  margin-top: 30px;
}
.Disclaimer__title {
  margin-bottom: 12px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
}
@media only screen and (max-width:640px) and (max-device-width:1280px) {
  .Disclaimer__title {
    margin-bottom: 10px;
    font-size: 14px;
  }
}
.Disclaimer__detail {
  font-size: 16px;
  line-height: 1.75;
}
@media only screen and (max-width:640px) and (max-device-width:1280px) {
  .Disclaimer__detail {
    font-size: 14px;
  }
}
.Disclaimer__detail li {
  padding-left: 1em;
  text-indent: -1em;
}
.Disclaimer__detail li:nth-child(n+2) {
  margin-top: 5px;
}

/* BnrArea
-----------------------------------------*/
.BnrArea {
  margin-block: 33px 35px;
  text-align: center;
}
.BnrArea__title {
  margin-bottom: 10px;
  font-size: 24px;
  font-weight: bold;
}
@media only screen and (max-width:640px) and (max-device-width:1280px) {
  .BnrArea__title {
    font-size: 18px;
  }
}