@charset "utf-8";
main {
  position: relative;
}

main::before {
  content: "";
  left: 0;
  right: 0;
  top: 25rem;
  bottom: 12rem;
  position: absolute;
  background: var(--bg-light);
  z-index: -1;
}

.main-btm .box1 dl.infotitle dd p {
	font-size:18px;
}

.main-btm .box1 dl.infotitle dd {
	font-size:1.5rem;
	font-weight:500;
}

.main-btm .box1 dl.infotitle {
	color:#fff;
    font-weight: 500;
    margin-top: 20px;
}

.main-btm .box1 dl.infotitle dt{
	font-size:3rem;
	font-weight:700;
}

.visual {
  max-width: 144rem;
  margin: 0 auto;
  height: 41.8rem;
  display: flex;
  background: url("../images/main/visual.jpg") no-repeat center top;
  background-size: cover;
}

.visual .main-text {
  flex-grow: 1;
  display: flex;
  padding-left: 5.5%;
  flex-direction: column;
  justify-content: center;
  color: #fff;
}

.visual .main-text .tit {
  font-size: 4.8rem;
  font-weight: 700;
  line-height: 1.4;
}

.visual .main-text .sub {
  margin: 1.6rem 0 2rem;
  font-size: 2rem;
}

.visual .contact {
  padding: 0 1.6%;
  flex-basis: 35%;
  max-width: 40.5rem;
  background: #005836ad;
}

.visual .contact > div {
  padding: 2.4rem 0;
  color: #fff;
}

.visual .contact div + div {
  border-top: 1px solid #ffffff10;
}

.visual .contact .stitle2 {
  position: relative;
  margin-bottom: 2.4rem;
  padding-left: 3.8rem;
}

.visual .contact .stitle2::before {
  content: "";
  width: 2.6rem;
  height: 2.6rem;
  position: absolute;
  left: 0;
  top: 0.5rem;
  background: url("../images/main/ico_book.svg") no-repeat left top;
  background-size: 100%;
}

.visual .contact .stitle2.fax::before{
  background: url("../images/main/ico_apply3.svg") no-repeat left top;
background-size:100%;
}

.visual .contact .info dl dd p.ico4::before{
  content: "";
  width: 3rem;
  height: 3rem;
  position: absolute;
  left: 0;
  top:-0.2rem;
  background: url("../images/sub/ico_apply4.svg") no-repeat left top;
  background-size: 100%;
}

.visual .contact .body1 {
  margin-bottom: 1.4rem;
}

.visual .contact .info dl {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.visual .contact .info dl + dl {
  margin-top: 1rem;
}

.visual .contact .info dl dt {
  width: 33%;
  max-width: 11.6rem;
  min-width: 10rem;
  padding: 0.3rem 0;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 500;
  border-radius: 5rem;
  background: #ffffff20;
}

.visual .contact .info dl dd {
  font-size: 1.9rem;
  letter-spacing: -0.05rem;
}

.visual .contact .info dl dd .label {
  display: inline-block;
  flex-basis: 25%;
  min-width: 5rem;
  flex-shrink: 0;
  position: relative;
}

.visual .contact .info dl dd .label::before {
  content: "";
  width: 1px;
  height: 1.3rem;
  position: absolute;
  right: 0.6rem;
  top: 0.8rem;
  background: #ffffff20;
}

.visual .contact .info dl dd p {
  display: flex;
  position:relative;
}

.visual .contact .info dl dd p.pdl28{
	padding-left:2.8rem;
}

.visual .contact .info dl dd p + p {
  margin-top: 0.7rem;
}

.main-btm {
  display: flex;
  gap: 2%;
  margin: 8rem 0 12rem;
}
.main-btm.st01 [class*="box"] {
  gap: 3rem;
}

.main-btm [class*="box"] {
  min-height: 29rem;
  flex-basis: 0;
  flex-grow: 1;
  padding: 2%;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.6rem;
  color: #fff;
  border-radius: 1.2rem;
}

.main-btm .box1 {
  background: var(--color-primaryDark);
}
.main-btm .box2 {
  background: var(--color-primary);
}
.main-btm .box3 {
  background: var(--color-dark);
}

.main-btm .box1 .button::before {
  content: "";
  position: absolute;
  width: 18.1rem;
  height: 13rem;
  bottom: 8rem;
  right: 2%;
  background: url("../images/main/main_obj1.png") no-repeat left top;
  background-size: 100%;
}
.main-btm .box2::before {
  content: "";
  position: absolute;
  width: 14.9rem;
  height: 11.7rem;
  top: 2rem;
  right: 0;
  background: url("../images/main/main_obj2.png") no-repeat left top;
  background-size: 100%;
}
.main-btm .box3::before {
  content: "";
  position: absolute;
  width: 7.7rem;
  height: 10rem;
  top: 2.8rem;
  right: 6%;
  background: url("../images/main/main_obj3.png") no-repeat left top;
  background-size: 100%;
}

.main-btm .text {
  position: relative;
}

.main-btm .text .first {
  position: relative;
  font-size: 2.8rem;
  font-weight: 600;
}

.main-btm .text .first span {
  position: relative;
}

.main-btm .text .first span::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1rem;
  background: #ffffff20;
}

