html,body {
	overflow-x: hidden;
}

html {
  font-size: 62.5%;
  /* scroll-behavior: smooth; */
  width: 100%;
  font-family: var(--fontNotoSans);

  @media screen and (min-width: 768px) and (max-width: 1053px) {
    font-size: 0.94966762vw;
  }
  
  @media screen and  (max-width: 767px) {
    font-size: 2.27vw;
  }
}

body {
  font-size: 1.6rem;
  line-height: 1.6;
  font-family: "Noto Sans", sans-serif;
  font-weight: 500;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  color: #000;
  overflow-wrap: anywhere;
  word-break: normal;
  line-break: strict;
  font-feature-settings: 'palt';
  width: 100%;
  overflow-x: hidden;
}

@media screen and (max-width: 767px) {
  main {
    margin-top: 15.9vw;
  }
}


@media (hover: hover) {
  button,
  a:where([href]) {
    transition: opacity 0.3s;
    &:hover {
      opacity: 0.7;
    }
  }
}

img {
  width: auto;
  height: auto;
  max-width: 100%;
}

.flex {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.grid {
  display: grid;
}

.tab_display,
.sp_display {
  display: none;
}

@media screen and (min-width: 768px) and (max-width: 1053px) {
  .tab_display {
    display: block;
  }
}

@media screen and (max-width: 767px) {
  .pc_display {
    display: none;
  }
  .sp_display {
    display: block;
  }
  .tab_display {
    display: none;
  }
}


.inner {
	width: 1200px;
	max-width: 95%;
	margin-inline: auto;
  @media screen and (max-width: 767px) {
    max-width: 86.4%;
  }
}

@keyframes ctaRotation {
  0%   { transform: translateY(-50%) rotateX(0deg); }
  100% { transform: translateY(-50%) rotateX(360deg); }
}

/* ------------------------------------------
  pageHead
--------------------------------------------*/

.pageHead {
  .pageHead__title--en {
    color: var(--colorOrange);
    font-size: 8.3rem;
    position: relative;
    width: fit-content;
    line-height: 1;
    font-family: 'Rowdies', sans-serif;
  }
  .pageHead__title--en::before {
    content: '';
    background-color: #fae500;
    width: 2.64rem;
    height: 0.72rem;
    position: absolute;
    right: 0;
    top: 0;
    border-radius: 3.6px;
  }
  .pageHead__title--ja {
    display: block;
    color: #000;
    font-size: 2rem;
    font-weight: 700;
    margin-top: 0.4rem;
  }
  @media screen and (max-width: 767px) {

  .pageHead__title {
      width: fit-content;
      margin: 0 auto;
      text-align: center;
    }
    .pageHead__title--en {
      line-height: 0.5;
      font-size: 13.86667vw;
    }
    .pageHead__title--en::before {
      width: 4.39vw;
      height: 1.2vw;
      right: -4vw;
    }
    .pageHead__title--ja {
      font-size: 3.2vw;
      text-align: left;
      margin-top: 1vw;
    }
  }
}

/* ------------------------------------------
  page__hgroup
--------------------------------------------*/
.page__hgroup {
  position: relative;

  &::before {
    content: "";
    display: block;
    width: 24px;
    height: 24px;
    background: url("../../img/common/icon_title_line.png") center center no-repeat;
    left: 0;
  }

  h2 {
    font-size: 6rem;
    font-family: "Oswald", sans-serif;
    display: block;
    font-weight: 500;

    opacity: 0;
    -webkit-clip-path: inset(0 100% 0 0);
            clip-path: inset(0 100% 0 0);

  }

  h2.is-animated {
    animation: textSlide 2s ease-out forwards;
    -webkit-animation: textSlide 2s ease-out forwards;
            animation: textSlide 2s ease-out forwards;
  }

  p {
    font-size: 2rem;
    font-weight: 700;
    color: #0060dd;
  }

  @media screen and (max-width: 767px) {
    h2 {
      font-size: 4.6rem;
      line-height: 1.08;
      margin-top: 2.46rem;
    }

    p {
      margin-top: 2.46rem;
    }
  }

  &.is-center {
    text-align: center;

    &::before {
      margin-inline: auto;
    }
  }

  &.is-black {
    &::before {
      background: url("../../img/common/icon_title_line_black.png") center center no-repeat;
      background-size: cover;
    }

    p {
      color: var(--colorBlack);
    }
  }
}

@-webkit-keyframes textSlide {
  0% {
    opacity: 0;
    -webkit-clip-path: inset(0 100% 0 0);
            clip-path: inset(0 100% 0 0);
  }
  100% {
    opacity: 1;
    -webkit-clip-path: inset(0 0 0 0);
            clip-path: inset(0 0 0 0);
  }
}

@keyframes textSlide {
  0% {
    opacity: 0;
    -webkit-clip-path: inset(0 100% 0 0);
            clip-path: inset(0 100% 0 0);
  }
  100% {
    opacity: 1;
    -webkit-clip-path: inset(0 0 0 0);
            clip-path: inset(0 0 0 0);
  }
}


/* ------------------------------------------
  header
--------------------------------------------*/
header {
  width: 100%;
  height: 7.63vw;
  background: var(--colorMainBlue);
  z-index: 20;

  .header__inner {
    display: flex;
    justify-content: space-between;
    height: 100%;

    .header__logo {
      width: 39.5vw;
      display: flex;
      align-items: center;
      padding-left: 1.9vw;
      background: var(--colorWhite);
      position: relative;
      clip-path: polygon(0 0, 100% 0, 88% 100%, 0% 100%);
      height: 101%;
      padding-right: 5vw;
      overflow-y: hidden;
  }

    .header__nav {
      position: relative;
      display: flex;

      .header__navList {
        display: flex;
        align-items: center;
        gap: 2.08vw;
        background: var(--colorMainBlue);
        color: var(--colorWhite);
        padding-inline: 0 3.7vw;

        li {
          font-size: 1.1vw;
          font-weight: 700;
          letter-spacing: 0.01em;
          &::after {
            content: "";
            height: 2px;
            width: 100%;
            background: var(--colorLightBlue);
            position: relative;
            bottom: -0.9vw;
            left: 0;
            opacity: 0; 
            transition: opacity 0.3s;
            display: block;
          }
          &:hover {
            cursor: pointer;
            color: var(--colorLightBlue);
            transition: color 0.3s;
            
            .header__dropdown {
              opacity: 1;
              visibility: visible;
              transform: translateY(0);
            }

            &::after {
              opacity: 1;
            }
          }

        }
        .has-dropdown {
          .header__dropdown {
            position: absolute;
            top: 100%; 
            left: -6.2vw;
            background: var(--colorDarkBlue);
            padding: 3.4vw 4vw 3.4vw 5.9vw;
            opacity: 0;
            visibility: hidden;
            transform: translateY(10px);
            transition: all 0.3s ease;
            z-index: 999;
            width: calc(100% + 6.2vw);
            .header__dropdownTitle {
              padding-bottom: 1.3vw;
              font-size: 1.3vw;
              color: var(--colorWhite);
              display: block;
            }
            .header__dropdownList {
              display: flex;
              gap: 2.08vw;
              border-top: 0.0694vw solid var(--colorWhite);
              padding-top: 2.08vw;
              flex-wrap: wrap;
              .header__dropdownItem {
                color: var(--colorWhite);
                &:hover {
                  color: var(--colorLightBlue);
                  margin-top: 0;
                }
                .header__dropdownLink {
                  position: relative;
                  padding-left: 1em;
                  &::before {
                    content: "";
                    position: absolute;
                    left: 0;
                    top: 50%;
                    transform: translateY(-50%);
                    width: 0.4vw;
                    height: 0.5vw;
                    background-image: url(../../img/common/icon_submenu_arrow_white.svg);
                    background-position: center;
                    background-repeat: no-repeat;
                    background-size: cover;
                  }
                }
              }
            }
          }
        }
      }

      .header__navToggle {
        display: none;
      }

      .header__contact {
        width: 10.5vw;
        font-size: 1.1vw;
        font-weight: 700;
        background: var(--colorDarkLightBlue);
        gap: 0.8vw;
        display: grid;
        justify-items: center;
        align-content: center;
        color: var(--colorWhite);

        &::before {
          content: '';
          background-image: url("../../img/common/icon_mail_white.png");
          background-position: center;
          background-repeat: no-repeat;
          background-size: cover;
          width: 2.08vw;
          height: 1.5vw;
          display: inline-block;
        }
        &:hover {
          background: var(--colorLightBlue);
          opacity: 1;
        }
      }

      .header__navList--sp {
        display: none;
      }
    }
  }

  @media screen and (max-width: 767px) {
    height: 15.9vw;
    position: fixed;
    z-index: 999;
    .header__inner {
      .header__logo {
        width: 67.6vw;
        padding-left: 3.8vw;
        clip-path: polygon(0 0, 100% 0, 94% 100%, 0% 100%);
      }

      .header__nav {
        width: 32.8vw;
        background: var(--colorMainBlue);

        &::before {
          width: 4.8vw;
          left: -4.5vw;
          clip-path: polygon(94% 0, 100% 0, 100% 100%, 0% 100%);
          height: 100%;
        }

        .header__navList {
          display: none;
        }

        .header__navToggle {
          position: relative;
          width: 15vw;
          height: 7.5vw;
          display: flex;
          flex-direction: column;
          justify-content: space-between;
          cursor: pointer;
          align-self: center;

          span {
            position: absolute;
            left: 50%;
            width: 50%;
            height: 1px;
            background: var(--colorWhite);
            border-radius: 2px;
            transform: translateX(-50%);
            transform-origin: center;
            transition: all 0.35s ease;

            &:nth-child(1) { top: 0; }
            &:nth-child(2) { top: 50%; transform: translate(-50%, -50%); }
            &:nth-child(3) { bottom: 0; }
          }

          &.active {
            span {
              &:nth-child(1) { top: 50%; transform: translate(-50%, -50%) rotate(45deg); }
              &:nth-child(2) { opacity: 0; }
              &:nth-child(3) { top: 50%; transform: translate(-50%, -50%) rotate(-45deg); }
            }
          }
        }

        .header__contact {
          width: 18.18vw;
          font-size: 2.2vw;

          &::before {
            width: 4.5vw;
            height: 3.63vw;
          }
        }

       .header__navList--sp {
			display: none;              
			flex-direction: column;
			padding: 11.3vw 9vw;
			background: var(--colorDarkBlue);
			position: absolute;
			top: 100%;
			left: -67.2vw;
			width: 100vw;
			transition: max-height 0.35s ease, opacity 0.35s ease;
			min-height: calc(100svh - 15.9vw);
			overflow: hidden;
			height: 100%;
			overflow-y: scroll;
			z-index: 999;

			li {
				border-block: 0.2vw solid var(--colorWhite);

				a {
				display: flex;
				justify-content: space-between; 
				align-items: center;
				padding: 6.4vw 0;
				color: var(--colorWhite);
				text-decoration: none;
				font-size: 4.54vw;
				transition: background 0.2s;
				line-height: 1;

				.submenu-toggle {
					margin-left: 2vw;
					cursor: pointer;
				}
				}

				.submenu {
				display: none;          
				flex-direction: column;
				gap: 9vw;
                padding-block: 2vw 7vw;

				li {
					border-block: none;
						a {
							font-size: 4vw;
							padding: 0 0 0 4vw;
							position: relative;
							&::before {
								content: '';
								position: absolute;
								background-image: url(../../img/common/icon_submenu_arrow.svg);
								background-position: center;
								background-repeat: no-repeat;
								background-size: cover;
								left: 0;
								width: 1.63vw;
								height: 1.81vw;
							}
						}
					} 
				}

				&.open > .submenu {
					display: flex;          
				}
			}
        }
      }
	  .header__nav.active .header__navList--sp {
		display: flex;
	 }
    }
  }
}


/* ------------------------------------------
  footer
--------------------------------------------*/
footer {
  margin-top: auto;
  
  .footer__nav {
    background: var(--colorMainBlue);
    padding: 5.5rem 4rem;
    position: relative;
    &::before {
      left: 0;
      top: -1px;
      clip-path: polygon(100% 0, 0% 100%, 0 0);
      background: var(--colorWhite);
      content: "";
      position: absolute;
      width: 10rem;
      height: 100%;
      z-index: 1;
    }
    .footer__navInner.sp_display {
      display: none;
    }
    .footer__navInner {
      display: flex;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 7rem;
      width: fit-content;
      margin-inline: auto;

      .footer__navList {
        display: grid;
        gap: 2rem;
        align-self: baseline;

        .footer__navItem {
          color: var(--colorWhite);
          font-size: 1.6rem;
          position: relative;
          padding-left: 2em;
          line-height: 1;
          a:hover {
             color: var(--colorLightBlue); 
          }

          &::before {
            content: "／";
            position: absolute;
            left: 0;
            color: var(--colorDarkLightBlue);
          }

          .footer__submenu {
            display: grid;
            gap: 1.5rem;
            margin-top: 1.5rem;

            li {
              line-height: 1;

              a {
                color: var(--colorGray);
                font-size: 1.4rem;
              }
            }
          }
        }
      }
    }
  }
  .footer__bottom {
    display: grid;
    gap: 3.19vw;
    padding: 2.08vw 2.77vw;
    grid-template-columns:  51.73vw auto;
    .footer__column {
      display: grid;
      gap : 1.18vw;
      grid-template-columns: 1fr 1fr;
      .footer__columnItem {
        img {
          width: 100%;
        }
      }
    }
  }
  .footer__details {
    display: flex;
    flex-wrap: wrap;
    column-gap:1.38vw;
    align-content: center;
    .footer__address {
      font-size: 1vw;
      font-weight: 500;
      span {
        font-weight: 700;
      }
    }
    .footer__privacy {
      font-size: 0.833vw;
      text-decoration: underline;
    }
    .footer__copyright {
      font-size: 0.694vw;
    }
  }
  @media screen and (max-width: 767px) {
    .footer__nav {
      padding: 13.63vw;
        &::before {
        content: none;
      }
      .footer__navInner.pc_display {
        display: none;
      }
      .footer__navInner.sp_display {
        width: 100%;
        display: block;
        .footer__navList {
          gap: 9vw;
          .footer__navItem {
            font-size: 2rem;
            .footer__submenu {
              gap: 7.4vw;
              margin-top: 7vw;
              li  {
                font-size: 1.8rem;
              }
            }
            .footer__submenu {
              display: none;
              gap: 8vw;
              margin-block: 7vw 3vw;

              li a {
                font-size: 1.8rem;
              }
            }

            &.open {
              .footer__submenu {
                display: grid;
              }
            }
          }
        }
      }
    }
    .footer__bottom {
      grid-template-columns: 1fr;
      padding: 13.63vw 6.8vw 16.13vw; 
      gap :9.09vw;
      .footer__column {
        grid-template-columns: 1fr;
        gap: 3.4vw;
      }
    }
    .footer__details {
      gap: 6.81vw;
      .footer__address {
        font-size: 1.8rem;
      }
      .footer__privacy {
        font-size: 1.6rem;
      }
      .footer__copyright {
        font-size: 1.1rem;
        margin-top: 2.2vw;
      }
    }
  }
}

/* ------------------------------------------
  cta
--------------------------------------------*/
.cta {
  height: 5.2rem;
  width: 17.2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--colorWhite);
  font-family: var(--fontOzwald);
  font-size: 2rem;
  font-weight: 700;
  border: 0.1rem solid var(--colorWhite);
  position: relative;

  &::after {
    content: "";
    background: url(../../img/common/arrow_right_white.svg) no-repeat center center / contain;
    width: 1.4rem;
    height: 1.6rem;
    position: absolute;
    right: 2.4rem;
    top: 50%;
    transform: translateY(-50%) rotate(0deg);
    transition: transform 0.6s ease;
    z-index: 3;
  }
  &:hover {
    opacity: 1;
  }
  &:hover span {
    animation: rotation 2s linear infinite;
  }
  &:hover::after {
    animation: ctaRotation 2s linear infinite;
  }

  @media screen and (max-width: 767px) {
      &:hover span {
      animation: unset;
    }
    &:hover::after {
      animation: unset;
    }
  }
}


