@charset "utf-8";

.l-header {
  position: relative;
}
@media all and (max-width: 576px) {
  .l-header {
    position: fixed;
  }
}

.l-main {
  height: calc(100svh - 72px);
  position: relative;
  z-index: 0;
}

@media all and (min-width: 577px) and (max-height: 850px) {
  .l-main {
    overflow: auto;
  }
}

@media all and (max-width: 576px) {
  .l-main {
    /* height: calc(100svh - 52px); */
    height: auto;
  }
}

.l-wrap::before {
  content: '';
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100lvh;
  z-index: -1;
  background: url(../img/top/bg.jpg) no-repeat center center / cover;
  transform: translate3d(0, 0, -1px);
}

@media all and (max-width: 576px) {
  .l-wrap::before {
    background-image: url(../img/top/bg_sp.jpg);
  }
}

.l-wrap::after {
  content: '';
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100lvh;
  z-index: -1;
  opacity: 0.85;
  background: linear-gradient(180deg, rgba(170, 8, 22, 0.4) 0%, rgba(62, 0, 6, 1) 100%);
  transform: translate3d(0, 0, -1px);
}

/* top
------------------------------*/
.p-mv {
  width: 100%;
  height: 100%;
  padding: 20px;
}
@media all and (min-width: 577px) and (max-height: 850px) {
  .p-mv {
    height: auto;
  }
}

@media all and (max-width: 576px) {
  .p-mv {
    height: auto;
    padding-top: 90px;
    padding-bottom: 60px;
  }
}

