@charset "UTF-8";

/*================================================
 *  一般・共通設定
 ================================================*/
:root {
  --color-black: #111;
  --color-white: #fff;
  --color-lightgray: #f4f4f4;
  --color-gray: #585858;
  --color-darkgray: #1d1d1d;
  --color-navy: #102954;
  --color-bluegray: #616873;
  --color-dark: #061123;
  --color-gradient: linear-gradient(270deg, #456faf 0%, #0d254f 25%, #0d254f 50%, #456faf 100%);
  ;
  --color-gradient02: linear-gradient(90deg, rgba(69, 111, 175, 1) 0%, rgba(13, 37, 79, 1) 50%);
  --color-gradient__radial: radial-gradient(circle, rgba(59, 95, 148, 1) 0%, rgba(16, 41, 84, 1) 70%);
  --color-gradient__white: linear-gradient(270deg, #fff 0%, #333 25%, #333 50%, #fff 100%);
  ;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
  scroll-snap-type: y proximity;
  scroll-padding-top: 80px;
  -webkit-font-smoothing: subpixel-antialiased;
  -moz-osx-font-smoothing: auto;
}

body {
  font-size: 1.5rem;
  font-family: "Shippori Mincho", 游明朝, "Yu Mincho", YuMincho, "Hiragino Mincho ProN", "Hiragino Mincho Pro", HGS明朝E, メイリオ, Meiryo, serif;
  line-height: 1.8;
  font-weight: normal;
  letter-spacing: .07em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  color: var(--color-white);
  background: var(--color-black);
  background-image: linear-gradient(rgba(0, 0, 0, 0.8)),
    url(../images/noise.png);
  background-repeat: repeat;
  background-size: 100px;
}

.wrap {
  max-width: 1000px;
  margin: 0 auto;
}

.widewrap {
  max-width: 1150px;
  margin: 0 auto;
}

a {
  text-decoration: none;
}

a:hover {
  opacity: .8;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

a.underline {
  text-decoration: underline;
}

p {
  margin: 0 0 0.5em 0;
}

img {
  max-width: 100%;
  vertical-align: bottom;
}

small {
  font-size: smaller;
}

ul,
ol,
dl {
  margin: 0;
}

ul li {
  list-style: none;
  margin: 0;
}

ol li {
  list-style: decimal;
}

/* タイトル */
h2 {
  padding-left: 20px;
  position: relative;
  margin-bottom: 50px;
  font-weight: bold;

}

h2::before {
  position: absolute;
  content: "";
  top: 8px;
  left: 0;
  width: 10px;
  height: 10px;
  background: var(--color-gradient02);
  border-radius: 50%;
}

.headline {
  text-transform: uppercase;
  font-size: 9rem;
  display: block;
  background: var(--color-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  font-weight: normal;
  line-height: 1.2;
}

.headline.small {
  font-size: 7rem;
}

h3 {
  font-size: 3.5rem;
  margin-bottom: 20px;
}

h4 {
  font-size: 2.3rem;
  font-weight: bold;
  margin-bottom: 15px;
}

@media screen and (max-width:950px) {
  html {
    font-size: 60%;
  }

  *,
  *:before,
  *:after {
    -webkit-box-sizing: border-box;
    box-sizing: border-box
  }

  .wrap,
  .widewrap {
    width: 100%;
    padding-right: 20px;
    padding-left: 20px;
  }

  h2 {
    font-size: 1.3rem;
    margin-bottom: 25px;
  }

  .headline {
    font-size: 6rem;
    line-height: 1.7;
  }

  .headline.small {
    font-size: 4rem;
  }

  h3 {
    font-size: 2.4rem;
  }

}


/*================================================
 *  コンテンツ
 ================================================*/
header {
  display: flex;
  justify-content: space-between;
  padding: 20px 0 20px 5%;
  box-sizing: border-box;
  position: fixed;
  top: 0;
  width: 100%;
  box-sizing: border-box;
  z-index: 99;
  align-items: center;
}

header h1 img {
  width: 300px;
}

.nav-button {
  display: none;
}

.nav li {
  display: inline-block;
  margin: 0px 8px 0;
  position: relative;
  letter-spacing: .15em;
  font-weight: bold;
}

/* nav_contact */
.nav_contact a {
  color: var(--color-white);
  background: var(--color-gradient);
  background-position: 0% 50%;
  background-size: 200% auto;
  transition: all 0.3s ease;
  border-radius: 0 0 0 20px;
  font-size: 1.5rem;
  padding: 50px 40px;
}

.nav_contact a:hover {
  opacity: 1;
  background-position: 50% 50%;
}

/* sp非表示 */
.nav li.sp {
  display: none;
}

.nav-wrap.open {
  display: block;
}

.nav-wrap.close {
  display: none;
}

/* changeNav */
header.changeNav {
  padding: 15px 0 15px 2%;
  transition: .5s;
  background: var(--color-darkgray);
}

header.changeNav h1 img {
  width: 200px;
}

header.changeNav .nav li {
  margin: 10px;
  font-size: 1.4rem;
}

header.changeNav .nav_contact a {
  padding: 27px 40px;
}

@media screen and (min-width: 950px) {
  .nav-wrap {
    display: block !important;
  }
}

@media screen and (max-width: 950px) {
  header {
    padding: 25px 15px;
  }

  header h1 img {
    width: 220px;
  }

  header.changeNav {
    padding: 10px 15px;
  }

  header.changeNav h1 img {
    width: 150px;
  }

  header.changeNav .nav {
    border-bottom: none;
  }

  .nav-button {
    display: block;
    cursor: pointer;
  }

  .nav-wrap {
    position: fixed;
    left: 0;
    top: 0;
    display: none;
    z-index: 10;
    width: 100%;
    height: 100%;
    background: var(--color-black);
    background-image: linear-gradient(rgba(0, 0, 0, 0.8)),
      url(../images/noise.png);
    background-repeat: repeat;
    background-size: 100px;
  }

  .nav,
  header.changeNav .nav {
    position: relative;
    overflow-y: auto;
    padding: 10px 30px 50px;
  }

  .nav li,
  header.changeNav .nav li {
    display: block;
    padding: 15px 10px 10px;
    margin: 0;
    font-size: 1.4rem;
    border-bottom: 1px solid var(--color-gray);
    position: relative;
  }

  .nav li::after,
  header.changeNav .nav li::after {
    font-family: "Font Awesome 5 Free";
    content: "\f105";
    font-weight: 900;
    position: absolute;
    top: 15px;
    right: 10px;
    color: var(--color-gray);
  }


  /* sp表示 */
  .nav li.sp,
  .nav li i {
    display: block;
  }

  /* nav_logo */
  .nav_logo {
    width: 170px;
    margin: 80px auto 10px 30px;
  }

  /* nav_mail */
  .nav_mail {
    margin: 0 30px;
  }

  .nav_mail a {
    border: 1px solid var(--color-white);
    color: var(--color-white);
    font-size: 2rem;
    text-align: center;
    display: inline-block;
    width: 100%;
    padding: 20px 0 15px;
  }

  .nav_mail a span {
    display: block;
    font-size: 1.1rem;
    font-weight: bold;
    letter-spacing: .15em;
  }

  /*メニューボタンのエフェクト*/
  .nav-button,
  .nav-button span {
    display: inline-block;
    transition: all 0.4s;
    box-sizing: border-box;
  }

  .nav-button {
    background: var(--color-gradient02);
    z-index: 20;
    position: fixed;
    width: 80px;
    height: 70px;
    top: 0;
    right: 0;
    border-radius: 0 0 0 10px;
  }

  .nav-button span {
    position: absolute;
    left: 22px;
    width: 50%;
    height: 1px;
    background: var(--color-white);

  }

  .nav-button span:nth-of-type(1) {
    top: 28px;
  }

  .nav-button span:nth-of-type(2) {
    top: 38px;
  }


  .nav-button:hover {
    opacity: 1;
  }

  .nav-button.active span:nth-of-type(1) {
    -webkit-transform: translateY(16px) rotate(-25deg);
    transform: translateY(16px) rotate(-25deg);
    top: 17px;
  }

  .nav-button.active span:nth-of-type(2) {
    -webkit-transform: translateY(-16px) rotate(25deg);
    transform: translateY(-16px) rotate(25deg);
    top: 48px;
  }

  /* changeNav */
  header.changeNav .nav-button {
    width: 80px;
    height: 53px;
  }

  header.changeNav .nav-button span:nth-of-type(1) {
    top: 20px;
  }

  header.changeNav .nav-button span:nth-of-type(2) {
    top: 30px;
  }

  header.changeNav .nav-button.active span:nth-of-type(1) {
    top: 10px;
  }

  header.changeNav .nav-button.active span:nth-of-type(2) {
    top: 40px;
  }

}


/* ==================================================
    loading
====================================================*/
.loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 999;
  background-color: var(--color-darkgray);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeOut 1.5s 2.5s forwards;
}

@keyframes fadeOut {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    visibility: hidden;
  }
}

.loading__logo {
  opacity: 0;
  animation: logo_fade 2s 0.5s forwards;
  width: 150px;
}

@keyframes logo_fade {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }

  60% {
    opacity: 1;
    transform: translateY(0);
  }

  100% {
    opacity: 0;
  }
}

@media screen and (max-width:950px) {
  .loading__logo {
    width: 90px;
  }
}

/* =======================================================
* section・共通
* ======================================================= */
section {
  padding-bottom: 10rem;
  position: relative;
}

.section {
  padding-top: 10rem;
}

/* ボタン */
.linkBtn {
  margin-top: 60px;
}

.linkBtn.ac a {
  margin: 0 auto;
}

.linkBtn.ar a {
  margin: 0 0 0 auto;
}

.linkBtn a {
  color: var(--color-white);
  border-radius: 50px;
  padding: 20px 50px;
  font-size: 1.35rem;
  letter-spacing: .15em;
  font-weight: bold;
  background: var(--color-gradient);
  background-position: 0% 50%;
  background-size: 200% auto;
  transition: all 0.3s ease;
  box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.4);
}

