@charset "UTF-8";
/*
Theme Name: ohirakogyo.com
Version: 1.0.0
*/

/****************************************
General Setting
*****************************************/
html {
	margin: 0px auto;
}


body {
	font-family: "Noto Sans Japanese", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", sans-serif;
	font-size: 16px;
	font-weight: 300;
	font-size: 16px;
	line-height: 1.7em;
	margin: 0px auto;
	padding: 0px;
	min-width: 1050px;
	overflow-x: hidden;
	color: #4b4b4b;
}

img {
	border-style:none;
	max-width: 100%;
	height: auto;
}

.sp {
	display: none;
}
.pc_br{
	display: inline-block;
}

.aligncenter { text-align: center; }
.alignleft {float: left; }
.alignright {float: right; }
.clearfix:after {
	display: block;
	clear: both;
	content: " ";
}

.wp-pagenavi{clear: both;}
.wp-pagenavi a, .wp-pagenavi span {text-decoration: none;border: 1px solid #BFBFBF;padding: 3px 5px;margin: 2px;}
.wp-pagenavi a:hover, .wp-pagenavi span.current {border-color: #000;}
.wp-pagenavi span.current {font-weight: bold;}

/****************************************

Typography

*****************************************/

h1, h2, h3, h4, h5, h6{
	font-weight: normal;
}

/****************************************
List

*****************************************/

ul,ol {
	margin: 0;
	padding: 0;
	list-style: none;
}

li { list-style: none; }


/****************************************

Link

*****************************************/

a {
	color: #4b4b4b;
	text-decoration: none;
	cursor: pointer;
}

a:hover {
	color: #912a2a;
}

a:hover img {
	opacity: 0.7;
}

p {
	margin-top: 0px;
}
/****************************************

Layout

*****************************************/
#maincon {
}

.container {
	margin-left: auto;
	margin-right: auto;
}

.wrapper {
	text-align: left;
	margin-left: auto;
	margin-right: auto;
	width: 1050px;
	position: relative;
}

.wrapper02 {
	text-align: left;
	margin-left: 8%;
	margin-right: 8%;
	position: relative;
}
.wrapper03 {
	text-align: left;
	margin-left: auto;
	margin-right: auto;
	width: 1290px;
	position: relative;
}

#header {
	top: 0px;
	display: block;
	margin-left: auto;
	margin-right: auto;
	z-index: 10;
	width: 100%;
}

#headerL.fixed #header { background: rgba(255, 255, 255, 1); position: fixed; }
#header .box01 { display: flex;  align-items: center; justify-content: space-between;}
#header .box0102 { display: flex;  align-items: center; justify-content: right;}
#toptel {
	margin-left: 3vw;
	display: flex;
	align-items: center;
	justify-content: right;
}
.headcontact {
	--bg-color: #912A2A;
	--hover-bg-color: #999999;
	--text-color: #ffffff;

	display: inline-block;
	background-color: var(--bg-color);
	color: var(--text-color);
	text-decoration: none;
	font-weight: 400;
	font-family: sans-serif;
	text-align: center;
	box-sizing: border-box;
	transition: background-color 0.3s ease;
	cursor: pointer;
	border: none;
	font-size: 20px;
	width: 9em;
	height: 86px;
	line-height: 86px;
}

.headcontact:hover,
.headcontact:focus {
	background-color: var(--hover-bg-color);
	outline: none;
	color: var(--text-color);
}

.headcontact:focus-visible {
	outline: 2px solid #333;
	outline-offset: 2px;
}
#main {
	margin-top: 0px;
	text-align: left;
	float: left;
	width: 690px;
}

#sidepage {
	float: right;
	width: 280px;
}
.boxtitle,
.widgettitle {
	border: 1px solid #333;
	padding: 10px;
	text-align: center;
	font-size: 20px;
}

#sidepage ul ul.children { padding-left: 0px;}
#sidepage ul ul.children li:before { content: "→";}
footer {
	background: #3E3E3E;
	min-width: 1050px;
	color: #fff;
}

#footer {
	text-align: left;
	padding: 30px 0px 0px 0px;
	margin: 0px auto 0px;
}

#footer02 {
	padding-top: 10px;
	padding-bottom: 10px;
}


#footer02 .fbox02 {
	float: left;
	width: 53%;
	font-size: 15px;
	line-height: 1.5em;
}


#footer02 .fbox02 h1 {
	line-height: 1em;
	font-size: 13px;
}

#footer02 .fbox01 {
	float: right;
	width:45%;
}
.fbox02 .fbox0201 { display: flex; margin: 0px 10px; color: #f7f7f7; gap: 20px; }
.fbox02 .fbox0201 .item01 { font-size: 12px; }
.fbox02 .fbox0201 .item02 { font-size: 32px; line-height: 1.5em; color: #fff; }

#footer_fixed {
	position: fixed;
	right:0;
	bottom: 0;
	padding-top: 10px;
	padding-bottom: 10px;
	z-index: 10;
}

#footer_fixed #ft_top {
	display: inline-block;
	text-align: center;
	vertical-align: top;
}
#footer_fixed #ft_top img { display :block; }

/****************************************

header

*****************************************/
/****************************************

Navigation

*****************************************/
#gnavi{
}

.fixed #gnavi {
	top: 0px;
	left: 0px;
}
.fixed .hnavi { display: none;}
.fixed #gnavi .logo { /*width: 250px;*/ }

#tlogo {
	max-width: 23%;
	display: inline-block;
	margin-left: 30px;
}
#tlogo a {
	display: block;
}
#tlogo img { display: block; }
h1.toph1 {
	position: absolute;
	top: 100px;
	left: 50px;
	z-index: 5;
	display: block;
	padding: 0px;
	margin: 0px;
	font-size: 15px;
}

/* ------- メニュー部分 ------- */
#gnavi {display: inline-block; }
.menu {
	margin-top:3px;
	margin-left: auto;
	padding: 0;
	width: 100%;
	height: auto;
	text-align: center;
}

