@charset "UTF-8";

/* All - Parts
========================================== */
.white_back { position: relative;}
.white_back::before {
  border-radius: 0 0 0 100px;
  position: absolute;
  z-index: -1;
  top: 0;
  right: 0;
  content: "";
  display: block;
  background: url("../images/index/about-back.jpg") no-repeat top right #fff;
  background-size: 576px auto;
  height: 100%;
  width: 85%;}
@media screen and (max-width: 769px) {
  .white_back::before {
    border-radius: 0 10vw 10vw 0;
    background: url("../images/index/about-back.jpg") no-repeat top 10px right #fff;
    background-size: 60% auto;
    right: auto; left: 0;
    width: 95%;}}

/* Bana
========================================== */
#recruitbana {
  position: fixed;
  z-index: 3;
  bottom: 10%;
  right: 0;}
#recruitbana a {
  padding-top: 60px;
  background: linear-gradient(to bottom, #E69700 0%, #E34600 100%);
  color: #fff;
  border-radius: 10px 0 0 10px;
  width: 80px;
  height: 240px;}
#recruitbana a img {
  position: relative;
  right: -2px;
  transition: .5s;
  width: 20px;}
#recruitbana p {
  margin-top: 20px;
  letter-spacing: 0.1em;
  line-height: 80px;}
@media screen and (max-width: 769px) {
  #recruitbana { bottom: 5%;}
  #recruitbana a { width: 40px; height: 120px;padding-top: 20px;}
  #recruitbana p { line-height: 42px;font-size: 14px; margin-top: 10px;}
  #recruitbana a img { width: 12px;}}

/* Main
========================================== */
#main {
  position: relative;
  width: 100%;
  height: 700px;
  overflow: hidden;
  background: url("../images/index/main-pc.jpg") center right / cover no-repeat;}
#main .wrap,
#main .contents {
  height: 100%;
  display: flex;
  align-items: center;}
#main .textbox { color: #005393;}
#main .textbox h2 {
  display: inline;
  padding: 0 20px 3px;
  background-color: #fff;
  color: #005393;
  line-height: 1.68;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;}
#main .textbox .en {
  width: fit-content;
  line-height: 1.2;
  margin: 12px 0 0;
  padding: 7px 50px 6px 20px;
  background-color: #005393;
  color: #fff;}
@media screen and (max-width: 1280px) {
  #main { height: 600px; align-items:flex-end;}
  #main .wrap,#main .contents { align-items:flex-end;}
  #main .textbox { margin-bottom: 40px;}}
@media screen and (max-width: 769px) {
  #main { background: none; height: auto;}
  #main .wrap, #main .contents { display: block;}
  #main .textbox { margin-top: -80px;}}
@media screen and (max-width: 480px) {
  #main .textbox { margin-top: -20vw;}
  #main .textbox h2 { font-size: 24px;}
  #main .textbox .en { font-size: 11px;}}

/* News
========================================== */
#news { padding: 40px 0 100px;}
#news .wrap {
  padding: 0 5vw;
  display: flex;
  align-items: center;}
#news h2 { color: #004C8E;}
#news p.day { margin: 0 16px 0 28px;}
#news a {
  color: #100F10;
  text-decoration: underline;}
@media screen and (max-width: 769px) {
  #news { padding: 10vw 0 5vw;}
  #news .wrap { display: block; padding: 0 8vw;}
  #news p.day { margin: 0;}}

/* About
========================================== */
#about {
  padding-top: 20px;
  position: relative;}
#about .photo {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: calc(50vw - 100px);
  border-radius: 0 10px 10px 0;
  overflow: hidden;}
#about .photo img {
  object-fit: cover;
  object-position: 50% 100%;
  width: 100%;
  height: 100%;}
