@charset "UTF-8";
/*
Theme Name: opthouse.net-sp
Version: 1.0.0
*/

/****************************************
General Setting
*****************************************/
.sp { display: inline-block; }
.pconly { display: none; }
.pc { display: none; }
.spimgblock { float: none!important; display: block; margin: 0px auto 10px; }
.pr_br {
	display: inline;
}
.spbr {
	display: block;
}

html, body {
	margin: 0 auto!important;
}

#header #tlogo {
	float: none;
	width: auto;
}
#header #tlogo img {
	max-width: 220px;
}

body {
	text-align: center;
	font-size: 14px;
	background-position: bottom;
	background-repeat: repeat-x;
	min-width: 100%;
	word-wrap: break-word;
}

img {
	border-style:none;
	height: auto;
}
.subHeader { 
	padding: 10px 0px 10px;
}
.mBttl{
	font-size: 1.3em;
	line-height: 1.8em;
	margin-bottom: 1em;
}

footer,
#header .wrapper,
#container,
.topwrapper,
.wrapper03,
.wrapper02,
.wrapper {
	padding-left: 0px !important;
	padding-right: 0px !important;
	margin-left: auto;
	margin-right: auto;
	width: 100%;
	overflow: hidden;
	min-width: 100%;
}
.mslider {
}

.kizi { padding: 0px 10px; }
#main,
#sidepage {
	width:100%;
	float:  none;
}

#maincon { padding-top: 0px; padding-bottom: 50px; }
.breadcrumbs { padding-left: 10px; }
#gnavi {
	position: fixed;
	top: 70px;
	z-index: 999;
	width: 100%;
	float: none;
	display: block; }

#header { height: 58px; padding-top: 1px; min-width: 100%;}
#headerL.fixed #header { position: fixed; }
#header h1 { display: none; }

#sp_menu_btn {
	position: absolute;
	display: block;
	cursor: pointer;
	width:47px;
	height:47px;
	right:0px;
	margin-top:3px;
	margin-right:10px;
	background: #fff;
	z-index: 100;
	filter: invert(100%) brightness(79%);
}

.menu {
	display: none;
	margin-top: 0px;
	margin-left: auto;
	margin-right: auto;
	padding: 0;
	width: 100%;
	height: 100%;
	box-sizing: border-box;
	background: #fff;
	padding-top: 20px;
}

.menu ul{
	list-style-type: none;
	margin: 0px 0px 20px 0px;
	padding: 0 2px;
	display: block;
	padding-bottom: 50px;
}

