body {
  font-family: "游明朝体", "Yu Mincho", YuMincho, "Hiragino Mincho ProN", "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", 游ゴシック体, 'Yu Gothic', YuGothic, 'Hiragino Kaku Gothic Pro', メイリオ, Meiryo, Osaka, 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;
  margin: 0 auto;
  font-size: 17px;
  word-break: break-all;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

header {
  background-color: #fff;
}

.header,
.footer-inside {
  background-image: linear-gradient(#F5F5F5, #C0C0C0);
  height: auto;
  padding: 5px 0 5px 0;
}

.header-inside h1 {
  margin: 0 auto;
  margin-bottom: 10px;
}

/*会社名・見出し*/
.title {
  font-weight: bold;
  color: rgb(206, 204, 186);
  text-shadow:1px 1px 0 #000;
  font-size: 29px;
  padding-top: 10px;
}

.logo {
  max-height: 45px;
  width: auto;
}

.logo-span {
  display: inline-block;
  padding-right: 5px;
}

.title-vertical {
  vertical-align: -10%;
}

/*ieでの調整*/
@media all and (-ms-high-contrast: none) {
  .title-vertical {
  vertical-align: -15%;
  }
}

@media(max-width: 445px) {
  .logo {
    max-height: 35px;
    width: auto;
  }
  
  .title {
  font-size: 24px;
  padding-top: 10px;
  }
}

@media(max-width: 370px) {
  .logo {
    max-height: 30px;
    width: auto;
  }
}

@media(max-width: 300px) {
  .logo {
    max-height: 20px;
    width: auto;
  }
}

/*画面サイズが小さくなった時*/
@media(max-width:359px) {
  header .title {
    font-size: 24px;
  }
}

@media(max-width:347px) {
  header .title {
    font-size: 20px;
  }
}

@media(max-width:295px) {
  header .title {
    font-size: 18px;
  }
}

/*上部のナビゲーション*/
.header-nav {
  width: 100%;
  list-style-type: none;
  margin: 0 auto;
}

.header-nav li {
  border-right: 1.5px solid #fff;
  margin-top: 3px;
}

.header-nav li:first-of-type {
  border-left: 1.5px solid #fff;
}

@media(max-width:767px) {
  .header-nav li {
    border-bottom: 1.5px solid #fff;
    border-right: none;
    margin-top: 5px;
  }
  .header-nav li:last-of-type {
    border-bottom: none;
  }
  .header-nav li:first-of-type {
    border-left: none;
  }
}

/*ieでの見た目調整*/
@media all and (-ms-high-contrast: none) and (max-width:767px) {
  .header-nav li {
    max-height: 231px;
    min-height: 42px;
  }
}

.header-nav a {
  color: #000;
  position: relative;
  display: inline-block;
  text-align: center;
  padding-bottom: 5px;
  padding-top: 5px;
  font-weight: bold;
  text-decoration: none;
  text-shadow: 1px 1px 0 #fff;
  font-size: 17px;
}

.header-nav a:hover {
  color: #2d4380;
}

/*<a>にカーソルを合わせたときの下線*/
.header-nav a::after {
  position: absolute;
  bottom: 3px;
  left: 0px;
  content: '';
  width: 100%;
  height: 2px;
  background: #2d4380;
  transform: scale(0, 1);
  transform-origin: left top;
  transition: transform .3s;
}


.header-nav a:hover::after {
  transform: scale(1, 1);
}

/*ドロップダウンリストの青枠を削除*/
.outline-none {
  outline: none;
}

/*今いるページのナビゲーションの背景色*/
.now-page {
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 5px;
  margin-bottom: 4px;
}

@media(max-width: 767px) {
  .now-history {
    margin-bottom: 0!important;
  }
}

.now-page a {
  color: #fff;
  text-shadow: none;
}

/*ドロップダウンリスト用*/
.droplist-now {
  color: #fff!important;
  text-shadow: none!important;
  padding-right: 10px;
  padding-left: 10px;
  padding-top: 7px!important;
  width: 126px!important;
  margin-top: 3px;
  background-color: rgba(0, 0, 0, 0.3)!important;
}

@media(min-width: 768px) {
  .droplist-now {
    background-color: rgba(0, 0, 0, 0.4)!important;
  }
}

.droplist-now-top {
  margin-top:3px;
}

/*ie時のナビゲーション見た目調整*/
@media all and (-ms-high-contrast: none) {
  .header-nav a {
    padding-top: 9px;
  }
  
  .droplist-now {
    padding-top: 10px!important;
  }
}

/*ieでのドロップダウンメニューの見た目調整*/
@media all and (-ms-high-contrast: none) and (max-width:767px) {
  .zero-padd a:last-child {
    padding-bottom: 0;
    margin-bottom: 5px;
  }
  
  .ie-pad-bottom {
    padding-bottom: 3px!important;
  }
}

/*通常時の画像サイズ*/
.img-size {
  max-width: 45%;
  height: auto;
}

@media(min-width:576px) {
  .img-size {
    width: auto;
    max-height: 380px;
  }
}

/*まずはご相談を*/
.contact {
  margin: 0 auto;
}

.right-space {
  margin-right: 5px;
}

.left-space {
  margin-left: 5px;
}

.contact-a a {
  display: inline-block;
}

@media(min-width:650px) {
  a[href^="tel:"] {
    pointer-events: none;
  }
}

/*ieでは押下できないように*/
@media all and (-ms-high-contrast: none) {
  a[href^="tel:"] {
    pointer-events: none;
  }
}

.bottom-space {
  margin-bottom: 20px;
}

/*中段のナビゲーション*/
.cover-img {
  height: 150px;
  display: table;
  width: 100%;
  background-size: cover;
  cursor: pointer;
  transition-duration: 0.5s;
}

.cover-img:hover {
  box-shadow: 10px 10px 10px rgba(0,0,0,0.5);
  transform: translateY(-10px);
  transition-duration: 0.5s;
}

.menu-space2 {
  padding-bottom: 15px;
}

@media(max-width:575px) {
  .menu-space1 {
    padding: 0 8px 0 8px;
  }
  .menu-space2 {
    padding: 0 8px 15px 8px;
  }
}

.deco-no a {
  text-decoration: none;
}

/*中段ナビゲーションの見出し*/
.select {
  background-color: rgba(0, 0, 0, 0.6);
  border-radius: 5px;
  color: #fff;
  text-shadow: 2px 1px 0 #000;
  font-weight: bold;
  padding-top: 3px;
  padding-bottom: 3px;
}

/*ieでの調整*/
@media all and (-ms-high-contrast: none) {
  .select {
    padding-top: 9px;
  }
}

.top-space {
  margin-top: 15px;
}

/*中段のナビゲーションの背景*/
.img-back {
   background-image: url("../img/background.jpg");
}

/*トップページの各コンテンツの区切り線*/
.divider {
  margin: 15px 0;  
  border-bottom: 1px solid #eee;
}

/*カルーセル*/
.mousepointer-hand {
  cursor: pointer;
}

.carousel-item {
  height: auto;
}

.carousel-inner img {
  margin: auto;
}

.curousel-back {
  background-image: url("../img/background.jpg");
}

.carousel-control-prev-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23000' viewBox='0 0 8 8'%3E%3Cpath d='M5.25 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3E%3C/svg%3E");
}

.carousel-control-next-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23000' viewBox='0 0 8 8'%3E%3Cpath d='M2.75 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3E%3C/svg%3E");
}

