@charset "UTF-8";
/*
Theme Name: opthouse.net
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;
	line-height: 1.8em;	
	margin: 0px auto;
	padding: 0px;
	min-width: 1050px;
	overflow-x: hidden;
	color: #333333;
}

.mincho {
	font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", serif;
}

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: #4594CF;
}

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: auto;
	margin-right: auto;
	width: 1200px;
	position: relative;
}
.wrapper04 {
	text-align: left;
	margin-left: 6%;
	margin-right: 6%;
	position: relative;
}
.wrapper03 {
	text-align: left;
	margin-left: auto;
	margin-right: auto;
	max-width: 1400px;
	position: relative;
}

.bg-content { 
	background: #fff; 
	position: sticky;
}

#header {
	top: 0px;
	display: flex;
	margin-left: auto;
	margin-right: auto;
	z-index: 10;
	width: 100%;
	min-width: 1200px;	
	justify-content: space-between;
	align-items: center;
	position: relative;
	padding-top: 0px;

}

#header #tlogo {
	float: left;
	margin: 0px 0px 0px 2%;
	padding: 10px 0px 0px;
}
header #headerL.fixed {
	position:  fixed;
	top: 0;
	left: 0;
	z-index: 1000;
	width: 100%;
}
#toptel {
	margin-left: 3vw;
	margin-right: 15px;
	display: flex;
	align-items: center;
	justify-content: space-around;
}
body.home #header {
	top: 0px;
	display: flex;
	margin-left: auto;
	margin-right: auto;
	z-index: 10;
	width: 100%;
	justify-content: space-between;
	align-items: center;
}

body.home header #headerL.fixed {
	position:  fixed;
	top: 0;
	left: 0;
	z-index: 1000;
	width: 100%;
	background-color: rgba(255,255,255,0.8);
	box-shadow: 0 3px 5px -1px rgb(0,0,0,6%);
}

#headerL.fixed #header { background: rgba(255, 255, 255, 1); align-items: start; }
#header .headwrap {
	display: flex;
	justify-content: right;
	align-items: center;
}
#headerL.fixed #header .headwrap { background: rgba(255, 255, 255, 0.8); }
.headcontact {
	--bg-color: #55a500;
	--hover-bg-color: #999999;
	--text-color: #ffffff;

	display: inline-block;
	background-color: var(--bg-color);
	color: var(--text-color);
	text-decoration: none;
	font-weight: 300;
	font-family: sans-serif;
	text-align: center;
	padding: 10px 15px;
	box-sizing: border-box;
	transition: background-color 0.3s ease;
	cursor: pointer;
	border: none;
}

.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;
}

@media (max-width: 480px) {
	.headcontact {
		width: 100%;
		min-width: auto;
		padding: 14px 20px;
	}
}
.headtel {
	display: inline-flex;
	align-items: baseline;
	gap: 6px;
	color: #222222;
	text-decoration: none;
	line-height: 1;
	transition: opacity 0.2s;
	white-space: nowrap;
	font-family: sans-serif;
}

.headtel:hover {
	opacity: 0.7;
}
#main {
	margin-top: 0px;
	text-align: left;
	float: left;
	width: 690px;
}

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

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

#footer {
	text-align: left;
	padding: 20px 0px 0px 0px;
	margin: 0px auto 0px;
	border-top: 1px solid #eee;
}
#footer02 {
	display: flex;
	justify-content: space-between;
}
#footer02 .addr {
	font-size: 13px;
	padding-left: 10px;
	margin-bottom: 0px;
}
#flogo img {
	max-width: 330px;
	display: block;
	margin: auto;
}

.fbox02 {
	width: 350px;
	padding: 30px 0px;
	color: #333333;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
}

#footer02 .fbox02 h1 { font-size: 13px; font-weight: 400; margin: 0px; padding: 0px 0px 0px 12px; }
#footer02 .fsns-list { display: flex; margin: 30px 0px; align-items: center; gap: 10px; }
#footer02 .fsns-list img { height: 30px; }
#footer02 .fsns-list .youtube-link img { height: 40px; }

.f-banners { display: flex; gap: 5px; align-items: center; }
.f-banners img { max-height: 40px; width: auto; }

/* --- 右側：ナビゲーション (水色背景) --- */
.fbox01 {
	padding: 30px 0 0px 40px;
	box-sizing: border-box;
}

.menuf {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 40px;
}

.menuf ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.menuf ul li {
	margin-bottom: 2px;
	font-size: 14px;
	line-height: 1.6em;
}

