@charset "UTF-8";
body {
	font-family: sans-serif;
	color: #222;
}

.wrapper {
	overflow: hidden;
}

main {
	padding: 50px 0;
	width: 100%;
}

.container {
	margin: 0 auto;
	padding: 50px;
	width: 100%;
	max-width: 1060px;
}

.contents-title {
	line-height: 60px;
	text-align: center;
}
.contents-title h1 {
	display: inline-block;
	font-family: 'arial', sans-serif;
	font-size: 3.0em;
	font-weight: bold;
}
.contents-title p {
	display: inline-block;
	margin-left: 20px;
	font-weight: bold;
}
.contents-title + * {
	margin-top: 50px;
}
.contents-table {
	border-left: none;
	margin: 0 auto;
	width: auto;
	border-color: #eee;
}
.contents-table tr {
	border-color: #eee;
}
.contents-table tr th {
	border-right: none;
	padding: 20px;
	text-align: left;
}
.contents-table tr td {
	border-right: none;
	padding: 20px;
}

a:not([class]) {
	display: inline-block;
	position: relative;
	color: #06c;
}
a:not([class]):after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	right: 100%;
	border-bottom: 1px solid;
	transition: 0.3s;
}
a:not([class]):hover:after {
	right: 0;
}

.message-box p {
	font-weight: bold;
}
.message-box p.error {
	color: #e55;
}

.header {
	position: relative;
	width: 100%;
	min-height: 50vh;
}
.header.header-index {
	min-height: 50vh;
}
.header-branding {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translateX(-50%) translateY(-50%);
}
.header-branding h1 {
	padding: 0 1.0em 0.1em;
	line-height: 1.0;
	border-bottom: 1px solid;
	text-align: center;
	font-family: 'arial', sans-serif;
	color: #fff;
	font-size: 3.0em;
	font-weight: bold;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}
.header-branding h1.header-logo {
	padding: 0;
	border-bottom: none;
	width: 500px;
	filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}
.header-branding p {
	padding-top: 0.3em;
	border-top: 1px solid rgba(0, 0, 0, 0.5);
	text-align: center;
	color: #fff;
	font-weight: bold;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}
.header-navigation {
	position: absolute;
	top: 10px;
	left: 20px;
	right: 20px;
}
.header-navigation-menu {
	display: flex;
	flex-wrap: wrap;
	flex-direction: row;
	justify-content: flex-start;
}
.header-navigation-menu li {
	margin-left: 20px;
}
.header-navigation-menu li.index-link {
	margin-left: 0;
	width: 200px;
	filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}
.header-navigation-menu li.index-link.no-index-link {
	display: none;
}
.header-navigation-menu li.right-start {
	margin-left: auto;
}
.header-navigation-menu li.sub-link {
	display: none;
}
.header-navigation-menu li a {
	font-family: serif;
	color: #fff;
	font-weight: bold;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}
.header-navigation-switch {
	display: none;
}

.footer {
	margin-top: 200px;
	padding-bottom: 20px;
	position: relative;
	background: #06c;
}
.footer::after {
	content: '';
	display: block;
	position: absolute;
	top: -100px;
	left: 0;
	border-style: solid;
	border-width: 50px 50vw 50px 50vw;
	border-color: transparent #06c #06c transparent;
}
.footer-menu {
	text-align: center;
}
.footer-menu li {
	display: inline-block;
	padding: 0 10px;
}
.footer-menu li a {
	color: #fff;
}
.footer-copyright {
	margin-top: 20px;
	text-align: center;
	font-size: 0.8em;
	color: #fff;
}

.company-th {
	width: 155px;
}
.company-table tr th {
	padding: 20px 25px 20px 50px;
	text-align: right;
}
.company-table tr td {
	padding: 20px 50px 20px 25px;
}

