/*
Theme Name: ㈱マスターマリン
Theme URL: http://iifune-com.check-xserver.jp/
Description: ㈱master marine 2
Author: Next
Version: 0.21
Tags: テーマの特徴を表すタグ（カンマ区切り/オプション）
License: テーマのライセンス
License URI: テーマのライセンスのURI
*/
/* この下に通常のcssを書いていく */
/* ヘッダー */

body {
	box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.35);
	width: 100%;
    max-width: 1280px;
    margin: 0 auto;
	font-size: min(1.3vw, 20px);
	line-height: 1.7;
	position: relative;
	background-image: url(./images/bg.webp);
    font-family: monospace;
}
#navbutton {
	display: none;
}
.header {
	background-color: white;
}
.header__inner {
	display: none;
}
.head-address {
	width: min(425px, 33.1925vw);
    float: right: margin-right: 7.5%;
    display: inline-block;
    position: absolute;
    right: 2em;
    bottom: 0.5em;
}
.head-bottom {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 10%;
	max-height: 8px;
}
.head-blue {
	width: 60%;
	background-color: #333399;
    display: block;
    height: 100%;
	float: left;
}
.head-green {
	width: 40%;
	background-color: #333399;
    display: block;
    height: 100%;
	float: right;
}
.head_sdgs {
	height:min(81px, 6.328125vw);
	position:absolute;
	right:0.5em;
	top:2%;
}
.header-nav-wrap{
	display: block;
	position: absolute;
	bottom: -1.85em;
	left: 4%;
	z-index: 9;
}
.head-menu{
}
.jan_title {
	display: block;
	font-size: 2em;
}
.menu-item {
	position:relative;
	display: inline-block;
	font-size: 0.9em;
	text-align: center;
	width: 10em;
	line-height: 1;
	border-right: 1px solid #333399;
	border-bottom: 1px solid #333399;
	margin: 0 0.25em 0 0;
	padding-top: 2px;
	background-color: rgba(255, 255, 255, 0.85);
	min-height: 1.1em;
	top: 0.3em;
}
.menu-item a {
	color: #333399;
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
}
.menu-item a:hover {
	text-decoration: none;
}
.menu-item:hover {
	color: #339933;
	background-color: rgba(255,0255, 0, 0.85);
}
.menu-item:hover .jan_title {
	font-weight: 700;
}

