/* common */
.top__title {
  display: flex;
  align-items: center;
  color: #0065BB;
  margin: 0 0 2rem .2rem;
}

.top__title--blue {
  color: #61CED8;
}

.top__title--ja {
  font-size: 1.8rem;
  letter-spacing: .05em;
  margin-right: 1.3rem;
}

@media(max-width:768px) {
  .top__title--ja {
    font-size: max(18px, 1.8rem);
  }
}

.top__title--en {
  font-size: 1.4rem;
  letter-spacing: .05em;
  position: relative;
}

@media(max-width:768px) {
  .top__title--en {
    font-size: max(12px, 1.4rem);
  }
}

.top__title--en::after {
  content: "";
  background-color: #0065BB;
  width: 12rem;
  height: .1rem;
  position: absolute;
  transform: translate(100%, 100%);
  top: 50%;
  right: -.86rem;
}

.top__text {
  font-family: 'Shippori Mincho B1', serif;
  font-size: 2.8rem;
  letter-spacing: .05em;
  line-height: calc(44/28);
}

@media(max-width:768px) {
  .top__text {
    font-size: max(16px, 2.8rem);
  }
}

.top__btn {
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (hover: hover) and (pointer: fine) {
  .top__btn:hover .top__btn-circle {
    background-color: #0065BB;
    margin-right: 2rem;
    margin-left: .4rem;
  }
}

.top__btn-circle {
  background-color: #B3B4B5;
  width: 4rem;
  height: 4rem;
  display: block;
  border-radius: 50%;
  margin-right: 1.6rem;
  position: relative;
  transition: .3s ease-out;
}

@media(max-width:768px) {
  .top__btn-circle {
    width: 6rem;
    height: 6rem;
  }
}

.top__btn-circle::before {
  content: "";
  background-color: #fff;
  width: 2rem;
  height: .1rem;
  position: absolute;
  top: 50%;
  right: 0;
}

@media(max-width:768px) {
  .top__btn-circle::before {
    width: 3rem;
  }
}

.top__btn-text {
  font-family: 'Shippori Mincho B1', serif;
  font-size: 1.8rem;
  letter-spacing: .15em;
}

@media(max-width:768px) {
  .top__btn-text {
    font-size: max(14px, 1.8rem);
  }
}

/* common */


/* hero */
#hero {
  width: 100%;
  height: 100vh;
  background-image: url("../images/mainvisual_bg.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  color: #fff;
  position: relative;
  z-index: 9;
}

.hero__title {
  font-size: 4rem;
  letter-spacing: .05em;
  line-height: calc(68/40);
  position: absolute;
  left: 12rem;
  bottom: 10rem;
}
#hero figure {
	position: absolute;
	left: 0;
	top: 20%;
	right: 0;
	width: 100%;
	margin: auto;
	text-align: center;
}
#hero figure img {
	display: inline-block;
	width: 280px;
}

@media(max-width:768px) {
  .hero__title {
    font-size: 4.2rem;
    left: 4%;
    bottom: 20%;
  }
	#hero figure {
	position: absolute;
	left: 0;
	top: 20%;
	right: 0;
	width: 100%;
	margin: auto;
	text-align: center;
}
#hero figure img {
	display: inline-block;
	width: 170px;
}
}

/* hero */


/* company */
#company {
  background-image: url("../images/company_bg.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 8rem 0 11rem;
  text-align: center;
}

@media(max-width:768px) {
  .company__inner {
    width: 80%;
    margin: 0 auto;
  }
}

.company__title {
  font-family: 'Shippori Mincho B1', serif;
  font-size: 3.6rem;
  color: #0065BB;
  letter-spacing: .05em;
}

@media(max-width:768px) {
  .company__title {
    font-size: max(20px, 3.6rem);
  }
}

.company__text {
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: .05em;
  line-height: calc(28/15);
  margin-bottom: 3rem;
}

@media(max-width:768px) {
  .company__text {
    font-size: max(14px, 1.5rem);
  }
}

.company__text:last-of-type {
  margin-bottom: 7rem;
}

/* company */


/* recruit */
#recruit {
  width: 100%;
  padding-bottom: 17.7rem;
}

@media(max-width:768px) {
  #recruit {
    padding-bottom: 0;
  }
}

.recruit__inner {
  background-image: url("../images/recruit.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  width: 95%;
  height: 50rem;
  position: relative;
}

@media(max-width:768px) {
  .recruit__inner {
    margin-bottom: 54rem;
  }
}

@media(max-width:631px) {
  .recruit__inner {
    margin-bottom: 62rem;
  }
}

@media(max-width:450px) {
  .recruit__inner {
    margin-bottom: 70rem;
  }
}

@media(max-width:412px) {
  .recruit__inner {
    margin-bottom: 80rem;
  }
}

@media(max-width:350px) {
  .recruit__inner {
    margin-bottom: 85rem;
  }
}

@media(max-width:323px) {
  .recruit__inner {
    margin-bottom: 95rem;
  }
}

.recruit__contents {
  background-color: #fff;
  width: 63rem;
  padding: 7.5rem 6.5rem 4.5rem;
  position: absolute;
  top: 9.9rem;
  right: 0;
}

@media(max-width:768px) {
  .recruit__contents {
    width: 95%;
    padding: 7.5rem 0 4.5rem;
    margin-left: auto;
    top: 50rem;
    left: 0;
  }
}

.recruit__text {
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: .05em;
  line-height: calc(28/15);
  margin: 4.5rem 0 5rem;
}

@media(max-width:768px) {
  .recruit__text {
    font-size: max(14px, 1.5rem);
  }
}

.recruit__btn {
  justify-content: flex-start;
}

@media (hover: hover) and (pointer: fine) {
  .recruit__btn:hover .top__btn-circle {
    margin-left: 0;
  }
}

/* recruit */


/* service */
#service {
  padding-bottom: 10rem;
  position: relative;
}

