@charset "UTF-8";

:root {
  --bs-body-color: #221814;
  --bs-blue: rgb(3, 110, 184);
  --bs-primary: var(--bs-blue);
  --bs-primary-rgb: 3, 110, 184;
  --bs-link-color-rgb: var(--bs-primary-rgb);
  --bs-link-hover-color-rgb: rgba(var(--bs-primary-rgb), .3);
  --bs-font-sans-serif: "ryo-gothic-plusn", "Noto Sans JP", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  --bs-body-line-height: 2;
  --bs-font-serif: "PT Serif", serif;
}

.en-serif {
  font-family: var(--bs-font-serif);
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
  line-height: 1.5;
  font-weight: 700;
}

h1, .h1 {
  letter-spacing: .1em;
}

a:hover {
  color: var(--bs-link-hover-color-rgb);
}

#main {
  overflow: hidden;
}

.container-narrow {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.section {
  padding-top: 120px;
  padding-bottom: 120px;
}

.border-dot {
  border-bottom: 4px dotted #fff;
  padding-bottom: 1em;
  margin-bottom: .875em;
}

.hr-dot {
  border-top: 4px dotted #fff;
  opacity: 1;
}

.full-img-box {
  position: relative;
  overflow: hidden;
  height: 65vw;
  max-height: 700px;
}
.full-img-box img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media only screen and (max-width: 767px) {
  .section {
    padding-top: 60px;
    padding-bottom: 60px;
  }
}



/**** google map ****/
/** 埋め込み **/
.gmap {
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 30px;
  height: 0;
  overflow: hidden;
}

.gmap iframe,
.gmap object,
.gmap embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

@media only screen and (min-width: 992px) {
  .gmap {
    padding-bottom: 30%;
  }
}

/**** buttons ****/
.btn-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--bs-primary);
  --bs-btn-border-color: var(--bs-primary);
}


/**** main-nav ****/

.overlay {
  content: "";
  display: block;
  width: 0;
  height: 0;
  background-color: rgba(0, 0, 0, 0.5);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 5;
  opacity: 0;
  -webkit-transition: opacity .5s;
  transition: opacity .5s;
}

.overlay.open {
  width: 100%;
  height: 100%;
  opacity: 1;
}

.menu-trigger {
  display: inline-block;
  cursor: pointer;
  z-index: 100;
  text-align: center;
  padding: 15px;
  margin-left: auto;
  margin-right: -15px;
}

.hamburger {
  width: 70px;
  height: 50px;
  position: relative;
  margin: 5px auto;
}

.hamburger span {
  display: inline-block;
  position: absolute;
  left: 0;
  width: 100%;
  height: 10px;
  background-color: var(--bs-primary);
  -webkit-transition: all .5s;
  transition: all .5s;
  border-radius: 6px;
}

.menu-trigger .hamburger span:nth-of-type(1) {
  top: 0;
}

.menu-trigger.active .hamburger span:nth-of-type(1) {
  -webkit-transform: translateY(20px) rotate(-45deg);
          transform: translateY(20px) rotate(-45deg);
}

.menu-trigger .hamburger span:nth-of-type(2) {
  top: 20px;
}

.menu-trigger.active .hamburger span:nth-of-type(2) {
  opacity: 0;
}

.menu-trigger .hamburger span:nth-of-type(3) {
  bottom: 0;
}

.menu-trigger.active .hamburger span:nth-of-type(3) {
  -webkit-transform: translateY(-20px) rotate(45deg);
          transform: translateY(-20px) rotate(45deg);
}

.main-nav {
  width: 300px;
  height: 100%;
  background-color: #f7f8f8;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
  -webkit-transform: translate(-300px);
          transform: translate(-300px);
  -webkit-transition: all .5s;
  transition: all .5s;
  overflow: auto;
}

.main-nav.open {
  -webkit-transform: translateZ(0);
          transform: translateZ(0);
}

.main-nav .main-nav-head {
  padding: 30px;
}

.main-nav .navbar-brand {
  margin-right: 0;
  max-width: 200px;
}

.main-nav .navbar-nav .nav-link {
  padding: 15px 50px;
  color: #3e3a39;
  font-weight: 700;
  position: relative;
}

.main-nav .navbar-nav .nav-link:before {
  content: '●';
  position: absolute;
  left: 25px;
  top: 15px;
  display: block;
  font-size: 1.25rem;
  line-height: 2rem;
  color: var(--bs-primary);
}

.main-nav .navbar-nav .nav-link:hover {
  background-color: var(--bs-primary);
  color: #fff;
}

.main-nav .navbar-nav .nav-link:hover:before {
  color: #fff;
}


.main-nav .navbar-tel {
  padding-left: 15px;
  padding-right: 15px;
  font-weight: 700;
}
.main-nav .navbar-tel a {
  display: inline-block;
  color: var(--bs-primary);
  text-decoration: none;
}

