:root {
  --color_lightGray: #f0f5f9;
  --color_sumi: #333;
  --color_pfuBlue: #163182;
  --color_blue: #2865bd;
  --color_deepBlue: #032d60;
  --color_yellow: #ffc700;
  --color_lightGreen: #8cd269;
}

/* -----------------------------------------------------------
firstView
----------------------------------------------------------- */
.firstView {
  position: relative;
  width: 100%;
  max-height: 640px;
  aspect-ratio: 680/1116;
  overflow: hidden;
  margin: 0 auto;

  @media (min-width: 561px) {
    /* height: auto; */
    min-height: 560px;
    max-height: auto;
    aspect-ratio: 1440/656;
  }
  @media (min-width: 1440px) {
    height: 656px;
    aspect-ratio: initial;
  }
}

.firstView_mask {
  z-index: 2;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: calc(100% + 1px);
  background: url(../img/dot.png) repeat, linear-gradient(264deg, rgba(0, 132, 255, 0.4) 19.66%, #002355 97.61%);
}

.firstView_contentWrapper {
  z-index: 3;
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  padding: 24px 6.22%;
  color: #fff;

  @media (min-width: 561px) {
    top: calc(50% + 12px);
    bottom: auto;
    translate: 0 -50%;
  }
}

.firstView_content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
}

.firstView_ttlArea {
  display: flex;
  flex-direction: column;
  gap: 8px;

  @media (min-width: 1280px) {
    gap: 16px;
  }
}

.firstView_subTtl {
  font-weight: bold;
  font-size: 2rem;
  color: inherit;

  @media (min-width: 561px) {
    font-size: 2.2rem;
  }
  @media (min-width: 1280px) {
    font-size: 3.2rem;
  }
}

.firstView_ttl {
  font-weight: bold;
  font-size: 3.6rem;
  line-height: 1.2;
  color: inherit;

  @media (min-width: 561px) {
    font-size: 4.8rem;
  }
  @media (min-width: 1280px) {
    font-size: 6.2rem;
  }
}

.firstView_furigana {
  font-size: 1.4rem;
  color: inherit;

  @media (min-width: 561px) {
    font-size: 1.6rem;
  }
  @media (min-width: 1280px) {
    font-size: 1.8rem;
  }
}

.firstView_lead {
  font-size: 1.4rem;
  color: inherit;

  @media (min-width: 561px) {
    font-size: 1.8rem;
  }
  @media (min-width: 1280px) {
    font-size: 2.4rem;
  }
}

.firstView_btnArea {
  display: flex;
  flex-direction: row;
  gap: 16px;
}

.firstView_description {
  font-size: 1.2rem;
  color: inherit;

  @media (min-width: 561px) {
    font-size: 1.4;
  }
  @media (min-width: 1280px) {
    font-size: 1.6rem;
  }
}

.swiper {
  width: 100%;
  height: 100%;
  max-height: 640px;
  aspect-ratio: 680/1116;

  @media (min-width: 561px) {
    min-height: 560px;
    max-height: auto;
    aspect-ratio: 1440/656;
  }
  @media (min-width: 1440px) {
    height: 100%;
    min-height: auto;
  }
}

.firstView_img {
  height: 100%;
  background-size: cover;
  background-position-y: center;

  &.-img1 {
    background-image: url(../img/fv_01_sp.webp);
    background-position-x: 55%;
    background-position-y: 20%;

    @media (min-width: 561px) {
      background-image: url(../img/fv_01.webp);
    }
  }
  &.-img2 {
    background-image: url(../img/fv_02_sp.webp);
    background-position-x: 95%;

    @media (min-width: 561px) {
      background-image: url(../img/fv_02.webp);
    }
  }
  &.-img3 {
    background-image: url(../img/fv_03_sp.webp);
    background-position-x: 70%;

    @media (min-width: 561px) {
      background-image: url(../img/fv_03.webp);
    }
  }

  .swiper-slide-active &,
  .swiper-slide-duplicate-active &,
  .swiper-slide-prev & {
    animation: zoomUp 7s linear 0s normal both;
  }
}

@keyframes zoomUp {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.15);
  }
}

.swiper-slide {
  img {
    width: auto;
    height: 100%;

    @media (min-width: 1024px) {
      width: 100%;
      height: auto;
    }
  }
}

