@charset "utf=8";

html {
  font-size: 62.5%;
}

body {
  color: #222;
  font-size: 1.6em;
  font-family: '游明朝','Yu Mincho',YuMincho,'Hiragino Mincho Pro',serif;
  font-weight: 400;
  line-height: 1.75;
  overflow-x: hidden;
}

img {
  display: block;
}

a {
  color: #222;
  transition: color 0.3s;
}

a:hover{
  color: #b10a0a;
}

/* .contact_btn a {
  position: fixed;
  top: 120px;
  right: 0;
  writing-mode: vertical-rl; 
  background-color: #b10a0a;
  color: #fff;
  padding: 15px 15px;
  font-size: 1.5rem;
  border-radius: 10px 0 0 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  display: inline-block;
  z-index: 1000;
} */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.title {
  padding-top: 50px;
  font-size: 2.9rem;
  letter-spacing: 0.04em;
  text-align: center;
}

.title02 {
  text-align: left;
}

.ruby {
  display: block;
  font-size: 1.6rem;
  letter-spacing: 0.02em;
  color: #b10a0a;
}

@media (max-width: 480px) {
  .title {
    font-size: 2.5rem;
  }
}

.scroll_up {
  transition: 0.5s ease-in-out;
  transform: translateY(30px);
  opacity: 0;
}

.scroll_up.on {
  transform: translateY(0);
  opacity: 1.0;
}

@keyframes my-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.fadein {
  animation-name:  my-fade-in;
  animation-duration: 1.8s;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  width: 100%;
  height: 98px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  align-items: center;
  background-color: #ffffff;
  z-index: 1000;
}

header.sticky {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: #ffffff;
  z-index: 1000;
}

header h1 {
  padding: 15px;
}

.header_wrap {
  width: 100%;
}