#page-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  font-size: 14px;
  line-height: 1;
  z-index: 99;
}
#page-top a {
  background: #333399;
  text-decoration: none;
  color: #fff;
  width: 60px;
	height: 60px;
  padding: 24px 5px;
  text-align: center;
  display: block;
  border-radius: 90px;
  opacity: 0.9;
  transition: all .3s ease;
}
#page-top a:hover {
  text-decoration: none;
  opacity: .5;
}
main {
	width: 100%;
	padding: 2em 5em 4em;
	background-color: white;
}
.main-txt {
	width: 80%;
	margin:2em 10%;
}
h1 {
	background-image: url(./images/mark.svg);
	background-size: 2.5em;
	background-repeat: no-repeat;
	position: relative;
	font-size: min(38px, 2.3em);
	font-weight: 700;
	letter-spacing: 0.3em;
	margin-top: 1em;
	padding: 5px 1em 0 9.5em;
	color: #fff;
	text-shadow:
    	2px 2px 1px #333399,
		-2px -2px 1px #333399,
    	-2px 2px 1px #333399,
    	2px -2px 1px #333399,
    	2px 0px 1px #333399,
		-2px 0px 1px #333399,
    	0px 2px 1px #333399,
    	0px -2px 1px #333399;
	border-bottom: 2px solid #333399;
}
h1 .sub-title {
	color: #333399;
	font-family: Impact;
	font-size: min(20px, 1.5625vw);
	font-weight: 500;
	position: absolute;
	bottom: 3px;
	right: min(40px, 3.125vw);
	text-shadow: none;
	letter-spacing: 0px;
	margin-bottom: 0;
	//transform   : scale(1, 2);
}
h2 {
	font-family: YuMincho, "Hiragino Mincho ProN", serif;
	width: 60%;
	border-bottom: 1px solid #333399;
	font-size: 1.3em;
	font-weight: 800;
	position: relative;
	padding: 0.25em 1em 0.25em 3em;
	clear: both;
}
h2::before {
	display: block;
	width: 2.5em;
	height: 1.5em;
	position: absolute;
	top: 0.25em;
	left: 0em;
	content: "";
	background-image: url(./images/mark.svg);
	background-size: contain;
	background-repeat: no-repeat;
}
.h2-right {
	margin-left: 40%;
}
h3 {
	font-size: 1.1em;
	font-weight: 300;
	position: relative;
	padding: 0.15em 1em 0.15em 2em;
	clear: both;
	border-bottom: 1px solid #339933;
	margin-left: 0.5em;
	line-height: 1;
}
h3::before {
	display: block;
	width: 2.2em;
	height: 1em;
	position: absolute;
	bottom: 0;
	left: -0.5em;
	content: "";
	background-image: url(./images/mark.svg);
	background-size: contain;
	background-repeat: no-repeat;
}
.f-right {
	float: right;
}
.f-left {
	float: left;
}
.revp {
	display: inline-block;
}
.nextp {
	display: inline-block;
	float: right;
}
.topp {
	padding-top: 1em!important;
}
p {
	padding: 1.5em 1em;
	clear: both;
}
.top_bunner {
	width: min(800px, 85vw);
	border: 1.5px solid #333399;
	border-radius: 20px;
	position: relative;
	display: block;
	height: 100%;
	aspect-ratio: 3.669 / 1;
	margin: 0.5em auto 1.5em;
	color: #fff;
	text-shadow:
    	2px 2px 1px #333399,
		-2px -2px 1px #333399,
    	-2px 2px 1px #333399,
    	2px -2px 1px #333399,
    	2px 0px 1px #333399,
		-2px 0px 1px #333399,
    	0px 2px 1px #333399,
    	0px -2px 1px #333399;
}
.top_bunner:hover {
	border: 3.5px solid #333399;
}
.top_bunner a {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 9;
	color: #fff;
}
.top_bunner a:hover {
	text-decoration: none;
	color: #eee;
	opacity: .8;
	-moz-transform: scale(1.1);
	-webkit-transform: scale(1.1);
	-ms-transform: scale(1.1);
	transform: scale(1.1);
}
.bunner_title {
	transform: scale(0.95, 1);
	margin-top: 0;
    letter-spacing: 5px;
}
.top_com .bunner_title {
	font-size: min(85px, 5em);
	width: 55%;
	font-weight: 900;
	font-family: Impact;
	text-align: center;
	margin-right: 0;
	float: right;
}
.top_com {
	background-image: url(/wp-content/themes/chiyoda/images/top_com_bg2.jpg);
	background-size: contain;
	background-repeat: no-repeat;
}
.top_ser {
	background-image: url(/wp-content/themes/chiyoda/images/top_ser_bg2.jpg);
	background-size: contain;
	background-position: right;
	background-repeat: no-repeat;
}
.top_rec {
	background-image: url(/wp-content/themes/chiyoda/images/top_rec_bg2.jpg);
	background-size: contain;
	background-repeat: no-repeat;
}
.top_ser .bunner_title {
	font-size: min(85px, 5em);
	font-weight: 900;
	font-family: Impact;
	width: 55%;
	text-align: center;
	margin-left: 0;
}
.top_rec .bunner_title{
	font-size: min(85px, 5em);
	font-weight: 900;
	font-family: Impact;
	width: 55%;
	text-align: center;
	margin-right: 0;
	float: right;
}
.top_jan {
	font-size: 0.3em;
	font-weight: 900;
	display: block;
	color: #339933;
	margin-top: -1.1em;
	transform: scale(1.05, 1);
	text-shadow:
    	2px 2px 1px #fff,
		-2px -2px 1px #fff,
    	-2px 2px 1px #fff,
    	2px -2px 1px #fff,
    	2px 0px 1px #fff,
		-2px 0px 1px #fff,
    	0px 2px 1px #fff,
    	0px -2px 1px #fff;
}
.top-info {
	width: 100%;
	text-align: center;
}
/* 会社案内 */
.com-map {
	width: 45%;
	aspect-ratio: 16/9;
	height: auto;
}
.rinen {
	font-size: 2em;
	font-weight: 700;
	text-align: center;
	padding: 1.5em 0;
	font-family: YuMincho, "Hiragino Mincho ProN", serif;
}
.t-right {
	text-align: right;
}
.in_center {
	width: fit-content;
	margin: 2em auto 1em;
}
.in_center dl {

}
.en-history {
	font-size: 0.9em;
	font-weight: 700;
	color: #333399;
	margin-bottom: 0.2em;
	border-bottom: 1px solid #333399;
}
.en-txt {
	padding-left: 3em;
}
.gai-title {
	font-size: 0.9em;
	font-weight: 700;
	color: #333399;
	margin-bottom: 0.2em;
	border-bottom: 1px solid #333399;
}
.gai-txt {
	padding-left: 3em;
}
.nin {
	padding-left: 1.5em;
}
.awards {
	padding: 0.2em 1.5em;
}
.work-name {
	padding-right: 1.5em;
}
.record {
	padding: 0.2em 1.5em;
}
.sdgs {
	padding-left: 1.5em;
}
.sdgs-img {
	width: 80px;
	float: left;
	margin-right: 1em;
}
.service-img {
	width: min(300px, 100%);
	border-radius: 0.75em;
	margin: 0 1em 1em;
	box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.35);
}
.service-imgv {
	width: min(225px, 100%);
	border-radius: 0.75em;
	margin: 0 1em 1em;
	box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.35);
}
.i-right {
	float: right;
}
.i-left {
	float: left;
}
.rec_staff th {
	padding: 0 0.5em;
	background-color: #339933;
	color: #fff;
}
.rec_staff td {
	padding: 0 0.5em;
}
.rec_staff tr {
	border : 1px solid #339933;
}
.rec_staff {
	margin-top: 2em;
}
.rec_first {
	margin-top: 2.5em;
}
.t_aword {
	width: 100%;
	max-width: 1000px;
	margin: 1em auto 3em;
}
.t_aword th {
	background-color: #339933;
	color: #fff;
	text-align: center;
}
.t_aword td {
	padding: 0.2em 1.5em;
	border: 0.5px solid #339933;
	text-align: center;
}
.t_work {
	width: 100%;
	max-width: 1000px;
	margin: 1em auto 3em;
}
.t_work th {
	background-color: #333399;
	color: #fff;
	text-align: center;
}
.t_work td {
	padding: 0.2em 1.5em;
	border: 0.5px solid #333399;
	text-align: center;
	font-size: 1.2em;
}
.t_vol {
	width: 100%;
	max-width: 1000px;
	margin: 1em auto 3em;
}
.t_vol th {
	background-color: #339933;
	color: #fff;
	text-align: center;
}
.t_vol td {
	padding: 0.2em 1.5em;
	border: 0.5px solid #339933;
	text-align: center;
}
.t_sdgs {
	width: 100%;
	max-width: 1000px;
	margin: 1em auto 3em;
}
.t_sdgs th {
	background-color: #333399;
	color: #fff;
	text-align: center;
}
.t_sdgs td {
	padding: 0.2em 1.5em;
	border: 0.5px solid #333399;
	text-align: center;
}
.sub-service {
	display: block;
	margin: 1.5em;
	text-align: center;
}
.sub-service a {
	background-color: #339933;
	border-radius: 2em;
	color: #fff;
	padding: 0.5em 2.5em;
	border: 5px double;
	margin: 0 auto;
}
.sub-service a:hover {
	text-decoration: none;
	color: yellow;
	animation-name: fukuramu;
	animation-delay: 0.1s;
	animagion-duration: 2s;
	animation-fill-mode: forwards;
}
@keyframes fukuramu {
    0% {
    }
    100% {
	font-size: 1.05em;
    }
}