.menuf a {
	color: #333;
	text-decoration: none;
	transition: opacity 0.3s;
}

.menuf a:hover { opacity: 0.7; }


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

header

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

Navigation

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

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

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

/* ------- メニュー部分 ------- */
.menu {
	margin-left: auto;
	padding: 10px 0px 0px;
	height: auto;
	float: right;
}

.menu ul{
	list-style-type: none;
	margin: 0px 0;
	padding: 0px 0;
	display: flex;
}

.menu li{
	display: inline-block;
	margin: 0;
	padding: 0 1px 0px;
	vertical-align: middle;
	position: relative;
	text-align: center;
}

.menu span.wrap,
.menu a{
	text-align: center;
	padding: 10px 0.8vw;
	position: relative;
	color: #000;
	font-size: 16px;
	display: block;
	box-sizing: border-box;	
	position: relative;
	cursor: pointer;
}

.menu span.wrap.menu-open {
	border-bottom: 1px solid #003366;
}
.menu span.wrap:hover ,
.menu a:hover {
	color: #043991;
}

.menu a:hover:after {
	opacity: 1;
}

.menu li.has_child:hover .child {	
	display: block;
}

.menu .child {
	display: none;
	position: absolute;
	z-index: 1001;
	width: 230px;
	height: auto;
	background: rgba(255,255,255,0.9);
	margin-bottom: 0px;
}

.menu .child li {
	padding: 0;
	border-bottom: 1px #ddd solid;
	display: block;
	margin: 0px;
}


.menu .child a {
	display: block;
	width: 100%;
	height: auto;
	padding: 12px 10px;
	color:#333;
	text-indent: 0em;
	background-size: 11px;
	position: relative;
	overflow: hidden;
	box-sizing:border-box;
	font-size: 14px;
	line-height: 1.5em;
	margin: 0px 0px; 
	text-align: left;
}

.menu .child a:hover {
	background: #003366;
	color: #fff;
}
.menu .child a:after {
	content: "→";
	position: absolute;
	bottom: 10px;
	right: 10px;
}

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


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

.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: 30px 0px 30px;
	text-align: center;
	background: #F4F9F9;
	color: #484B4F !important;
}

.breadcrumbs {
	margin-top: 15px;
	margin-bottom: 25px;
	color: #aaa;
	font-size: 12px;
	padding-top: 8px;
	padding-bottom: 8px;
	line-height: 1.2em;
}
.breadcrumbs a {
	color: #999;	
}
.mB {
	font-size: 38px;
	margin: 0px;
	padding: 25px 0px 20px;
	text-align: center;
	line-height: 1.5em;
	font-weight: 500;
}

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

Main

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

.rightlink {
	text-align: right;
}

.rightlink a {
	font-size: 14px;
	color: #fff;
	background: #000;
	padding: 8px 20px;
	margin: 10px 10px;
	display: inline-block;
	border-radius: 5px;
}

.rightlink a:hover {
	background: #00A0E6;
}

.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

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

.bg-copyright {
	background: #00396B;
}

#copyright{
	text-align: center;
	padding: 10px 0 10px 0px;
	font-size: 100%;
	margin: 0px 0px 0px;
	font-size: 13px;
	color: #fff;
}

#copyright a { color: #000; }

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

Form

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

select,
input[type="date"],
input[type="text"],
input[type="password"],
input[type="email"],
input[type="tel"],
input[type="search"],
textarea {
	font-family: "Noto Sans Japanese", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", sans-serif;
	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: 15px;
	line-height: 2em;
	margin-bottom: 2px;
	font-weight: 300;
}
select {
	height: 2.5em; /* 必要に応じて調整 */
	padding: 5px;
}
#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 { margin-left: 0px !important; }
.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: "Noto Sans Japanese", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", sans-serif;
	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;
	font-weight: 300;
}

.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: "Noto Sans Japanese", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", sans-serif;
	font-weight: 500;
	text-align: center;
	margin: 0px 0px;
}


.wpcf7-form {
	font-family: "Noto Sans Japanese", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", sans-serif;
	font-weight: 300;
	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%;
}

.radiolist span.wpcf7-list-item { display: block; }

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