.menu ul{
	list-style-type: none;
	margin: 0px 0;
	padding: 0px 0;
	display: table;
	width: 100%;
}
.menu li.sp { display: none; }
.menu li{
	display: table-cell;
	margin: 0;
	padding: 0 0px;
	vertical-align: middle;
	position: relative;
	text-align: center;
}

.menu span.wrap,
.menu a{
	text-align: center;
	margin: 0px 2em;
	position: relative;
	color: #000;
	font-size: 18px;
	display: block;
	line-height: 55px;
	letter-spacing: 1px;
	box-sizing: border-box;	
	font-weight: 500;	
}

.menu a:after{
	content: "";
	display: block;
	width: 100%;
	height: 3px;
	background: #912a2a;
	opacity: 0;
	transition: .5s;
}
.menu a:hover {
	color: #838383;
}

.menu a:hover:after {
	opacity: 1;
}
.menu ul:after {
	clear: both;
	display: block;
	content: "";
}


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


/* ------- フッターメニュー部分 ------- */
.menuf {
	font-size: 14px;
	padding: 0;
	text-align: left;
	color: #fff;
}

.menuf ul {
	vertical-align: top;
	list-style-type: none;
	margin: 0px 0px 0px 30px;
	padding: 0;
	display: inline-block;
}
.menuf li {
	line-height: 1.5em;
	text-align: left;
	padding: 0px 0px 0px;
	position:relative;
}

.menuf a {
	padding: 5px 10px 8px 0px;
	text-decoration:none;
	color: #fff;
	display: block;
}
.menuf a:hover {
	color: #fff;
}
.menuf a:before {
	content: "- ";
}

/* ------- フッターメニュー部分 ------- */


/* ------- サイド　コンテンツボックス------- */

.font12 { font-size: 12px; }
.font14 { font-size: 14px; }
.font16 { font-size: 16px; }
.font18 { font-size: 18px; }
.font20 { font-size: 20px; }
.font24 { font-size: 24px; }
.font28 { font-size: 28px; }
.font36 { font-size: 36px; }

/****************************************

margin

*****************************************/

.mt0 { 	margin-top: 0px; }
.mt5 { 	margin-top: 5px; }
.mr5 { margin-right: 5px; }
.ml5 { 	margin-left: 5px; }
.mb5 { margin-bottom: 5px; }
.mt10 { margin-top: 10px; }
.mr10 { margin-right: 10px; }
.ml10 { margin-left: 10px; }
.mb10 { margin-bottom: 10px; }
.mt20 { margin-top: 20px; }
.mr20 { margin-right: 20px; }
.ml20 { margin-left: 20px; }
.mb20 { margin-bottom: 20px; }
.mt30 { margin-top: 30px; }
.mr30 { margin-right: 30px; }
.ml30 { margin-left: 30px; }
.mb30 { margin-bottom: 30px; }
.mt40 { margin-top: 40px; }
.mr40 { margin-right: 40px; }
.ml40 { margin-left: 40px; }
.mb40 { margin-bottom: 40px; }
.mt50 { margin-top: 50px; }
.mr50 { margin-right: 50px; }
.mr60 { margin-right: 50px; }
.ml50 { margin-left: 50px; }
.ml60 { margin-left: 60px; }
.mb50 { margin-bottom: 50px; }
.mb60 { margin-bottom: 60px; }
.mb70 { margin-bottom: 70px; }
.mb80 { margin-bottom: 80px; }


/****************************************

padding

*****************************************/
.pt10 { padding-top: 10px; }
.pr10 { padding-right: 10px; }
.pl10 { padding-left: 10px; }
.pb10 { padding-bottom: 10px; }
.pt20 { padding-top: 20px; }
.pr20 { padding-right: 20px; }
.pl20 { padding-left: 20px; }
.pb20 { padding-bottom: 20px; }
.pt30 { padding-top: 30px; }
.pr30 { padding-right: 30px; }
.pl30 { padding-left: 30px; }
.pb30 { padding-bottom: 30px; }
.pt40 { padding-top: 40px; }
.pr40 { padding-right: 40px; }
.pl40 { padding-left: 40px; }
.pb40 { padding-bottom: 40px; }
.pt50 { padding-top: 50px; }
.pr50 { padding-right: 50px; }
.pl50 { padding-left: 50px; }
.pb50 { padding-bottom: 50px; }
.pb60 { padding-bottom: 60px; }
.pb70 { padding-bottom: 70px; }
.pb80 { padding-bottom: 80px; }


/****************************************

Breadcrumb

*****************************************/


.subHeader { padding: 60px 0px 60px; text-align: center; background-size: cover; }

.breadcrumbs {
	padding-left: 10px;
	margin-top: 15px;
	margin-bottom: 25px;
	color: #aaa;
	font-size: 13px;
	padding-top: 8px;
	padding-bottom: 8px;
	line-height: 1.2em;
}
.mB { 
	font-size: 38px;
    text-align: center;
    letter-spacing: 1.3px;
    line-height: 1.5em;
    color: #912a2a;
    font-weight: 500;
	}

/****************************************

Main

*****************************************/

.rightlink {
	text-align: right;
}

.rightlink a {
	font-size: 16px;
	box-shadow: 2px 2px 2px #eee;
	color: #fff;
	background: #555;
	padding: 10px 20px;
	margin: 10px 10px;
	display: inline-block;
}

.rightlink a:hover {
	box-shadow: 2px 2px 2px #999;
	background: #800;
}

.link {
	padding: 7px 20px 7px 15px;
	float: right;
}

.link a {
	color: #333;
	padding: 5px 30px 5px 20px;
	text-decoration: none;
}

.link a:hover {
	color: #ff0000;
}


/****************************************

index.php Main

*****************************************/

.thumbnail-box{
	float: left;
	width: 160px;
}

.thumbnail-box img{
	width: 160px;
	height: 160px;
}


