@charset "UTF-8";

/*
======================= レスポンシブ用 CSS ==========================
PC　　　　　   ： 1025px 〜
タブレット　： 769px 〜 1024px
スマホ　　　 ： 〜 768px
===================================================================
*/

/*====================================
  各種ページ共通処理
=====================================*/

/* 各ページトップ画像部分*/
.background-img {
  position: relative;
  top: 0;
  width: 100%;
  height: 70vh;
  background-size: cover;
  background-position: center;
  border-bottom: 3rem solid #000;
}
.background-img::before {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 70vh;
  background-color: rgba(0, 0, 0, 0.3);
}
#business .background-img {
  background-image: url("../images/business-leaf.jpg");
}
#service .background-img {
  background-image: url("../images/service-leaf.jpg");
}
#company .background-img {
  background-image: url("../images/company-leaf.jpg");
}
#environment .background-img {
  background-image: url("../images/environment-leaf.jpg");
}
#recruit .background-img {
  background-image: url("../images/recruit-leaf.jpg");
}
#contact .background-img {
  background-image: url("../images/contact-leaf.jpg");
  width: 100%;
  height: 13.3rem;
}
#contact .background-img::before {
  height: 13.3rem;
}
#privacy .background-img {
  background-image: url("../images/privacy-leaf.jpg");
  height: 15rem;
}
#privacy .background-img::before {
  height: 15rem;
}

.top-coment {
  position: absolute;
  top: 45%;
  left: 15%;
  color: #fff;
  text-align: left;
}
.triangle {
  width: 30px;
  height: 30px;
  background: #000;
  transform: rotate(45deg);
  margin: -1rem auto;
  z-index: 1;
}
.page-category {
  text-align: center;
}

/* 各ページ目次 */
.big-title {
  font-size: 3rem;
  margin-bottom: 0.5rem;
  color: #000;
  font-weight: bold;
  cursor: default;
}
.container {
  width: 100%;
  max-width: 1200px;
  margin: auto;
  box-sizing: border-box;
  padding: 100px 1rem 0;
}
/* 黒線 */
.heading-underline {
  border-bottom: 0.3rem solid #000;
  padding-left: 0.5rem;
}
/* グレー線 */
.thin-underline {
  border-bottom: 0.05rem solid #707070;
  padding-bottom: 0.5rem;
  width: 100%;
}
@media (max-width: 768px) {
  .background-img {
    display: none;
  }
  .container {
    padding: 80px 1rem 0;
  }
  .big-title {
    font-size: 2rem;
  }
}

/*====================================
　　事業内容ページ 　　　business.html
=====================================*/

#business {
  overflow: hidden;
}
.business-content {
  display: flex;
  padding: 100px 0;
}
.business-content .business-content-img {
  width: 50%;
  padding: 50px 25px;
  position: relative;
}
.business-content .business-content-img .main-img {
  object-fit: cover;
  margin-top: 40%;
}
.business-content .business-content-img .sub-img {
  height: 380px;
  width: auto;
  min-width: 680px;
  position: absolute;
  z-index: -1;
  object-fit: cover;
}
/* 右画像 */
.business-content .business-content-img.right .main-img {
  height: 340px;
  width: 100%;
  box-shadow: 15px 15px;
}
.business-content .business-content-img.right .sub-img {
  top: 0;
  left: 250px;
  right: calc(50% - 50vw);
}
/* 左画像 */
.business-content .business-content-img.left .main-img {
  height: auto;
  width: calc(100vw * 0.5);
  max-width: 600px;
  box-shadow: -15px 15px;
  border: solid 0.5px #7d7d7d;
}
.business-content .business-content-img.left .sub-img {
  top: 0;
  left: -50%;
}
.business-content .business-content-text {
  width: 50%;
  padding: 50px 25px;
  line-height: 2.5rem;
}
.business-content .business-content-text h1 {
  position: relative;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 60px;
  color: rgb(0, 0, 0, 0.1);
  line-height: 70px;
  padding-bottom: 20px;
}
.business-content .business-content-text h1::after {
  position: absolute;
  left: 0;
  bottom: -10px;
  content: attr(jp-str);
  font-family: sans-serif;
  font-size: 30px;
  color: rgba(0, 0, 0, 1);
}
.business-content .business-content-text p {
  margin-bottom: 3rem;
}
.business-content .business-content-text .business-content-link p {
  text-align: center;
  font-size: 16px;
  line-height: 1.25rem;
  margin-bottom: 0.5rem;
  padding-right: 5px;
}
.business-content .business-content-text .business-content-sm-img {
  display: none;
}
@media (max-width: 1024px) {
  .business-content .business-content-img {
    display: none;
  }
  .business-content .business-content-text {
    width: 100%;
    padding: 0 20px;
  }
  .business-content .business-content-text .business-content-sm-img {
    display: block;
    text-align: center;
  }
  .business-content .business-content-text .business-content-sm-img img {
    width: 80%;
    height: auto;
  }
}
@media (max-width: 768px) {
  .business-content .business-content-text .business-content-sm-img img {
    width: 100%;
  }
}