.t_work {
	font-size: 0.8em;
}
.work_month {
	border-bottom: 0px solid #fff!important;
	border-right: 0px solid #fff!important;
	font-size: 0.9em;
	width: 9em;
	padding-bottom: 0!important;
}
.work_title {
	text-align: left!important;
	border-left: 0px solid #fff!important;
	border-bottom: 0px solid #fff!important;
	padding-bottom: 0!important;
	line-height: 1.1;
	font-weight:600;
}
.work_kucli {
	border-top: 0px solid #fff!important;
	padding-top: 0!important;
}
.cli {
	display: inline-block;
	float:right;
}
.workkubun {
	float:left;
	font-size: 0.9em;
	border-radius:1em;
	display: inline-block;
	padding: 0 1em;
}
.tag_survey {
	background-color: #a8ffc9;
}
.tag_wells {
	background-color: #97bfff;
}
.tag_install {
	background-color: #ffcfdc;
}
.workcls {
    color: #339933;
    font-weight: 600;
    background-color: yellow;
}
.sengen_title {
font-size: 1.4em;font-weight:700;text-align:center;
}
.sengen {
font-size:1.3em;font-weight:500;padding-top:0.8em;
}
.torikumi {
}
.torikumi img {
width:200px;float:left;margin-right:3em;
}
.torikumi_title {
font-weight:900;font-size:1.6em;margin-left:-2em;
}
.torikumi_ul {
font-size:1.3em;text-align:center;
}
.torikumi_ul li {
	text-align:left;
	font-weight:100;
}
.wpcf7 {
	padding: 1em 2em 1em;
	background-color: #eeffeb;
	border-radius: 1em;
	margin: 2em 4em;
}
input, textarea {
	max-width: 160%;
}
.wpcf7 p {
	margin-bottom: 0;
	padding-bottom: 0;
}
.wpcf7-submit {
	color: #fff;
	margin: 0 auto;
background-color: #339933;
    border-radius: 1em;
    padding: 0 1em;
}
.wpcf7-previous {
	color: #fff;
	margin: 0 1em 0 auto;
	background-color: #ff8100;
    border-radius: 1em;
    padding: 0 1em;
}
.wpcf7-not-valid {
	background-color: #ffeae7;
}
.wpcf7-form textarea {
    width: 100%; /* 横幅いっぱいに広げる */
    box-sizing: border-box; /* パディングを含めて幅を計算する */
}
.hissu {
	color: red;
	font-size: 0.75em;
	font-weight: 400;
}
.conarea {
	width: 160%;
}
.confi {
	background-color: #fff;
	border-radius: 0.3em;
}
.confi p {
	padding: 0 1em;
	margin: 0;
}
.reqimg {
	width: 100%;
}
.news-area {
	font-size: 1.1em;
	width: 50%;
    border: 1.5px solid #333399;
    border-radius: 20px;
    position: relative;
    display: block;
    margin: 0em auto 1.5em;
    padding: 0 1.5em 2em;
    float: left;
    margin-right: 1em;
}
.news-area li {
	list-style: none;
	vertical-align: middle;
}
.news-area ul {
	padding-inline-start: 0;
}
.fdate {
font-size: 0.9em;
    width: 7.5em;
    display: block;
    float: left;
    padding-top: 0.9em;
	color: #339933;
}
.ftitle {
	display: flex;
	padding-top: 0.7em;
	padding-left: 0.5em;
	border-bottom: 1px solid #333399;
}
.ftype {
	border-radius: 1em;
	font-size: 0.65em;
	padding: 0.2em 1em;
	margin: -0.3em 0.6em 0;
}
.newsinfo li {
	list-style: none;
	margin-bottom: 1em;
}
.news-area .news, .newsinfo .news {
	background-color: #c90000;
	color: #fff;
}
.news-area .up, .newsinfo .up {
	background-color: #007c00;
	color: #fff;
}
.news-area .honor, .newsinfo .honor {
	background-color: #ffff00;
	color: #000;
}
.news-area .Exhibition, .newsinfo .Exhibition {
	background-color: #0000ff;
	color: #fff;
}
.news-area .Recognition, .newsinfo .Recognition {
	background-color: #ff9600
	color: #fff;
}
.news-area .Appointments, .newsinfo .Appointments {
	background-color: #ce28ff;
	color: #fff;
}
.news-area .Support, .newsinfo .Support {
	background-color: #ff00ff;
	color: #fff;
}
.shop_p {
	font-size: 0.9em;
	padding: 1em 4em 0;
}
.shop_com {
	margin: 2em 3em;
	font-size: 0.9em;
}
.shop_com h3 {
	margin-bottom: 2em;
}
.mfp-inline-holder .mfp-content, .mfp-ajax-holder .mfp-content {
    width: 600px!important;
    cursor: auto;
    background-color: #fff;
    font-size: 0.6em;
    line-height: 1.2;
	border-radius: 1em;
}
.figcap {
	margin: 0.5em 1.5em;
	display: inline-block;
}
.figcap img {
	margin: 0 0 0.3em;
}
.wp-caption-text {
	font-size: 0.6em;
	text-align: center;
}
.service-imgarea {
	text-align:center;
}
.service-vtxt {
	padding: 1.5em 1em;
}
.newslist {
	float: right;
	background-color: #333399;
	color: #fff;
	padding: 0 1em;
	border-radius: 1em;
}
.newslist a {
	color: #fff;
}
.newslist a:hover {
	color: yellow;
}
.swiper-horizontal {
	overflow: hidden;
	position: relative;
}
.custom_boat-slide-item {
    display: block;
    text-align: center;
    color: #333;
    text-decoration: none;
}

