@charset "UTF-8";

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --color-primary: #000;
  --color-text-link: #7CA1D0;
  --color-white: #ffffff;
  --color-blue: #141E50;
}

/*===================================
header
===================================*/
.l-header__inner{
  display: flex;
  align-items: flex-end;
  padding: 20px 55px;
}

.l-header {
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

body.is-scrolled .l-header{
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header__logo-img{
  width: 135px;
  margin-right: 30px;
}

.header__link .header__nav .header__nav-list{
  gap: 30px;
}

.header__nav-list .c-link-list{
  font-size: 1.8rem;
}

@media (max-width: 768px) {

    .l-header__inner{
      padding: 10px 13px;
      justify-content: space-between; 
    }

    .header__logo-img{
      width: 70px;
    }

    .header__link .header__nav .header__nav-list {
      flex-direction: column;
      gap: 40px;
      padding: 0 50px;
    }

     .header__nav-list .header__nav-link--contact{
      text-align: center;
      border: solid 1px var(--color-white);
      padding: 15px 0;
      margin-top: 20px;
    }

    .header__nav-list .c-link-list {
      display: block;
      font-size: 2rem;
      color: var(--color-white);
    }

    /* ハンバーガーボタン表示 */
    .hamburger {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      gap: 8px;
      width: 40px;
      height: 40px;
      background: none;
      border: none;
      cursor: pointer;
      z-index: 100;
      padding: 0;
    }

    .hamburger__line {
      display: block;
      width: 28px;
      height: 1px;
      background-color: var(--color-primary);
      transition: transform 0.3s ease, opacity 0.3s ease;
    }

    /* × ボタンに変化 */
    .hamburger.is-active .hamburger__line:nth-child(1) {
      transform: translateY(10px) rotate(45deg);
    }
    .hamburger.is-active .hamburger__line:nth-child(2) {
      opacity: 0;
    }
    .hamburger.is-active .hamburger__line:nth-child(3) {
      transform: translateY(-7px) rotate(-45deg);
    }

    .hamburger.is-active .hamburger__line{
      background-color: #fff;
    }

    /* メニュー本体 */
    .header__link {
      position: fixed;
      top: 0;
      right: 0;
      width: 100%;
      height: 100vh;
      background-color: var(--color-blue);
      padding: 70px 30px 40px;
      transform: translateX(100%);
      transition: transform 0.4s ease;
      z-index: 99;
      overflow-y: auto;
    }

    .header__link.is-open {
      transform: translateX(0);
    }

    /* オーバーレイ */
    .header__link::before {
      content: '';
      position: fixed;  /* absoluteからfixedに変更 */
      top: 0;
      left: 0;
      width: 100vw;
      height: 100vh;
      background-color: var(--color-blue);
      opacity: 0;
      transition: opacity 0.4s ease;
      pointer-events: none;
      z-index: -1;
    }

    .header__link.is-open::before {
      opacity: 1;
      pointer-events: auto;
    }
}

/*===================================
下層ページMV(企業理念など)
===================================*/

.hero--lower{
  position: relative;
  width: 100%;
  height: clamp(400px, 56vw, 830px);
  overflow: hidden;
}

.hero--lower::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  border-bottom: 1px solid #00275B;
  z-index: 0;
}

.image-wrapper--lower{
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  z-index: 1;
}

.mv_img--lower {
  clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
  animation: revealMv 1.5s ease forwards;
}

@keyframes revealMv {
    to {
        clip-path: polygon(
            0 0,
            100% 0,
            100% 100%,
            0 100%
        );
    }
}

@media (max-width: 768px) {

  .hero--lower{
    margin-top: 110px;
    height: clamp(
        290px,
        calc(290px + (580 - 290) * ((100vw - 375px) / (768 - 375))),
        580px
    );
  }

  .image-wrapper--lower{
    top: auto;
    bottom: 0;
    transform: unset;
  }

}
  

/*===================================
content / title(トップページと共通)
===================================*/

.content {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  animation: fadeUp 0.8s ease 0.3s forwards;
  padding-left: max(40px, calc((100% - 1500px) / 2 + 40px));
  z-index: 2; /* 画像より前面に表示 */
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(calc(-50% + 16px)); }
  to   { opacity: 1; transform: translateY(-50%); }
}

.content .title {
  font-size: clamp(
      24px,
      calc(24px + (48 - 24) * ((100vw - 1300px) / (1920 - 1300))),
      48px
  );
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 50px;
}

 .content--lower .title{
    margin-bottom: 0;
  }

@media (max-width: 768px) {

  .content{
    padding-left: 10px;
    width: 55%;
  }

  .content--lower{
    padding-left: 40px;
    top: clamp(
        50px,
        calc(50px + (150 - 50) * ((100vw - 375px) / (768 - 375))),
        150px
    );
  }

}

/*===================================
コンテンツ共通部分
===================================*/

.header02_title{
  font-size: 3.4rem;
  font-weight: bold;
  margin-bottom: 45px;
  text-align: left;
}

.title-left {
  width: clamp(
    270px,
    calc(
        270px + (390 - 270) * ((100vw - 1300px) / (1920 - 1300))
    ),
    390px
);
}

 .c-txt {
  line-height: 2;
  margin-bottom: 45px;
}