.contactform th { border: solid 1px #dddddd; background:#f6f6f6; text-align: left; padding:10px 10px; font-weight: 300; 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; }

.contactform.contactform02 tr:first-child td,
.contactform.contactform02 tr:first-child th { border-top: solid 0px #dddddd; }

.center {
	text-align: center;
}

#text-18 {
	font-weight: 300;
	width: 100%;
	background: none;
	border: 0px;
}

.morebottun {
	position: relative;
	display: inline-block;
	padding: 1.3em 3em;
	text-align: center;
	text-decoration: none;
	transition: .3s;
	overflow: hidden;
	color: #fff;
	line-height: 1em;
	width: auto;
	min-width: 160px;
	letter-spacing: 0px;
	z-index: 1;
}

.morebottun:hover {
	color: #fff;
}

.morebottun::before {
	position: absolute;
	top: 0;
	left: 0;
	z-index: -1;
	content: '';
	width: 100%;
	height: 100%;
	background: #9D9D9D;
	transform-origin: right top;
	transform: scale(0, 1);
	transition: transform .3s;
}

.morebottun:hover::before {
	transform-origin: left top;
	transform: scale(1, 1);
}

.morebottun::after {
	position: absolute;
	top: 0;
	left: 0;
	z-index: -2;
	content: '';
	width: 100%;
	height: 100%;
	background: #003366;
}
.morebottun-g {
	position: relative;
	display: inline-block;
	padding: 1.7em 6.5em 1.7em 6.5em;
	text-align: center;
	text-decoration: none;
	transition: .3s;
	overflow: hidden;
	color: #fff;
	line-height: 1em;
	width: auto;
	letter-spacing: 1px;
}
.morebottun-g:hover {
	color: #fff;
}

.morebottun-g::before {
	position: absolute;
	top: 0;
	left: 0;
	z-index: -1;
	content: '';
	width: 120%;
	height: 100%;
	background: #55A500;
	transform-origin: right top;
	transform: skewX(180deg) scale(0, 1);
	transition: transform .3s;
}
.morebottun-g:hover::before {
	transform-origin: left top;
	transform: skewX(180deg) scale(1, 1);
}
.morebottun-g::after{
	position: absolute;
	top: 0;
	left: 0;
	z-index: -2;
	content: '';
	width: 120%;
	height: 100%;
	background: #6E6E6E;
}
/* テキスト色 */

.red {
	color: #ff0000;
}

.black { color: #333333; }
/* テキスト色 */

#prevANDnext {
	border-top:1px double #4b4b4b;
	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; }

.bloc3 {
	padding: 10px 15px 10px 15px;
	border: 0px dashed #ddd;
	background: #eee;
	text-align: center;
	margin: 50px auto 20px;
	border-radius: 5px;
}


.topttl {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 20px;
	margin-bottom: 30px;
}

.topttl .item01 {
	font-size: 72px;
	font-weight: 400;
	color: #00396B;
	line-height: 1;
	letter-spacing: 0.01em;
	margin: 0 0 20px 0;
	text-transform: uppercase;
}

.topttl .item02 {
	font-size: 20px;
	font-weight: 500;
	color: #333;
	line-height: 1.2;
	letter-spacing: 0.01em;
	margin: 0;
}

.topttl02 {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 20px;
}

.topttl02 .item01 {
	font-size: 46px;
	font-weight: 400;
	line-height: 1.5em;
	letter-spacing: 0.01em;
	margin: 0 0 20px 0;
	text-transform: uppercase;
}

@media (max-width: 768px) {
	.topttl .item01 {
		font-size: 32px;
		margin-bottom: 10px;
	}
	.topttl02 .item01 {
		font-size: 24px;
		margin-bottom: 10px;
	}	
	.topttl .item02 {
		font-size: 14px;
		letter-spacing: 0.1em;
	}
}

#top-event .top-event-wrap { background: #00396B; padding: 70px 0px; }
#top-event .top-event-wrap .top-event-bg { background: #fff; padding: 50px 50px; margin-left: 10%; margin-right: 10%; }
#top-event ul.eventpickup { text-align: center; display: flex; gap: 3%; margin: 10px 2%; flex-wrap: wrap; justify-content: center; padding-top: 0px; margin-bottom: 50px; }
#top-event ul.eventpickup li {
	float: none;
	display: inline-block;
	width: 30%;
	box-sizing: border-box;
	text-align: left;
}
#top-event ul.eventpickup li:nth-child(4n + 4) {
	margin-right: 0px;
}

