@charset "UTF-8";

html {
  font-size: 100%;
  scroll-behavior: smooth;
}

body {
  background-color: #f2f2f2;
  color: #333;
  font-family: "Inter", "ryo-gothic-plusn", sans-serif;
  font-weight: 400;
  line-height: 1.8;
  height: 100vh;
}

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

li {
  list-style: none;
}

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

h2 {
  font-size: 28px;
  line-height: 1;
}

h3 {
  font-size: 24px;
  text-indent: -28px;
  padding-left: 28px;
  margin-bottom: 30px;
}

h3::before {
  display: inline-block;
  content: "";
  background-color: #333;
  border-radius: 100%;
  width: 16px;
  height: 16px;
  margin: 0 8px 0 4px;
}

h4 {
  font-size: 18px;
  margin-bottom: 10px;
}

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

.header-contents {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1140px;
  width: 90%;
  margin: 0 auto;
}

#header .logo {
  width: 240px;
  line-height: 0;
}

.header-btn a {
  display: block;
  width: 160px;
  background-color: #fdd001;
  border-radius: 4px;
  color: #333;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  padding: 10px 0;
}

.header-btn a:hover {
  background-color: #333;
  color: #fff;
}

/* -- section -- */
.section-body {
  max-width: 1140px;
  width: 90%;
  padding: 80px 0;
  margin: 0 auto;
}

.section-title {
  display: flex;
  max-width: 1140px;
  margin: 0 auto;
}

.section-title .text,
.section-title .image {
  flex: 1;
}

.section-title .text {
  padding: 40px 0 40px 40px;
}

.section-title .en {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 5px;
}

.section-title .en::before {
  display: inline-block;
  content: "";
  background-color: #333;
  border-radius: 100%;
  width: 12px;
  height: 12px;
  margin: 0 8px 0 4px;
}

/* -- button -- */
.apply {
  text-align: center;
  margin-top: 60px;
}

.apply .text {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 15px;
}

.apply .text.white {
  color: #fff;
}

.btn {
  display: block;
  max-width: 360px;
  background-color: #fdd001;
  border-radius: 4px;
  font-weight: 700;
  text-align: center;
  padding: 20px 40px;
  margin: 0 auto;
  position: relative;
  transition: 0.2s cubic-bezier(0.45, 0, 0.55, 1);
  cursor: pointer;
}

.btn:hover {
  background-color: #333;
  color: #fff;
}

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

/* -- mainvisual -- */
.fv {
  display: block;
  width: 100%;
  max-width: 1140px;
  height: auto;
  margin: 80px auto 0;
}

/* -- campaign -- */
.campaign {
  display: block;
  width: 80%;
  max-width: 800px;
  border: 1px solid #333;
  margin: 80px auto 0;
}

/* -- about -- */
.about {
  display: flex;
  gap: 60px;
  align-items: flex-end;
}

.about-item h2 img {
  max-width: 480px;
  width: 100%;
  margin-bottom: 40px;
}

.about-item .description {
  font-size: 16px;
  font-weight: 500;
}

/* -- features -- */
#features {
  background-color: #fff;
  padding-top: 80px;
}

#features h3::before,
.section-title.features {
  background-color: #fdd001;
}

/* engineer */
.engineer {
  margin-bottom: 60px;
}

.engineer .contents {
  display: flex;
  gap: 24px;
}

.engineer .contents .content1,
.engineer .contents .content2 {
  flex: 1;
}

.engineer .contents img {
  margin-bottom: 20px;
}

/* support */
.merits {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: 1fr;
  grid-column-gap: 20px;
  grid-row-gap: 0px;
  text-align: center;
}

.merits .img {
  width: 80px;
  margin: 0 auto;
}

.merits .text h4 {
  margin: 20px 0 5px;
}

.merits .text p {
  font-size: 15px;
}

/* -- work location -- */
#location {
  padding-top: 80px;
}

#location h3::before,
.section-title.location {
  background-color: #f29614;
}

/* info1-2 */
.location-info1,
.location-info2 {
  display: flex;
  gap: 40px;
}

/* info1 */
.location-info1 {
  padding: 60px 0;
}

.location-info1 .img,
.location-info1 .text {
  flex: 1;
}

.location-info1 .img img {
  margin-bottom: 40px;
}

.location-info1 .img p {
  background-color: #fff;
  font-size: 15px;
  padding: 16px;
}

.location-info1 .text img {
  margin: 20px 0;
}

.location-info1 .text dl {
  margin-top: 10px;
}

.location-info1 .text dl dt {
  float: left;
}

.location-info1 .text dl dt::after {
  content: "：";
}

/* info2 */
.location-info2 {
  padding-bottom: 60px;
}

.location-info2 .text,
.location-info2 .gallery-carousel {
  flex: 1;
}

.location-info2 ul {
  padding-left: 1em;
  margin-bottom: 20px;
}

.location-info2 ul li {
  list-style: disc;
}