/****************************************

Footer

*****************************************/

#copyright{
	text-align: center;
	padding: 10px 0 10px 0px;
	font-size: 100%;
	margin: 10px 0px 0px;
	font-size: 13px;
	border-top: 1px solid #ddd;
}

#copyright a { color: #000; }

/****************************************

Form

*****************************************/

select,
input[type="text"],
input[type="password"],
input[type="email"],
input[type="tel"],
input[type="search"],
textarea {
	font-family: "メイリオ",Meiryo, Verdana,Arial,"ヒラギノ角ゴPro W3","Hiragino Kaku Gothic Pro","ＭＳ Ｐゴシック";
	margin: 0;
	max-width: 100%;
	outline: none;
	border: 1px solid #ddd;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	border-radius: 2px;
	vertical-align: bottom;
	font-size: 14px;
	line-height: 2em;
	margin-bottom: 2px;
}

#comment-area input[type="text"],
#comment-area textarea{
	display: block;
}

textarea {
	overflow: auto;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
input[type="search"]:focus,
textarea:focus {
	border: 1px solid #ff69b4;
	background: #fff;
	-webkit-box-shadow: 0 0 3px rgba(255,105,180,1);
	-moz-box-shadow: 0 0 3px rgba(255,105,180,1);
	box-shadow:  0 0 3px rgba(255,105,180,1);
	color: #444;
}

textarea,
select,
input[type=text],input[type=tel],input[type=email]{
	font-size:15px;
}
span.wpcf7-list-item { display: block; margin-left: 0px !important; }
.anket01 span.wpcf7-list-item { width: 250px; }
.anket01 span.wpcf7-list-item:last-child { width: auto; margin-right: 10px; }
.anket02 span.wpcf7-list-item:nth-child(1) { width: 250px; }
.anket02 span.wpcf7-list-item:nth-child(2)  { width: 450px; }
.anket02 span.wpcf7-list-item:last-child { width: auto; margin-right: 10px; }

.checkbox-books span.wpcf7-list-item { display: block !important; margin-left: 0px !important; }
input[type=text],input[type=email],input[type=tel]{
	width:70%;
}

input[type=text]:focus,input[type=email]:focus,input[type=tel]:focus{
	border:solid 1px #20b2aa;
}

input[type=text], select,input[type=email],input[type=tel]{
	outline: none;
}

.contact_right textarea{
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	-o-border-radius: 5px;
	-ms-border-radius: 5px;
	border:#a9a9a9 1px solid;
	-moz-box-shadow: inset 0 0 5px rgba(0,0,0,0.2),0 0 2px rgba(0,0,0,0.3);
	-webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2),0 0 2px rgba(0,0,0,0.3);
	box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2),0 0 2px rgba(0,0,0,0.3);
	width:100%;
	padding:0 3px;
}

.contact_right textarea:focus{
	border:solid 1px #20b2aa;
}

.contact_right textarea {
	outline: none;
	width:100%;
}

input[type=button],
input[type=submit]{
	font-family: "メイリオ",Meiryo, Verdana,Arial,"ヒラギノ角ゴPro W3","Hiragino Kaku Gothic Pro","ＭＳ Ｐゴシック";
	background:#6BAC71;
	transition:all 0.3s;
	margin: 0px auto 0px;
	color:#fff;
	font-size: 24px;
	padding: 15px 50px;
	display: inline-block;
	cursor: pointer;
	border: 2px solid #6BAC71;
	border-radius: 10px;
	box-shadow: 2px 2px 2px #ddd;
}

.contact_form input[type=submit]{
	width:50%;
}

.contact_form input[type=text],.contact_form input[type=email]{
	width:100%;
	height:50px;
	font-size:1.5em;
}

.send input[type="submit"],
.back input[type="button"] {
	width: 80% !important;
}

.send {
	width: 49%;
	display: inline-block;
	float: right;
	text-align: left!important;
}

.back {
	float: left;
	text-align: right!important;
	width: 46%;
	display: inline-block;
}

.confirm {
	font-family: "メイリオ",Meiryo, Verdana,Arial,"ヒラギノ角ゴPro W3","Hiragino Kaku Gothic Pro","ＭＳ Ｐゴシック",sans-serif;
	text-align: center;
	margin: 0px 0px;
}


.wpcf7-form {
	font-family: "メイリオ",Meiryo, Verdana,Arial,"ヒラギノ角ゴPro W3","Hiragino Kaku Gothic Pro","ＭＳ Ｐゴシック",sans-serif;
	margin-bottom: 20px;
}

.wpcf7-form input[type=text],
.wpcf7-form input[type=email],
.wpcf7-form input[type=tel]
{ width: 300px; } /*名前、メール、題名*/
.wpcf7-form textarea{width: 500px;} /*本文*/
.wpcf7-form .wpcf7-submit{width: 200px; display: block; margin-left: auto; margin-right: auto; } /*送信ボタン*/

div.wpcf7 .wpcf7-submit:disabled {
	background: #aaa;
	border-color: #aaa;
	color: #ddd;
}

.wpcf7-form::after {
	clear: both;
	display: block;
	content: "";
}

.wpcf7-radio label {
	margin-right: 20px;
}
.contactform {
	border: solid 0px #c99269;
	border-collapse:collapse;
	text-align: left;
	line-height: 1.5em;
	width: 100%;
}

.contactform p { padding: 0px; margin-bottom: 2px; }

