@charset "utf-8";

/* 関数 */
:root {
  --base: #fff;
  --main: #6cb5cb;
  --main__opacity: rgba(108, 181, 203, 0.8);
  --accent: #fe7236;
  --qa__bg: #fbf5ef;
  --dark: #333;
  --nav: #f5f9fa;
  --box-shadow: 0 10px 25px 0 rgpa(0, 0, 0, 0.5);
}

html {
  overflow: auto;
  scroll-behavior: smooth;
}

body {
  background-color: var(--base);
  color: var(--dark);
  margin: 0 auto;
  overflow: clip;
  -webkit-text-size-adjust: 100%;
  box-sizing: border-box;
}

/* reset */
.container-fluid,
h2,
h3,
a,
ul {
  padding: 0;
}

a {
  text-decoration: none;
  color: var(--dark) !important;
  transition: all 0.8s !important;
}

a:hover {
  color: var(--accent) !important;
}

li {
  list-style: none;
}

/* 共通 */
.header,
.footer {
  background-color: var(--main__opacity);
}

.shadow {
  box-shadow: var(--box-shadow);
}

.googlemap {
  width: 100%;
  height: 350px;
}

.site-ttl,
.key-message,
.section-ttl,
.sub-ttl,
.menu-ttl,
.sub-ttl__l,
.tel {
  font-weight: 700;
}

.section-ttl {
  text-align: center;
}

.site-ttl,
.section-ttl {
  font-size: clamp(1.5rem, 2vw + 0.5rem, 2.25rem);
}

.nav-link,
.footer-link {
  font-size: clamp(0.875rem, 3vw - 1.25rem, 1rem);
}

.key-message {
  text-shadow: 1px 1px 0px var(--base);
  font-size: clamp(2.25rem, 3vw + 1rem, 4rem);
}

.h1-span {
  font-weight: 400;
  font-size: clamp(1rem, 1vw + 1rem, 2rem);
}

.sub-ttl,
.footer-nav-ttl {
  font-size: 1.25rem;
}

.txt {
  font-size: 1rem;
}

.menu-ttl {
  font-size: clamp(1rem, 1vw + 1rem, 1.5rem);
  text-align: center;
}

.sub-ttl__l {
  font-size: clamp(1rem, 1vw + 1rem, 1.5rem);
}

/* margin */
section,
header {
  margin-bottom: 126px;
}

.top-header {
  margin-bottom: 0;
}

.sub-ttl,
.img-wrapper,
.lower-works .txt {
  margin-bottom: 24px;
}

.section-ttl,
.technology .contents-wrapper,
.works .contents-wrapper,
.review .contents-wrapper,
.lower-works .contents-wrapper,
.recruit-wrapper {
  margin-bottom: 48px;
}

/* scroll */
.scroll_up {
  transition: 0.8s ease-in-out;
  transform: translateY(30px);
  opacity: 0;
}

.scroll_up.on {
  transform: translateY(0);
  opacity: 1;
}

.scroll_left {
  transition: 0.8s ease-in-out;
  transform: translateX(-30px);
  opacity: 0;
}
.scroll_left.on {
  transform: translateX(0);
  opacity: 1;
}

.scroll_right {
  transition: 0.8s ease-in-out;
  transform: translateX(30px);
  opacity: 0;
}
.scroll_right.on {
  transform: translateX(0);
  opacity: 1;
}

/* page-top */
#page-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: table;
  z-index: 99;
}
#page-top a {
  background-color: var(--accent);
  text-decoration: none;
  color: var(--base) !important;
  width: 60px;
  height: 60px;
  text-align: center;
  display: table-cell;
  vertical-align: middle;
  opacity: 0.9;
  transition: all 0.3s ease;
  font-size: 36px;
}
#page-top a:hover {
  text-decoration: none;
  opacity: 0.5;
}

/* header=============================== */
.header {
  position: sticky;
  position: -webkit-sticky;
  top: 0;
  z-index: 100;
}

/* .site-ttl {
  padding: 8px 16px;
} */

.navbar-brand {
  margin-right: 0;
}