#top-event ul.eventpickup li h2 { font-size: 16px; padding: 10px 0px; margin: 0px; line-height: 1.5em; display: block; font-weight: 300; }
#top-event ul.eventpickup li h2 a {
	padding: 5px 10px 10px 5px;
	display: block;
}
#top-event ul.eventpickup li .txt table { font-size: 14px; line-height: 1.3em; padding: 10px 0px; min-height: 6em;}
#top-event ul.eventpickup li .txt table th { width: 4.5em; vertical-align: top; }
#top-event ul.eventpickup li .txt table td { vertical-align: top; }
#top-event ul.eventpickup li span.img {
	height: 21vw;
	overflow: hidden; /* はみ出た画像を隠す（ズーム時に必須） */
	width: 100%;
	display: block;
	margin-bottom: 10px;
	transition: border-color 0.4s ease; /* 枠線色の変化を滑らかに */	
}
#top-event ul.eventpickup li span.img img { 
	width: 100%;
	height: 100%; /* 親の25vwに合わせる */
	object-fit: cover;
	display: block;
	transition: transform 0.5s ease; /* ズーム速度の指定 */	
}
#top-event ul.eventpickup li a:hover span.img img {
	transform: scale(1.1);
}

#top-event ul.eventpickup li a:hover span.label {
	background-color: #18A38E;
	color: #fff;
}
#top-event ul.eventpickup li a.more { display: block; text-align: right;  padding-right: 23px; background-position-x: 99%; }

#top-event ul.eventpickup li span.label { display: inline-block; font-size: 14px; color: #fff; background: #3A3838; padding: 3px 10px; line-height: 1em; }
#top-event ul.eventpickup li span.label.open { background: #CC1010; }
#top-event ul.eventpickup li .is_new {
	display:inline-block;
	background:#DC143C;
	color:#fff;
	padding:8px 15px;
	margin-right:5px;
	font-size:12px;
	margin-bottom: 5px;
	line-height: 1em;
	border-radius:5px;

}

#top-event ul.eventpickup li .is_before {
	display:inline-block;
	background:#2BB94D;
	color:#fff;
	padding:6px 15px;
	margin-right:5px;
	border-radius:5px;
	font-size:13px;
	line-height: 1em;
	margin-bottom: 5px;

}

#top-event ul.eventpickup li .is_close {
	display:inline-block;
	background:#000;
	color:#fff;
	padding:8px 15px;
	margin-right:5px;
	border-radius:5px;
	font-size:12px;
	margin-bottom: 5px;
	line-height: 1em;

}
#top-event ul li dl.txt {
	justify-content: flex-start;
	margin: 0px;
	display: flex;
	font-size: 13px;
	align-items: flex-start;
	border-top: 1px solid #555;
	padding-top: 10px;
}
#top-event ul li dl.txt dt {
	width: 5em;
	border: 1px solid #555;
	margin-right: 10px;
	font-size: 13px;
	line-height: 1.4em;
	text-align: center;	
}
#top-event ul li dl.txt dd { margin: 0px; line-height: 1.4em;}

#top-concept .tconbloc { 
	display: flex;
	gap: 84px;
	justify-content: end;
	align-items: start;
	margin-bottom: 70px;

}

#top-concept .tconbloc .item01 { font-size: 47px; font-weight: 400; line-height: 1.6em; }
#top-concept .tconbloc .item02 { font-size: 18px; line-height: 2.3em; }

#top-product {
	background: url(/images/line-up-bg.png) no-repeat center center;
	background-size: cover;
	padding: 50px 0px 0px;
}
#top-product-wrap {
	padding: 50px 0;
	background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9));
}
#top-product-wrap .section-title {
	text-align: center;
	font-size: 30px;
	letter-spacing: 0.01em;
	margin-bottom: 60px;
	font-weight: 500;
}

#top-product-wrap .product-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 40px 20px;
}

@media (min-width: 600px) {
	#top-product-wrap .product-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1024px) {
	#top-product-wrap .product-grid {
		grid-template-columns: repeat(4, 1fr);
	}
}

#top-product-wrap .product-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

#top-product-wrap .image-box {
	width: 100%;
	aspect-ratio: 4 / 3;
	background-color: #d9d9d9;
	margin-bottom: 5px;
	transition: opacity 0.3s ease;
}
#top-product-wrap .image-box img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
#top-product-wrap .product-card:hover .image-box {
	opacity: 0.8;
}

#top-product-wrap .product-name-en {
	font-size: 24px;
	letter-spacing: 0em;
	color: #003366;
	margin-bottom: 8px;
	text-transform: uppercase;
}

#top-product-wrap .product-name-jp {
	font-size: 16px;
	letter-spacing: 0.05em;
	margin-bottom: 20px;
}