.linkBtn a:hover {
  background-position: 50% 50%;
}

@media screen and (max-width:950px) {
  section {
    padding-bottom: 7rem;
  }

  .section {
    padding-top: 7rem;
  }

  .linkBtn {
    margin-top: 40px;
  }

  .linkBtn.ar {
    text-align: center;
  }
}


/* =======================================================
* main
* ======================================================= */
#main {
  position: relative;
  color: var(--color-white);
  height: 100vh;
  height: 100dvh;
}

#main::after {
  position: absolute;
  content: "";
  background: rgba(0, 0, 0, 0.4);
  width: 100%;
  height: 100%;
  top: 0;
  z-index: 1;
}

.swiper-wrap {
  margin: 0 calc(50% - 50vw);
  max-width: 100vw;
  position: relative;
  overflow: hidden;
}

@keyframes zoom-in {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(1.2);
  }
}

.swiper-slide-active .slide-img,
.swiper-slide-duplicate-active .slide-img,
.swiper-slide-prev .slide-img {
  animation: zoom-in 7s linear 0s 1 normal both;
  height: 100vh;
  height: 100dvh;
}

.slide-img.slide01 {
  background: url(../images/slide01.webp) no-repeat center top 20%/cover;
}

.slide-img.slide02 {
  background: url(../images/slide02.webp) no-repeat center/cover;
}