.menu-item.menu-separator {
  position: relative;
}
.menu-item.menu-separator::before {
  content: '';
  width: calc(100% - 75px);
  height: 2px;
  display: block;
  background-color: var(--bs-primary);
  position: absolute;
  left: 25px;
  top: 0;
}


@media only screen and (max-width: 991px) {
  .hamburger {
    width: 36px;
    height: 28px;
  }
  .hamburger span {
    height: 4px;
  }
  .menu-trigger.active .hamburger span:nth-of-type(1) {
    -webkit-transform: translateY(12px) rotate(-45deg);
            transform: translateY(12px) rotate(-45deg);
  }
  .menu-trigger .hamburger span:nth-of-type(2) {
    top: 12px;
  }
  .menu-trigger.active .hamburger span:nth-of-type(3) {
    -webkit-transform: translateY(-12px) rotate(45deg);
            transform: translateY(-12px) rotate(45deg);
  }
  .menu-trigger {
    font-size: .75rem;
    padding: 10px;
    margin-right: -10px;
  }
  .main-nav {
    width: 100%;
    -webkit-transform: translate(-100%);
            transform: translate(-100%);
  }
  .main-nav .main-nav-head {
    padding-top: 60px;
  }
}

/**** footer ****/
#page-footer {
  padding-top: 80px;
  padding-bottom: 80px;
}
.page-footer-row {
  row-gap: 4rem;
}

.footer-logo-name {
 display: block;
 margin-top: 1.5rem;
 font-size: 1.25rem;
}

.footer-tel-inner {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}
.footer-tel-num {
  font-size: 3em;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  line-height: 1;
}
.footer-tel-num:hover {
  text-decoration: underline;
  color: #fff;
}
.footer-tel img {
  margin-right: .25em;
  margin-top: -.25em;
  width: 1em;
  filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(7469%) hue-rotate(143deg) brightness(117%) contrast(94%);
}

#footer-menu {
  font-size: 1.25rem;
  font-weight: 700;
}

#footer-menu > li:not(:last-child) {
  margin-bottom: 1rem;
}
#footer-menu .nav-link {
  padding-left: 1.5em;
  position: relative;
}
#footer-menu .nav-link::before {
  content: '';
  display: block;
  width: 1em;
  height: .5em;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  background-color: #fff;
  position: absolute;
  left: 0;
  top: .75em;
}
#footer-menu .nav-link:hover {
  opacity: .6;
}

@media screen and (max-width: 767px) {
  .footer-logo img {
    max-width: 70vw;
  }
  .footer-tel-num {
    font-size: 2em;
  }
}



.to-top {
  position: fixed;
  right: 15px;
  bottom: -100px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  text-decoration: none;
  background-color: var(--bs-link-hover-color-rgb);
  opacity: .5;
  color: #fff;
  border-radius: 100%;
  &:hover {
    color: #fff;
    background-color: var(--bs-link-hover-color-rgb);
    opacity: 1;
  }
}


/**** page-header ****/

.page-header {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 10;
  width: 100%;
  background-color: #fff;
}
.page-header-container {
  display: flex;
  align-items: center;
  column-gap: 2rem;
}

.header-brand {
  margin: 0;
  line-height: 1;
  font-size: 28px;
}
.header-brand img {
  margin-right: 1.5rem;
}
.header-text {
  margin: 0;
  font-weight: 700;
  letter-spacing: 0;
}
@media only screen and (min-width: 992px) {
  body {
    padding-top: 100px;
  }
  .page-header-container {
    height: 100px;
  }
}

@media only screen and (max-width: 991px) {
  body {
    padding-top: 60px;
  }
  .page-header-container {
    height: 60px;
    column-gap: .5rem;
  }

  .header-brand {
    font-size: 1rem;
  }
  .header-brand img {
    max-width: 180px;
    margin-right: .5rem;
  }
  .header-text {
    font-size: .75rem;
    padding: 0;
    display: inline-block;
  }
}

/**** heading ****/
.heading {
  color: rgba(var(--bs-primary-rgb), .3);
  font-size: 80px;
  font-weight: 700;
  font-family: var(--bs-font-serif);
  text-align: center;
  line-height: 1;
}
.bg-primary .heading {
  color: rgba(255,255,255,.3);
}
@media only screen and (max-width: 768px) {
  .heading {
    font-size: 40px;
  }
}  

/**** top hero ****/

#top-hero {
  height: calc(100vh - 100px);
  position: relative;
}
.top-hero-bg {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -1;
}
.top-hero-inner {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding-top: 100px;
}
.top-hero-title {
  color: #fff;
  margin: 0;
  font-size: 90px;
  line-height: 1.25;
  margin-bottom: 60px;
}
.top-hero-text {
  color: #fff;
  margin-left: auto;
  letter-spacing: .05em;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.5;
}
.top-hero-title, .top-hero-text {
  text-shadow: 0 0 16px rgba(0, 0, 0, .3);
}

