@charset "UTF-8";

/* ==== color ========================== */
:root {
  --color-navy: #223866;
  --color-primary: #D7DC60;

  --color-gray: #D9D9D9;
  --color-white: #ffffff;
  --bg-beige: #FFF7E7;

  --noto: "Noto Sans JP", sans-serif;
  --inter: "Inter", sans-serif;
  --fw-m: 500;
  --fw-semi: 600;

  --fs-20: 2rem;
  --fs-24: 2.4rem;
  --fs-28: 2.8rem;

  --tr04: all .4s;

  --header: 8rem;
  scroll-padding: var(--header);

}

@media screen and (max-width:767px) {
  :root {
    --fs-20: 1.8rem;
    --fs-24: 2.2rem;
    --fs-28: 2.6rem;
  }
}

/*================================================
 *  一般・共通設定
 ================================================*/
html {

  /* 1512>> 10px */
  /* font-size: clamp(1px, 0.66137vw, 10px); */
  font-size: clamp(8px, 0.66137vw, 10px);
  scroll-behavior: smooth;
}

body {
  font-family: var(--noto);
  font-weight: 400;
  font-size: 1.6rem;
  line-height: 1.7;
  background: var(--color-white);
  color: var(--color-navy);
}

body * {
  letter-spacing: 0.05em;
}

a {
  text-decoration: none;
  transition: all .4s;
}

a:hover {
  opacity: 1;
  color: var(--color-primary);
}

img {
  max-width: 100%;

  display: block;
}

strong {
  font-weight: bold;
}

small {
  font-size: smaller;
}

ul,
ol,
dl {
  margin: 0;
}

ul li {
  list-style: none;
}

ol li {
  list-style: decimal;
}

li {
  margin-left: 0;
}

/* タイトル */
h2.hd {
  font-size: var(--fs-28);
  text-align: center;
  letter-spacing: 0.05em;
  color: var(--color-navy);
  font-weight: 300;
  margin-bottom: 7rem;
}

h2.hd span {
  font-family: var(--inter);
  font-weight: var(--fw-semi);
  font-size: 13.5rem;
  display: block;
  letter-spacing: 0.05em;
}

@media screen and (max-width:767px) {
  html {
    /* 375px>> 10px */
    font-size: 2.666666vw;
  }

  h2.hd {
    margin-bottom: 4rem;
    font-size: 2rem;
  }

  h2.hd span {
    font-size: 6.5rem;
  }
}

/*================================================
 *  section btn
 ================================================*/
section {
  position: relative;
}

.preloader {
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-transition: visibility .2s ease 1.2s;
  -o-transition: visibility .2s ease 1.2s;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  z-index: 9999;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  align-items: center;
  justify-content: center;
  padding: 0 1rem;
  transition: visibility .2s ease 1.2s;
}

.preloader.is-open {
  visibility: hidden;
}

.preload_bg {
  -webkit-transition: -webkit-transform .8s cubic-bezier(.77, 0, .175, 1) .7s;
  -o-transition: transform .8s cubic-bezier(.77, 0, .175, 1) .7s;
  position: absolute;
  width: 100%;
  height: 100%;
  background: var(--color-navy);
  transition: -webkit-transform .8s cubic-bezier(.77, 0, .175, 1) .7s;
  transition: transform .8s cubic-bezier(.77, 0, .175, 1) .7s;
  transition: transform .8s cubic-bezier(.77, 0, .175, 1) .7s, -webkit-transform .8s cubic-bezier(.77, 0, .175, 1) .7s;
}

.preloader.is-open .preload_bg {
  -webkit-transform: translateY(-100%) translateZ(0);
  transform: translateY(-100%) translateZ(0);
}

.preload_wrap {
  overflow: hidden;
}

.preload_logo {
  -webkit-transition: -webkit-transform .8s cubic-bezier(.77, 0, .175, 1) .5s;
  -o-transition: transform .8s cubic-bezier(.77, 0, .175, 1) .5s;
  position: relative;
  transition: -webkit-transform .8s cubic-bezier(.77, 0, .175, 1) .5s;
  transition: transform .8s cubic-bezier(.77, 0, .175, 1) .5s;
  transition: transform .8s cubic-bezier(.77, 0, .175, 1) .5s, -webkit-transform .8s cubic-bezier(.77, 0, .175, 1) .5s;
}