/* -----------------------------------------------------------
section
----------------------------------------------------------- */
.section {
  position: relative;
  padding-block: 64px;

  @media (min-width: 561px) {
    padding-block: 120px;
  }

  &:nth-of-type(1) {
    padding-top: 64px;

    @media (min-width: 561px) {
      padding-top: 120px;
    }
  }

  &:nth-last-of-type(1) {
    padding-bottom: 64px;

    @media (min-width: 561px) {
      padding-bottom: 120px;
    }
  }

  &.-lightGray {
    background-color: var(--color_lightGray);
  }

  &.-straightGeometric {
    background-size: cover;
    background-repeat: no-repeat;
    background-image: url(../img/bg_geometric_straight_sp.webp);

    @media (min-width: 561px) {
      background-image: url(../img/bg_geometric_straight.webp);
    }
  }

  &.-curveGeometric {
    background-size: cover;
    background-repeat: no-repeat;
    background-image: url(../img/bg_geometric_curve_sp.webp);

    @media (min-width: 561px) {
      background-image: url(../img/bg_geometric_curve.webp);
    }
  }

  &.-trademark {
    padding-block: 40px;
  }
}

.subSection {
  & + & {
    margin-top: 40px;

    @media (min-width: 769px) {
      margin-top: 120px;
    }
  }
}

/* -----------------------------------------------------------
headerBlock
----------------------------------------------------------- */
.headerBlock {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;

  @media (min-width: 561px) {
    gap: 24px;
  }

  & + * {
    margin-top: 40px;

    @media (min-width: 561px) {
      margin-top: 64px;
    }
  }
}

.imgWrapper {
  display: block;

  &.-shadow {
    box-shadow: 0px 0px 24px 0px rgba(0, 0, 0, 0.15);
  }
}

.h2 {
  color: var(--color_deepBlue);
  font-weight: bold;
  font-size: 2rem;

  @media (min-width: 769px) {
    font-size: 3.2rem;
  }

  &.-white {
    color: #fff;
  }
}

.leadTxt {
  font-size: 1.4rem;

  @media (min-width: 769px) {
    width: 100%;
    max-width: 800px;
    font-size: 1.6rem;
  }

  &.-white {
    color: #fff;
  }
}

.tag {
  width: fit-content;
  padding: 12px 24px;
  background-color: var(--color_yellow);
  font-weight: bold;
  font-size: 1.6rem;
  line-height: 1;
}

.caption {
  &.-white {
    > .listItem {
      color: #fff;
    }
  }

  * + & {
    margin-top: 16px;
  }
}

/* -----------------------------------------------------------
recommend
----------------------------------------------------------- */
.recommend {
  display: flex;
  flex-direction: column;
  z-index: 1;
  position: relative;
}

.recommend_txtArea {
  width: 100%;

  @media (min-width: 769px) {
    width: calc(100% - 473 / 1200 * 100% - 32px);
  }
}

.recommend_imgArea {
  width: 100%;
  max-width: 400px;
  margin-inline: auto;

  @media (min-width: 769px) {
    position: absolute;
    bottom: -120px;
    right: 0;
    width: calc(473 / 1200 * 100%);
    max-width: 473px;
  }
  @media (min-width: 1024px) {
    bottom: -160px;
  }

  > img {
    width: 100%;
    height: auto;
  }
}

.recommend_list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.recommend_item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 0;
  font-size: 1.6rem;

  @media (min-width: 769px) {
    font-size: 2rem;
  }
}

.recommend_ico {
  flex-shrink: 0;
  position: relative;
  width: 32px;
  height: 32px;
  background: var(--color_lightGreen);
  border-radius: 50%;

  @media (min-width: 769px) {
    width: 40px;
    height: 40px;
  }

  &::before {
    content: "";
    position: absolute;
    top: 45%;
    left: 50%;
    width: 10px;
    height: 16px;
    border: solid #fff;
    border-width: 0 3px 3px 0;
    translate: -50% -50%;
    rotate: 45deg;
  }
  @media (min-width: 769px) {
    &::before {
      width: 12px;
      height: 20px;
      border-width: 0 4px 4px 0;
    }
  }
}

/* -----------------------------------------------------------
loopTxt
----------------------------------------------------------- */
.loopTxtArea {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 152px;
  overflow: hidden;
}

.loopTxt {
  position: absolute;
  left: 50%;
  bottom: 9px;
  opacity: 0.7;
  width: 1700px;
  font-weight: bold;
  font-size: 13rem;
  line-height: 0.73;
  letter-spacing: -0.02em;
  color: rgb(255, 255, 255);
  translate: -50%;
  text-wrap: nowrap;

  @media (min-width: 561px) {
    bottom: 14px;
    width: 2600px;
    font-size: 20rem;
  }
}