@media (max-width: 768px) {

  .l-wrap{
    margin: 50px auto 0;
    padding: 0 30px;
  }

  .header02_title{
    font-size: 2rem;
    margin-bottom: 0;
  }

  .title-left{
    width: auto;
    margin-right: auto;
  }

  .c-txt{
    margin-top: 20px;
    margin-bottom: 0;
  }

}

/*===================================
パンくず
===================================*/

.c-breadcrumb {
  padding: 25px max(40px, calc((100% - 1500px) / 2 + 40px));
}

.c-breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 1.6rem;
}

.c-breadcrumb__item {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* 現在地(最後の項目)以外の後ろに区切り記号を表示 */
.c-breadcrumb__item:not(:last-child)::after {
  content: '>';
}

.c-breadcrumb__link {
  text-decoration: none;
}

.c-breadcrumb__link:hover {
  color: var(--color-text-link);
}

@media (max-width: 768px) {

  .c-breadcrumb{
    padding: 10px 30px;
  }

  .c-breadcrumb__list{
    font-size: 1.4rem;
  }

}

/*===================================
リンク
===================================*/

.c-link-list:hover{
  color: var(--color-text-link);
}

/*===================================
ボタン
===================================*/

.c-btn-black{
  position: relative;
  display: inline-block;
  width: 250px;
  padding: 23px;
  border: solid 1px var(--color-primary);
  text-align: center;
  color: var(--color-primary);
  text-decoration: none;
  overflow: hidden;
  z-index: 1;
  transition: color 0.4s ease;
}

.c-btn-black::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--color-blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
  z-index: -1;
}

.c-btn-black:hover {
  color: var(--color-white);
}

.c-btn-black:hover::before {
  transform: scaleX(1);
}

.c-btn-white {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 250px;
  padding: 23px;
  border: 1px solid var(--color-white);
  color: var(--color-white);
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: color .4s ease;
}

.c-btn-white::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--color-white);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s ease;
  z-index: -1;
}

.c-btn-white:hover {
  color: var(--color-primary);
}

.c-btn-white:hover::before {
  transform: scaleX(1);
}

@media (max-width: 768px) {

  .c-btn-black,.c-btn-white{
      width: 70%;
      margin-right: auto;
  }

}

/*===================================
footer
===================================*/

.l-footer{
  background-color: var(--color-blue);
  color: var(--color-white);
  margin-top: 90px;
  padding: 50px 0 35px;
}

.l-footer .l-wrap{
  display: flex;
  gap: 60px; 
  align-items: flex-end;
  justify-content: space-between;
  margin: 0 auto; 
}

.footer-company__logo-img{
  width: 130px;
}

.footer-nav__list a,.footer-company__mail a{
  color: var(--color-white);
}

.footer-nav__list a:hover, .footer-company__mail a:hover{
  color: var(--color-text-link);
}

.footer-company__info{
  font-size: 2rem;
}

.footer-company__name{
  margin-top: 40px;
}

.footer-company__address,.footer-company__tel,.footer-company__mail{
  margin-top: 20px;
}

.footer-nav{
  display: flex;
  gap: 50px;
}

.footer-nav__list{
  display: flex;
  flex-direction: column;
  gap: 35px;
  font-size: 2.2rem;
}

.footer-contact a{
  display: inline-block;
  text-align: center;
  border: solid 1px var(--color-white);
  padding: 10px 20px;
  margin-bottom: 20px;
}

.footer-contact a:hover{
  background-color: var(--color-white);
  color: var(--color-blue);
}

.l-footer__copyright{
  display: block;
  margin-top: 80px;
  text-align: center;
  font-size: 1.4rem;
}

  @media (max-width: 768px) {

    .l-footer{
      padding: 50px 0 15px;
    }

    .l-footer .l-wrap{
      align-items: unset;
      flex-direction: column-reverse;
      gap: 60px;
    }

    .footer-company__info{
      font-size: 1.4rem;
    }

    .footer-company__name{
      margin-top: 30px;
    }

    .footer-nav{
      flex-direction: column;
      gap: 30px;
    }

    .footer-nav__list{
      font-size: 1.5rem;
      gap: 30px;
      flex-wrap: wrap;
    }

    .c-list{
      display: grid;
      grid-template-columns: repeat(2, 1fr);
    }

    .footer-contact{
      width: 160px;
    }

    .l-footer__copyright{
      margin-top: 50px;
      font-size: 1.2rem;
    }

  }

/*===================================
下から上にふわっと表示されるアニメーション
===================================*/
.js-fade-in{
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.js-fade-in.is-visible{
  opacity: 1;
  transform: translateY(0);
}

/*===================================
アニメーションの遅延
===================================*/

.js-delay-1{ transition-delay: 0.2s; }
.js-delay-2{ transition-delay: 0.4s; }
.js-delay-3{ transition-delay: 0.6s; }


/*===================================
矢印
===================================*/
.c-arrow {
  display: inline-flex;
  align-items: center;
  margin-left: 15px;
  vertical-align: middle;
  position: relative;
  width: 30px;
  height: 1px;
  background-color: currentColor;
  overflow: visible;
}

/* 矢印の頭 */
.c-arrow::after {
  content: '';
  position: absolute;
  right: -2px;
  bottom: 0;
  transform: rotate(45deg) translateY(3.5px); /* 0.5px単位の調整 */
  width: 6px;
  height: 6px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
}

@media (max-width: 768px) {
    .c-arrow{
      margin-left: 25px;
      width: 23px;
    }

    .c-arrow-sp{
       margin-left: 8px;
    }
}