/* ------------------------------------------
  pageLead
--------------------------------------------*/
.pageLead {
  .pageLead__title {
    font-size: 3rem;
    color: var(--colorMainBlue);
    line-height: 1.5;
    position: relative;
    padding-left: 3.8rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    &::before {
      position: absolute;
      left: 0;
      top: 1rem;
      content: "";
      background: url(../../img/common/icon_title_line.png) center center no-repeat;
      width: 2.4rem;
      height: 2.4rem;
    }
  }
  .pageLead__text {
    font-size: 2rem;
    line-height: 2; 
    font-weight: 400;
    margin-top: 2.8rem;
    letter-spacing: 0.08em;
  }
  @media screen and (max-width: 767px) {
    .pageLead__title {
      font-size: 2.6rem;
    }
  }
}

/* ------------------------------------------
  page__commonText
--------------------------------------------*/
.page__commonText {
  font-size: 2rem;
  letter-spacing: 0.08em;
  line-height: 2;
  font-weight: 400;
  span {
    color: var(--colorMainBlue);
    font-weight: 700;
  }
}
/* ------------------------------------------
  has-hexagonWrap
--------------------------------------------*/
.has-hexagonWrap {
  padding-block: 10rem 12rem;
  position: relative;
  background: var(--colorBgBlue);
  .inner {
    position: relative;
    z-index: 1;
  }
  &::before,
  &::after {
    position: absolute;
    content: "";
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
  }
  &::before {
    left: 0;
    top: 0;
    width: 52rem;
    height: 52rem;
    background-image: url(../../img/common/bg_page_hexagon_01.png);
  }
  &::after {
    right: 0;
    top: 34.5%;
    width: 66rem;
    height: 74rem;
    background-image: url(../../img/common/bg_page_hexagon_02.png);
  }
  @media screen and (max-width: 767px) {
    padding-top: 10rem;
     &::before {
      width: 26rem;
      height: 26rem;
    }
    &::after {
      top: 34.5%;
      width: 38rem;
      height: 53rem;
    }
  }
}