.service-marine {
	padding: 100px 50px;
	background: url(../images/image6.jpg) no-repeat fixed;
	background-size: cover;
}
.service-carrot {
	margin-top: 200px;
	padding: 100px 50px;
	background: url(../images/image7.jpg) no-repeat fixed;
	background-size: cover;
}
.service-box {
	margin: 0 auto;
	padding: 50px;
	width: 100%;
	max-width: 1060px;
	border-radius: 5px;
	background: rgba(255, 255, 255, 0.5);
	box-shadow: 0 5px 5px rgba(0, 0, 0, 0.3), inset 0 0 10px 5px rgba(255, 255, 255, 0.3);
}
.service-box-submit {
	font-size: 3.0em;
	font-weight: bold;
}
.service-box-detail {
	margin-top: 20px;
}

.recruit-th {
	width: 105px;
}
.recruit-table tr th {
	vertical-align: top;
}
.recruit-dl dt {
	font-weight: bold;
}
.recruit-dl dd {
	padding-left: 1.0em;
}
.recruit-dl dd + dt {
	margin-top: 10px;
}

.contact-form {
	margin-top: 50px;
}
.contact-th {
	width: 195px;
}
.contact-table {
	width: 100%;
}
.contact-table tr th {
  /*
  &:before {
  	content: "任意";
  	margin-right: 0.6em;
  	padding: 0.15em 0.3em 0.1em;
  	border-radius: 5px;
  	background: $blue2;
  	font-size: 0.8em;
  	font-weight: normal;
  	color: $white;
  }
  &.required:before {
  	content: "必須";
  	background: $orange3;
  }
  */
}
.contact-table tr:last-of-type {
	border-bottom: none;
}
.contact input[type="text"],
.contact select {
	border: none;
	padding: 0.3em 0.5em 0.2em;
	width: 100%;
	border-radius: 2px;
	background: #eee;
	font-size: 1.5em;
	transition: 0.3s;
}
.contact input[type="text"]:focus,
.contact select:focus {
	box-shadow: 0 0 10px 2px #8df;
}
.contact input[type="text"]:required:focus,
.contact select:required:focus {
	box-shadow: 0 0 10px 2px #f93;
}
.contact input[type="text"]:not(:placeholder-shown),
.contact select:not(:placeholder-shown) {
	background: #d5f3ff;
}
.contact textarea {
	border: none;
	padding: 0.3em 0.5em 0.2em;
	height: 10em;
	width: 100%;
	border-radius: 2px;
	background: #eee;
	font-size: 1.5em;
	transition: 0.3s;
}
.contact textarea:focus {
	box-shadow: 0 0 10px 2px #8df;
}
.contact textarea:required:focus {
	box-shadow: 0 0 10px 2px #f93;
}
.contact textarea:not(:placeholder-shown) {
	background: #d5f3ff;
}
.contact input[type="submit"] {
	border: none;
	display: block;
	margin: 0 auto;
	padding: 0.3em 1.5em 0.2em;
	border-radius: 5px;
	background: #4ae;
	font-size: 1.5em;
	color: #fff;
	transition: 0.3s;
}
.contact input[type="submit"]:hover {
	box-shadow: 0 0 10px 2px #8df;
}
.contact .button-back {
	border: none;
	display: block;
	margin: 0 auto;
	padding: 0.3em 1.5em 0.2em;
	border-radius: 5px;
	background: #aaa;
	font-size: 1.0em;
	color: #fff;
}

