@charset "UTF-8";

html {
  font-size: 100%;
}

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

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

li {
  list-style: none;
}

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

a:hover {
  opacity: 0.7;
}

/* header */
#header {
  width: 100%;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #fff;
  padding: 0 0 0 20px;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
}

#header .logo {
  width: 100%;
  max-width: 220px;
  line-height: 0;
}

#header .logo a {
  display: block;
}

#header .navi .menu-contact a {
  background-color: #de0716;
  color: #fff;
  display: block;
  font-weight: 700;
  height: 80px;
  line-height: 80px;
  padding: 0 40px;
  text-align: center;
}

/* main */
main {
  padding-top: 80px;
}

/* mainvisual */
.mainvisual img {
  width: 100vw;
}

.mainvisual img.sp {
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.3);
}

/* wrapper */
.wrapper {
  max-width: 940px;
  padding: 80px 20px;
  margin: 0 auto;
}

.wrapper1 {
  max-width: 940px;
  padding: 0 20px;
  margin: 0 auto;
}

.wrapper2 {
  max-width: 940px;
  padding: 80px 20px 0;
  margin: 0 auto;
}

.wrapper3 {
  max-width: 940px;
  padding: 0 20px 80px;
  margin: 0 auto;
}

.wrapper4 {
  max-width: 940px;
  padding: 60px 20px;
  margin: 0 auto;
}

/* background */
.bg-glay {
  background-color: #f5f3f1;
}

/* title */
.section-title-top {
  color: #de0716;
  font-size: 38px;
  font-weight: 700;
  text-align: center;
  line-height: 1.5;
  margin-bottom: 40px;
}

.section-title-top .small {
  color: #333;
  font-size: 24px;
}

.section-title {
  font-size: 35px;
  font-weight: 700;
  text-align: center;
  line-height: 1.5;
  position: relative;
  margin-bottom: 80px;
}

.section-title::after {
  content: "";
  width: 80px;
  height: 3px;
  background-color: #de0716;
  margin: 0 auto;
  position: absolute;
  bottom: -20px;
  left: 0;
  right: 0;
}

.title-sub {
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  line-height: 1.7;
  margin-bottom: 20px;
}

/* parts */
.strong-red {
  color: #de0716;
  font-weight: 700;
}

.highlight {
  background: linear-gradient(transparent 50%, #fff390 50%);
  font-weight: 700;
}

.overlay::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
}

/* point */
.point .img {
  margin-bottom: 20px;
}

.point .item {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.point .item li {
  width: 48%;
  max-width: 440px;
  border: 3px solid #de0716;
  border-radius: 8px;
  padding: 24px;
  margin-right: 4%;
  margin-bottom: 40px;
}

.point .item li:nth-child(even) {
  margin-right: 0;
}

.point .item li .img {
  margin-bottom: 20px;
}

.point .item li .title-en {
  font-size: 28px;
  font-weight: 700;
  color: #de0716;
}

.point .item li .title {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 20px;
}

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

.melit {
  background-color: #de0716;
  border-radius: 4px;
  padding: 15px 30px;
  align-content: center;
}

.item-sub .melit p {
  color: #fff;
  text-align: center;
  font-weight: 700;
  line-height: 1.5;
}

/* job */
.box-job {
  width: 100%;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background-image: url(../img/boximg1.jpg);
  background-position: center center;
  background-size: cover;
}

.box-job .title {
  font-size: 38px;
  color: #fff;
  z-index: 10;
}

.table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 auto 80px;
}

.table th,
.table td {
  border: solid 1px #707070;
  padding: 20px;
}

.table tbody th {
  background-color: #f5f3f1;
  font-weight: 700;
  text-align: left;
}

.table td .factory {
  padding-left: 20px;
}

.table td .factory > li {
  list-style: disc;
  margin-bottom: 10px;
}

.table td .office {
  margin-bottom: 10px;
}

.table td .factory > li:last-child {
  margin-bottom: 0;
}

.job .job-contents1 .img {
  margin: 40px 0;
}

.job .job-contents1 .img img {
  width: 100%;
}

.job .job-contents2 .img {
  margin: 40px 0;
}

.workplace {
  display: flex;
  align-items: center;
}

.workplace .img {
  width: 40%;
}

.workplace .text {
  width: 60%;
  padding-left: 40px;
}

.factory-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  margin: 40px 0;
}

.future {
  display: flex;
  align-items: flex-start;
}

.future .img {
  width: 30%;
}

.future .text {
  width: 70%;
  padding-right: 40px;
}