/*====================================
　　開発事例ページ 　　　service.html
=====================================*/
.service-content h4 {
  font-weight: normal;
  width: 100%;
}
.service-content i {
  color: #707070;
}
#service .service-content .development-case {
  margin-bottom: 10rem;
}
#service .service-content .development-case h4 {
  margin-bottom: 1.5rem;
}
#service .service-content .development-case .development-case-detail {
  display: flex;
  gap: 10px;
}
#service .service-content .development-case .development-case-detail table {
  width: calc(65% - 10px);
  border-collapse: initial;
}
#service
  .service-content
  .development-case
  .development-case-detail
  table
  tr
  th,
#service
  .service-content
  .development-case
  .development-case-detail
  table
  tr
  td {
  padding: 0;
  border-style: none;
  vertical-align: top;
}
#service
  .service-content
  .development-case
  .development-case-detail
  table
  tr
  th {
  width: 30%;
}
#service
  .service-content
  .development-case
  .development-case-detail
  table
  tr
  td
  a {
  color: #60d630;
}
#service
  .service-content
  .development-case
  .development-case-detail
  .development-case-img {
  width: 35%;
  height: 15rem;
  overflow: hidden;
}
#service
  .service-content
  .development-case
  .development-case-detail
  .development-case-img
  img {
  width: 100%;
  height: inherit;
  object-fit: cover;
  object-position: top;
}
#service .service-content .development-case .development-case-text {
  width: inherit;
  margin-top: 2rem;
  padding: 1rem 2rem;
  background-color: #e8e8e8;
}
@media (max-width: 1024px) {
  #service .service-content .development-case .development-case-detail {
    flex-direction: column-reverse;
  }
  #service .service-content .development-case .development-case-detail table {
    width: 100%;
  }
  #service
    .service-content
    .development-case
    .development-case-detail
    .development-case-img {
    height: 12rem;
    width: 340px;
  }
}
@media (max-width: 768px) {
  #service .service-content .development-case {
    margin-bottom: 5rem;
  }
  #service
    .service-content
    .development-case
    .development-case-detail
    .development-case-img {
    width: 100%;
  }
  #service
    .service-content
    .development-case
    .development-case-detail
    table
    tr {
    display: flex;
    flex-direction: column;
    border-top: unset;
    padding: 10px 0;
  }
  #service
    .service-content
    .development-case
    .development-case-detail
    table
    tr
    th {
    width: 100%;
    font-weight: bold;
  }
  #service .service-content .development-case .development-case-text {
    margin-top: -0.2rem;
    padding: 1rem;
  }
}

