/* CSS Document */
@font-face {
  font-family: 'HyundaiSansTextJP-Regular';
  src: url('../font/HyundaiSansTextJP-Regular.eot');
  src: url('../font/HyundaiSansTextJP-Regular?iefix') format('eot'), url('../font/HyundaiSansTextJP-Regular.woff') format('woff'), url('../font/HyundaiSansTextJP-Regular.woff2') format('woff2'), url('../font/HyundaiSansTextJP-Regular.ttf') format('truetype'),
}
body {
  font-family: "HyundaiSansTextJP-Regular", sans-serif;
}
small {
	font-size: 0.75rem;
	line-height: 80%!important;
}
.list-inline-item a {
  margin-left: 2em;
  color: #000;
  text-decoration: none;
  font-weight: 500;
}
.list-inline-item a:hover {
  color: blue;
}
.navbar-custom {
  background-color: #35729F;
  color: #fff;
}
.navbar-brand {
  color: #fff;
  font-weight: 700 !important;
  font-size: 1.6rem !important;
  padding: 0;
  margin: 0;
}
.nav-link {
  color: #fff;
  font-weight: 500;
}
.navbar .nav-item:not(:last-child) .nav-link {
  border-right: 1px solid #ddd;
  padding-right: 1rem;
  margin-right: 1rem;
}
/* footer */
footer {
  padding: 1.0rem 0 0.5rem;
  background: black;
  color: white;
}
footer .list-inline-item a {
  color: white;
  font-size: 0.8rem;
  margin-left: 1em;
}
/* top */
#top h2 {
  text-align: center;
  font-weight: 700;
  font-size: 1.9rem;
  padding-bottom: 1.2rem;
}
/* Top　photo */
.image-container {
  position: relative;
}
.overlay-text {
  position: absolute;
  top: 50%; /* 上端を親要素の中央に配置 */
  left: 3%;
  right: 0; /* 左右幅いっぱいに広げる */
  transform: translateY(-50%); /* 自身の高さの半分だけ上に移動 */
  padding: 1rem;
  color: white;
}
.image-container h1 {
  font-size: 1.9rem;
  font-weight: bold;
}
.image-container p {
  font-size: 1.2rem;
  font-weight: 400;
}
/* top歴史 */
.history-section {
  padding: 3rem;
  background: #f2f2f2;
  font-size: 1.1rem;
  font-weight: 600;
}
.history-section p {
  padding-bottom: 1.5rem;
}
.btn-custom {
  background-color: #35729F;
  color: #fff;
}
/* お知らせ */
.news-section {
  padding: 3rem 0 1rem 0;
}
.c-info-index-module__article {
  padding: 10px;
  overflow: hidden;
  border-bottom: solid 1px #b1b1b1;
}
.c-info-index-module__date {
  float: left;
  margin-right: 10px;
  font-size: 1rem;
  padding-top: 10px;
}
.c-info-index-module__link {
  color: inherit;
  text-decoration: none;
}
.c-info-index-module__title {
  overflow: hidden;
  text-decoration: none;
  font-size: 1rem;
  font-weight: normal;
  padding-top: 13px;
}
.t-news {
  border-top: solid 1px #b1b1b1;
  padding-bottom: 2rem;
}
/* お問い合わせ */
.contact-section {
  padding: 3em 0 3em;
  background-image: url("../img/top_contact_bg.jpg");
  background-repeat: no-repeat; /* 画像の繰り返しを指定  */
  background-position: center center; /* 画像の表示位置を指定  */
  background-size: cover; /* 画像のサイズを指定    */
  width: 100%; /* 横幅のサイズを指定    */
  height: 360px; /* 縦幅のサイズを指定    */
  color: white;
}
.btn-outline-light {
  border-width: 2px !important;
}
/* History */
#history footer {
	margin-top: 2rem;
}
#history h1 {
  text-align: center;
  font-weight: 700;
  font-size: 2.0rem;
  padding: 2rem;
}
#news h1 {
  text-align: center;
  font-weight: 700;
  font-size: 2.0rem;
  padding: 2rem;
}
#history .h2 {
  
  font-weight: 700;
  font-size: 1.8rem;
  padding: 1.0rem 0 0.5rem;
}
#history dl, dd, dt {
  margin: 0;
  padding: 0;
  float: none;
  width: auto;
}
#history dl {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
	padding-bottom: 2rem;
}
#history dl dt {
  text-align: right;
  font-weight: bold;
  width: 8.5em;
  padding: 0.5em 1.0em 0.5em 0.5em;
  position: relative;
}
#history dl dt::after {
  content: '●';
  position: absolute;
  right: -0.55em;
  top: 5px;
  font-size: 22px;
  color: green;
}
#history dl dd {
  width: calc(100% - 8.5em);
  padding: 0.5em 2.0em 3.0em;
  border-left: 2px solid #ccc;
}
#history dl dd h2 {
  font-size: 24px;
  font-weight: bold;
  margin: 0 0 5px;
}
#history h3 {
	font-weight: 700;
  font-size: 1.2rem;
	padding-top: 1.5em;
}
/*Technology ＆ Safety*/
#content h1 {
  text-align: center;
  font-weight: 700;
  font-size: 2.4rem;
  padding: 2rem;
}
.title-h1 {
  text-align: center;
  font-weight: 700;
  font-size:  2.4rem !important;
  padding: 2rem;
	
}
#content h2 {
	font-weight: 700;
  font-size: 1.66rem;
	padding: 0.5rem 0;
  
}
.bg-color {
	background: #F2F2F2;
	padding: 2.5rem;
}
.bg-color2 {
	background: #C9DAFF;
	padding: 2.5rem ;
	background-image: url('../img/Performance/Performance_b02.jpg');
  background-size: 100% auto;
}
.bg-color3 {
	background: #C9DAFF;
	padding: 2.5rem ;
	background-image: url('../img/Performance/19766.png');
	background-size: 50% auto;
  background-position: 320px 2em;
	 background-repeat: no-repeat; 
}
.custom-bg1 {
  --bs-bg-opacity: 1;
  background-color: #2c729f !important;
}
.custom-bg2 {
  --bs-bg-opacity: 1;
  background-color: #dcdddd !important;
}
.custom-bg3 {
  --bs-bg-opacity: 1;
  background-color: #f3f4f4 !important;
}
.spec td {
	text-align: center;
}
.spec {
	border: solid 1px black;
}
.tab-company th {
	background-color: #f3f4f4 !important;
}
.tab-company {
	border: solid 1px #000;
}
.google-map {
    position: relative;
    width: 100%;    /* 左右に余白が必要なら値を変更してもOK */
    height: 0;
    padding-bottom: 100%;    /* padding-topでもOK */
    overflow: hidden;
}
.google-map iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;    /* 必要であれば!importantを付けてください */
    height: 100%;    /* 必要であれば!importantを付けてください */
}

