@charset "UTF-8";

html {
  font-size: 100%;
}

body {
  color: #333;
  font-family: "Roboto", "Noto Sans JP", sans-serif;
  font-weight: 400;
  line-height: 2;
}

img {
  max-width: 100%;
  vertical-align: bottom;
}

li {
  list-style: none;
}

a {
  color: #333;
  text-decoration: none;
}

a:hover {
  filter: brightness(1.15);
}

.wrapper {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 4%;
}

/* home */
#home {
  background-image: url(../img/main-bg.jpg), linear-gradient(90deg, #222, transparent);
  background-blend-mode: overlay;
}

.main-bg {
  background-size: cover;
  background-position: center 35%;
  background-repeat: no-repeat;
}

/* header */
#header .logo {
  width: 100%;
  max-width: 280px;
  line-height: 0;
  position: fixed;
  top: 4%;
  left: 4%;
  z-index: 30;
}

#header .logo a {
  display: block;
}

#header .navi .contact a {
  background-color: #de0716;
  color: #fff;
  display: block;
  font-weight: 700;
  padding: 10px 40px;
  cursor: pointer;
  text-align: center;
  border-radius: 8px;
  position: fixed;
  top: 3.3%;
  right: 4%;
  z-index: 30;
}

/* mainvisual */
.mainvisual {
  padding: 80px 0;
}

.mainvisual .text .catchphrase {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 20px;
}

.mainvisual .text .catchphrase span {
  background-color: #fff;
  display: inline-block;
  margin-bottom: 10px;
}

.mainvisual .text .catchphrase span:last-child {
  margin-bottom: 0;
}

.mainvisual .text .description {
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  text-shadow: 1px 2px 3px #333;
  margin-bottom: 20px;
}

/* about */
.about {
  text-align: center;
}

.about .title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 24px;
}

.about .text {
  font-size: 20px;
}

/* title */
.section-title {
  text-align: center;
  margin-bottom: 40px;
}

.section-title .main {
  font-size: 30px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 1.2px;
  margin-bottom: 10px;
}

.section-title .sub {
  font-size: 18px;
}

/* worries */
.worries {
  background-color: #edf9ff;
  position: relative;
}

.worries::before {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -60px;
  border: 60px solid transparent;
  border-top: 60px solid #edf9ff;
}

.worries .item {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, 1fr);
}

.worries .item li {
  background-color: #fff;
  border-radius: 12px;
  padding: 30px 30px 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.worries .item li .title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}

.worries .item li .description {
  line-height: 1.7;
  margin: 10px 0;
}

/* merits */
.merits {
  padding-top: 140px;
}

.merits-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 80px;
}

.merits-item:nth-child(odd) {
  margin-bottom: 0;
}

.merits-item .img {
  width: 50%;
}

.merits-item .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.merits-item .text {
  width: 50%;
}

.merits-item .text .number {
  font-size: 100px;
  font-family: "Oswald", selif;
  line-height: 1;
  color: #004ea1;
}

.merits-item .text .title {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 1.2px;
  margin: 15px 0;
}

.merits-item .text .title span {
  color: #004ea1;
}

.merits .merits-subitem {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, 1fr);
  margin: 20px 0 80px;
}

.merits .merits-subitem li {
  background-color: #edf9ff;
  border-radius: 12px;
  padding: 30px 30px 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.merits .merits-subitem li .sub-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}

.merits .merits-subitem li .sub-description {
  font-size: 15px;
  text-align: center;
  line-height: 1.7;
  margin: 10px 0;
}

.merits .merits-subitem li .img {
  margin: auto auto 0;
}

/* voice */
.voice .item {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, 1fr);
}

.voice .item li {
  background-color: #edf9ff;
  border-radius: 12px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.voice .item .img {
  margin-bottom: 15px;
}

.voice .item .img img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
}

.voice .item .description {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.8;
}

.voice .item .description span {
  color: #004ea1;
}

/* job-scroll */
.horizontal-list {
  display: flex;
  overflow-x: auto;
  white-space: nowrap;
}

.scroll-item {
  flex: 1;
  word-wrap: break-word;
  min-width: 35%;
  padding: 20px;
  border: 1px solid #004ea1;
  border-radius: 12px;
  margin-right: 20px;
}

.scroll-item:last-child {
  margin-right: 0;
}

.scroll-item .img {
  width: 100%;
}

.scroll-item .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.scroll-item .name {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.8;
  margin: 20px 0 5px;
}

.scroll-item .info {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 10px;
}

.job .btn {
  width: 100%;
  font-weight: 700;
  background-color: #004ea1;
  color: #fff;
  display: inline-block;
  text-align: center;
  border-radius: 8px;
  padding: 4px 0;
  cursor: pointer;
}

.scroll {
  display: flex;
  align-items: center;
  font-size: 13px;
  font-weight: 500;
  width: 15%;
  padding-top: 15px;
  margin: 0 0 0 auto;
}

.scroll::after {
  content: "";
  border-top: 1px solid #333;
  width: 50px;
  margin-left: 1em;
  animation: scroll 2s infinite;
}

@keyframes scroll {
  0% {
    width: 0%;
  }
  100% {
    width: 100%;
  }
}