.slide-img.slide03 {
  background: url(../images/slide03.webp) no-repeat center/cover;
}

/* pagination */
.swiper-horizontal>.swiper-pagination-bullets,
.swiper-pagination-bullets.swiper-pagination-horizontal,
.swiper-pagination-custom,
.swiper-pagination-fraction {
  right: 2cap !important;
  left: auto !important;
  top: auto !important;
  bottom: 100px !important;
  font-size: 1.2rem;
}

.swiper-pagination-fraction {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  position: absolute;
  z-index: 1;
}

.swiper-pagination-fraction .border {
  width: 70px;
  height: 1px;
  margin: 0 8px;
  background-color: var(--color-white);
  position: relative;
}

.swiper-pagination-fraction .border span {
  position: absolute;
  top: 0;
  left: 0;
  display: inline-block;
  width: 100%;
  height: 100%;
  background-color: #1a1b1b;
  transform: scaleX(0);
  transform-origin: left center;
  transition-timing-function: linear;
}

.swiper-pagination.is-active .border span {
  transform: scaleX(1);
  transition: transform 3s linear;
}

/* main_catch */
.main_catch {
  position: absolute;
  bottom: 100px;
  left: 40px;
  z-index: 9;
}

.main_catch span {
  font-size: 4rem;
}

/* flowTxt */
.flowTxt {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  overflow: hidden;
  position: absolute;
  bottom: -14%;
  left: 0;
  width: 100%;
  z-index: 9;
}

.flowWrapper {
  display: flex;
  animation: loop-text 40s linear infinite;
}