.contactform th { border: solid 1px #dddddd; background:#f6f6f6; text-align: left; padding:10px 10px; font-weight: 400; width: 15em;}
.contactform td { border: solid 1px #dddddd; padding: 10px 10px; background-color: #fff;}
.contactform .hissu { color: #fff; display: inline-block; background: #ee0000; padding: 1px 5px; float: right; font-size: 14px;}
.contactform .spw { vertical-align: text-bottom; display: inline-block; line-height: 2em; }
.contactform .shubetu span.wpcf7-list-item { display: block; }
.contactform td .item01 { display: inline-block; width: 6em; vertical-align: top; }
.contactform td .item02 { display: inline-block; vertical-align: top;}
.contactform td .item { padding: 10px 0px; border-bottom: 1px dotted #ddd; }
.contactform td .item:last-child { padding: 10px 0px; border-bottom: 0px dotted #ddd; }
.center {
	text-align: center;
}

#text-18 {
	font-family: "メイリオ",Meiryo, Verdana,Arial,"ヒラギノ角ゴPro W3","Hiragino Kaku Gothic Pro","ＭＳ Ｐゴシック";
	width: 100%;
	background: none;
	border: 0px;
}
.flexslider {
	margin-bottom: 0px!important;
}
/* TOP */
.morebottun {
	position: relative;
    display: inline-block;
    /* padding: 22px 80px 22px 20px; */
    padding: 1.7em 6.5em 1.7em 6.5em;
    text-align: center;
    text-decoration: none;
    /* transition: .3s; */
    overflow: hidden;
    font-size: 18px;
    color: #fff;
    background: url(/images/yaji-w.png) no-repeat right center;
    background-position-x: 80%;
    line-height: 1em;
    width: auto;
}
.morebottun:hover {
	color: #fff;
	background: url(/images/yaji-w.png) no-repeat right center;
	background-position-x: 75%;
}

.morebottun::before {
	position: absolute;
	top: 0;
	left: 0;
	z-index: -1;
	content: '';
	width: 120%;
	height: 100%;
	background: #912A2A;
	transform-origin: right top;
	transform: skewX(180deg) scale(0, 1);
	transition: transform .3s;
}
.morebottun:hover::before {
	transform-origin: left top;
	transform: skewX(180deg) scale(1, 1);
}
.morebottun::after{
	position: absolute;
	top: 0;
	left: 0;
	z-index: -2;
	content: '';
	width: 120%;
	height: 100%;
	background: #2B2B2B;
}
#top-work {
	background: url(/images/bg-2.jpg) no-repeat top center;
	padding: 50px 0px;
	background-size: cover;
}
#top-work ul { text-align: center; display: flex; justify-content: center; padding-top: 0px; margin-bottom: 50px; gap: 30px; }
#top-work ul li { float: none; display: inline-block; width: 31%; margin: 20px 1% 0px 0px; box-sizing: border-box; text-align: left; background: #fff;  position: relative; border: 1px solid #ddd; }
#top-work ul li:nth-child(4n + 4) {
	margin-right: 0px;
}
#top-work ul li .box1 { height: 235px; overflow: hidden; width: 100%; }
#top-work ul li img {
	width: 100%;
	height: 300px;
	object-fit: cover;
}
#top-work ul li h2 {
	font-size: 18px;
	padding: 7px 0px;
	margin: 0px;
	color: #2b2b2b;
	font-weight: 400;
}
#top-work ul li h2 a {
	padding: 0px 0px 0px 10px;
	display: block;
	color: #2b2b2b;
}
#top-work ul li span.label {
	color: #fff;
	font-size: 16px;
	background: #912a2a;
	line-height: 1.2em;
	font-weight: 300;
	padding: 5px 5px 5px 5px;
	margin: 8px 6px 0px 0px;
}
#top-work ul li div.more {
	display: block;
	text-align: right;
	font-size: 14px;
}
#top-work ul li div.txt { padding: 10px; }

#top-concept {
	background: url(/images/bg-1.jpg) no-repeat top center;
	padding: 70px 0px;
}

.top-concept-wrap {
	margin-left: 7%;
	display: flex;
	gap: 10px;
}
.top-concept-wrap img { display: block; }
.top-concept-wrap .txt { font-size: 20px; line-height: 2em; padding: 10px 30px 10px 0px; font-weight: 500; color: #000; }
.top-concept-wrap .box01 { max-width: 51%; }
.topttl {
	font-size: 9vw;
	color: #0088A2;
	margin: auto;
	display: inline-block;
	line-height: 1.5em;
	font-weight: 600;
}
.topttl02 {
	font-size: 3vw;
	color: #2b2b2b;
	margin: auto;
	display: inline-block;
	line-height: 1em;
	font-weight: 600;
	margin-bottom: 1em;
}
.topttl03 {
	font-size: 2vw;
	color: #2b2b2b;
	margin: auto;
	display: inline-block;
	line-height: 1em;
	font-weight: 600;
	margin-bottom: 1em;
}

.top-reason-wrap {
	display: flex;
	gap: 50px;
	direction: rtl;
	padding: 50px 0px;
	align-items: center;
}
.top-reason-wrap .box01 { max-width: 45%; direction: ltr; }
#top-reason ul li {
	font-size: 2vw;
	color: #0088A2;
	line-height: 1.8em;
	font-weight: 600;	
}
#top-reason ul li:before {
	content: "■";
	padding-right: 10px;
	font-size: 1.5vw;	
}
#top-reason .txt {
	font-size: 18px;
	line-height: 1.6em;
}
#top-company {
	margin: 0 auto 50px;
	padding: 40px 10px;
	box-sizing: border-box;
}

#top-company .mb30 {
	margin-bottom: 30px;
}

#top-company .aligncenter {
	text-align: center;
}

#top-company .ttl01 {
	font-size: 88px;
	font-weight: 600;
	color: #0088A2;
	letter-spacing: 0.05em;
	line-height: 1.2;
}

#top-company ul.aligncenter {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 24px;
	justify-content: space-evenly;	
}

#top-company ul.aligncenter li {
	width: 100%;
	box-sizing: border-box;
}

#top-company ul.aligncenter li a {
	display: flex;
	flex-direction: column;
	text-decoration: none;
	color: #000000;
	border: 3px solid #008CA7;
	background-color: #ffffff;
	text-align: left;
	transition: opacity 0.2s ease;
}

#top-company ul.aligncenter li a:hover {
	opacity: 0.85;
}

