@charset "utf-8";
/* 拡大から徐々に縮小するアニメーション */
@keyframes zoomOut {
    0% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1.0);
    }
}

/*===============================================
●画面の横幅が769px以上
===============================================*/
@media screen and (min-width : 769px ){
#pc------------------------------------------- {
}
#helo {
  width: 94.1434846266vw;
  height: 45.2415812592vw;
  margin: auto;
  position: relative;
  overflow: hidden;
  border-radius: 15px;
}

#helo .bg {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-size: 100%;
  opacity: 0;
  transition: opacity 1.2s ease;
  transform: scale(1.0);
 }
 
  
 #helo .bg:nth-child(1) {
  background-image: url('../images/pc/top/slide01.png');
}
#helo .bg:nth-child(2) {
  background-image: url('../images/pc/top/slide02.png');
}
#helo .bg:nth-child(3) {
  background-image: url('../images/pc/top/slide03.png');
}

/* アクティブ時だけズームアニメーション付与 */
#helo .bg.active {
  opacity: 1;
  animation: zoomOut 6s forwards linear;
}

@keyframes zoomOut {
  0% { transform: scale(1.1); }
 100% { transform: scale(1.0); }
}

#helo h2 {
  width: 520px;
  height: 120px;
  background-color: #fff;
  border-top-right-radius: 30px;
  line-height: 120px;
  font-size: 40px;
  font-weight: 500;
  color: #0064B8;
  position: absolute;
  bottom: -40px;
  left: -40px;
}





#about {
	max-width: 1024px;
	width: 90%;
	margin-left: auto;
	margin-right: auto;
	margin-top: 220px;
}
#about .flex {
	display: flex;
	justify-content: space-between;
}
#about .flex div {
	width: 43%;
	text-align: left;
}
#about .flex div h3 {
	font-size: 34px;
	line-height: 1.5em;
	margin-top: 50px;
	margin-bottom: 25px;
}
#about .flex div .btn {
	margin-top: 30px;
}
#about .flex figure {
	width: 50%;
	margin-top: -30px;
}
#about .flex figure img {
	width: 100%;
	height: auto;
}





#service {
	max-width: 1104px;
	margin-left: auto;
	margin-right: auto;
	width: 90%;
	background-color: #D9E9F4;
	border-radius: 30px;
	padding-bottom: 60px;
}
#service h2 {
	text-align: center;
	position: relative;
	top: -35px;
	margin-top: 150px;
}
#service h2 span {
	margin-bottom: 10px;
}
#service .flex {
	display: flex;
	justify-content: space-between;
	width: 86%;
	margin-left: auto;
	margin-right: auto;
}
#service .flex div {
	width: 48%;
	background-color: #fff;
	border-radius: 30px;
	padding-bottom: 35px;
}
#service .flex div figure img {
	width: 100%;
	height: auto;
}
#service .flex div figure+p {
	margin-top: 25px;
	margin-bottom: 15px;
}
.wrap {
  overflow: hidden;
  width: 100vw;
  position: relative;
}

#slide {
  display: flex;
  width: max-content;
  position: relative;
  animation: slideLoop var(--duration) linear infinite;
  margin-top: 150px;
  margin-bottom: 210px;
}
#slide li {
  margin-right: 60px;
}





#recruit {
	display: flex;
	justify-content: flex-end;
}
#recruit .inner {
	padding-bottom: 60px;
	width: 50%;
	background-color: #D9E9F4;
	border-bottom-left-radius: 30px;
	border-top-left-radius: 30px;
	text-align: left;
	position: relative;
}
#recruit .inner figure {
	position: absolute;
	max-width: 580px;
	width: 42.4597364568vw;
	right: 45vw;
	top: -60px;
}
#recruit .inner figure img {
	width: 100%;
	height: auto;
}
#recruit .inner div {
	margin-left: 8vw;
	width: 70%;
	max-width: 340px;
}
#recruit .inner div h2 {
	margin-top: -32px;
}
#recruit .inner div h2 span {
	margin-bottom: 10px;
}
#recruit .inner div h3 {
	font-size: 28px;
	line-height: 1.4em;
	margin-top: 50px;
	margin-bottom: 30px;
}
#recruit .inner div .btn {
	margin-top: 30px;
}
#recruit .inner div .btn span {
	background-color: #fff;
}
#recruit .inner div .btn a:hover span {
	background-color: #0064B8;
}





#news {
	max-width: 1024px;
	width: 90%;
	margin-left: auto;
	margin-right: auto;
	margin-top: 150px;
}
#news .flex {
	display: flex;
	justify-content: space-between;
	text-align: left;
}
#news .flex div {
	width: 30%;
	min-width: 250px;
}
#news .flex h2 {
	margin-bottom: 40px;
}
#news .flex h2 span {
	margin-bottom: 10px;
}

#news .flex article {
	width: 65%;
}
#news .flex article ul li a {
    color: #393939;
    text-decoration: none;
    border-bottom: 1px solid #393939;
    display: block;
    padding: 25px 0;
    position: relative;
	display: flex;
}