/*====================================
　　会社概要ページ 　　　company.html
=====================================*/
#company table {
  margin-top: 3rem;
}
#company table td {
  width: 60%;
}
#company .company-image {
  width: 100%;
  height: 140px;
  display: flex;
  border-top: 1rem solid #000;
  border-bottom: 1rem solid #000;
}
#company .company-image .company-picture {
  width: 100%;
  height: 140px;
  overflow: hidden;
}
#company .company-image .company-picture img {
  min-width: 100%;
  min-height: 100%;
  max-width: 105%;
  max-height: 105%;
  width: auto;
  height: auto;
}
#access {
  padding-bottom: 6rem;
}
#access hr {
  margin: 100px 0;
}
#access .access-box {
  display: flex;
  margin-top: 3rem;
  gap: 50px;
}
#access .access-box .address {
  width: 300px;
}
#access .access-box .map {
  width: calc(100% - 300px - 50px - 15px);
  box-shadow: 15px 15px;
}
#access .access-box .map iframe {
  height: 100%;
  width: 100%;
  border: unset;
  box-sizing: border-box;
}
@media (max-width: 1024px) {
  #access .access-box {
    gap: 20px;
  }
  #access .access-box .map {
    width: calc(100% - 300px - 20px - 15px);
  }
}
@media (max-width: 768px) {
  #company table tr {
    display: flex;
    flex-direction: column;
    border-bottom: unset;
    padding: 1rem 0;
  }
  #company table tr:last-child {
    border-bottom: solid 1px #707070;
  }
  #company table tr th,
  #company table tr td {
    width: 100%;
    padding: unset;
  }
  #company table tr th {
    font-weight: bold;
    padding-bottom: 0.25rem;
  }
  #company table tr td b {
    font-weight: normal;
  }
  #company .company-image {
    display: none;
  }
  #access .access-box {
    flex-direction: column;
  }
  #access .access-box .address {
    width: 100%;
  }
  #access .access-box .map {
    width: calc(100% - 15px);
    height: 300px;
  }
}

/*====================================
　　社内環境ページ 　　　environment.html
=====================================*/
.environment-top {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin: 5rem 0;
}
.environment-top .environment-top-text {
  width: calc(50% - 1rem);
  line-height: 1.8em;
}
.environment-top .environment-top-img {
  width: calc(50% - 1rem - 10px);
}
.environment-top .environment-top-img img {
  height: auto;
  width: 100%;
  box-shadow: 10px 10px;
}
.environment-items {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.environment-items .environment-item {
  width: 30%;
  align-items: flex-start;
  margin-top: 4rem;
}
.environment-items .environment-item img {
  width: 100%;
  border-top: 0.8rem solid black;
}
.environment-items .environment-item .environment-item-text {
  margin: 0;
}
@media (max-width: 1024px) {
  .environment-top {
    flex-direction: column-reverse;
    align-items: center;
    gap: 2rem;
  }
  .environment-top .environment-top-text {
    width: 100%;
  }
  .environment-top .environment-top-img {
    width: 80%;
  }
}
@media (max-width: 768px) {
  .environment-top {
    margin: 0 0 2rem;
  }
  .environment-top .environment-top-img {
    width: 100%;
  }
  .environment-items .environment-item {
    width: 48%;
  }
}
@media (max-width: 500px) {
  .environment-items .environment-item {
    width: 100%;
  }
}

/*====================================
　　採用情報ページ 　　 recruit.html
=====================================*/
#application-essential h3 {
  margin-top: 1.5rem;
}
#application-essential h3 i {
  padding-right: 1rem;
}
#application-essential .application-essential-item {
  padding: 0.5rem;
}
#application-essential .application-essential-item h5 {
  font-weight: normal;
  font-size: 18px;
  margin: 1rem 0;
}
#application-essential .application-essential-item ul {
  padding-left: 2rem;
  margin-top: -1rem;
  margin-bottom: 1rem;
}
#application-essential .application-essential-item p {
  padding-left: 1rem;
}
#application-essential .application-essential-item p span {
  margin-left: -1rem;
}
#application-essential .application-essential-item p small {
  color: #7d7d7d;
}
/* 求人掲載 */
#application-essential .application-essential-item .type-cm {
  display: flex;
  gap: 1rem;
}
#application-essential .application-essential-item .type-cm a {
  display: block;
  transition: 0.3s;
  position: relative;
}
#application-essential .application-essential-item .type-cm a i {
  position: absolute;
  left: 4px;
  bottom: 12px;
  color: #000;
  font-size: 16px;
  text-shadow: 1px 1px 4px #fff, -1px 1px 4px #fff, 1px -1px 4px #fff,
    -1px -1px 4px #fff;
}
#application-essential .application-essential-item .type-cm a:hover {
  opacity: 0.8;
  transition: 0.3s;
}
#application-essential .application-essential-item .type-cm a img {
  height: auto;
  width: 100%;
  box-shadow: 2px 2px 8px #7d7d7d;
  transition: 0.3s;
}
#application-essential .application-essential-item .type-cm a:hover img {
  box-shadow: unset;
  transition: 0.3s;
}