.p-mv__inner {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

@media all and (max-width: 576px) {
  .p-mv__inner {
    height: auto;
  }
}

.p-mv__header {
  width: 100%;
  max-width: 1600px;
  text-align: center;
  transform: translate(0, -1.25svh);
}

@media all and (max-width: 1400px) {
  .p-mv__header {
    max-width: 1140px;
  }
}

.p-mv__header-heading {
  font-family: 'Poppins', 'Noto Sans JP', sans-serif;
  font-size: clamp(50px, calc(70 / 1920 * 100vw), 70px);
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 clamp(30px, calc(42 / 1920 * 100vw), 42px);
  color: #fff;
}

@media all and (max-width: 1400px) {
  .p-mv__header-heading {
    font-size: clamp(30px, calc(50 / 1400 * 100vw), 50px);
    margin-bottom: clamp(20px, calc(30 / 1400 * 100vw), 30px);
  }
}

@media all and (max-width: 576px) {
  .p-mv__header-heading {
    font-size: min(30px, calc(30 / 390 * 100vw));
    margin-bottom: min(20px, calc(20 / 390 * 100vw));
    line-height: 1.3;
  }
}

.p-mv__header-txt {
  font-size: clamp(16px, calc(22 / 1920 * 100vw), 22px);
  font-weight: 500;
  line-height: 2;
  margin: 0 0 clamp(90px, calc(130 / 1920 * 100vw), 130px);
  color: #fff;
}

@media all and (max-width: 1400px) {
  .p-mv__header-txt {
    font-size: clamp(14px, calc(16 / 1400 * 100vw), 16px);
    margin-bottom: clamp(30px, calc(90 / 1400 * 100vw), 90px);
  }
}

@media all and (max-width: 576px) {
  .p-mv__header-txt {
    font-size: min(14px, calc(14 / 390 * 100vw));
    margin-bottom: min(30px, calc(30 / 390 * 100vw));
  }
}


.p-mv__header-notice {
  font-size: clamp(16px, calc(22 / 1920 * 100vw), 22px);
  font-weight: 500;
  line-height: 2;
  margin-top:20px;
  color: #fff;
}

@media all and (max-width: 1400px) {
  .p-mv__header-notice {
    font-size: clamp(14px, calc(16 / 1400 * 100vw), 16px);
  }
}

@media all and (max-width: 576px) {
  .p-mv__header-notice {
    font-size: min(14px, calc(14 / 390 * 100vw));
    margin-top:10px;
  }
}


.p-mv__header-bnr {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  /* justify-content: center; */
  text-align: left;
}

@media all and (max-width: 900px) {
  .p-mv__header-bnr {
    max-width: 500px;
  }
}

.p-mv__header-bnr a {
  text-decoration: none;
  padding: min(42px, calc(42 / 1640 * 100vw));
  width: 48.25%;
  /* min-height: 245px; */
  background-color: #fff;
  border-radius: 20px;
  display: block;
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease-out;
  color: inherit;
  position: relative;
  z-index: 0;
}

@media all and (max-width: 1400px) {
  .p-mv__header-bnr a {
    padding: min(30px, calc(30 / 1180 * 100vw));
    min-height: 145px;
  }
}

@media all and (max-width: 900px) {
  .p-mv__header-bnr a {
    width: 100%;
    padding: min(20px, calc(20 / 390 * 100vw));
    margin-bottom: 20px;
  }
}

@media all and (max-width: 576px) {
  .p-mv__header-bnr a::after {
    content: '';
    position: absolute;
    right: 10px;
    bottom: 10px;
    width: 30px;
    aspect-ratio: 1/1;
    border-radius: 50%;
    border: 1px solid #f44336;
    background: url(../img/common/arrow_right_red.svg) no-repeat center center / 10px auto;
  }
}

.p-mv__header-bnr-txtarea {
  padding-right: calc(260 / 688 * 100%);
  position: relative;
}

@media all and (max-width: 1400px) {
  .p-mv__header-bnr-txtarea {
    padding-right: calc(160 / 490 * 100%);
  }
}

@media all and (max-width: 576px) {
  .p-mv__header-bnr-txtarea {
    padding-right: 0;
  }
}

.p-mv__header-bnr a:nth-of-type(1) .p-mv__header-bnr-txtarea:after {
  content: '';
  display: block;
  width: calc(144 / 490 * 100%);
  aspect-ratio: 144/115;
  /* background: url(../img/top/bnr_img02.png) no-repeat center center / contain; */
  background: url(../img/top/bnr_img01.png) no-repeat center center / contain;
  position: absolute;
  top: 0;
  right: 0;
}

@media all and (max-width: 576px) {
  .p-mv__header-bnr a:nth-of-type(1) .p-mv__header-bnr-txtarea:after {
    width: calc(100 / 310 * 100%);
  }
}

.p-mv__header-bnr a:nth-of-type(2) .p-mv__header-bnr-txtarea:after {
  content: '';
  display: block;
  width: calc(140 / 490 * 100%);
  aspect-ratio: 140/85;
  background: url(../img/top/bnr_img02.png) no-repeat center center / contain;
  position: absolute;
  top: 0;
  right: 0;
}

@media all and (max-width: 576px) {
  .p-mv__header-bnr a:nth-of-type(2) .p-mv__header-bnr-txtarea:after {
    width: calc(108 / 310 * 100%);
  }
}

.p-mv__header-bnr-heading {
  font-family: 'Poppins', 'Noto Sans JP', sans-serif;
  font-size: min(28px, calc(28 / 1640 * 100vw));
  font-weight: 700;
  line-height: 1.5;
  margin: 0 0 18px;
  color: #f44336;
  transition: all 0.3s ease-out;
}

@media all and (max-width: 1400px) {
  .p-mv__header-bnr-heading {
    font-size: min(20px, calc(20 / 1180 * 100vw));
    margin-bottom: 12px;
  }
}

@media all and (max-width: 900px) {
  .p-mv__header-bnr-heading {
    font-size: min(18px, calc(18 / 390 * 100vw));
    margin-bottom: 8px;
  }
}

.p-mv__header-bnr-txt {
  font-size: min(18px, calc(18 / 1640 * 100vw));
  line-height: 1.5;
}

@media all and (max-width: 1400px) {
  .p-mv__header-bnr-txt {
    font-size: min(14px, calc(14 / 1180 * 100vw));
  }
}

@media all and (max-width: 900px) {
  .p-mv__header-bnr-txt {
    font-size: min(14px, calc(14 / 390 * 100vw));
  }
}

.p-mv__header-bnr a:hover {
  background-color: #f44336;
  color: #fff;
}

.p-mv__header-bnr a:hover .p-mv__header-bnr-heading {
  color: #fff;
}
