@charset 'UTF-8';

/*********************************************
/*
/* 新造船紹介ページ用CSS
/*
/********************************************/

.subpage-topimage-section {
  position: relative;
  height: 500px;
  width: auto;
  background-color: #f3f3f3;
  background: url('../../img/topics/new_ship/main_img01.jpg') center 30% no-repeat;
  background-size: cover;
  margin-bottom: 20px;
  text-align: center;
}

.subpage-logo_screen {
    padding-top: 100px;
}

.subpage-slogan {
  font-size: 50px;
  padding-top: 230px;
  color: #fff;
  text-shadow: 1px 1px 5px #555;
}

.subpage-sub-slogan {
  font-size: 25px;
  padding-top: 40px;
  line-height: 1.5;
  color: #fff;
  text-shadow: 1px 1px 5px #555;
}

/** 囲み枠装飾 **/
.box_info {
    display: flex;
    position: relative;
    margin: 2em 0;
/*    padding: 1.5em 2em; */
    padding: 1.5em 0.5em 0.5em;
    border: solid 3px #0099ff;
    border-radius: 8px;
}
.box_info .box-title {
    position: absolute;
    display: inline-block;
    top: -13px;
    left: 10px;
    padding: 0 9px;
    line-height: 1;
    font-size: 19px;
    background: #FFF;
    color: #ff1493;
    font-weight: bold;
}

/*
.box_info p {
    margin: 0;
    padding: 0;
}

.box_info p:nth-of-type(2) {
    padding-left: 20px;
}
*/

.itemA {
    flex: 0 0 200px;
}
.itemB {
    flex: 1;
    padding: 0 10px 0 0px;
}

@media screen and (max-width: 768px) {
  .box_info {
    font-size: 80%;
    flex-direction: column;
  }
    
  .itemB {
    padding-left: 0px;
    padding-right: 0px;
    padding-top: 10px;
  }

}

/** 囲み枠装飾 **/


/** スマートフォン時 **/
@media screen and (max-width: 767px) {
    .subpage-topimage-section {
        height: 300px;
    }

    .subpage-slogan {
        font-size: 20px;
        margin: 0 10px;
        padding-top: 120px;
        color: #fff;
    }

    .subpage-sub-slogan {
        font-size: 12px;
        margin: 0 16px;
        padding-top: 20px;
        color: #fff;
    }

}

/* Table */

    .table-wrapper {
    overflow: auto;
    }
    .table-wrapper table{
    width:100%;
    }
    .table-wrapper::-webkit-scrollbar{
    height: 5px;
    }
    .table-wrapper::-webkit-scrollbar-track{
    background: #F1F1F1;
    }
    .table-wrapper::-webkit-scrollbar-thumb {
    background: #d6d6d6;
    }
    .table-wrapper td, .table-wrapper th{
    white-space: nowrap;
    }

	table {
		margin: 0 0 2rem 0;
		width: 100%;
	}

		table tbody tr {
			border: solid 1px;
			border-left: 0;
			border-right: 0;
		}

		table td {
			padding: 0.75rem 0.75rem;
		}

		table th {
			font-size: 1.8rem;
			font-weight: 600;
			padding: 0 0.75rem 0.75rem 0.75rem;
			text-align: left;
		}

		table thead {
			border-bottom: solid 2px;
		}

		table tfoot {
			border-top: solid 2px;
		}

		table.alt {
			border-collapse: separate;
		}

			table.alt tbody tr td {
				border: solid 1px;
				border-left-width: 0;
				border-top-width: 0;
			}

				table.alt tbody tr td:first-child {
					border-left-width: 1px;
				}

			table.alt tbody tr:first-child td {
				border-top-width: 1px;
			}

			table.alt thead {
				border-bottom: 0;
			}

			table.alt tfoot {
				border-top: 0;
			}

	table tbody tr {
		border-color: rgba(143, 143, 143, 0.25);
	}

		table tbody tr:nth-child(2n + 1) {
			background-color: rgba(143, 143, 143, 0.075);
		}

	table th {
		color: #3f3f3f;
	}

	table thead {
		border-bottom-color: rgba(143, 143, 143, 0.25);
	}

	table tfoot {
		border-top-color: rgba(143, 143, 143, 0.25);
	}

	table.alt tbody tr td {
		border-color: rgba(143, 143, 143, 0.25);
	}

.banner_line{
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
}

.banner_line .element {
    margin-left: 5px;
}

.banner_line .element img:hover {
	opacity: 0.5 ;
}


.banner_line .element > :first-child {
    margin-left: 0;
}