.preloader.is-open .preload_logo {
  -webkit-transform: translateY(-110%) translateZ(0);
  transform: translateY(-110%) translateZ(0);
}

.preload_logo img {
  width: 50rem;
}

@media screen and (max-width:767px) {
  .preload_logo img {
    width: 25rem;
  }
}

/*================================================
 *  header / ヘッダー
 ================================================*/
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  color: var(--color-white);
  padding: 5rem 0;
  transition: var(--tr04);
  overflow: hidden;
}

header::before {
  position: absolute;
  content: "";
  width: 100%;
  height: 100vh;
  background: url(../images/mv.jpg) no-repeat center top/cover;
  top: 0;
  left: 0;
  z-index: -1;
}


.nav_inner {
  min-width: 747px;
  width: 81.5%;
  margin: 0 auto;
}

.nav_left {
  width: 35.2rem;
}

.nav_right ul {
  gap: 9rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.nav_right ul li a {
  font-weight: 400;
  position: relative;
}



.nav_right ul li a::after {
  position: absolute;
  content: "";
  background: var(--color-primary);
  display: block;
  left: 0;
  bottom: -0.5rem;
  width: 0;
  height: 0.2rem;
  transition: all .3s ease-in-out;
}

.nav_right ul li a:hover::after {
  width: 100%;
}

@media screen and (max-width:767px) {

  header,
  header.changeNav {
    padding: 2rem 1rem;
  }


  .nav_left {
    width: 20rem;
  }

  .nav_right {
    padding: 0;
  }

  .hamburger {
    position: absolute;
    right: 1rem;
    top: 1rem;
    width: 4rem;
    height: 5rem;
    cursor: pointer;
    z-index: 300;
    transition: all .1s ease-out;
  }


  /* line open */
  .hamburger__line {
    position: absolute;
    left: 0;
    width: 100%;
    height: 0.15rem;
    background-color: var(--color-white);
    transition: all .4s ease-out;
  }



  .hamburger__line--1 {
    top: 30%;
  }

  .hamburger__line--2 {
    top: 50%;
  }

  .hamburger__line--3 {
    top: 70%;
    width: 50%;
  }

  /* line close */
  .open_nav .hamburger__line--1 {
    transform: rotate(35deg);
    top: 50%;
    background-color: var(--color-white);
  }

  .open_nav .hamburger__line--2 {
    width: 0;
    left: 50%;
  }

  .open_nav .hamburger__line--3 {
    transform: rotate(-35deg);
    top: 50%;
    background-color: var(--color-white);
    width: 100%;
  }

  /* ハンバーガーメニュー内 */
  nav.global__nav {
    position: fixed;
    right: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    background: var(--color-navy);
    transition: all .3s ease-out;
    z-index: 200;
    overflow-y: scroll;
    padding: 10rem 3rem;
    opacity: 0;
    pointer-events: none;
  }

  /* 表示 */
  .open_nav .global__nav {
    opacity: 1;
    pointer-events: fill;
  }

  nav.gnav.global__nav ul {
    display: block;
    text-align: center;
    position: relative;
  }

  nav.gnav.global__nav ul li:not(:last-child) {
    margin-bottom: 2rem;
    border-bottom: 1px solid rgb(255 255 255 / 25%);
  }

  nav.gnav.global__nav ul li a {
    padding-bottom: 1.6rem;
    display: block;
  }

  nav.gnav.global__nav ul li:last-child {
    width: 25rem;
    margin: 6rem auto 0;
  }

  .nav_right ul li a::after {
    content: none;
  }

}

/*================================================
* section
================================================*/
section {
  padding-bottom: 10rem;
  position: relative;
  background: var(--color-white);
}

.section {
  padding-top: 8rem;
}

@media screen and (max-width:767px) {
  .section {
    padding-top: 3rem;
  }
}

/*================================================
* mainVisual
================================================*/

#mainVisual {
  height: 100vh;
  min-height: 100vh;
  width: 100%;
  overflow: hidden;
  position: relative;
  background: transparent;
  padding: 0;
}

.mainVisual_bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -webkit-clip-path: inset(0);
  clip-path: inset(0);
  z-index: -1;
}

.mainVisual_bg::before {
  position: fixed;
  content: "";
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: url(../images/mv.jpg) no-repeat center top/cover;
  z-index: -1;
}