#top-product-wrap .btn-detail {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	max-width: 180px;
	height: 44px;
	background-color: #003366;
	color: #fff;
	text-decoration: none;
	font-size: 15px;
	letter-spacing: 0.1em;
	position: relative;
	transition: background-color 0.3s ease;
}

#top-product-wrap .btn-detail:hover {
	background-color: #004c99;
}

#top-product-wrap .btn-detail::after {
	content: '>';
	position: absolute;
	right: 15px;
	font-family: serif;
	font-size: 14px;
}

#newstopics {
	display: flex;
	gap: 80px;
	justify-content: space-between;
	margin-bottom: 80px;
}
#newstopics .section-column { flex: 2; }

#newstopics .topttl .item01 { color: #333333; }

#top-spec-wrap {
	padding: 60px 0;
	background-color: #fff;
}

#top-spec-wrap .spec-container {
	margin: 0 auto;
	padding: 0 20px;
}

#top-spec-wrap .spec-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 30px;
}

#top-company ul {
	display: flex;
	flex-wrap: wrap;
	list-style: none;
	padding: 0;
	margin: 0;
	width: 100%;
	gap: 3px;
}

#top-company li {
	flex: 1 1 100%;
	position: relative;
	overflow: hidden;
	aspect-ratio: 16 / 9;
}

@media (min-width: 768px) {
	#top-company li {
		flex: 1;
		aspect-ratio: auto;
		height: 394px;
	}
}

#top-company li a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	text-decoration: none;
	position: relative;
}

#top-company li img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
}

#top-company li a::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(20, 50, 90, 0.7);
	z-index: 2;
	transition: background-color 0.3s ease;
}

#top-company li a:hover::after {
	background-color: rgba(20, 50, 90, 0.4);
}

#top-company .txt {
	position: relative;
	z-index: 3;
	text-align: center;
	color: #ffffff;
	pointer-events: none;
}

#top-company .en {
	display: block;
	font-size: 34px;
	letter-spacing: 0.1em;
	margin-bottom: 25px;
}

#top-company .jp {
	display: block;
	font-size: 20px;
	letter-spacing: 0.05em;
}

@media (min-width: 600px) {
	#top-spec-wrap .spec-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 960px) {
	#top-spec-wrap .spec-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

#top-spec-wrap .spec-item {
	background-color: #52a20b;
	color: #fff;
	aspect-ratio: 16 / 9;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding: 0px 20px;
	text-align: center;
}

#top-spec-wrap .spec-number {
	font-size: 40px;
	line-height: 1;
	margin-bottom: 15px;
	font-weight: normal;
}

#top-spec-wrap .spec-text {
	font-size: 20px;
	letter-spacing: 0.05em;
	margin: 0;
	font-family: sans-serif;
}

#top-work {
	background: url(/images/works-bg.png) no-repeat top center;
	padding: 100px 0px;
}

#top-catalog-wrap {
	--navy-blue: #003366;
	--overlay-black: rgba(0, 0, 0, 0.4);
	--bg-image-url: url('/images/ctalog-bg.png');

	padding: 30px 0;
	background-image: 
		linear-gradient(to bottom, var(--navy-blue) 50%, transparent 50%),
		linear-gradient(var(--overlay-black), var(--overlay-black)),
		var(--bg-image-url);

	background-repeat: no-repeat;
	background-position: center bottom;
	background-size: 100% 100%, 100% 100%, cover;
	position: sticky;
}
#top-catalog .section-title {
	text-align: center;
	font-size: 24px;
	letter-spacing: 0.01em;
	margin-bottom: 20px;
	font-weight: 400;
}
#top-catalog-wrap h2.title {
	color: #ffffff;
	font-size: 46px;
	font-weight: normal;
	margin-bottom: 1.3em;
	letter-spacing: 0.1em;
}

#top-catalog-wrap ul {
	display: flex;
	justify-content: center;
	gap: 20px;
	list-style: none;
	padding: 0;
	margin: 0 0 50px 0;
	flex-wrap: wrap;
}

#top-catalog-wrap ul li {
	flex: 1;
	min-width: 280px;
	max-width: 340px;
}

#top-catalog-wrap ul li img {
	width: 100%;
	height: auto;
	display: block;
	box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
	#top-catalog-wrap {
		background: linear-gradient(to bottom, 
			var(--navy-blue) 0%, 
			var(--navy-blue) 40%, 
			transparent 40%
		),
			linear-gradient(var(--overlay-black), var(--overlay-black)),
			var(--bg-image-url) no-repeat center bottom / cover;
		padding: 40px 0;
	}
	#top-catalog-wrap h2.title {
		font-size: 16px;
		margin-bottom: 20px;
		letter-spacing: 0px;
	}
}