@media screen and (max-width: 560px) {
  main {
		padding: 20px 0;
  }

  .container {
		padding: 20px;
  }

  .contents-title {
		line-height: normal;
  }
  .contents-title h1 {
		font-size: 2.0em;
  }
  .contents-title + * {
		margin-top: 20px;
  }
  .contents-table tr th {
		padding: 20px 0;
  }
  .contents-table tr td {
		padding: 20px 0 20px 10px;
  }

  a:not([class]) {
		position: inherit;
  }
  a:not([class]):after {
		display: none;
  }

  .header-branding h1 {
		font-size: 2.0em;
  }
  .header-branding h1.header-logo {
		width: 300px;
  }
  .header-branding p {
		padding-top: 0.2em;
  }
  .header-navigation {
		position: fixed;
		top: 0;
		bottom: 0;
		left: auto;
		right: -200px;
		padding-top: 40px;
		width: 200px;
		background: #fff;
  }
  .header-navigation.open {
		box-shadow: -5px 0 5px rgba(0, 0, 0, 0.3);
  }
  .header-navigation-menu {
		display: block;
		border-bottom: 1px solid #06c;
  }
  .header-navigation-menu li {
		margin-left: 0;
		border-top: 1px solid #06c;
  }
  .header-navigation-menu li.index-link {
		filter: none;
		background: #06c;
  }
  .header-navigation-menu li.index-link.no-index-link {
		display: inherit;
  }
  .header-navigation-menu li.index-link a {
		padding-left: 0;
  }
  .header-navigation-menu li.right-start {
		margin-left: auto;
  }
  .header-navigation-menu li.sub-link {
		display: inherit;
  }
  .header-navigation-menu li a {
		display: block;
		padding: 10px 0 10px 20px;
		color: #06c;
		text-shadow: none;
  }
  .header-navigation-switch {
		border: none;
		background: transparent;
		position: fixed;
		top: 10px;
		right: 10px;
		display: block;
		z-index: 9999;
  }
  .header-navigation-switch-open {
		color: #fff;
		font-size: 1.5em;
		text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  }
  .header-navigation-switch-close {
		display: none;
		color: #e55;
		font-size: 1.5em;
  }
  .header-navigation-switch.open .header-navigation-switch-open {
		display: none;
  }
  .header-navigation-switch.open .header-navigation-switch-close {
		display: block;
  }

  .footer {
		margin-top: 20px;
		padding: 20px 0;
		position: inherit;
  }
  .footer::after {
		display: none;
  }

  .company-th {
		width: 110px;
  }
  .company-table tr th {
		padding: 20px 0 20px 20px;
		text-align: right;
  }
  .company-table tr td {
		padding: 20px 20px 20px 10px;
  }

  .service-marine {
		padding: 50vw 0 0;
		background: url(../images/image6.jpg) no-repeat;
		background-size: contain;
  }
  .service-carrot {
		margin-top: 0;
		padding: 50vw 0 0;
		background: url(../images/image7.jpg) no-repeat;
		background-size: contain;
  }
  .service-box {
		padding: 20px;
		border-radius: 0;
		background: #fff;
		box-shadow: none;
  }
  .service-box-submit {
		font-size: 2.0em;
  }

  .flex-1-2 {
		width: 100%;
  }
  .flex-1-2 + .flex-1-2 {
		margin-top: 20px;
  }

  .recruit-th {
		width: 75px;
  }

  .contact-form {
		margin-top: 20px;
  }
  .contact-th {
		width: 100%;
  }
  .contact-table tr th {
		display: block;
		padding-bottom: 0;
    /*
    &:before {
    	//					content: "任意";
    	//					margin-right: 0.6em;
    	//					padding: 0.15em 0.3em 0.1em;
    	//					border-radius: 5px;
    	//					background: $blue2;
    	//					font-size: 0.8em;
    	//					font-weight: normal;
    	//					color: $white;
    }
    &.required:before {
    	//					content: "必須";
    	//					background: $orange3;
    }
    */
  }
  .contact-table tr td {
		display: block;
		padding: 10px 0 20px;
  }
  .contact-table tr:last-of-type td {
		padding: 20px 0 0;
  }
  .contact input[type="text"],
  .contact select {
		font-size: 1.0em;
  }
  .contact textarea {
		font-size: 1.0em;
  }
  .contact input[type="submit"] {
		font-size: 1.2em;
  }
  .contact .button-back {
		padding: 0.6em 1.5em 0.5em;
		font-size: 0.8em;
  }
}