.service__inner {
  background-image: url("../images/service.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  width: 95%;
  height: 50rem;
  margin: 0 0 7.5rem auto;
  position: relative;
}

@media(max-width:768px) {
  .service__inner {
    margin-bottom: 37.3rem;
  }
}

@media(max-width:599px) {
  .service__inner {
    margin-bottom: 45rem;
  }
}

@media(max-width:488px) {
  .service__inner {
    margin-bottom: 55rem;
  }
}

@media(max-width:400px) {
  .service__inner {
    margin-bottom: 63rem;
  }
}

@media(max-width:325px) {
  .service__inner {
    margin-bottom: 73rem;
  }
}

.service__contents {
  background-color: #fff;
  width: 63rem;
  padding: 7.5rem 6.5rem 5rem;
  position: absolute;
  top: 9.9rem;
  left: 0;
}

@media(max-width:768px) {
  .service__contents {
    width: 95%;
    padding: 7.5rem 0 0;
    top: 50rem;
  }
}

.service__text {
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: .05em;
  line-height: calc(28/15);
  margin-top: 4.1rem;
}

@media(max-width:768px) {
  .service__text {
    font-size: max(14px, 1.5rem);
  }
}

.service__list {
  width: 90%;
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  /* justify-content: space-between; */
  text-align: center;
  margin-bottom: 7rem;
  flex-wrap: wrap;
  row-gap: 20px;
  column-gap: 2%;
}

@media(max-width:768px) {
  .service__list {
    flex-wrap: wrap;
  }
}

.service__list-item {
  width: 32%;
  flex-direction: column;
}

@media(max-width:768px) {
  .service__list-item {
    width: 48%;
    max-width: none;
    margin-bottom: 4%;
  }

  .service__list-item:nth-last-child(2) {
    margin: 0;
  }

  .service__list-item:last-of-type {
    margin: 0;
  }
}

.service__list-img {
  width: 100%;
}

.service__list-text {
  font-size: 1.8rem;
  color: #0065BB;
  letter-spacing: .05em;
  background-color: #F5F5F5;
  width: 100%;
  height: 5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

@media(max-width:768px) {
  .service__list-text {
    font-size: max(14px, 1.8rem);
  }
}

/* service */


/* news */
#news {
  background-color: #F5F5F5;
  padding: 6.8rem 0 10rem;
}

.news__inner {
  width: 80%;
  max-width: 1000px;
  margin: 0 auto;
}

.news__title {
  font-family: 'Shippori Mincho B1', serif;
  font-size: 2.9rem;
  letter-spacing: .05em;
  text-align: center;
  padding-bottom: 2.3rem;
  margin: 0 auto 7.8rem;
  width: max-content;
  position: relative;
}

@media(max-width:768px) {
  .news__title {
    font-size: max(24px, 2.9rem);
  }
}

.news__title::after {
  content: "";
  background-color: #0065BB;
  width: 100%;
  height: .1rem;
  position: absolute;
  left: 0;
  bottom: 0;
}

.news__list {
  width: 100%;
}

.news__list-item {
  display: flex;
  padding-bottom: 3rem;
  margin-bottom: 3rem;
  position: relative;
}

@media(max-width:768px) {
  .news__list-item {
    flex-direction: column;
  }
}

.news__list-item:last-of-type {
  margin-bottom: 4rem;
}

.news__list-item:hover .news__list-title {
  color: #0065BB;
}

.news__list-item::after {
  content: "";
  background-image: url("../images/news_line.svg");
  background-size: cover;
  width: 100%;
  height: 1px;
  position: absolute;
  bottom: 0;
  left: 0;
}

@media(max-width:768px) {
  .news__list-item::after {
    background-image: none;
    border-bottom: dotted 2px #222;
  }
}

.news__list-time {
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: .05em;
  margin-right: 1.8rem;
}

@media(max-width:768px) {
  .news__list-time {
    font-size: max(14px, 1.4rem);
    margin-bottom: 1rem;
  }
}

.news__list-title {
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: .05em;
  transition: .3s;
}

@media(max-width:768px) {
  .news__list-title {
    font-size: max(14px, 1.4rem);
    line-height: 1.5;
  }
}

.news__list-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  text-indent: 100%;
  white-space: nowrap;
  overflow: hidden;
}

/* news */


/* -------------------------------------------------------------------------------
  CMS組み込み時追加修正
-------------------------------------------------------------------------------- */
.hero__txt {
  position: absolute;
  bottom: 10rem;
  right: 12rem;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.8;
  color: #222;
}

.hero__txt span {
  padding-left: 15px;
}

.hero__txt span:nth-of-type(2) {
  padding-left: 31px;
}