:root {
  --section-margin-bottom: 30px;
  --font-weight-regular: 400;
  --font-weight-semibold: 600;
  --font-weight-bold: 800;
  --font-size-small: .75rem;
  --font-size-medium: 1rem;
  --font-size-large: 1.25rem;
  --h1-font-size: 1.5rem;
  --h2-font-size: 1.3rem;
  --h3-font-size: 1.2rem;
  --h4-font-size: 1.1rem;
  --h5-font-size: 1rem;
  --h6-font-size: 1rem;
  --header-background-color: #042b6c;
  --header-background-dark-color: #36455c;
  --menu-font-size: 1rem;
  --menu-background-color: #052252;
  --menu-background-light-color: #184ea7;
  --section-shadow: rgba(0, 0, 0, 0.15) 0px 0px 8px;
  --border-radius: 0.375rem;
  --gray-color: #aaaaaa;
  --gray-light-color: #cccccc;
}

/* Basic */
body {
  background-color: #ffffff;
  font-size: var(--font-size-medium); 
  font-family: "Noto Sans JP", sans-serif;
  font-weight: var(--font-weight-regular);
}
header {}
main {}
footer {
  margin-bottom: var(--section-margin-bottom);
  color: var(--gray-color);
}
h1 {
  font-size: var(--h1-font-size); 
  font-weight: var(--font-weight-bold);
}
h2 {
  font-size: var(--h2-font-size); 
  font-weight: var(--font-weight-bold);
}
h3 {
  font-size: var(--h3-font-size); 
  font-weight: var(--font-weight-bold);
}
h4 {
  font-size: var(--h4-font-size); 
  font-weight: var(--font-weight-bold);
}
h5 {
  font-size: var(--h5-font-size); 
  font-weight: var(--font-weight-bold);
}
h6 {
  font-size: var(--h6-font-size); 
  font-weight: var(--font-weight-semibold);
}
h1 small,
h2 small,
h3 small,
h4 small,
h5 small,
h6 small {
  color: var(--gray-color);
  font-size: .6em;
}
h2 {
  position: relative;
  margin-top: var(--section-margin-bottom);
  margin-bottom: var(--section-margin-bottom);
  text-align: center;
  font-style: normal;
  letter-spacing: 0.2rem;
}
h2 div {
  display: inline-block;
  position: relative;
  z-index: 2;
  padding-left: .5rem;
  padding-right: .5rem;
  background-color: #ffffff;
}
h2 p {
  position: absolute;
  width: 40%;
  height: 1px;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgb(var(--bs-primary-rgb));
  line-height: 0;
}
h2 span {
  position: absolute;
  top: -60%;
  left: 50%;
  transform: translateX(-50%);
  color: rgb(var(--bs-primary-rgb));
  font-size: var(--font-size-small);
  font-weight: var(--font-weight-bold);
  letter-spacing: 0rem !important;
}
h2 .h2-linelf {
  left: 0;
}
h2 .h2-linert {
  right: 0;
}
/* Logo */
.logo {
  position: absolute;
  top: 10px;
  padding-left: 10px;
  padding-right: 10px;
  padding-top: 10px;
  padding-bottom: 20px;
  background-color: #ffffff;
  border-bottom-right-radius: var(--border-radius);
  box-shadow: rgba(0, 0, 0, 0.25) 3px 3px 5px;
}
.logo img {
  height: 100px;
}
/* Header */
.header {
  position: relative;
  padding-top: 70px;
  padding-bottom: 20px;
  background-color: var(--header-background-color);
  background: linear-gradient(45deg, var(--header-background-dark-color) 0%, var(--header-background-color) 100%);
}
.header .header-title {
  position: relative;
  z-index: 3;
  margin-bottom: 10px;
}
.header .header-banner {
  position: relative;
  z-index: 2;
}
.header .header-background {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  right: 0;
  z-index: 1;
  background-image: url(../images/background.png);
  background-size: cover;
}
/* Menu */
.menu {
  margin-bottom: 10px;
  background-color: var(--menu-background-color);
  background: linear-gradient(180deg, var(--menu-background-color) 0%, var(--menu-background-light-color) 100%);
  box-shadow: var(--section-shadow);
}
.menu .navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  background-color: var(--menu-background-color);
  box-shadow: var(--section-shadow);
}
.menu .navbar-brand {
  color: #ffffff;
  font-family: 'Cinzel', serif;
  font-weight: 500;
}
.menu .nav-link {
  font-size: var(--menu-font-size);
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.25rem;
  transition: all .5s;
}
.menu .nav-link span {
  font-size: var(--font-size-small);
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0;
}
.menu .nav-link span::before {
  content: "- ";
}
.menu .nav-link.active,
.menu .nav-link.active span,
.menu .nav-link:hover,
.menu .nav-link:hover span {
  color: #ffffff;
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}
.menu .nav-link {
  color: var(--gray-light-color);
}
.menu .nav-link span {
  color: var(--gray-color);
  font-family: 'Cinzel', sans-serif;
  font-weight: 500;
}
/* Table */
.table th {
  font-weight: var(--font-weight-semibold);
}
.table-aboutus {
  padding: 0 .5rem;
  margin-bottom: 20px;
  font-size: 1.025rem;
  border: 1px var(--bs-gray-100) solid;
  border-radius: var(--border-radius);
}
.table-aboutus table {
  margin-bottom: 0;
}

