@charset "utf-8";
/* ==============================================================
*  reset
* ============================================================ */
*,::before,::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
:where(html) {
  box-sizing: border-box;
  -webkit-text-size-adjust: 100%;
}
:where(p, h1, h2, h3, h4, h5, h6) {
  overflow-wrap: break-word;
}
:where(a) {
  text-decoration: none;
}
:where(svg, video, canvas, audio, iframe, embed, object) {
	display: block;
}
:where(img, svg, video) {
  block-size: auto;
  max-inline-size: 100%;
  vertical-align: bottom;
}
:where(svg) {
  fill: currentColor;
  stroke: none;
}
:where(ul, ol) {
  list-style: none;
}
:where(table) {
  border-collapse: collapse;
}
:where(hr) {
  block-size: 0;
  border: none;
  border-block-start: 1px solid;
  color: inherit;
  overflow: visible;
}
:where(input) {
  border-radius: 0;
}
:where(input[type="text"], textarea) {
  padding: 0 2px;
}
:where(button, label, select, summary) {
  cursor: pointer;
}
:where(button, input, textarea, select) {
  border: 1px solid;
  font: inherit;
}
:where(textarea) {
  overflow: auto;
  resize: vertical;
  user-select: auto;
}
:where([disabled]) {
  cursor: default;
}
:where([hidden]) {
  display: none;
}

/* ==============================================================
*  base
* ============================================================ */
:root {
  --color-main: #1E5CA7;
  --color-sub: #E4F1FF;
  --color-text: #333;
  --color-background: #EDEDED;
  --color-gray: #EDEDED;
  --color-white: #fff;
  --header-height: 100px;
  --side-padding: 20px;
  --font-family-jp: "Noto Sans JP", "游ゴシック", YuGothic, "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  --font-family-din: "Barlow", "Bahnschrift", "Roboto", sans-serif;
  --transition-time: .3s;
  --animation-time: 1s;
}
@media screen and (width <= 768px) {
  :root {
    --header-height: 60px;
    --side-padding: 5.20vw;
    --sp-small-padding : 4vw;
  }
}

html {
  box-sizing: border-box;
}

body {
  color: var(--color-text);
  font-family: var(--font-family-jp);
  font-weight: 400;
  -webkit-font-smoothing: subpixel-antialiased;
  -moz-osx-font-smoothing: auto;
  font-kerning: normal;
  font-feature-settings: "palt";
  font-size: 16px;
  line-height: 2;
  letter-spacing: .15em;
}
@media screen and (width <= 768px) {
  body {
    font-size: clamp(14px, 12.092px + 0.509vw, 16px);
  }
  body:has(header.is-open) {
    height: 100lvh;
    overflow: hidden;
  }
}

a {
  color: var(--color-main);
  transition: color var(--transition-time);
  &:hover {
    color: var(--color-sub);
  }
}


/* ==============================================================
*  common
* ============================================================ */
/* Design Size Memo
 PC: Width:1440px Contents:1240px(padding:20px)  FontSize Adjust(1200px~768px/ 100->60)
 SP: Width:375px  Contents:375px(padding:10.41vw) FontSize Adjust(768px~375px/ 100->80)
 */