.carousel-indicators .active {
   background-color: #000;
}

.carousel-indicators {
  margin-bottom: 0;
}

.carousel-indicators li {
  height: 5px;
}

.carousel-control-next-icon, 
.carousel-control-prev-icon {
  width: 25px;
  height: 25px;
}

/*背景画像のぼかし*/
.bg-mask {
  height: 100%;
  background: rgba(255,255,255,0.3);
}

img-back .bg-mask{
  padding-bottom: 30px;
  padding-top: 10px;
}

/*トグル*/
.navbar-toggler{
   border-color: #000;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(0,0,0,1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
}

.navbar-toggler {
  padding: 0;
}
.navbar {
  padding: 0;
}

.icon-position {
  margin: 0 3px;
}

.menu-font-size {
  font-size: 12px;
  font-weight: bold;
}

.contact-bottom-space {
  padding-bottom: 20px;
}

/*フッターの住所の改行*/
@media(min-width:340px) {
  .fotter-new-line1 br {
    display: none;
  }
}

/*その他の画面*/
.back-white {
  background-color: #fff;
  border: 1px solid #c0c0c0;
  border-radius: 10px;
}

.title-border {
  border-bottom: 1.5px solid #c0c0c0;
  margin-bottom: 15px;
  width: 100%;
  padding-bottom: 15px;
}

