@import url('_reset.css');
@import url('_variables.css');

/*-------------------------
  components - 共通パーツ
-------------------------*/
html {
    position: relative;
    margin: 0px;
    height: 100%;
    font-size: 62.5%;
    scroll-behavior: smooth;
}
  
body {
  width: 100%;
  height: 100%;
  color: var(--color-txt);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  font-family: var(--font-zenkaku);
  font-size: 16px;
  font-weight: 500;
  font-style: normal;
  line-height: 1.65;
  font-feature-settings: "palt" 1;
  font-optical-sizing: auto;
  font-kerning: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  overflow-wrap: anywhere;
  word-break: normal;
  line-break: strict;
  overflow-x: hidden;
  background-color: var(--color-bg-vanilla);
}

button:focus-visible {
  outline: -webkit-focus-ring-color auto 3px !important;
  outline: 3px solid var(--color-txt-primary) !important;
}

a {
  text-decoration: none !important;
}

ul,
ol {
  list-style: none !important;
  padding: 0;
  margin: 0;
}
  
/* layout
-------------------------*/
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}

@media screen and (max-width: 1280px) {
  .container {
    padding: 0 3.2rem;
  }
}

@media screen and (max-width: 767px) {
  .container {
    padding: 0 1.6rem;
  }
}

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

.flex.col2 {
  flex: 1 1 0%;
  row-gap: 5rem;
}

.grid {
  display: grid;
}

/* display
-------------------------*/
.hidden {
  display: none;
}
.visible {
  display: block;
}

/* button
-------------------------*/
.btn {
  position: relative;
  padding: 1.5rem 3rem;
  color: var(--color-white);
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  background: linear-gradient(135deg,rgba(255, 123, 34, 1) 0%, rgba(255, 123, 34, 1) 50%, rgb(236, 187, 10) 100%);
  background-position: 100% 50%;
  background-size: 200% auto;
  border: none;
  border-radius: 100px;
  transition: all 0.45s ease;
  cursor: pointer;

  &:hover {
    background-position: 0 50%;
  }

  &::after {
    font-family: "Material Symbols Rounded";
    content: "\e5c8";
    font-size: 2.6rem;
    color: var(--color-white);
    font-weight: 600;
    position: absolute;
    top: 50%;
    right: 2.8rem;
    transform: translateY(-50%);
  }
}

.btn-basic {
  display: inline-block;
  width: 37.5rem;
  height: auto;
  padding: 2.2rem;
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  box-sizing: border-box;
}

@media screen and (max-width: 768px) {
  .btn-basic {
    width: 100%;
    max-width: 32rem;
    height: auto;
    margin: 0 auto;
    padding: 2rem;
    font-size: 1.85rem;
  }
}

.btn-cta {
  display: inline-block;
  width: 40rem;
  height: auto;
  padding: 2.4rem;
  font-size: 2.6rem;
  font-weight: 700;
  text-align: center;
  box-sizing: border-box;
}

@media screen and (max-width: 768px) {
  .btn-cta {
    width: 100%;
    max-width: 32rem;
    height: auto;
    margin: 0 auto;
    padding: 2rem;
    font-size: 2rem;
  }
}

/* font
-------------------------*/
.font-bold {
  font-family: var(--font-zenkaku);
  font-weight: 700;
  font-style: normal;
}

