/*
Theme Name: fhc-template
Author: Move Free
Version: 1.0
*/
/* 初期化 */
body {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
  overflow-x: hidden;
  font-family: "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN";
}
a {
  text-decoration: none;
}
li {
  list-style: none;
  padding-left: 0;
}

.only-pc {
  display: block;
}
.only-sp {
  display: none;
}
/* ヘッダー */
.site-header {
	display: flex;
  position: relative;
	height: 84px;
	background-color: white;
  box-shadow: 0px 3px 6px #00000029;
  z-index: 300;
}
.logo img {
  width: 253px;
  height: 84px;
  left: 0px;
}
.header-nav {
  display: flex;
  position: absolute;
  right: 0px;
  height: 84px;
  background-color: white;
  gap: 35px;
  font-family: "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN";
  font-weight: 300;
  font-size: 16px;
  line-height: 27px;
}
.nav-items {
  display: flex;
  align-items: center;
  gap: 35px;
}
.nav-items a {
  color: #404040
}
/* メールアイコン */
.dli-mail {
  display: inline-block;
  vertical-align: middle;
  color: white;
  line-height: 1;
  position: relative;
  width: 1.06667em;
  height: 0.8em;
  border: 0.1em solid currentColor;
  border-radius: 0.1em;
  box-sizing: content-box;
  overflow: hidden;
}
.nav-contact{
  width: 187px;
  background-color: #214c9f;
  text-align: center;
  align-content: center;
  color: white;
}

.dli-mail::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  width: 0.75425em;
  height: 0.75425em;
  border: 0.1em solid currentColor;
  border-top-color: transparent;
  border-right-color: transparent;
  border-radius: 0 0 0 0.1em;
  box-sizing: content-box;
  transform: translate(-50%, -50%) rotate(-45deg) skew(10deg, 10deg);
}


/* hover */
.nav-contact:hover {
  background-color: white;
  border: 3px solid #214c9f;
  box-sizing: border-box;
  color: #214c9f;
}
.nav-contact:hover .dli-mail {
  color: #214c9f;
}

/* ------ ハンバーガーメニュー ----- */
/* チェックボックス非表示 */
.drawer_hidden {
  display: none;
}

/* アイコンの枠 */
.drawer_open {
  display: none;
  height: 60px;
  width: 60px;
  margin:10px;
  justify-content: center;
  align-items: center;
  position: absolute;
  right: 25px;
  cursor: pointer;
  z-index: 200;
}

/* アイコンの線 */
.drawer_open span,
.drawer_open span::before,
.drawer_open span::after {
  content: '';
  display: block;
  height: 2px;
  width: 31px;
  border-radius: 2px;
  background: #214c9f;
  transition: 0.5s;
  position: absolute;
}
.drawer_open span::before {
  bottom: 12px;
}
.drawer_open span::after {
  top: 12px;
}

/* ×アイコン変形 */
#drawer_input:checked ~ .drawer_open span {
  background: transparent;
}
#drawer_input:checked ~ .drawer_open span::before {
  transform: rotate(45deg);
  bottom: 0;
  background: #214c9f;
}
#drawer_input:checked ~ .drawer_open span::after {
  transform: rotate(-45deg);
  top: 0;
  background: #214c9f;
}

/* メニュー本体 */
.hamburger_content {
  position: absolute;
  top: 84px;
  width: 100%;
  height: 0;
  background-color: #E5EEFF;
  transition: 0.5s;
  z-index: 5;
  overflow: hidden;
}

.hamburger_list {
  flex-direction: column;
  list-style: none;
  padding: 0;
  margin: 35px 0;
  width: 100%;
}

.hamburger_item {
  position: relative;
  padding: 35px 7%;
  border-bottom: 1px solid #707070;
}
.hamburger_item:first-child {
  border-top: 1px solid #707070;
}

