@import url(http://fonts.googleapis.com/earlyaccess/notosansjp.css);
@import url(https://fonts.googleapis.com/css?family=Modern+Antiqua);

/* reset */
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td{margin:0;padding:0;}
address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;}
ul{list-style:none;}
table{border-collapse:collapse;border-spacing:0;}
caption,th{text-align:left;}
q:before,q:after{content:'';}
object,embed{vertical-align:top;}
legend{display:none;}
h1,h2,h3,h4,h5,h6{font-size:100%;}
img,abbr,acronym,fieldset{border:0;}

body{
	font: 14px/1.9 'Noto Sans JP', Arial, Verdana, 游ゴシック, 'YuGothic','ヒラギノ角ゴ ProN W3', 'Hiragino Kaku Gothic ProN', メイリオ, Meiryo,sans-serif, Times New Roman,Font Awesome 5 Free;
	font-weight: 300;
	-webkit-text-size-adjust:100%;
	overflow-x: hidden;
	color: #fff;
	background: #000;
}

a{
	color: #0066ff;
	text-decoration: none;
}

a:hover, .active{
  text-decoration: underline;
}

a:active, a:focus,input:active, input:focus{outline:0;}


/* ヘッダー
------------------------------------------------------------*/
#mainnav a{
	color: #fff;
	font-family:Times New Roman, 'Modern Antiqua', 'Noto Sans JP',serif;
}


/* フッター
------------------------------------------------------------*/
#footer{
	clear: both;
	padding: 50px 10px 50px 0;
	text-align: center;
	font-size: 12px;
}


/* 共通
------------------------------------------------------------*/
h1, h3{
	font-family: 'YuGothic','Modern Antiqua', 'Noto Sans JP',serif;
}
h2{
	font-family:Times New Roman;
}
h3 {
	font-size:22px;
	position: relative;
	padding: 0 65px 15px 65px;
	text-align: center;
	margin: auto;
	white-space: nowrap;
  }
  
h3 span {
	position: relative;
	background: #000000;
  }

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

section{
  clear: both;
}

section h2{
	width: 60%;
	margin: 70px auto;
	font-size: 22px;
	font-weight:normal;
	text-align: center;
}

section h2 span {
	padding-bottom: 20px;
	border-bottom: 3px solid #fff;
}

.inner{
	width: 80%;
	margin: 0 auto;
	padding-bottom: 30px;
}

#sec01 .inner,#sec02 .inner,#sec03 .inner, #sec04 .inner{
	border-bottom: 1px solid #fff;
}

.innerS{
	width: 94%;
	margin: 0 auto;
	padding-bottom: 0px;
	text-align: center;
}

.innerB{
	width: 94%;
	margin: 0 auto;
	padding-bottom: 0px;
	text-align: center;
}

/* SEC02 Gallery
------------------------------------------------------------*/
#sec02{
	padding: 0 !important;
}

.work-gallery{
     display: grid;
      grid-template-columns: repeat(5, 200px); /* PC時：5列 */
      gap: 16px;               /* 画像の間隔 */
      justify-content: center; /* 全体を中央寄せ */
      padding: 20px;
	}

.work-gallery img{
      width: 178px;             /* 幅を固定 */
      height: 250px;            /* 高さも固定 */
      object-fit: cover;       /* 枠にフィット（トリミングあり） 
      border-radius: 8px;*/
}

.work-gallery img:hover {
      transform: scale(1.05); /* 軽く拡大して視覚効果を追加 */
    }

    @media (max-width: 768px) {
      .work-gallery {
        grid-template-columns: repeat(4, 80px); /* 横4列 */
      }

      .work-gallery img {
        width: 80px;
        height: 120px;
        object-fit: cover;       /* 枠にフィット（トリミングあり） */

      }
    }

.work-movie{
     display: grid;
      grid-template-columns: repeat(5, 200px); /* PC時：5列 */
      gap: 16px;               /* 画像の間隔 */
      justify-content: center; /* 全体を中央寄せ */
      padding: 20px;
	}
.work-movie img{
      width: 178px;             /* 幅を固定 */
      height: 250px;            /* 高さも固定 */
      object-fit: cover;       /* 枠にフィット（トリミングあり） 
      border-radius: 8px;*/
}