.table-aboutus.table-aboutus-nostyle th,
.table-aboutus.table-aboutus-nostyle td {
  border-bottom-color: var(--bs-gray-300);
  border-bottom-style: solid;
}
.table-aboutus th {
  border-bottom: 1px rgb(var(--bs-warning-rgb)) dotted;
}
.table-aboutus td {
  border-bottom: 1px var(--bs-gray-300) dotted;
}
.table-aboutus th {
  font-weight: var(--font-weight-bold);
}
.table-aboutus th,
.table-aboutus td {
  display: block;
  width: 100%;
  text-align: center;
}
.table-aboutus td {
  margin-bottom: 2rem;
  border-bottom-width: 0;
}
/* Gallery */
.gallery {
}
.gallery-item {
  margin-bottom: 10px;
}
.gallery-item img {
  border-radius: var(--border-radius);
}
/* Thumbnail */
.thumbnail,
.thumbnail-list,
.thumbnail-preview {
  margin-bottom: 10px;
}
.thumbnail-preview img {
  border-radius: var(--border-radius);
}
.thumbnail-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.thumbnail-item {
  display: inline-block;
  width: 50px;
  height: 50px;
  border: 1px solid var(--bs-border-color);
  border-radius: var(--border-radius);
  overflow: hidden;
  cursor: pointer;
  line-height: 50px;
}
.thumbnail-item:hover,
.thumbnail-item.active {
  border-color: var(--gray-light-color);
}
.thumbnail-item img {
  width: 100%;
  height: auto;
}
/* List */
.list-comment a {
  text-decoration: none;
  font-size: var(--font-size-small);
  color: #555555;
}
.list-comment a:hover {
  text-decoration: underline;
}
.list-share a {
  text-decoration: none;
  font-size: var(--font-size-small);
}
.list-share a:hover {
}
/* Other */
.section {
  margin-bottom: var(--section-margin-bottom);
}
.area {
  padding: 0.5rem;
  background-color: #ffffff;
  border-radius: var(--border-radius);
}
.company-image {
  padding: 3rem 0;
}
.product {
  text-align: center;
  margin-bottom: var(--section-margin-bottom);
}
.product img {
  width: 100%;
  height: auto;
}