#about .textbox { padding-left: 540px;}
#about h2 { margin-bottom: 30px;}
@media screen and (max-width: 1180px) {
  #about .photo { width: 40vw;}
  #about .textbox { padding-left: 40vw;}}
@media screen and (max-width: 769px) {
  #about .photo {
    width: 84vw;
    height: 50vw;
    margin-bottom: 5vw;
    position: relative;}
  #about .textbox { padding-left: 0;}}

/* Service
========================================== */
#service {
  padding-top: 140px;
  padding-bottom: 140px;}
#service .contents { padding-left: 240px;}
#service .service-list {
  margin: 40px 0 0;
  list-style: none;
  counter-reset: service-number;
  border-top: 1px solid #EEEEEE;}
#service .service-list p { line-height: 1.5;}
#service .service-list__item {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  align-items: center;
  padding: 20px 10px;
  border-bottom: 1px solid #EEEEEE;
  counter-increment: service-number;}
#service .service-list__item::before {
  color: #004C8E;
  font-family: "Ubuntu";
  font-size: 16px;
  letter-spacing: normal;
  content: counter(service-number, decimal-leading-zero);}
@media screen and (max-width: 1180px) {
  #service .contents { padding-left: 20vw;}}
@media screen and (max-width: 769px) {
  #service { padding: 10vw 0 15vw;}
  #service .contents { padding-left: 4vw;}}
@media screen and (max-width: 480px) {
  #service { padding: 15vw 0;}
  #service .service-list { margin-top: 20px;}
  #service .service-list p { font-size: 18px;}}

  
/* Works
========================================== */
#works {
  padding-top: 120px;
  padding-bottom: 140px;}
#works .flex1 {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;}
#works .flex2 {
  margin-top: 60px;
  display: flex;
  gap: 20px;
  justify-content: center;}
#works .flex2 .item {
  background: #fff;
  width: 180px;
  height: 100px;
  border-radius: 10px;}
@media screen and (max-width: 1180px) {
  #works h3 { margin-bottom: 20px;}
  #works .title { width: 100%;}
  #works .flex1 { flex-wrap: wrap;}
  #works .flex2 { flex-wrap: wrap;}}
@media screen and (max-width: 769px) {
  #works { padding: 15vw 0;}
  #works .flex1 { display: block;}
  #works .flex2 { margin-top: 20px;}}
@media screen and (max-width: 480px) {
  #works .flex2 { gap:10px;}
  #works .flex2 .item { width: 90px; height: 50px;}}


/* Recruit
========================================== */
#recruit {
  padding: 160px 0;
  background: url("../images/index/recruit-back-pc.jpg") no-repeat top center;
  background-size: 100% auto;}
#recruit h2 {
  text-align: center;
  color: #fff;}
#recruit h2 span {
  display: block;
  font-size: 100px;
  line-height: 1;}
#recruit .flex {
  margin: 60px 0 100px;
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  gap:40px 40px;
  justify-content: space-between;}
#recruit .item {
  padding: 40px;
  box-shadow: 0 0 10px 0 #00348622;
  border-radius: 6px;
  background: #fff;
  width: calc(50% - 20px);}
#recruit .item h3 {
  padding-bottom: 30px;
  margin-bottom: 30px;
  text-align: center;
  border-bottom: 1px solid #DCE2EB;
  color: #004C8E;}
#recruit h3.last {
  text-align: center;
	background:linear-gradient(100deg,#0093F5 0%,#0093F5 20%,#001B8B 70%,#001B8B 100%);
	-webkit-background-clip:text;
	-webkit-text-fill-color: transparent;}
@media screen and (max-width: 769px) {
  #recruit { padding: 20vw 0;}
  #recruit h2 span { font-size: 50px;}
  #recruit .flex { gap:20px 20px; margin: 20px 0 10vw;}
  #recruit .item { padding: 6vw; width:100%;}}
@media screen and (max-width: 480px) {
  #recruit .item h3 { padding-bottom: 20px; margin-bottom: 20px;}
  #recruit h3.last { font-size: 20px;}}

/* Hover
========================================== */
@media screen and (min-width: 1080px) {
  #recruitbana a:hover img { transform: rotate(-20deg);right: -20px; opacity: 0;}}