/* gallery */
.gallery-carousel {
  max-width: 100%;
  margin: 0 auto;
  overflow: hidden;
}

.gallery-carousel input[type="radio"] {
  display: none;
}

.gallery-main {
  width: 100%;
  height: auto;
  position: relative;
}

.gallery-images {
  display: flex;
  width: 400%;
  height: 100%;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-image {
  width: 25%;
  height: 100%;
  object-fit: cover;
}

.gallery-image img {
  width: 100%;
  margin-bottom: 10px;
}

.gallery-image p {
  font-size: 14px;
}

.gallery-thumbnails {
  display: flex;
  padding: 15px;
  gap: 10px;
  justify-content: center;
}

.thumbnail {
  width: 80px;
  height: 60px;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  border: 3px solid transparent;
  transition: all 0.3s ease;
}

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

.thumbnail:hover {
  border-color: #888;
  transform: scale(1.05);
}

#gallery1:checked ~ .gallery-main .gallery-images {
  transform: translateX(0%);
}
#gallery2:checked ~ .gallery-main .gallery-images {
  transform: translateX(-25%);
}
#gallery3:checked ~ .gallery-main .gallery-images {
  transform: translateX(-50%);
}
#gallery4:checked ~ .gallery-main .gallery-images {
  transform: translateX(-75%);
}

#gallery1:checked ~ .gallery-thumbnails label[for="gallery1"],
#gallery2:checked ~ .gallery-thumbnails label[for="gallery2"],
#gallery3:checked ~ .gallery-thumbnails label[for="gallery3"],
#gallery4:checked ~ .gallery-thumbnails label[for="gallery4"] {
  border-color: #f29614;
}

/* gallery-job */
#gallery5:checked ~ .gallery-main .gallery-images {
  transform: translateX(0%);
}
#gallery6:checked ~ .gallery-main .gallery-images {
  transform: translateX(-25%);
}
#gallery7:checked ~ .gallery-main .gallery-images {
  transform: translateX(-50%);
}
#gallery8:checked ~ .gallery-main .gallery-images {
  transform: translateX(-75%);
}

#gallery5:checked ~ .gallery-thumbnails label[for="gallery5"],
#gallery6:checked ~ .gallery-thumbnails label[for="gallery6"],
#gallery7:checked ~ .gallery-thumbnails label[for="gallery7"],
#gallery8:checked ~ .gallery-thumbnails label[for="gallery8"] {
  border-color: #1abcef;
}

/* info3 */
.data-info3 {
  display: flex;
  gap: 24px;
}

.data-info3 > div {
  border-radius: 4px;
  background-color: #fff;
  padding: 20px;
}

.data-info3 h4 {
  text-align: center;
  margin-bottom: 0;
}

.data-info3 img {
  margin: 20px 0;
}

/* -- job description -- */
#job {
  background-color: #fff;
  padding-top: 80px;
}

#job h3::before,
.section-title.job {
  background-color: #1abcef;
}

.info1,
.info2 {
  margin-bottom: 60px;
}

/* info1 */
.table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 auto;
}

.table tr {
  border-top: 1px solid #ccc;
}

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

.table th,
.table td {
  vertical-align: top;
  padding: 30px;
}

.table th {
  width: 20%;
  font-weight: 700;
  text-align: left;
}

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

.table td .paragraph {
  text-indent: -1em;
  padding-left: 1em;
}

/* info2 */
.info2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: 1fr;
  grid-column-gap: 40px;
  grid-row-gap: 0px;
}

.info2-item {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 3;
}

.info2-item .description {
  margin-bottom: 24px;
}

.info2-item .img img,
.info2-item .img .gallery-carousel {
  max-width: 100%;
}

.info2-item ul {
  padding-left: 1em;
  margin-top: 24px;
}

.info2-item ul li {
  list-style: disc;
}

.info2 img {
  width: 100%;
}

/* info3 */
.info3 img {
  border: 3px solid #1abcef;
  border-radius: 4px;
  padding: 40px;
}

/* -- staff interview -- */
#interview {
  padding-top: 80px;
}

#interview h3::before {
  display: none;
}

.section-title.interview {
  background-color: #88db47;
}

.profile {
  display: flex;
  gap: 40px;
  background-color: #88db47;
  padding: 40px;
}

.profile .pr-image {
  flex: 1;
}

.profile .pr-text {
  flex: 2;
}

.profile h3,
.profile .name {
  font-weight: 700;
  margin-bottom: 10px;
}

.profile h3 {
  border-bottom: 1px solid #333;
  font-size: 20px;
  text-indent: 0;
  padding-left: 0;
  padding-bottom: 10px;
}

.profile .name {
  padding-top: 10px;
}

.profile .name .big {
  font-size: 18px;
}

.profile .message {
  font-size: 15px;
  font-weight: 500;
}

.interview-text {
  background-color: #fff;
  padding: 40px;
}

.interview-text .space {
  margin-bottom: 10px;
}

.question {
  font-weight: 700;
  margin-bottom: 10px;
}