.menu ul li {
	width: 98%;
	text-indent: initial;
	height: auto;
	display: block;
	padding: 0px;
	margin: 0px;
}
.menu span.wrap,
.menu ul li a{
	overflow:visible;
	display: block;
	border-bottom: 1px #dddddd solid;
	padding: 10px 0px 10px 20px;
	margin: 0 0 0px 0;
	text-align: left;
	width:auto;
	height: auto;
	line-height: 2em;
	border-left: 0px;
	color: #000 !important;
	text-shadow: 0px 0px 0px #fff !important;
	font-size: 15px;
}
.menu a:hover{
	background-image: none;
	background-repeat: no-repeat;
	background-repeat: no-repeat;
	background-color: initial;
}
.menu ul li span.wrap:before,
.menu a:before {
	content: " ";
	border: 0px;
	height: 0px;
	background: #fff;
}
.menu ul li span.wrap:after,
.menu a:after{
	content: "＞";
	position: absolute;
	right: 20px;
	top: 10px;
	height: auto;
	background: #fff;
	opacity: 1;
	width: auto;
}
.menu .child {
	position: relative;
	width: auto;
	background: #eee;
	padding-bottom: 0px;
}
.menu .child a { background: #eee; color: #000; padding-left: 20px; font-weight: 300; }
.menu .child a:after { background: none; }
.menu li.has_child:hover .child { display: none; }

/* ------- メニュー部分 ------- */



/******************* SP menu ***************/
.menu-trigger,
.menu-trigger span {
	display: inline-block;
	transition: all .4s;
	box-sizing: border-box;
}
.menu-trigger {
	position: fixed;
	right: 0px;
	top: 0px;
	width: 50px;
	height: 44px;
	background: #060606;
	z-index: 100050;
}
.menu-trigger span {
	position: absolute;
	left: 5px;
	width: 40px;
	height: 3px;
	background-color: #fff;
}
.menu-trigger span:nth-of-type(1) {
	top: 10px;
}
.menu-trigger span:nth-of-type(2) {
	top: 20px;
}
.menu-trigger span:nth-of-type(3) {
	top: 30px;
}

.menu-trigger.active span:nth-of-type(1) {
	-webkit-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
	top: 20px;
}
.menu-trigger.active span:nth-of-type(2) {
	opacity: 0;
}

.menu-trigger.active span:nth-of-type(3) {
	-webkit-transform: rotate(-45deg);
	-ms-transform: rotate(-45deg);
	transform: rotate(-45deg);
	top: 20px;
}
/******************* SP menu ***************/


/**************************** form  ****************************/
.contactform th,
.contactform td { display: block; width: auto; padding: 10px 0px 10px 10px; }
.wpcf7-form textarea { width: 95%; }
.contactform .spw { width: auto; padding-right: 0px !important; }
.contactform div { margin-left: 0px !important; }
span.wpcf7-list-item { margin-left: 0px !important; }


/**************************** form  ****************************/

.gaiyou {
	margin:10px 0px 20px 0px;
	border: solid 0px #c99269;
	border-collapse:collapse;
	text-align: left;
	line-height: 1.5em;
	width: 100%;
}

.gaiyou th,
.gaiyou td {
	width: auto;
	display: block;
}

.gaiyou th {
	border-bottom: 0px;
}

.history {
	margin:10px 0px 20px 0px;
	border: solid 0px #c99269;
	border-collapse:collapse;
	text-align: left;
	line-height: 1.5em;
	width: 100%;
}
.history th,
.history td {
	width: auto;
	display: block;
}

.history th {
	border-bottom: 0px;
}

#toptel { display: none; }
#top-event ul.eventpickup li { width: 90%; margin: 0px auto 20px; }
#top-event .top-event-wrap .top-event-bg {
	background: #fff;
	padding: 20px 10px;
	margin-left: 1%;
	margin-right: 1%;
}
#top-event ul.eventpickup li span.img { height: auto; }
#top-concept .tconbloc { display: block; width: 90%; margin: 0px auto 20px; }
#top-concept .tconbloc .item01 {
	font-size: 25px;
	font-weight: 500;
	line-height: 1.6em;
}
#top-concept .tconbloc .item02 {
	font-size: 14px;
	line-height: 2em;
}
#top-product-wrap .section-title {
	text-align: center;
	font-size: 20px;
	letter-spacing: 0.01em;
	margin-bottom: 20px;
	font-weight: 500;
}
#top-product-wrap .product-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	width: 90%;
	margin: 0px auto;
}
#top-product-wrap .image-box {
	margin-bottom: 0px;
}
#top-product-wrap .btn-detail { height: 30px; font-size: 14px; width: 150px; }
#top-catalog .section-title {
	text-align: center;
	font-size: 16px;
	letter-spacing: 0.01em;
	margin-bottom: 20px;
	font-weight: 500;
}
#top-catalog-wrap ul { gap: 5px; }
#top-catalog-wrap ul li {
	min-width: 31%;
	max-width: 31%;	
}
#newstopics { display: block; width: 90%; margin: 0px auto 30px; min-width: auto; }
#top-company li {
	flex: 1 1 100%;
	position: relative;
	overflow: hidden;
	aspect-ratio: 22 / 9;
}
#top-company .en {
	display: block;
	font-size: 28px;
	letter-spacing: 0.1em;
	margin-bottom: 11px;
}
#top-company .jp {
	display: block;
	font-size: 17px;
	letter-spacing: 0.05em;
}
#top-company ul {
	display: flex;
	flex-wrap: wrap;
	list-style: none;
	padding: 0;
	margin: 0px auto;
	width: 90%;
	gap: 3px;
}
#newstopics .section-column { margin-bottom: 30px; }
.fbox01 { display: none; }
#top01 { margin-bottom: 30px; }
#top02 { margin-bottom: 30px; }
#top03 { margin-bottom: 30px; }
#top04 { margin-bottom: 30px; }
#top05 { margin-bottom: 30px; }
#top06 { margin-bottom: 30px; }
#top07 { margin-bottom: 30px; }

#top-work {
	background: url(/images/works-bg.png) no-repeat top center;
	padding: 20px 0px;
}
#top-work-wrap ul { gap: 0px; margin-bottom: 30px; }
.topttl { margin-bottom: 10px; }