#top-company .card-label {
	background-color: #008CA7;
	color: #ffffff;
	padding: 10px 20px;
	font-size: 28px;
	font-weight: bold;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
}

/* カード内 右側（コンテンツエリア） */
#top-company .card-body {
	padding: 10px 25px;
	flex-grow: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	position: relative;
}

/* 会社情報コンテンツの詳細 */
#top-company .company-name {
	font-size: 36px;
	font-weight: 500;
	margin-bottom: 15px;
	line-height: 1.2;
}

#top-company .company-post {
	font-size: 13px;
	font-weight: bold;
	margin-bottom: 0px;
}

#top-company .company-address {
	font-size: 16px;
	margin-bottom: 10px;
}

#top-company .company-tel {
	font-size: 18px;
	font-weight: 500;
	margin-bottom: 5px;
}

#top-company .company-tel span {
	font-size: 28px;
	font-weight: 500;
	margin-left: 8px;
}

#top-company .company-time {
	font-size: 14px;
}

#top-company .message-text {
	font-size: 24px;
	font-weight: 500;
	line-height: 1.8;
	margin-bottom: 20px;
}

#top-company .message-footer {
	display: flex;
	justify-content: flex-end;
	align-items: flex-end;
	margin-top: auto;
	gap: 15px;
}

#top-company .president-name {
	font-size: 16px;
	font-weight: 400;
	white-space: nowrap;
	margin-bottom: 10px;
}

#top-company .logo-thumb {
	width: 115px;
	height: 115px;
	border-radius: 50%;
	background-color: #bd4358; /* 画像がない場合のダミー色 */
	background-image: url('/images/logo-s.png'); /* 実際の画像パスに変えてください */
	background-size: cover;
	background-position: center;
	flex-shrink: 0;
}

/* --------------------------------------------------
* PCレイアウト（ブレイクポイント: 992px以上）
* -------------------------------------------------- */
@media (min-width: 992px) {
	#top-company ul.aligncenter {
		flex-direction: row;
		gap: 30px;
	}

	#top-company ul.aligncenter li {
		width: 45%;
	}

	#top-company ul.aligncenter li a {
		flex-direction: row;
		height: 100%;
		min-height: 190px;
	}

	#top-company .card-label {
		width: 33%;
		max-width: 150px;
		padding: 20px;
		writing-mode: vertical-rl; /* 縦書き（必要に応じて）*/
		transform: rotate(180deg); /* 縦書きの向き調整 */
		text-orientation: upright;
	}

	/* 縦書きにしない場合のシンプルな横書き横並び用（デザイン通りにする場合） */
	#top-company .card-label {
		writing-mode: horizontal-tb;
		transform: none;
		width: 35%;
		max-width: 180px;
		font-size: 40px;
		padding: 10px;
	}

	#top-company .card-body {
		width: 64%;
		padding: 15px 30px 10px;
		justify-content: flex-start;
	}

	#top-company .message-footer {
		position: absolute;
		right: 20px;
		bottom: 15px;
	}
}
/* --------------------------------------------------
* #top-contact を起点とするスタイル定義
* -------------------------------------------------- */
#top-contact {
	background-image: url('/images/bg-3.png');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	color: #ffffff;
	text-align: center;
	padding: 60px 20px;
	box-sizing: border-box;
}

#top-contact .contact-inner {
	max-width: 1200px;
	margin: 0 auto;
}

/* メインタイトル "CONTACT" */
#top-contact .contact-ttl {
	font-size: 42px;
	font-weight: 700;
	letter-spacing: 0.05em;
	margin: 0 0 8px 0;
	line-height: 1.2;
}

/* サブタイトル "ご相談・お問い合わせ"（小） */
#top-contact .contact-sub {
	font-size: 13px;
	font-weight: bold;
	letter-spacing: 0.1em;
	margin: 0 0 35px 0;
}

/* メインリード "まずはお気軽にお問い合わせください。" */
#top-contact .contact-lead {
	font-size: 20px;
	font-weight: bold;
	letter-spacing: 0.05em;
	margin: 0 0 35px 0;
	line-height: 1.5;
}

/* ボタンラッパー */
#top-contact .contact-btn-wrap {
	display: inline-block;
	width: 100%;
	max-width: 320px;
}

/* お問い合わせボタン */
#top-contact .contact-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: #2b2b2b;
	color: #ffffff;
	text-decoration: none;
	font-size: 14px;
	font-weight: bold;
	letter-spacing: 0.1em;
	padding: 16px 20px;
	box-sizing: border-box;
	position: relative;
	transition: opacity 0.3s ease;
}

#top-contact .contact-btn:hover {
	opacity: 0.85;
}

/* ボタン内の右矢印アイコン（▶） */
#top-contact .contact-btn::after {
	content: "";
	display: block;
	position: absolute;
	right: 40px;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 10px 0 10px 14px;
	border-color: transparent transparent transparent #ffffff;
}

/* --------------------------------------------------
* PCレイアウト（ブレイクポイント: 768px以上）
* -------------------------------------------------- */
@media (min-width: 768px) {
	#top-contact {
		padding: 85px 20px;
	}

	#top-contact .contact-ttl {
		font-size: 88px;
	}

	#top-contact .contact-sub {
		font-size: 18px;
		margin-bottom: 45px;
	}

	#top-contact .contact-lead {
		font-size: 42px;
		margin-bottom: 40px;
	}

	#top-contact .contact-btn-wrap {
		max-width: 350px;
	}

	#top-contact .contact-btn {
		font-size: 18px;
		padding: 20px 20px;
	}
}
/* TOP */


/**下層一覧 */
#archiveWorks li {
	position: relative;
}

#archiveWorks li .box2 .title { font-size: 18px; }
#archiveWorks li .box2 .more { text-align: right; padding: 20px 20px; }

#archiveWorks li .box1 {
	float: left;
	margin-right: 20px;
	width: 350px;
}
#archiveWorks li .box1 img {
	width: 100%;
}