.custom_boat-thumb img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.custom_boat-title {
    margin-top: 10px;
    font-size: 14px;
}
.sale-slide-item {
    display: block;
    text-align: center;
    color: #333;
    text-decoration: none;
}

.sale-thumb img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.sale-title {
    margin-top: 10px;
    font-size: 14px;
}
.part_sale-slide-item {
    display: block;
    text-align: center;
    color: #333;
    text-decoration: none;
}

.part_sale-thumb {
    width: 100%;
	aspect-ratio: 1/1;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.part_sale-thumb img {
    width: 100%;
	aspect-ratio: 1/1;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.part_sale-title {
    margin-top: 10px;
    font-size: 14px;
}
.swiper-button-next, .swiper-button-prev {
	width: calc(var(--swiper-navigation-size) / 44 * 6)!important;
}
.sale_single {
    font-size: 1.1em;
    width: 100%;
    border: 1.5px solid #333399;
    border-radius: 20px;
    position: relative;
    display: inline-block;
    margin: 0.5em auto 1.5em;
    padding: 0 1.5em 2em;
}
.sale_thumbphoto {
	display: inline-block;
}
.sale_single li {
	list-style-type: none;
	display: inline-block;
	margin-bottom: 0.5em;

}
.sale_thumbphoto {
	margin: 0 3px 15px;
	display: block;
	width: 100%;
	position: relative;
	text-align:right;
}
.sale_boat-photo {
	width: 60%;
	float: left;
	display: inline-block;
	border-radius: 5px;
	overflow: hidden;
	margin-right: 1em;
}
.sale_boat-photo img{
	width: 100%!important;
}
#def {
  transition: opacity 0.5s ease-in-out; /* 0.5秒でフェード */
  opacity: 1;
}
#def.fade {
  opacity: 0;
}
/* 各一覧 */
.list_wrap {
	text-align: center;
}
.page-used_boat_wrap{
	display: inline-block;
	width: 32%;
	vertical-align: top;
	min-width: 300px;
}
.page-custom_boat_wrap{
	display: inline-block;
	width: 49%;
	vertical-align: top;
	min-width: 500px;
}
.page-used_parts_wrap{
	display: inline-block;
	width: 24%;
	vertical-align: top;
	min-width: 230px;
}
.inquiry {
	display: inline-block;
	padding: 0.3em 0.8em;
	border-radius: 1em;
	background-color: red;
	color: white;
	font-weight: 700;
	text-align: center;
	float: right;
	position: absolute;
    right: -63%;
}
.inquiry_foot, .parts_foot {
	display: inline-block;
	margin-top: 1em;
	padding: 0.3em 0.8em;
	border-radius: 1em;
	background-color: red;
	color: white;
	font-weight: 700;
	text-align: center;
}
.pthumb{width:150px;height:auto;}
.detail_title{margin-left:20%;background-color:#333399;padding:0.1em 0.6em;color:white;text-align:center;width:30%;display:inline-block;}
.detail{width:30%;display:inline-block;padding:0.1em 0.6em;margin-right:20%;clear:both;border: 0.5px solid #666;}
.exterior_title{padding: 0.1em 0.6em;margin-top:0.5em;background-color:#333399;color:white;}
.exterior li{margin:0.25em 0.25em;padding:0.1em 0.6em;color:white;background-color:#c70000;}
.equipment_title{padding: 0.1em 0.6em;margin-top:0.5em;background-color:#333399;color:white;}
.equipment li{margin:0.25em 0.25em;padding:0.1em 0.6em;background-color:#009d00;color:white;}
.interior_title{padding: 0.1em 0.6em;margin-top:0.5em;background-color:#333399;color:white;}
.interior li{margin:0.25em 0.25em;padding:0.1em 0.6em;background-color:yellow;}
.wide_title{width:60%;margin-top:2em;}
.wide_comment{width:60%;margin:0 20%;border:0.5px solid #666;}
.pr_comment{width:100%;border:0.5px solid #666;}
.sale_content{display:inline-block;}