@charset "UTF-8";
* {
  box-sizing: border-box;
}
html {
  font-size: 100%;
}
body {
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  color: #000000;
  font-size: 1.125rem;
}
img {
  max-width: 100%;
}
li {
  list-style: none;
}
a {
  text-decoration: none;
  display: block;
}
.site-logo {
  width: 220px;
  line-height: 1px;
}
.wrapper {
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
  padding: 0 1%;
}
.large-break {
  display: block;
  content: "";
  margin-bottom: 16px;
}
.pc {
  display: block;
}
.sp {
  display: none;
}
/* header */
header {
  margin-bottom: 8px;
}
header .blueline {
  width: 100%;
  height: 16px;
  background-color: #2d64af;
}
header .site-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
header .phone-number {
  font-size: 2.5rem;
  color: #2d64af;
}
header .phone {
  font-size: 2rem;
}
/* main */
.page-tab {
  display: flex;
  justify-content: space-between;
  height: 56px;
  line-height: 56px;
  margin-bottom: 4px;
  font-weight: 450;
}
.page-tab li {
  width: calc(96% / 3);
  display: block;
  text-align: center;
  border-right: #d9d9d9;
  border-collapse: collapse;
  position: relative;
  cursor: pointer;
  box-shadow: 0px 7px 10px 0px #00000040;
}
.tab.active {
  background-color: #e9eef6;
}
.tab-content {
  display: none;
}
.tab-content.active {
  display: block;
}
/* index */
#mainvisual {
  padding: 8px 4px 0;
}
#mainvisual img {
  min-width: 320px;
  height: calc(100vh - 160px);
  object-fit: cover;
}
.text {
  text-align: center;
  background-image: url(../img/home_bg.png);
  background-size: cover;
  margin-top: calc(100vh - 160px);
  padding: 218px 0;
}
.text p {
  margin-bottom: 56px;
}
.text .title {
  font-size: 1.875rem;
  color: #494f51;
  padding: 28px 0;
  position: relative;
  display: inline-block;
  margin-bottom: 110px;
}
.text .title::after {
  content: "";
  width: 100%;
  border-bottom: 3px solid #000000;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
}
.fade-pictures {
  min-width: 744px;
  width: 100%;
  position: relative;
  margin: 0 auto;
}
.fade-pictures li {
  animation: fade 15s infinite;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  margin: auto;
  opacity: 0;
  text-align: center;
}
.fade-pictures li:nth-child(1) {
  animation-delay: 0s;
}
.fade-pictures li:nth-child(2) {
  animation-delay: 5s;
}
.fade-pictures li:nth-child(3) {
  animation-delay: 10s;
}
@keyframes fade {
  0% {
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  30% {
    opacity: 1;
  }
  45% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}
/* content */
h2 {
  text-align: center;
  margin-bottom: 88px;
  font-size: 2.25rem;
  color: #ffffff;
  margin-bottom: 24px;
  background-image: url(../img/job-title.png);
  background-size: cover;
  height: 160px;
  line-height: 160px;
}
.accordion-menu {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto;
  width: 100%;
  min-width: 350px;
  margin-bottom: 88px;
}
.accordion-menu > li {
  width: 80%;
  min-width: 640px;
  margin: 0 auto;
  border-top: #999999 1px dotted;
}
.accordion-menu li:first-child {
  border-top: none;
}
.accordion-header {
  padding: 16px 0 16px 8px;
  line-height: 2;
  position: relative;
  cursor: pointer;
  font-size: 1rem;
}
.accordion-header.open {
  box-shadow: 3px 4px 4px 2px #0000004a;
  transition: 0.5s;
}
.accordion-header p {
  font-weight: 450;
}
.accordion-button {
  display: block;
  position: absolute;
  top: 50%;
  right: 8px;
  aspect-ratio: 1;
  width: 20px;
}
.accordion-button span {
  content: "";
  display: block;
  width: 16px;
  height: 1px;
  border: #999999 1px solid;
}
.accordion-button span:first-child {
  transform: rotate(90deg) translateX(2px);
  opacity: 1;
  transition: opacity 0.5s;
}
.accordion-button.open span:first-child {
  opacity: 0;
}
.accordion-inner {
  padding: 16px 1%;
  display: none;
  font-size: 1rem;
  margin: 32px 0;
}
.accordion-inner span {
  display: inline-block;
  font-size: 0.875rem;
  font-style: italic;
  background-color: #f3f8ff;
  margin-top: 24px;
}
.accordion-inner.open {
  display: block;
}
.table {
  background-color: #f3f8ff;
  padding: 16px;
  margin-top: 24px;
}
.dl-title {
  margin-bottom: 16px;
}
.table dt,
.table dd {
  font-size: 0.875rem;
  margin-bottom: 8px;
  padding-left: 14px;
}
.table dl {
  display: flex;
  flex-wrap: wrap;
  margin-top: 24px;
}
.table dt {
  width: 30%;
  font-weight: 600;
  position: relative;
}
.table dt::before {
  content: "・";
  position: absolute;
  left: 0;
}
.table dd {
  width: 70%;
}
/* profile */
.company-profile dl {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 80%;
  margin: 80px auto;
}
.company-profile dt {
  width: 35%;
}
.company-profile dd {
  width: 65%;
}
.company-profile dt,
.company-profile dd {
  border-bottom: #999999 1px solid;
  padding: 36px 0;
}
.company-profile dt:last-of-type,
.company-profile dd:last-of-type {
  border-bottom: none;
}
.company-profile dd p {
  line-height: 1.6;
  margin-bottom: 24px;
}
.map {
  width: 100%;
  height: 0;
  padding-top: 56.25%;
  position: relative;
}
.map iframe {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}
/* footer */
footer {
  background-color: #2d64af;
  color: #ffffff;
  font-size: 1rem;
  height: 320px;
}
footer .footer-flex {
  display: flex;
  justify-content: center;
  align-items: center;
  height: calc(320px - 32px);
  padding: 60px 0;
}
footer .footer-logo {
  aspect-ratio: 1/1;
  width: 120px;
  margin-right: 40px;
}
footer .footer-text {
  line-height: 1.3;
  font-weight: 500;
}
footer .footer-text .company-name {
  margin-bottom: 24px;
}
footer .footer-text .adress {
  margin-bottom: 8px;
}
footer .copyright {
  text-align: center;
  padding-bottom: 8px;
}
@media screen and (max-width: 768px) {
  body {
    overflow-x: hidden;
  }
  .pc {
    display: none;
  }
  .sp {
    display: block;
  }
  header .site-logo img {
    width: 99%;
    min-width: 110px;
  }
  header .phone-number {
    display: none;
  }
  #mainvisual {
    padding: 4px 0;
  }
  #mainvisual img {
    max-height: calc(100vh - 158px);
  }
  .fade-pictures {
    width: 100%;
    min-width: 320px;
  }
  .text {
    background-image: url(../img/home_bg_sp.png);
  }
  .table dl {
    flex-direction: column;
  }
  .table dt {
    width: 100%;
    margin-bottom: 4px;
  }
  .table dd {
    width: 100%;
    margin-bottom: 24px;
  }
  .accordion-menu > li {
    width: 92%;
    min-width: auto;
  }
  .company-profile dl {
    width: 92%;
  }
  .company-profile dt {
    padding-left: 10px;
  }
  footer .footer-logo {
    width: 96px;
    margin-right: 16px;
  }
  footer .footer-text .company-name {
    margin-bottom: 16px;
  }
  footer .footer-text .adress {
    font-size: 0.875rem;
    margin-bottom: 4px;
  }
  footer .footer-text .tel {
    font-size: 0.875rem;
  }
}