.nav-link {
  padding: 8px !important;
}

.nav-inner {
  position: absolute;
  height: 100%;
  width: 65%;
  right: -65%;
  top: 0;
}

.open .nav-inner {
  position: fixed;
  right: 0;
  padding-top: 30px !important;
  background-color: var(--nav);
  z-index: 5;
}

.open .nav-inner .nav-link {
  display: inline-block !important;
  transition: all 0.8s;
}

.open .nav-inner li {
  text-align: center;
  padding: 10px;
}

.open .nav-inner .nav-link:hover {
  color: var(--main);
}

/* ハンバーガー三本線の位置 */
.toggle-btn {
  display: block;
  position: fixed;
  top: 20px;
  right: 20px;
  width: 30px;
  height: 30px;
  z-index: 10;
  cursor: pointer;
  transition: all 0.8s;
}

/* ハンバーガー三本線の色や形 */
.toggle-btn span {
  position: absolute;
  display: block;
  left: 0;
  width: 30px;
  height: 2px;
  border-radius: 5px;
  background-color: var(--dark);
  opacity: 1;
}

/* 三本が均等に並ぶように位置を指定 */
.toggle-btn span:nth-child(1) {
  top: 4px;
}

.toggle-btn span:nth-child(2) {
  top: 14px;
}

.toggle-btn span:nth-child(3) {
  bottom: 4px;
}

.toggle-btn:hover {
  transform: scale(1.1, 1.1);
}

/* ハンバーガーメニューがopenしているとき×に変更する */
.open .toggle-btn span:nth-child(1) {
  transform: translateY(10px) rotate(-315deg);
}

.open .toggle-btn span:nth-child(2) {
  opacity: 0;
}

.open .toggle-btn span:nth-child(3) {
  transform: translateY(-10px) rotate(315deg);
}

.open #mask {
  display: block;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  position: fixed;
  cursor: pointer;
  background-color: var(--base);
  opacity: 0;
  z-index: 2;
}

/*  */
/*  */
/* footer================================ */
.footer {
  padding: 48px 0;
}

.footer .site-ttl,
.footer-social-wrapper {
  margin-bottom: 48px;
}

.footer-nav-ttl {
  font-weight: 600;
}

.footer-link {
  margin-bottom: 12px;
}

hr {
  height: 1px;
  border: 0;
  border-top: 1px solid var(--nav);
}

.footer-social-wrapper a {
  display: inline-block;
  width: 24px;
  opacity: 0.7;
}

.footer-social-wrapper a:not(:last-child) {
  margin-right: 16px;
}

/*  */
/*  */
/* main================================ */
/* index-key */
.key {
  position: relative !important;
}

.key-message {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  line-height: 1;
}

/* index-mission */

/* index-technology */

/* index-works */

/* index-review */

/* index-info */
.info .table-wrapper,
.lower-access .table-wrapper,
.lower-overview .table-wrapper {
  margin: 0 12px !important;
}

.info .border-accent {
  border-top: 1px solid var(--accent);
}

.info tr,
.lower-access tr,
.lower-overview tr {
  display: block;
}

.info th,
.lower-access th,
.lower-overview th,
.info td,
.lower-access td,
.lower-overview td {
  display: block;
}

.info th,
.lower-access th,
.lower-overview th {
  padding-top: 24px;
  padding-bottom: 12px;
}

.info td,
.lower-access td,
.lower-overview td {
  padding-bottom: 24px;
}

.info tr,
.lower-access tr,
.lower-overview tr {
  border-bottom: 1px solid var(--accent);
}

/* index-contact */
.sub-ttl__l {
  margin-bottom: 16px;
}
.contact .txt {
  margin-bottom: 24px !important;
}

.tel,
.contact .link-wrapper {
  margin-bottom: 48px !important;
}

.link {
  background-color: var(--accent);
  font-weight: 700;
  color: var(--base) !important;
  padding: 12px 16px;
  border-radius: 5px;
}

.link:hover {
  color: var(--dark) !important;
}

/*  */
/*  */
/*  */
/*  */
/*  */
/* lower-works */