.info-back-white {
  padding: 0 35px 25px 35px;
  background-color: #fff;
  border: 1px solid #c0c0c0;
  border-radius: 10px;
}

@media(max-width:575px) {
  .info-back-white {
    padding: 0 8px 25px 8px;
    background-color: #fff;
    border: 1px solid #c0c0c0;
    border-radius: 10px;
  }
}

.info-font-size {
  font-size: 17px;
}

@media(max-width:281px) {
  .info-font-size {
    font-size: 14px;
  }
}

@media(min-width:282px) and (max-width:575px) {
  .info-font-size {
    font-size: 16px;
  }
}

.main-back-img {
  background-image: url('../img/background.jpg');
}

.main-back-space {
  padding: 20px 10px 35px 10px;
}

.info-title {
  font-weight: bold;
  font-size: 23px;
}

.info-content {
  word-break: break-all;
  word-wrap: break-word;
  overflow-wrap: break-word;
  padding-top: 10px;
}

.bold {
  font-weight: bold;
}

/*ieでの「ページ上部へ」の微調整*/
@media all and (-ms-high-contrast: none) {
  .to-top {
    padding-top: 10px
  }
}

/*フッター内の住所等が書いてある箇所の幅*/
@media(max-width:991px) {
  .con-width {
    width: 80%;
  }
}

.footer-inside p {
  margin: 0;
}

/*社員専用ページ*/
.footer-inside {
  padding: 15px 0 15px 0;
}

.footer-line-height {
  line-height: 20px;
  margin-bottom: 25px;
}

.footer-nav-color {
  font-size: 16px;
  color: #808080;
  margin-top: 10px;
  display: inline-block;
}

/*コピーライト*/
.copyright {
  display: inline-block;
  margin-top: 10px;
}

/*お問い合わせ*/
.work-time {
  padding-top:25px;
  font-size: 15px;
}

@media(max-width:539px) {
  .header-inside .text-right {
    text-align: center!important;
  }
  .work-time {
    padding-top:7px;
    font-size: 15px;
  }
}

@media(min-width:768px) {
  .header-inside br {
    display: none;
  }
}

@media(max-width:575px) {
  header .work-time {
    padding-top:7px;
    font-size: 12px; 
  }
}

/*営業内容画面*/
.contact-border {
  border: solid 1px rgb(192, 192, 192);
  margin: 15px 0 15px 0;
  width: 80%;
}

@media(min-width:992px) {
  .contact-border {
    border: solid 1px rgb(192, 192, 192);
    margin: 15px 0 15px 0;
    width: 50%;
  }
}

.info-img-size2 {
  max-width: 35%;
  height: auto;
  box-sizing: border-box;
}

@media(max-width:767px) {
  .info-img-size2 {
    max-width: 55%;
    height: auto;
    box-sizing: border-box;
  }
}

/*営業内容画面*/
.original-table2 table {
  border: 1px solid #c0c0c0;
  width: 95%;
  table-layout: fixed;
}

.original-table2 tr {
  border-bottom: 1px solid #c0c0c0;
}

.original-table2 tr:last-of-type {
  border-bottom: none;
}

.original-table2 th {
  width: auto;
}

.th-pad th {
  padding-top: 15px;
  padding-bottom: 15px;
}


.original-table2 td {
  padding: 15px;
}

.original-table2 th {
  display: block;
  padding: 15px 15px 0 15px;
}