.has-hexagonWrap-only {
  &::after {
    content: none;
  }
}
/* ------------------------------------------
  page__centerTitle
--------------------------------------------*/
.page__centerTitle {
  color: var(--colorWhite);
  padding: 1rem 8rem;
  background: linear-gradient(to right,  #84C7FF ,#36A3FF);
  position: relative;
  width: fit-content;
  margin-inline: auto;
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  transform: translateY(-50%);
  margin-bottom: -3.5rem;
  &::before {
    position: absolute;
    content: "";
    left: 0;
    clip-path: polygon(0 0, 0% 100%, 100% 0);
    background: var(--colorMainBlue);
    width: 4.9rem;
    height: 100%;
    top: 0;
  }
  &::after {
    content: "";
    position: absolute;
    background: var(--colorMainBlue);
    clip-path: polygon(100% 100%, 0% 100%, 100% 0);
    right: 0;
    top: 0;
    width: 4.9rem;
    height: 100%;
  }
  @media screen and (max-width: 767px) {
    font-size: 2.6rem;
    padding: 1rem 5rem;
  }
}




/* ------------------------------------------
  page__sectionTitle
--------------------------------------------*/
.page__sectionTitle {
  font-size: 3rem;
  color: var(--colorWhite);
  padding: 1rem 0 1rem 7rem;
  display: flex;
	background: linear-gradient(270deg, #84c7ff 9.62%, #33a2ff 100%);
  position: relative;
  font-weight: 700;
  clip-path: polygon(0 0, 100% 0, calc(100% - 4rem) 100%, 0% 100%);
  padding-right: 2rem;
  &::before {
		background-color: #0060dd;
		clip-path: polygon(0 0, 0% 100%, 100% 0);
		content: "";
		height: 100%;
		left: 0;
		position: absolute;
		top: 0;
		width: 4rem;
  }
  &::after {
    background-color: #96d5f1;
		clip-path: polygon(100% 0, 0% 100%, 100% 100%);
		content: "";
		height: 100%;
		left: 0;
		position: absolute;
		top: 0;
		width: 4rem;
		border: 1px solid #96d5f1;
  }
  @media screen and (max-width: 767px) {
    font-size: 2.6rem;
    padding-left: 5.9rem;
    clip-path: polygon(0 0, 100% 0, calc(100% - 3rem) 100%, 0% 100%);
    &::before {
      width: 3rem;
    }
    &::after {
      width: 3rem;
    }
  }
}

/* ------------------------------------------
  has-arrowTitle
--------------------------------------------*/
.has-arrowTitle {
  font-size: 1.6rem;
  font-weight: 700;
  padding: 2rem 8.8rem 2rem 2rem;
  line-height: 1.375;
  background: var(--colorWhite);
  background-size: contain;
  position: relative;
  perspective: 1000px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  background-color: #F7F7F7;

  &::before {
    content: "";
    background-color: var(--colorDarkLightBlue);
    width: 8rem;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
    clip-path: polygon(25% 0%, 100% 0, 100% 100%, 0% 100%);
  }

  &::after {
    content: "";
    background: url(../../img/common/arrow_right_white.svg) no-repeat center center / contain;
    width: 1.4rem;
    height: 1.6rem;
    position: absolute;
    right: 2.4rem;
    top: 2.5rem;
    transition: transform 0.6s ease;
    z-index: 3;
    transform-style: preserve-3d;
  }
}

  
a:has(.has-arrowTitle):hover .has-arrowTitle::after {
  animation: rotation 2s linear infinite;
}



/* ------------------------------------------
  animation
--------------------------------------------*/
.js-scrollEvent,
.js-scrollColumn,
.js-scrollList  {
    opacity: 0;
    transform: translateY(100px);
    transition: 0.8s;
}

.js-scrollTranslateLeft {
    opacity: 0;
    transform: translateX(-100px);
    transition: 0.8s;
}

.js-scrollTranslateRight {
    opacity: 0;
    transform: translateX(100px);
    transition: 0.8s;
}

.js-scrollEvent.is-active,
.js-scrollColumn.is-active,
.js-scrollList.is-active {
    opacity: 1;
    transform: translateY(0);
}

.js-scrollTranslateLeft.is-active,
.js-scrollTranslateRight.is-active {
    opacity: 1;
    transform: translateX(0);
}

/* fadein */
.fadein::before,
.fadein::after {
  opacity: 0;
  inset: 0;
  z-index: -1;
}

.fadein.is-animated::before,
.fadein.is-animated::after {
  animation: fadeIn 2.5s ease-out forwards;
}

@keyframes fadeIn {
  0%   { opacity: 0; }
  50%  { opacity: 0.5; }
  100% { opacity: 1; }
}


/* zoomin */

.zoomin {
  display: inline-block;
  overflow: hidden; 
  img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.5s ease; 

  }
  &:hover {
    opacity: 1;
    img {
    transform: scale(1.05); 

    }
  }
}

/* ------------------------------------------
  pagination
--------------------------------------------*/
.pagination {

  ul.page-numbers {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1.5rem;

  }
  a.page-numbers {
    border: 1px solid #0F1419;
    display: grid;
    place-content: center;
    width: 4rem;
    height: 4.6rem;
    line-height: 1;
    font-size: 2rem;
    &.next{
      display: none;
    }
    &.prev{
      display: none;
    }
  }
  a.prev.page-numbers,
  a.next.page-numbers {
    border: none;
  }
  span.page-numbers.current {
    width: 4rem;
    height: 4.6rem;
    line-height: 1;
    font-size: 2rem;
    place-content: center;
    background-color: var(--colorMainBlue);
    color: #fff;
    border: var(--colorMainBlue);
    display: inline-grid;
  }

  .pagination__prev {
    display: inline-grid;
    place-content: center;
    transform: scale(-1, 1);
  }
  .pagination__next {
    display: inline-grid;
    place-content: center;

  }
}