/*  */
/*  */
/*  */
/*  */
/*  */
/* lower-access */
.lower-access table {
  margin-bottom: 24px;
}

/*  */
/*  */
/*  */
/*  */
/*  */
/* lower-qa */
.qa-container dt {
  margin-bottom: 24px;
  padding: 0 24px 0 24px;
  text-indent: -25px;
}
.qa-container dt:before {
  content: "Q.";
  font-weight: bold;
  margin-right: 7px;
}
.qa-container dd {
  margin-bottom: 48px;
  padding: 24px 24px 24px 48px;
  background-color: var(--qa__bg);
  text-indent: -25px;
}
.qa-container dd:before {
  content: "A.";
  font-weight: bold;
  margin-right: 7px;
}

/*  */
/*  */
/*  */
/*  */
/*  */
/* lower-overview */
.link-airwork-wrapper {
  background-color: var(--qa__bg);
  padding: 24px;
}

.link-airwork-wrapper .txt {
  margin-bottom: 24px !important;
}

/*  */
/*  */
/*  */
/*  */
/*  */
/* lower-blog */
.category {
  font-size: 12px;
  padding: 8px;
  background-color: var(--qa__bg);
  border-radius: 5px;
}

/*  */
/*  */
/*  */
/*  */
/*  */
/* lower-contact */
/*  */
/*ContactForm7カスタマイズ*/
.wpcf7-form p {
  margin-bottom: 0 !important;
}

table.CF7_table {
  width: 95%;
  max-width: 576px;
  margin: 0 auto;
  border: 3px solid var(--qa__bg);
}

.CF7_table tr,
.CF7_table td,
.CF7_table th {
  display: block;
  width: 100%;
  line-height: 2.5rem;
}

.CF7_table th {
  background-color: var(--qa__bg);
}

/*入力欄*/
.CF7_table input,
.CF7_table textarea {
  border: 1px solid #d8d8d8;
}

.CF7_table ::placeholder {
  color: #797979;
}
.wpcf7-text,
.wpcf7-textarea {
  width: 100%;
}

/*「必須」表示*/
.CF7_req {
  font-size: 0.85rem;
  padding: 5px;
  background: var(--accent);
  color: var(--base);
  border-radius: 3px;
  margin-right: 8px;
}

/*「任意」表示*/
.CF7_unreq {
  font-size: 0.85rem;
  padding: 5px;
  background: #bdbdbd;
  color: var(--base);
  border-radius: 3px;
  margin-right: 8px;
}

/* 送信ボタン */
.wpcf7 input.wpcf7-submit {
  background-color: var(--accent);
  border: 0;
  color: var(--base);
  font-size: 1rem;
  font-weight: bold;
  margin: 0 auto;
  padding: 8px;
  border-radius: 5px;
}

.CF7_btn {
  text-align: center;
  margin-top: 20px;
}

.wpcf7-spinner {
  width: 0;
  margin: 0;
}

/* 992px〜 */
@media screen and (min-width: 992px) {
  /* header=============================== */

  .toggle-btn {
    display: none;
  }

  #mask {
    display: none;
  }

  .h-nav .nav-inner {
    display: flex;
    flex-direction: row !important;
    position: initial;
    height: auto;
    justify-content: end;
  }

  /*  */
  /*  */
  /* main================================ */
  .fv-img {
    width: 88%;
    border-top-right-radius: 9999px;
    border-bottom-right-radius: 9999px;
  }

  .key-message {
    top: 50%;
    transform: translateY(-50%);
    transform: translateX(0);
  }

  .info tr,
  .lower-access tr,
  .lower-overview tr {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .info th,
  .lower-access th,
  .lower-overview th,
  .info td,
  .lower-access td,
  .lower-overview td {
    display: inline-block;
  }

  .info th,
  .lower-access th,
  .lower-overview th {
    padding-bottom: 24px !important;
  }
  .info td,
  .lower-access td,
  .lower-overview td {
    padding-bottom: 0;
  }

  .contact .btn {
    margin-bottom: 0;
  }
}
