@charset "UTF-8";

/* mv */
/* mvの枠 */
.bg-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
}
.bg-wrapper::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 70%;
  height: 80%;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--bg-secondary);
  border-radius: 40px 0 0 40px;
  animation: mvFadeIn 3s ease-out forwards;
}
.top-mv {
  overflow: hidden;
}
.top-mv .mv-img {
  width: 100%;
  height: auto;
  animation: mvZoomOut 2.5s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}
@keyframes mvFadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes mvZoomOut {
  0% {
    transform: scale(1.08);
  }
  100% {
    transform: scale(1);
  }
}

/*---------------------*/
/* lead */
.p-lead {
  display: grid;
  grid-template-columns: 40% auto;
  column-gap: 20px;
}
.p-lead .img-area {
  display: flex;
  column-gap: 40px;
  align-items: flex-start;
}
.p-lead .text-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
@media screen and (max-width: 1280px) {
  .p-lead .img-area {
    column-gap: 20px;
  }
}
@media screen and (max-width: 1024px) {
  .p-lead {
    grid-template-columns: 35% auto;
  }
  .p-lead .text-area {
    align-items: flex-start;
    padding-left: 20px;
  }
  .p-lead .img-area {
    column-gap: 15px;
  }
}
@media screen and (max-width: 767px) {
  .p-lead {
    display: flex;
    flex-direction: column;
    row-gap: 20px;
  }
  .p-lead .img-area {
    padding: 0 20px;
  }
  .p-lead .br-1024 {
    display: none;
  }
}
@media screen and (max-width: 600px) {
  .p-lead .img-area {
    padding: 0 15px;
  }
}
@media screen and (max-width: 430px) {
  .p-lead .br-1024 {
    display: block;
  }
}

/*---------------------*/
/* メッセージ message */
.p-message {
  padding-top: 0;
  position: relative;
  overflow: hidden;
}
.p-message::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 49vw;
  height: 100%;
  background-image: url(../images/top/message-img.webp);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  z-index: 1;
  border-radius: 0 30px 30px 0;
}
.p-message .section-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.p-message .layout-inner {
  display: flex;
  justify-content: flex-end;
  min-height: 350px;
  align-items: center;
}
.p-message .text-box {
  width: 46%;
  max-width: 500px;
  padding: 40px 0;
}
.p-message .text-box .name {
  text-align: right;
  margin-bottom: 40px;
}
@media screen and (max-width: 1280px) {
  .p-message .text-box {
    padding: 0;
  }
}
@media screen and (max-width: 1024px) {
  .p-message .text-box .name {
    margin-bottom: 20px;
  }
}
@media screen and (max-width: 767px) {
  .p-message::before {
    position: relative;
    display: flex;
    justify-content: center;
    width: calc(100% - 40px);
    max-width: 500px;
    height: 300px;
    left: initial;
    transform: initial;
    border-radius: 20px;
    margin: 0 auto 20px;
  }
  .p-message .layout-inner {
    display: flex;
    flex-direction: column;
    justify-content: initial;
    min-height: auto;
  }
  .p-message .text-box {
    width: 100%;
  }
  .p-message .br-960 {
    display: none;
  }
}
@media screen and (max-width: 600px) {
  .p-message::before {
    height: 250px;
    width: calc(100% - 30px);
  }
}
@media screen and (max-width: 430px) {
  .p-message::before {
    height: 200px;
  }
}