#archiveWorks li .box2 {
	width: 600px;
	float: right;
}

#archiveWorks li table {
	width:98%;
	margin:10px 0px 20px 0px;
	border-collapse:collapse;
}

#archiveWorks li table th {
	background: #fefefe;
	width: 8em;
	padding: 5px 10px;
	border:1px #ddd solid ;
	font-weight: 400;
}
#archiveWorks li table td {
	background: #fff;
	padding: 5px 10px;
	border:1px #ddd solid ;
}

#archive-work-list { display: flex; flex-wrap: wrap; }
#archive-work-list li {
	display: inline-block;
	width: 30%;
	position: relative;
	vertical-align: top;
	margin-right: 1%;
	border: 1px solid  #c3c4c7;
	padding: 10px 1%;
	font-size: 16px;
}

#archive-work-list li:nth-child(3n + 3) {
	margin-right: 0;
}


#archive-work-list li .box2 { padding: 0px 5px; }
#archive-work-list li .title { font-size: 18px; padding: 0px; margin: 0px 0px 10px; font-weight: 400;}
#archive-work-list li .box2 .more { 
	text-align: right;
    padding: 0px 20px 0px 0px;
    margin: 0px;
    font-weight: 300;
	font-size: 13px;
    background: url(/wp-content/uploads/yaij-b.png) no-repeat right center;
    line-height: 1em; 
}
#archive-work-list li .box1 img {
	width: 100%;
	height: 204px;
	object-fit: cover;
	font-family: 'object-fit: cover;';
}

.worktags { margin-bottom: 5px; display: block; }
.worktags li { display: inline-block; }

.worktags li a {
	display: block;
    padding: 4px 10px;
    margin: 10px 10px 10px 0px;
    text-decoration: none !important;
    width: autp;
    text-align: center;
    font-size: 15px;
    color: #333;
    border: 1px solid #912a2a;
    background: #fff;
}

.worktags li.active a { 
	color: #fff;
	background: #912a2a; 
}

.worktags li a:hover { background: #912a2a; color: #fff; }
.tags { font-size: 14px; color: #555; }
.tags a { 
	display: inline-block;
    margin-right: 5px;
    border-radius: 5px;
    color: #912a2a;
    line-height: 1em;
    padding: 5px;
}

.photos {
	margin-top: 20px;
}

.photos:after {
	clear: both;
	content: "";
	display: block;
}

.photos li:after {
	clear: both;
	content: "";
	display: block;
	margin-bottom: 20px;
}

.photos .part span {
	display: inline-block;
    margin-top: 10px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    line-height: 1em;
    border-bottom: 2px solid #0088A2;
    font-size: 20px;
    font-weight: 450;
    color: #0088A2;
}

.photos li .halfright,
.photos li .halfleft { max-width: 49%; vertical-align: top; display: inline-block; }
.photos li .halfleft { padding-right: 2%; }
.photos li img.halfright { float: right; }

.photos li img.halfleft.before { width: 300px;}
.photos li img.beforeafter-yaji { width: 100px; padding-left: 30px; margin-top: 100px; }

.photos li .table {
	display: table;
	vertical-align: top;
	width: 100%;
	margin-bottom: 10px;
}
.photos li .alignleft { margin-right: 1% }
.photos li .alignright { margin-left: 1%; }


.photos .workdimg td:first-child {
	padding-right: 1.5%;
	width: 48.5%;
	vertical-align: top;
}

.photos .workdimg td:last-child {
	padding-left: 1.5%;
	width: 48.5%;
	vertical-align: top;
}

.midashi-d {
	position: relative;
    margin-top: 2.5em;
    margin-bottom: .5em;
    padding-bottom: 10px;
    font-weight: 500;
    font-size: 1.5em;
    border-bottom: 2px solid #912a2a;
    font-size: 26px;
    color: #912a2a;
}

.midashi-d:before {
	color: #6b6b6b;
	padding-right: 8px;
	font-size: 18px;
}

.mBttl{
	text-align: center;
    font-size: 1.8em;
    line-height: 1.8em;
    color: #000;
    letter-spacing: 1px;
    margin-top: 2em;
    margin-bottom: 1em;
}

.mBttl:after {
	position: absolute;
	content: "";
	display: block;
	width: 10em;
	height: 3px;
	left: 35%;
}

.bukendata { width: 600px; margin-left: 50px; }

.bukendata dl {
	border-bottom: 1px solid #eee;
	display: table;
	width: 100%;
	padding-bottom: 5px;
}

.bukendata dl:first-child {
	padding-top: 5px;
	border-top: 1px solid #eee;
}

.bukendata dl dd,
.bukendata dl dt {
	float: left;
	padding: 5px 10px;
}

.bukendata dl dt {
	font-weight: 500;
	width: 7em;
	background: #fefefe;
}

.bukendata dl dd {
	max-width: 750px;
	width: auto;
	margin-left: 10px;
	border-left: 2px solid #000;
	padding-left: 60px;
}

img.imageMain {
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 10px;
	max-height: 700px;
}



.eventchirasi img { height: auto; width: 45%; margin: 10px 2%;}
.eventchirasi { text-align: center; }



.kanren .list li {
	float: left;
	width: 45%;
	height: 140px;
	margin-right: 5%;
	margin-bottom: 20px;
}

.kanren .list li img {
	border: 1px solid #eee;
	max-height: 140px;
	width: 140px;
	float: left;
	margin-right: 20px;
}

.kanren .list li h3{
	font-size: 15px;
	text-align: left;
	margin: 0px 0px 20px 20px;
	font-weight: 400;
	line-height: 1.6em;
}
.kanren .list li h3 a {
	display: -webkit-box;
	text-overflow: ellipsis;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 4;
	height: 6em;
	line-height: 1.5em;
	overflow: hidden;
}
.catchcopy {
	font-size: 2em;
	line-height: 1.6em;
	margin-bottom: 20px;
	color: #000;
}

.conmidashi{
	clear: both;
	font-size: 26px;
	color: #000;
	background-color: #eee;
	padding: 15px 20px 8px;
	margin-bottom: 20px;
	letter-spacing: 0.1em;
}

.conmidashi:after {
	content: "";
	display: block;
	/* width: 100px; */
	height: 1.5px;
	background: #000;
	margin: 10px 0 5px;}


.komidashi {
	margin-bottom: 10px;
	font-size: 1.2rem;
	font-weight: 500;
	letter-spacing: 0.1em;
	padding: 0px 10px;
}

.komidashi span:before {
	content: "";
	display: inline-block;
	width: 8px;
	height: 8px;
	background: #000;
	margin-right: 12px;
	margin-bottom: 3px;
}

.message {
	line-height: 32px;
	font-size: 1.1rem;
}

.address1 {
	font-size: 24px;
	margin-bottom: 10px;
}

.address2 {
	font-size: 18px;
	margin-bottom: 20px;
}

.flow-style01{
	padding: 40px;
	background-color: #f2f2f2;
	border-radius: 10px;
	margin-bottom: 30px;
}
.flow-style01 *:first-child{
	margin-top: 0;
}
.flow-style01 *:last-child{
	margin-bottom: 0;
}

.flow-style01 hr{
	margin: 10px 0;
}


.flmidashi{
	font-size: 1.5rem;
	line-height: 1.5em;
	margin-bottom: 20px;
	font-weight: bold;
}

.flmidashi:after {
	content: "";
	display: block;
	/* width: 100px; */
	height: 2px;
	background: #222;
	margin: 10px 0 20px;
}

.flowyaji {
	background: url(images/flow-yaji.pn) no-repeat center center;
}

#staffList { display: flex; flex-wrap: wrap; }
#staffList li { display: inline-block; width: 48%; background: #eee; border-bottom: 35px solid #fff; margin-right: 7px; vertical-align: top; }
#staffList li:hover { background: #aaa; }
#staffList li a { text-decoration: none; color: #000; display: inline-block; width: 100%; height: 100%; }
#staffList li img { float: left; margin-right: 10px; width: ; }
#staffList li p { line-height: 1.5em; padding: 0px; margin: 0px 0px; }
#staffList li p.staffp1 { color: #707070; font-size: 18px; margin-bottom: 10px; padding-top: 10px; }
#staffList li p.staffp2 { color: #707070; font-size: 28px; font-family: "Yu Mincho", "YuMincho", serif; font-weight: 500; }
#staffList li p.staffp3 { color: #707070; font-size: 15px; letter-spacing: 4px; }


#staffDedail .box1 { width: 300px; display: inline-block; margin-right: 50px; }
#staffDedail .box2 { width: 690px; display: inline-block; vertical-align: top; }

#staffDedail .en_name {
	color: #222;
	font-size: 15px;
	letter-spacing: 4px;
	padding-left: 20px;
}

#staffDedail .position {
	color: #707070;
	font-size: 18px;
	display: block;
	padding-bottom: 10px;
}
#staffDedail .staffProfile { padding-top: 10px; width: 100%; }
#staffDedail .staffProfile tr { vertical-align: top; }
#staffDedail .staffProfile tr:first-child th,
#staffDedail .staffProfile tr:first-child td {
	border-top: 1px solid #ddd;
}