.hamburger_item a {
  display: block;
  width: 100%;
  height: 100%;
  text-align: left;
  font-weight: 600;
  font-size: 25px;
  line-height: 43px;
  color: #214c9f;
}
.hamburger_contact {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hamburger_contact a {
  width: 80%;
  background-color: #214c9f;
  text-align: center;
  margin: 35px;
  padding: 30px;
  color: white;
}

.arrow {
  padding: 11px;
}
.hamburger_item .arrow {
  display: inline-block;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 15%;
}
.arrow::before {
  content: '';
  width: 10px;
  height: 10px;
  right: 0px;
  border-top: solid 2px #404040;
  border-right: solid 2px #404040;
  position: absolute;
  top: 8px;
}
.hamburger_contact_a .arrow {
  position: relative;
  display: inline-block;
}
.hamburger_contact_a .arrow::before {
  content: '';
  border-top: solid 2px white;
  border-right: solid 2px white;
}
.arrow.arrow-right::before {
  transform: rotate(45deg);
}

/* 開いた時に表示 */
#drawer_input:checked ~ .hamburger_content {
  height: calc(100vh - 84px);
}

/*----- index.php -----*/
/* main-visual*/
main {
  font-family: "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN";
}
.main-visual {
  position: relative;
  width: 100%;
  height: 998px;
  overflow: hidden;
}
.chtchphrase {
  position: absolute;
  top: 50%;
  left: 7%;
  transform: translateY(-50%);
  z-index: 3;
  color: #ffffff;
  font-weight: 300;
  font-size: 60px;
  line-height: 102px;
}
.main-visual_image-container {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.main-visual_image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.trapezoid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #214c9f;
  clip-path: polygon(0% 0%, 70% 0%, 30% 100%, 0% 100%);
  z-index: 2;
}

/* service */
.service {
  margin: 135px 7% 0px 7%;
}
.service h2 {
  font-weight: 600;
  font-size: 42px;
  line-height: 71px;
  color: #214c9f;
}
.service-item {
  display: flex;
  margin-bottom: 35px;
  width: 100%;
}
.service-item.reverse {
  flex-direction: row-reverse;
}
.service-img {
  margin: auto 0;
  aspect-ratio: 750 / 531;
  width: 50%;
  height: 100%;
}
.service-img img{
  width: 100%;
}
.service-text {
  margin: auto 0;
  padding-left: 35px;
  width: 50%;
}
.service-text.reverse {
  padding-right: 35px;
}
.service-text h3 {
  margin-top: 0;
  font-weight: 300;
  font-size: 25px;
  line-height: 43px;
  color: #214c9f;
}
.service-text h4 {
  margin: 25px 0 3px 0;
  font-weight: 300;
  font-size: 21px;
  line-height: 27px;
  color: #214c9f;
}
.service-text p {
  margin: 0 0;
  font-weight: 300;
  font-size: 16px;
  line-height: 27px;
  color: #404040;
}

/* philosophy */
.philosophy {
  position: relative;
  margin-top: 140px;
  align-items: stretch;
}
.philosophy_image-container {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.philosophy_image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  opacity: 0.49;
}
.philosophy-text {
  position: relative;
  margin: auto 0;
  padding: 191px 7% 192px 7%;
  z-index: 2;
}
.philosophy h2 {
  margin-top: 0;
  font-weight: 600;
  font-size: 42px;
  line-height: 71px;
  color: #214c9f;
}
.philosophy p {
  margin-bottom: 0;
  font-weight: 600;
  font-size: 25px;
  line-height: 43px;
  color: #404040;
}

/* recruit */
.recruit {
  margin: 140px 7% 0px 7%;
}
.recruit h2 {
  font-weight: 600;
  font-size: 42px;
  line-height: 71px;
  color: #214c9f;
}
.recruit-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #707070;
}
.recruit-table tr {
  border-bottom: 1px solid #707070;
}
.recruit-table th,
.recruit-table td {
  padding: 35px 0;
  vertical-align: middle;
  border-bottom: 1px solid #707070;
}
.recruit-table th {
  width: 35%;
  font-weight: 600;
  font-size: 25px;
  line-height: 43px;
  color:#404040;
  background-color: rgba(226, 236, 255, 81);
}
.recruit-table td {
  padding-left: 35px;
  padding-right: 15px;
  width: 65%;
  font-weight: 300;
  font-size: 20px;
  line-height: 34px;
  color:#404040;
}