.original-table2 td {
  display: block;
}

.th-pad th {
  padding: 15px 15px 0 15px;
}

.original-table2 .no-content-td {
  padding-top: 3px;
}

/*ieのみ調整*/
@media all and (-ms-high-contrast: none) and (max-width:991px) {
  .original-table2 .no-content-td {
    padding-top: 0;
  }
}

/*PCサイズの場合、スペースを空けて横並び*/
@media(min-width:992px) {
  .space {
    margin-right: 18px;
  }
  
  .business-new-line1 br {
    display: none;
  }
}
/*PCサイズ未満では縦並びにするためmarginを0に*/
@media(max-width:991px) {
  .space {
    margin-right: 0;
  }
}

/*PCサイズ以上の場合、左揃えの中央寄せにするためにmargin設定*/
@media(min-width:992px) {
  .m-right1 {
    margin-right: 200px
  }

  .m-right2 {
    margin-right: 100px
  }

  .m-right3 {
    margin-right: 100px
  }

  .m-right4 {
    margin-right: 375px
  }
  
  .table-align {
    text-align: center;
  }
}

/*改行*/
@media(min-width:332px) {
  .business2-new-line br {
    display: none;
  }
}

@media(min-width:768px) {
  .business2-new-line3 br {
    display: none;
  }
}

@media(min-width:419px) {
  .business2-new-line4 br {
    display: none;
  }
}

@media(min-width:349px) {
  .business2-new-line2 br {
    display: none;
  }
}

.contact-border p {
  margin-top: 16px;
}
@media(min-width:431px) {
  .index-new-line1 br {
    display: none;
  }
}

/*沿革・会社概要画面*/
/*テーブル*/
.original-table table {
  border: 1px solid #c0c0c0;
  width: 95%;
}

.original-table tr {
  border-bottom: 1px solid #c0c0c0;
}

.original-table tr:last-of-type {
  border-bottom: none;
}

@media(max-width:991px) {
  .original-table th {
    border-bottom: none;
  }
}

.original-table th {
  width: 200px;
}

@media(max-width:250px) {
  .original-table th {
    width: auto;
  }
}

.original-table td {
  padding: 15px;
  padding: 5px 15px 10px 15px;
}

.original-table th {
  padding: 0 15px 0 15px;
}

@media(min-width:992px) {
  .original-table td {
    padding: 15px;
  }
}

@media(max-width:991px) {
  .original-table th {
    display: block;
    padding: 15px 15px 0 15px;
  }
  .original-table td {
    display: block;
  }
}

.info-title-space {
  margin-top: 45px;
}

/*「川崎重工業株式会社の油圧機器指定代理店として」の後の改行*/
@media(max-width:575px) {
  .history-new-line1 br {
    display: none;
  }
}

/*リンク押せないように*/
.disabled {
  pointer-events: none;
}

/*お問い合わせボタン*/
.contact-btn {
  padding: 0;
}

.contact-btn a {
  display: inline-block;
  padding: 0 5px;
  margin: 6px 3px 6px 0;
}

/*ie時のお問い合わせボタンの見た目調整*/
@media all and (-ms-high-contrast: none) {
  .contact-btn a {
    padding-top: 5px;
  }
}

/*見出し画像*/
.title-img {
  height: 120px;
  display: table;
  width: 100%;
  background-size: cover;
  background-position: center;
}

.title-top {
  margin-top: 25px;
  padding-top: 15px;
  padding-bottom: 0;
}
/*ieでの調整*/
@media all and (-ms-high-contrast: none) {
  .title-top {
    padding-top: 20px;
  }
}

.title-height {
  height: 60px;
}

@media(max-width:575px) {
  .title-img {
    height: 90px;
    display: table;
    width: 100%;
    background-size: cover;
    background-position: center;
}
  .title-top {
    margin-top: 20px;
    padding-top: 5px;
  }
  .title-height {
    height: 40px;
  }
}

@media(max-width:196px) {
  .title-height {
    height: auto;
  }
  .title-top {
    margin-top: 0;
    padding-top: 0;
  }
}