.work-movie img:hover {
      transform: scale(1.05); /* 軽く拡大して視覚効果を追加 */
    }

    @media (max-width: 768px) {
      .work-movie {
        grid-template-columns: repeat(4, 80px); /* 横4列 */
      }

      .work-movie img {
        width: 80px;
        height: 120px;
        object-fit: cover;       /* 枠にフィット（トリミングあり） */

      }
    }
/* SEC03 BRAND
------------------------------------------------------------*/
.col4 .img{
	margin: 0 auto;
}
/* SEC04 PROJECT
------------------------------------------------------------*/
#sec04{
	padding-bottom: 0 !important;
}

.article{
	clear: both;
	overflow: hidden;
	/*padding-bottom: 50px;*/
}

.article img{
	float: left;
	margin: 5px 0px 20px;
}

.article p{
	margin-bottom: 20px;
}



/* SEC05 COMPANY
------------------------------------------------------------*/
#sec05 p{
	margin-bottom: 5px;
}

.col2 li{
	display: inline-block;
	width: 100%;
  margin: 20px 0;
}

#map{
	position: relative;
	padding-bottom: 30%;
	height: 0;
	overflow: hidden;
	z-index: 0;
}

#map iframe{
	position: absolute;
	top: 0;
	left: 0;
	width: 100% !important;
	height: 100% !important;
	border: 0;
}



/* RESPONSIVE 設定
------------------------------------------------------------*/

@media only screen and (min-width: 800px){
	body{
		font-size:14px;
	}
	
	#wrapper{
		width: 100%;
	}
	
	#content{
		width: 80%;
	}
	
	#sidebar{
		width: 12%;
		position: fixed;
		top: 0;
		right: 4%;
		background: #000;
	}
	
  a#menu{
		display:none;
	}	

	.panel{
		display:block !important;
	}
	
	#sidebar h1{
		padding: 30px 0;
	}

	#mainnav li{
		font-size: 14px;
		padding: 10px 0;
	}
	
	#sns{
		margin-top: 50px;
	}
	
	#sns li{
		display: inline-block;
		padding-right: 10px;
	}

	#sns a:hover img{
		opacity: .8;
	}
	
	/* SEC03 BRAND
	-----------------*/
	.col4{
		text-align: center;
	}

	.col4 li{
		display: inline-block;
		width: 18%;
		padding: 0 3%;
		vertical-align: top;
		text-align: left;
	}
	
	#map iframe{
		height: 200px !important;
  }
	
  #footer{
		padding: 30px 10px 70px 0;
	}
}


@media only screen and (min-width: 641px){
	.col2 li{
		width: 60%;
		vertical-align: top;
	}
	.col2 li:first-child{
		width: 35%;
		padding-right: 4%;
	}
}

@media only screen and (max-width: 640px){
	.innerS{
		width: 94%;
		padding-bottom: 30px;
	}
	.innerB{
		width:94%;
		padding-bottom:30px;
	}
	.article img{
		float: none;
		display: block;
		margin: 0 auto 20px;
	}
	#map iframe{
		width: 96% !important;
		left: 2%;
	}
}