.faq {
  margin: 30px 0;
}

/* -- company -- */
#company {
  background-color: #fff;
  padding-top: 80px;
}

.section-title.company {
  background-color: #fdd001;
}

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

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

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

.company-info dt {
  float: left;
}

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

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

/* -- fixed-button -- */
.fix {
  background-color: #f2f2f2;
  padding: 20px 0;
  position: sticky;
  bottom: 0;
  left: 0;
  opacity: 0;
  z-index: -1;
}

.fix .btn {
  width: 90%;
  background-color: #fdd001;
  border: none;
  border-radius: 4px;
  padding: 10px 0;
  margin: 0 auto;
}

.fix .btn:hover {
  background-color: #333;
  color: #fff;
}

/* -- footer -- */
#footer {
  text-align: center;
  padding: 40px 4%;
}

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

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

/* -- display -- */
.sp,
.tablet-on {
  display: none;
}

/* ------------------------------
        Tablet
  ------------------------------ */
@media screen and (max-width: 960px) {
  /* -- display -- */
  .tablet-off {
    display: none;
  }

  .tablet-on {
    display: block;
  }

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

  .header-contents {
    justify-content: center;
  }

  /* -- button -- */
  .btn {
    max-width: 100%;
    padding: 10px 0;
  }

  /* -- mainvisual -- */
  .fv {
    margin: 60px auto 0;
  }

  /* -- about -- */
  .about {
    display: block;
  }

  .about-item h2 img {
    display: block;
    margin: 0 auto 40px;
  }

  .about-item .description {
    margin-bottom: 20px;
  }

  .about .image img {
    width: 100%;
  }

  /* -- features -- */
  .merits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-row-gap: 40px;
  }

  /* -- job description -- */
  /* info1 */
  .table th {
    padding: 30px 20px 30px 30px;
  }

  /* info2 */
  .info2,
  .info2-item {
    display: block;
  }

  .info2-item:first-child {
    margin-bottom: 60px;
  }

  /* -- staff interview -- */
  .profile h3 {
    font-size: 18px;
  }

  /* -- footer -- */
  #footer.section-body {
    border-top: 1px solid #ccc;
    max-width: 100%;
    width: 100%;
    margin: 0;
  }
}

/* ------------------------------
        Smartphone
  ------------------------------ */
@media screen and (max-width: 767px) {
  h2 {
    font-size: 22px;
  }

  h3 {
    font-size: 20px;
  }

  h4 {
    font-size: 18px;
  }

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

  .sp {
    display: block;
  }

  /* -- section -- */
  .section-body {
    padding: 60px 0;
  }

  .section-title {
    display: block;
  }

  .section-title .text {
    padding: 20px 5%;
  }

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

  /* -- button -- */
  .apply {
    margin-top: 40px;
  }

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

  /* -- campaign -- */
  .campaign {
    margin: 60px auto 0;
  }

  /* -- features -- */
  #features {
    padding-top: 60px;
  }

  /* engineer */
  .engineer .contents {
    display: block;
  }

  .engineer .contents .content1 {
    margin-bottom: 40px;
  }

  /* support */
  .merits {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  /* -- work location -- */
  #location {
    padding-top: 60px;
  }

  /* info1_info2 */
  .location-info1,
  .location-info2 {
    display: block;
  }

  /* info1 */
  .location-info1 .img {
    margin-bottom: 30px;
  }

  .location-info1 .img img {
    display: block;
    width: 60%;
    margin: 0 auto 40px;
  }

  /* info3 */
  .data-info3 {
    display: block;
  }

  .data-info3 .place,
  .data-info3 .age {
    margin-bottom: 24px;
  }

  .data-info3 img {
    display: block;
    width: 60%;
    margin: 20px auto;
  }

  /* -- job description -- */
  #job {
    padding-top: 60px;
  }

  /* info1 */
  .table th,
  .table td {
    display: block;
  }

  .table th {
    width: 100%;
    padding: 20px 0 10px;
  }

  .table td {
    padding: 0 0 20px;
  }

  /* info3 */
  .info3 img {
    border: none;
    padding: 0;
  }

  /* -- staff interview -- */
  #interview {
    padding-top: 60px;
  }

  .profile {
    display: block;
  }

  .profile .pr-image img {
    width: 100%;
    margin-bottom: 24px;
  }

  /* -- company -- */
  #company {
    padding-top: 60px;
  }

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

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

  .company-info .text {
    margin-bottom: 24px;
  }

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

@media screen and (max-width: 380px) {
  h2 {
    font-size: 20px;
  }

  h3 {
    font-size: 18px;
  }

  h4 {
    font-size: 16px;
  }

  /* -- work location -- */
  /* info1 */
  .location-info1 .img img {
    width: 80%;
  }

  .location-info1 .img p {
    font-size: 14px;
  }

  /* -- staff interview -- */
  .profile,
  .interview-text {
    padding: 20px;
  }
}

@media screen and (max-width: 320px) {
  .btn::after {
    display: none;
  }
}