/*新しい取り組み*/
.img-display {
  display: inline-block;
}

.img-size-space {
  max-width: 95%;
  padding: 4px;
}

@media(min-width: 450px) and (max-width: 767px) {
  .img-size-space {
  max-width: 70%;
 }
}

.img-caption {
  margin: 10px 0 0 0;
}

@media(max-width: 322px) {
  .img-caption {
    font-size: 15px;
  }
}

@media(min-width: 768px) {
  .img-right-space {
    margin-right: 30px;
  }
  
  .img-left-space {
    margin-left: 30px;
  }
}

@media(max-width: 767px) {
  .img-caption-top {
    margin-top: 20px;
  }
}

.around-img-space {
  margin: 20px 0 25px 0;
}

.original-table3 th {
  padding: 0 15px 0 80px;
  width: 50%;
}

@media(min-width:992px) {
  .original-table3 td {
    padding-right: 120px;
    text-align: right;
  }
}

/*営業内容*/
.table-h2 {
  font-size: 19px;
  margin-top: 35px;
}

.info-title-space {
  margin-top: 45px;
}

/*会社案内*/
.guide-border {
  border: 1px solid #c0c0c0;
  width: 95%;
  padding: 16px 16px 0 16px;
}

.guide-header {
  border-left: 4px solid #f7af0d;
  border-left: 4px solid #f7d70d;
  padding: 10px 17px;
  background-color: #f4f4f4;
  font-weight: bold;
  font-size: 20px;
  margin-bottom: 10px;
  margin-bottom: 20px;
  margin-top: 20px;
}

.guide-header:first-of-type {
  margin-top: 0;
}

/*採用情報*/
.recruite-a {
  text-decoration: underline;
}

/*ドロップダウンメニュー*/
.test {
    color: #000;
    display: inline-block;
    margin-left: .255em;
    vertical-align: .255em;
    content: "";
    border-top: .3em solid;
    border-right: .3em solid transparent;
    border-bottom: 0;
    border-left: .3em solid transparent;
    margin-top: 5px;
}

/*トグルボタンの際の背景色*/
@media(max-width:767px) {
  .test-bg-color {
    background-color: rgba(233, 236, 239, 0);
  }

  .drop-a {
    padding: 0;
    width: 68px;
    background-color: rgba(233, 236, 239, 0);
  }
  
  .drop-a:hover {
    background-color: rgba(233, 236, 239, 0);
  }
}

.drop-width {
  text-align: center;
  width: 100%;
}

/*画面が大きい時のドロップダウンメニュー内の背景色*/
@media(min-width:768px) {
  .test-bg-color {
    background-color: #e3e3e3;
    margin-top: 5px;
  }
  
  .drop-a {
    padding: 0;
    width: 68px;
    background-color: rgba(201, 201, 201, 0);
  }

  .drop-a:hover {
    background-color: rgba(201, 201, 201, 0);
  }
  
  .dropdown-item:focus, 
  .dropdown-item:hover {
    background-color: rgba(201, 201, 201, 0);
  }
}

/*ドロップダウンメニュー内の区切り線*/
.dropdown-divider {
  height: 0;
  margin: 2px 0;
  overflow: hidden;
  border-top: 1.5px solid #fff;
  width: 50%;
  overflow: hidden;
}

/*ドロップダウンメニュー内の「新しい取り組み」のwidth*/
.drop-a:nth-of-type(3) {
  width: 116px;
}

@media(max-width:767px) {
  .drop-width {
    text-align: center;
    width: 50%;
  }
}

/*ドロップダウンアニメーション*/
.dropdown-menu {
  display: block;
}

.navbar-nav .dropdown-menu {
  max-height: 0;
  padding: 0;
  margin-bottom: 0;
  border: none;
  overflow: hidden;
  transition: max-height 0.5s;
  border-radius: 0 0 10px 10px;
}

.navbar-nav .dropdown-menu.show {
  max-height: 190px;
}

/*ドロップダウンメニュー内の会社案内のmargin*/
@media(min-width: 768px) {
  .guide-top {
    margin-top: 5px;
  }
}