@media only screen and (max-width: 799px){
	
	#sidebar{
		position: fixed;
		width: 100%;
		z-index:500;
	}
	
	#sidebarWrap{
		position: fixed;
		width: 100%;
		height: 60px;
		background: #000;
		border-bottom: 1px solid #333;
	}
	
	#sidebar h1{
		text-align: center;
		padding-top: 10px;
	}
	
	#sidebar h1 img{
		max-height: 40px;
        position: absolute;
        margin: auto;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
    	}
	
  a#menu{
  	display: inline-block;
  	position: relative;
  	width: 40px;
  	height: 40px;
  	margin: 10px;
	}

	#menuBtn{
  	display: block;
  	position: absolute;
  	top: 50%;
  	left: 50%;
  	width: 18px;
  	height: 2px;
  	margin: -1px 0 0 -7px;
  	background: #fff;
  	transition: .2s;
	}

	#menuBtn:before, #menuBtn:after{
  	display: block;
  	content: "";
  	position: absolute;
  	top: 50%;
  	left: 0;
  	width: 18px;
  	height: 2px;
  	background: #fff;
  	transition: .3s;
	}

	#menuBtn:before{
  	margin-top: -7px;
	}

	#menuBtn:after{
  	margin-top: 5px;
	}

	a#menu .close{
  	background: transparent;
	}

	a#menu .close:before, a#menu .close:after{
  	margin-top: 0;
	}

	a#menu .close:before{
  	transform: rotate(-45deg);
  	-webkit-transform: rotate(-45deg);
	}

	a#menu .close:after{
  	transform: rotate(-135deg);
  	-webkit-transform: rotate(-135deg);
	}

	.panel{
		width: 100%;
		display: none;
		overflow: hidden;
		position: relative;
		left: 0;
		top: -10px;
		z-index: 100;
	}

	#mainnav{
		position: absolute;
		top: 0;
		width: 100%;
		text-align: right;
	}

	#mainnav ul{
		border-bottom: 1px solid #ccc;
		background: #000;
		text-align: left;
	}

	#mainnav li a{
		position: relative;
		display: block;
		padding: 15px 25px;
		border-bottom: 1px solid #ccc;
		color: #fff;
		font-weight: 400;
	}
	#mainnav li a:before{
		display: block;
		content: "";
		position: absolute;
		top: 50%;
		left: 5px;
		width: 6px;
		height: 6px;
		margin: -4px 0 0 0;
		border-top: solid 2px #fff;
		border-right: solid 2px #fff;
		-webkit-transform: rotate(45deg);
		transform: rotate(45deg);
	}
	#mainnav #sns li{
		display: inline-block;
	}
	#mainnav #sns li a{
		position: relative;
		display: inline-block;
		padding: 15px 10px 0;
		border: 0;
	}
	#mainnav #sns li a:before{
		border: 0;
	}
	.col4 li{
		margin: 0 auto 50px;
		display: block;
		text-align: center;
	}
	section h2{
		margin: 55px auto;
	}
}
.hr {border-top:#fff dotted 2px;
	width:auto;
}
.pagetop {
	width: 50px;
	height: 50px;
	position: fixed;
	right: 10px;
	bottom: 10px;
	background: #ffffff;
	border-radius: 50%;
	opacity: 0.6;
	}
	
	/* Font Awesome */
	.pagetop::before {
	font-family: 'Font Awesome 5 Free';
	font-weight: 900;
	content: '\f102';
	font-size: 30px;
	color: #000000;
	position: absolute;
	top: 50%;
	left: 50%;
	translate: -50% -50%;
	}
/* 左ボタン */
.fslightbox-arrow-left {
    top: 50%;                     /* 縦中央 */
    left: 20px;                   /* 左からの位置 */
    transform: translateY(-50%);  /* 縦中央揃え */
    background-color: rgba(0,0,0,0.5);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 30px;
    color: white;
}

/* 右ボタン */
.fslightbox-arrow-right {
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    background-color: rgba(0,0,0,0.5);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 30px;
    color: white;
}

/* アイコンの大きさやホバー効果も調整可能 */
.fslightbox-arrow-left:hover,
.fslightbox-arrow-right:hover {
    background-color: rgba(0,0,0,0.8);
}

   .container {
      display: grid;
      grid-template-columns: 1fr 1fr; /* 左右2カラム（同幅）*/
      gap: 20px;
      align-items: start;
      max-width: 1200px;
      margin: 0px auto;
      padding: 0 16px;
    }

    /* テキスト側 */
    .text {
      padding: 20px 80px;
      line-height: 1.6;
/*	  text-align: right;*/
    }

    /* マップ側： iframe を親要素で高さを決める */
    .map {
      min-height: 300px;
	  padding: 0 80px;
      height: 100%;
      overflow: hidden;
      box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    }
    .map iframe {
      width: 100%;
      height: 100%;
      border: 0;
      display: block;
    }

    /* レスポンシブ：幅が狭いと縦並び */
    @media (max-width: 800px) {
      .container {
        grid-template-columns: 1fr; /* 1カラム（縦並び） */
      }
	  .text{
		padding: 20px;
	  }
      .map {
        min-height: 260px;
		padding: 0px;
      }
    }