.global {
  padding-right: 25px;
  padding-bottom: 12px;
  font-family: '游明朝','Yu Mincho',YuMincho,'Hiragino Mincho Pro',serif;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.header_contact {
  display: flex;
  justify-content: flex-end;
}

.header_time {
  margin-top: 17px;
  letter-spacing: 0.02em;
}

.header_tel {
  margin-top: 13px;
  padding: 0 20px;
  font-size: 2.0rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #b10a0a;
}

.header_tel::before {
  display: inline-block;
  vertical-align: bottom;
  position: relative;
  top: -8px;
  left: 6px;
  width: 36px;
  height: 25px;
  background-image: url(../image/icon/phone.svg);
  background-repeat: no-repeat;
  content: "";
}

.btn01 {
  width: 200px;
  height: 49px;
  padding-top: 15px;
  border-radius: 0 0 0 12px;
  font-weight: 1.8rem;
  text-align: center;
  background-color: #b10a0a;
  color: #fff;
}

.btn01::before {
  display: inline-block;
  vertical-align: bottom;
  position: relative;
  top: -3px;
  left: 0px;
  width: 34px;
  height: 23px;
  background-image: url(../image/icon/mail.svg);
  background-repeat: no-repeat;
  content: "";
}

.btn01:hover {
  background-color: #b63232;
  color: #fff;
}

.global ul {
    display: flex;
    justify-content: flex-end;
    gap: 45px;
    padding-top: 25px;
}

  .nav_toggle {
    position: absolute;
    top: 50%;
    right: 0;
    display: none;
    flex-direction: column;

    transform: translateY(-50%); 
    cursor: pointer;
    width: 65px;
    height: 65px;
    padding: 13px;
  }
  
  
  .nav_toggle span {
    display: block;
    height: 3px;
    background-color: #222;
    margin: 5px 0;
    border-radius: 5px;
    width: 100%;
    margin-bottom: 5px;
  }
  
  .global.open {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: absolute;
    top: 75px;
    right: 0;
    background-color: white;
    width: 100%;
    padding: 20px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  }

@media (max-width: 980px) {
  header {
    height: 65px;
  }

  .header_contact,
  .global{
    display: none;
  }

  .nav_toggle {
    display: flex;
  }

  .global.open {
    position: absolute;
    top: 0;
    right: 0;
    display: block;
    gap: 20px;
    background-color: white;
    width: 100%;
    padding: 20px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  }

  .global.open ul {
    flex-direction: column;
    align-items: center;
  }
}


.slider-container {
  position: relative;
  display: grid;
  place-items:center;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.slider-container p {
  text-align: center;
  z-index: 10; 
}

.slideimg {
  position: absolute;
  inset: 0;
  opacity: 0;
  background-size: cover;
  animation: slideAnime 12s infinite;
}

@keyframes slideAnime {
  0%, 30%, 100% { opacity: 0; }
  10%, 20% { opacity: 1; }
}

.slideimg:nth-of-type(1){
  background-image: url('/image/mv/mv01.jpg');
  animation-delay: 0s;
  background-position:100%;
}

.slideimg:nth-of-type(2) {
  background-image: url('/image/mv/mv02.jpg');
  animation-delay: 3s;
  background-position:10%;
}

.slideimg:nth-of-type(3) {
  background-image: url('/image/mv/mv03.jpg');
  animation-delay: 6s;
  background-position:0%;
}

.slideimg:nth-of-type(4) {
  background-image: url('/image/mv/mv05.jpg');
  animation-delay: 9s;
  background-position:10%;
}

.slider-container p {
  position: absolute;
  right: 50px;
  top: 60%;
  background-color: #fff;
  /* color: #fff; */
  font-size: 4.2rem;
  border-radius: 17px;
  padding: 50px 50px;
}

@media (max-width: 800px) {
    .slider-container {
    height: 60vh;
    min-height: 400px;
  }

  .slideimg {
    background-attachment: scroll;
  }
  
  .slideimg:nth-of-type(1),
  .slideimg:nth-of-type(2),
  .slideimg:nth-of-type(3),
  .slideimg:nth-of-type(4) {
    background-position: center center;
  }
}



.about { 
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  flex-direction: row-reverse;
  padding-top: 150px;
  overflow: hidden;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.about_img {
  max-width: 100%;
  height:auto;
  display:inline-block;
  overflow: hidden;
}

.about img {
  height: 100%;
  object-fit: cover;
  animation: fadeIn 2.5s ease 0.5s 1 normal backwards;
}

.about section {
  width: 700px;
  padding-top: 50px;
  margin: 0 auto;
  text-align: justify;
  text-justify: inter-ideograph;
}

.about h2 {
  color: #b10a0a;
  margin-bottom: 50px;
}
.about section p {
  white-space: nowrap;
  font-size: 1.8rem;
}
.about_massage {
  margin-bottom: 65px;
}

@media (max-width: 980px) {
  .about_img02 {
    display: block;
  }
}
@media (min-width: 981px) {
  .about_img02 {
    display: none;
  }
}


@media (max-width: 1560px) {
  .about section {
    margin-left: 30px;
    margin-right: 20px;
  }
  .about section p{
    font-size: 1.7rem;
}
}
@media (max-width: 1450px) {
  .about_img {
    transform: translate(-4%);
}
.about section {
  margin-left: 0;
}
}
@media (max-width: 1350px) {
  .about section p {
    font-size: 1.6rem;
  }
}
@media (max-width: 1200px) {
  .about section p {
    white-space: normal;
  }
}
@media (max-width: 980px) {
  .about_img {
    display: none;
  }

  .about {
    padding-top: 50px;
    position: relative;
    justify-content: flex-end;
  }

  .about section {
    margin-left: 15px;
    transform: translate(0);
  }

  .about section p {
    white-space: normal;
  }

 .about_img02 {
  position: absolute;
  top: 70px;
  right: 0;
  width: 250px;
  height: 130px;
 }
 .about .btn_24 {
  margin-left: 20px;
  margin-bottom: 100px;
 }
}
@media (max-width: 920px) {
  .about section {
    width: 62%;
  }
  .about_img02 {
    transform: translate(3%);
}
}
@media (max-width: 800px) {
  .about_img02 {
    transform: translate(10%);
}
}
@media (max-width: 730px) {
  .about_img02 {
    transform: translate(20%);
}
}
@media (max-width: 630px) {

  .about {
    flex-direction: column-reverse;
  }
  .about section {
    margin: auto;
    width: 90%;
  }
  .about_img02 {
    display: grid;
    grid-template-columns: repeat(2, 200px);
    position: static;
    height: auto;
    transform: translate(0);
   }
  
   .about .btn_24 {
    margin-left: 20px;
    margin-bottom: 0px;
   }
  }
  @media (max-width: 414px) {
    .about_img02 {
      grid-template-columns: repeat(2, 180px);
   }
  }
.top_business {
  width: 100%;
  margin: 0;
  padding-top: 80px;
  padding-bottom: 200px;
  position: relative;
  top: 170px;
  color: #fff;

}

.top_business::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgb(177, 10, 10);
  background-image: linear-gradient(8deg, rgba(146, 8, 8, 1), rgba(177, 10, 10, 1) 53%, rgba(146, 8, 8, 1));
  transform: skewY(-4deg);
  z-index: -1;
}

.top_business::after {
  content: '';
  position: absolute;
  top: -20px;
  bottom: -20px;
  left: 0;
  right: 0;
  background-color: #cecfcf;
  transform: skewY(-6deg);
  z-index: -2;
}

.top_business h2 {
  padding-top: 0;
}

.top_business .ruby {
  color: #b3b3b3;
}

.top_business ul {
  display: flex;
  justify-content: center;
  margin: 75px auto 10px auto;
  gap: 30px;
}

.top_business li {
  position:relative;
}

.top_business figure {
  width:400px;
  height:300px;
  margin-bottom: 50px;
  display:inline-block;
  overflow: hidden;
  transform:skewY(5deg);
}

.top_business_wrap li img {
  height: 100%;
  object-fit: cover;
  transform:skewY(-5deg) scale(1.2);
  object-position: 50% 50%;
}


.top_business .name {
  position: absolute;
  bottom: 0;
  width: 200px;
  font-size: 2.3rem;
padding-left:10px;
border-bottom:solid 1px #ffffff;
}


.top_business .btn_news {
  right: 5%;
}

.top_business .btn_news a {
  color: #fff;
}

.top_business .btn_news a:hover {
  color: #fff;
}

@media (max-width: 1350px) {
  .top_business ul  {
    gap: 17px;
  }
  .top_business figure {
    width: 350px;
}
}
@media (max-width: 1150px) {
  .top_business ul {
    gap: 12px;
  }
  .top_business figure {
    width: 300px;
}

}

@media (max-width: 980px) {
  .top_business ul {
    margin-top: 40px;
    gap: 0px;
  }
  .top_business figure {
    width: 250px;
}
.top_business .name {
  width: 150px;
  font-size: 2.0rem;
}
}
@media (max-width: 780px) {
  .top_business figure {
    width: 220px;
}
}
@media (max-width: 780px) {
  .top_business figure {
    width: 195px;
}
}
@media (max-width: 680px) {
  .top_business {
    padding-bottom: 160px;
  }
 .top_business ul {
  width: 100%;
 }
 .top_business li {
  width : calc(100% / 3) ;
}
.top_business figure {
  width: auto;
}

.top_business .name {
  margin-bottom: 20px;
  border-bottom:none;
  white-space: nowrap;
}
}
@media (max-width: 480px) {
  .top_business .name {
    font-size: 1.8rem;
  }
}
a.btn_24 {
	display: block;
	text-align: center;
	width: 220px;
	margin: auto;
	padding: 1rem 4rem;
	font-weight: 500;
	border: 1px solid #b10a0a;
	color: #b10a0a;
	position: relative;
 	overflow: hidden;
 	z-index: 1;
	transition: all 0.2s ease-in;
}

a.btn_24:before {
 content: "";
 position: absolute;
 left: 50%;
 transform: translateX(-50%) scaleY(1) scaleX(1.25);
 top: 100%;
 width: 140%;
 height: 180%;
 background-color: rgba(0, 0, 0, 0.05);
 border-radius: 50%;
 display: block;
 transition: all 0.5s 0.1s cubic-bezier(0.55, 0, 0.1, 1);
 z-index: -1;
}

a.btn_24:after {
 content: "";
 position: absolute;
 left: 55%;
 transform: translateX(-50%) scaleY(1) scaleX(1.45);
 top: 180%;
 width: 160%;
 height: 190%;
 background-color: #b10a0a;
 border-radius: 50%;
 display: block;
 transition: all 0.5s 0.1s cubic-bezier(0.55, 0, 0.1, 1);
 z-index: -1;
}

.btn_24:hover {
 color: #ffffff;
 border: 1px solid #b10a0a;
}

.btn_24:hover:before {
 top: -35%;
 background-color: #b10a0a;
 transform: translateX(-50%) scaleY(1.3) scaleX(0.8);
}

.btn_24:hover:after {
 top: -45%;
 background-color: #b10a0a;
 transform: translateX(-50%) scaleY(1.3) scaleX(0.8);
}

.top_works {
  margin-top: 350px;
  height: 560px;
  /* background-color: #cecece;
  background-image:
    linear-gradient(rgba(255,255,255,.5) 2px, transparent 2px),
    linear-gradient(90deg, rgba(255,255,255,.5) 2px, transparent 2px),
    linear-gradient(rgba(255,255,255,.28) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.28) 1px, transparent 1px);
  background-size: 100px 100px, 100px 100px, 20px 20px, 20px 20px;
  background-position: -2px -2px, -2px -2px, -1px -1px, -1px -1px; */
  
}

.top_works ul {
  display: flex;
  margin: 0 auto;
  padding-top: 25px;
  padding-bottom: 50px;
  gap: 20px;
}

.top_works img {
  width: 100%;
}

.slide-animation {
  display: flex;
  gap: 20px;
  overflow: hidden;
}

.slide-animation li {
  width: 300px;
}

.slide-contents {
  display: flex;
  animation: loopAnimation 30s linear infinite;
}

@keyframes loopAnimation {
  0% {
  transform: translate(0%);
  }
  100% {
  transform: translate(-100%);
  }
}




@media (max-width: 980px) {
  .top_works {
    height: 530px;
    margin-top: 270px;
  }

  .top_works ul {
    gap: 15px;
  }

  .slide-animation {
    gap: 15px;
  }

  .slide-animation li {
    width: 270px;
  }
}
.top_works .btn_24 {
  margin-top: 50px;
}
@media (max-width: 630px) {
  .top_works {
    height: 430px;
  }

  .top_works ul {
    gap: 10px;
  }

  .slide-animation li {
    width: 220px;
  }

  .slide-contents {
    animation: loopAnimation 20s linear infinite;
  }
  .top_works .btn_24 {
    margin-top: 0px;
  }
}

.area {
  height: 670px;
}

.area h2 {
  margin-top: 30px;
  margin-bottom: 17px;
  padding-bottom: 7px;
  border-bottom: 1px solid #b10a0a;
}

.area .subtitle {
  font-size: 1.65rem;
  text-align: center;
}

.area h3 {
  padding-left: 20px;
  margin: 10px;
  background-image: linear-gradient(#f37a7a 50%, #b10a0a 50%);
  background-size: 8px 100%;
  background-repeat: no-repeat;
}

.area_wrap {
  display: flex;
  width: 1100px;
  margin: 0 auto;
  padding-top: 30px;
  padding-bottom: 30px;
}

.area ul {
  display: flex;
  flex-wrap: wrap;
  width: 600px;
  margin: 0 auto;
  gap: 25px;
}

.area ul li{
  width: 45%;
}

.area li p {
  line-height: 1.55;
  text-align: justify;
  text-justify: inter-ideograph;
}

@media (max-width: 1150px) {
  .area_wrap {
    width: 1000px;
    padding-left: 30px;
    padding-right: 20px;
  }
}

@media (max-width: 980px) {
  .area {
    height: 820px;
  }
  .area h2 {
    margin-top: 0px;
  }
  .area_wrap {
    flex-direction: column;
    width: 600px;
    margin:0 auto ;
  }

  .area img {
    width: 290px;
    margin: 20px auto ;
  }
}

@media (max-width: 630px) {
  .area {
    height: auto;
  }

  .area h2 {
    margin-bottom: 15px;
    padding-bottom: 5px;
  }

  .area h3 {
    background-size: 8px 80%;
    padding: 0 0 5px 20px;
    margin: 5px 0 5px 0;
  }

  .area_wrap {
    flex-direction: column;
    width: 100%;
    padding: 15px;
  }

  .area ul {
    display: block;
    width: 100%;
    gap: 15px;
  }

  .area ul li {
    width: 100%;
  }
  .area h3 {
    font-size: 1.65rem;
  }

  .area img {
    max-width: 80%;
    height: auto;
    margin: 0 auto 30px;
    padding-top: 20px;
  }
}

@media (max-width: 480px) {
  .area .subtitle {
    font-size: 1.6rem;
  }


  .area div {
    padding: 13px;
  }

  .area ul {
    gap: 20px;
  }

  .area img {
    padding-top: 10px;
  }
}

.top_recruit {
  color: #fff;
  background-image: url(../image/top_recruit.png);
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center center;
  background-size: cover;
  height: 100%;
}

.top_recruit h2 {
  margin-bottom: 15px;
  padding-top: 90px;
}

.top_recruit .subtitle {
  margin-bottom: 22px;
  font-size: 1.65rem;
}

.top_recruit p {
  width: 750px;
  margin: 0 auto;
  line-height: 1.9;
  letter-spacing: 0.02em;
  text-align: center;
}

.top_recruit span {
  display: block;
  margin-bottom: 15px;
}

.top_recruit ul {
  display: flex;
  justify-content: center;
  gap: 80px;
}

.top_recruit  a {
  display: inline-block;
  width: 270px;
  margin-top: 90px;
  margin-bottom: 130px;
  padding: 15px 0;
  border: 1px solid #fff;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.4);
  color: #fff;
  transition: all 0.3s ease;
}

.top_recruit a:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.top_recruit a:hover::before {
  filter: blur(10px) contrast(150%);
}

@media (max-width: 980px) {
  .top_recruit p {
    width: 88%;
  }
}

@media (max-width: 770px) {
  .top_recruit ul {
    gap: 40px;
}
}

@media (max-width: 630px) {
  .top_recruit ul {
    flex-direction: column;
    text-align: center;
    gap: 45px;
}
.top_recruit p {
  font-size: 1.55rem;
}
.top_recruit a {
  margin: 0;
}

.top_recruit .rec_link01 {
  margin-top: 70px;
}

.top_recruit .rec_link02 {
  margin-bottom: 130px;
}
}

@media (max-width: 480px) {
  .top_recruit p {
    font-size: 1.5rem;
  }
  .top_recruit a {
    width: 250px;
  }
}

.top_news {
  position: relative;
  display: flex;
  width: 1050px;
  margin: 50px auto;
}

.top_news h2 {
  width: 200px;
  padding: 100px 0;
}

.top_newslist {
  position: relative;
  width: 800px;
  margin: 100px auto;
}

.top_news dl {
  display: flex;
  padding: 27px 100px;
  letter-spacing: 0.07em;
  border-top: 1px solid #cecece;
  border-bottom: 1px solid #cecece;
}

.top_news time {
  padding-right: 30px;
  color: #555;
}

.btn_news {
  position: absolute;
  right: 10px; 
}

.btn_news a {
  position: relative;
  display: inline-block;
  width: 180px;
  padding: 4px 16px 4px 0;
  margin: 24px;
  margin-inline: auto;
  font-size: 1.5rem;
  text-align: center;
  letter-spacing: 0.1em;
}

.btn_news a::before {
  content: "";
  position: absolute;
  bottom: 0;
  display: block;
  width: 180px;
  height: 1px;
  background: #cecece;
  transition: all 0.3s;
}

.btn_news a::after {
  content: "";
  position: absolute;
  bottom: 10px;
  right: -3px;
  display: block;
  width: 30px;
  height: 1px;
  background: #cecece;
  rotate: 40deg;
  transition: all 0.3s;
}

.btn_news a:hover {
  color: #222;
}

.btn_news a:hover::after,
.btn_news a:hover::before {
  translate: 20px 0;
  transition: all 0.3s;
}

.top_news li:hover time {
  color: #b10a0a;
}

.top_news li a {
  position: relative;
}

/* .top_news li :after {
  content: '';
  position: absolute;
  top: 0;
  right: 37px;
  bottom: 0; 
  width: 7px;
  height: 7px;
  margin: auto;
  border-top: solid 1px #b10a0a;
  border-right: solid 1px #b10a0a;
  transform: rotate(45deg);
} */

@media (max-width: 1150px) {
  .top_news {
    width: 95%;
  }
}

@media (max-width: 1020px) {
  .top_news dl {
    padding-right: 20px;
  }
}

@media (max-width: 980px) {
  .top_news {
    flex-direction: column;
    width: 100%;
    margin-top: 70px;
    margin-bottom: 120px;
  }

  .top_news h2 {
    margin: auto;
    margin-bottom: 30px;
    padding: 0;
  }

  .top_newslist {
    width: 90%;
    margin: 10px auto;
  }

  .top_news dl {
    padding-left: 45px;
    padding-right: 50px;
  }

  .top_news dd {
    padding-left: 20px;
  }

  /* .top_news li :after {
    right: 15px;
  } */

}

@media (max-width: 630px) {
  .top_news dl{
  flex-direction: column;
  padding-left: 10px;
  padding-right: 7px;
  }

.top_news dd {
  padding: 0;
  padding-right: 10px;
}
.top_news li :after {
  right: 9px;
}
.btn_news {
  font-size: 1.6rem;
  right: 5px; 
}

.btn_news a::before {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  display: block;
  width: 160px;
  height: 1px;
  background: #cecece;
  transition: all 0.3s;
}

.btn_news a::after {
  content: "";
  position: absolute;
  bottom: 6px;
  right: -3px;
  display: block;
  width: 20px;
  height: 1px;
  background: #cecece;
  rotate: 40deg;
  transition: all 0.3s;
}
.btn_news a:hover::after,
.btn_news a:hover::before {
  translate: 12px 0;
}
}

@media (max-width: 480px) {
  .top_newslist {
    width: 94%;
  }

  .btn_news a {
    width: 150px;
    margin-top: 10px;
  }
  .btn_news a::before {
    width: 150px;
  }
}
@media (max-width: 430px) {
  .top_news .break {
  display: block;
}
}
.footer_contact {
  height: 450px;
  background-color: #cecece;
  text-align: center;
}

.footer_contact p {
  margin-top: 8px;
  font-size: 1.65rem;
}

.footer_contact ul {
  display: flex;
  justify-content: center;
  padding-top: 20px;
  gap : 30px;
}

.footer_contact li {
  width: 395px;
  padding: 30px 40px;
  font-size: 2.1rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  background-color: #fff;
  color: #b10a0a;
}

.footer_contact li a {
  display: block;
}

.tel {
  display: block;
  margin-top: 5px;
  border-top: 1px solid #c4c4c4;
  font-size: 2.4rem;
  font-weight: bold;
  letter-spacing: 0.05em;
  color: #222;
}

.footer_contact .tel a {
  display: inline;
  pointer-events: none;
  cursor: default;
}

@media (max-width: 980px) {
  .footer_contact .tel a {
    pointer-events: auto;
    cursor: pointer;
  }
}

.tel::before {
    content: "";
    display: inline-block;
    position: relative;
    vertical-align: bottom;
    top: -10px;
    left: 0px;
    width: 35px;
    height: 27px;
    background-image: url(../image/icon/phone.svg);
    background-repeat: no-repeat;
  }

.time {
  font-size: 1.65rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: #222;
}

.footer_contact .btn_03 {
  width: 295px;
  margin: auto;
  margin-top: 10px;
  padding: 10px 40px;
  border-radius: 28px;
  font-size: 2.0rem;
  font-weight: 400;
  background-color: #b10a0a;
  color: #fff;
}

.footer_contact .btn_03:hover {
  opacity: 0.9;
}

@media (max-width: 980px) {
  .footer_contact {
    height: 630px;
  }

  .footer_contact ul {
    flex-direction: column;
    gap: 23px;
  }

  .footer_contact li {
    width: 415px;
    height: 181px;
    margin: 0 auto;
  }
}
@media (max-width: 630px) {
  .footer_contact .break {
  display: block;
}
}
@media (max-width: 630px) {
  .footer_contact p {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (max-width: 480px) {
  .footer_contact p {
    font-size: 1.6rem;
  }

  .footer_contact li {
    width: 88%;
    height: 168px;
    padding: 25px 25px
  }
 .footer_contact .btn_03 {
   margin-top: 10px;
 }
  .tel {
    font-size: 2.2rem;
  }

  .time {
    font-size: 1.6rem;
  }

  .footer_contact .btn_03 {
    width: 90%;
    font-size: 1.8rem;
    padding-left: 10px;
    padding-right: 10px;
    white-space: nowrap;
  }
}

@media (max-width: 414px) {
  .footer_contact p {
    font-size: 1.5rem;
  }
  .footer_contact .btn_03 {
    width: 98%;
    font-size: 1.7rem;
  }
}

.footer_wrap {
  display: flex;
  justify-content: space-between;
  background-color: #232927;
  color: #fff;
}

footer h2 {
  padding: 55px 95px 35px;
}

footer address {
  padding: 20px 100px 80px;
}

footer address a {
  pointer-events: none;
  cursor: default;
}

footer a {
  color: #fff;
}

footer a:hover {
  color: #b3b3b3;
}

.copyright {
  padding: 40px 100px 80px;
  border-top: 1px solid #787d7f;
  font-size: 1.4rem;
  background-color: #232927;
  color: #787d7f;
}

small {
  font-size: 1.4rem;
}

.copyright a {
  color: #787d7f;
}

.copyright span {
  padding-left: 10px;
  padding-right: 10px;
}

footer nav ul {
  display: flex;
  padding-top: 85px;
  padding-right: 100px;
  font-size: 1.7rem;
  gap: 27px;
}

footer nav a {
  position: relative;
  display: inline-block;
  padding-left: 17px;
  letter-spacing: 0.01em;
}

footer nav li a:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 7px;
  height: 7px;
  margin: auto;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(45deg);
}

footer nav a:hover:before {
  border-top: solid 2px #b3b3b3;
  border-right: solid 2px #b3b3b3;
}

@media (max-width: 1150px) {
  footer h2 {
    padding-right: 30px;
  }

  footer address {
    padding-right: 0px;
  }

  footer nav ul {
    padding-right: 65px;
}
}

@media (max-width: 1020px) {
  footer h2 {
    padding-left: 60px;
  }

  footer address {
    padding-left: 60px;
  }

  .copyright {
    padding-left: 60px;
  }

  footer nav ul {
    padding-right: 60px;
}
}

@media (max-width: 980px) {
  .footer_wrap {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  footer address {
    padding: 0 50px 40px;
  }

  footer address a {
    pointer-events: auto;
    cursor: pointer;
  }

  footer nav ul {
    padding: 0;
    padding: 50px 0 80px;
    gap: 15px;
  }

  footer h2 {
    padding: 40px 50px 50px;
  }

  .copyright {
    padding: 20px 70px 40px;
  }
}

@media (max-width: 630px) {
  footer img {
    width: 90%;
  }

  footer nav ul {
    flex-direction: column;
    padding-top: 0px;
    padding-bottom: 40px;
    gap: 6px;
  }

  .copyright {
    padding: 13px 0 50px 30px;
  }
}

@media (max-width: 414px) {
  footer img {
    width: 80%;
  }

  footer address {
    padding-left: 20px;
    padding-right: 20px;
    font-size: 1.5rem;
  }

  footer nav ul {
    font-size: 1.6rem;
  }

  .copyright {
    padding-left: 10px;
  }
  
  .copyright span {
    padding-left: 5px;
    padding-right: 5px;
  }
}

#container {
  display: flex;
  position: relative;
  height: 380px;
  background-color: #fff;
  /* background-image: url(../image/title_bg.png); */
  background-repeat: no-repeat;
}



.animate_title {
  position: absolute;
  top: 65%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #444;
  font-size: 5.8rem;
  letter-spacing: 0.05em;
  opacity: 0;
  font-weight:500;
  transition: opacity 0.5s ease;
}
.animate_title.inview {
  opacity: 1;
}
.animate_title .char {
  display: inline-block;
  opacity: 0; /* Initially hidden */
  transform: translateY(-50%); /* Start from above */
  animation-name: kf-animate-chars;
  animation-duration: 0.5s;
  animation-timing-function: ease;
  animation-iteration-count: 1;
  animation-direction: normal;
  animation-fill-mode: both;
}


@keyframes kf-animate-chars {
  0% {
    opacity: 0;
    transform: translateY(-50%);
  }

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


@media (max-width: 980px) {
  #container {
  height: 330px;
  }
}
@media (max-width: 630px) {
  #container {
  height: 300px;
  }
  .animate_title {
    font-size: 4.8rem;
  }
}
@media (max-width: 480px) {
  #container {
  height: 250px;
  }
  .animate_title {
    font-size: 4.2rem;
  }
}
.company,
.recruit {
background-image: url(/image/logo_bg.png);
background-repeat: no-repeat;
background-attachment: fixed;
background-position: right bottom;
}
@media (max-width: 1450px) {
  .company,
  .recruit {
    background-image: none;
  }
}


.greeting {
   width: 800px;
  margin-left: 15%; 
  margin-right: 20%;
background-color: rgba(255, 255, 255, 0.9);
}

.greeting section {

  padding-right: 50px;
  padding-top: 45px;
  letter-spacing: 0.01em;
  text-align: justify;
}

.greeting h3 {
  margin-bottom: 15px;
  font-size: 2.0rem;
  letter-spacing: 0.04em;
}
.greeting p {
  margin-top: 18px;
}

.greeting .right {
  margin-top: 38px;
  font-size: 1.7rem;
  text-align: right;
}
.right span {
  padding-left: 25px;
}

.outline {
  width: 800px;
  margin-left: 15%;
  padding-bottom: 20px;
  background-color: rgba(255, 255, 255, 0.9);
}
.outline table {
  
  width: 95%;
  margin: 50px 0; 
  margin-right: 50px;
  

}
.outline th {
  width: 25%;
  padding: 20px;
  font-weight: 600;
  border-top: 1px solid #dae0e0;
  border-bottom: 1px solid #dae0e0;
  white-space: nowrap;
  background-color: #f7f7f7;
  color: #333;
}

.outline td {
  flex: 1;
  width: 85%;
 
  padding: 17px 17px 17px 20px;
  border-top: 1px solid #dae0e0;
  border-bottom: 1px solid #dae0e0;
}

iframe {
  width: 100%;
}

@media (max-width: 1150px) {
  .greeting {
    margin-left: 10%;
  }

  .outline {
    margin-left: 10%;
  }
}

@media (max-width: 980px) {
  .greeting {
    width: 750px;
  }

  .greeting section {
    width: 690px;
    letter-spacing: 0;
  }

  .outline,
  .requirements   {
    width: 750px;
  }

  .outline th,
  .outline td {
    padding: 15px;
  }
}

@media (max-width: 830px) {
  .greeting  {
    width: 90%;
  }
  .greeting section {
    width: 95%;
  }
  .outline {
    width: 90%;
  }
}
@media (max-width: 630px) {
  .greeting {
    margin-left: 5%;
    margin-right: 0;
  }

  .greeting section {
    margin-left: 5%;
    font-size: 1.5rem;
  }
  .greeting .right {
    font-size: 1.6rem;
  }

  .outline  {
    font-size: 1.5rem;
    margin-left: 5%;
  }

}
@media (max-width: 480px) {
  .outline th {
    padding: 15px 10px;
}
}

.business {
  width: 95%;
  margin: 0 auto;
}

.business ul {
  margin-top: 50px;
}

.business ul li {
  display: flex;
  justify-content: center;
  margin-bottom: 90px;
}

.business ul li section {
  width: 550px;
  min-width: 390px;
}

.bus_list02 {
  flex-direction: row-reverse;
}

.bus_list01 section {
  margin-left: 30px;
  margin-right: 50px;
}

.bus_list02 section {
  margin-left: 50px;
  margin-right: 30px;
} 

.business h3 {
  padding: 10px;
}

.business section p {
  margin-top: 20px;
  padding-top: 10px;
  border-top: 1px solid #b3b3b3; 
}

.list_ruby {
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
}


@keyframes fadeInR {
  from {
    opacity: 0;
    transform: translateX(20px); 
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInL {
  from {
    opacity: 0;
    transform: translateX(-20px); 
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.business img {
  width: 100%;
  object-fit: cover;
}

.business_img01 {
  animation: fadeInR 2.5s ease 0.5s 1 normal backwards;
}

.scroll_up.on  .business_img02 {
  animation: fadeInL 2.5s ease 0.5s normal backwards;
}

.scroll_up.on  .business_img03 {
  animation: fadeInR 2.5s ease 0.5s 1 normal backwards;
}

@media (max-width: 980px) {
  .business {
    width: 83%;
  }
  .business ul {
    margin-top: 30px;
  }
  .business ul li {
    position: relative;
    justify-content: flex-start;
    margin-bottom: 50px;
  }
  .business_wrap li {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;

  }
  .ruby01 {
    position: absolute;
    left:  -20px;
  }
  .ruby02 {
    position: absolute;
    right: -20px;
  }
  .ruby03 {
    position: absolute;
    left: -20px;
  }

  .business img{
    height: 300px;
    margin-top: 30px;
  }
  .business_img01,
  .business_img03{
    margin-left: 55px;
}
.business_img02 {
  margin-right: 55px;
}
}
@media (max-width: 630px) {
  .business ul h2 {
    font-size: 2.2rem;
  }
  .business ul li section {
    width: 100%;
    min-width: 0;
     margin-left: 30px;
    margin-right: 30px;
  }
  .business_img01,
  .business_img02,
  .business_img03 {
    margin: auto;
  }
}
@media (max-width: 480px) {
  .ruby01 {
    top: 40px;
    left:  -35px;
  }
  .ruby02 {
    top: 40px;
    right: -35px;
  }
  .ruby03 {
    top: 40px;
    left: -35px;
  }
  .business ul li section {
     margin-left: 10px;
    margin-right: 10px;
    font-size: 1.5rem;
  }
  .business img {
    height: 220px;
  }
}
.works {
  width: 1100px;
  margin: 0 auto;
}

.works_list {
  display: flex;
  padding-top: 100px;
  font-size: 1.5rem;
  gap: 10px;
}

.works_list li {
  padding: 5px 20px;
  border-radius: 17px;
  color: #444;
  background-color: #cecece;
  cursor: pointer;
  transition: all 0.3s;
}

.works_list li.is-active {
  background-color: #b10a0a;
  color: #fff;
}

.works_item {
  display: flex;
  flex-wrap: wrap;
  padding: 40px 0 130px;
  gap: 30px;
}

.works_item li {
  position: relative;
  width: 380px;
  text-align: center;
  overflow: hidden;
}

.works_item a {
  padding: 0;
}

.works_item figure {
  aspect-ratio: 3 / 2;
}

.works_item img {
  width: 100%;
  height: 100%;
  transition: transform 0.6s ease;
  object-fit: cover;
}

.works_item li :hover img {
  transform: scale(1.1);
  transition-duration: 0.5s;
  opacity: 0.6;
}

.works_item p {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 8px 10px;
  letter-spacing: 0.03em;
  background-color: rgba(0, 0, 0, 0.8);
  color: #fff;
}

.works_tag {
  position: absolute;
  top: 0;
  left: 0;
  padding: 0 15px;
  font-size: 1.5rem;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.5);
  color: #fff;
}

.nav_page span {
  display: block;
  width: 50px;
  height: 50px;
  margin: 40px auto;
  padding-top: 17px;
  border-radius: 4px;
  font-family: sans-serif;
  text-align: center;
  line-height: 1;
  background-color: #b10a0a;
  color: #fff;
  cursor: pointer;
} 
.works .nav_page span {
  margin-bottom: 60px;
}
@media (max-width: 1200px) {
  .works {
    width: 85%;
  }
}

@media (max-width: 980px) {
  .works_list {
    font-size: 1.4rem;
    padding-top: 80px;
}
}
@media (max-width: 630px) {
  .works_item {
    padding-bottom: 80px;
  }
}

@media (max-width: 480px) {
  .works_list {
    padding-top: 60px;
}
.nav_page span {
  width: 40px;
  height: 40px;
  padding-top: 12px;
}
}

.message {
  width: 820px;
  background-color: rgba(255, 255, 255, 0.9);
}

.requirements {
  width: 820px;
}
.partner {
  width: 820px;
}

.message div {
  display: flex;
}

.message section {
  width: 80%;
  padding-right: 0;
}
.message img {
  width: 400px;
  height: 300px;
  padding-left: 20px;
  padding-right: 20px;
  object-fit: cover;
}
.partner .subtitle {
  margin-top: 15px;
}
.wrap-text {
  white-space: nowrap;
}
.break {
  display: inline-block;
}
.wrap-text02 {
  white-space: nowrap;
}
.break02 {
  display: inline-block;
}
@media (max-width: 980px) {
  .message div {
    flex-direction: column-reverse;
  }
  .message img {
    height: 80%;
  }
    .requirements,
    .partner {
    width: 710px;
  }
  .requirements .wrap-text {
    white-space: normal;
  }
  .requirements .break {
    display: block;
  }
}

@media (max-width: 830px) {
  .message {
    width: 90%;
  }
  .message section {
    width: 90%;
  }
  .requirements,
  .partner {
    width: 90%;
  }
}

@media (max-width: 730px) {
  .requirements th {
    width: 18%;
  }
  .partner th {
    width: 18%;
  }
  .requirements .wrap-text02 {
    white-space: normal;
  }
  .requirements .break02 {
    display: block;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (max-width: 480px) {
  .recruit .title {
    font-size: 2.5rem;
  }
}

.news {
  height: 550px;
}

.news_list {
  width: 1000px;
  margin: 0 auto;
  padding-top: 35px;
  padding-bottom: 140px;
}

.news_list li {
  position: relative;
  margin-bottom: 10px;
  border: 1px solid #b3b3b3;
  border-radius: 10px;
  background-color: #fff;
}

.news_list li :after {
  content: '';
  position: absolute;
  top: 0;
  right: 37px;
  bottom: 0;
  width: 8px;
  height: 8px;
  margin: auto;
  border: 0;
  border-top: solid 1px #b10a0a;
  border-right: solid 1px #b10a0a;
  transform: rotate(45deg);
}

.news_list dl {
  display: flex;
  padding: 27px 100px;
  letter-spacing: 0.07em;
}

.news_list time {
  padding-right: 30px;
  color: #666;
}

.news_list li:hover {
  border: 1px solid #b10a0a;
}

.news_list li:hover a,
.news_list li:hover time {
  color: #b10a0a;
}

@media (max-width: 1150px) {
  .news_list {
    width: 90%;
  }
}

@media (max-width: 980px) {
  .news_list dl {
    flex-direction: column;
    padding: 15px 70px 15px 55px;
  }

  .news_list time {
    padding-right: 0;
  }

  .news_list li {
    margin-bottom: 15px;
    padding: 10px;
  }
}

@media (max-width: 700px) {
  .news_list li :after {
    right: 10px;
  }

  .news_list dl {
    padding-left: 30px;
    padding-right: 30px;
  }
}

@media (max-width: 630px) {
.news_list {
  padding-bottom: 90px;
}
}

@media (max-width: 480px) {
  .news_list dl {
    font-size: 1.5rem;
  }
}

.news_content {
  width: 900px;
  height: 500px;
  margin: 0 auto;
  padding: 100px 20px 400px;
}

.news_content h2 {
  margin-bottom: 30px;
  border-bottom: 1px solid #b3b3b3;
  font-size: 2.3rem;
}

.news_content time {
  font-size: 1.6rem;
  color: #555;
}

.news_content p {
  margin-bottom: 100px;
}

@media (max-width: 980px) {
  .news_content {
    width: 90%;
    padding: 70px 15px;
}
}

@media (max-width: 760px) {
  .news_content {
    width: 94%;
  }
  .news_content h2{
    font-size: 2.2rem;
  }
}

@media (max-width: 630px) {
  .news_content {
    width: 97%;
    height: 530px;
    padding-top: 80px;
  }
}

@media (max-width: 480px) {
  .news_content h2 {
    font-size: 1.95rem;
  }

  .news_content p {
  font-size: 1.5rem;
}
}

@media (max-width: 414px) {
  .news_content {
    padding-top: 60px;
  }
  .news_list dl{
    padding-left: 20px;
    padding-right: 25px;
}
}

.contact {
  width: 820px;
  margin: 0 auto;
}

.contact p {
  margin-top: 25px;
}

.iframe-wrapper {
  width: 100%;
  height: 1100px;
  overflow: hidden;
  position: relative;
}

.iframe-wrapper iframe {
  width: 100%;
  height: 100%;
  position: relative;
  top: -50px;
  border: none;
  display: block;
  overflow: hidden;
}

@media (max-width: 980px) {
  .contact {
    width: 90%;
  }
}

@media (max-width: 700px) {
  .contact {
    width: 95%;
  }
}

@media (max-width: 630px) {
  .contact p {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .contact iframe {
    top: -30px;
}
}
.gekkyuu {
  text-align: justify;
  text-justify: inter-ideograph;
  margin-left: 10px;
  color:#919191;
}