.post-list {
	list-style: none;
	padding: 0;
	margin: 0;
	border-top: 1px solid #e0e0e0; /* リスト全体の最上部線 */
}

.post-item {
	border-bottom: 1px solid #e0e0e0;
}

.post-link {
	display: flex;
	align-items: flex-start;
	padding: 30px 0;
	text-decoration: none;
	color: #333;
	transition: opacity 0.2s ease;
}

.post-link:hover {
	opacity: 0.7;
}

/* サムネイル画像エリア */
.post-thumb {
	flex: 0 0 100px; /* 画像の幅を固定 */
	margin-right: 25px;
}

.post-thumb img {
	width: 100%;
	height: 100px;
	object-fit: cover;
	display: block;
	background-color: #ddd; /* 画像がない場合のプレースホルダー色 */
}

/* テキスト情報エリア */
.post-info {
	flex: 1;
}

.post-meta {
	margin-bottom: 10px;
}

.post-date {
	font-size: 14px;
	color: #666;
	margin-right: 15px;
	font-family: Arial, sans-serif;
}

/* カテゴリーラベル（画像にはありませんが、HTMLにあるのでスタイリング） */
.post-category {
	font-size: 11px;
	padding: 2px 8px;
	background: #f0f0f0;
	color: #666;
	border-radius: 2px;
	display: none; /* デザイン画像に合わせる場合は非表示、出す場合は inline-block */
}

.post-text {
	margin: 0;
	font-size: 18px;
	line-height: 1.6;
	font-weight: normal;
	word-break: break-all;
}

/* スマートフォン向け調整 */
@media screen and (max-width: 768px) {
	.post-link {
		padding: 20px 0;
	}

	.post-thumb {
		flex: 0 0 100px; /* スマホでは画像を少し小さく */
		margin-right: 15px;
	}

	.post-text {
		font-size: 15px;
	}

	.post-date {
		font-size: 12px;
	}
}

.sns-list {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	list-style: none;
	padding: 0;
	margin: 0;
}

.sns-list li {
	display: flex;
	align-items: center;
}

.sns-link {
	display: block;
	transition: transform 0.3s ease, opacity 0.3s ease;
	text-decoration: none;
}

.sns-link:hover {
	transform: translateY(-3px);
	opacity: 0.8;
}

.sns-link img {
	width: auto;
	display: block;
}

@media (max-width: 480px) {
	.sns-list {
		gap: 20px;
	}
	.sns-link img {
		height: 32px;
	}
}

#footer_fixed {
	position: fixed;
	z-index: 100;
}

#footer_fixed .footwrap {
	display: flex;
}

.fixed-banner {
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: #55a500;
	color: #fff;
	text-decoration: none;
	transition: background-color 0.3s ease;
	font-weight: 400;
	cursor: pointer;
}

.fixed-banner:hover {
	background-color: #9D9D9D;
	color: #fff;
}

.fixed-banner.btn-top {
	background-color: #000;
}

.icon-top {
	display: inline-block;
	width: 12px;
	height: 12px;
	border-top: 2px solid #fff;
	border-left: 2px solid #fff;
	transform: rotate(45deg);
	margin-bottom: -5px;
}

/* --- PCサイズ (769px以上) --- */
@media screen and (min-width: 769px) {
	#footer_fixed {
		bottom: 20px;
		right: 0;
	}

	#footer_fixed .footwrap {
		flex-direction: column;
		gap: 10px;
	}

	.fixed-banner {
		flex-direction: column;
		width: 50px;
		padding: 20px 0px;
	}

	.fixed-banner span {
		writing-mode: vertical-rl;
		text-orientation: upright;
		font-size: 16px;
		letter-spacing: 0.1em;
	}

	.fixed-banner::after {
		content: "▶";
		font-size: 10px;
		margin-top: 10px;
	}

	.fixed-banner.btn-top::after {
		content: none;
	}
}