/* ---------- header ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: var(--color-white);
  transition: all var(--transition-time) ease-out;
  z-index: 1000;
}

.header.header-hide {
  transform: translateY(-100%);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  padding: 0 var(--side-padding);
  margin: 0 clamp(0px, -620.000px + 50vw, 100px);
}
@media screen and (width <= 768px) {
  .header-inner {
    position: relative;
    padding: 0 var(--sp-small-padding);
    & > div:last-child {
      position: absolute;
      top: var(--header-height);
      right: 0;
      translate: 100%;
      width: 100%;
      height: calc(100vh - var(--header-height));
      padding-bottom: 15vw;
      background-color: var(--color-main);
      overflow: hidden auto;
      overscroll-behavior: none;
      transition: translate .3s;
      .is-open & {
        translate: 0;
      }
    }
  }
}

.header-logo {
  width: 270px;
  & a {
    display: flex;
    align-items: center;
  }
}
@media screen and (width <= 1010px) {
  .header-logo {
    width: 55px;
  }
}
@media screen and (width <= 768px) {
  .header-logo {
    width: 250px;
  }
}

.header-logo-icon {
  width: 52px;
  aspect-ratio: 1 / 1;
  background-image: url('/assets/img/common/logo_header_icon.svg');
  background-repeat: no-repeat;
}

.header-logo-name {
  width: 220px;
  aspect-ratio: 100 / 7;
  mask-image: url('/assets/img/common/logo_header_name.svg');
  mask-repeat: no-repeat;
  background-color: #000;
  transition: background-color var(--transition-time) ease-out;
  & span {
    display: none;
  }
}
@media screen and (width <= 1010px) {
  .header-logo-name {
    display: none;
  }
}
@media screen and (width <= 768px) {
  .header-logo-name {
    display: block;
  }
}

.globalNav {
  font-weight: 500;
  & ul {
    display: flex;
    gap: min(2.14vw, 30px);
  }
  & a {
    color: #000;
    transition: color var(--transition-time) ease-out;
    & > span {
      display: none;
    }
    &:hover {
      color: var(--color-main);
    }
  }
}
@media screen and (width <= 768px) {
  .globalNav {
    background: url('/assets/img/top/img_icon_shape.webp') no-repeat top 7vw right 7vw /9.7vw 9.7vw,
      url('/assets/img/top/img_icon_shape.webp') no-repeat top 17vw right 17vw /3.9vw 3.9vw,
      url('/assets/img/top/img_icon_shape.webp') no-repeat bottom 17vw left 7vw /9vw 9vw,
      url('/assets/img/top/img_icon_shape.webp') no-repeat bottom 23vw left 17vw /3.9vw 3.9vw;
    padding: 4em 2em;
    font-size: clamp(20px, 10.458px + 2.545vw, 30px);
    & ul {
      flex-flow: column;
      gap: 2em;
      text-align: center;
    }
    & li {
      position: relative;
      line-height: 1.6;
      &::after {
        position: absolute;
        bottom: -1em;
        left: 50%;
        transform: translateX(-50%);
        content: "";
        width: 7.29vw;
        height: 1px;
        background-color: var(--color-white);
      }
      &:last-of-type::after {
        content: none;
      }
    }
    & a {
      color: var(--color-white);
      & > span {
        display: block;
        font-size: clamp(12px, 8.183px + 1.018vw, 16px);
        font-weight: 400;
        line-height: 1;
        letter-spacing: -0.01em;
      }
      &:hover {
        color: var(--color-white);
      }
    }
  }
}

.header-spBtn {
  display: none;
}
@media screen and (width <= 768px) {
  .header-spBtn {
    position: absolute;
    top: 50%;
    right: var(--sp-small-padding);
    translate: 0 -50%;
    display: flex;
    width: 20px;
    height: auto;
    aspect-ratio: 20/15;
  }
}

.spBtn {
  position: relative;
  width: 100%;
  height: 100%;
  border: none;
  background-color: transparent;
  appearance: none;
  &::before, &::after {
    position: absolute;
    left: 0;
    translate: 0 -50%;
    transform-origin: left center;
    width: 100%;
    height: 2px;
    background-color: var(--color-main);
    border-radius: 1px;
    transition: rotate .2s, left .1s;
    content: "";
  }
  &::before {
    top: 0;
  }
  &::after {
    top: 100%;
  }
  & > span {
    position: absolute;
    top: 50%;
    left: 0;
    translate: 0 -50%;
    width: 100%;
    height: 2px;
    background-color: var(--color-main);
    border-radius: 1px;
    transition: opacity .2s;
  }
  .is-open & {
    &::before, &::after {
      left: 5px;
      width: 107%;
    }
    &::before {
      rotate: 45deg;
    }
    &::after {
      rotate: -45deg;
    }
    & > span {
      opacity: 0;
    }
  }
}

.visuallyHidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  clip: rect(0, 0, 0, 0);
  overflow: hidden;
  white-space: nowrap;
}



/* ---------- main ---------- */
.main {
  margin-top: var(--header-height);
}


/* ---------- Common Parts ---------- */
/* --- hero --- */
.hero {
  width: 100%;
  aspect-ratio: 144 / 60;
  max-height: 600px;
  & + section {
    margin-top: 200px;
  }
}
@media screen and (width <= 768px) {
  .hero {
    aspect-ratio: 768 / 328;
    & + section {
      margin-top: 15.62vw;
    }
  }
}

.hero-inner {
  width: 100%;
  height: 100%;
  position: relative;
}

.hero-img {
  width: 100%;
  height: 100%;
  & img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
  }
}