@media only screen and (max-width: 991px) {
  #top-hero {
    height: 67vw;
  }
  .top-hero-inner {
    padding-top: 5vw;
  }
  .top-hero-title {
    font-size: 60px;
    margin-bottom: 0;
  }
  .top-hero-text {
    font-size: 20px;
  }
}
@media only screen and (max-width: 767px) {
  #top-hero {
    height: 100vw;
  }
  .top-hero-inner {
    padding-top: 10vw;
  }
  .top-hero-title {
    font-size: 40px;
  }
  .top-hero-text {
    font-size: 16px;
  }
}

/**** service ****/
.service-sub {
  text-align: center;
  color: #fff;
  background: var(--bs-primary);
  padding: .5em 2.5em;
  border-radius: 50rem;
}

/**** point ****/
.point-list {
  display: flex;
  justify-content: center;
  gap: 1rem;
}
.point-list > li {
  min-width: calc(33.333% - .666rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
  line-height: 1.5;
  gap: 2rem;
  text-align: center;
}


.point-img > div {
  position: relative;
  overflow: hidden;
}
.point-img > div img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.point-img1 > div:nth-child(1) {
  padding-top: 58.333vw;
}
.point-img2 > div {
  padding-top: 33.333vw;
}


/**** company ****/
.company-table-wrap {
  display: flex;
  justify-content: center;
}
.company-table {
  max-width: 800px;
}
.company-table th, .company-table td {
  font-weight: 400;
  line-height: 1.6;
  background-color: transparent;
  color: #fff;
}
.company-table th {
  min-width: 8em;
}

.qualification dt, .qualification dd {
  font-weight: 400;
  line-height: 1.6;
}

.qualification dd {
  padding-left: 8em;
  margin-bottom: 0;
}
.qualification dd:nth-of-type(1) {
  margin-top: -1.6em;
}

@media screen and (max-width: 767px) {
  .company-table {
    font-size: .875rem;
  }
  .company-table th {
    min-width: auto;
  }
}



/**** contact ****/
.form-group {
  margin-bottom: 1rem;
}
.form-control {
  background-color: #dcdddd;
  -webkit-appearance: none;
  -webkit-box-shadow: none;
          box-shadow: none;
  border-color: #dcdddd;
  padding: 1rem .75rem;
}

.form-control:focus {
  background-color: #dcdddd;
}

.form-control:-moz-placeholder-shown {
  color: #fff;
}

.form-control:-ms-input-placeholder {
  color: #fff;
}

.form-control:placeholder-shown {
  color: #fff;
}

/* Google Chrome, Safari, Opera 15+, Android, iOS */
.form-control::-webkit-input-placeholder {
  color: #fff;
}

/* Firefox 19+ */
.form-control::-moz-placeholder {
  color: #fff;
  opacity: 1;
}


.col-form-label {
  font-weight: 700;
}

.req {
  color: var(--bs-primary);
  display: block;
  line-height: 1.2;
}

.btn-submit, .btn-back {
  padding: .5rem 2rem;
  border-radius: 6px;
  font-size: 1.5rem;
}

.btn-submit {
  color: #fff;
  background: var(--bs-primary);
  border-color: var(--bs-primary);
  &:disabled {
    color: #fff;
    background: var(--bs-primary);
    border-color: var(--bs-primary);
    opacity: .6;
  }
  &:hover {
    color: #fff;
    background: var(--bs-link-hover-color-rgb);
    border-color: var(--bs-link-hover-color-rgb);
  }
}
.btn-back {
  color: var(--bs-primary);
  border-color: var(--bs-primary);
  &:hover {
    color: #fff;
    background: var(--bs-link-hover-color-rgb);
    border-color: var(--bs-link-hover-color-rgb);
  }
}

@media screen and (max-width: 991px) {
  .req {
    display: inline;
  }
}

/**** confirmation ****/
.confirmation-text {
  text-align: center;
  font-weight: 700;
  margin-bottom: 60px;
  padding: 0 1rem;
}
.confirmation-text > span {
  display: inline-block;
  border-top: 1px solid #000;
  border-bottom: 1px solid #000;
}
.confirm-table {
  max-width: 800px;
  margin: 0 auto 60px;
}
.confirm-table th, .confirm-table td {
  padding: 1rem;
  border-bottom: 4px dotted var(--bs-primary);
}
.confirm-table th {
  color: var(--bs-primary);
  vertical-align: middle;
}
.confirm-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: center;
}
.error_messe {
  color: var(--bs-danger);
}

/**** page ****/

.page-hero {
  height: 300px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-top: 140px;
}
.page-hero-title {
  margin: 0;
  color: var(--bs-primary);
  text-align: center;
}
.page-hero-text {
  margin: 0;
  text-align: center;
  letter-spacing: .1em;
}
.page-body {
  padding-top: 60px;
  padding-bottom: 100px;
}

@media screen and (max-width: 767px) {
  .page-hero {
    min-height: 65vw;
  }
}