/* staff */
.staff {
  display: grid;
  gap: 0;
  grid-template-columns: repeat(6, 1fr);
}

/* company */
.company-info {
  display: flex;
  justify-content: space-between;
}

.company-info .text {
  width: 60%;
}

.company-info .text img {
  max-width: 360px;
  margin-bottom: 20px;
}

.company-info dt {
  float: left;
}

.company-info dt::after {
  content: "：";
}

.company-info .img {
  width: 35%;
}

/* register */
.register {
  background-color: #f5f8fc;
  text-align: center;
}

.wrapper-register {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 4%;
}

.register .text {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 15px;
}

.btn-icon {
  position: relative;
  border: 0;
  font-size: 20px;
  font-weight: 700;
  padding: 16px 120px;
  cursor: pointer;
  border-radius: 8px;
  color: #fff;
  background-color: #de0716;
  display: inline-block;
}

.btn-icon::after {
  content: "";
  position: absolute;
  top: calc(50% - 6px);
  right: 60px;
  width: 12px;
  height: 12px;
  border-top: 3px solid;
  border-right: 3px solid;
  rotate: 45deg;
  transition: 0.5s;
}

.btn-icon:hover::after {
  right: 40px;
}

.btn-icon.short {
  padding: 12px 80px;
}

.btn-icon.short::after {
  top: calc(50% - 6px);
  right: 40px;
}

.btn-icon.short:hover::after {
  right: 30px;
}

/* footer */
#footer {
  border-top: 1px solid #ccc;
  text-align: center;
  padding: 40px 4%;
}

#footer .logo {
  max-width: 300px;
  margin: 0 auto 10px;
}

#footer .copyright {
  font-size: 12px;
}

/* pc-sp */
.sp {
  display: none;
}

/* ------------------------------
        Smartphone
  ------------------------------ */
@media screen and (max-width: 767px) {
  .wrapper {
    padding: 40px 4%;
  }

  /* home */
  .main-bg {
    background-position: 60% 30%;
  }

  /* header */
  #header .logo {
    max-width: 150px;
  }

  #header .logo a {
    display: block;
  }

  #header .navi .contact a {
    font-size: 14px;
    padding: 4px 16px;
    top: 3%;
  }

  /* mainvisual */
  .mainvisual {
    padding: 80px 0 0;
  }

  .mainvisual .text .catchphrase {
    font-size: 24px;
  }

  .mainvisual .text .description {
    font-size: 16px;
    line-height: 1.7;
  }

  /* about */
  .about .title {
    font-size: 24px;
    margin-bottom: 10px;
  }

  .about .text {
    font-size: 16px;
  }

  /* section */
  .section-title {
    margin-bottom: 20px;
  }

  .section-title .main {
    font-size: 22px;
  }

  .section-title .sub {
    font-size: 16px;
  }

  /* worries */
  .worries .item li .description {
    text-align: center;
  }

  /* merits */
  .merits {
    padding-top: 100px;
  }

  .merits-item {
    flex-flow: column;
    margin-bottom: 20px;
  }

  .merits-item.reverse {
    flex-direction: column-reverse;
  }

  .merits-item .img {
    width: 100%;
  }

  .merits-item .text {
    width: 100%;
  }

  .merits-item .text .number {
    font-size: 80px;
  }

  .merits-item .text .title {
    font-size: 20px;
  }

  .merits .merits-subitem {
    margin: 20px 0 40px;
  }

  /* job-scroll */
  .scroll-item {
    min-width: 60%;
  }

   .scroll-item .info {
    font-size: 12px;
  }

  .scroll {
    width: 20%;
  }

  /* company */
  .company-info {
    flex-direction: column;
  }

  .company-info .text {
    width: 100%;
    margin-bottom: 20px;
  }

  .company-info .text img {
    width: 100%;
  }

  .company-info .img {
    width: 100%;
  }

  /* grid */
  .worries .item,
  .merits .merits-subitem,
  .voice .item {
    grid-template-columns: repeat(1, 1fr);
    grid-template-rows: repeat(3, 1fr);
  }

  .worries .item li,
  .merits .merits-subitem li,
  .voice .item li {
    max-width:70%;
    margin: 0 auto;
  }

  /* register */
  .register .text {
    font-size: 14px;
    margin-bottom: 8px;
  }

  .btn-icon {
    width: 100%;
    font-size: 16px;
    padding: 16px 0;
  }

  .btn-icon.short {
    width: auto;
    padding: 8px 80px; */
  }

  /* footer */
  #footer .logo {
    max-width: 220px;
  }

  /* pc-sp */
  .sp {
    display: block;
  }
}


@media screen and (max-width: 427px) {

  /* job-scroll */
  .scroll-item {
    min-width: 90%;
  }

  .scroll {
    width: 35%;
  }

  /* staff */
  .staff {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
  }

  /* grid */
  .worries .item li,
  .merits .merits-subitem li,
  .voice .item li {
    max-width:100%;
    margin: 0 auto;
  }

  /* register */
  .btn-icon.short {
    width: 100%;
    text-align: center;
    padding: 8px 0;
  }

}