.loop {
  -webkit-animation: loop 60s 0s linear infinite;
  animation: loop 60s 0s linear infinite;
}

.loop2 {
  -webkit-animation: loop 60s -20s linear infinite;
  animation: loop 60s -20s linear infinite;
}

.loop3 {
  -webkit-animation: loop 60s -40s linear infinite;
  animation: loop 60s -40s linear infinite;
}

@-webkit-keyframes loop {
  0% {
    translate: 100% 0;
  }
  100% {
    translate: -200% 0;
  }
}

@keyframes loop {
  0% {
    translate: 100% 0;
  }
  100% {
    translate: -150% 0;
  }
}

/* -----------------------------------------------------------
imgCard
----------------------------------------------------------- */
.imgCards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;

  @media (min-width: 561px) {
    gap: 24px;
  }
  @media (min-width: 769px) {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
  }
  @media (min-width: 1024px) {
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: 1fr;
  }
}

.imgCard {
  border-radius: 16px;
  background: var(--color_lightGray);
  box-shadow: 0px 0px 24px 0px rgba(0, 0, 0, 0.15);
}

.imgCard_imgArea {
  > img {
    border-radius: 16px 16px 0 0;
  }
}

.imgCard_txtArea {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 24px 16px;
}

.imgCard_tag {
  width: fit-content;
  padding: 8px 24px;
  background-color: var(--color_blue);
  border-radius: 24px;
  color: #fff;
  font-size: 1.2rem;
}

.imgCard_txt {
  color: var(--color_deepBlue);
  font-weight: bold;
  font-size: 1.6rem;
  line-height: 1.5;
  text-align: center;
}

/* -----------------------------------------------------------
panel
----------------------------------------------------------- */
.panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 60px;
  padding: 20px 24px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0px 0px 40px 0px rgba(0, 0, 0, 0.1);

  @media (min-width: 769px) {
    flex-direction: row;
  }

  & + & {
    margin-top: 40px;
  }
}

.panel_txtArea {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;

  @media (min-width: 561px) {
    flex-direction: row;
  }
}

.panel_num {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 130px;
  height: 120px;
  padding-bottom: 20px;
  color: var(--color_blue);
  font-weight: bold;
  font-size: 8rem;

  @media (min-width: 561px) {
    padding-right: 20px;
    padding-bottom: 0;
  }

  &::after {
    position: absolute;
    right: auto;
    bottom: 0;
    width: 100%;
    height: 3px;
    background-color: var(--color_blue);
    content: "";
  }
  @media (min-width: 561px) {
    &::after {
      right: 0;
      bottom: auto;
      width: 3px;
      height: 100%;
    }
  }
}

.panel_description {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.panel_ttl {
  font-weight: bold;
  font-size: 2rem;
}

.panel_txt {
  font-size: 1.6rem;
}

.panel_imgArea {
  width: 100%;

  @media (min-width: 561px) {
    width: 386px;
    aspect-ratio: 386/210;
  }

  > img {
    width: 100%;
    height: auto;
  }
}

/* -----------------------------------------------------------
roundBtn
----------------------------------------------------------- */
.roundBtn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 280px;
  padding: 16px 10px;
  border: 2px solid #fff;
  border-radius: 100px;
  background-color: #fff;

  &:hover {
    background-color: var(--color_pfuBlue);
  }

  &.-yellow {
    border-color: var(--color_yellow);
    background-color: var(--color_yellow);

    &:hover {
      border-color: #fff;
      background-color: var(--color_pfuBlue);
    }
  }
}

.floatingBnr_roundBtn {
  width: 100%;
  padding-block: 12px;

  @media (min-width: 561px) {
    padding-block: 8px;
  }
}

.roundBtn_txt {
  position: relative;
  padding-left: 20px;
  color: var(--color_pfuBlue);
  font-weight: bold;
  font-size: 1.4rem;

  @media (min-width: 561px) {
    font-size: 1.6rem;
  }

  .roundBtn:hover & {
    color: #fff;
  }

  &::before {
    position: absolute;
    top: 50%;
    left: 0;
    width: 8px;
    height: 8px;
    border-top: 2px solid var(--color_pfuBlue);
    border-right: 2px solid var(--color_pfuBlue);
    translate: 0 -50%;
    rotate: 45deg;
    content: "";

    @media (min-width: 561px) {
      width: 12px;
      height: 12px;
      border-width: 3px;
    }
  }
  .roundBtn:hover &::before {
    border-color: #fff;
  }
}