.double-content {
  display: inline-block;
  font-size: 15rem;
  white-space: nowrap;
  font-style: italic;
  margin: 0 5px;
  background: var(--color-gradient__white);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

@keyframes loop-text {
  0% {
    transform: translateX(0%);
  }

  100% {
    transform: translateX(-50%);
  }
}

@media screen and (max-width:950px) {
  .main_catch {
    left: 15px;
    bottom: 70px;
    font-size: 1.4rem;
    writing-mode: vertical-rl;
  }

  .main_catch span {
    font-size: 3rem;
  }

  .slide-img.slide01 {
    background-position: center left 35%;
  }

  .slide-img.slide02 {
    background-position: center left 30%;
  }

  .slide-img.slide03 {
    background-position: center right 45%;
  }

  .flowTxt {
    bottom: -55px;
  }

  .double-content {
    font-size: 10rem;
  }
}


/*================================================
 *  intro
 ================================================*/
.intro_txt {
  line-height: 2.2;
  font-size: 1.6rem;
}

@media screen and (max-width:950px) {
  #intro {
    margin-top: 5rem;
  }
}

/*================================================
 *  service
 ================================================*/
#service::before {
  position: absolute;
  content: "";
  width: 70%;
  height: 100%;
  background: rgb(17 17 17 / 60%);
  top: 0;
  left: 0;
  z-index: -1;
  border-radius: 0 100px 0 0;
}

.service_grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1.5fr 1fr;
}

#service ul {
  margin-top: 50px;
  font-size: 1.4rem;
}

#service ul li {
  border-bottom: 1px dotted var(--color-bluegray);
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(2, 1fr);
  padding: 80px 10px;
}

#service ul li:first-child {
  border-top: 1px dotted var(--color-bluegray);
}

#service ul li h4 span {
  display: block;
  text-transform: uppercase;
  font-size: 10rem;
  font-weight: normal;
  line-height: 0;
  font-style: italic;
  color: rgb(255 255 255 / 10%);
}

#service ul li p {
  display: inline-block;
  background: var(--color-darkgray);
  border: 1px solid var(--color-gray);
  padding: 5px 15px;
  border-radius: 50px;
  font-size: 1.2rem;
  margin: 3px 0;
}

@media screen and (max-width:950px) {
  #service::before {
    width: 100%;
  }

  .service_grid {
    grid-template-columns: 1fr;
  }

  .service_grid img {
    width: 70%;
    margin: 0 auto;
  }

  #service ul {
    margin-bottom: 80px;
  }

  #service ul li {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 40px 10px;
  }

  #service ul li h4 span {
    font-size: 5rem;
    color: rgb(255 255 255 / 20%);
  }

  #service ul li p {
    font-size: 1rem;
  }
}

/*================================================
 *  case
 ================================================*/
#case ul {
  display: grid;
  gap: 50px;
  grid-template-columns: 1fr 1fr;
  font-size: 1.3rem;
}

#case ul a {
  background: var(--color-lightgray);
  border-radius: 0 0 50px;
}

#case ul a .case_img {
  overflow: hidden;
  position: relative;
  filter: brightness(0.7);
}

#case ul a:hover img {
  transform: scale(1.1);
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  filter: brightness(0.5);
}

#case ul a p {
  padding: 10px 30px 20px;
  color: var(--color-black);
}

#case .case_label {
  margin: 10px 0 5px 30px;
  background: var(--color-darkgray);
  padding: 5px 25px;
  border-radius: 50px;
  color: var(--color-white);
  font-size: 1.1rem;
  display: inline-block;
}

#case .linkBtn {
  position: absolute;
  top: 0;
  right: 0;
}

@media screen and (max-width:950px) {
  #case ul {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 80px;
  }

  #case .linkBtn {
    position: static;
  }
}


/*================================================
 *  blog
 ================================================*/
#blog {
  padding-bottom: 13rem;
}

#blog iframe {
  width: 100%;
  height: 300px;
  overflow: scroll;
  margin-bottom: 30px;
}



/*================================================
 *  top_contact
 ================================================*/
#top_contact {
  background: url(../images/top_contact.webp) no-repeat center/cover;
  padding: 10rem 0;
  background-attachment: fixed;
  position: relative;
  z-index: 1;
}

#top_contact::after {
  position: absolute;
  content: "";
  background: rgba(0, 0, 0, 0.3);
  width: 100%;
  height: 100%;
  top: 0;
  z-index: -1;
}