/* --- スマホサイズ (768px以下) --- */
@media screen and (max-width: 768px) {
	#footer_fixed {
		bottom: 0;
		left: 0;
		right: 0;
	}

	#footer_fixed .footwrap {
		flex-direction: row;
		width: 100%;
		padding-bottom: env(safe-area-inset-bottom);
		background-color: #55a500; 
	}

	.fixed-banner {
		flex: 1;
		height: 50px;
		border-right: 1px solid rgba(255, 255, 255, 0.3);
		flex-direction: row;
	}

	.fixed-banner span {
		font-size: 13px;
	}

	.fixed-banner::after {
		content: "▶";
		font-size: 10px;
		margin-left: 5px;
	}

	.fixed-banner.btn-top {
		flex: 0 0 60px; /* TOPボタンは正方形に近いサイズに固定 */
		border-right: none;
	}

	.fixed-banner.btn-top::after {
		content: none;
	}
}

/* 外部レイアウト調整 */
#top-work-wrap {
	position: relative;
	margin: 50px 50px 80px;
	padding: 0 50px; /* 矢印用のスペース */
	overflow: hidden;
	--slider-gap: 15px;
	--item-width-desktop: 20%; /* 5枚並び想定 */
	--item-width-tablet: 33.333%;
	--item-width-mobile: 80%;
	--nav-button-size: 40px;
	--overlay-bg: rgba(0, 0, 0, 0.4);			
}

/* スライダー本体 */
.slider-container {
	overflow-x: auto;
	scrollbar-width: none; /* Firefox用非表示 */
	-ms-overflow-style: none; /* IE用非表示 */
	scroll-behavior: smooth;
}

.slider-container::-webkit-scrollbar {
	display: none; /* Chrome, Safari用非表示 */
}

#top-work-wrap ul {
	display: flex;
	gap: var(--slider-gap);
	list-style: none;
	padding: 0;
	margin: 0;
	user-select: none;
}

#top-work-wrap li {
	flex: 0 0 calc(var(--item-width-desktop) - (var(--slider-gap) * 0.8));
	position: relative;
	aspect-ratio: 4 / 3; /* デザインに合わせた比率 */
	overflow: hidden;
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
	#top-work-wrap li { flex: 0 0 calc(var(--item-width-tablet) - var(--slider-gap)); }
}
@media (max-width: 600px) {
	#top-work-wrap { padding: 0 30px; margin: 10px 10px; }
	#top-work-wrap li { flex: 0 0 var(--item-width-mobile); }
}

#top-work-wrap img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	filter: brightness(0.8); /* デザインの暗めのトーンを再現 */
	transition: filter 0.3s;
}

/* テキストオーバーレイのシミュレート（添付画像再現用） */
#top-work-wrap .caption {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	color: #fff;
	text-align: center;
	pointer-events: none;
	width: 100%;
}
#top-work-wrap  .caption .en {
	font-size: 1.4em;
	display: block;
	margin: 0px 0px 20px;
	font-weight: 400;
}
#top-work-wrap  .caption .jp {
	font-size: 1.5em;
	display: block;
}

#top-work-wrap .nav-btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: var(--nav-button-size);
	height: var(--nav-button-size);
	background: #fff;
	border: 1px solid #ddd;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 10;
	transition: background 0.2s;
}

#top-work-wrap .nav-btn:hover { background: #f0f0f0; }

#top-work-wrap .prev-btn { left: 0; }
#top-work-wrap .next-btn { right: 0; }

#top-work-wrap .nav-btn::before {
	content: '';
	width: 10px;
	height: 10px;
	border-top: 2px solid #333;
	border-right: 2px solid #333;
	display: block;
}
#top-work-wrap .prev-btn::before { transform: rotate(-135deg); }
#top-work-wrap .next-btn::before { transform: rotate(45deg); }

/* PC表示時はすべて非表示 */
.sp-menu-toggle, .drawer-overlay, .drawer-menu {
	display: none;
}