/* 疑似要素で画像を仕込む */
#news .flex article ul li a::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    width: 50px; /* 画像に合わせて調整 */
    height: 50px;
    background-image: url("../images/pc/top/news_arrow.png");
    background-size: contain;
    background-repeat: no-repeat;
    transform: translateY(-50%);
    opacity: 0;
    transition: opacity 0.3s ease; /* ←ふんわり表示 */
}

/* hover時にゆっくり表示 */
#news .flex article ul li a:hover::after {
    opacity: 1;
}
#news .flex article ul li a time {
	margin-right: 40px;
}





#contact {
	width: 90%;
	max-width: 1024px;
	margin-left: auto;
	margin-right: auto;
	background-color: #0064B8;
	margin-top: 120px;
	border-radius: 30px;
	text-align: center;
	padding-top: 60px;
	padding-bottom: 60px;
	position: relative;
}
#contact h2 {
	color: #fff;
	text-align: center;
}
#contact h2 span {
	color: #fff;
	margin-bottom: 10px;
}
#contact h2+p {
	color: #fff;
	margin-top: 30px;
}
#contact p+p {
	display: block;
	background-color: #fff;
	width: 50px;
	height: 50px;
	border-radius: 100px;
	margin-left: auto;
	margin-right: auto;
	margin-top: 30px;
}
#contact p+p img {
	width: 15px;
	height: auto;
	position: relative;
	top: 22px;
}
#contact a {
	display: block;
	width: 100%;
	height: 100%;
	position: absolute;
	left: 0px;
	top: 0px;
	z-index: 99;
}
#contact a:hover {
	background-color: rgba(255,255,255,0.20);
}
}



/*===============================================
●画面の横幅が768pxまで
===============================================*/
@media screen and (max-width:768px){
	
/*===============================================
●sp-tablet
===============================================*/
#sptablet------------------------------------------- {
}
#helo {
  width: 90%;
  height: 152.8vw; /* 573px */
  margin: auto;
  position: relative;
  overflow: hidden;
  border-radius: 4vw; /* 15px */
}

#helo .bg {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-size: 100%;
  opacity: 0;
  transition: opacity 1.2s ease;
  transform: scale(1.0);
}

/* 画像指定（変更なし） */
#helo .bg:nth-child(1) {
  background-image: url('../images/sp/top/slide01.png');
}
#helo .bg:nth-child(2) {
  background-image: url('../images/sp/top/slide02.png');
}
#helo .bg:nth-child(3) {
  background-image: url('../images/sp/top/slide03.png');
}

#helo .bg.active {
  opacity: 1;
  animation: zoomOut 6s forwards linear;
}

@keyframes zoomOut {
  0% { transform: scale(1.1); }
  100% { transform: scale(1.0); }
}

#helo h2 {
  width: 83.2vw;    /* 312px */
  height: 19.2vw;   /* 72px */
  background-color: #fff;
  border-top-right-radius: 4.8vw; /* 18px */
  line-height: 19.2vw;
  font-size: 6.4vw; /* 24px */
  font-weight: 500;
  color: #0064B8;
  position: absolute;
  bottom: -5.33vw; /* -20px */
  left: -5.33vw;   /* -20px */
}




/* ======================================================= */

#about {
  width: 90%;
  margin-left: auto;
  margin-right: auto;
  margin-top: 26.66vw; /* 100px */
}

#about .flex div {
  text-align: left;
}
#about .flex div h3 {
  font-size: 9.06vw; /* 34px */
  line-height: 1.5em;
  margin-top: 8vw; /* 30px */
  margin-bottom: 6.66vw; /* 25px */
}
#about .flex div .btn {
  margin-top: 8vw; /* 30px */
}
#about .flex figure {
  margin-top: 16vw; /* 60px */
}



/* ======================================================= */

#service {
  margin-left: auto;
  margin-right: auto;
  width: 90%;
  background-color: #D9E9F4;
  border-radius: 4.8vw; /* 18px */
  padding-bottom: 10.66vw; /* 40px */
}

#service h2 {
  text-align: center;
  position: relative;
  top: -9.33vw; /* 35px */
  margin-top: 40vw; /* 150px */
}

#service h2 span {
  margin-bottom: 2.66vw;
}

#service .flex {
  margin-left: auto;
  margin-right: auto;
  width: 90%;
  margin-bottom: -2.66vw; /* -10px */
}

#service .flex div {
  background-color: #fff;
  border-radius: 8vw; /* 30px */
  padding-bottom: 9.33vw; /* 35px */
}

#service .flex div+div {
  margin-top: 9.33vw; /* 35px */
}

#service .flex div figure img {
  width: 100%;
  height: auto;
}

#service .flex div figure+p {
  margin-top: 6.66vw; /* 25px */
  margin-bottom: 4vw; /* 15px */
}

#service .flex div figure+p+p img {
  width: 58.13vw; /* 218px */
}