.hero-title {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  width: 100%;
  padding-left: max(20px, calc(50% - 600px));
  background: linear-gradient(90deg,rgba(72, 71, 71, 1) 0%, rgba(188, 188, 188, 0) 45%);
  & hgroup {
    color: var(--color-white);
    text-shadow: 0 4px 4px #00000044;
    & p {
      font-family: var(--font-family-din);
      font-size: clamp(24px, -4.444px + 3.704vw, 40px);
      font-weight: 700;
      line-height: 1;
    }
    & h1 {
      margin-top: 25px;
      font-size: clamp(45px, -8.333px + 6.944vw, 75px);
      font-weight: 700;
      line-height: 1;
      letter-spacing: 0.05em;
      & span {
        font-size: clamp(33px, -6.111px + 5.093vw, 55px);
        font-weight: 700;
        padding: 0 0.08em;
      }
    }
  }
}
@media screen and (width <= 768px) {
  .hero-title {
    padding-left: var(--side-padding);
    background: linear-gradient(90deg,rgba(72, 71, 71, 1) 0%, rgba(188, 188, 188, 0) 60%);
    & hgroup {
      & p {
        font-size: 16px;
      }
      & h1 {
        margin-top: 0.3em;
        font-size: clamp(38px, 28.458px + 2.545vw, 48px);
        & span {

        }
      }
    }
  }
}



/* --- heading --- */
.cmn-heading2 {
  text-align: center;
  & p {
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
  }
  & h2 {
    margin-top: 10px;
    font-family: var(--font-family-din);
    font-size: clamp(45px, -8.333px + 6.944vw, 75px);
    font-weight: 700;
    line-height: 1;
  }
}
@media screen and (width <= 768px) {
  .cmn-heading2 {
    & p {
      font-size: clamp(13px, 10.137px + 0.763vw, 16px);
    }
    & h2 {
      margin-top: 0.1em;
      font-size: clamp(38px, 28.458px + 2.545vw, 48px);
    }
  }
}

/* --- btn --- */
.cmn-more {
  & a {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: min(100%, 232px);
    padding: 15px 50px 15px 50px;
    border: 1.5px solid var(--color-main);
    border-radius: 9999px;
    background-color: var(--color-white);
    color: var(--color-main);
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
    transition: all var(--transition-time) ease-out;
    z-index: 1;
    overflow: hidden;
    & > span {
      position: relative;
      width: 17px;
      height: 17px;
      margin: 0 .5em;
      background-color: var(--color-main);
      border-radius: 50%;
      transition: background-color var(--transition-time) ease-out;
      &::after {
        position: absolute;
        content: "";
        top: 1px;
        left: 1px;
        width: 15px;
        height: 15px;
        background-color: var(--color-white);
        mask-image: url(/assets/img/common/cmn_more_arrow.svg);
        mask-position: center;
        mask-repeat: no-repeat;
        mask-size: cover;
        transition: background-color var(--transition-time) ease-out;
      }
    }
    &::after {
      background: var(--color-main);
      position: absolute;
      content: "";
      top: 0;
      left: 0;
      width: 100%;
      height: 100px;
      transform-origin: left top;
      transform: skewY(-20deg) scale(1, 0);
      transition: var(--transition-time) ease-out;
      z-index: -1;
    }
    &:hover {
      border-color: var(--color-white);
      color: var(--color-white);
      &::after {
        transform: skewY(-10deg) scale(1, 1);
      }
      & > span {
        background-color: var(--color-white);
        &::after {
          background-color: var(--color-main);
        }
      }
    }
  }
}
@media screen and (width <= 768px) {
  .cmn-more {
    & a {
      font-size: 14px;
      & > span {
        width: 16px;
        height: 16px;
        &::after {
          width: 14px;
          height: 14px;
        }
      }
    }
  }
}


/* ---------- footer ---------- */
.footerContact {
  background-color: var(--color-main);
  color: var(--color-white);
}

.footerContact-inner {
  width: min(100%, calc(832px + (var(--side-padding) * 2)));
  padding: 77px var(--side-padding);
  margin: 0 auto;
  text-align: center;
}