/* -----------------------------------------------------------
anchorLinkBtn
----------------------------------------------------------- */
.anchorLinkBtns {
  display: grid;
  gap: 24px;
  grid-column: 1fr;
  /* grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); */

  @media (min-width: 561px) {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
  }
  @media (min-width: 1024px) {
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: 1fr;
  }
}

.anchorLinkBtn {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--color_blue);

  @media (min-width: 561px) {
    min-height: 110px;
    padding: 16px;
    border-radius: 24px;
    border: 2px solid var(--color_blue);
    background-color: #fff;
  }

  &:hover {
    background-color: var(--color_blue);
  }
}

.anchorLinkBtn_txt {
  position: relative;
  width: 100%;
  padding-left: 20px;
  color: var(--color_blue);
  font-weight: bold;

  @media (min-width: 561px) {
    width: auto;
    text-align: center;
  }

  .anchorLinkBtn:hover & {
    color: #fff;
  }

  &::before {
    position: absolute;
    top: 50%;
    left: 0;
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--color_sumi);
    border-bottom: 2px solid var(--color_sumi);
    translate: 0 -50%;
    rotate: 45deg;
    content: "";
  }
  .anchorLinkBtn:hover &::before {
    border-color: #fff;
  }

  .br1 {
    display: none;

    @media (min-width: 561px) {
      display: inline-block;
    }
  }

  .br2 {
    display: none;

    @media (min-width: 561px) {
      display: inline-block;
    }
    @media (min-width: 1280px) {
      display: none;
    }
  }
}

/* -----------------------------------------------------------
inquiry
----------------------------------------------------------- */
.inquiry {
  display: grid;
  gap: 64px;
  justify-content: center;

  @media (min-width: 769px) {
    grid-template-columns: 1fr 1fr;
  }
}

.inquiry_imgArea {
  width: 100%;
  max-width: 500px;
}

.inquiry_txtArea {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  width: 100%;
  max-width: 544px;

  @media (min-width: 769px) {
    align-items: flex-start;
  }
}

.inquiry_btnArea {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* -----------------------------------------------------------
trademark
----------------------------------------------------------- */
.trademark {
}

.trademark_ttl {
  font-weight: bold;
  font-size: 1.1rem;
}

.trademark_list {
  font-size: 1.1rem;
}

/* -----------------------------------------------------------
floatBnr
----------------------------------------------------------- */
.floatingBnr {
  z-index: 1000;
  position: fixed;
  opacity: 0;
  right: 0;
  left: 0;
  bottom: 0;
  width: 100%;
  background: var(--prd_blue, linear-gradient(228deg, #2865bd 13.46%, #122e57 86.54%));
  transform: translateY(60px);
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: none;

  @media (min-width: 561px) {
    left: auto;
    right: 24px;
    bottom: 24px;
    width: 288px;
    background: url(../img/bg_floating-bnr.webp);
    box-shadow: 0px 0px 40px 0px rgba(0, 0, 0, 0.25);
    transform: translateY(40px);
    border-radius: 4px;
  }

  &.-show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
}

.floatingBnr_inner {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;

  @media (min-width: 561px) {
    flex-direction: column;
    align-items: center;
    position: relative;
    padding: 24px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    background: linear-gradient(135deg, var(--blue1), var(--blue2));
    color: #fff;
  }
}

.floatingBnr_close {
  display: none;

  @media (min-width: 561px) {
    position: relative;
    display: block;
    position: absolute;
    top: -12px;
    left: -12px;
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    background: #333;
    color: #fff;
    font-size: 20px;
    line-height: 32px;
    cursor: pointer;
  }

  &:hover {
    background: #444;
  }

  &::before {
    position: absolute;
    top: 50%;
    left: 50%;
    font-size: 2rem;
    translate: -50% -50%;
    content: "×";
  }
}

.floatingBnr_txt {
  display: none;

  @media (min-width: 561px) {
    display: inline;
    font-weight: bold;
    font-size: 1.6rem;
    text-align: center;
    color: #fff;
  }
}

.pageTopBtn {
  display: none !important;
}

/* -----------------------------------------------------------
phantom
----------------------------------------------------------- */
.phantom {
  transform: translateY(50px);
  transition: opacity 1s, transform 1s;
  opacity: 0;

  &.-animated {
    transform: translateY(0);
    opacity: 1;
  }
}