.job-contents3 .kenshu-list-area {
  display: flex;
  margin: 40px 0;
  overflow-x: hidden;
}

.job-contents3 .kenshu-list-area .kenshu-list {
  display: flex;
  animation: slide-left 60s infinite linear both;
}

.job-contents3 .kenshu-list-area .kenshu-list li {
  width: calc(100vw / 3);
}

.job-contents3 .kenshu-list-area .kenshu-list li img {
  width: 100%;
}

@keyframes slide-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

.contents3 {
  margin-bottom: 40px;
}

.contents3:last-child {
  margin-bottom: 0;
}

/* tab */
.tab-wrap {
  display: flex;
  flex-wrap: wrap;
}

.tab-wrap:after {
  content: "";
  width: 100%;
  height: 3px;
  background: #004ea1;
  display: block;
  order: -1;
}

.tab-label {
  color: #fff;
  background: #bbb;
  font-weight: bold;
  white-space: nowrap;
  text-align: center;
  padding: 10px 0.5em;
  order: -1;
  position: relative;
  z-index: 1;
  cursor: pointer;
  border-radius: 5px 5px 0 0;
  flex: 1;
}

.tab-label:not(:last-of-type) {
  margin-right: 5px;
}

.tab-content {
  width: 100%;
  height: 0;
  overflow: hidden;
  opacity: 0;
}

.tab-switch:checked + .tab-label {
  background: #004ea1;
}
.tab-switch:checked + .tab-label + .tab-content {
  height: auto;
  overflow: auto;
  padding: 24px;
  opacity: 1;
  transition: 0.5s opacity;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.2);
}

.tab-switch {
  display: none;
}

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

.tab-content .img {
  width: 50%;
}

.tab-content .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tab-content .text {
  width: 50%;
  padding: 20px 30px;
}

.tab-content .text li {
  list-style: decimal;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.8;
  margin-left: 20px;
  margin-bottom: 20px;
}

.tab-content .text li:last-child {
  margin-bottom: 0;
}

.tab-content .text li > .description {
  font-size: 16px;
}

/* area */
.box-area {
  width: 100%;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background-image: url(../img/boximg2.jpg);
  background-position: center center;
  background-size: cover;
}

.box-area .title {
  font-size: 38px;
  color: #fff;
  z-index: 10;
}

.aichi {
  display: flex;
  align-items: center;
}

.aichi .img {
  width: 50%;
}

.aichi .aichi-factory {
  width: 50%;
  padding-left: 20px;
}

.aichi .aichi-factory .city {
  border: 2px solid #de0716;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 16px;
}

.city-name {
  color: #de0716;
  font-size: 18px;
  margin-bottom: 4px;
}

.city-name,
.factory-name {
  font-weight: 700;
}

.domitory-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 40px 0;
}

.tokuten {
  margin-bottom: 40px;
}

.life {
  display: flex;
}

.life .img {
  width: 50%;
}

.life .text {
  width: 50%;
  padding-left: 40px;
}

/* flow */
.box-flow {
  width: 100%;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background-image: url(../img/boximg3.jpg);
  background-position: center center;
  background-size: cover;
}

.box-flow .title {
  font-size: 38px;
  color: #fff;
  z-index: 10;
}

/* flowchart */
:root {
  --flowchart-border: 4px;
  --flowchart-dot-size: 14px;
  --flowchart-dot-color: #de0716;
}
.flowchart {
  counter-reset: flownum;
  margin: 1em 0;
}

.flowchart li {
  position: relative;
  padding: 0 0 0 calc(var(--flowchart-dot-size) + 20px);
}

.flowchart-content {
  position: relative;
  padding: 0 0 2em;
}

.flowchart-content.last {
  padding-bottom: 0;
}

.flowchart-content::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: calc(calc(calc(var(--flowchart-dot-size) / 2) + calc(var(--flowchart-border) / 2) + 20px) * -1);
  width: 4px;
  height: 100%;
  background: #bbb;
}

.flowchart li:last-of-type .flowchart-content::before {
  content: none;
}

.flowchart li::before {
  content: "STEP " counter(flownum);
  counter-increment: flownum;
  color: #fff;
  color: #de0716;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.3;
}

.flowchart li::after {
  content: "";
  display: block;
  position: absolute;
  top: 7px;
  left: 0;
  width: var(--flowchart-dot-size);
  height: var(--flowchart-dot-size);
  border-radius: 50%;
  border: 2px solid var(--flowchart-dot-color);
}
.flowchart li:nth-of-type(odd)::after {
  background: var(--flowchart-dot-color);
}