#staffDedail .staffProfile td,
#staffDedail .staffProfile th { font-weight: normal;  border-bottom: 1px solid #ddd; padding: 10px 10px;  }
#staffDedail .staffProfile th { border-right: 1px solid #ddd; padding-right: 20px; width: 15em; font-weight: 500; }
#staffDedail .staffProfile td { padding-left: 20px; }
#recoStaff li { display: inline-block; vertical-align: top; width: 19.4%; }
#recoStaff li a { text-decoration: none; color: #000; }
#recoStaff li p { margin: 5px; text-align: center; }
#recoStaff li p.staffp2,
#recoStaff li p.staffp1 { color: #999; }


.event_list { display: flex; flex-wrap: wrap; }
.event_list li { display: flex; align-items: flex-start; width: 31.8%; margin-bottom: 30px; position: relative; box-sizing: content-box; background: #F5F5F5;  }
.event_list li:nth-child(3n + 2) { border-left: 0px solid #ddd; border-right: 0px solid #ddd; padding: 0px 1% 0px 1%; margin-left: 1.3%; margin-right: 1.3%; }
.event_list li:last-child { border-right: 0px!important; }
.event_list li h2 { font-size: 16px; margin: 0px; padding: 0px 5px 0px; text-align: left; font-weight: 300; color: #000;  }
.event_list li .txt {
	display: block;
	padding: 10px;
	color: #696F79;
	font-size: 14px;
	line-height: 1.5;
	font-weight: 400;
	font-family: "メイリオ","Hiragino Kaku Gothic Pro",Meiryo,"ヒラギノ角ゴ Pro W3","MS PGothic","MS UI Gothic",Helvetica,Arial,sans-serif;
	position: relative;
}
.event_list li a { text-decoration: none; width: 100%; display: block; }
.event_list li .more {
	text-align: right;
	width: 6em;
	margin-left: auto;
	background: #fff;
	line-height: 1em;
	padding: 5px 10px;
	border-radius: 5px;

	box-shadow: 2px 2px 2px #aaa;
}
.event_list li .more:hover {
	background: #eee;
	box-shadow: 2px 2px 2px #999;
}

.event_list li span.img { display: block; width: 100%; overflow: hidden; text-align: center; }

.event_list li span.img img {
	width: 100%;
	height: 240px;
	object-fit: cover;
	font-family: 'object-fit: cover;'; }

.event_list .is_new {
	display:inline-block;
	background:#dc143c;
	color:#fff;
	padding:2px 10px;
	margin-right:10px;
	border-radius:5px;
	font-size:13px;

}

.event_list .is_close {
	display:inline-block;
	background:#000;
	color:#fff;
	padding:2px 10px;
	margin-right:10px;
	border-radius:5px;
	font-size:13px;

}
.event_list table th,
.event_list table td {
	vertical-align: top;
	padding-bottom: 10px;
}
.event_list table th { width: 4em;}

.event_catch {
	font-size: 24px;
	text-align: center;
	line-height: 1.5em;
	padding: 20px 10px;
	margin: 10px 0px 30px;
	color: #442f13;
	background-color: #b8e1a7;
}

.midashievent {
	margin-bottom: 15px;
	font-weight: 400;
	color: #000;
	display: inline-block;
	font-size: 1.2rem;
	padding-top: 15px;
	line-height: 2.1em;
	margin: 0 auto;
}

.midashievent:after {
	content: "";
	display: block;
	height: 1.8px;
	background: #9dc28d;
	width: 100%;
	-webkit-transition: all 1s ease;
	-moz-transition: all 1s ease;
	-ms-transition: all 1s ease;
	-o-transition: all 1s ease;
	transition: all 1s ease;
	transform: translate3d(0, 0, 0);
	backface-visibility: hidden;
	position: relative;
	transform-origin: left;
	margin-bottom: 10px;
}


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

.eventgaiyou table.tab1 { table-layout:auto; background:#f6f6f6; }
.eventgaiyou th { border: solid 1px #dddddd; background:#f6f6f6; text-align: left; padding:10px 10px; font-weight: normal; width: 12em;}
.eventgaiyou td { border: solid 1px #dddddd; padding:10px 10px;}


.right_exit {
	border: 1px solid #333;
	margin: 20px 0px 0px 55%;
	padding: 10px;
	text-align: right;
	font-size: 14px;
}

.right_exit::after {
	clear: both;
	content: "";
	display: block;
}

.right_exit .link {
	padding: 0px 0px;
	margin-bottom: 0px;
	clear: both;
	padding-left: 30px;
	display: block;
}

.right_exit .link a {
	display: block;
	text-decoration: none !important;
	color: #000;
}

.right_exit .link a:after {
	content: "→";
	padding-left: 10px;
	color: #333;
}

.conbloc p { margin-left: 30px; margin-right: 30px; }

.kizi {
	padding-bottom: 70px;
}


/* 下層一覧 */

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

.gaiyou table.tab1 { table-layout:auto; background:#f8f8f8; }
.gaiyou th {
	text-align: center;
    padding: 20px 20px;
	font-size: 20px;
    width: 14em;
    font-weight: 500;
    color: #912a2a;
    background: #fafafa;
    border-bottom: 1px solid #e5e5e5;
    border-top: 1px solid #e5e5e5;
}
.gaiyou td { border: solid 1px #dddddd; padding:10px 10px;}

.midashi {
	clear: both;
    font-size: 26px;
    font-weight: 500;
    color: #2b2b2b;
}

.midashi:after {
	content: "";
	content: "";
    display: block;
    height: 2px;
    background: #912a2a;
    margin: 15px 0 20px;
}

#access,
#after { padding-top: 100px; margin-top: -100px; }
.bloglist { }
.bloglist img.blog-thumbnail { width: 200px; float:left; margin-right: 30px; }

#archive-plan-list { display: flex; flex-wrap: wrap; }
#archive-plan-list li {
	display: inline-block;
	width: 30%;
	position: relative;
	vertical-align: top;
	margin-right: 1%;
	box-shadow: 2px 2px 2px #ddd;
	border: 1px solid #eee;
	padding: 10px 1%;
	font-size: 16px;
}

#archive-plan-list li:nth-child(3n + 3) {
	margin-right: 0;
}


#archive-plan-list li .box2 { padding: 0px 5px; }
#archive-plan-list li .title { font-size: 18px; padding: 0px; margin: 0px 0px 10px; font-weight: 400;}
#archive-plan-list li .box2 .more { text-align: right; padding: 10px 5px 0px 0px; margin: 0px; font-size: 14px; }
#archive-plan-list li .box1 img {
	width: 100%;
	height: 204px;
	object-fit: cover;
	font-family: 'object-fit: cover;';
}


/* テキスト色 */

.red {
	color: #ff0000;
}
.blue {
	color: #0088A2;
}

/* テキスト色 */

#prevANDnext {
	border-top:2px double #f0dfd5;
	margin:25px 0 10px 0;
	padding:10px ;
	font-size:14px;
}

#prevANDnext .prev {
	float:  left;
	width:45%;
}

#prevANDnext .next {
	text-align: right;
	float:  right   ;
	width:45%;
}
.bx-wrapper .bx-controls-direction a { z-index: 1!important; }

.blog01 {
	font-size: 1.4em;
	line-height: 1.4em;
	border-bottom: 1px dashed #505050;
	padding: 10px 25px 10px;
	border-left: 7px solid #912a2a;
	margin-bottom: 20px;
}

.blog02 {
	font-size: 1.25em;
	line-height: 1.4em;
	font-weight: bold;
}

.blog03:before{
	content:url( /wp-content/uploads/icon08.png);
	display:inline-block;
	margin-right:10px;
	position:relative;
	top:10px;
	left:0;
}

.blog04 {
	background-color: #cddc3961;
	padding: 0px 10px;
}

/* css追加をここの上に記載 */

@media (max-width: 1550px) {
	.menu { width: auto; }
	.menu li {margin: 0px 5px 0px 0px; }
	.menu a { font-size: 15px; }
	#tlogo a { left: 1px; }
}

@media (max-width: 1450px) {
	.menu a { font-size: 13px; }
}
@media (max-width: 1350px) {
	.menu a { font-size: 12px; }
}

@media (max-width: 1300px) {
	body {min-width: 1300px;}
	.menu a { font-size: 12px; }
}

/****************************************************
* 端末ごとの調整で、PCのcssはここ以下に追加しない
*****************************************************/