/* ==========================================
スマホ・タブレット用スタイル (1024px以下)
========================================== */
@media (max-width: 1024px) {
	/* ハンバーガーボタン */
	.sp-menu-toggle {
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		position: fixed;
		top: 15px;
		right: 15px;
		width: 44px;
		height: 44px;
		background: var(--text-dark);
		border: none;
		border-radius: 4px;
		cursor: pointer;
		z-index: 1000;
		background: #00396B;
	}

	.sp-menu-toggle span {
		width: 24px;
		height: 2px;
		background: #fff;
		margin: 3px 0;
		transition: 0.3s;
	}

	/* 開閉時のアイコン変化 */
	.is-open .sp-menu-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
	.is-open .sp-menu-toggle span:nth-child(2) { opacity: 0; }
	.is-open .sp-menu-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

	/* 背景オーバーレイ */
	.drawer-overlay {
		display: block;
		position: fixed;
		inset: 0;
		background: rgba(0, 0, 0, 0.5);
		opacity: 0;
		visibility: hidden;
		transition: 0.3s;
		z-index: 998;
	}
	.is-open .drawer-overlay {
		opacity: 1;
		visibility: visible;
	}

	/* ドロワーメニュー本体 */
	.drawer-menu {
		display: block;
		position: fixed;
		top: 0;
		right: 0;
		height: 100vh;
		z-index: 999;
		transform: translateX(100%);
		transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
		background: #eee;
		overflow-y: auto;
		width: 90%;
	}
	.is-open .drawer-menu {
		transform: translateX(0);
	}

	/* ボディの固定 */
	body.is-locked {
		overflow: hidden;
	}

	/* メニュー内コンテンツ */
	.drawer-header {
		padding: 40px 20px 20px;
		text-align: center;
		border-bottom: 4px solid #f9f9f9;
	}
	.tel-link {
		display: block;
		font-size: 24px;
		font-weight: bold;
		color: var(--text-dark);
		text-decoration: none;
		margin-bottom: 20px;
	}
	.btn-contact {
		display: flex;
		align-items: center;
		justify-content: center;
		background: #52a20b;
		color: #fff;
		text-decoration: none;
		padding: 15px;
		font-weight: bold;
		position: relative;
	}

	/* リストスタイル */
	.nav-list { list-style: none; padding: 0; margin: 0; }
	.nav-item {
		border-bottom: 1px solid #fff;
		display: flex;
		flex-direction: column;
	}
	.nav-link-wrapper {
		display: flex;
		align-items: center;
		justify-content: space-between;
	}
	.nav-link {
		flex: 1;
		padding: 8px 20px;
		color: #333;
		text-decoration: none;
		font-size: 14px;
		display: flex;
		align-items: center;
	}
	.nav-link::before { content: '>'; margin-right: 10px; font-size: 12px; color: #ccc; }

	/* アコーディオンボタン */
	.submenu-btn {
		width: 60px;
		height: 56px;
		background: none;
		border: none;
		border-left: 1px solid #fff;
		cursor: pointer;
		position: relative;
		display: flex;
		align-items: center;
		justify-content: center;
	}
	.submenu-btn::before, .submenu-btn::after {
		content: '';
		position: absolute;
		background: #ccc;
		transition: 0.3s;
	}
	.submenu-btn::before { width: 14px; height: 2px; } /* 横 */
	.submenu-btn::after { width: 2px; height: 14px; }  /* 縦 */

	/* 展開時の「＋」→「－」変化 */
	.is-active .submenu-btn::after {
		transform: rotate(90deg);
		opacity: 0;
	}

	/* 子メニュー */
	.submenu {
		list-style: none;
		padding: 0;
		margin: 0;
		background: #f9f9f9;
		overflow: hidden;
		max-height: 0;
		transition: max-height 0.3s ease-out;
	}
	.is-active .submenu {
		max-height: 1000px; /* 十分な高さ */
	}
	.submenu-link {
		display: block;
		padding: 10px 20px 10px 50px;
		color: #555;
		text-decoration: none;
		font-size: 14px;
		border-top: 1px solid #fff;
		text-align: left;
	}
}

#top01 { margin-bottom: 90px; }
#top02 { margin-bottom: 90px; }
#top03 { margin-bottom: 90px; }
#top04 { margin-bottom: 90px; }
#top05 { margin-bottom: 90px; }
#top06 { margin-bottom: 90px; }
#top07 { margin-bottom: 90px; }



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

@media (max-width: 1550px) {
	.menu { width: auto; }
	#tlogo a { left: 1px; }
	.wrapper04 {
		margin-left: 1%;
		margin-right: 1%;
	}	
	.menu span.wrap,
	.menu a{ font-size: 15px; }
	#header #tlogo { margin-left: 20px;}	
}

@media (max-width: 1450px) {
	.menu span.wrap,
	.menu a{ font-size: 14px; }
	#header #tlogo { margin-left: 10px;}	
}
@media (max-width: 1350px) {
	.menu span.wrap,
	.menu a{ font-size: 13px; }
}

@media (max-width: 1200px) {
	body {min-width: 1200px; overflow-x: auto; }
	.menu span.wrap,
	.menu a{ font-size: 12px; }
	.wrapper02 {
		width: 100%;
	}
	.wrapper03 {
		width: 100%;
	}	

}

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