.footerContact-link {
  margin: 56px 0;
  display: flex;
  gap: 45px;
  & a {
    position: relative;
    z-index: 1;
    display: block;
    overflow: hidden;
    width: min(calc(50% - (45px / 2)), 380px);
    padding: 24px;
    background-color: var(--color-white);
    border: solid 1.5px var(--color-main);
    border-radius: 999px;
    font-size: 23px;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    transition: border var(--transition-time) ease-out;
    &::after {
      background: var(--color-main);
      position: absolute;
      content: "";
      top: 0;
      left: 0;
      width: 100%;
      height: 140px;
      transform-origin: left top;
      transform: skewY(-20deg) scale(1, 0);
      transition: all var(--transition-time) ease-out;
      z-index: -1;
    }
    &:hover {
      border-color: var(--color-white);
      &::after {
        transform: skewY(-10deg) scale(1, 1);
      }
    }
  }
  & a[href^="tel:"] {
    pointer-events: none;
    letter-spacing: -0.01em;
  }
}
@media screen and (width <= 768px) {
  .footerContact-link {
    flex-flow: column;
    gap: 1em;
    margin: 40px 0;
    & a {
      width: min(280px, 100%);
      padding: 12px;
      margin: 0 auto;
      font-size: clamp(16px, 12.183px + 1.018vw, 20px);
    }
    & a[href^="tel:"] {
     pointer-events: auto;
    }
  }
  .footerContact-txt {
    font-size: 14px;
  }
}

.footer {
  position: relative;
  border-bottom: solid 15px var(--color-main);
}
@media screen and (width <= 768px) {
  .footer {
    border-bottom: solid 8px var(--color-main);
  }
}

.pageTop {
  position: absolute;
  top: 0;
  right: 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 400px 1fr;
  grid-template-rows: 1fr 24px;
  grid-column-gap: 3vw;
  grid-row-gap: 24px;
  grid-template-areas: "Corp Nav" "Copy Copy";
  width: min(100%, 1240px);
  padding: 94px var(--side-padding);
  margin: 0 auto;
}
@media screen and (width <= 768px) {
  .footer-inner {
    grid-template-columns: 100%;
    grid-template-rows: repeat(3,auto);
    grid-template-areas: "Corp" "Nav" "Copy";
    grid-row-gap: 1.5em;
    width: min(calc(335px + (var(--side-padding) * 2)), 100%);
  }
}

.footerCorp {
  grid-area: Corp;
}
@media screen and (width <= 768px) {
  .footerCorp {
    & img {
      width: min(300px, 90%);
    }
  }
}

.footerCorp-txt {
  margin-top: 24px;
  font-weight: 500;
}
@media screen and (width <= 768px) {
  .footerCorp-txt {
    margin-top: 1em;
    font-size: 12px;
  }
}

.footerNav {
  grid-area: Nav;
  margin-top: 15px;
  & ul {
    display: flex;
    flex-wrap: wrap;
    gap: .5em min(2.08vw, 30px);
    font-weight: 500;
  }
  & a {
    color: var(--color-text);
    transition: color var(--transition-time) ease-out;
    &:hover {
      color: var(--color-main);
    }
  }
}
@media screen and (width <= 768px) {
  .footerNav {
    margin-top: 0;
    font-size: clamp(14px, 11.137px + 0.763vw, 17px);
    & ul {
      gap: .5em 1em;
    }
  }
}

.footerCopy {
  grid-area: Copy;
  width: 100%;
  font-size: 12px;
}
@media screen and (width <= 768px) {
  .footerCopy {
    font-size: clamp(11px, 9.092px + 0.509vw, 13px);
    letter-spacing: 0;
  }
}

.pageTop {
  position: absolute;
  top: 20px;
  right: max(2vw, var(--side-padding));
  z-index: 2;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease-out;
  & button {
    position: relative;
    width: 60px;
    height: auto;
    aspect-ratio: 1;
    border: none;
    border-radius: 50%;
    background: url(../img/common/pagetop_arrow.svg) no-repeat center center var(--color-main);
    box-shadow: 0 0 12px 0px rgba(0, 0, 0, 0.3);
    -webkit-appearance: none;
    appearance: none;
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
    transition: all 0.3s ease-out;
    &:hover {
      /* background-color: var(--color-sub); */
      opacity: .8;
    }
  }
  &.is-fixed {
    position: fixed;
    top: initial;
    bottom: 20px;
  }
  &.is-show {
    opacity: 1;
    pointer-events: auto;
  }
}
@media screen and (width <= 768px) {
  .pageTop {
    right: var(--sp-small-padding);
  }
}


/* ==============================================================
*  utility
* ============================================================ */
@media screen and (width > 768px) {
  .hidden-pc {
    display: none !important;
  }
}
@media screen and (width <= 768px) {
  .hidden-sp {
    display: none !important;
  }
}

.txt-center {
  text-align: center !important;
}

.txt-right {
  text-align: right !important;
}

.txt-left {
  text-align: left !important;
}