/* カスタムプロパティ設定部分 */
* {
  box-sizing: border-box;
}

*, ::after, ::before {
    --tw-border-spacing-x: 0;
    --tw-border-spacing-y: 0;
    --tw-translate-x: 0;
    --tw-translate-y: 0;
    --tw-rotate: 0;
    --tw-skew-x: 0;
    --tw-skew-y: 0;
    --tw-scale-x: 1;
    --tw-scale-y: 1;
    --tw-pan-x: ;
    --tw-pan-y: ;
    --tw-pinch-zoom: ;
    --tw-scroll-snap-strictness: proximity;
    --tw-ordinal: ;
    --tw-slashed-zero: ;
    --tw-numeric-figure: ;
    --tw-numeric-spacing: ;
    --tw-numeric-fraction: ;
    --tw-ring-inset: ;
    --tw-ring-offset-width: 0px;
    --tw-ring-offset-color: #fff;
    --tw-ring-color: rgba(0,176,218,.5);
    --tw-ring-offset-shadow: 0 0 #0000;
    --tw-ring-shadow: 0 0 #0000;
    --tw-shadow: 0 0 #0000;
    --tw-shadow-colored: 0 0 #0000;
    --tw-content: attr(data-text);
    --tw-blur: ;
    --tw-brightness: ;
    --tw-contrast: ;
    --tw-grayscale: ;
    --tw-hue-rotate: ;
    --tw-invert: ;
    --tw-saturate: ;
    --tw-sepia: ;
    --tw-drop-shadow: ;
    --tw-backdrop-blur: ;
    --tw-backdrop-brightness: ;
    --tw-backdrop-contrast: ;
    --tw-backdrop-grayscale: ;
    --tw-backdrop-hue-rotate: ;
    --tw-backdrop-invert: ;
    --tw-backdrop-opacity: ;
    --tw-backdrop-saturate: ;
    --tw-backdrop-sepia: ;
  }
  :root {
    --red: #f6124e;
    --orange: #ff9000;
    --green: #00e596;
    --pink: #ff0190;
    --purple: #6a01ca;
    --yellow: #ffe75f;
    --blue: #097ba1;
    --gray100: #f1f1f0;
    --gray200: #dadad7;
    --gray300: #c3c3be;
    --gray400: #ababa5;
    --gray500: #999;
    --gray600: #7c7c74;
    --gray700: #64645d;
    --gray800: #4b4b46;
    --gray900: #333;
    --fontRegular: noto-sans,"Noto Sans JP",sans-serif;
    --fontDin: din-2014,sans-serif;
    --sizeRoot: 16px;
    --lineHeight: 1;
    --sizeH1: 3.4rem;
    --sizeH2: 3rem;
    --sizeH3: 2.6rem;
    --sizeH4: 2.2rem;
    --sizeH5: 1.8rem;
    --sizeH6: 1.3rem;
    --pageMaxWidth: 1280px;
    --modalHeight: calc(85vh - 4rem);
    --modalHeightNs: calc(85vh - 5.5rem);
    --modalHeightWithoutBar: calc(85vh - 1.5rem);
  }
  body {
  width: 100%;
  margin: 0;
  overflow-x: hidden;
  font-family: "Noto Sans JP",noto-sans,sans-serif;
  background-size: cover;
  }
  .block {
    display: block;
  }
  .relative {
    position: relative;
  }
  .inline-block {
    display: inline-block;
  }
  .bg-clip-text {
    -webkit-background-clip: text;
    background-clip: text;
  }
  .bg-gradient-to-t {
    background-image: linear-gradient(to top,var(--tw-gradient-stops));
  }
  .text-transparent {
    color: transparent;
  }
  .gradation_area {
    --tw-gradient-stops: var(--tw-gradient-from),var(--tw-gradient-to);
  }
  .whitespace-pre-wrap {
    white-space: pre-wrap;
  }
  
  .bg-striped-gradient-light {
    --mys-striped-bg: repeating-linear-gradient(-50deg,rgba(0,255,255,0),hsla(0,0%,100%,0) 0.5rem,hsla(0,0%,100%,.2) 0,hsla(0,0%,100%,.2) 1rem);
  }
  .bg-striped-gradient-to-t {
    background-image: var(--mys-striped-bg),linear-gradient(to top,var(--tw-gradient-stops));
  }
  .bg-gradient-to-r {
    background-image: linear-gradient(to right,var(--tw-gradient-stops));
  }
  
  
  /* テキストに陰を付ける */
  .drop-shadow-text1 {
    --tw-drop-shadow: drop-shadow(0.1em 0.1em 0px rgba(0,0,0,.3));
    filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
  }
  .drop-shadow-text2 {
    --tw-drop-shadow: drop-shadow(2px 2px 0px #810b30);
    filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
  }
  .before_15em::before {
    -webkit-text-stroke-width: .12em;
    content: var(--tw-content);
  }
  .before_4px::before {
    -webkit-text-stroke-width: 4px;
    content: var(--tw-content);
  }
  .before_absolute::before {
    content: var(--tw-content);
    position: absolute;
    top: 0;
    left: 0;
    color: #fff;
  }
  .before_text-stroke-black::before {
    -webkit-text-stroke-color: #232323;
    content: var(--tw-content);
  }
  .before_text-stroke-blue::before {
    -webkit-text-stroke-color: #284f4c;
    content: var(--tw-content);
  }
  
  
  .before_data-text::before {
    --tw-content: attr(data-text);
    content: var(--tw-content);
  }
  .from-gradation-yellow {
    --tw-gradient-from: #fee101;
    --tw-gradient-to: rgba(150,15,57,0);
    --tw-gradient-stops: var(--tw-gradient-from),var(--tw-gradient-to);
  }
  .before_text-stroke-white::before {
    -webkit-text-stroke-color: #fff;
    content: var(--tw-content);
  }
  .blur_15px {
    --tw-blur: blur(1.5px);
  }
  .blur {
    filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
  }
  
  /* ここまでカスタムプロパティ設定部分 */
  
  
  
  /* ここから要素に合わせてカスタム。 */
  .from-gold {
    --tw-gradient-from: #fac13c;
    --tw-gradient-to: rgba(250,193,60,0);
  }
  .from-pink {
    --tw-gradient-from: #960f39;
    --tw-gradient-to: rgba(150,15,57,0);
  }
  .from-pink2 {
    --tw-gradient-from: #e32862;
  --tw-gradient-to: rgba(227,40,98,0);
  --tw-gradient-stops: var(--tw-gradient-from),var(--tw-gradient-to);
  }
  .from-black {
    --tw-gradient-from: #000000;
    --tw-gradient-to: rgba(0,0,0,0);
  }
  .from-orange {
    --tw-gradient-from: #ffbe00;
    --tw-gradient-to: rgba(0,0,0,0);
  }
  .from-yellow {
    --tw-gradient-from: #ffbe00;
    --tw-gradient-to: rgba(0,0,0,0);
  }
  .from-white {
    --tw-gradient-from: #fbfbfb;
    --tw-gradient-to: rgba(255,255255,0);
  }
  .to-pink {
    --tw-gradient-to: #e32862;
  }
  .to-black {
    --tw-gradient-to: #191919;
  }
  .to-yellow {
    --tw-gradient-to: #ffbe00;
  }
  .before_absolute::before {
  
  }
  
  
  .to-orange {
    --tw-gradient-to: #ffbe00;
  }
  .to-white {
    --tw-gradient-to: #ffffff;
  }
  .to-blue {
    --tw-gradient-to: #65e2d8;
  }
  .to-purple {
    --tw-gradient-to: #510098;
  }
  .to-gold {
    --tw-gradient-to: #f6e597;
  }
  
  
  .before_text-stroke-gold::before {
    -webkit-text-stroke-color: #6c0726;
    content: var(--tw-content);
  }
  .to-gradation-yellow {
    --tw-gradient-to: #fee101;
  }
  img {
  width: auto;
  max-width: 100%;
  }
  .center {
    text-align: center;
  } 
  .f15 {
    font-size: 15px;
  }
  .f30 {
    font-size: 30px;
  }
  .f35 {
    font-size: 35px;
  }
  .f40 {
    font-size: 40px;
  }
  .f45 {
    font-size: 45px;
  }
  .f50 {
    font-size: 50px;
  }
  .f55 {
    font-size: 55px;
  }
  .f60 {
    font-size: 60px;
  }
  .f65 {
    font-size: 65px;
  }
  .f70 {
    font-size: 70px;
  }
  .f75 {
    font-size: 75px;
  }
  .f80 {
    font-size: 80px;
  }
  section {
  position: relative;
  max-width: 100%;
  }
  .flex {
    display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: stretch;
  }
  .mv {
    position: relative;
    max-width: 1920px;
    height: 25vh;
    margin-top: 80px;
  }
  h2 {
    font-weight: 600;
  }
  .video-wrap video {
    width: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  .video-wrap {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
  }
  h3 {
    font-weight: 600;
  }
  .absolute {
    position: absolute;
  }
  .h2_title {
    color: #000;
    font-weight: 700;
    text-transform: none;
    line-height: 1.2;
    font-size: 5rem;
    font-family: serif;
    letter-spacing: 0.05em;
    text-align: center;
    background-repeat: no-repeat;
    background-size: auto;
    background-position: center;
  }
body {
  font-family: serif;
  background-image: url(../image/jurise_back.png);
  background-position: top center;
  background-size: auto;
}
.service .inner {
  max-width: 100%;
}
.contact .contact_img a img,.contact .company_img a img {
  transition: 1s all;
}

.contact .contact_img a:hover img,.contact .company_img a:hover img {
  transform: scale(1.2,1.2);
  transition: 1s all;
}
.contact a h2 {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  width: fit-content;
  height: fit-content;
  z-index: 2;
}




  .h2_grid {
  margin: 0 auto 1.5rem;
  max-width: 1100px;
  max-width: 100%;
  }
  .inner {
    max-width: 1200px;
    margin-right: auto;
  margin-left: auto;
  }
  .header {
    height: 780px;
    background-position: center;
    background-repeat: no-repeat;
    margin-top: 0;
}
.service_text h3 {
  margin-top: 0;
  margin-bottom: 40px;
}



  .head_text_title {
  font-family: 'Noto Serif JP', serif;
  display: block;
  }
  .head_text_text {
    font-size: .5em;
  }
  .about {
    padding-top: 30px;
    padding-bottom: 30px;
    font-weight: 600;
  }
  .global .logo a {
    display: flex;
  justify-content: center;
  align-items: center;
  }



.h2_subtitle {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 18px;
  margin-top: 10px;
  margin-bottom: 60px;
  text-align: center;
}

  
  .h2_text {
    max-width: 100%;
    margin-right: auto;
    margin-left: auto;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    letter-spacing: .085rem;
    text-align: center;
    justify-content: center;
    color: #9e9e9e;
    font-family: "Noto Sans JP",noto-sans,sans-serif;
    margin-bottom: 20px;
  }
  .h2_text img {
    width: 30px;
  display: inline-block;
  margin-right: 5px;
  }
  .h3_sub {
  display: flex;
  align-items: center;
  }
  .h3_sub img {
    width: 30px;
  display: inline-block;
  margin-right: 5px;
  }
  .service_box .relative {
    max-width: 40%;
    position: relative;
    width: 100%;
  }
  .service_text_text {
    font-size: 17px;
  }
  
  
  .about_text {
    width: 63%;
    font-size: 17px;
  }
  .about_img {
    width: 37%;
  overflow: hidden;
  border-radius: 5px;
  }
  .service_box {
    display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: stretch;
  margin-bottom: 150px;
  position: relative;
  padding-left: 100px;  
}
  .service_img {
    width: 60%;
    border-radius: 0;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    object-fit: cover;
  }
  .service_text {
    max-width: 100%;
    padding: 40px;
    background-color: rgba(43, 49, 59, 0.9);
    box-sizing: border-box;
    border-radius: 0;
    max-height: 85%;
    position: absolute;
    width: 100%;
    left: -100px;
    top: 0;
    bottom: 0;
    margin: auto;
    color: #fff;
    z-index: 999;
  }
  .service {
    padding-top: 0;
    padding-bottom: 100px;
  }
  
  .service .service_area .service_box:nth-child(2n) {
    flex-direction: row-reverse;
    padding-left: 0;
  }
  .service .service_area .service_box:nth-child(2n) .service_text {
    left: auto;
    right: -100px;
  }
.about h2 .h2_subtitle {
  margin-bottom: 40px;
}
.media_link a {
  position: relative;
}
.media_link a::before {
  content: "";
  width: 0;
  height: 100%;
  position: absolute;
  background-color: #fff;
  right: 0;
  left: 0;
  top: 0;
  bottom: 0;
  transition: all .5s ease-in;
}
.media_link a:hover::before {
  width: 100%;
  transition: all .5s ease-in;
}
.media_link a span {
  position: relative;
  transition: all .5s ease-in;
}
.media_link a:hover span {
  color: #333;
  transition: all .5s ease-in;
}


  .h3_sub {
    margin-right: auto;
  margin-left: auto;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .085rem;
  }
  
  .h3_title {
    font-family: 'Noto Serif JP', serif;
    color: #fff;
  font-weight: 700;
  text-transform: none;
  line-height: 1.5;
  font-size: 2.5rem;
  letter-spacing: 0.05em;
  }
  .global {
    display: flex;
    justify-content: space-between;
    max-width: 100%;
    margin-right: auto;
    margin-left: auto;
    align-items: center;
    height: 80px;
    position: fixed;
    top: 0;
    width: 100%;
    right: 0;
    left: 0;
    padding-right: 0;
    padding-left: 0;
    box-sizing: border-box;
    z-index: 9999;
    background-color: rgba(255,255,255,.7);
  }

  .global .inner {
    display: flex;
    justify-content: space-between;
    max-width: 1300px;
    margin-right: auto;
    margin-left: auto;
    align-items: center;
    width: 100%;
    padding-right: 0;
    padding-left: 0;
    box-sizing: border-box;
  }


  .global .logo {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;

    transition: all 0.5s ease;

  }
  .global .logo img {
    max-height: 60px;
  }



  .menu {
    max-width: 500px;
  width: 100%;
  }
  .menu ul {
  padding: 0;
  margin-top: 0;
  margin-bottom: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  }
  .menu ul li {
    list-style: none;
  }
  .menu ul li a {
    text-decoration: none;
    color: #000;
  font-weight: 700;
  }
  footer .menu ul li a {
    color: #fff;
  }

  .header::before {
    content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  background-color: rgba(0,0,0,.3);
  }
  .staff dd::after {
    content: "";
    border-bottom: 25px #fff9c4 solid;
    border-right: 8px transparent solid;
    border-left: 8px transparent solid;
    display: block;
    margin: 0 auto;
    position: absolute;
    top: -49px;
    right: 0;
    left: 0;
    height: 50px;
    width: 16px;
  }
  footer {
    padding: 0;
  }
  .copyright {
    color: #fff;
    font-size: 15px;
    text-align: center;
    padding: 30px 0px 20px 0px;
    border-top: solid 2px #fff;
    margin-bottom: 0;
    margin-top: 0;
  }
  footer .menu {
    margin-right: auto;
    margin-left: 0;
    display: flex;
    justify-content: left;
    align-items: center;
    flex-wrap: wrap;
    padding-left: 50px;
    background-color: #2B313B;
    max-width: 100%;
    width: 100%;
  }
  footer .menu ul {
    width: 100%;
    max-width: 600px;
  }
  footer .menu .footer_menu_text {
    width: 100%;
    max-width: 600px;
    margin-left: auto;
    padding-right: 100px;
  }
  footer .menu .copyright {
    margin-top: 60px;
    width: 100%;
    text-align: left;
  }



  .contact .inner {
    text-align: center;
    position: relative;
  }
  .sub_title {
    font-size: 1.3em;
  }
.main_title {
  font-family: 'Noto Serif JP', serif;
  font-size: 2.5em;
  letter-spacing: 0.05em;
  color: #ffbe00;
}
.text_h2 {
  line-height: 3em;
  margin-bottom: 30px;
}
.contact_text {
  font-size: 19px;
  margin-bottom: 50px;
  line-height: 1.8em;
  font-weight: 600;
}
.decided {
  padding-top: 70px;
  padding-bottom: 70px;
  min-height: 500px;
}

.cv_button_next a {
  display: block;
  background-color: #ffbe00;
  color: #000;
  text-decoration: none;
  border: 2px solid #fff;
  padding-top: 25px;
  padding-bottom: 25px;
  font-size: 1.5em;
  font-style: italic;
  font-weight: 700;
}



  .company {
    background-image: url(../image/header.jpeg);
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    padding-top: 70px;
    padding-bottom: 70px;
    background-size: cover;
    background-color: #366c84;
  background-image: none;
  }
  .company::before {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
  }
  .company .inner {
  position: relative;
  z-index: 3;
  background-color: rgba(255,255,255,.9);
  box-sizing: border-box;
  border-radius: 0;
  padding: 50px 70px;
  max-width: 1200px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  }
  .company .inner h2 {
    font-family: "Noto Sans JP",noto-sans,sans-serif;
  color: #ffbe00;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 4rem;
  margin-top: 0;
  margin-bottom: 0;
  }
  .company .inner h2 .h2_text {
    color: #000;
  }
  .company .inner h2 .h2_title {
    font-size: 2.5rem;
    margin-bottom: 30px;
  }
  .company .inner h2 .h2_grid {
    margin-bottom: 1rem;
  }
  
  footer .logo {
    max-width: 300px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: auto;
  margin-left: auto;
  margin-bottom: 30px;
  }
  .company .inner .map {
    width: 40%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  
  }
  .company .inner .table {
    width: 52%;
  box-sizing: border-box;
  }
  .company .inner .map iframe {
    width: 100%;
  }
  th {
  border-top: 1px solid #aaa;
  border-bottom: 1px solid #aaa;
  box-sizing: border-box;
  padding: 15px;
  text-align: left;
  width: 40%;
  font-weight: normal;
  }
  td {
  border-top: 1px solid #aaa;
  border-bottom: 1px solid #aaa;
  box-sizing: border-box;
  padding: 15px;
  text-align: left;
  width: 60%;
  font-weight: normal;
  }
  table {
    border-collapse: collapse;
    width: 100%;
  }
  .table {
  box-sizing: border-box;
  }
  
  .head_text {
    position: absolute;
    top: 50%;
    left: 30%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    text-align: center;
    line-height: 1em;
    transition: all 1s ease;
    opacity: 0;
  letter-spacing: 0.05em;
  color: #fff;
  font-weight: 700;
  font-size: 4em;
  z-index: 3;
  text-align: center;
  width: 100%;
  text-shadow: 0px 0px 8px #000;
  }
  .head_text span {
    display: block;
    font-size: .5em;
    margin-top: 25px;
    color: #fff;
  }
  .head_text span.white {
    display: block;
    font-size: .5em;
    margin-top: 0;
    margin-bottom: 15px;
    color: #fff;
  }



  .head_text.move {
    left: 50%;
    transition: all 1s ease;
    opacity: 1;
  }
.container {
    height: 780px;
    display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}


  .js-fade {
    opacity: 0;
    visibility: hidden;
    transform: translateY(50px);
    transition: opacity 1s,visibility 1s, transform 1s;
}
.js-fade.vertical {
    opacity: 0;
    visibility: hidden;
    transform: translate(50px, 0);
    transition: opacity 1s,visibility 1s, transform 1s;
}



.scroll {
    opacity: 1;
    visibility: visible;
    transform: translateY(0px);
}
.js-fade.vertical.scroll {
    opacity: 1;
    visibility: visible;
    transform: translate(0, 0);
}
.slick-img {
  height: 780px;
  display: flex;
  justify-content: center;
  align-items: center;
}


.slider {
  margin: 0 auto;
  max-width: 100%;
  width: 100%;
  padding-left: 0;
  }
  .slick-img img {
    height: auto;
    width: 100%;
    object-fit: cover;
  }
.black_back {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 780px;
}
.global .menu ul li a span {
  position: relative;
}
.global .menu ul li a span::before {
  content: "";
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: #2B313B;
  position: absolute;
  transition: all 0.5s ease;
  left: 0;
}
.global .menu ul li a:hover span::before {
  width: 100%;
  transition: all 0.5s ease;
}
.global .menu ul li a.head_contact {
  background-color: #2B313B;
  color: #fff;
  transition: all 0.5s ease;
  border: 1px solid #2B313B;
}

footer .menu ul li a span {
  position: relative;
  padding-bottom: 3px;
}
footer .menu ul li a span::before {
  content: "";
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: #fff;
  position: absolute;
  transition: all 0.5s ease;
  left: 0;
}
footer .menu ul li a:hover span::before {
  width: 100%;
  transition: all 0.5s ease;
}
footer .menu ul li a.head_contact {
  background-color: #2B313B;
  color: #fff;
  transition: all 0.5s ease;
  border: 1px solid #2B313B;
}
.about .flex.box__item {
  align-items: center;
  padding-right: 50px;
}
.about_text {
  background-color: rgba(255,255,255,.9);
  padding: 40px;
  position: relative;
  right: -60px;
  z-index: 2;
}





  .black_back::before {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    background: linear-gradient(to bottom, rgba(51, 51, 51, 0.3), rgba(0, 0, 0, 0.5));
    background: none;
    z-index: 2;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
  }
.company .flex {
    width: 100%;
    max-width: 800px;
    margin-right: auto;
    margin-left: auto;
    z-index: 3;
    margin-top: 50px;
    gap: 30px;
}
.cv_button {
    width: calc(50% - 15px);
}
.cv_button a {
    display: block;
    width: 100%;
    background-color: #333;
    text-align: center;
    text-decoration: none;
    color: #fff;
    padding: 15px 30px 15px 15px;
    box-sizing: border-box;
    background-image: linear-gradient( 135deg, #FCCF31 10%, #F55555 100%);
    font-weight: 700;
    border-radius: 50px;
    border: 2px solid #fff;
    font-size: 17px;
    position: relative;
}
.cv_button a:before {
    content: "";
    background-image: url(../image/right.png);
    width: 25px;
    height: 25px;
    position: absolute;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    right: 20px;
    top: 0;
    bottom: 0;
    margin: auto;
}
.red-a {
    font-size: .8em;
    background-color: #c00;
    color: #fff;
    padding: 2px 5px;
    border-radius: 3px;
    margin-top: 2px;
}
.form {
    padding-top: 50px;
    margin-top: 80px;
}
.form-horizontal {
    max-width: 800px;
    margin-right: auto;
    margin-left: auto;
}
.formTitle {
    display: flex;
    align-items: center;
    width: 30%;
    justify-content: space-between;
}
.comit-thanks .row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.formArea {
  width: 70%;
  padding-left: 30px;
}
input {
  box-sizing: border-box;
  width: 100%;
  max-width: 640px;
  margin-top: 5px;
  padding: 19px 29px;
  font-size: 15px;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  background-color: #fafafa;
  border: 1px solid #ddd;
  border-radius: 5px;
  outline: none;
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Helvetica", "Arial", "Hiragino Sans", "ヒラギノ角ゴシック", YuGothic, "Yu Gothic", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}
textarea {
  box-sizing: border-box;
  width: 100%;
  max-width: 640px;
  margin-top: 5px;
  padding: 19px 29px;
  font-size: 15px;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  background-color: #fafafa;
  border: 1px solid #ddd;
  border-radius: 5px;
  outline: none;
  height: 259px;
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Helvetica", "Arial", "Hiragino Sans", "ヒラギノ角ゴシック", YuGothic, "Yu Gothic", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}
.form h2 {
  text-align: center;
  font-size: 2em;
  margin-bottom: 40px;
  margin-top: 0;
}
.btn-success {
  display: block;
  margin-right: auto;
  margin-left: auto;
  margin-top: 50px;
  margin-bottom: 60px;
  background-color: #333;
  color: #fff;
  font-size: 19px;
  cursor: pointer;
}
.thanks_text {
  max-width: 800px;
  margin-right: auto;
  margin-left: auto;
  text-align: left;
  margin-bottom: 50px;
}
.top_link a {
  display: block;
  max-width: 333px;
  text-align: center;
  margin-right: auto;
  margin-left: auto;
  margin-top: 50px;
  background-color: #333;
  color: #fff;
  text-decoration: none;
  border-radius: 2px;
  padding: 18px;
  font-size: 19px;
  font-weight: 500;
  border: 1px solid #2B313B;
  transition: all 0.5s ease;
}
.top_link a:hover {
  background-color: #fff;
  color: #2B313B;
}


.drawers {
  position: absolute;
  right: 0;
  top: 0;
  overflow: hidden;
  }
  
  .drawer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
    position: relative;
    height: 60px;
    padding: 0 1em;
    background-color: #333;
    z-index: 9999;
  }
  
  /* タブレット以下のサイズで表示 */
  
  @media (max-width: 768px) {
  
  
  
  
  
  
    .drawers {
      display: block;
    }
    .drawer {
      height: 60px;
    }
  }
  
  .navbar_toggle {
    z-index: 999;
  cursor: pointer;
  }
  
  .navbar_toggle_icon {
    position: relative;
    display: block;
    height: 2px;
    width: 30px;
    background: #fff;
    -webkit-transition: ease .5s;
    transition: ease .5s;
    border-radius: 2px;
  }
  
  .navbar_toggle_icon:nth-child(1) {
    top: 0;
  }
  
  .navbar_toggle_icon:nth-child(2) {
    margin: 8px 0;
  }
  
  .navbar_toggle_icon:nth-child(3) {
    top: 0;
  }
  
  /*ハンバーガーメニューの開閉*/
  .navbar_toggle.active .navbar_toggle_icon:nth-child(1) {
    top: 10px;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
  }
  
  .navbar_toggle.active .navbar_toggle_icon:nth-child(2) {
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    opacity: 0;
  }
  
  .navbar_toggle.active .navbar_toggle_icon:nth-child(3) {
    top: -10px;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
  }
  
  .navbar_toggle {
    margin: 0 0 0 auto;
  }

.form_attention {
  color: #c00;
  max-width: 800px;
  margin-right: auto;
  margin-left: auto;
  margin-bottom: 25px;
}



body .slick-next {
  right: 0;
}
body .slick-prev {
  left: 0;
}
body .slick-prev,body .slick-next {
  width: 80px;
  height: 100px;
  z-index: 2;
}
body .slick-prev::before,body .slick-next::before {
  display: flex;
  justify-content: center;
  align-items: center;
  color: transparent;
  height: 100%;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}
body .slick-prev::before {
  background-image: url(../image/left.png);
}
body .slick-next::before {
  background-image: url(../image/right.png);
}
footer {
  background-color: #2B313B;
}


.footer_logo {
  margin-bottom: 0;
  margin-top: 0;
  color: #000;
  width: fit-content;
  text-align: left;
  padding-right: 0;
  padding-top: 20px;
  padding-bottom: 15px;
  padding-left: 100px;
  min-width: 520px;
  background-color: rgb(8, 78, 161);
  background-color: #2B313B;
  color: #fff;
}
footer .flex {
  max-width: 100%;
  margin-right: auto;
  margin-left: auto;
  align-items: stretch;
  background-size: cover;
  background-position: center;
  flex-wrap: nowrap;
}
.footer_logo a {
  display: block;
  max-width: 160px;
  margin-bottom: 0;
}
.contact_img,.company_img {
  width: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2em;
  height: 400px;
  color: #fff;
  overflow: hidden;
}
.footer_logo.flex {
  align-items: center;
}
.footer_logo_text {
  padding-left: 30px;
}

.contact .flex {
  width: 100%;
}
.contact a {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  text-decoration: none;
  color: #fff;
  text-shadow: 0px 0px 8px #000;
  position: relative;
}
.contact a span {
  display: block;
  font-size: 25px;
}
.global .menu ul li a {
  min-height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-right: 25px;
  padding-left: 25px;
}
.global .menu {
  max-width: 700px;
}
.menu ul li a.head_contact:hover {
  background-color: #fff;
  color: #2B313B;
}
.global .menu ul li a.head_contact span::before {
  display: none;
}
.media_inner .service_img {
  max-height: 760px;
  object-fit: contain;
  overflow: hidden;
  position: relative;
}
.service .service_box:last-child {
  margin-bottom: 0;
}
.media .relative::before {
  content: "";
  width: 100%;
  position: absolute;
  height: 110%;
  top: 0;
  bottom: 0;
  margin: auto;
  right: 0;
  left: 0;
  margin: auto;
}


.media {
  padding-top: 0;
  padding-bottom: 50px;
  min-height: 500px;
}
.media_inner h2 {
  background-color: #2B313B;
  margin-top: 0;
  padding-top: 30px;
  padding-bottom: 5px;
}
.media_inner h2 .h2_grid {
  margin-bottom: 0;
}
.media_h2 {
background-color: #2B313B;
margin-bottom: 90px;
}
.media_inner .service_img .bgappearTrigger {
  padding-top: 0;
}



.media .h2_title {
  color: #fff;
}
.media .h2_text {
  color: #fff;
}
.media h2 {
  margin-right: auto;
  margin-left: auto;
}
.media_inner {
  margin-right: auto;
  margin-left: auto;
  max-width: 100%;
  position: relative;
}
.scroll_media {
  text-align: center;
  color: #fff;
  font-weight: 700;
  font-size: 18px;
}
.scroll_media img {
  display: block;
  margin-bottom: 15px;
}


.bgextend{
  animation-name:bgextendAnimeBase;
  animation-duration:1s;
  animation-fill-mode:forwards;
  position: relative;
  overflow: hidden;/*　はみ出た色要素を隠す　*/
  opacity:0;
  width: 100%;
  height: 100%;
}

@keyframes bgextendAnimeBase{
  from {
    opacity:0;
  }

  to {
    opacity:1;  
}
}

/*中の要素*/
.bgappear{
  animation-name:bgextendAnimeSecond;
  animation-duration:1s;
  animation-delay: 0.6s;
  animation-fill-mode:forwards;
  opacity: 0;
}
.bgappear{

}


.img_box .bgappear{
height: 100%;
display: flex;
justify-content: center;
align-items: center;
}



@keyframes bgextendAnimeSecond{
  0% {
  opacity: 0;
  }
  100% {
  opacity: 1;
}
}

/*左から右*/
.bgLRextend::before{
  animation-name:bgLRextendAnime;
  animation-duration:1s;
  animation-fill-mode:forwards;
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #ccc;/*伸びる背景色の設定*/
    top: 0;
right: 0;
}
@keyframes bgLRextendAnime{
  0% {
    transform-origin:left;
    transform:scaleX(0);
  }
  50% {
    transform-origin:left;
    transform:scaleX(1);
  }
  50.001% {
    transform-origin:right;
  }
  100% {
    transform-origin:right;
    transform:scaleX(0);
  }
}

.bgBRextend::before {
  animation-name: bgBRextendAnime;
  animation-duration: 1s;
  animation-fill-mode: forwards;
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: #ccc; /* 伸びる背景色の設定 */
  bottom: 0;
  right: 0;
}

@keyframes bgBRextendAnime {
  0% {
    transform-origin: bottom right;
    transform: scaleY(0);
  }
  50% {
    transform-origin: bottom right;
    transform: scaleY(1);
  }
  50.001% {
    transform-origin: top left;
  }
  100% {
    transform-origin: top left;
    transform: scaleY(0);
  }
}



/* スクロールをしたら出現する要素にはじめに透過0を指定　*/
.bgappearTrigger,
.bgLRextendTrigger{
    opacity: 0;
}
.media .h3_title span {
  font-size: 17px;
  display: block;
  margin-top: 7px;
}
.media .service_box:last-child {
  margin-bottom: 50px;
}
.media_link a {
  text-align: center;
  border: 1px solid #fff;
  display: block;
  margin-top: 20px;
  padding: 15px;
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  max-width: 600px;
  margin-right: auto;
  margin-left: auto;
}
.media .service_text {
  height: fit-content;
}


#btn{
  position: fixed;
  right: 18px;
  bottom: 18px;
  cursor: pointer;
  background-color: #2B313B;
  border: 1px solid #fff;
  width: 60px;
  height: 60px;
  color: transparent;
  background-image: url(../image/arrow_up.png);
  background-size: 30px;
  background-position: center;
  background-repeat: no-repeat;
}
.bgappearTrigger img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bgappearTrigger {
  display: flex;
  justify-content: center;
  align-items: center;
}
.company_page.inner {
  max-width: 800px;
  margin-bottom: 100px;
}
.about .inner {
  max-width: 1300px;
}
.company_link a {
  display: flex;
  align-items: center;
  max-width: 100%;
  width: fit-content;
  font-size: 28px;
  color: #000;
  position: relative;
  text-decoration: none;
  letter-spacing: .05em;
  margin-left: auto;
}
.company_link a img {
  max-width: 30px;
  margin-bottom: 2px;
  margin-left: 15px;
}
.company_link {
  margin-top: 20px;
}
.company_link a::before {
content: "";
  bottom: 5px;
  width: 0;
  height: 2px;
  background-color: #2B313B;
  position: absolute;
  transition: all 0.5s ease;
  left: 0;
}
.company_link a:hover::before {
  width: 95%;
}
.company_link a:hover {
  opacity: .6;
}
.map {
  margin-top: 40px;
  border-bottom: 1px solid #aaa;
  padding-bottom: 20px;
}
.map iframe {
  margin-bottom: 20px;
}
video {
  max-width: 100%;
}
.open_list ul {
  padding-left: 0;
  margin-bottom: 0;
}
.open_list {
  display: none;
}
.footer_logo_text a {
  display: inline-block;
  margin-left: 5px;
  color: #fff;
  text-decoration: none;
}
.media .service_text h3 {
  margin-bottom: 20px;
}
footer .flex {
  width: 100%;
}
.footer_logo_text {
  margin-right: auto;
}
.service .service_area .service_box:nth-child(2n) .service_img {
  padding-right: 100px;
}