/* 求人関連画像 */
#application-essential .application-essential-item .job-images {
  display: flex;
  gap: 1rem;
}
#application-essential .application-essential-item .job-images div {
  display: block;
}
#application-essential .application-essential-item .job-images img {
  height: auto;
  width: 100%;
  box-shadow: 2px 2px 8px #7d7d7d;
  transition: 0.3s;
}

#entry p {
  padding-left: 0.4rem;
}
#entry p span.tel {
  font-size: 30px;
  font-weight: bold;
}
#entry p span.tel i {
  padding-right: 1rem;
}
#entry p span.caption {
  font-size: 14px;
}
@media (max-width: 500px) {
  #application-essential .application-essential-item .type-cm a i {
    display: none;
  }
}

/*====================================
　　お問い合わせページ　contact.html
=====================================*/
#contact table.form {
  margin: 3rem 0;
}
#contact table.form tbody tr th,
#contact table.form tbody tr td {
  padding: 1rem 1.5rem;
  border: solid 1px #000;
}
#contact table.form tbody tr th {
  width: 35%;
  min-width: 280px;
  background-color: #e8e8e8;
}
#contact table.form tbody tr th.required::after {
  content: "必須";
  font-size: 14px;
  color: white;
  padding: 0.2rem 0.4rem;
  background-color: rgba(230, 50, 50, 1);
  border-radius: 0.2rem;
  margin: 0.5rem;
}
.input-form-group input:not([type="radio"]):not([type="checkbox"]):not([type="file"]),
.input-form-group select,
.input-form-group textarea {
  padding-block-start: 0.3rem;
  padding-block-end: 0.3rem;
  padding-inline-start: 0.5rem;
  font-size: 1rem;
  line-height: 1.5;
  width: calc(100% - 0.5rem);
  border: 1px solid #707070;
  font-family: inherit;
}
.input-form-group .radio-group input[type="radio"] {
  margin-right: 6px;
  vertical-align: middle;
}
.input-form-group .radio-group label {
  vertical-align: middle;
}
/* ラジオボタン & チェックボックス カスタムデザイン */
.radio-btn input[type="radio"],
.privacy-policy input[type="checkbox"] {
  display: none;
}
.radio-btn input[type="radio"] + label,
.privacy-policy input[type="checkbox"] + label {
  padding-left: 20px;
  position: relative;
  margin-right: 20px;
  cursor: pointer;
}
.radio-btn input[type="radio"] + label:hover {
  opacity: 0.8;
}
.radio-btn input[type="radio"] + label::before,
.privacy-policy input[type="checkbox"] + label::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 15px;
  height: 15px;
  border: 1px solid #000;
}
.radio-btn input[type="radio"] + label::before {
  border-radius: 50%;
}
.privacy-policy input[type="checkbox"] + label::before {
  border-radius: 4px;
}
.radio-btn input[type="radio"]:checked + label {
  color: orange;
}
.radio-btn input[type="radio"]:checked + label::after,
.privacy-policy input[type="checkbox"]:checked + label::after {
  content: "";
  display: block;
  position: absolute;
}
.radio-btn input[type="radio"]:checked + label::after {
  top: 3px;
  left: 3px;
  width: 11px;
  height: 11px;
  background-color: orange;
  border-radius: 50%;
}
.privacy-policy input[type="checkbox"]:checked + label::after {
  top: -5px;
  left: 5px;
  width: 7px;
  height: 14px;
  transform: rotate(40deg);
  border-bottom: 3px solid forestgreen;
  border-right: 3px solid forestgreen;
}
.privacy-policy {
  text-align: center;
  margin: 2rem 0;
  color: #000;
}
.privacy-policy a.privacy-policy-text {
  color: forestgreen;
}
.privacy-policy a.privacy-policy-text:hover {
  opacity: 0.8;
}
.error-message {
  line-height: 1rem;
}
.error-message span {
  color: rgb(230, 50, 50);
  font-size: 0.9rem;
}
@media (max-width: 768px) {
  #contact table.form tbody tr {
    display: flex;
    flex-direction: column;
    border: unset;
  }
  #contact table.form tbody tr th,
  #contact table.form tbody tr td {
    padding: 1rem 0.5rem;
  }
  #contact table.form tbody tr th {
    width: auto;
    border-top: unset;
    border-bottom: unset;
  }
  #contact table.form tbody tr th:first-child {
    border-top: solid 1px #707070;
  }
}