.caveat {
  font-family: var(--font-caveat);
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.alexandria {
  font-family: var(--font-alexandria);
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
}

.yakuhan {
  font-family: var(--font-yakuhan);
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
}

.material-symbols-rounded {
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
  line-height: 1;
  vertical-align: top;
}

/* keyframes - アニメーション
-------------------------*/
@keyframes rotateAnimation {
  0% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(180deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/*-------------------------
  header - ヘッダー
-------------------------*/
.header {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 900;
}

/* サイト名
-------------------------*/
.header_logo {
  position: relative;
  background-color: var(--color-white);
  padding: 1.8rem 4.2rem;
  border-radius: 0 0 24px 0;
  line-height: 1;

  & a {
    display: inline-flex;
    gap: 0.75rem;

    & .corp-logo {
    width: 20rem;
    height: auto;
    }
    & .site-name {
      width: 10.7rem;
      height: auto;
    }
  }
}

@media screen and (max-width: 767px) {
  .header_logo {
    padding: 1.6rem;
    background-color: transparent;

    & .corp-logo {
      width: 18rem;
    }
    & .site-name {
      display: none;
    }
  }
}

/* グローバルナビゲーション
-------------------------*/
.header_gnav {
  position: fixed;
  top: 0;
  right: 0;
  width: 34.25%;
  max-width: 650px;
  height: 100vh;
  color: var(--color-txt);
  background-color: var(--color-sub-yellow);
  z-index: 900;
  transform: translateX(100%);
  transition: transform 0.5s ease;

  &.open {
    transform: translateX(0);
  }
}

.gnav_list {
  position: relative;
  width: 100%;
  height: auto;
  padding: 50% 18%;

  & .gnav_list_item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem;
    margin: 3.5rem 0;
    line-height: 1;

    & a {
      display: inline-block;
      text-decoration: none;
      color: var(--color-txt);
      font-size: 2.2rem;
      font-weight: 700;
    }

    & .btn-nav {
      position: relative;
      display: block;
      width: 100%;
      height: auto;
      margin-top: 5rem;
      padding: 2.5rem 3rem;
      background-color: var(--color-accent);
      font-family: var(--font-alexandria);
      color: var(--color-white);
      font-size: 2.8rem;
      text-align: center;
      text-transform: uppercase;
      border-radius: 100px;
      letter-spacing: 0.08em;
      transition: background-color 0.3s ease-in-out;
      cursor: pointer;

      &:hover {
        background-color: var(--color-txt-accent);
      }

      &::after {
        font-family: "Material Symbols Rounded";
        content: "\e5c8";
        font-size: 30px;
        color: var(--color-white);
        font-weight: 600;
        position: absolute;
        top: 50%;
        right: 2.8rem;
        transform: translateY(-50%);
      }
    }
  }
}

.btn_gnav {
  position: fixed;
  top: 3rem;
  right: 4.3rem;
  display: block;
  width: 75px;
  height: 75px;
  margin: 0;
  padding: 1.6rem;
  background-color: var(--color-txt-accent);
  line-height: 0;
  text-align: center;
  border: none;
  border-radius: 100px 0 100px 100px;
  cursor: pointer;
  z-index: 999;

  & .line {
    display: inline-block;
    width: 29px;
    height: 3px;
    margin: 3.5px 0;
    background-color: var(--color-white);
    border-radius: 100px;
    transform-origin: center;
    transition: all 0.3s ease-in-out;
  }

  &.open {
    & .line:nth-child(1) {
      transform: translateY(10px) rotate(45deg);
    }
    & .line:nth-child(2) {
      opacity: 0;
    }
    & .line:nth-child(3) {
      transform: translateY(-10px) rotate(-45deg);
    }
  }
}

.material-symbols-rounded.gnav_icon {
  color: var(--color-txt-accent);
  font-size: 2.6rem;
  font-weight: 700;
}

@media screen and (max-width: 1280px) {
  .header_gnav {
    width: 42.5%;
    max-width: 640px;
  }
  .gnav_list {
    padding: 45% 3.8rem 55%;
  }
}

@media screen and (max-width: 767px) {
  .header_gnav {
    width: 100%;
    max-width: none;
    height: 100%;
  }

  .btn_gnav {
    width: 60px;
    height: 60px;
    top: 1.6rem;
    right: 1.6rem;
  }
}
  
/*-------------------------
  footer - フッター
-------------------------*/
.footer {
  width: 100%;
  height: auto;
  padding: 7rem 0;
  color: var(--color-white);
  background-color: var(--color-primary);

  & .container.flex {
    flex-wrap: wrap;

    & .footer_corp {
      width: 375px;
      height: auto;

      & .footer_corp_logo {
        width: 100%;
        height: auto;
        margin-bottom: 2.7rem;
      }

      & .btn-jump_corp {
        position: relative;
        display: inline-block;
        width: 100%;
        padding: 2.2rem;
        color: var(--color-white);
        font-size: 2rem;
        font-weight: 700;
        line-height: 1;
        text-align: center;
        border: 3px solid var(--color-white);
        transition: all 0.3s ease-in-out;

        &:hover {
          background-color: var(--color-white);
          color: var(--color-primary);
        }

        &::after {
          font-family: "Material Symbols Rounded";
          content: "\f8ce";
          font-size: 30px;
          color: var(--color-white);
          font-weight: 600;
          position: absolute;
          top: 50%;
          right: 2.8rem;
          transform: translateY(-50%);
        }
      }
    }

    & .footer_nav {
      width: auto;
      height: auto;

      & .footer_nav_list {
        width: 100%;
        margin-bottom: 7.5rem;
        padding-top: 2.5rem;
        display: -webkit-flex;
        display: flex;
        -webkit-flex-wrap: wrap;
        flex-wrap: wrap;
        align-items: center;
        justify-content: flex-start;
        box-sizing: border-box;
        row-gap: 3rem;
        line-height: 1;

        & .footer_nav_list_item {
          width: calc(100% / 3);

          & a {
            text-decoration: none;
            color: var(--color-white);
            font-weight: 700;
            font-size: 1.8rem;
          }
        }
      }
      & .copyright {
        font-family: var(--font-alexandria);
        font-size: 1.8rem;
        text-align: right;
      }
    }
  }
}

.material-symbols-rounded.footer_icon {
  color: rgba(248, 255, 31, 1);
  font-size: 2rem;
  font-weight: 600;
}

@media screen and (max-width: 1280px) {
  .footer {
    padding: 4rem 1.6rem;

    & .container.flex {
      & .footer_corp {
        width: 320px;

        & .footer_corp_logo {
          margin-bottom: 1.5rem;
        }
        & .btn-jump_corp {
          font-size: 1.7rem;
          padding: 1.6rem;

          &::after {
            right: 1.6rem;
            font-size: 2.2rem;
          }
        }
      }
    }
  }
}

@media screen and (max-width: 1024px) {
  .footer {
    & .container.flex {
      display: block;

      & .footer_corp {
        width: 100%;
        max-width: calc(375px - 3.2rem);
        margin: 0 auto 2.5rem;
      }

      & .footer_nav {
        & .footer_nav_list {
          max-width: calc(768px - 3.2rem);
          margin: 0 auto 3.5rem;
        }
        & .copyright {
          text-align: center;
        }
      }
    }
  }
}

@media screen and (max-width: 767px) {
  .footer {
    & .container.flex {
      & .footer_nav {
        & .footer_nav_list {
          display: block;
          width: 100%;
          padding-top: 1.5rem;

          & .footer_nav_list_item {
            display: flex;
            align-items: center;
            row-gap: 0.8rem;
            width: 100%;
            margin-bottom: 2.5rem;

            &  a {
              display: inline-block;
              width: 100%;
            }
          }
        }
        & .copyright {
          font-size: 1.4rem;
        }
      }
    }
  }
}

@media screen and (max-width: 389px) {
  .footer {
    & .container.flex {
      & .footer_nav {
        & .copyright {
          font-size: 1.3rem;
        }
      }
    }
  }
}

/*-------------------------
  background float objects - 背景浮遊オブジェクト
-------------------------*/
.floating-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: -50;
}

.floating-object {
  position: absolute;
  bottom: -100px;
  pointer-events: none;
  animation: floatUp var(--float-duration) linear forwards;
}

@keyframes floatUp {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  100% {
    transform: translateY(-100vh) rotate(360deg);
  }
}

/*-------------------------
  page - ページごとの共通スタイル
-------------------------*/
.contents {
  padding-top: 15rem;
  margin-bottom: 8.5rem;

  & .sec_mv {
    position: relative;
    width: 100%;
    height: auto;

    & picture {
     & img, source {
      border-radius: 24px;
     }
    }
  }

  & .sec_scroll_down {
    position: relative;
    width: 152px;
    height: 150px;
    margin: 4.5rem auto 6.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;

    & .arrow {
      & img {
        position: relative;
        z-index: 750;
      }
    }

    &::after {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: url(../img/components/scorll-circle.svg)  no-repeat center;
      background-size: cover;
      animation: rotateAnimation 12000ms linear infinite;
      z-index: 500;
    }
  }

/* ページタイトル_h2 - 　MVなしのコンテンツヘッダー
-------------------------*/
  & .sec_header {
    width: 100%;
    margin-bottom: 3.75rem;
    padding-left: 3.25rem;
  
    & .sec_header_ttl-en {
      position: relative;
      margin-bottom: 1rem;
      color: var(--color-primary);
      font-family: var(--font-caveat);
      font-size: 4.5rem;
      font-weight: 400;
      line-height: 1;
  
      &::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        display: block;
        width: 70px;
        height: 54px;
        background: url(../../_common/img/components/img-ttl_sun.svg) no-repeat center;
        background-size: contain;
        transform: translate(-65%, -65%) rotate(-45deg);
      }
    }
  
    & .sec_header_ttl-ja {
      color: var(--color-txt);
      font-family: var(--font-zenkaku);
      font-size: 4.8rem;
      font-weight: 700;
      line-height: 1;
    }
  }
  
  & .sec_header_txt {
    margin-bottom: 6rem;
    padding-left: 3.25rem;
    color: var(--color-txt);
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 1.75;

    & span {
      display: inline-block;
      width: 100%;
    }
  }
}