.main-btm .text .stitle2 {
  margin-bottom: 1rem;
}

.main-btm .text .body2 {
  width: 85%;
  max-width: 32rem;
}

.main-btm .button a {
  display: block;
  text-align: center;
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 3.8rem;
  border: 1px solid #fff;
  border-radius: 5rem;
}

.main-btm .box1 .button a {
  color: var(--text-primary);
  background: #fff;
}

.main-btm .button a + a {
  margin-top: 1rem;
}

/* tablet */
@media screen and (max-width: 1024px) {
  .visual {
    height: auto;
    flex-direction: column;
  }

  .visual .main-text {
    padding: 6rem 4rem;
  }

  .visual .contact {
    display: flex;
    justify-content: space-between;
    padding: 2.4rem 3rem;
    max-width: 100%;
  }

  .visual .contact > div {
    padding: 0;
    flex-basis: calc(50% - 2rem);
    position: relative;
  }

  .visual .contact > div:first-child:before {
    content: "";
    width: 1px;
    top: 0;
    bottom: 0;
    right: -2rem;
    position: absolute;
    background: #ffffff20;
  }

  .visual .contact div + div {
    border-top-width: 0;
  }

  .main-btm {
    gap: 1%;
  }

  .main-btm [class*="box"] {
    min-height: 34rem;
    padding: 3% 2.5%;
  }

  .main-btm .box1 .button::before {
    width: 16rem;
  }

  .main-btm .box2::before {
    width: 13rem;
  }

  .main-btm .box3::before {
    width: 6.7rem;
  }
}

/* mobile */
@media screen and (max-width: 768px) {
  main::before {
    top: 10rem;
    bottom: 37rem;
  }

  .visual {
    background-image: url("../images/main/visual_m.jpg");
  }

  .visual .main-text {
    padding: 4.8rem 2rem;
  }

  .visual .main-text .tit {
    font-size: 2.6rem;
    line-height: 1.5;
  }

  .visual .main-text .sub {
    margin: 0.8rem 0 0;
    font-size: 1.4rem;
  }

  .visual .contact {
    padding: 1.6rem 2rem;
    flex-direction: column;
  }

  .visual .contact > div {
    padding: 0;
  }

  .visual .contact > div:first-child:before {
    display: none;
  }

  .visual .contact div + div {
    padding-top: 1.6rem;
    margin-top: 1.6rem;
    border-top: 1px solid #ffffff10;
  }

  .visual .contact .stitle2 {
    margin-bottom: 1.4rem;
    padding-left: 3.2rem;
  }

  .visual .contact .stitle2::before {
    width: 2.2rem;
    height: 2.2rem;
    top: 0.3rem;
  }

  .visual .contact .body1 {
    margin-bottom: 1rem;
    font-size: 1.8rem !important;
  }

  .visual .contact .info dl {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
  }

  .visual .contact .info dl + dl {
    margin-top: 1rem;
  }

  .visual .contact .info dl dt {
    width: 33%;
    max-width: 10.4rem;
    min-width: 10rem;
    padding: 0.3rem 0;
    font-size: 1.3rem;
  }

  .visual .contact .info dl dd {
    font-size: 1.5rem;
  }

  .visual .contact .info dl dd .label {
    display: inline-block;
    flex-basis: 25%;
    min-width: 5rem;
    flex-shrink: 0;
    position: relative;
  }

  .visual .contact .info dl dd .label::before {
    right: 0.8rem;
    top: 0.4rem;
  }

  .visual .contact .info dl dd p + p {
    margin-top: 0.5rem;
  }

  .main-btm {
    margin: 4.8rem 0 8rem;
    flex-direction: column;
    gap: 1.6rem;
  }

  .main-btm [class*="box"] {
    min-height: 24rem;
    padding: 2.4rem;
  }

  .main-btm .box1 .button::before {
    width: 14rem;
    height: 10.1rem;
    bottom: 7rem;
    right: 1.5rem;
  }
  .main-btm .box2::before {
    width: 12rem;
    height: 9.5rem;
    top: 1rem;
  }
  .main-btm .box3::before {
    width: 5.4rem;
    height: 7rem;
    top: 2.4rem;
    right: 2.3rem;
  }

  .main-btm .text .first {
    font-size: 2.2rem;
  }

  .main-btm .text .stitle2 {
    font-size: 2rem;
  }

  .main-btm .text .body2 {
    width: 100%;
    max-width: 90%;
  }

  .main-btm .button a {
    font-size: 1.4rem;
    line-height: 3.5rem;
  }

  .main-btm .button a + a {
    margin-top: 0.8rem;
  }

  .visual .contact .info dl dd p.ico4::before{
	width:2.5rem;
	height:2.5rem;
	top:0rem;
  }
}