/*=== モーダル ===*/
.confirm-modal {
  content: "";
  display: none;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100vh;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 100;
  transition: 0.3s;
}
.modal-body {
  width: 50%;
  min-width: 700px;
  max-height: 85vh;
  position: fixed;
  text-align: center;
  background-color: white;
  border-radius: 4px;
  padding: 2rem 1rem;
  z-index: 150;
  box-sizing: border-box;
}
.modal-close i {
  position: absolute;
  top: 1rem;
  right: 1rem;
}
.modal-close:hover {
  opacity: 0.6;
  cursor: pointer;
}
.btn.modal-close {
  border: solid 2px #707070;
}
.btn.modal-close:hover {
  background: #707070;
}
.modal-content {
  height: calc(100% - 2rem);
  overflow: hidden;
}
.modal-content-box {
  height: 100%;
  max-height: calc(85vh - 4rem);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.modal-content .modal-content-box table {
  margin: 2rem 0;
  text-align: left;
}
.modal-content .modal-content-box table tbody tr {
  border: solid 1px #707070;
}
.modal-content .modal-content-box table tbody tr td {
  padding: 1rem 0.5rem;
}
.modal-content .modal-content-box table tbody tr td:first-child {
  width: 35%;
  min-width: 300px;
  vertical-align: top;
}
.modal-content .modal-content-box table tbody tr td.required::after {
  content: "必須";
  font-size: 14px;
  color: white;
  padding: 0.2rem 0.4rem;
  background-color: rgba(230, 50, 50, 1);
  border-radius: 0.2rem;
  margin: 0.5rem;
}
.modal-content .modal-content-box table tbody tr:last-child td {
  border-style: none;
  margin-top: 2rem;
  cursor: default;
}
.modal-content .modal-content-box .btn,
.modal-content .modal-content-box .load-gif {
  margin: 2rem auto;
}
.modal-content .modal-content-box .btn button {
  width: 220px;
}
.modal-content .modal-content-box .btn button[name="cancel"] {
  background-color: #e8e8e8;
  border-color: #e8e8e8;
}
.modal-content .modal-content-box .load-gif {
  display: none;
}
@media (max-width: 768px) {
  .modal-body {
    height: calc(100% - 10px);
    max-height: unset;
    width: calc(100% - 10px);
    min-width: auto;
  }
  .modal-content .modal-content-box table tbody tr {
    display: flex;
    flex-direction: column;
    border-top: unset;
    padding: 1rem 0.5rem;
  }
  .modal-content .modal-content-box table tbody tr:first-child {
    border-top: solid 1px #707070;
  }
  .modal-content .modal-content-box table tbody tr td {
    padding: unset;
  }
  .modal-content .modal-content-box table tbody tr td:first-child {
    width: auto;
    padding-bottom: 0.5rem;
  }
  .modal-content .modal-content-box .btn {
    flex-direction: column-reverse;
    height: auto;
  }
}

/*=== サンクス ===*/
.thanks-content h3 {
  margin-bottom: 5rem;
}
.thanks-content .btn {
  margin-top: 3rem;
}

/*====================================
　　個人情報ページ　privacy.html
=====================================*/
#privacy .matter {
  padding: 1rem 0;
}
#privacy .matter h3 i {
  padding-right: 0.5rem;
}
#privacy .represent {
  font-family: "YuMincho", serif;
  text-align: right;
}
.represent h2,
.represent h3 {
  margin: 0.5rem 0;
}