/* セクションタイトル_h3
-------------------------*/
.sec_contents {
  & .ttl_mid {
    margin-bottom: 3.6rem;
    
      & .ttl_mid-sub {
          display: inline-block;
          margin-bottom: 0.75rem;
          padding: 1.4rem 1.6rem;
          color: var(--color-white);
          font-size: 2rem;
          font-weight: 700;
          text-transform: uppercase;
          letter-spacing: 0.075em;
          background-color: var(--color-primary);
          line-height: 1;

          &.alexandria {
            font-weight: 500;
          }

      }
      & .ttl_mid-main {
          font-size: 3.6rem;
          font-weight: 700;
          line-height: 1.55;
      }       
  }
}

@media screen and (max-width: 1024px) {
  .contents {
    padding-top: 12svh;
    margin-bottom: 6.5rem;

    & .sec_header {
      padding-left: 1.6rem;
      margin-bottom: 2.5rem;

      & .sec_header_ttl-en {
        font-size: 2.8rem;

        &::before {
          width: 40px;
          height: 30px;
        }
      }
      & .sec_header_ttl-ja {
        font-size: 3rem;
      }
    }
    & .sec_header_txt {
      padding-left: 0;
      font-size: 1.5rem;

      & span {
        display: inline;
      }
    }
  }
  .sec_contents {
    & .ttl_mid {
      margin-bottom: 2.5rem;

      & .ttl_mid-sub {
        padding: 1.0rem 1.2rem;
        font-size: 1.6rem;
      }

      & .ttl_mid-main {
        font-size: 2.8rem;
      }
    }
  }
}