#service h2 {
	font-weight: 700;
  font-size: 1.66rem;
	padding: 0.5rem 0;
	color: #35729F;
	
  
}
#service h3 {
	font-size: 1.4rem;
	padding: 5px;
	margin-bottom: 1em;
  border-bottom: 3px solid #35729F;
}

#service h4 {
	font-size: 1.1rem;
	font-weight: 700;
	color:#777777;
}
.service-t {
	font-size: 1.2rem;
	font-weight: 700;
	 padding: 0.8rem 1rem;
  border-top: 3px solid #35729F;
  background: #f4f4f4;
	border-bottom: 1px solid #000 !important;
}
.custom-list-group .list-group-item {
  border-bottom: 1px solid #000 !important;
}
.custom-list-group .list-group-item a {
  color: #0d6efd !important; /* 青色を指定 */
  text-decoration: underline; /* 下線を入れる場合（不要なら none） */
}

/* ホバー（マウスを乗せた時）に少し濃くする例 */
.custom-list-group .list-group-item a:hover {
  color: #0a58ca !important;
}
/* `sm` は極小デバイス（縦向きモバイル, 576px未満）に適用 */
@media (max-width: 575.98px) {
  .navbar .nav-item:not(:last-child) .nav-link {
    border-right: 0px solid #ddd;
    padding-right: 1rem;
    margin-right: 1rem;
  }
  .image-container h1 {
    font-size: 1.2rem;
    font-weight: bold;
  }
  .history-section {
    padding: 1.0rem;
    background: #f2f2f2;
    font-size: 1.1rem;
    font-weight: 500;
  }
	.bg-color {
	background: #fff;
	padding: 2.5rem;
}
.bg-color2 {
	background: #fff;
	padding: 2.5rem ;
	background-image: none;
}
.bg-color3 {
	background: #fff;
	padding: 2.5rem ;
	background-image: none;
}
}