.flowchart-title {
  margin: 0 0 0.6em;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.4;
}

.flowchart li p {
  margin: 1em 0 !important;
}
.flowchart li p:last-of-type {
  margin-bottom: 0 !important;
}

.company {
  display: flex;
  align-items: center;
}

.company .img {
  width: 40%;
}

.company .text {
  width: 60%;
  padding-left: 40px;
}

.company .text .description {
  margin-bottom: 20px;
}

.company dt {
  float: left;
}

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

/* faq */
.box-faq {
  width: 100%;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background-image: url(../img/boximg4.jpg);
  background-position: center center;
  background-size: cover;
}

.box-faq .title {
  font-size: 38px;
  color: #fff;
  z-index: 10;
}

.Qa-Box {
  width: 100%;
  margin: 0 auto;
}

.Qa-Box .Qa {
  padding: 20px 0;
  border-bottom: 1px solid #707070;
}

.Qa-Box .Qa dt,
.Qa-Box .Qa dd {
  display: flex;
  align-items: baseline;
  margin: 15px 0;
}

.Qa-Box .Qa dt p {
  margin: 0;
  padding-left: 15px;
  font-weight: bold;
  width: 100%;
}

.Qa-Box .Qa dd p {
  margin: 0;
  padding-left: 15px;
  width: 100%;
}

.Qa-Box .Qa:first-of-type {
  padding-top: 0;
}

.Qa-Box .Qa:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

.Qa-Box .Qa dt::before {
  content: "Q";
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  color: #fff;
  font-weight: 700;
  background: #004ea1;
  width: 2em;
  height: 2em;
  border-radius: 50%;
}

.Qa-Box .Qa dd::before {
  content: "A";
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  color: #fff;
  font-weight: 700;
  background: #de0716;
  width: 2em;
  height: 2em;
  border-radius: 50%;
}

/* voice */
.interview {
  margin-bottom: 80px;
}

.interview .img {
  max-width: 100%;
  margin-bottom: 20px;
}

.interview .text .description {
  margin-bottom: 20px;
}

.interview .text .description:last-child {
  margin-bottom: 0;
}

.interview .text .description .question {
  font-size: 18px;
  font-weight: 700;
  border-bottom: 1px solid #333;
  padding-bottom: 5px;
  margin-bottom: 10px;
}

.box-voice {
  width: 100%;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background-image: url(../img/boximg5.jpg);
  background-position: center center;
  background-size: cover;
}

.box-voice .title {
  font-size: 38px;
  color: #fff;
  z-index: 10;
}

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

.voice .item:last-child {
  margin-bottom: 0;
}

.voice .item .img {
  max-width: 182px;
  margin-right: 40px;
}

.voice .item .img:nth-child(2) {
  margin-left: 40px;
  margin-right: 0;
}

.voice .item .img img {
  border: solid 1px #ddd;
  border-radius: 50%;
}

.voice .item .text {
  max-width: 660px;
  border: solid 1px #707070;
  border-radius: 8px;
  line-height: 2;
  padding: 20px;
  position: relative;
}

.voice .item .text::after {
  content: "";
  width: 18px;
  height: 18px;
  background-color: #fff;
  border-right: solid 1px #707070;
  border-bottom: solid 1px #707070;
  position: absolute;
  top: 45%;
}

.voice .item .text:nth-child(1)::after {
  transform: rotate(-45deg);
  right: -10px;
}

.voice .item .text:nth-child(2)::after {
  transform: rotate(135deg);
  left: -10px;
}

.voice .item .text .age {
  text-align: right;
}

/* contact */
.contact {
  background-color: #004ea1;
}

.contact .inner {
  text-align: center;
}

.contact .text {
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 20px;
}

.contact .btn {
  background-color: #de0716;
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  border: solid 2px #fff;
  border-radius: 8px;
  display: inline-block;
  padding: 30px 60px;
  width: 100%;
}

/* footer */
#footer {
  background-color: #333;
  padding: 40px 0 20px;
}

#footer .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
}

#footer .logo {
  width: 100%;
  max-width: 220px;
  line-height: 0;
}

#footer .menu {
  display: flex;
  align-items: center;
}

#footer .menu li {
  font-size: 14px;
  margin-left: 40px;
  position: relative;
}

#footer .menu li a {
  color: #fff;
}

#footer .menu li::after {
  content: "";
  width: 1px;
  height: 16px;
  background-color: #fff;
  transform: rotate(30deg);
  position: absolute;
  top: 3px;
  right: -20px;
}

#footer .menu li:last-child::after {
  content: none;
}