@media screen and (max-width: 768px) {
  .contents {
    & .sec_scroll_down {
      width: 10rem;
      height: 10rem;
      margin-top: 3rem;
      margin-bottom: 6rem;

      & .arrow {
        & img {
          width: 3rem;
          height: auto;
        }
      }
    }
  }
  .sec_contents {
    & .ttl_mid-main {
      line-height: 1.25;
    }
  }
}

/* CTA -　コンテンツ最下部に配置
-------------------------*/
.sec_cta {
    position: relative;
    padding: 8rem 0;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    border-radius: 24px;
    background-color: rgba(255, 255, 255, 0.45);
    border: 3px solid #fff;
    box-sizing: border-box;
    text-align: center;

    & .cta_joinus {
        width: 100%;

        & img {
            margin: 0 auto;
        }
    }
    & .cta_ttl {
        margin: 3rem 0;
        font-size: 4.2rem;
    }
    & .cta_txt {
        margin-bottom: 5rem;
        font-size: 1.8rem;
    }
}

@media screen and (max-width: 1024px) {
  .sec_cta {
    & .cta_ttl {
      font-size: 3rem;
    }

    & .cta_txt {
      font-size: 2rem;
    }
  }
}


@media screen and (max-width: 767px) {
  .sec_cta {
    padding: 4rem 1rem;

    & .cta_joinus {
      & img {
        max-width: 20rem;
        height: auto;
      }
    }

    & .cta_ttl {
      margin: 2rem 0 2.5rem;
      font-size: 2rem;
    }

    & .cta_txt {
      margin-bottom: 3rem;
      font-size: 1.5rem;

      & span {
        display: inline-block;
        width: 100%;
      }
    }
  }
}

  