/* ======================================================= */

.wrap {
  overflow: hidden;
  width: 100vw;
  position: relative;
}

#slide {
  display: flex;
  width: max-content;
  position: relative;
  animation: slideLoop var(--duration) linear infinite;
  margin-top: 21.33vw;  /* 80px */
  margin-bottom: 29.33vw; /* 110px */
}

#slide li {
  margin-right: 9.33vw; /* 35px */
}

#slide li img {
  width: 43.2vw; /* 162px */
}



/* ======================================================= */

#recruit .inner {
  padding-bottom: 16vw; /* 60px */
  background-color: #D9E9F4;
  border-bottom-left-radius: 4.8vw;
  border-top-left-radius: 4.8vw;
  text-align: left;
  position: relative;
  margin-left: 5.33vw; /* 20px */
}

#recruit .inner figure {
  position: absolute;
  width: 78.66vw; /* 295px */
  right: 0;
  left: 5.33vw;
  bottom: -42.66vw; /* 160px */
}

#recruit .inner figure img {
  width: 100%;
  height: auto;
}

#recruit .inner div {
  margin-left: -5.33vw;
}

#recruit .inner div h2 {
  position: relative;
  top: -8vw; /* 30px */
}

#recruit .inner div h2 span {
  margin-bottom: 2.66vw;
}

#recruit .inner div h3 {
  font-size: 7.46vw; /* 28px */
  line-height: 1.4em;
  margin-top: -2.66vw; /* 10px */
  margin-left: 13.33vw; /* 50px */
  margin-bottom: 5.33vw; /* 20px */
}

#recruit .inner div h3+p {
  margin-left: 13.33vw;
  margin-right: 10.66vw; /* 40px */
}

#recruit .inner div .btn {
  margin-top: 8vw;
  margin-left: 13.33vw;
}

#recruit .inner div .btn span {
  background-color: #fff;
}
#recruit .inner div .btn a:hover span {
	background-color: #0064B8;
}



/* ======================================================= */

#news {
  width: 90%;
  margin-left: auto;
  margin-right: auto;
  margin-top: 66.66vw; /* 250px */
}

#news .flex h2 {
  margin-bottom: 10.66vw; /* 40px */
}

#news .flex article ul li a {
  color: #393939;
  text-decoration: none;
  border-bottom: 0.266vw solid #393939; /* 1px */
  display: block;
  padding: 5.33vw 0;
  position: relative;
  text-align: left;
}

/* 疑似要素維持済み */
#news .flex article ul li a::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 13.33vw; /* 50px */
  height: 13.33vw;
  background-image: url("../images/pc/top/news_arrow.png");
  background-size: contain;
  background-repeat: no-repeat;
  transform: translateY(-50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

#news .flex article ul li a:hover::after {
  opacity: 1;
}

#news .flex article ul li a span {
  width: 66.66vw; /* 250px */
  display: block;
  line-height: 1.6em;
}

#news .flex+.btn {
  text-align: left;
  margin-top: 10.66vw; /* 40px */
}



/* ======================================================= */

#contact {
  width: 90%;
  margin-left: auto;
  margin-right: auto;
  background-color: #0064B8;
  margin-top: 16vw; /* 60px */
  border-radius: 4.8vw;
  text-align: center;
  padding-top: 16vw; /* 60px */
  padding-bottom: 10.66vw; /* 40px */
  position: relative;
}

#contact h2 {
  color: #fff;
  text-align: center;
}

#contact h2 span {
  color: #fff;
  margin-bottom: 2.66vw;
  font-size: 13.33vw; /* 50px */
}

#contact h2+p {
  color: #fff;
  margin-top: 8vw; /* 30px */
}

#contact p+p {
  display: block;
  background-color: #fff;
  width: 13.33vw; /* 50px */
  height: 13.33vw;
  border-radius: 26.66vw;
  margin-left: auto;
  margin-right: auto;
  margin-top: 8vw; /* 30px */
}

#contact p+p img {
  width: 4vw;
  height: auto;
  position: relative;
  top: 5.86vw; /* 22px */
}
#contact a {
	display: block;
	width: 100%;
	height: 100%;
	position: absolute;
	left: 0px;
	top: 0px;
	z-index: 99;
}
#contact a:hover {
	background-color: rgba(255,255,255,0.20);
}
}



/*===============================================
●画面の横幅が400pxまで
===============================================*/
@media screen and (max-width:400px){
/*===============================================
●sp400
===============================================*/
#sp400------------------------------------------- {
}
}



/*===============================================
●画面の横幅が320pxまで
===============================================*/
@media screen and (max-width:320px){
/*===============================================
●sp320
===============================================*/
#sp320------------------------------------------- {
}
}



/*===============================================
●画面の横幅が481pxから768pxまで
===============================================*/
@media screen and (min-width:481px) and (max-width:768px) {
/*===============================================
●tablet
===============================================*/
#tab------------------------------------------- {
}
}