#top_contact .wrap {
  max-width: 800px;
  margin: 0 auto;
  color: var(--color-black);
  background-color: rgba(255, 255, 255, .7);
  backdrop-filter: blur(3px);
  padding: 50px 30px;
  border-radius: 10px;
}

#top_contact .linkBtn {
  margin-top: 40px;
}

#top_contact .linkBtn a {
  width: 340px;
  font-size: 1.7rem;
  color: var(--color-white);
}

@media screen and (max-width:950px) {
  #top_contact {
    margin-top: 6rem;
    background-attachment: unset;
  }

  #top_contact .wrap {
    width: 92%;
    padding: 30px 30px 50px;
  }

  #top_contact .headline {
    font-size: 4.5rem;
  }

  #top_contact .linkBtn {
    margin-top: 30px;
  }

  #top_contact .linkBtn a {
    font-size: 1.5rem;
    display: block;
    padding: 20px 0;
    width: 100%;
  }

}


/*================================================
 *  sub_main
 ================================================*/
#sub_main {
  position: relative;
  height: 500px;
  background: rgb(17 17 17 / 60%);
}

#sub_main::before {
  position: absolute;
  content: "";
  left: 50%;
  transform: translate(-50%);
  bottom: -50px;
  width: 1px;
  height: 150px;
  background: linear-gradient(180deg, #fff 0%, #171616 100%);
}

#sub_main div {
  position: absolute;
  bottom: 20%;
  left: 50%;
  transform: translate(-50%);
  text-align: center;
  width: 100%;
}

#sub_main div span {
  background: linear-gradient(270deg, #fff 0%, #5a5a5a 25%, #5a5a5a 50%, #fff 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  font-size: 10rem;
  text-transform: uppercase;
  line-height: 1.2;
}

#sub_main h2 {
  letter-spacing: .15em;
  padding-left: 0;
  position: relative;
}

#sub_main h2::before {
  content: none;
}

@media screen and (max-width:950px) {
  #sub_main {
    height: 330px;
  }

  #sub_main::before {
    height: 100px;
  }

  #sub_main div span {
    font-size: 5rem;
    line-height: 1.6;
  }
}

/*================================================
 *  footer
 ================================================*/
footer {
  background: rgb(17 17 17 / 60%);
  font-size: 1.4rem;
  padding: 10rem 0 6rem;
  position: relative;
}

.footer_logo {
  width: 200px;
  margin-bottom: 50px;
  opacity: 0.8;
}

.footer_left {
  width: 60%;
}

.footer_menu li {
  display: inline-block;
  margin-right: 15px;
  position: relative;
  font-weight: normal;
}

.footer_menu li:not(:last-child)::after {
  position: absolute;
  content: "/";
  top: 0;
  right: -15px;
}

.footer_contact {
  width: 40%;
  text-align: center;
}

.footer_contact a {
  border: 1px solid var(--color-gray);
  padding: 20px;
  font-size: 2rem;
  display: inline-block;
  font-weight: normal;
  width: 100%;
  max-width: 340px;
}

.footer_contact a span {
  font-size: 1.2rem;
  display: block;
}

.footer_contact a:hover {
  background: var(--color-black);
}

.copyright {
  text-align: center;
  font-size: 1rem;
  margin-top: 70px;
  color: var(--color-bluegray);
}

@media screen and (max-width:950px) {
  #subPage footer {
    margin-top: 60px;
  }

  footer {
    padding: 7rem 0 6rem;
  }

  .footer_left {
    width: 100%;
  }

  .footer_logo {
    width: 140px;
    margin: 0 0 30px 20px;
  }

  .footer_menu li {
    display: block;
    margin: 0 0 15px 40px;
    position: relative;
  }

  .footer_menu li::before {
    content: "−";
    position: absolute;
    top: -1px;
    left: -17px;
    color: var(--color-lightgray);
  }

  .footer_menu li:not(:last-child)::after {
    content: none;
  }

  .footer_contact {
    width: 90%;
    margin: 30px auto 0;
  }
}


/*================================================
 *  pagetop
 ================================================*/
#pagetop {
  position: absolute;
  right: 20px;
  bottom: 20px;
  cursor: pointer;
}

#pagetop i {
  background: var(--color-white);
  color: var(--color-black);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  text-align: center;
  line-height: 3.7;
  font-size: 1.3rem;
  opacity: 0.7;
}

@media screen and (max-width:950px) {
  #pagetop i {
    width: 40px;
    height: 40px;
    line-height: 3.2;
  }
}