/*----- footer.php -----*/
/* company */
footer {
  font-family: "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN";
}
.company {
  margin-top: 140px;
  padding: 70px 7%;
  background-color: #E6EFFF;
}
.company h2 {
  font-weight: 600;
  font-size: 42px;
  line-height: 71px;
  color: #214c9f;
}
.company-content {
  display: flex;
  gap: 35px;
  width: 100%;
}
.company-table {
  width: 50%;
}
.company-table th,
.company-table td {
  padding-bottom: 25px;
  vertical-align: top;
}
.company-table th {
  width: 20%;
  text-align: left;
  font-weight: 600;
  font-size: 16px;
  line-height: 27px;
  color: #404040;
}
.company-table td {
  font-weight: 300;
  font-size: 16px;
  line-height: 27px;
  color: #404040;
}

.company-map {
  width: 50%;
  max-width: 750px;
  max-height: 420px;
}
.company-map iframe {
  width: 100%;
}

.footer-copy {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 87px;
  background-color: white;
  margin-top: auto;
  margin-bottom: auto;
  font-weight: 300;
  line-height: 27px;
  color: #404040;
}

@media (max-width: 1600px) {
  .main-visual {
    width: 100%;
    height: 768px;
  }

  .recruit-table th,
  .recruit-table td {
    padding: 15px 0;
  }
  .recruit-table td {
    padding-left: 15px;
  }

  .philosophy-text {
    padding: 80px 7% 80px 7%;
  }
}

/* メディアクエリ */
@media (max-width: 1000px) {
  .only-pc {
    display: none;
  }
  .only-sp {
    display: block;
  }

  /* ヘッダー */
  .site-header {
    height: 52px;
  }
  .logo img {
    width: 157px;
    height: 52px;
  }
  /* 通常ナビゲーションを非表示にする */
  .header-nav {
    display: none;
  }

  /* ハンバーガーメニューを表示する */
  .drawer_open {
    display: flex;
    margin: 0 0;
    height: 52px;
    width: 52px;
  }
  .hamburger_content {
    top: 52px;
  }
  #drawer_input:checked ~ .hamburger_content {
    height: calc(100vh - 52px);
  }
  

  .main-visual {
    position: static;
    width: 100%;
    height: 739px;
  }
  .main-visual h1 {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .chtchphrase {
    position: static;
    top: auto;
    left: auto;
    transform: none;
    z-index: 3;
    text-align: left;
    font-weight: 300;
    font-size: 35px;
    line-height: 60px;
    color: #214c9f;
  }
  .main-visual_image-container{
    position: static;
    align-content: center;
    height: 514px;
    right: auto;
    z-index: 1;
  }
  .trapezoid {
    display: none;
  }

  .service {
    margin-top: 107;
  }
  .service h2 {
    text-align: center;
  }
  .service-item {
    display: block;
  }
  .service-img {
    width: 100%;
  }
  .service-text {
    padding-left: 0px;
    width: 100%;
  }
  .service-text h3 {
    margin-top: 35px;
  }

  .philosophy {
    margin-top: 107;
  }
  .philosophy h2 {
    text-align: center;
  }
  .philosophy-text {
    padding: 35px 7% 60px 7%;
  }
  .philosophy p {
    font-size: 16px;
    line-height: 27px;
  }

  .recruit {
    margin-top: 107px;
  }
  .recruit h2 {
    text-align: center;
  }
  .recruit-table th,
  .recruit-table td {
    font-size: 16px;
    line-height: 27px;
  }

  .company {
    margin-top: 107px;
  }
  .company h2 {
    text-align: center;
  }
  .company-content {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .company-table {
    width: 100%;
  }
  .company-table td {
    padding-left: 5px;
  }
  .company-map {
    display: none;
  }
}

@media (max-width: 500px) {
  .company-table th {
    width: 35%;
  }
}