.mv_catch {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 747px;
  width: 81.5%;
  z-index: 1;
}

.mv_catch h2 {
  color: var(--color-white);
  font-size: 4.6rem;
  font-weight: 500;
}

.mv_catch h3 {
  font-family: var(--inter);
  color: var(--color-primary);
  font-size: var(--fs-24);
  font-weight: 600;
  margin-top: 1rem;
}

.scroll {
  position: absolute;
  bottom: 6rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  padding-top: 10rem;
  width: 10rem;
  height: 7rem;
}


.scroll::before {
  position: absolute;
  content: "";
  animation: scroll 2s infinite;
  background-size: contain;
  background-repeat: no-repeat;
  vertical-align: middle;
  display: inline-block;
  background-image: url(../images/scroll.png);
  width: 100%;
  height: 100%;
  top: 0;
}


@keyframes scroll {
  0% {
    opacity: 0;
    transform: translate(0, 0);
  }

  40% {
    opacity: 1;
  }

  80% {
    opacity: 0;
    transform: translate(0, 3rem);
  }

  100% {
    opacity: 0;
  }
}


@media screen and (max-width:767px) {
  .mv_catch {
    min-width: unset;
    width: 34.5rem;
  }

  .mv_catch h2 {
    font-size: 2.6rem;
  }


  .scroll {

    padding-top: 4rem;
    width: 5rem;
    height: 3.5em;
  }


}


/*================================================
* message
================================================*/
#message {
  background: var(--bg-beige);
  padding-bottom: 0;
}

.message_txt {
  width: 63rem;
  min-width: 630px;
  margin: 0 auto 9rem;
}

.message_txt p {
  margin-top: 1.5em;
}

/* loop_swiper */
.loop_swiper .swiper-wrapper {
  transition-timing-function: linear;
}

#message .loop_swiper .swiper-slide {
  width: 35rem;
}

@media screen and (max-width:767px) {
  .message_txt {
    width: 34.5rem;
    min-width: unset;
  }

  #message .loop_swiper .swiper-slide {
    width: 20rem;
  }
}

/*================================================
* company
================================================*/
#company {
  background: var(--color-navy);
  color: var(--color-white);
}

#company h2 {
  color: var(--color-white);
}

.company_inner {
  display: flex;
  justify-content: center;
  align-items: start;
  gap: 6.4rem;
  padding: 0 2rem;
}

.company_left {
  width: 42rem;
}

.company_right {
  width: 52rem;
}

.company_inner dl {
  display: flex;
  align-items: stretch;
  justify-content: start;
  flex-wrap: wrap;
  gap: 0 1.7rem;
}

.company_inner dl dt {
  color: var(--color-primary);
  border-bottom: 1px solid #5B6B8D;
  padding-bottom: 2.6rem;
  margin-bottom: 2.6rem;
  width: 12.5rem;

}

.company_inner dl dd {
  width: calc(100% - (12.5rem + 1.7rem));
  border-bottom: 1px solid #5B6B8D;
  padding-bottom: 2.6rem;
  margin-bottom: 2.6rem;
  font-weight: 400;
}

.company_inner dl dt:last-of-type,
.company_inner dl dd:last-of-type {
  border-bottom: none;
}

.company_inner .company_right dd:last-of-type {
  padding-bottom: 0;
  margin-bottom: 0;
}

.company_inner dd span {
  display: block;
  margin-top: 2rem;
  font-size: 1.4rem;
}

@media screen and (max-width:767px) {
  .company_inner {
    flex-wrap: wrap;
    gap: 0;
    width: 34.5rem;
    margin: 0 auto;
    padding: 0;
  }

  .company_left {
    width: 100%;
  }

  .company_right {
    width: 100%;
  }


  .company_inner dl dt {
    padding-bottom: 2rem;
    margin-bottom: 2rem;
    width: 11rem;
    font-size: 1.4rem;
  }

  .company_inner dl dd {
    width: calc(100% - (11rem + 1.7rem));
    padding-bottom: 2rem;
    margin-bottom: 2rem;
    font-size: 1.4rem;
  }
}

/*================================================
* history
================================================*/
#history {
  background: url(../images/history_bg.jpg) no-repeat center top/cover;
  height: 100%;
}

.history_list {
  max-width: 63rem;
  margin: 8rem auto 0;
  text-align: center;
}