/*---------------------*/
/* サポート　support */
.p-support .support-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 120px 60px;
  margin: 0 auto;
}
.p-support .card {
  display: flex;
  flex-direction: column;
  position: relative;
}
.p-support .sub-ja a {
  color: inherit;
  text-decoration: none;
}
.p-support .sub-ja a::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 20;
}
.p-support .card-vis {
  position: relative;
  width: 100%;
}
.p-support .img-box {
  width: 100%;
  overflow: hidden;
  border-radius: 40px 40px 40px 0;
}
.p-support .img-box img {
  width: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.p-support .card:hover .img-box img {
  transform: scale(1.08);
}
.p-support .badge {
  position: absolute;
  bottom: -70px;
  left: -1px;
  min-height: 350px;
  z-index: 10;
  writing-mode: vertical-rl;
  font-size: 2.6rem;
  line-height: 1.7;
  letter-spacing: 0.4em;
  background-color: var(--bg-light);
  padding: 50px 20px 20px;
  border-radius: 0 20px 0 0;
}
.p-support .card02 .badge,
.p-support .card03 .badge {
  bottom: -250px;
}
.p-support .badge .line {
  position: relative;
  padding: 0 4px;
}
.p-support .badge .line::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: -1;
  width: 18px;
  background-color: #fcdc8f;
  border-radius: 7px;
}
.p-support .badge .tcy {
  display: inline-block;
  text-combine-upright: all;
  -webkit-text-combine: horizontal;
  letter-spacing: normal !important;
  line-height: 1;
  margin-bottom: 8px;
  font-family: "Arial Black", "Impact", "sans-serif";
}
.p-support .card02 .card-txt,
.p-support .card03 .card-txt {
  padding-top: 30px;
  padding-left: 160px;
}
.p-support .sub-ja {
  font-size: 2.6rem;
  color: #f2a000;
  margin-bottom: 10px;
  font-weight: 600;
  text-align: center;
}
.p-support .sub-en {
  font-size: 1.4rem;
  color: var(--text-primary);
  margin: 0 0 20px;
  letter-spacing: 0.05em;
  text-align: center;
}
.p-support .text {
  line-height: 2.5;
}
.p-support .card.wide {
  grid-column: 1 / 3;
  flex-direction: row;
  align-items: center;
  gap: 40px;
}
.p-support .card.wide .card-vis,
.p-support .card.wide .card-txt {
  width: 50%;
}
@media screen and (max-width: 1400px) {
  .p-support .support-grid {
    gap: clamp(60px, 7vw, 120px) clamp(30px, 2vw, 60px);
  }
  .p-support .badge {
    font-size: clamp(1.8rem, 2vw, 2.4rem);
    min-height: clamp(260px, 25vw, 320px);
    padding: 35px 15px 15px;
  }
  .p-support .card02 .badge,
  .p-support .card03 .badge {
    bottom: -180px;
  }
  .p-support .card02 .card-txt,
  .p-support .card03 .card-txt {
    padding-left: clamp(100px, 12vw, 160px);
    padding-top: 20px;
  }
}
@media screen and (max-width: 1024px) {
  .p-support .card.wide {
    gap: 20px;
  }
  .p-support .badge {
    min-height: clamp(200px, 25vw, 280px);
    padding: 15px 8px 10px;
  }
  .p-support .card02 .card-txt,
  .p-support .card03 .card-txt {
    padding-left: clamp(80px, 11vw, 160px);
  }
  .p-support .sub-ja {
    font-size: 2.2rem;
    margin-bottom: 5px;
  }
  .p-support .sub-en {
    margin: 0 0 5px;
  }
}
@media screen and (max-width: 767px) {
  .p-support .support-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 500px;
    margin: 0 auto;
  }
  .p-support .card.wide {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .p-support .card.wide .card-vis,
  .p-support .card.wide .card-txt {
    width: 100%;
  }
  .p-support .badge .tcy {
    font-family: initial;
    font-weight: 400;
  }
  .p-support .img-box {
    border-radius: 20px 20px 0 0;
  }
  .p-support .badge {
    position: relative;
    bottom: 0 !important;
    left: 0;
    width: 100%;
    min-height: auto;
    writing-mode: horizontal-tb;
    letter-spacing: 0.1em;
    padding: 0;
    margin-bottom: 10px;
    border-radius: 0 0 20px 20px;
    font-size: 1.8rem;
    text-align: center;
  }
  .p-support .badge .line {
    padding: 0;
    position: relative;
    display: inline-block;
  }
  .p-support .badge .line::before {
    display: block;
    top: auto;
    bottom: 2px;
    left: 0;
    right: 0;
    width: 100%;
    height: 14px;
    z-index: -1;
    background-color: #fcdc8f;
    border-radius: 4px;
  }
  .p-support .card-txt,
  .p-support .card02 .card-txt,
  .p-support .card03 .card-txt {
    padding-left: 0 !important;
  }
  .p-support .sub-ja,
  .p-support .sub-en {
    text-align: left;
  }
  .p-support .badge br {
    display: none;
  }
}
@media screen and (max-width: 430px) {
  .p-support .badge {
    font-size: 1.5rem;
  }
  .p-support .badge .line::before {
    height: 10px;
  }
  .p-support .sub-ja {
    font-size: 2rem;
    margin-bottom: 0px;
  }
  .p-support .card-txt p {
    line-height: 1.8;
  }
}