.product-title {
  -webkit-line-clamp: 1;
   display: -webkit-box;
   overflow: hidden;
  -webkit-box-orient: vertical;
}
.product a {
  text-decoration: none;
  color: var(--header-background-color);
} 
.product a:hover {
  text-decoration: underline;
} 
.product-image {
  display: inline-block;
  width: 100%;
  height: 200px;
  border: 1px solid var(--bs-border-color);
  border-radius: var(--border-radius);
  overflow: hidden;
  cursor: pointer;
  line-height: 200px;
}
.product-image img {
  transition: all .5s;
}
.product-image:hover img {
  transform: scale(1.15);
}
.card-contactus {
  margin-bottom: var(--section-margin-bottom);
  color: var(--menu-background-color);
  font-size: var(--h4-font-size);
}
.card-contactus a {
  color: var(--menu-background-color);
  text-decoration: none;
}
.card-contactus a:hover {
  text-decoration: underline;
}
.card-contactus .card-header {
  color: #fff;

  background-color: var(--menu-background-color);
  background: linear-gradient(180deg, var(--menu-background-color) 0%, var(--menu-background-light-color) 100%);
  box-shadow: var(--section-shadow);
}
.contactus-left {
  padding-top: 70px;
  margin-top: -70px;
}
@media (min-width: 576px) {
  /* sm */
  .company-image {
    padding: 3rem 0;
  }
}
@media (min-width: 768px) {
  /* md */
  .table-aboutus.table-aboutus-nostyle {
    border: none;
    box-shadow: none;
  }
  .table-aboutus.table-aboutus-nostyle th::after {
    content: '';
  }
  .table-aboutus.table-aboutus-nostyle tr:first-child th,
  .table-aboutus.table-aboutus-nostyle tr:first-child td {
    padding: 0 0 1rem 0;
  }
  .table-aboutus.table-aboutus-nostyle th,
  .table-aboutus.table-aboutus-nostyle td {
    padding: 2rem 0 1rem 0;
  }
  .table-aboutus {
    padding: 1.5rem 1.5rem;
    line-height: 2;
  }
  .table-aboutus th,
  .table-aboutus td {
    display: table-cell;
    text-align: left;
  }
  .table-aboutus th {
    width: 35%;
    font-weight: var(--font-weight-bold);
  }
  .table-aboutus td {
    margin-bottom: 0;
    border-bottom-width: 1px;
  }
  .table-aboutus {
    border-radius: 1rem;
    border-top: 1px rgb(var(--bs-warning-rgb)) solid;
    border-left: none;
    border-bottom: 1px rgb(var(--bs-warning-rgb)) solid;
    border-right: none;
    box-shadow: inset 0 0 50px 10px rgba(var(--bs-warning-rgb), .1);
  }
  .table-aboutus th::after {
    float: right; 
    content: "›";
    color: rgb(var(--bs-warning-rgb));
    font-weight: var(--font-weight-regular);
  }
}
@media (min-width: 992px) {
  /* lg */
  .table-aboutus th {
    width: 25%;
    font-weight: var(--font-weight-bold);
  }
  h1 {
    font-size: calc(var(--h1-font-size) * 1.4); 
  }
  h2 {
    font-size: calc(var(--h2-font-size) * 1.4); 
  }
  h3 {
    font-size: calc(var(--h3-font-size) * 1.4); 
  }
  h4 {
    font-size: calc(var(--h4-font-size) * 1.4); 
  }
  h5 {
    font-size: calc(var(--h5-font-size) * 1.4); 
  }
  h6 {
    font-size: calc(var(--h6-font-size) * 1.4); 
  }
  /* Header */
  .header {
    padding-top: 0;
    background: linear-gradient(180deg, #ffffff 0%, var(--header-background-dark-color) 50%, var(--header-background-color) 100%);
  }
  /* Menu */
  .menu .navbar {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    background: transparent;
    box-shadow: none;
  }
  .menu .nav-link {
    font-size: calc(var(--menu-font-size) * 1.2);
  }
  .carousel img {
    border-radius: var(--border-radius);
    box-shadow: var(--section-shadow);
  }
  .company-image {
    padding: 3rem 10rem;
  }
}
@media (min-width: 1200px) {
  /* xl */
  .table-aboutus th {
    width: 20%;
    font-weight: var(--font-weight-bold);
  }
}