.history_list dt {
  background: var(--color-navy);
  color: var(--color-white);
  padding: 0.6rem 0;
  margin: 2rem 0;
  font-weight: 400;
}

@media screen and (max-width:767px) {
  .history_list {
    width: 34.5rem;
  }
}

/*================================================
* contact
================================================*/
#contact {
  text-align: center;
  padding-bottom: 7rem;
}

#contact h2 span {
  color: var(--color-gray);
}

#contact p {
  font-size: 1.5rem;
}

.telArea {
  padding: 3rem 0;
  max-width: 54rem;
  margin: 6rem auto 0;
  border-top: 1px solid var(--color-navy);
  border-bottom: 1px solid var(--color-navy);
}

.telArea a {
  font-size: 3.8rem;
  font-family: var(--inter);
  font-weight: 700;
}

.telArea a span {
  font-size: var(--fs-20);
  margin-right: 1.3rem;
}

@media screen and (max-width:767px) {
  .telArea {
    width: 34.5rem;
  }

  .telArea a {
    font-size: 2.8rem;
  }
}


/*================================================
 *  footer
 ================================================*/
footer {
  background: var(--color-navy);
  color: var(--color-white);
  padding: 8rem 0 7rem;
}

.ft_inner {
  min-width: 747px;
  width: 81.5%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.ft_logo {
  width: 30rem;
  margin-top: 3rem;
}

.ft_inner ul {
  gap: 9rem;
  display: flex;
  align-items: end;
  flex-wrap: wrap;
}



.ft_inner ul .arrow span {
  display: block;
  background-size: contain;
  background-repeat: no-repeat;
  background-image: url(../images/arrow_top.png);
  width: 3.7rem;
  height: 2.63rem;
  margin: 0 auto;
  transition: var(--tr04);
}

.ft_inner ul .arrow a:hover span {
  background-image: url(../images/arrow_top_hover.png);
}

.ft_inner .copy {
  width: 100%;
  text-align: right;
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid rgb(255 255 255 / 20%);
}

@media screen and (max-width:767px) {
  .ft_inner {
    min-width: unset;
    width: 34.5rem;
    justify-content: center;
  }

  .ft_logo {
    width: 25rem;
    margin-bottom: 4rem;
    margin-top: 0;
  }

  .ft_inner ul {
    gap: 2rem;
  }

  .ft_inner ul li {
    width: 100%;
    text-align: center;
  }

  .ft_inner ul .arrow {
    margin-top: 1rem;
  }

  .ft_inner .copy {
    text-align: center;
  }
}




/*================================================
* ani
================================================*/
h2.hd:has(.txt-up) {
  overflow: hidden;
}

h2.hd span.txt-up,
.txt-up {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}


.txt-up span {
  -webkit-transform: translateY(105%) translateZ(0);
  transform: translateY(105%) translateZ(0);
}



.on .txt-up span {
  -webkit-transform: translateY(0) translateZ(0);
  transform: translateY(0) translateZ(0);
  webkit-transition: -webkit-transform 1.2s cubic-bezier(.165, .84, .44, 1);
  -o-transition: transform 1.2s cubic-bezier(.165, .84, .44, 1);
  transition: -webkit-transform 1.2s cubic-bezier(.165, .84, .44, 1);
  transition: transform 1.2s cubic-bezier(.165, .84, .44, 1);
  transition: transform 1.2s cubic-bezier(.165, .84, .44, 1), -webkit-transform 1.2s cubic-bezier(.165, .84, .44, 1);
}


.txt-up span:nth-of-type(1) {
  transition-delay: 0s;
}

.txt-up span:nth-of-type(2) {
  transition-delay: 0.08s;
}

.txt-up span:nth-of-type(3) {
  transition-delay: 0.16s;
}

.txt-up span:nth-of-type(4) {
  transition-delay: 0.24s;
}

.txt-up span:nth-of-type(5) {
  transition-delay: 0.32s;
}

.txt-up span:nth-of-type(6) {
  transition-delay: 0.40s;
}

.txt-up span:nth-of-type(7) {
  transition-delay: 0.48s;
}

.txt-up span:nth-of-type(8) {
  transition-delay: 0.56s;
}

.txt-up span:nth-of-type(9) {
  transition-delay: 0.64s;
}

.txt-up span:nth-of-type(10) {
  transition-delay: 0.72s;
}

@media screen and (max-width:767px) {}