#footer .policy,
#footer .copyright {
  color: #fff;
  font-size: 12px;
  text-align: center;
}

.sp {
  display: none;
}

/* ------------------------------
        Smartphone
  ------------------------------ */
@media screen and (max-width: 767px) {
  .pc {
    display: none;
  }

  .sp {
    display: block;
  }

  /* main */
  main {
    padding-top: 60px;
  }

  /* header */
  #header {
    height: 60px;
  }

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

  #header .navi .menu-contact a {
    font-size: 14px;
    height: 60px;
    line-height: 60px;
    padding: 0 20px;
  }

  /* wrapper*/
  .wrapper {
    padding: 40px 20px;
  }

  .wrapper2 {
    padding: 40px 20px 0;
  }

  .wrapper3 {
    padding: 0 20px 40px;
  }

  .wrapper4 {
    padding: 30px 20px;
  }

  /* title */
  .section-title-top {
    font-size: 28px;
    margin-bottom: 20px;
  }

  .section-title-top .small {
    font-size: 20px;
  }

  .section-title {
    font-size: 24px;
    margin-bottom: 60px;
  }

  .section-title::after {
    width: 60px;
  }

  .title-sub {
    font-size: 20px;
    text-align: left;
    margin-bottom: 12px;
  }

  /* box */
  .box-job,
  .box-area,
  .box-flow,
  .box-faq,
  .box-voice {
    height: 200px;
  }

  .box-job .title,
  .box-area .title,
  .box-flow .title,
  .box-faq .title,
  .box-voice .title {
    font-size: 24px;
  }

  /* point */
  .point .item {
    flex-direction: column;
    align-items: center;
  }

  .point .item li {
    width: 100%;
    margin: 0 0 40px;
  }

  .point .item li .title {
    font-size: 22px;
  }

  .item-sub {
    gap: 10px;
    grid-template-columns: 1fr;
  }

  /* job */
  .table {
    margin: 0 auto 40px;
  }

  .table th,
  .table td {
    display: block;
    border-bottom: none;
    padding: 12px;
  }

  .table td {
    border-top: none;
  }

  .table tr:last-child {
    border-bottom: solid 1px #707070;
  }

  .workplace {
    flex-direction: column;
  }

  .workplace .img {
    width: 100%;
  }

  .workplace .text {
    width: 100%;
    padding-left: 0;
  }

  .contents3 {
    margin-bottom: 40px;
  }

  .factory-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .future {
    flex-direction: column;
    align-items: center;
  }

  .future .img {
    width: 80%;
  }

  .future .text {
    width: 100%;
    padding-right: 0;
  }

  .tab-content {
    flex-direction: column-reverse;
  }

  .tab-content .img {
    width: 100%;
  }

  .tab-content .text {
    width: 100%;
    padding: 0;
  }

  .tab-content .text li:last-child {
    margin-bottom: 20px;
  }

  /* area */
  .aichi {
    flex-direction: column;
  }

  .aichi .img {
    width: 100%;
    margin-bottom: 20px;
  }

  .aichi .aichi-factory {
    width: 100%;
    padding-left: 0;
  }

  .domitory-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .domitory-list .item1 {
    grid-column: 1 / 3;
  }

  .life {
    flex-direction: column-reverse;
    align-items: center;
  }

  .life .img {
    width: 80%;
  }

  .life .text {
    width: 100%;
    padding-left: 0;
    margin-bottom: 40px;
  }

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

  .company .img {
    width: 100%;
    margin-bottom: 40px;
  }

  .company .text {
    width: 100%;
    padding-left: 0;
  }

  /* voice */
  .interview {
    margin-bottom: 40px;
  }

  .interview .text .description .question {
    font-size: 16px;
    line-height: 1.5;
  }

  .voice .item .img {
    width: 100px;
    flex-shrink: 0;
    margin-right: 20px;
  }

  .voice .item .img:nth-child(2) {
    margin-left: 20px;
  }

  .voice .item .text {
    font-size: 14px;
    padding: 10px;
  }

  /* contact */
  .contact .text {
    font-size: 18px;
    margin-bottom: 10px;
  }
  .contact .btn {
    font-size: 18px;
    padding: 15px 60px;
  }

  /* footer */
  #footer .inner {
    flex-direction: column;
    margin-bottom: 20px;
  }

  #footer .logo {
    margin-bottom: 20px;
  }

  #footer .menu li {
    font-size: 12px;
    margin-left: 30px;
  }

  #footer .menu li:first-child {
    margin-left: 0;
  }
}
